@updraft-solutions/mcrit-sdk 0.9.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 (44) hide show
  1. package/README.md +11 -25
  2. package/dist/{chunk-3WKOQDFN.cjs → chunk-RN7XMRGC.cjs} +37 -25
  3. package/dist/{chunk-NYDIYVBI.js → chunk-XEKAC57V.js} +37 -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.cjs +53 -0
  15. package/dist/sanitize/index.d.cts +50 -0
  16. package/dist/sanitize/index.d.ts +50 -0
  17. package/dist/sanitize/index.js +53 -0
  18. package/dist/schemas/index.cjs +4 -2
  19. package/dist/schemas/index.d.cts +16 -17
  20. package/dist/schemas/index.d.ts +16 -17
  21. package/dist/schemas/index.js +7 -5
  22. package/dist/{training-nljZCLW5.d.cts → training-CuiDqGAo.d.cts} +944 -858
  23. package/dist/{training-nljZCLW5.d.ts → training-CuiDqGAo.d.ts} +944 -858
  24. package/dist/types/index.cjs +1 -1
  25. package/dist/types/index.d.cts +153 -2
  26. package/dist/types/index.d.ts +153 -2
  27. package/dist/types/index.js +1 -1
  28. package/package.json +14 -2
  29. package/src/crew/index.ts +1 -1
  30. package/src/index.ts +18 -0
  31. package/src/media/index.ts +2 -2
  32. package/src/money/index.ts +4 -4
  33. package/src/sanitize/index.ts +92 -0
  34. package/src/schemas/common.ts +1 -1
  35. package/src/schemas/equipment.ts +1 -2
  36. package/src/schemas/form-template.ts +1 -1
  37. package/src/schemas/models.ts +46 -30
  38. package/src/schemas/training.ts +2 -2
  39. package/src/types/compliance.ts +1 -1
  40. package/src/types/index.ts +1 -0
  41. package/src/types/models.ts +18 -0
  42. package/src/types/operating-hours.ts +163 -0
  43. /package/dist/{chunk-2WJHTRIE.js → chunk-UV5JLKAL.js} +0 -0
  44. /package/dist/{chunk-DCEOET63.cjs → chunk-YVC6Q3YU.cjs} +0 -0
