@updraft-solutions/mcrit-sdk 0.14.11 → 0.14.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-FNIZXT5C.cjs → chunk-KKSV5OWH.cjs} +46 -1
- package/dist/{chunk-RUNBP37X.js → chunk-QCA4OD7R.js} +45 -0
- package/dist/{fbo-DlZNor1r.d.cts → fbo-7EyTUlqN.d.cts} +235 -1
- package/dist/{fbo-DlZNor1r.d.ts → fbo-7EyTUlqN.d.ts} +235 -1
- package/dist/index.cjs +12 -6
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +19 -13
- package/dist/{operating-hours-CMhR5S8y.d.cts → operating-hours-BLJOADcx.d.cts} +1 -1
- package/dist/{operating-hours-CgEKmXSK.d.ts → operating-hours-D0OI71DZ.d.ts} +1 -1
- package/dist/schemas/index.cjs +8 -2
- package/dist/schemas/index.d.cts +1 -1
- package/dist/schemas/index.d.ts +1 -1
- package/dist/schemas/index.js +7 -1
- package/dist/types/index.d.cts +6 -3
- package/dist/types/index.d.ts +6 -3
- package/package.json +1 -1
- package/src/schemas/fbo.spec.ts +112 -0
- package/src/schemas/fbo.ts +71 -0
- package/src/types/fbo.ts +3 -0
|
@@ -2646,6 +2646,33 @@ var fboRowCanSchema = _zod.z.object({
|
|
|
2646
2646
|
update: _zod.z.boolean(),
|
|
2647
2647
|
delete: _zod.z.boolean()
|
|
2648
2648
|
});
|
|
2649
|
+
var fboPobSchema = _zod.z.object({
|
|
2650
|
+
/** Crew member rather than passenger — the customs declaration lists the two apart. */
|
|
2651
|
+
crew: _zod.z.boolean(),
|
|
2652
|
+
firstname: _zod.z.string(),
|
|
2653
|
+
lastname: _zod.z.string(),
|
|
2654
|
+
birth: _zod.z.string().nullable(),
|
|
2655
|
+
nationality: _zod.z.string().nullable(),
|
|
2656
|
+
document_id: _zod.z.string().nullable(),
|
|
2657
|
+
document_validity: _zod.z.string().nullable()
|
|
2658
|
+
});
|
|
2659
|
+
var fboPersonSchema = fboPobSchema.extend({
|
|
2660
|
+
id: _zod.z.number(),
|
|
2661
|
+
is_mine: _zod.z.boolean(),
|
|
2662
|
+
created_at: _zod.z.string().nullable()
|
|
2663
|
+
});
|
|
2664
|
+
var fboFlightDocumentSchema = _zod.z.object({
|
|
2665
|
+
id: _zod.z.number(),
|
|
2666
|
+
uuid: _zod.z.string().nullable(),
|
|
2667
|
+
name: _zod.z.string(),
|
|
2668
|
+
file_name: _zod.z.string(),
|
|
2669
|
+
mime_type: _zod.z.string().nullable(),
|
|
2670
|
+
size: _zod.z.number(),
|
|
2671
|
+
collection_name: _zod.z.string(),
|
|
2672
|
+
ima_file_id: _zod.z.string().nullable().optional(),
|
|
2673
|
+
download_path: _zod.z.string().nullable(),
|
|
2674
|
+
created_at: _zod.z.string().nullable()
|
|
2675
|
+
});
|
|
2649
2676
|
var fboFlightSchema = _zod.z.object({
|
|
2650
2677
|
id: _zod.z.number(),
|
|
2651
2678
|
type: fboFlightTypeSchema,
|
|
@@ -2680,6 +2707,21 @@ var fboFlightSchema = _zod.z.object({
|
|
|
2680
2707
|
batch_uuid: _zod.z.string().nullable(),
|
|
2681
2708
|
/** Count of live rows sharing `batch_uuid`; `1` when `batch_uuid` is null. */
|
|
2682
2709
|
legs_count: _zod.z.number(),
|
|
2710
|
+
/**
|
|
2711
|
+
* Persons on board. Own-row tier, stricter than `fbo_notes`: the key is
|
|
2712
|
+
* present only for the movement's own AUTHOR or a root decider — a
|
|
2713
|
+
* colleague reading the same row never receives it. `.optional()` covers
|
|
2714
|
+
* the omitted key, `.nullable()` a movement whose list was never filled
|
|
2715
|
+
* (or has been purged by retention).
|
|
2716
|
+
*/
|
|
2717
|
+
pobs: _zod.z.array(fboPobSchema).nullable().optional(),
|
|
2718
|
+
/**
|
|
2719
|
+
* How many documents hang on the movement. The files themselves are never
|
|
2720
|
+
* listed here — they are fetched, and authorised, one endpoint deeper.
|
|
2721
|
+
*/
|
|
2722
|
+
documents_count: _zod.z.number().nullable().optional(),
|
|
2723
|
+
/** When the customs pre-declaration was last mailed; `null` while it never was. */
|
|
2724
|
+
customs_mail_sent_at: _zod.z.string().nullable().optional(),
|
|
2683
2725
|
/**
|
|
2684
2726
|
* Root tier — present only when the requesting user holds `fbo.flight.decide`
|
|
2685
2727
|
* for the row's company; absent (key omitted) for everyone else, including
|
|
@@ -3089,4 +3131,7 @@ var fboMaterialiseResultSchema = _zod.z.object({
|
|
|
3089
3131
|
|
|
3090
3132
|
|
|
3091
3133
|
|
|
3092
|
-
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.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; 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.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.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;
|
|
3134
|
+
|
|
3135
|
+
|
|
3136
|
+
|
|
3137
|
+
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.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; 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.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;
|
|
@@ -2646,6 +2646,33 @@ var fboRowCanSchema = z12.object({
|
|
|
2646
2646
|
update: z12.boolean(),
|
|
2647
2647
|
delete: z12.boolean()
|
|
2648
2648
|
});
|
|
2649
|
+
var fboPobSchema = z12.object({
|
|
2650
|
+
/** Crew member rather than passenger — the customs declaration lists the two apart. */
|
|
2651
|
+
crew: z12.boolean(),
|
|
2652
|
+
firstname: z12.string(),
|
|
2653
|
+
lastname: z12.string(),
|
|
2654
|
+
birth: z12.string().nullable(),
|
|
2655
|
+
nationality: z12.string().nullable(),
|
|
2656
|
+
document_id: z12.string().nullable(),
|
|
2657
|
+
document_validity: z12.string().nullable()
|
|
2658
|
+
});
|
|
2659
|
+
var fboPersonSchema = fboPobSchema.extend({
|
|
2660
|
+
id: z12.number(),
|
|
2661
|
+
is_mine: z12.boolean(),
|
|
2662
|
+
created_at: z12.string().nullable()
|
|
2663
|
+
});
|
|
2664
|
+
var fboFlightDocumentSchema = z12.object({
|
|
2665
|
+
id: z12.number(),
|
|
2666
|
+
uuid: z12.string().nullable(),
|
|
2667
|
+
name: z12.string(),
|
|
2668
|
+
file_name: z12.string(),
|
|
2669
|
+
mime_type: z12.string().nullable(),
|
|
2670
|
+
size: z12.number(),
|
|
2671
|
+
collection_name: z12.string(),
|
|
2672
|
+
ima_file_id: z12.string().nullable().optional(),
|
|
2673
|
+
download_path: z12.string().nullable(),
|
|
2674
|
+
created_at: z12.string().nullable()
|
|
2675
|
+
});
|
|
2649
2676
|
var fboFlightSchema = z12.object({
|
|
2650
2677
|
id: z12.number(),
|
|
2651
2678
|
type: fboFlightTypeSchema,
|
|
@@ -2680,6 +2707,21 @@ var fboFlightSchema = z12.object({
|
|
|
2680
2707
|
batch_uuid: z12.string().nullable(),
|
|
2681
2708
|
/** Count of live rows sharing `batch_uuid`; `1` when `batch_uuid` is null. */
|
|
2682
2709
|
legs_count: z12.number(),
|
|
2710
|
+
/**
|
|
2711
|
+
* Persons on board. Own-row tier, stricter than `fbo_notes`: the key is
|
|
2712
|
+
* present only for the movement's own AUTHOR or a root decider — a
|
|
2713
|
+
* colleague reading the same row never receives it. `.optional()` covers
|
|
2714
|
+
* the omitted key, `.nullable()` a movement whose list was never filled
|
|
2715
|
+
* (or has been purged by retention).
|
|
2716
|
+
*/
|
|
2717
|
+
pobs: z12.array(fboPobSchema).nullable().optional(),
|
|
2718
|
+
/**
|
|
2719
|
+
* How many documents hang on the movement. The files themselves are never
|
|
2720
|
+
* listed here — they are fetched, and authorised, one endpoint deeper.
|
|
2721
|
+
*/
|
|
2722
|
+
documents_count: z12.number().nullable().optional(),
|
|
2723
|
+
/** When the customs pre-declaration was last mailed; `null` while it never was. */
|
|
2724
|
+
customs_mail_sent_at: z12.string().nullable().optional(),
|
|
2683
2725
|
/**
|
|
2684
2726
|
* Root tier — present only when the requesting user holds `fbo.flight.decide`
|
|
2685
2727
|
* for the row's company; absent (key omitted) for everyone else, including
|
|
@@ -3060,6 +3102,9 @@ export {
|
|
|
3060
3102
|
fboOperationsSchema,
|
|
3061
3103
|
fboFlightCanSchema,
|
|
3062
3104
|
fboRowCanSchema,
|
|
3105
|
+
fboPobSchema,
|
|
3106
|
+
fboPersonSchema,
|
|
3107
|
+
fboFlightDocumentSchema,
|
|
3063
3108
|
fboFlightSchema,
|
|
3064
3109
|
fboOccupationSchema,
|
|
3065
3110
|
fboRecurrenceTypeSchema,
|
|
@@ -108579,6 +108579,128 @@ declare const fboRowCanSchema: z.ZodObject<{
|
|
|
108579
108579
|
update: boolean;
|
|
108580
108580
|
delete: boolean;
|
|
108581
108581
|
}>;
|
|
108582
|
+
/**
|
|
108583
|
+
* One person on board a movement — the per-element shape of the flight's
|
|
108584
|
+
* `pobs` list and, minus the row identity, of an address-book person.
|
|
108585
|
+
* `birth`/`document_validity` are plain `Y-m-d` dates (no time); `nationality`
|
|
108586
|
+
* is an uppercase ISO-3166-1 alpha-2 code. Every field but the names is
|
|
108587
|
+
* optional data a filer may not have to hand yet.
|
|
108588
|
+
*
|
|
108589
|
+
* Passport data: it is only ever in a payload the API decided the caller may
|
|
108590
|
+
* see (the movement's own author, or a root decider) — never cached to disk
|
|
108591
|
+
* on the client.
|
|
108592
|
+
*/
|
|
108593
|
+
declare const fboPobSchema: z.ZodObject<{
|
|
108594
|
+
/** Crew member rather than passenger — the customs declaration lists the two apart. */
|
|
108595
|
+
crew: z.ZodBoolean;
|
|
108596
|
+
firstname: z.ZodString;
|
|
108597
|
+
lastname: z.ZodString;
|
|
108598
|
+
birth: z.ZodNullable<z.ZodString>;
|
|
108599
|
+
nationality: z.ZodNullable<z.ZodString>;
|
|
108600
|
+
document_id: z.ZodNullable<z.ZodString>;
|
|
108601
|
+
document_validity: z.ZodNullable<z.ZodString>;
|
|
108602
|
+
}, "strip", z.ZodTypeAny, {
|
|
108603
|
+
firstname: string;
|
|
108604
|
+
lastname: string;
|
|
108605
|
+
document_id: string | null;
|
|
108606
|
+
crew: boolean;
|
|
108607
|
+
birth: string | null;
|
|
108608
|
+
nationality: string | null;
|
|
108609
|
+
document_validity: string | null;
|
|
108610
|
+
}, {
|
|
108611
|
+
firstname: string;
|
|
108612
|
+
lastname: string;
|
|
108613
|
+
document_id: string | null;
|
|
108614
|
+
crew: boolean;
|
|
108615
|
+
birth: string | null;
|
|
108616
|
+
nationality: string | null;
|
|
108617
|
+
document_validity: string | null;
|
|
108618
|
+
}>;
|
|
108619
|
+
/**
|
|
108620
|
+
* An address-book person — a saved template the POB editor fills a row from,
|
|
108621
|
+
* so a document number never has to be retyped. Same field set as
|
|
108622
|
+
* `fboPobSchema` plus the row's own identity; `is_mine` says whether the
|
|
108623
|
+
* CALLER owns it (theirs to edit or delete) rather than it merely being
|
|
108624
|
+
* visible through the company they are filing at.
|
|
108625
|
+
*/
|
|
108626
|
+
declare const fboPersonSchema: z.ZodObject<{
|
|
108627
|
+
/** Crew member rather than passenger — the customs declaration lists the two apart. */
|
|
108628
|
+
crew: z.ZodBoolean;
|
|
108629
|
+
firstname: z.ZodString;
|
|
108630
|
+
lastname: z.ZodString;
|
|
108631
|
+
birth: z.ZodNullable<z.ZodString>;
|
|
108632
|
+
nationality: z.ZodNullable<z.ZodString>;
|
|
108633
|
+
document_id: z.ZodNullable<z.ZodString>;
|
|
108634
|
+
document_validity: z.ZodNullable<z.ZodString>;
|
|
108635
|
+
} & {
|
|
108636
|
+
id: z.ZodNumber;
|
|
108637
|
+
is_mine: z.ZodBoolean;
|
|
108638
|
+
created_at: z.ZodNullable<z.ZodString>;
|
|
108639
|
+
}, "strip", z.ZodTypeAny, {
|
|
108640
|
+
id: number;
|
|
108641
|
+
created_at: string | null;
|
|
108642
|
+
firstname: string;
|
|
108643
|
+
lastname: string;
|
|
108644
|
+
document_id: string | null;
|
|
108645
|
+
crew: boolean;
|
|
108646
|
+
birth: string | null;
|
|
108647
|
+
nationality: string | null;
|
|
108648
|
+
document_validity: string | null;
|
|
108649
|
+
is_mine: boolean;
|
|
108650
|
+
}, {
|
|
108651
|
+
id: number;
|
|
108652
|
+
created_at: string | null;
|
|
108653
|
+
firstname: string;
|
|
108654
|
+
lastname: string;
|
|
108655
|
+
document_id: string | null;
|
|
108656
|
+
crew: boolean;
|
|
108657
|
+
birth: string | null;
|
|
108658
|
+
nationality: string | null;
|
|
108659
|
+
document_validity: string | null;
|
|
108660
|
+
is_mine: boolean;
|
|
108661
|
+
}>;
|
|
108662
|
+
/**
|
|
108663
|
+
* A document hanging on a movement — General Declaration, passports, customs
|
|
108664
|
+
* paperwork. `download_path` is a RELATIVE API path, never a fetchable file
|
|
108665
|
+
* URL: the bytes live on a private disk and are streamed back through the
|
|
108666
|
+
* authorised endpoint, so every fetch re-runs the caller's authority.
|
|
108667
|
+
* `ima_file_id` is set only on the rows imported from the predecessor system,
|
|
108668
|
+
* and is a STRING there — the importer stamps the source id as text.
|
|
108669
|
+
*/
|
|
108670
|
+
declare const fboFlightDocumentSchema: z.ZodObject<{
|
|
108671
|
+
id: z.ZodNumber;
|
|
108672
|
+
uuid: z.ZodNullable<z.ZodString>;
|
|
108673
|
+
name: z.ZodString;
|
|
108674
|
+
file_name: z.ZodString;
|
|
108675
|
+
mime_type: z.ZodNullable<z.ZodString>;
|
|
108676
|
+
size: z.ZodNumber;
|
|
108677
|
+
collection_name: z.ZodString;
|
|
108678
|
+
ima_file_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
108679
|
+
download_path: z.ZodNullable<z.ZodString>;
|
|
108680
|
+
created_at: z.ZodNullable<z.ZodString>;
|
|
108681
|
+
}, "strip", z.ZodTypeAny, {
|
|
108682
|
+
name: string;
|
|
108683
|
+
id: number;
|
|
108684
|
+
created_at: string | null;
|
|
108685
|
+
collection_name: string;
|
|
108686
|
+
mime_type: string | null;
|
|
108687
|
+
file_name: string;
|
|
108688
|
+
size: number;
|
|
108689
|
+
uuid: string | null;
|
|
108690
|
+
download_path: string | null;
|
|
108691
|
+
ima_file_id?: string | null | undefined;
|
|
108692
|
+
}, {
|
|
108693
|
+
name: string;
|
|
108694
|
+
id: number;
|
|
108695
|
+
created_at: string | null;
|
|
108696
|
+
collection_name: string;
|
|
108697
|
+
mime_type: string | null;
|
|
108698
|
+
file_name: string;
|
|
108699
|
+
size: number;
|
|
108700
|
+
uuid: string | null;
|
|
108701
|
+
download_path: string | null;
|
|
108702
|
+
ima_file_id?: string | null | undefined;
|
|
108703
|
+
}>;
|
|
108582
108704
|
declare const fboFlightSchema: z.ZodObject<{
|
|
108583
108705
|
id: z.ZodNumber;
|
|
108584
108706
|
type: z.ZodEnum<["scheduledFlight", "ppr"]>;
|
|
@@ -108813,6 +108935,46 @@ declare const fboFlightSchema: z.ZodObject<{
|
|
|
108813
108935
|
batch_uuid: z.ZodNullable<z.ZodString>;
|
|
108814
108936
|
/** Count of live rows sharing `batch_uuid`; `1` when `batch_uuid` is null. */
|
|
108815
108937
|
legs_count: z.ZodNumber;
|
|
108938
|
+
/**
|
|
108939
|
+
* Persons on board. Own-row tier, stricter than `fbo_notes`: the key is
|
|
108940
|
+
* present only for the movement's own AUTHOR or a root decider — a
|
|
108941
|
+
* colleague reading the same row never receives it. `.optional()` covers
|
|
108942
|
+
* the omitted key, `.nullable()` a movement whose list was never filled
|
|
108943
|
+
* (or has been purged by retention).
|
|
108944
|
+
*/
|
|
108945
|
+
pobs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
108946
|
+
/** Crew member rather than passenger — the customs declaration lists the two apart. */
|
|
108947
|
+
crew: z.ZodBoolean;
|
|
108948
|
+
firstname: z.ZodString;
|
|
108949
|
+
lastname: z.ZodString;
|
|
108950
|
+
birth: z.ZodNullable<z.ZodString>;
|
|
108951
|
+
nationality: z.ZodNullable<z.ZodString>;
|
|
108952
|
+
document_id: z.ZodNullable<z.ZodString>;
|
|
108953
|
+
document_validity: z.ZodNullable<z.ZodString>;
|
|
108954
|
+
}, "strip", z.ZodTypeAny, {
|
|
108955
|
+
firstname: string;
|
|
108956
|
+
lastname: string;
|
|
108957
|
+
document_id: string | null;
|
|
108958
|
+
crew: boolean;
|
|
108959
|
+
birth: string | null;
|
|
108960
|
+
nationality: string | null;
|
|
108961
|
+
document_validity: string | null;
|
|
108962
|
+
}, {
|
|
108963
|
+
firstname: string;
|
|
108964
|
+
lastname: string;
|
|
108965
|
+
document_id: string | null;
|
|
108966
|
+
crew: boolean;
|
|
108967
|
+
birth: string | null;
|
|
108968
|
+
nationality: string | null;
|
|
108969
|
+
document_validity: string | null;
|
|
108970
|
+
}>, "many">>>;
|
|
108971
|
+
/**
|
|
108972
|
+
* How many documents hang on the movement. The files themselves are never
|
|
108973
|
+
* listed here — they are fetched, and authorised, one endpoint deeper.
|
|
108974
|
+
*/
|
|
108975
|
+
documents_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
108976
|
+
/** When the customs pre-declaration was last mailed; `null` while it never was. */
|
|
108977
|
+
customs_mail_sent_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
108816
108978
|
/**
|
|
108817
108979
|
* Root tier — present only when the requesting user holds `fbo.flight.decide`
|
|
108818
108980
|
* for the row's company; absent (key omitted) for everyone else, including
|
|
@@ -108949,6 +109111,17 @@ declare const fboFlightSchema: z.ZodObject<{
|
|
|
108949
109111
|
country?: string | undefined;
|
|
108950
109112
|
} | undefined;
|
|
108951
109113
|
source?: "booking" | "fbo" | undefined;
|
|
109114
|
+
pobs?: {
|
|
109115
|
+
firstname: string;
|
|
109116
|
+
lastname: string;
|
|
109117
|
+
document_id: string | null;
|
|
109118
|
+
crew: boolean;
|
|
109119
|
+
birth: string | null;
|
|
109120
|
+
nationality: string | null;
|
|
109121
|
+
document_validity: string | null;
|
|
109122
|
+
}[] | null | undefined;
|
|
109123
|
+
documents_count?: number | null | undefined;
|
|
109124
|
+
customs_mail_sent_at?: string | null | undefined;
|
|
108952
109125
|
fbo_notes?: string | null | undefined;
|
|
108953
109126
|
assigned_user_ids?: number[] | null | undefined;
|
|
108954
109127
|
}, {
|
|
@@ -109049,6 +109222,17 @@ declare const fboFlightSchema: z.ZodObject<{
|
|
|
109049
109222
|
country?: string | undefined;
|
|
109050
109223
|
} | undefined;
|
|
109051
109224
|
source?: "booking" | "fbo" | undefined;
|
|
109225
|
+
pobs?: {
|
|
109226
|
+
firstname: string;
|
|
109227
|
+
lastname: string;
|
|
109228
|
+
document_id: string | null;
|
|
109229
|
+
crew: boolean;
|
|
109230
|
+
birth: string | null;
|
|
109231
|
+
nationality: string | null;
|
|
109232
|
+
document_validity: string | null;
|
|
109233
|
+
}[] | null | undefined;
|
|
109234
|
+
documents_count?: number | null | undefined;
|
|
109235
|
+
customs_mail_sent_at?: string | null | undefined;
|
|
109052
109236
|
fbo_notes?: string | null | undefined;
|
|
109053
109237
|
assigned_user_ids?: number[] | null | undefined;
|
|
109054
109238
|
}>;
|
|
@@ -109819,6 +110003,34 @@ declare const fboTrafficRowSchema: z.ZodObject<{
|
|
|
109819
110003
|
}>>>;
|
|
109820
110004
|
batch_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
109821
110005
|
legs_count: z.ZodOptional<z.ZodNumber>;
|
|
110006
|
+
pobs: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
110007
|
+
/** Crew member rather than passenger — the customs declaration lists the two apart. */
|
|
110008
|
+
crew: z.ZodBoolean;
|
|
110009
|
+
firstname: z.ZodString;
|
|
110010
|
+
lastname: z.ZodString;
|
|
110011
|
+
birth: z.ZodNullable<z.ZodString>;
|
|
110012
|
+
nationality: z.ZodNullable<z.ZodString>;
|
|
110013
|
+
document_id: z.ZodNullable<z.ZodString>;
|
|
110014
|
+
document_validity: z.ZodNullable<z.ZodString>;
|
|
110015
|
+
}, "strip", z.ZodTypeAny, {
|
|
110016
|
+
firstname: string;
|
|
110017
|
+
lastname: string;
|
|
110018
|
+
document_id: string | null;
|
|
110019
|
+
crew: boolean;
|
|
110020
|
+
birth: string | null;
|
|
110021
|
+
nationality: string | null;
|
|
110022
|
+
document_validity: string | null;
|
|
110023
|
+
}, {
|
|
110024
|
+
firstname: string;
|
|
110025
|
+
lastname: string;
|
|
110026
|
+
document_id: string | null;
|
|
110027
|
+
crew: boolean;
|
|
110028
|
+
birth: string | null;
|
|
110029
|
+
nationality: string | null;
|
|
110030
|
+
document_validity: string | null;
|
|
110031
|
+
}>, "many">>>>;
|
|
110032
|
+
documents_count: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
110033
|
+
customs_mail_sent_at: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
109822
110034
|
fbo_notes: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
109823
110035
|
assigned_user_ids: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>>;
|
|
109824
110036
|
company: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -109952,6 +110164,17 @@ declare const fboTrafficRowSchema: z.ZodObject<{
|
|
|
109952
110164
|
apron: string | null;
|
|
109953
110165
|
} | null | undefined;
|
|
109954
110166
|
legs_count?: number | undefined;
|
|
110167
|
+
pobs?: {
|
|
110168
|
+
firstname: string;
|
|
110169
|
+
lastname: string;
|
|
110170
|
+
document_id: string | null;
|
|
110171
|
+
crew: boolean;
|
|
110172
|
+
birth: string | null;
|
|
110173
|
+
nationality: string | null;
|
|
110174
|
+
document_validity: string | null;
|
|
110175
|
+
}[] | null | undefined;
|
|
110176
|
+
documents_count?: number | null | undefined;
|
|
110177
|
+
customs_mail_sent_at?: string | null | undefined;
|
|
109955
110178
|
fbo_notes?: string | null | undefined;
|
|
109956
110179
|
assigned_user_ids?: number[] | null | undefined;
|
|
109957
110180
|
}, {
|
|
@@ -110053,6 +110276,17 @@ declare const fboTrafficRowSchema: z.ZodObject<{
|
|
|
110053
110276
|
apron: string | null;
|
|
110054
110277
|
} | null | undefined;
|
|
110055
110278
|
legs_count?: number | undefined;
|
|
110279
|
+
pobs?: {
|
|
110280
|
+
firstname: string;
|
|
110281
|
+
lastname: string;
|
|
110282
|
+
document_id: string | null;
|
|
110283
|
+
crew: boolean;
|
|
110284
|
+
birth: string | null;
|
|
110285
|
+
nationality: string | null;
|
|
110286
|
+
document_validity: string | null;
|
|
110287
|
+
}[] | null | undefined;
|
|
110288
|
+
documents_count?: number | null | undefined;
|
|
110289
|
+
customs_mail_sent_at?: string | null | undefined;
|
|
110056
110290
|
fbo_notes?: string | null | undefined;
|
|
110057
110291
|
assigned_user_ids?: number[] | null | undefined;
|
|
110058
110292
|
}>;
|
|
@@ -110506,4 +110740,4 @@ declare const fboMaterialiseResultSchema: z.ZodObject<{
|
|
|
110506
110740
|
skipped_closed: number;
|
|
110507
110741
|
}>;
|
|
110508
110742
|
|
|
110509
|
-
export { ShowWhenSchema as $, type AttachSyllabusElementForm as A, BaseModel as B, type CourseCheckSyllabus as C, type GradingScale as D, type EnrollmentTrainingElement as E, FBO_OPERATING_DAYS as F, type GradeHistoryItem as G, type GradingScaleForm as H, GradingScaleFormSchema as I, type GradingScalePoint as J, type ImpersonationParticipant as K, type ImpersonationState as L, type InvalidateTrainingRecordResponse as M, ReorderSyllabusElementItemSchema as N, type RequiredForm as O, RequiredFormSchema as P, type RequiredFormVia as Q, type ReorderSyllabusElementItem as R, type RequiredFormViaCrew as S, RequiredFormViaCrewSchema as T, RequiredFormViaSchema as U, type ReviewFormSubmissionInput as V, type SchemaField as W, SchemaFieldSchema as X, type SchemaSection as Y, SchemaSectionSchema as Z, type ShowWhen as _, AttachSyllabusElementFormSchema as a, courseCheckSyllabusSchema as a$, type SignOffTrainingElementForm as a0, SignOffTrainingElementFormSchema as a1, type Signature as a2, SignatureSchema as a3, type StoreSyllabusForm as a4, StoreSyllabusFormSchema as a5, type SubmissionFile as a6, SubmissionFileSchema as a7, type Syllabus as a8, type SyllabusElement as a9, UpdateSyllabusFormSchema as aA, type UpsertTrainingRecordForm as aB, UpsertTrainingRecordFormSchema as aC, type UsedByCourse as aD, activitySchema as aE, addressSchema as aF, aircraftPositionSchema as aG, aircraftRatingSchema as aH, airplaneIssueSchema as aI, airplaneIssueSeverityEnum as aJ, airplaneIssueStatusEnum as aK, airplanePermissionSchema as aL, airplaneSchema as aM, airplaneShareInviteSchema as aN, airportSchema as aO, alertSchema as aP, allowedDocumentTypeSchema as aQ, approachTypeSchema as aR, availSchema as aS, baseMembershipSchema as aT, billingProfileSchema as aU, bookingSchema as aV, bookingWaypointSchema as aW, commentSchema as aX, companyIdentitySchema as aY, companySchema as aZ, contactAttributeSchema as a_, type SyllabusElementMutationResult as aa, type SyllabusKind as ab, SyllabusKindEnum as ac, type SyllabusRolloutResult as ad, type SyllabusRolloutResultItem as ae, type SyllabusRolloutSkippedItem as af, type TemplateSchema as ag, TemplateSchemaSchema as ah, type TrainingElement as ai, type TrainingElementForm as aj, TrainingElementFormSchema as ak, type TrainingElementKind as al, TrainingElementKindEnum as am, type TrainingRecord as an, type TrainingRecordEntry as ao, type TrainingRecordEntryInput as ap, type TrainingRecordResult as aq, TrainingRecordResultEnum as ar, type TrainingRecordStatus as as, TrainingRecordStatusEnum as at, type TrainingSignature as au, type TrainingTemplatePack as av, type UpdateFormTemplateInput as aw, type UpdateSyllabusElementForm as ax, UpdateSyllabusElementFormSchema as ay, type UpdateSyllabusForm as az, type CreateFormSubmissionInput as b,
|
|
110743
|
+
export { ShowWhenSchema as $, type AttachSyllabusElementForm as A, BaseModel as B, type CourseCheckSyllabus as C, type GradingScale as D, type EnrollmentTrainingElement as E, FBO_OPERATING_DAYS as F, type GradeHistoryItem as G, type GradingScaleForm as H, GradingScaleFormSchema as I, type GradingScalePoint as J, type ImpersonationParticipant as K, type ImpersonationState as L, type InvalidateTrainingRecordResponse as M, ReorderSyllabusElementItemSchema as N, type RequiredForm as O, RequiredFormSchema as P, type RequiredFormVia as Q, type ReorderSyllabusElementItem as R, type RequiredFormViaCrew as S, RequiredFormViaCrewSchema as T, RequiredFormViaSchema as U, type ReviewFormSubmissionInput as V, type SchemaField as W, SchemaFieldSchema as X, type SchemaSection as Y, SchemaSectionSchema as Z, type ShowWhen as _, AttachSyllabusElementFormSchema as a, courseCheckSyllabusSchema as a$, type SignOffTrainingElementForm as a0, SignOffTrainingElementFormSchema as a1, type Signature as a2, SignatureSchema as a3, type StoreSyllabusForm as a4, StoreSyllabusFormSchema as a5, type SubmissionFile as a6, SubmissionFileSchema as a7, type Syllabus as a8, type SyllabusElement as a9, UpdateSyllabusFormSchema as aA, type UpsertTrainingRecordForm as aB, UpsertTrainingRecordFormSchema as aC, type UsedByCourse as aD, activitySchema as aE, addressSchema as aF, aircraftPositionSchema as aG, aircraftRatingSchema as aH, airplaneIssueSchema as aI, airplaneIssueSeverityEnum as aJ, airplaneIssueStatusEnum as aK, airplanePermissionSchema as aL, airplaneSchema as aM, airplaneShareInviteSchema as aN, airportSchema as aO, alertSchema as aP, allowedDocumentTypeSchema as aQ, approachTypeSchema as aR, availSchema as aS, baseMembershipSchema as aT, billingProfileSchema as aU, bookingSchema as aV, bookingWaypointSchema as aW, commentSchema as aX, companyIdentitySchema as aY, companySchema as aZ, contactAttributeSchema as a_, type SyllabusElementMutationResult as aa, type SyllabusKind as ab, SyllabusKindEnum as ac, type SyllabusRolloutResult as ad, type SyllabusRolloutResultItem as ae, type SyllabusRolloutSkippedItem as af, type TemplateSchema as ag, TemplateSchemaSchema as ah, type TrainingElement as ai, type TrainingElementForm as aj, TrainingElementFormSchema as ak, type TrainingElementKind as al, TrainingElementKindEnum as am, type TrainingRecord as an, type TrainingRecordEntry as ao, type TrainingRecordEntryInput as ap, type TrainingRecordResult as aq, TrainingRecordResultEnum as ar, type TrainingRecordStatus as as, TrainingRecordStatusEnum as at, type TrainingSignature as au, type TrainingTemplatePack as av, type UpdateFormTemplateInput as aw, type UpdateSyllabusElementForm as ax, UpdateSyllabusElementFormSchema as ay, type UpdateSyllabusForm as az, type CreateFormSubmissionInput as b, impersonationStateSchema as b$, courseEnrollmentMetricsSchema as b0, courseEnrollmentSchema as b1, courseFeeSchema as b2, courseSchema as b3, createSyllabusFromTemplateResultSchema as b4, documentComplianceStatus as b5, documentRequirement as b6, documentRequirementGroup as b7, documentRequirementGroupAssignment as b8, documentSchema as b9, fboLandingsSummarySchema as bA, fboMaterialiseResultSchema as bB, fboNextDutySchema as bC, fboOccupationSchema as bD, fboOperationsSchema as bE, fboPersonSchema as bF, fboPobSchema as bG, fboRecurrenceSchema as bH, fboRecurrenceTypeSchema as bI, fboRecurringFlightSchema as bJ, fboRoleSchema as bK, fboRowCanSchema as bL, fboStatisticsSchema as bM, fboSystemRoleSchema as bN, fboTrafficRowSchema as bO, fboTrafficRowTypeSchema as bP, fboTrafficSourceSchema as bQ, fboVisibilitySchema as bR, fboWeeklyLandingSchema as bS, feeCategoryOptionsSchema as bT, feeSchema as bU, flightLogSchema as bV, fuelUnitSchema as bW, gradeHistoryItemSchema as bX, gradingScalePointSchema as bY, gradingScaleSchema as bZ, impersonationParticipantSchema as b_, documentShareSchema as ba, documentType as bb, enrollmentTrainingElementSchema as bc, eventSchema as bd, expenseItemSchema as be, expenseSchema as bf, extendedAirplaneSchema as bg, fboAcceptanceAxisSchema as bh, fboAcceptanceStatusSchema as bi, fboActivityCauserSchema as bj, fboActivityChangesSchema as bk, fboActivitySchema as bl, fboCompanyMemberSchema as bm, fboCompanyProfileSchema as bn, fboDecisionAxisSchema as bo, fboDecisionInputSchema as bp, fboDecisionSchema as bq, fboDutyAffectedSchema as br, fboDutySchema as bs, fboDutySeriesResponseSchema as bt, fboFlightCanSchema as bu, fboFlightDocumentSchema as bv, fboFlightSchema as bw, fboFlightStatusSchema as bx, fboFlightTypeSchema as by, fboGroundServicesSchema as bz, type CreateFormTemplateAssignmentInput as c, invalidateTrainingRecordResponseSchema as c0, invoiceSchema as c1, landingFeeSchema as c2, landingSchema as c3, maintenanceEventEstimationSchema as c4, maintenanceEventSchema as c5, maintenanceStatusSchema as c6, mediaCollection as c7, mediaSchema as c8, membershipIdentitySchema as c9, trainingRecordSchema as cA, trainingSignatureSchema as cB, trainingTemplatePackSchema as cC, usedByCourseSchema as cD, userAircraftRatingSchema as cE, userQualificationSchema as cF, userSchema as cG, waypointSchema as cH, zContactDTO as cI, zMoneyObject as cJ, zNetGross as cK, zNullableBool as cL, membershipSchema as ca, membershipSignupSchema as cb, nestedMembershipSchema as cc, postSchema as cd, postSubjectSchema as ce, prePaidPackageAssignmentSchema as cf, prePaidPackageSchema as cg, priceSchema as ch, qualificationSchema as ci, recurringFlightSchema as cj, roleSchema as ck, runwaySchema as cl, scheduledFlightSchema as cm, settingSchema as cn, specialFlightSchema as co, syllabusElementMutationResultSchema as cp, syllabusElementSchema as cq, syllabusRolloutResultItemSchema as cr, syllabusRolloutResultSchema as cs, syllabusRolloutSkippedItemSchema as ct, syllabusSchema as cu, tagSchema as cv, ticketSchema as cw, trainingElementSchema as cx, trainingRecordEntryInputSchema as cy, trainingRecordEntrySchema as cz, type CreateFormTemplateInput as d, type CreateSyllabusFromTemplateForm as e, CreateSyllabusFromTemplateFormSchema as f, type CreateSyllabusFromTemplateResult as g, type EnrollmentTrainingStatus as h, EnrollmentTrainingStatusEnum as i, FBO_SYSTEM_ROLES as j, type FieldLabel as k, FieldLabelSchema as l, FormFieldType as m, type FormSubmission as n, FormSubmissionSchema as o, type FormSubmissionShare as p, type FormSubmissionShareBase as q, FormSubmissionShareBaseSchema as r, FormSubmissionShareSchema as s, FormSubmissionSource as t, FormSubmissionStatus as u, type FormTemplate as v, type FormTemplateAssignment as w, FormTemplateAssignmentSchema as x, FormTemplateSchema as y, type FuelUnit as z };
|