@updraft-solutions/mcrit-sdk 0.16.0 → 0.18.1

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.
@@ -122,7 +122,14 @@ var companySchema = _zod.z.object({
122
122
  longitude_deg: _zod.z.number().nullable().optional()
123
123
  }).nullable().optional(),
124
124
  icao: _zod.z.string().nullable().optional(),
125
- distance_in_km: _zod.z.number().optional()
125
+ distance_in_km: _zod.z.number().optional(),
126
+ // Tax details: `tax_number` only reaches users who may view company
127
+ // details (like `vat`); the VAT-exemption fields + `vat_exemption_codes`
128
+ // come from the super-admin AdminCompanyResource.
129
+ tax_number: _zod.z.string().nullable().optional(),
130
+ vat_exemption_code: _zod.z.string().nullable().optional(),
131
+ vat_exemption_text: _zod.z.string().nullable().optional(),
132
+ vat_exemption_codes: _zod.z.array(_zod.z.string()).optional()
126
133
  });
127
134
 
128
135
  // src/schemas/models.ts
@@ -1795,25 +1802,6 @@ var specialFlightSchema = _zod.z.object({
1795
1802
  created_at: _zod.z.string(),
1796
1803
  updated_at: _zod.z.string()
1797
1804
  });
1798
- var prePaidPackageSchema = _zod.z.object({
1799
- type: _zod.z.literal("prePaidPackage"),
1800
- id: _zod.z.number(),
1801
- company_id: _zod.z.number(),
1802
- company: companySchema.optional(),
1803
- name: _zod.z.string(),
1804
- description: _zod.z.string().nullable().optional(),
1805
- balance: zMoneyObject,
1806
- initial_amount: zMoneyObject,
1807
- discount_percentage: _zod.z.number().nullable().optional(),
1808
- valid_until: _zod.z.string().nullable().optional(),
1809
- created_at: _zod.z.string(),
1810
- updated_at: _zod.z.string(),
1811
- can: _zod.z.object({
1812
- update: zNullableBool,
1813
- delete: zNullableBool,
1814
- assign: zNullableBool
1815
- }).optional()
1816
- });
1817
1805
  var prePaidPackageAssignmentSchema = _zod.z.object({
1818
1806
  id: _zod.z.number(),
1819
1807
  flight_log_id: _zod.z.number().nullable().optional(),
@@ -1884,6 +1872,49 @@ var expenseItemSchema = _zod.z.object({
1884
1872
  // a live ExpenseItemResource payload.
1885
1873
  is_snapshot: _zod.z.boolean().optional()
1886
1874
  });
1875
+ var prePaidPackageSchema = _zod.z.object({
1876
+ type: _zod.z.literal("prePaidPackage"),
1877
+ id: _zod.z.number(),
1878
+ membership_id: _zod.z.number(),
1879
+ membership: membershipIdentitySchema.optional(),
1880
+ invoice_id: _zod.z.number().nullable(),
1881
+ company_id: _zod.z.number(),
1882
+ billable: _zod.z.boolean(),
1883
+ billing_profile_id: _zod.z.number().nullable(),
1884
+ billingProfile: billingProfileSchema.optional(),
1885
+ allowed_billing_profile_ids: _zod.z.array(_zod.z.number()).optional(),
1886
+ allowedBillingProfiles: _zod.z.array(billingProfileSchema).optional(),
1887
+ covers_school_flights: _zod.z.boolean(),
1888
+ allowed_course_enrollment_ids: _zod.z.array(_zod.z.number()).optional(),
1889
+ allowedCourseEnrollments: _zod.z.array(
1890
+ _zod.z.object({
1891
+ id: _zod.z.number(),
1892
+ course_id: _zod.z.number(),
1893
+ course_name: _zod.z.string().nullable().optional()
1894
+ })
1895
+ ).optional(),
1896
+ flightLogs: _zod.z.array(flightLogSchema).optional(),
1897
+ expenseItems: _zod.z.array(expenseItemSchema).optional(),
1898
+ assignedExpenseItems: _zod.z.array(expenseItemSchema).optional(),
1899
+ prePaidPackageAssignments: _zod.z.array(prePaidPackageAssignmentSchema).optional(),
1900
+ remarks: _zod.z.string().nullable(),
1901
+ // Two-decimal amount, serialised as a string ("120.00").
1902
+ total: _zod.z.union([_zod.z.string(), _zod.z.number()]),
1903
+ remaining_gross_value: zMoneyObject,
1904
+ initial_gross_value: zMoneyObject,
1905
+ approved_applications: _zod.z.array(_zod.z.string()),
1906
+ usage: _zod.z.number(),
1907
+ valid_from: _zod.z.string().nullable(),
1908
+ expires_at: _zod.z.string().nullable(),
1909
+ created_at: _zod.z.string(),
1910
+ refunded_at: _zod.z.string().nullable(),
1911
+ refunded_gross_value: zMoneyObject.nullable(),
1912
+ refund_gross_total: zMoneyObject.nullable(),
1913
+ refund_reason: _zod.z.string().nullable().optional(),
1914
+ refund_reference: _zod.z.string().nullable().optional(),
1915
+ refundedBy: _zod.z.object({ id: _zod.z.number(), name: _zod.z.string() }).nullable().optional(),
1916
+ can: _zod.z.record(_zod.z.string(), _zod.z.boolean().nullable()).optional()
1917
+ });
1887
1918
  var waypointSchema = _zod.z.object({
1888
1919
  type: _zod.z.literal("waypoint"),
1889
1920
  id: _zod.z.number(),
@@ -3148,6 +3179,78 @@ var CompanySystemContractsResponseSchema = _zod.z.object({
3148
3179
  meta: _zod.z.object({ current_versions: _zod.z.record(_zod.z.string(), _zod.z.number()) })
3149
3180
  });
3150
3181
 
3182
+ // src/schemas/conversation.ts
3183
+
3184
+ var conversationKindSchema = _zod.z.enum(["direct"]);
3185
+ var conversationMessageSchema = _zod.z.object({
3186
+ type: _zod.z.literal("conversation_message"),
3187
+ id: _zod.z.number(),
3188
+ conversation_id: _zod.z.number(),
3189
+ /** The sending participant (not a membership: the participant outlives it). */
3190
+ participant_id: _zod.z.number(),
3191
+ body: _zod.z.string(),
3192
+ /** Set by the sending client; the same id on a retry returns the stored message. */
3193
+ client_id: _zod.z.string().nullable(),
3194
+ created_at: _zod.z.string()
3195
+ });
3196
+ var conversationParticipantSchema = _zod.z.object({
3197
+ type: _zod.z.literal("conversation_participant"),
3198
+ id: _zod.z.number(),
3199
+ /** Null once the person has left the company. */
3200
+ membership_id: _zod.z.number().nullable(),
3201
+ user_id: _zod.z.number(),
3202
+ /** Null when the person hides their name from the viewer. */
3203
+ name: _zod.z.string().nullable(),
3204
+ is_me: _zod.z.boolean(),
3205
+ /** False once the membership is gone or no longer confirmed — sending is rejected. */
3206
+ is_active: _zod.z.boolean(),
3207
+ /** Everything up to this message id is read by this participant. */
3208
+ last_read_message_id: _zod.z.number().nullable()
3209
+ });
3210
+ var conversationSchema = _zod.z.object({
3211
+ type: _zod.z.literal("conversation"),
3212
+ id: _zod.z.number(),
3213
+ company_id: _zod.z.number(),
3214
+ kind: conversationKindSchema,
3215
+ participants: _zod.z.array(conversationParticipantSchema),
3216
+ last_message: conversationMessageSchema.nullable(),
3217
+ /** Messages above the viewer's own read pointer. */
3218
+ unread_count: _zod.z.number(),
3219
+ last_message_at: _zod.z.string().nullable()
3220
+ });
3221
+ var conversationRecipientSchema = _zod.z.object({
3222
+ type: _zod.z.literal("conversation_recipient"),
3223
+ membership_id: _zod.z.number(),
3224
+ user_id: _zod.z.number(),
3225
+ name: _zod.z.string()
3226
+ });
3227
+ var conversationUnreadSummarySchema = _zod.z.object({
3228
+ company_id: _zod.z.number(),
3229
+ unread_conversations: _zod.z.number(),
3230
+ /** Whether the viewer may start a conversation at this company. */
3231
+ can_create: _zod.z.boolean().optional()
3232
+ });
3233
+ var conversationMessageSentEventSchema = _zod.z.object({
3234
+ company_id: _zod.z.number(),
3235
+ conversation_id: _zod.z.number(),
3236
+ message_id: _zod.z.number(),
3237
+ participant_id: _zod.z.number()
3238
+ });
3239
+ var conversationReadEventSchema = _zod.z.object({
3240
+ company_id: _zod.z.number(),
3241
+ conversation_id: _zod.z.number(),
3242
+ participant_id: _zod.z.number(),
3243
+ last_read_message_id: _zod.z.number()
3244
+ });
3245
+
3246
+
3247
+
3248
+
3249
+
3250
+
3251
+
3252
+
3253
+
3151
3254
 
3152
3255
 
3153
3256
 
@@ -3403,4 +3506,4 @@ var CompanySystemContractsResponseSchema = _zod.z.object({
3403
3506
 
3404
3507
 
3405
3508
 
3406
- 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.companyIdentitySchema = companyIdentitySchema; 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.membershipIdentitySchema = membershipIdentitySchema; exports.nestedMembershipSchema = nestedMembershipSchema; exports.baseMembershipSchema = baseMembershipSchema; exports.membershipSchema = membershipSchema; exports.documentType = documentType; exports.priceSchema = priceSchema; exports.feeSchema = feeSchema; exports.feeCategoryOptionsSchema = feeCategoryOptionsSchema; exports.courseFeeSchema = courseFeeSchema; exports.fuelUnitSchema = fuelUnitSchema; exports.airplaneSchema = airplaneSchema; exports.aircraftPositionSchema = aircraftPositionSchema; exports.airplaneShareInviteSchema = airplaneShareInviteSchema; exports.airplanePermissionSchema = airplanePermissionSchema; exports.teachingPermissionSchema = teachingPermissionSchema; exports.flightRequestStatusSchema = flightRequestStatusSchema; exports.flightRequestResponseStatusSchema = flightRequestResponseStatusSchema; exports.flightRequestWindowSchema = flightRequestWindowSchema; exports.flightRequestBusyIntervalSchema = flightRequestBusyIntervalSchema; exports.flightRequestAvailabilitySchema = flightRequestAvailabilitySchema; exports.flightRequestSeatSchema = flightRequestSeatSchema; exports.flightRequestResponseSchema = flightRequestResponseSchema; exports.flightRequestSchema = flightRequestSchema; 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.TodoPrioritySchema = TodoPrioritySchema; exports.TodoSchema = TodoSchema; exports.fboAcceptanceAxisSchema = fboAcceptanceAxisSchema; exports.fboAcceptanceStatusSchema = fboAcceptanceStatusSchema; exports.fboGroundServicesSchema = fboGroundServicesSchema; exports.fboFlightTypeSchema = fboFlightTypeSchema; exports.fboFlightStatusSchema = fboFlightStatusSchema; exports.fboOperationsSchema = fboOperationsSchema; exports.fboFlightCanSchema = fboFlightCanSchema; exports.fboRowCanSchema = fboRowCanSchema; exports.fboPobSchema = fboPobSchema; exports.fboPersonSchema = fboPersonSchema; exports.fboFlightDocumentSchema = fboFlightDocumentSchema; exports.fboFlightSchema = fboFlightSchema; exports.fboOccupationSchema = fboOccupationSchema; exports.fboRecurrenceTypeSchema = fboRecurrenceTypeSchema; exports.fboRecurrenceSchema = fboRecurrenceSchema; exports.fboDutyAffectedSchema = fboDutyAffectedSchema; exports.fboDutySchema = fboDutySchema; exports.fboDutySeriesResponseSchema = fboDutySeriesResponseSchema; exports.fboRoleSchema = fboRoleSchema; exports.fboCompanyProfileSchema = fboCompanyProfileSchema; exports.fboDecisionAxisSchema = fboDecisionAxisSchema; exports.fboDecisionSchema = fboDecisionSchema; exports.fboDecisionInputSchema = fboDecisionInputSchema; exports.fboVisibilitySchema = fboVisibilitySchema; exports.fboTrafficSourceSchema = fboTrafficSourceSchema; exports.fboTrafficRowTypeSchema = fboTrafficRowTypeSchema; exports.fboTrafficRowSchema = fboTrafficRowSchema; exports.fboTrafficLayerInputSchema = fboTrafficLayerInputSchema; exports.FBO_SYSTEM_ROLES = FBO_SYSTEM_ROLES; exports.fboSystemRoleSchema = fboSystemRoleSchema; exports.fboCompanyMemberSchema = fboCompanyMemberSchema; exports.fboNextDutySchema = fboNextDutySchema; exports.fboWeeklyLandingSchema = fboWeeklyLandingSchema; exports.fboLandingsSummarySchema = fboLandingsSummarySchema; exports.fboStatisticsSchema = fboStatisticsSchema; exports.fboActivityCauserSchema = fboActivityCauserSchema; exports.fboActivityChangesSchema = fboActivityChangesSchema; exports.fboActivitySchema = fboActivitySchema; exports.FBO_OPERATING_DAYS = FBO_OPERATING_DAYS; exports.fboRecurringFlightSchema = fboRecurringFlightSchema; exports.fboMaterialiseResultSchema = fboMaterialiseResultSchema; exports.fboGrantAbilitySchema = fboGrantAbilitySchema; exports.fboGrantAbilityOptionSchema = fboGrantAbilityOptionSchema; exports.fboGrantCompanyRefSchema = fboGrantCompanyRefSchema; exports.fboCompanyGrantSchema = fboCompanyGrantSchema; exports.fboCompanyGrantInputSchema = fboCompanyGrantInputSchema; exports.fboMetaSchema = fboMetaSchema; exports.fboCompanySchema = fboCompanySchema; exports.SystemContractStateSchema = SystemContractStateSchema; exports.SystemContractRegisterRowSchema = SystemContractRegisterRowSchema; exports.SystemContractRegisterEntrySchema = SystemContractRegisterEntrySchema; exports.SystemContractRegisterResponseSchema = SystemContractRegisterResponseSchema; exports.CompanySystemContractsResponseSchema = CompanySystemContractsResponseSchema;
3509
+ 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.companyIdentitySchema = companyIdentitySchema; 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.membershipIdentitySchema = membershipIdentitySchema; exports.nestedMembershipSchema = nestedMembershipSchema; exports.baseMembershipSchema = baseMembershipSchema; exports.membershipSchema = membershipSchema; exports.documentType = documentType; exports.priceSchema = priceSchema; exports.feeSchema = feeSchema; exports.feeCategoryOptionsSchema = feeCategoryOptionsSchema; exports.courseFeeSchema = courseFeeSchema; exports.fuelUnitSchema = fuelUnitSchema; exports.airplaneSchema = airplaneSchema; exports.aircraftPositionSchema = aircraftPositionSchema; exports.airplaneShareInviteSchema = airplaneShareInviteSchema; exports.airplanePermissionSchema = airplanePermissionSchema; exports.teachingPermissionSchema = teachingPermissionSchema; exports.flightRequestStatusSchema = flightRequestStatusSchema; exports.flightRequestResponseStatusSchema = flightRequestResponseStatusSchema; exports.flightRequestWindowSchema = flightRequestWindowSchema; exports.flightRequestBusyIntervalSchema = flightRequestBusyIntervalSchema; exports.flightRequestAvailabilitySchema = flightRequestAvailabilitySchema; exports.flightRequestSeatSchema = flightRequestSeatSchema; exports.flightRequestResponseSchema = flightRequestResponseSchema; exports.flightRequestSchema = flightRequestSchema; 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.prePaidPackageAssignmentSchema = prePaidPackageAssignmentSchema; exports.expenseItemSchema = expenseItemSchema; exports.prePaidPackageSchema = prePaidPackageSchema; 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.TodoPrioritySchema = TodoPrioritySchema; exports.TodoSchema = TodoSchema; exports.fboAcceptanceAxisSchema = fboAcceptanceAxisSchema; exports.fboAcceptanceStatusSchema = fboAcceptanceStatusSchema; exports.fboGroundServicesSchema = fboGroundServicesSchema; exports.fboFlightTypeSchema = fboFlightTypeSchema; exports.fboFlightStatusSchema = fboFlightStatusSchema; exports.fboOperationsSchema = fboOperationsSchema; exports.fboFlightCanSchema = fboFlightCanSchema; exports.fboRowCanSchema = fboRowCanSchema; exports.fboPobSchema = fboPobSchema; exports.fboPersonSchema = fboPersonSchema; exports.fboFlightDocumentSchema = fboFlightDocumentSchema; exports.fboFlightSchema = fboFlightSchema; exports.fboOccupationSchema = fboOccupationSchema; exports.fboRecurrenceTypeSchema = fboRecurrenceTypeSchema; exports.fboRecurrenceSchema = fboRecurrenceSchema; exports.fboDutyAffectedSchema = fboDutyAffectedSchema; exports.fboDutySchema = fboDutySchema; exports.fboDutySeriesResponseSchema = fboDutySeriesResponseSchema; exports.fboRoleSchema = fboRoleSchema; exports.fboCompanyProfileSchema = fboCompanyProfileSchema; exports.fboDecisionAxisSchema = fboDecisionAxisSchema; exports.fboDecisionSchema = fboDecisionSchema; exports.fboDecisionInputSchema = fboDecisionInputSchema; exports.fboVisibilitySchema = fboVisibilitySchema; exports.fboTrafficSourceSchema = fboTrafficSourceSchema; exports.fboTrafficRowTypeSchema = fboTrafficRowTypeSchema; exports.fboTrafficRowSchema = fboTrafficRowSchema; exports.fboTrafficLayerInputSchema = fboTrafficLayerInputSchema; exports.FBO_SYSTEM_ROLES = FBO_SYSTEM_ROLES; exports.fboSystemRoleSchema = fboSystemRoleSchema; exports.fboCompanyMemberSchema = fboCompanyMemberSchema; exports.fboNextDutySchema = fboNextDutySchema; exports.fboWeeklyLandingSchema = fboWeeklyLandingSchema; exports.fboLandingsSummarySchema = fboLandingsSummarySchema; exports.fboStatisticsSchema = fboStatisticsSchema; exports.fboActivityCauserSchema = fboActivityCauserSchema; exports.fboActivityChangesSchema = fboActivityChangesSchema; exports.fboActivitySchema = fboActivitySchema; exports.FBO_OPERATING_DAYS = FBO_OPERATING_DAYS; exports.fboRecurringFlightSchema = fboRecurringFlightSchema; exports.fboMaterialiseResultSchema = fboMaterialiseResultSchema; exports.fboGrantAbilitySchema = fboGrantAbilitySchema; exports.fboGrantAbilityOptionSchema = fboGrantAbilityOptionSchema; exports.fboGrantCompanyRefSchema = fboGrantCompanyRefSchema; exports.fboCompanyGrantSchema = fboCompanyGrantSchema; exports.fboCompanyGrantInputSchema = fboCompanyGrantInputSchema; exports.fboMetaSchema = fboMetaSchema; exports.fboCompanySchema = fboCompanySchema; exports.SystemContractStateSchema = SystemContractStateSchema; exports.SystemContractRegisterRowSchema = SystemContractRegisterRowSchema; exports.SystemContractRegisterEntrySchema = SystemContractRegisterEntrySchema; exports.SystemContractRegisterResponseSchema = SystemContractRegisterResponseSchema; exports.CompanySystemContractsResponseSchema = CompanySystemContractsResponseSchema; exports.conversationKindSchema = conversationKindSchema; exports.conversationMessageSchema = conversationMessageSchema; exports.conversationParticipantSchema = conversationParticipantSchema; exports.conversationSchema = conversationSchema; exports.conversationRecipientSchema = conversationRecipientSchema; exports.conversationUnreadSummarySchema = conversationUnreadSummarySchema; exports.conversationMessageSentEventSchema = conversationMessageSentEventSchema; exports.conversationReadEventSchema = conversationReadEventSchema;
@@ -122,7 +122,14 @@ var companySchema = z.object({
122
122
  longitude_deg: z.number().nullable().optional()
123
123
  }).nullable().optional(),
124
124
  icao: z.string().nullable().optional(),
125
- distance_in_km: z.number().optional()
125
+ distance_in_km: z.number().optional(),
126
+ // Tax details: `tax_number` only reaches users who may view company
127
+ // details (like `vat`); the VAT-exemption fields + `vat_exemption_codes`
128
+ // come from the super-admin AdminCompanyResource.
129
+ tax_number: z.string().nullable().optional(),
130
+ vat_exemption_code: z.string().nullable().optional(),
131
+ vat_exemption_text: z.string().nullable().optional(),
132
+ vat_exemption_codes: z.array(z.string()).optional()
126
133
  });
127
134
 
128
135
  // src/schemas/models.ts
@@ -1795,25 +1802,6 @@ var specialFlightSchema = z4.object({
1795
1802
  created_at: z4.string(),
1796
1803
  updated_at: z4.string()
1797
1804
  });
1798
- var prePaidPackageSchema = z4.object({
1799
- type: z4.literal("prePaidPackage"),
1800
- id: z4.number(),
1801
- company_id: z4.number(),
1802
- company: companySchema.optional(),
1803
- name: z4.string(),
1804
- description: z4.string().nullable().optional(),
1805
- balance: zMoneyObject,
1806
- initial_amount: zMoneyObject,
1807
- discount_percentage: z4.number().nullable().optional(),
1808
- valid_until: z4.string().nullable().optional(),
1809
- created_at: z4.string(),
1810
- updated_at: z4.string(),
1811
- can: z4.object({
1812
- update: zNullableBool,
1813
- delete: zNullableBool,
1814
- assign: zNullableBool
1815
- }).optional()
1816
- });
1817
1805
  var prePaidPackageAssignmentSchema = z4.object({
1818
1806
  id: z4.number(),
1819
1807
  flight_log_id: z4.number().nullable().optional(),
@@ -1884,6 +1872,49 @@ var expenseItemSchema = z4.object({
1884
1872
  // a live ExpenseItemResource payload.
1885
1873
  is_snapshot: z4.boolean().optional()
1886
1874
  });
1875
+ var prePaidPackageSchema = z4.object({
1876
+ type: z4.literal("prePaidPackage"),
1877
+ id: z4.number(),
1878
+ membership_id: z4.number(),
1879
+ membership: membershipIdentitySchema.optional(),
1880
+ invoice_id: z4.number().nullable(),
1881
+ company_id: z4.number(),
1882
+ billable: z4.boolean(),
1883
+ billing_profile_id: z4.number().nullable(),
1884
+ billingProfile: billingProfileSchema.optional(),
1885
+ allowed_billing_profile_ids: z4.array(z4.number()).optional(),
1886
+ allowedBillingProfiles: z4.array(billingProfileSchema).optional(),
1887
+ covers_school_flights: z4.boolean(),
1888
+ allowed_course_enrollment_ids: z4.array(z4.number()).optional(),
1889
+ allowedCourseEnrollments: z4.array(
1890
+ z4.object({
1891
+ id: z4.number(),
1892
+ course_id: z4.number(),
1893
+ course_name: z4.string().nullable().optional()
1894
+ })
1895
+ ).optional(),
1896
+ flightLogs: z4.array(flightLogSchema).optional(),
1897
+ expenseItems: z4.array(expenseItemSchema).optional(),
1898
+ assignedExpenseItems: z4.array(expenseItemSchema).optional(),
1899
+ prePaidPackageAssignments: z4.array(prePaidPackageAssignmentSchema).optional(),
1900
+ remarks: z4.string().nullable(),
1901
+ // Two-decimal amount, serialised as a string ("120.00").
1902
+ total: z4.union([z4.string(), z4.number()]),
1903
+ remaining_gross_value: zMoneyObject,
1904
+ initial_gross_value: zMoneyObject,
1905
+ approved_applications: z4.array(z4.string()),
1906
+ usage: z4.number(),
1907
+ valid_from: z4.string().nullable(),
1908
+ expires_at: z4.string().nullable(),
1909
+ created_at: z4.string(),
1910
+ refunded_at: z4.string().nullable(),
1911
+ refunded_gross_value: zMoneyObject.nullable(),
1912
+ refund_gross_total: zMoneyObject.nullable(),
1913
+ refund_reason: z4.string().nullable().optional(),
1914
+ refund_reference: z4.string().nullable().optional(),
1915
+ refundedBy: z4.object({ id: z4.number(), name: z4.string() }).nullable().optional(),
1916
+ can: z4.record(z4.string(), z4.boolean().nullable()).optional()
1917
+ });
1887
1918
  var waypointSchema = z4.object({
1888
1919
  type: z4.literal("waypoint"),
1889
1920
  id: z4.number(),
@@ -3148,6 +3179,70 @@ var CompanySystemContractsResponseSchema = z13.object({
3148
3179
  meta: z13.object({ current_versions: z13.record(z13.string(), z13.number()) })
3149
3180
  });
3150
3181
 
3182
+ // src/schemas/conversation.ts
3183
+ import { z as z14 } from "zod";
3184
+ var conversationKindSchema = z14.enum(["direct"]);
3185
+ var conversationMessageSchema = z14.object({
3186
+ type: z14.literal("conversation_message"),
3187
+ id: z14.number(),
3188
+ conversation_id: z14.number(),
3189
+ /** The sending participant (not a membership: the participant outlives it). */
3190
+ participant_id: z14.number(),
3191
+ body: z14.string(),
3192
+ /** Set by the sending client; the same id on a retry returns the stored message. */
3193
+ client_id: z14.string().nullable(),
3194
+ created_at: z14.string()
3195
+ });
3196
+ var conversationParticipantSchema = z14.object({
3197
+ type: z14.literal("conversation_participant"),
3198
+ id: z14.number(),
3199
+ /** Null once the person has left the company. */
3200
+ membership_id: z14.number().nullable(),
3201
+ user_id: z14.number(),
3202
+ /** Null when the person hides their name from the viewer. */
3203
+ name: z14.string().nullable(),
3204
+ is_me: z14.boolean(),
3205
+ /** False once the membership is gone or no longer confirmed — sending is rejected. */
3206
+ is_active: z14.boolean(),
3207
+ /** Everything up to this message id is read by this participant. */
3208
+ last_read_message_id: z14.number().nullable()
3209
+ });
3210
+ var conversationSchema = z14.object({
3211
+ type: z14.literal("conversation"),
3212
+ id: z14.number(),
3213
+ company_id: z14.number(),
3214
+ kind: conversationKindSchema,
3215
+ participants: z14.array(conversationParticipantSchema),
3216
+ last_message: conversationMessageSchema.nullable(),
3217
+ /** Messages above the viewer's own read pointer. */
3218
+ unread_count: z14.number(),
3219
+ last_message_at: z14.string().nullable()
3220
+ });
3221
+ var conversationRecipientSchema = z14.object({
3222
+ type: z14.literal("conversation_recipient"),
3223
+ membership_id: z14.number(),
3224
+ user_id: z14.number(),
3225
+ name: z14.string()
3226
+ });
3227
+ var conversationUnreadSummarySchema = z14.object({
3228
+ company_id: z14.number(),
3229
+ unread_conversations: z14.number(),
3230
+ /** Whether the viewer may start a conversation at this company. */
3231
+ can_create: z14.boolean().optional()
3232
+ });
3233
+ var conversationMessageSentEventSchema = z14.object({
3234
+ company_id: z14.number(),
3235
+ conversation_id: z14.number(),
3236
+ message_id: z14.number(),
3237
+ participant_id: z14.number()
3238
+ });
3239
+ var conversationReadEventSchema = z14.object({
3240
+ company_id: z14.number(),
3241
+ conversation_id: z14.number(),
3242
+ participant_id: z14.number(),
3243
+ last_read_message_id: z14.number()
3244
+ });
3245
+
3151
3246
  export {
3152
3247
  zNullableBool,
3153
3248
  zNetGross,
@@ -3268,9 +3363,9 @@ export {
3268
3363
  airplaneIssueStatusEnum,
3269
3364
  airplaneIssueSchema,
3270
3365
  specialFlightSchema,
3271
- prePaidPackageSchema,
3272
3366
  prePaidPackageAssignmentSchema,
3273
3367
  expenseItemSchema,
3368
+ prePaidPackageSchema,
3274
3369
  waypointSchema,
3275
3370
  approachTypeSchema,
3276
3371
  FaqStatus,
@@ -3402,5 +3497,13 @@ export {
3402
3497
  SystemContractRegisterRowSchema,
3403
3498
  SystemContractRegisterEntrySchema,
3404
3499
  SystemContractRegisterResponseSchema,
3405
- CompanySystemContractsResponseSchema
3500
+ CompanySystemContractsResponseSchema,
3501
+ conversationKindSchema,
3502
+ conversationMessageSchema,
3503
+ conversationParticipantSchema,
3504
+ conversationSchema,
3505
+ conversationRecipientSchema,
3506
+ conversationUnreadSummarySchema,
3507
+ conversationMessageSentEventSchema,
3508
+ conversationReadEventSchema
3406
3509
  };