@@ -1,4 +1,4 @@
1
- export { A as AttachSyllabusElementForm, a as AttachSyllabusElementFormSchema, B as BaseModel, C as CourseCheckSyllabus, b as CreateFormSubmissionInput, c as CreateFormTemplateAssignmentInput, d as CreateFormTemplateInput, e as CreateSyllabusFromTemplateForm, f as CreateSyllabusFromTemplateFormSchema, g as CreateSyllabusFromTemplateResult, E as EnrollmentTrainingElement, h as EnrollmentTrainingStatus, i as EnrollmentTrainingStatusEnum, F as FieldLabel, j as FieldLabelSchema, k as FormFieldType, l as FormSubmission, m as FormSubmissionSchema, n as FormSubmissionShare, o as FormSubmissionShareBase, p as FormSubmissionShareBaseSchema, q as FormSubmissionShareSchema, r as FormSubmissionSource, s as FormSubmissionStatus, t as FormTemplate, u as FormTemplateAssignment, v as FormTemplateAssignmentSchema, w as FormTemplateSchema, G as GradeHistoryItem, x as GradingScale, y as GradingScaleForm, z as GradingScaleFormSchema, D as GradingScalePoint, I as ImpersonationParticipant, H as ImpersonationState, J as InvalidateTrainingRecordResponse, R as ReorderSyllabusElementItem, K as ReorderSyllabusElementItemSchema, L as RequiredForm, M as RequiredFormSchema, N as RequiredFormVia, O as RequiredFormViaCrew, P as RequiredFormViaCrewSchema, Q as RequiredFormViaSchema, S as ReviewFormSubmissionInput, T as SchemaField, U as SchemaFieldSchema, V as SchemaSection, W as SchemaSectionSchema, X as ShowWhen, Y as ShowWhenSchema, Z as SignOffTrainingElementForm, _ as SignOffTrainingElementFormSchema, $ as Signature, a0 as SignatureSchema, a1 as StoreSyllabusForm, a2 as StoreSyllabusFormSchema, a3 as SubmissionFile, a4 as SubmissionFileSchema, a5 as Syllabus, a6 as SyllabusElement, a7 as SyllabusElementMutationResult, a8 as SyllabusKind, a9 as SyllabusKindEnum, aa as SyllabusRolloutResult, ab as SyllabusRolloutResultItem, ac as SyllabusRolloutSkippedItem, ad as TemplateSchema, ae as TemplateSchemaSchema, af as TrainingElement, ag as TrainingElementForm, ah as TrainingElementFormSchema, ai as TrainingElementKind, aj as TrainingElementKindEnum, ak as TrainingRecord, al as TrainingRecordEntry, am as TrainingRecordEntryInput, an as TrainingRecordResult, ao as TrainingRecordResultEnum, ap as TrainingRecordStatus, aq as TrainingRecordStatusEnum, ar as TrainingSignature, as as TrainingTemplatePack, at as UpdateFormTemplateInput, au as UpdateSyllabusElementForm, av as UpdateSyllabusElementFormSchema, aw as UpdateSyllabusForm, ax as UpdateSyllabusFormSchema, ay as UpsertTrainingRecordForm, az as UpsertTrainingRecordFormSchema, aA as UsedByCourse, aB as activitySchema, aC as addressSchema, aD as aircraftPositionSchema, aE as aircraftRatingSchema, aF as airplaneIssueSchema, aG as airplaneIssueSeverityEnum, aH as airplaneIssueStatusEnum, aI as airplanePermissionSchema, aJ as airplaneSchema, aK as airplaneShareInviteSchema, aL as airportSchema, aM as alertSchema, aN as allowedDocumentTypeSchema, aO as approachTypeSchema, aP as availSchema, aQ as baseMembershipSchema, aR as billingProfileSchema, aS as bookingSchema, aT as bookingWaypointSchema, aU as commentSchema, aV as companySchema, aW as contactAttributeSchema, aX as courseCheckSyllabusSchema, aY as courseEnrollmentMetricsSchema, aZ as courseEnrollmentSchema, a_ as courseFeeSchema, a$ as courseSchema, b0 as createSyllabusFromTemplateResultSchema, b1 as documentComplianceStatus, b2 as documentRequirement, b3 as documentRequirementGroup, b4 as documentRequirementGroupAssignment, b5 as documentSchema, b6 as documentShareSchema, b7 as documentType, b8 as enrollmentTrainingElementSchema, b9 as eventSchema, ba as expenseItemSchema, bb as expenseSchema, bc as extendedAirplaneSchema, bd as feeCategoryOptionsSchema, be as feeSchema, bf as flightLogSchema, bg as gradeHistoryItemSchema, bh as gradingScalePointSchema, bi as gradingScaleSchema, bj as impersonationParticipantSchema, bk as impersonationStateSchema, bl as invalidateTrainingRecordResponseSchema, bm as invoiceSchema, bn as landingFeeSchema, bo as landingSchema, bp as maintenanceEventEstimationSchema, bq as maintenanceEventSchema, br as maintenanceStatusSchema, bs as mediaCollection, bt as mediaSchema, bu as membershipSchema, bv as membershipSignupSchema, bw as postSchema, bx as prePaidPackageAssignmentSchema, by as prePaidPackageSchema, bz as priceSchema, bA as qualificationSchema, bB as recurringFlightSchema, bC as roleSchema, bD as runwaySchema, bE as scheduledFlightSchema, bF as settingSchema, bG as specialFlightSchema, bH as syllabusElementMutationResultSchema, bI as syllabusElementSchema, bJ as syllabusRolloutResultItemSchema, bK as syllabusRolloutResultSchema, bL as syllabusRolloutSkippedItemSchema, bM as syllabusSchema, bN as tagSchema, bO as ticketSchema, bP as trainingElementSchema, bQ as trainingRecordEntryInputSchema, bR as trainingRecordEntrySchema, bS as trainingRecordSchema, bT as trainingSignatureSchema, bU as trainingTemplatePackSchema, bV as usedByCourseSchema, bW as userAircraftRatingSchema, bX as userQualificationSchema, bY as userSchema, bZ as waypointSchema, b_ as zContactDTO, b$ as zNetGross, c0 as zNullableBool, c1 as zPhpMoneyObject } from '../training-nljZCLW5.cjs';
1
+ export { A as AttachSyllabusElementForm, a as AttachSyllabusElementFormSchema, B as BaseModel, C as CourseCheckSyllabus, b as CreateFormSubmissionInput, c as CreateFormTemplateAssignmentInput, d as CreateFormTemplateInput, e as CreateSyllabusFromTemplateForm, f as CreateSyllabusFromTemplateFormSchema, g as CreateSyllabusFromTemplateResult, E as EnrollmentTrainingElement, h as EnrollmentTrainingStatus, i as EnrollmentTrainingStatusEnum, F as FieldLabel, j as FieldLabelSchema, k as FormFieldType, l as FormSubmission, m as FormSubmissionSchema, n as FormSubmissionShare, o as FormSubmissionShareBase, p as FormSubmissionShareBaseSchema, q as FormSubmissionShareSchema, r as FormSubmissionSource, s as FormSubmissionStatus, t as FormTemplate, u as FormTemplateAssignment, v as FormTemplateAssignmentSchema, w as FormTemplateSchema, G as GradeHistoryItem, x as GradingScale, y as GradingScaleForm, z as GradingScaleFormSchema, D as GradingScalePoint, I as ImpersonationParticipant, H as ImpersonationState, J as InvalidateTrainingRecordResponse, R as ReorderSyllabusElementItem, K as ReorderSyllabusElementItemSchema, L as RequiredForm, M as RequiredFormSchema, N as RequiredFormVia, O as RequiredFormViaCrew, P as RequiredFormViaCrewSchema, Q as RequiredFormViaSchema, S as ReviewFormSubmissionInput, T as SchemaField, U as SchemaFieldSchema, V as SchemaSection, W as SchemaSectionSchema, X as ShowWhen, Y as ShowWhenSchema, Z as SignOffTrainingElementForm, _ as SignOffTrainingElementFormSchema, $ as Signature, a0 as SignatureSchema, a1 as StoreSyllabusForm, a2 as StoreSyllabusFormSchema, a3 as SubmissionFile, a4 as SubmissionFileSchema, a5 as Syllabus, a6 as SyllabusElement, a7 as SyllabusElementMutationResult, a8 as SyllabusKind, a9 as SyllabusKindEnum, aa as SyllabusRolloutResult, ab as SyllabusRolloutResultItem, ac as SyllabusRolloutSkippedItem, ad as TemplateSchema, ae as TemplateSchemaSchema, af as TrainingElement, ag as TrainingElementForm, ah as TrainingElementFormSchema, ai as TrainingElementKind, aj as TrainingElementKindEnum, ak as TrainingRecord, al as TrainingRecordEntry, am as TrainingRecordEntryInput, an as TrainingRecordResult, ao as TrainingRecordResultEnum, ap as TrainingRecordStatus, aq as TrainingRecordStatusEnum, ar as TrainingSignature, as as TrainingTemplatePack, at as UpdateFormTemplateInput, au as UpdateSyllabusElementForm, av as UpdateSyllabusElementFormSchema, aw as UpdateSyllabusForm, ax as UpdateSyllabusFormSchema, ay as UpsertTrainingRecordForm, az as UpsertTrainingRecordFormSchema, aA as UsedByCourse, aB as activitySchema, aC as addressSchema, aD as aircraftPositionSchema, aE as aircraftRatingSchema, aF as airplaneIssueSchema, aG as airplaneIssueSeverityEnum, aH as airplaneIssueStatusEnum, aI as airplanePermissionSchema, aJ as airplaneSchema, aK as airplaneShareInviteSchema, aL as airportSchema, aM as alertSchema, aN as allowedDocumentTypeSchema, aO as approachTypeSchema, aP as availSchema, aQ as baseMembershipSchema, aR as billingProfileSchema, aS as bookingSchema, aT as bookingWaypointSchema, aU as commentSchema, aV as companySchema, aW as contactAttributeSchema, aX as courseCheckSyllabusSchema, aY as courseEnrollmentMetricsSchema, aZ as courseEnrollmentSchema, a_ as courseFeeSchema, a$ as courseSchema, b0 as createSyllabusFromTemplateResultSchema, b1 as documentComplianceStatus, b2 as documentRequirement, b3 as documentRequirementGroup, b4 as documentRequirementGroupAssignment, b5 as documentSchema, b6 as documentShareSchema, b7 as documentType, b8 as enrollmentTrainingElementSchema, b9 as eventSchema, ba as expenseItemSchema, bb as expenseSchema, bc as extendedAirplaneSchema, bd as feeCategoryOptionsSchema, be as feeSchema, bf as flightLogSchema, bg as gradeHistoryItemSchema, bh as gradingScalePointSchema, bi as gradingScaleSchema, bj as impersonationParticipantSchema, bk as impersonationStateSchema, bl as invalidateTrainingRecordResponseSchema, bm as invoiceSchema, bn as landingFeeSchema, bo as landingSchema, bp as maintenanceEventEstimationSchema, bq as maintenanceEventSchema, br as maintenanceStatusSchema, bs as mediaCollection, bt as mediaSchema, bu as membershipSchema, bv as membershipSignupSchema, bw as postSchema, bx as postSubjectSchema, by as prePaidPackageAssignmentSchema, bz as prePaidPackageSchema, bA as priceSchema, bB as qualificationSchema, bC as recurringFlightSchema, bD as roleSchema, bE as runwaySchema, bF as scheduledFlightSchema, bG as settingSchema, bH as specialFlightSchema, bI as syllabusElementMutationResultSchema, bJ as syllabusElementSchema, bK as syllabusRolloutResultItemSchema, bL as syllabusRolloutResultSchema, bM as syllabusRolloutSkippedItemSchema, bN as syllabusSchema, bO as tagSchema, bP as ticketSchema, bQ as trainingElementSchema, bR as trainingRecordEntryInputSchema, bS as trainingRecordEntrySchema, bT as trainingRecordSchema, bU as trainingSignatureSchema, bV as trainingTemplatePackSchema, bW as usedByCourseSchema, bX as userAircraftRatingSchema, bY as userQualificationSchema, bZ as userSchema, b_ as waypointSchema, b$ as zContactDTO, c0 as zMoneyObject, c1 as zNetGross, c2 as zNullableBool } from '../training-CuiDqGAo.cjs';
2
2
  import { z } from 'zod';
3
3
 
4
4
  declare enum FaqStatus {
@@ -978,9 +978,9 @@ declare const courseMilestoneSchema: z.ZodObject<{
978
978
  delete?: boolean | null | undefined;
979
979
  }>>;
980
980
  }, "strip", z.ZodTypeAny, {
981
+ kind: string;
981
982
  name: string;
982
983
  id: number;
983
- kind: string;
984
984
  sort_order: number;
985
985
  course_id: number;
986
986
  is_prerequisite: boolean;
@@ -999,9 +999,9 @@ declare const courseMilestoneSchema: z.ZodObject<{
999
999
  } | null | undefined;
1000
1000
  completion_rule?: Record<string, unknown> | null | undefined;
1001
1001
  }, {
1002
+ kind: string;
1002
1003
  name: string;
1003
1004
  id: number;
1004
- kind: string;
1005
1005
  sort_order: number;
1006
1006
  course_id: number;
1007
1007
  is_prerequisite: boolean;
@@ -1030,8 +1030,8 @@ declare const CourseMilestoneFormSchema: z.ZodObject<{
1030
1030
  completion_rule: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1031
1031
  sort_order: z.ZodOptional<z.ZodNumber>;
1032
1032
  }, "strip", z.ZodTypeAny, {
1033
- name: string;
1034
1033
  kind: string;
1034
+ name: string;
1035
1035
  is_prerequisite: boolean;
1036
1036
  description?: string | null | undefined;
1037
1037
  sort_order?: number | undefined;
@@ -1039,8 +1039,8 @@ declare const CourseMilestoneFormSchema: z.ZodObject<{
1039
1039
  completion_rule?: Record<string, unknown> | null | undefined;
1040
1040
  }, {
1041
1041
  name: string;
1042
- description?: string | null | undefined;
1043
1042
  kind?: string | undefined;
1043
+ description?: string | null | undefined;
1044
1044
  sort_order?: number | undefined;
1045
1045
  is_prerequisite?: boolean | undefined;
1046
1046
  requires_form_template_id?: number | null | undefined;
@@ -1086,9 +1086,9 @@ declare const courseEnrollmentMilestoneSchema: z.ZodObject<{
1086
1086
  delete?: boolean | null | undefined;
1087
1087
  }>>;
1088
1088
  }, "strip", z.ZodTypeAny, {
1089
+ kind: string;
1089
1090
  name: string;
1090
1091
  id: number;
1091
- kind: string;
1092
1092
  sort_order: number;
1093
1093
  course_id: number;
1094
1094
  is_prerequisite: boolean;
@@ -1107,9 +1107,9 @@ declare const courseEnrollmentMilestoneSchema: z.ZodObject<{
1107
1107
  } | null | undefined;
1108
1108
  completion_rule?: Record<string, unknown> | null | undefined;
1109
1109
  }, {
1110
+ kind: string;
1110
1111
  name: string;
1111
1112
  id: number;
1112
- kind: string;
1113
1113
  sort_order: number;
1114
1114
  course_id: number;
1115
1115
  is_prerequisite: boolean;
@@ -1176,9 +1176,9 @@ declare const courseEnrollmentMilestoneSchema: z.ZodObject<{
1176
1176
  } | undefined;
1177
1177
  notes?: string | null | undefined;
1178
1178
  milestone?: {
1179
+ kind: string;
1179
1180
  name: string;
1180
1181
  id: number;
1181
- kind: string;
1182
1182
  sort_order: number;
1183
1183
  course_id: number;
1184
1184
  is_prerequisite: boolean;
@@ -1218,9 +1218,9 @@ declare const courseEnrollmentMilestoneSchema: z.ZodObject<{
1218
1218
  } | undefined;
1219
1219
  notes?: string | null | undefined;
1220
1220
  milestone?: {
1221
+ kind: string;
1221
1222
  name: string;
1222
1223
  id: number;
1223
- kind: string;
1224
1224
  sort_order: number;
1225
1225
  course_id: number;
1226
1226
  is_prerequisite: boolean;
@@ -1251,8 +1251,7 @@ declare const courseEnrollmentMilestoneSchema: z.ZodObject<{
1251
1251
  type CourseEnrollmentMilestone = z.infer<typeof courseEnrollmentMilestoneSchema>;
1252
1252
 
1253
1253
  /**
1254
- * Company-scoped equipment catalog entry (m-crit-api
1255
- * docs/features/airplane-equipment.md). Assigned to airplanes via the
1254
+ * Company-scoped equipment catalog entry, assigned to airplanes via the
1256
1255
  * airplane PATCH `equipment` array.
1257
1256
  */
1258
1257
  declare const equipmentSchema: z.ZodObject<{
@@ -3710,8 +3709,8 @@ declare const CreateLocationMapSchema: z.ZodObject<{
3710
3709
  is_active: z.ZodOptional<z.ZodBoolean>;
3711
3710
  }, "strip", z.ZodTypeAny, {
3712
3711
  name: string;
3713
- description?: string | null | undefined;
3714
3712
  kind?: string | undefined;
3713
+ description?: string | null | undefined;
3715
3714
  is_active?: boolean | undefined;
3716
3715
  slug?: string | undefined;
3717
3716
  default_viewport?: {
@@ -3723,8 +3722,8 @@ declare const CreateLocationMapSchema: z.ZodObject<{
3723
3722
  } | null | undefined;
3724
3723
  }, {
3725
3724
  name: string;
3726
- description?: string | null | undefined;
3727
3725
  kind?: string | undefined;
3726
+ description?: string | null | undefined;
3728
3727
  is_active?: boolean | undefined;
3729
3728
  slug?: string | undefined;
3730
3729
  default_viewport?: {
@@ -3762,9 +3761,9 @@ declare const UpdateLocationMapSchema: z.ZodObject<{
3762
3761
  }>>>>;
3763
3762
  is_active: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
3764
3763
  }, "strip", z.ZodTypeAny, {
3764
+ kind?: string | undefined;
3765
3765
  name?: string | undefined;
3766
3766
  description?: string | null | undefined;
3767
- kind?: string | undefined;
3768
3767
  is_active?: boolean | undefined;
3769
3768
  slug?: string | undefined;
3770
3769
  default_viewport?: {
@@ -3775,9 +3774,9 @@ declare const UpdateLocationMapSchema: z.ZodObject<{
3775
3774
  bearing?: number | undefined;
3776
3775
  } | null | undefined;
3777
3776
  }, {
3777
+ kind?: string | undefined;
3778
3778
  name?: string | undefined;
3779
3779
  description?: string | null | undefined;
3780
- kind?: string | undefined;
3781
3780
  is_active?: boolean | undefined;
3782
3781
  slug?: string | undefined;
3783
3782
  default_viewport?: {
@@ -3859,8 +3858,8 @@ declare const UpdateLocationMapFeatureSchema: z.ZodObject<{
3859
3858
  coordinates: unknown[];
3860
3859
  }>>;
3861
3860
  }, "strip", z.ZodTypeAny, {
3862
- name?: string | null | undefined;
3863
3861
  kind?: string | undefined;
3862
+ name?: string | null | undefined;
3864
3863
  properties?: Record<string, unknown> | null | undefined;
3865
3864
  visibility?: LocationFeatureVisibility | undefined;
3866
3865
  geometry?: {
@@ -3869,8 +3868,8 @@ declare const UpdateLocationMapFeatureSchema: z.ZodObject<{
3869
3868
  } | undefined;
3870
3869
  display_order?: number | undefined;
3871
3870
  }, {
3872
- name?: string | null | undefined;
3873
3871
  kind?: string | undefined;
3872
+ name?: string | null | undefined;
3874
3873
  properties?: Record<string, unknown> | null | undefined;
3875
3874
  visibility?: LocationFeatureVisibility | undefined;
3876
3875
  geometry?: {
@@ -1,4 +1,4 @@
1
- export { A as AttachSyllabusElementForm, a as AttachSyllabusElementFormSchema, B as BaseModel, C as CourseCheckSyllabus, b as CreateFormSubmissionInput, c as CreateFormTemplateAssignmentInput, d as CreateFormTemplateInput, e as CreateSyllabusFromTemplateForm, f as CreateSyllabusFromTemplateFormSchema, g as CreateSyllabusFromTemplateResult, E as EnrollmentTrainingElement, h as EnrollmentTrainingStatus, i as EnrollmentTrainingStatusEnum, F as FieldLabel, j as FieldLabelSchema, k as FormFieldType, l as FormSubmission, m as FormSubmissionSchema, n as FormSubmissionShare, o as FormSubmissionShareBase, p as FormSubmissionShareBaseSchema, q as FormSubmissionShareSchema, r as FormSubmissionSource, s as FormSubmissionStatus, t as FormTemplate, u as FormTemplateAssignment, v as FormTemplateAssignmentSchema, w as FormTemplateSchema, G as GradeHistoryItem, x as GradingScale, y as GradingScaleForm, z as GradingScaleFormSchema, D as GradingScalePoint, I as ImpersonationParticipant, H as ImpersonationState, J as InvalidateTrainingRecordResponse, R as ReorderSyllabusElementItem, K as ReorderSyllabusElementItemSchema, L as RequiredForm, M as RequiredFormSchema, N as RequiredFormVia, O as RequiredFormViaCrew, P as RequiredFormViaCrewSchema, Q as RequiredFormViaSchema, S as ReviewFormSubmissionInput, T as SchemaField, U as SchemaFieldSchema, V as SchemaSection, W as SchemaSectionSchema, X as ShowWhen, Y as ShowWhenSchema, Z as SignOffTrainingElementForm, _ as SignOffTrainingElementFormSchema, $ as Signature, a0 as SignatureSchema, a1 as StoreSyllabusForm, a2 as StoreSyllabusFormSchema, a3 as SubmissionFile, a4 as SubmissionFileSchema, a5 as Syllabus, a6 as SyllabusElement, a7 as SyllabusElementMutationResult, a8 as SyllabusKind, a9 as SyllabusKindEnum, aa as SyllabusRolloutResult, ab as SyllabusRolloutResultItem, ac as SyllabusRolloutSkippedItem, ad as TemplateSchema, ae as TemplateSchemaSchema, af as TrainingElement, ag as TrainingElementForm, ah as TrainingElementFormSchema, ai as TrainingElementKind, aj as TrainingElementKindEnum, ak as TrainingRecord, al as TrainingRecordEntry, am as TrainingRecordEntryInput, an as TrainingRecordResult, ao as TrainingRecordResultEnum, ap as TrainingRecordStatus, aq as TrainingRecordStatusEnum, ar as TrainingSignature, as as TrainingTemplatePack, at as UpdateFormTemplateInput, au as UpdateSyllabusElementForm, av as UpdateSyllabusElementFormSchema, aw as UpdateSyllabusForm, ax as UpdateSyllabusFormSchema, ay as UpsertTrainingRecordForm, az as UpsertTrainingRecordFormSchema, aA as UsedByCourse, aB as activitySchema, aC as addressSchema, aD as aircraftPositionSchema, aE as aircraftRatingSchema, aF as airplaneIssueSchema, aG as airplaneIssueSeverityEnum, aH as airplaneIssueStatusEnum, aI as airplanePermissionSchema, aJ as airplaneSchema, aK as airplaneShareInviteSchema, aL as airportSchema, aM as alertSchema, aN as allowedDocumentTypeSchema, aO as approachTypeSchema, aP as availSchema, aQ as baseMembershipSchema, aR as billingProfileSchema, aS as bookingSchema, aT as bookingWaypointSchema, aU as commentSchema, aV as companySchema, aW as contactAttributeSchema, aX as courseCheckSyllabusSchema, aY as courseEnrollmentMetricsSchema, aZ as courseEnrollmentSchema, a_ as courseFeeSchema, a$ as courseSchema, b0 as createSyllabusFromTemplateResultSchema, b1 as documentComplianceStatus, b2 as documentRequirement, b3 as documentRequirementGroup, b4 as documentRequirementGroupAssignment, b5 as documentSchema, b6 as documentShareSchema, b7 as documentType, b8 as enrollmentTrainingElementSchema, b9 as eventSchema, ba as expenseItemSchema, bb as expenseSchema, bc as extendedAirplaneSchema, bd as feeCategoryOptionsSchema, be as feeSchema, bf as flightLogSchema, bg as gradeHistoryItemSchema, bh as gradingScalePointSchema, bi as gradingScaleSchema, bj as impersonationParticipantSchema, bk as impersonationStateSchema, bl as invalidateTrainingRecordResponseSchema, bm as invoiceSchema, bn as landingFeeSchema, bo as landingSchema, bp as maintenanceEventEstimationSchema, bq as maintenanceEventSchema, br as maintenanceStatusSchema, bs as mediaCollection, bt as mediaSchema, bu as membershipSchema, bv as membershipSignupSchema, bw as postSchema, bx as prePaidPackageAssignmentSchema, by as prePaidPackageSchema, bz as priceSchema, bA as qualificationSchema, bB as recurringFlightSchema, bC as roleSchema, bD as runwaySchema, bE as scheduledFlightSchema, bF as settingSchema, bG as specialFlightSchema, bH as syllabusElementMutationResultSchema, bI as syllabusElementSchema, bJ as syllabusRolloutResultItemSchema, bK as syllabusRolloutResultSchema, bL as syllabusRolloutSkippedItemSchema, bM as syllabusSchema, bN as tagSchema, bO as ticketSchema, bP as trainingElementSchema, bQ as trainingRecordEntryInputSchema, bR as trainingRecordEntrySchema, bS as trainingRecordSchema, bT as trainingSignatureSchema, bU as trainingTemplatePackSchema, bV as usedByCourseSchema, bW as userAircraftRatingSchema, bX as userQualificationSchema, bY as userSchema, bZ as waypointSchema, b_ as zContactDTO, b$ as zNetGross, c0 as zNullableBool, c1 as zPhpMoneyObject } from '../training-nljZCLW5.js';
1
+ export { A as AttachSyllabusElementForm, a as AttachSyllabusElementFormSchema, B as BaseModel, C as CourseCheckSyllabus, b as CreateFormSubmissionInput, c as CreateFormTemplateAssignmentInput, d as CreateFormTemplateInput, e as CreateSyllabusFromTemplateForm, f as CreateSyllabusFromTemplateFormSchema, g as CreateSyllabusFromTemplateResult, E as EnrollmentTrainingElement, h as EnrollmentTrainingStatus, i as EnrollmentTrainingStatusEnum, F as FieldLabel, j as FieldLabelSchema, k as FormFieldType, l as FormSubmission, m as FormSubmissionSchema, n as FormSubmissionShare, o as FormSubmissionShareBase, p as FormSubmissionShareBaseSchema, q as FormSubmissionShareSchema, r as FormSubmissionSource, s as FormSubmissionStatus, t as FormTemplate, u as FormTemplateAssignment, v as FormTemplateAssignmentSchema, w as FormTemplateSchema, G as GradeHistoryItem, x as GradingScale, y as GradingScaleForm, z as GradingScaleFormSchema, D as GradingScalePoint, I as ImpersonationParticipant, H as ImpersonationState, J as InvalidateTrainingRecordResponse, R as ReorderSyllabusElementItem, K as ReorderSyllabusElementItemSchema, L as RequiredForm, M as RequiredFormSchema, N as RequiredFormVia, O as RequiredFormViaCrew, P as RequiredFormViaCrewSchema, Q as RequiredFormViaSchema, S as ReviewFormSubmissionInput, T as SchemaField, U as SchemaFieldSchema, V as SchemaSection, W as SchemaSectionSchema, X as ShowWhen, Y as ShowWhenSchema, Z as SignOffTrainingElementForm, _ as SignOffTrainingElementFormSchema, $ as Signature, a0 as SignatureSchema, a1 as StoreSyllabusForm, a2 as StoreSyllabusFormSchema, a3 as SubmissionFile, a4 as SubmissionFileSchema, a5 as Syllabus, a6 as SyllabusElement, a7 as SyllabusElementMutationResult, a8 as SyllabusKind, a9 as SyllabusKindEnum, aa as SyllabusRolloutResult, ab as SyllabusRolloutResultItem, ac as SyllabusRolloutSkippedItem, ad as TemplateSchema, ae as TemplateSchemaSchema, af as TrainingElement, ag as TrainingElementForm, ah as TrainingElementFormSchema, ai as TrainingElementKind, aj as TrainingElementKindEnum, ak as TrainingRecord, al as TrainingRecordEntry, am as TrainingRecordEntryInput, an as TrainingRecordResult, ao as TrainingRecordResultEnum, ap as TrainingRecordStatus, aq as TrainingRecordStatusEnum, ar as TrainingSignature, as as TrainingTemplatePack, at as UpdateFormTemplateInput, au as UpdateSyllabusElementForm, av as UpdateSyllabusElementFormSchema, aw as UpdateSyllabusForm, ax as UpdateSyllabusFormSchema, ay as UpsertTrainingRecordForm, az as UpsertTrainingRecordFormSchema, aA as UsedByCourse, aB as activitySchema, aC as addressSchema, aD as aircraftPositionSchema, aE as aircraftRatingSchema, aF as airplaneIssueSchema, aG as airplaneIssueSeverityEnum, aH as airplaneIssueStatusEnum, aI as airplanePermissionSchema, aJ as airplaneSchema, aK as airplaneShareInviteSchema, aL as airportSchema, aM as alertSchema, aN as allowedDocumentTypeSchema, aO as approachTypeSchema, aP as availSchema, aQ as baseMembershipSchema, aR as billingProfileSchema, aS as bookingSchema, aT as bookingWaypointSchema, aU as commentSchema, aV as companySchema, aW as contactAttributeSchema, aX as courseCheckSyllabusSchema, aY as courseEnrollmentMetricsSchema, aZ as courseEnrollmentSchema, a_ as courseFeeSchema, a$ as courseSchema, b0 as createSyllabusFromTemplateResultSchema, b1 as documentComplianceStatus, b2 as documentRequirement, b3 as documentRequirementGroup, b4 as documentRequirementGroupAssignment, b5 as documentSchema, b6 as documentShareSchema, b7 as documentType, b8 as enrollmentTrainingElementSchema, b9 as eventSchema, ba as expenseItemSchema, bb as expenseSchema, bc as extendedAirplaneSchema, bd as feeCategoryOptionsSchema, be as feeSchema, bf as flightLogSchema, bg as gradeHistoryItemSchema, bh as gradingScalePointSchema, bi as gradingScaleSchema, bj as impersonationParticipantSchema, bk as impersonationStateSchema, bl as invalidateTrainingRecordResponseSchema, bm as invoiceSchema, bn as landingFeeSchema, bo as landingSchema, bp as maintenanceEventEstimationSchema, bq as maintenanceEventSchema, br as maintenanceStatusSchema, bs as mediaCollection, bt as mediaSchema, bu as membershipSchema, bv as membershipSignupSchema, bw as postSchema, bx as postSubjectSchema, by as prePaidPackageAssignmentSchema, bz as prePaidPackageSchema, bA as priceSchema, bB as qualificationSchema, bC as recurringFlightSchema, bD as roleSchema, bE as runwaySchema, bF as scheduledFlightSchema, bG as settingSchema, bH as specialFlightSchema, bI as syllabusElementMutationResultSchema, bJ as syllabusElementSchema, bK as syllabusRolloutResultItemSchema, bL as syllabusRolloutResultSchema, bM as syllabusRolloutSkippedItemSchema, bN as syllabusSchema, bO as tagSchema, bP as ticketSchema, bQ as trainingElementSchema, bR as trainingRecordEntryInputSchema, bS as trainingRecordEntrySchema, bT as trainingRecordSchema, bU as trainingSignatureSchema, bV as trainingTemplatePackSchema, bW as usedByCourseSchema, bX as userAircraftRatingSchema, bY as userQualificationSchema, bZ as userSchema, b_ as waypointSchema, b$ as zContactDTO, c0 as zMoneyObject, c1 as zNetGross, c2 as zNullableBool } from '../training-CuiDqGAo.js';
2
2
  import { z } from 'zod';
3
3
 
4
4
  declare enum FaqStatus {
@@ -978,9 +978,9 @@ declare const courseMilestoneSchema: z.ZodObject<{
978
978
  delete?: boolean | null | undefined;
979
979
  }>>;
980
980
  }, "strip", z.ZodTypeAny, {
981
+ kind: string;
981
982
  name: string;
982
983
  id: number;
983
- kind: string;
984
984
  sort_order: number;
985
985
  course_id: number;
986
986
  is_prerequisite: boolean;
@@ -999,9 +999,9 @@ declare const courseMilestoneSchema: z.ZodObject<{
999
999
  } | null | undefined;
1000
1000
  completion_rule?: Record<string, unknown> | null | undefined;
1001
1001
  }, {
1002
+ kind: string;
1002
1003
  name: string;
1003
1004
  id: number;
1004
- kind: string;
1005
1005
  sort_order: number;
1006
1006
  course_id: number;
1007
1007
  is_prerequisite: boolean;
@@ -1030,8 +1030,8 @@ declare const CourseMilestoneFormSchema: z.ZodObject<{
1030
1030
  completion_rule: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1031
1031
  sort_order: z.ZodOptional<z.ZodNumber>;
1032
1032
  }, "strip", z.ZodTypeAny, {
1033
- name: string;
1034
1033
  kind: string;
1034
+ name: string;
1035
1035
  is_prerequisite: boolean;
1036
1036
  description?: string | null | undefined;
1037
1037
  sort_order?: number | undefined;
@@ -1039,8 +1039,8 @@ declare const CourseMilestoneFormSchema: z.ZodObject<{
1039
1039
  completion_rule?: Record<string, unknown> | null | undefined;
1040
1040
  }, {
1041
1041
  name: string;
1042
- description?: string | null | undefined;
1043
1042
  kind?: string | undefined;
1043
+ description?: string | null | undefined;
1044
1044
  sort_order?: number | undefined;
1045
1045
  is_prerequisite?: boolean | undefined;
1046
1046
  requires_form_template_id?: number | null | undefined;
@@ -1086,9 +1086,9 @@ declare const courseEnrollmentMilestoneSchema: z.ZodObject<{
1086
1086
  delete?: boolean | null | undefined;
1087
1087
  }>>;
1088
1088
  }, "strip", z.ZodTypeAny, {
1089
+ kind: string;
1089
1090
  name: string;
1090
1091
  id: number;
1091
- kind: string;
1092
1092
  sort_order: number;
1093
1093
  course_id: number;
1094
1094
  is_prerequisite: boolean;
@@ -1107,9 +1107,9 @@ declare const courseEnrollmentMilestoneSchema: z.ZodObject<{
1107
1107
  } | null | undefined;
1108
1108
  completion_rule?: Record<string, unknown> | null | undefined;
1109
1109
  }, {
1110
+ kind: string;
1110
1111
  name: string;
1111
1112
  id: number;
1112
- kind: string;
1113
1113
  sort_order: number;
1114
1114
  course_id: number;
1115
1115
  is_prerequisite: boolean;
@@ -1176,9 +1176,9 @@ declare const courseEnrollmentMilestoneSchema: z.ZodObject<{
1176
1176
  } | undefined;
1177
1177
  notes?: string | null | undefined;
1178
1178
  milestone?: {
1179
+ kind: string;
1179
1180
  name: string;
1180
1181
  id: number;
1181
- kind: string;
1182
1182
  sort_order: number;
1183
1183
  course_id: number;
1184
1184
  is_prerequisite: boolean;
@@ -1218,9 +1218,9 @@ declare const courseEnrollmentMilestoneSchema: z.ZodObject<{
1218
1218
  } | undefined;
1219
1219
  notes?: string | null | undefined;
1220
1220
  milestone?: {
1221
+ kind: string;
1221
1222
  name: string;
1222
1223
  id: number;
1223
- kind: string;
1224
1224
  sort_order: number;
1225
1225
  course_id: number;
1226
1226
  is_prerequisite: boolean;
@@ -1251,8 +1251,7 @@ declare const courseEnrollmentMilestoneSchema: z.ZodObject<{
1251
1251
  type CourseEnrollmentMilestone = z.infer<typeof courseEnrollmentMilestoneSchema>;
1252
1252
 
1253
1253
  /**
1254
- * Company-scoped equipment catalog entry (m-crit-api
1255
- * docs/features/airplane-equipment.md). Assigned to airplanes via the
1254
+ * Company-scoped equipment catalog entry, assigned to airplanes via the
1256
1255
  * airplane PATCH `equipment` array.
1257
1256
  */
1258
1257
  declare const equipmentSchema: z.ZodObject<{
@@ -3710,8 +3709,8 @@ declare const CreateLocationMapSchema: z.ZodObject<{
3710
3709
  is_active: z.ZodOptional<z.ZodBoolean>;
3711
3710
  }, "strip", z.ZodTypeAny, {
3712
3711
  name: string;
3713
- description?: string | null | undefined;
3714
3712
  kind?: string | undefined;
3713
+ description?: string | null | undefined;
3715
3714
  is_active?: boolean | undefined;
3716
3715
  slug?: string | undefined;
3717
3716
  default_viewport?: {
@@ -3723,8 +3722,8 @@ declare const CreateLocationMapSchema: z.ZodObject<{
3723
3722
  } | null | undefined;
3724
3723
  }, {
3725
3724
  name: string;
3726
- description?: string | null | undefined;
3727
3725
  kind?: string | undefined;
3726
+ description?: string | null | undefined;
3728
3727
  is_active?: boolean | undefined;
3729
3728
  slug?: string | undefined;
3730
3729
  default_viewport?: {
@@ -3762,9 +3761,9 @@ declare const UpdateLocationMapSchema: z.ZodObject<{
3762
3761
  }>>>>;
3763
3762
  is_active: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
3764
3763
  }, "strip", z.ZodTypeAny, {
3764
+ kind?: string | undefined;
3765
3765
  name?: string | undefined;
3766
3766
  description?: string | null | undefined;
3767
- kind?: string | undefined;
3768
3767
  is_active?: boolean | undefined;
3769
3768
  slug?: string | undefined;
3770
3769
  default_viewport?: {
@@ -3775,9 +3774,9 @@ declare const UpdateLocationMapSchema: z.ZodObject<{
3775
3774
  bearing?: number | undefined;
3776
3775
  } | null | undefined;
3777
3776
  }, {
3777
+ kind?: string | undefined;
3778
3778
  name?: string | undefined;
3779
3779
  description?: string | null | undefined;
3780
- kind?: string | undefined;
3781
3780
  is_active?: boolean | undefined;
3782
3781
  slug?: string | undefined;
3783
3782
  default_viewport?: {
@@ -3859,8 +3858,8 @@ declare const UpdateLocationMapFeatureSchema: z.ZodObject<{
3859
3858
  coordinates: unknown[];
3860
3859
  }>>;
3861
3860
  }, "strip", z.ZodTypeAny, {
3862
- name?: string | null | undefined;
3863
3861
  kind?: string | undefined;
3862
+ name?: string | null | undefined;
3864
3863
  properties?: Record<string, unknown> | null | undefined;
3865
3864
  visibility?: LocationFeatureVisibility | undefined;
3866
3865
  geometry?: {
@@ -3869,8 +3868,8 @@ declare const UpdateLocationMapFeatureSchema: z.ZodObject<{
3869
3868
  } | undefined;
3870
3869
  display_order?: number | undefined;
3871
3870
  }, {
3872
- name?: string | null | undefined;
3873
3871
  kind?: string | undefined;
3872
+ name?: string | null | undefined;
3874
3873
  properties?: Record<string, unknown> | null | undefined;
3875
3874
  visibility?: LocationFeatureVisibility | undefined;
3876
3875
  geometry?: {
@@ -152,6 +152,7 @@ import {
152
152
  membershipSchema,
153
153
  membershipSignupSchema,
154
154
  postSchema,
155
+ postSubjectSchema,
155
156
  prePaidPackageAssignmentSchema,
156
157
  prePaidPackageSchema,
157
158
  priceSchema,
@@ -182,10 +183,10 @@ import {
182
183
  userSchema,
183
184
  waypointSchema,
184
185
  zContactDTO,
186
+ zMoneyObject,
185
187
  zNetGross,
186
- zNullableBool,
187
- zPhpMoneyObject
188
- } from "../chunk-NYDIYVBI.js";
188
+ zNullableBool
189
+ } from "../chunk-XEKAC57V.js";
189
190
  export {
190
191
  ALLOWED_GEOMETRY_TYPES,
191
192
  ALLOWED_NEWSLETTER_VARIABLES,
@@ -340,6 +341,7 @@ export {
340
341
  membershipSchema,
341
342
  membershipSignupSchema,
342
343
  postSchema,
344
+ postSubjectSchema,
343
345
  prePaidPackageAssignmentSchema,
344
346
  prePaidPackageSchema,
345
347
  priceSchema,
@@ -370,7 +372,7 @@ export {
370
372
  userSchema,
371
373
  waypointSchema,
372
374
  zContactDTO,
375
+ zMoneyObject,
373
376
  zNetGross,
374
- zNullableBool,
375
- zPhpMoneyObject
377
+ zNullableBool
376
378
  };