@updraft-solutions/mcrit-sdk 0.15.1 → 0.15.2
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-2NLL4S23.js → chunk-C2S2RM6I.js} +3 -2
- package/dist/{chunk-LW6IEW22.cjs → chunk-JNHPVGJJ.cjs} +3 -2
- package/dist/{fbo-CB-keksi.d.cts → fbo-8TJiRqg1.d.cts} +917 -888
- package/dist/{fbo-CB-keksi.d.ts → fbo-8TJiRqg1.d.ts} +917 -888
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/schemas/index.cjs +2 -2
- package/dist/schemas/index.d.cts +15 -15
- package/dist/schemas/index.d.ts +15 -15
- package/dist/schemas/index.js +1 -1
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/package.json +1 -1
- package/src/schemas/models.ts +3 -2
package/dist/schemas/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as AttachSyllabusElementForm, a as AttachSyllabusElementFormSchema, B as BaseModel, C as CourseCheckSyllabus, b as CreateFormSubmissionInput, c as CreateFormTemplateAssignmentInput, d as CreateFormTemplateInput, e as CreateSyllabusFromTemplateForm, f as CreateSyllabusFromTemplateFormSchema, g as CreateSyllabusFromTemplateResult, E as EnrollmentTrainingElement, h as EnrollmentTrainingStatus, i as EnrollmentTrainingStatusEnum, F as FBO_OPERATING_DAYS, j as FBO_SYSTEM_ROLES, k as FieldLabel, l as FieldLabelSchema, m as FormFieldType, n as FormSubmission, o as FormSubmissionSchema, p as FormSubmissionShare, q as FormSubmissionShareBase, r as FormSubmissionShareBaseSchema, s as FormSubmissionShareSchema, t as FormSubmissionSource, u as FormSubmissionStatus, v as FormTemplate, w as FormTemplateAssignment, x as FormTemplateAssignmentSchema, y as FormTemplateSchema, z as FuelUnit, G as GradeHistoryItem, D as GradingScale, H as GradingScaleForm, I as GradingScaleFormSchema, J as GradingScalePoint, K as ImpersonationParticipant, L as ImpersonationState, M as InvalidateTrainingRecordResponse, R as ReorderSyllabusElementItem, N as ReorderSyllabusElementItemSchema, O as RequiredForm, P as RequiredFormSchema, Q as RequiredFormVia, S as RequiredFormViaCrew, T as RequiredFormViaCrewSchema, U as RequiredFormViaSchema, V as ReviewFormSubmissionInput, W as SchemaField, X as SchemaFieldSchema, Y as SchemaSection, Z as SchemaSectionSchema, _ as ShowWhen, $ as ShowWhenSchema, a0 as SignOffTrainingElementForm, a1 as SignOffTrainingElementFormSchema, a2 as Signature, a3 as SignatureSchema, a4 as StoreSyllabusForm, a5 as StoreSyllabusFormSchema, a6 as SubmissionFile, a7 as SubmissionFileSchema, a8 as Syllabus, a9 as SyllabusElement, aa as SyllabusElementMutationResult, ab as SyllabusKind, ac as SyllabusKindEnum, ad as SyllabusRolloutResult, ae as SyllabusRolloutResultItem, af as SyllabusRolloutSkippedItem, ag as TemplateSchema, ah as TemplateSchemaSchema, ai as TrainingElement, aj as TrainingElementForm, ak as TrainingElementFormSchema, al as TrainingElementKind, am as TrainingElementKindEnum, an as TrainingRecord, ao as TrainingRecordEntry, ap as TrainingRecordEntryInput, aq as TrainingRecordResult, ar as TrainingRecordResultEnum, as as TrainingRecordStatus, at as TrainingRecordStatusEnum, au as TrainingSignature, av as TrainingTemplatePack, aw as UpdateFormTemplateInput, ax as UpdateSyllabusElementForm, ay as UpdateSyllabusElementFormSchema, az as UpdateSyllabusForm, aA as UpdateSyllabusFormSchema, aB as UpsertTrainingRecordForm, aC as UpsertTrainingRecordFormSchema, aD as UsedByCourse, aE as activitySchema, aF as addressSchema, aG as aircraftPositionSchema, aH as aircraftRatingSchema, aI as airplaneIssueSchema, aJ as airplaneIssueSeverityEnum, aK as airplaneIssueStatusEnum, aL as airplanePermissionSchema, aM as airplaneSchema, aN as airplaneShareInviteSchema, aO as airportSchema, aP as alertSchema, aQ as allowedDocumentTypeSchema, aR as approachTypeSchema, aS as availSchema, aT as baseMembershipSchema, aU as billingProfileSchema, aV as bookingSchema, aW as bookingWaypointSchema, aX as commentSchema, aY as companyIdentitySchema, aZ as companySchema, a_ as contactAttributeSchema, a$ as courseCheckSyllabusSchema, b0 as courseEnrollmentMetricsSchema, b1 as courseEnrollmentSchema, b2 as courseFeeSchema, b3 as courseSchema, b4 as createSyllabusFromTemplateResultSchema, b5 as documentComplianceStatus, b6 as documentRequirement, b7 as documentRequirementGroup, b8 as documentRequirementGroupAssignment, b9 as documentSchema, ba as documentShareSchema, bb as documentType, bc as enrollmentTrainingElementSchema, bd as eventSchema, be as expenseItemSchema, bf as expenseSchema, bg as extendedAirplaneSchema, bh as fboAcceptanceAxisSchema, bi as fboAcceptanceStatusSchema, bj as fboActivityCauserSchema, bk as fboActivityChangesSchema, bl as fboActivitySchema, bm as fboCompanyGrantInputSchema, bn as fboCompanyGrantSchema, bo as fboCompanyMemberSchema, bp as fboCompanyProfileSchema, bq as fboCompanySchema, br as fboDecisionAxisSchema, bs as fboDecisionInputSchema, bt as fboDecisionSchema, bu as fboDutyAffectedSchema, bv as fboDutySchema, bw as fboDutySeriesResponseSchema, bx as fboFlightCanSchema, by as fboFlightDocumentSchema, bz as fboFlightSchema, bA as fboFlightStatusSchema, bB as fboFlightTypeSchema, bC as fboGrantAbilityOptionSchema, bD as fboGrantAbilitySchema, bE as fboGrantCompanyRefSchema, bF as fboGroundServicesSchema, bG as fboLandingsSummarySchema, bH as fboMaterialiseResultSchema, bI as fboMetaSchema, bJ as fboNextDutySchema, bK as fboOccupationSchema, bL as fboOperationsSchema, bM as fboPersonSchema, bN as fboPobSchema, bO as fboRecurrenceSchema, bP as fboRecurrenceTypeSchema, bQ as fboRecurringFlightSchema, bR as fboRoleSchema, bS as fboRowCanSchema, bT as fboStatisticsSchema, bU as fboSystemRoleSchema, bV as fboTrafficLayerInputSchema, bW as fboTrafficRowSchema, bX as fboTrafficRowTypeSchema, bY as fboTrafficSourceSchema, bZ as fboVisibilitySchema, b_ as fboWeeklyLandingSchema, b$ as feeCategoryOptionsSchema, c0 as feeSchema, c1 as flightLogSchema, c2 as flightRequestAvailabilitySchema, c3 as flightRequestBusyIntervalSchema, c4 as flightRequestResponseSchema, c5 as flightRequestResponseStatusSchema, c6 as flightRequestSchema, c7 as flightRequestSeatSchema, c8 as flightRequestStatusSchema, c9 as flightRequestWindowSchema, ca as fuelUnitSchema, cb as gradeHistoryItemSchema, cc as gradingScalePointSchema, cd as gradingScaleSchema, ce as impersonationParticipantSchema, cf as impersonationStateSchema, cg as invalidateTrainingRecordResponseSchema, ch as invoiceSchema, ci as landingFeeSchema, cj as landingSchema, ck as maintenanceEventEstimationSchema, cl as maintenanceEventSchema, cm as maintenanceStatusSchema, cn as mediaCollection, co as mediaSchema, cp as membershipIdentitySchema, cq as membershipSchema, cr as membershipSignupSchema, cs as nestedMembershipSchema, ct as postSchema, cu as postSubjectSchema, cv as prePaidPackageAssignmentSchema, cw as prePaidPackageSchema, cx as priceSchema, cy as qualificationSchema, cz as recurringFlightSchema, cA as roleSchema, cB as runwaySchema, cC as scheduledFlightSchema, cD as settingSchema, cE as specialFlightSchema, cF as syllabusElementMutationResultSchema, cG as syllabusElementSchema, cH as syllabusRolloutResultItemSchema, cI as syllabusRolloutResultSchema, cJ as syllabusRolloutSkippedItemSchema, cK as syllabusSchema, cL as tagSchema, cM as teachingPermissionSchema, cN as ticketSchema, cO as trainingElementSchema, cP as trainingRecordEntryInputSchema, cQ as trainingRecordEntrySchema, cR as trainingRecordSchema, cS as trainingSignatureSchema, cT as trainingTemplatePackSchema, cU as usedByCourseSchema, cV as userAircraftRatingSchema, cW as userQualificationSchema, cX as userSchema, cY as waypointSchema, cZ as zContactDTO, c_ as zMoneyObject, c$ as zNetGross, d0 as zNullableBool } from '../fbo-
|
|
1
|
+
export { A as AttachSyllabusElementForm, a as AttachSyllabusElementFormSchema, B as BaseModel, C as CourseCheckSyllabus, b as CreateFormSubmissionInput, c as CreateFormTemplateAssignmentInput, d as CreateFormTemplateInput, e as CreateSyllabusFromTemplateForm, f as CreateSyllabusFromTemplateFormSchema, g as CreateSyllabusFromTemplateResult, E as EnrollmentTrainingElement, h as EnrollmentTrainingStatus, i as EnrollmentTrainingStatusEnum, F as FBO_OPERATING_DAYS, j as FBO_SYSTEM_ROLES, k as FieldLabel, l as FieldLabelSchema, m as FormFieldType, n as FormSubmission, o as FormSubmissionSchema, p as FormSubmissionShare, q as FormSubmissionShareBase, r as FormSubmissionShareBaseSchema, s as FormSubmissionShareSchema, t as FormSubmissionSource, u as FormSubmissionStatus, v as FormTemplate, w as FormTemplateAssignment, x as FormTemplateAssignmentSchema, y as FormTemplateSchema, z as FuelUnit, G as GradeHistoryItem, D as GradingScale, H as GradingScaleForm, I as GradingScaleFormSchema, J as GradingScalePoint, K as ImpersonationParticipant, L as ImpersonationState, M as InvalidateTrainingRecordResponse, R as ReorderSyllabusElementItem, N as ReorderSyllabusElementItemSchema, O as RequiredForm, P as RequiredFormSchema, Q as RequiredFormVia, S as RequiredFormViaCrew, T as RequiredFormViaCrewSchema, U as RequiredFormViaSchema, V as ReviewFormSubmissionInput, W as SchemaField, X as SchemaFieldSchema, Y as SchemaSection, Z as SchemaSectionSchema, _ as ShowWhen, $ as ShowWhenSchema, a0 as SignOffTrainingElementForm, a1 as SignOffTrainingElementFormSchema, a2 as Signature, a3 as SignatureSchema, a4 as StoreSyllabusForm, a5 as StoreSyllabusFormSchema, a6 as SubmissionFile, a7 as SubmissionFileSchema, a8 as Syllabus, a9 as SyllabusElement, aa as SyllabusElementMutationResult, ab as SyllabusKind, ac as SyllabusKindEnum, ad as SyllabusRolloutResult, ae as SyllabusRolloutResultItem, af as SyllabusRolloutSkippedItem, ag as TemplateSchema, ah as TemplateSchemaSchema, ai as TrainingElement, aj as TrainingElementForm, ak as TrainingElementFormSchema, al as TrainingElementKind, am as TrainingElementKindEnum, an as TrainingRecord, ao as TrainingRecordEntry, ap as TrainingRecordEntryInput, aq as TrainingRecordResult, ar as TrainingRecordResultEnum, as as TrainingRecordStatus, at as TrainingRecordStatusEnum, au as TrainingSignature, av as TrainingTemplatePack, aw as UpdateFormTemplateInput, ax as UpdateSyllabusElementForm, ay as UpdateSyllabusElementFormSchema, az as UpdateSyllabusForm, aA as UpdateSyllabusFormSchema, aB as UpsertTrainingRecordForm, aC as UpsertTrainingRecordFormSchema, aD as UsedByCourse, aE as activitySchema, aF as addressSchema, aG as aircraftPositionSchema, aH as aircraftRatingSchema, aI as airplaneIssueSchema, aJ as airplaneIssueSeverityEnum, aK as airplaneIssueStatusEnum, aL as airplanePermissionSchema, aM as airplaneSchema, aN as airplaneShareInviteSchema, aO as airportSchema, aP as alertSchema, aQ as allowedDocumentTypeSchema, aR as approachTypeSchema, aS as availSchema, aT as baseMembershipSchema, aU as billingProfileSchema, aV as bookingSchema, aW as bookingWaypointSchema, aX as commentSchema, aY as companyIdentitySchema, aZ as companySchema, a_ as contactAttributeSchema, a$ as courseCheckSyllabusSchema, b0 as courseEnrollmentMetricsSchema, b1 as courseEnrollmentSchema, b2 as courseFeeSchema, b3 as courseSchema, b4 as createSyllabusFromTemplateResultSchema, b5 as documentComplianceStatus, b6 as documentRequirement, b7 as documentRequirementGroup, b8 as documentRequirementGroupAssignment, b9 as documentSchema, ba as documentShareSchema, bb as documentType, bc as enrollmentTrainingElementSchema, bd as eventSchema, be as expenseItemSchema, bf as expenseSchema, bg as extendedAirplaneSchema, bh as fboAcceptanceAxisSchema, bi as fboAcceptanceStatusSchema, bj as fboActivityCauserSchema, bk as fboActivityChangesSchema, bl as fboActivitySchema, bm as fboCompanyGrantInputSchema, bn as fboCompanyGrantSchema, bo as fboCompanyMemberSchema, bp as fboCompanyProfileSchema, bq as fboCompanySchema, br as fboDecisionAxisSchema, bs as fboDecisionInputSchema, bt as fboDecisionSchema, bu as fboDutyAffectedSchema, bv as fboDutySchema, bw as fboDutySeriesResponseSchema, bx as fboFlightCanSchema, by as fboFlightDocumentSchema, bz as fboFlightSchema, bA as fboFlightStatusSchema, bB as fboFlightTypeSchema, bC as fboGrantAbilityOptionSchema, bD as fboGrantAbilitySchema, bE as fboGrantCompanyRefSchema, bF as fboGroundServicesSchema, bG as fboLandingsSummarySchema, bH as fboMaterialiseResultSchema, bI as fboMetaSchema, bJ as fboNextDutySchema, bK as fboOccupationSchema, bL as fboOperationsSchema, bM as fboPersonSchema, bN as fboPobSchema, bO as fboRecurrenceSchema, bP as fboRecurrenceTypeSchema, bQ as fboRecurringFlightSchema, bR as fboRoleSchema, bS as fboRowCanSchema, bT as fboStatisticsSchema, bU as fboSystemRoleSchema, bV as fboTrafficLayerInputSchema, bW as fboTrafficRowSchema, bX as fboTrafficRowTypeSchema, bY as fboTrafficSourceSchema, bZ as fboVisibilitySchema, b_ as fboWeeklyLandingSchema, b$ as feeCategoryOptionsSchema, c0 as feeSchema, c1 as flightLogSchema, c2 as flightRequestAvailabilitySchema, c3 as flightRequestBusyIntervalSchema, c4 as flightRequestResponseSchema, c5 as flightRequestResponseStatusSchema, c6 as flightRequestSchema, c7 as flightRequestSeatSchema, c8 as flightRequestStatusSchema, c9 as flightRequestWindowSchema, ca as fuelUnitSchema, cb as gradeHistoryItemSchema, cc as gradingScalePointSchema, cd as gradingScaleSchema, ce as impersonationParticipantSchema, cf as impersonationStateSchema, cg as invalidateTrainingRecordResponseSchema, ch as invoiceSchema, ci as landingFeeSchema, cj as landingSchema, ck as maintenanceEventEstimationSchema, cl as maintenanceEventSchema, cm as maintenanceStatusSchema, cn as mediaCollection, co as mediaSchema, cp as membershipIdentitySchema, cq as membershipSchema, cr as membershipSignupSchema, cs as nestedMembershipSchema, ct as postSchema, cu as postSubjectSchema, cv as prePaidPackageAssignmentSchema, cw as prePaidPackageSchema, cx as priceSchema, cy as qualificationSchema, cz as recurringFlightSchema, cA as roleSchema, cB as runwaySchema, cC as scheduledFlightSchema, cD as settingSchema, cE as specialFlightSchema, cF as syllabusElementMutationResultSchema, cG as syllabusElementSchema, cH as syllabusRolloutResultItemSchema, cI as syllabusRolloutResultSchema, cJ as syllabusRolloutSkippedItemSchema, cK as syllabusSchema, cL as tagSchema, cM as teachingPermissionSchema, cN as ticketSchema, cO as trainingElementSchema, cP as trainingRecordEntryInputSchema, cQ as trainingRecordEntrySchema, cR as trainingRecordSchema, cS as trainingSignatureSchema, cT as trainingTemplatePackSchema, cU as usedByCourseSchema, cV as userAircraftRatingSchema, cW as userQualificationSchema, cX as userSchema, cY as waypointSchema, cZ as zContactDTO, c_ as zMoneyObject, c$ as zNetGross, d0 as zNullableBool } from '../fbo-8TJiRqg1.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
declare enum FaqStatus {
|
|
@@ -978,9 +978,9 @@ declare const courseMilestoneSchema: z.ZodObject<{
|
|
|
978
978
|
delete?: boolean | null | undefined;
|
|
979
979
|
}>>;
|
|
980
980
|
}, "strip", z.ZodTypeAny, {
|
|
981
|
-
kind: string;
|
|
982
981
|
name: string;
|
|
983
982
|
id: number;
|
|
983
|
+
kind: string;
|
|
984
984
|
sort_order: number;
|
|
985
985
|
course_id: number;
|
|
986
986
|
is_prerequisite: boolean;
|
|
@@ -999,9 +999,9 @@ declare const courseMilestoneSchema: z.ZodObject<{
|
|
|
999
999
|
} | null | undefined;
|
|
1000
1000
|
completion_rule?: Record<string, unknown> | null | undefined;
|
|
1001
1001
|
}, {
|
|
1002
|
-
kind: string;
|
|
1003
1002
|
name: string;
|
|
1004
1003
|
id: number;
|
|
1004
|
+
kind: string;
|
|
1005
1005
|
sort_order: number;
|
|
1006
1006
|
course_id: number;
|
|
1007
1007
|
is_prerequisite: boolean;
|
|
@@ -1030,8 +1030,8 @@ declare const CourseMilestoneFormSchema: z.ZodObject<{
|
|
|
1030
1030
|
completion_rule: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
1031
1031
|
sort_order: z.ZodOptional<z.ZodNumber>;
|
|
1032
1032
|
}, "strip", z.ZodTypeAny, {
|
|
1033
|
-
kind: string;
|
|
1034
1033
|
name: string;
|
|
1034
|
+
kind: string;
|
|
1035
1035
|
is_prerequisite: boolean;
|
|
1036
1036
|
description?: string | null | undefined;
|
|
1037
1037
|
sort_order?: number | undefined;
|
|
@@ -1039,8 +1039,8 @@ declare const CourseMilestoneFormSchema: z.ZodObject<{
|
|
|
1039
1039
|
completion_rule?: Record<string, unknown> | null | undefined;
|
|
1040
1040
|
}, {
|
|
1041
1041
|
name: string;
|
|
1042
|
-
kind?: string | undefined;
|
|
1043
1042
|
description?: string | null | undefined;
|
|
1043
|
+
kind?: string | undefined;
|
|
1044
1044
|
sort_order?: number | undefined;
|
|
1045
1045
|
is_prerequisite?: boolean | undefined;
|
|
1046
1046
|
requires_form_template_id?: number | null | undefined;
|
|
@@ -1086,9 +1086,9 @@ declare const courseEnrollmentMilestoneSchema: z.ZodObject<{
|
|
|
1086
1086
|
delete?: boolean | null | undefined;
|
|
1087
1087
|
}>>;
|
|
1088
1088
|
}, "strip", z.ZodTypeAny, {
|
|
1089
|
-
kind: string;
|
|
1090
1089
|
name: string;
|
|
1091
1090
|
id: number;
|
|
1091
|
+
kind: string;
|
|
1092
1092
|
sort_order: number;
|
|
1093
1093
|
course_id: number;
|
|
1094
1094
|
is_prerequisite: boolean;
|
|
@@ -1107,9 +1107,9 @@ declare const courseEnrollmentMilestoneSchema: z.ZodObject<{
|
|
|
1107
1107
|
} | null | undefined;
|
|
1108
1108
|
completion_rule?: Record<string, unknown> | null | undefined;
|
|
1109
1109
|
}, {
|
|
1110
|
-
kind: string;
|
|
1111
1110
|
name: string;
|
|
1112
1111
|
id: number;
|
|
1112
|
+
kind: string;
|
|
1113
1113
|
sort_order: number;
|
|
1114
1114
|
course_id: number;
|
|
1115
1115
|
is_prerequisite: boolean;
|
|
@@ -1176,9 +1176,9 @@ declare const courseEnrollmentMilestoneSchema: z.ZodObject<{
|
|
|
1176
1176
|
} | undefined;
|
|
1177
1177
|
notes?: string | null | undefined;
|
|
1178
1178
|
milestone?: {
|
|
1179
|
-
kind: string;
|
|
1180
1179
|
name: string;
|
|
1181
1180
|
id: number;
|
|
1181
|
+
kind: string;
|
|
1182
1182
|
sort_order: number;
|
|
1183
1183
|
course_id: number;
|
|
1184
1184
|
is_prerequisite: boolean;
|
|
@@ -1218,9 +1218,9 @@ declare const courseEnrollmentMilestoneSchema: z.ZodObject<{
|
|
|
1218
1218
|
} | undefined;
|
|
1219
1219
|
notes?: string | null | undefined;
|
|
1220
1220
|
milestone?: {
|
|
1221
|
-
kind: string;
|
|
1222
1221
|
name: string;
|
|
1223
1222
|
id: number;
|
|
1223
|
+
kind: string;
|
|
1224
1224
|
sort_order: number;
|
|
1225
1225
|
course_id: number;
|
|
1226
1226
|
is_prerequisite: boolean;
|
|
@@ -3814,8 +3814,8 @@ declare const CreateLocationMapSchema: z.ZodObject<{
|
|
|
3814
3814
|
is_active: z.ZodOptional<z.ZodBoolean>;
|
|
3815
3815
|
}, "strip", z.ZodTypeAny, {
|
|
3816
3816
|
name: string;
|
|
3817
|
-
kind?: string | undefined;
|
|
3818
3817
|
description?: string | null | undefined;
|
|
3818
|
+
kind?: string | undefined;
|
|
3819
3819
|
is_active?: boolean | undefined;
|
|
3820
3820
|
slug?: string | undefined;
|
|
3821
3821
|
default_viewport?: {
|
|
@@ -3827,8 +3827,8 @@ declare const CreateLocationMapSchema: z.ZodObject<{
|
|
|
3827
3827
|
} | null | undefined;
|
|
3828
3828
|
}, {
|
|
3829
3829
|
name: string;
|
|
3830
|
-
kind?: string | undefined;
|
|
3831
3830
|
description?: string | null | undefined;
|
|
3831
|
+
kind?: string | undefined;
|
|
3832
3832
|
is_active?: boolean | undefined;
|
|
3833
3833
|
slug?: string | undefined;
|
|
3834
3834
|
default_viewport?: {
|
|
@@ -3866,9 +3866,9 @@ declare const UpdateLocationMapSchema: z.ZodObject<{
|
|
|
3866
3866
|
}>>>>;
|
|
3867
3867
|
is_active: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
3868
3868
|
}, "strip", z.ZodTypeAny, {
|
|
3869
|
-
kind?: string | undefined;
|
|
3870
3869
|
name?: string | undefined;
|
|
3871
3870
|
description?: string | null | undefined;
|
|
3871
|
+
kind?: string | undefined;
|
|
3872
3872
|
is_active?: boolean | undefined;
|
|
3873
3873
|
slug?: string | undefined;
|
|
3874
3874
|
default_viewport?: {
|
|
@@ -3879,9 +3879,9 @@ declare const UpdateLocationMapSchema: z.ZodObject<{
|
|
|
3879
3879
|
bearing?: number | undefined;
|
|
3880
3880
|
} | null | undefined;
|
|
3881
3881
|
}, {
|
|
3882
|
-
kind?: string | undefined;
|
|
3883
3882
|
name?: string | undefined;
|
|
3884
3883
|
description?: string | null | undefined;
|
|
3884
|
+
kind?: string | undefined;
|
|
3885
3885
|
is_active?: boolean | undefined;
|
|
3886
3886
|
slug?: string | undefined;
|
|
3887
3887
|
default_viewport?: {
|
|
@@ -3963,8 +3963,8 @@ declare const UpdateLocationMapFeatureSchema: z.ZodObject<{
|
|
|
3963
3963
|
coordinates: unknown[];
|
|
3964
3964
|
}>>;
|
|
3965
3965
|
}, "strip", z.ZodTypeAny, {
|
|
3966
|
-
kind?: string | undefined;
|
|
3967
3966
|
name?: string | null | undefined;
|
|
3967
|
+
kind?: string | undefined;
|
|
3968
3968
|
properties?: Record<string, unknown> | null | undefined;
|
|
3969
3969
|
visibility?: LocationFeatureVisibility | undefined;
|
|
3970
3970
|
geometry?: {
|
|
@@ -3973,8 +3973,8 @@ declare const UpdateLocationMapFeatureSchema: z.ZodObject<{
|
|
|
3973
3973
|
} | undefined;
|
|
3974
3974
|
display_order?: number | undefined;
|
|
3975
3975
|
}, {
|
|
3976
|
-
kind?: string | undefined;
|
|
3977
3976
|
name?: string | null | undefined;
|
|
3977
|
+
kind?: string | undefined;
|
|
3978
3978
|
properties?: Record<string, unknown> | null | undefined;
|
|
3979
3979
|
visibility?: LocationFeatureVisibility | undefined;
|
|
3980
3980
|
geometry?: {
|
package/dist/schemas/index.js
CHANGED
package/dist/types/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { aE as activitySchema, aF as addressSchema, aG as aircraftPositionSchema, aH as aircraftRatingSchema, aM as airplaneSchema, aL as airplanePermissionSchema, aN as airplaneShareInviteSchema, aO as airportSchema, aP as alertSchema, aQ as allowedDocumentTypeSchema, aR as approachTypeSchema, aS as availSchema, aT as baseMembershipSchema, aV as bookingSchema, aX as commentSchema, aZ as companySchema, b3 as courseSchema, b1 as courseEnrollmentSchema, b2 as courseFeeSchema, aJ as airplaneIssueSeverityEnum, b9 as documentSchema, b5 as documentComplianceStatus, b6 as documentRequirement, b7 as documentRequirementGroup, b8 as documentRequirementGroupAssignment, ba as documentShareSchema, bb as documentType, bd as eventSchema, bf as expenseSchema, be as expenseItemSchema, bg as extendedAirplaneSchema, c0 as feeSchema, b$ as feeCategoryOptionsSchema, c1 as flightLogSchema, c6 as flightRequestSchema, c2 as flightRequestAvailabilitySchema, c3 as flightRequestBusyIntervalSchema, c4 as flightRequestResponseSchema, c5 as flightRequestResponseStatusSchema, c7 as flightRequestSeatSchema, c8 as flightRequestStatusSchema, c9 as flightRequestWindowSchema, ch as invoiceSchema, cj as landingSchema, ci as landingFeeSchema, cl as maintenanceEventSchema, ck as maintenanceEventEstimationSchema, cm as maintenanceStatusSchema, cn as mediaCollection, cq as membershipSchema, cr as membershipSignupSchema, ct as postSchema, cu as postSubjectSchema, cw as prePaidPackageSchema, cx as priceSchema, cy as qualificationSchema, cz as recurringFlightSchema, cA as roleSchema, cB as runwaySchema, cC as scheduledFlightSchema, cD as settingSchema, cE as specialFlightSchema, cL as tagSchema, cM as teachingPermissionSchema, cN as ticketSchema, cX as userSchema, cV as userAircraftRatingSchema, cW as userQualificationSchema, cY as waypointSchema, aI as airplaneIssueSchema, aK as airplaneIssueStatusEnum, B as BaseModel$1, a$ as courseCheckSyllabusSchema, b0 as courseEnrollmentMetricsSchema, co as mediaSchema, n as FormSubmission, bh as fboAcceptanceAxisSchema, bi as fboAcceptanceStatusSchema, bl as fboActivitySchema, bj as fboActivityCauserSchema, bk as fboActivityChangesSchema, bq as fboCompanySchema, bn as fboCompanyGrantSchema, bm as fboCompanyGrantInputSchema, bo as fboCompanyMemberSchema, bp as fboCompanyProfileSchema, bt as fboDecisionSchema, br as fboDecisionAxisSchema, bs as fboDecisionInputSchema, bv as fboDutySchema, bu as fboDutyAffectedSchema, bw as fboDutySeriesResponseSchema, bz as fboFlightSchema, by as fboFlightDocumentSchema, bA as fboFlightStatusSchema, bB as fboFlightTypeSchema, bD as fboGrantAbilitySchema, bC as fboGrantAbilityOptionSchema, bE as fboGrantCompanyRefSchema, bF as fboGroundServicesSchema, bG as fboLandingsSummarySchema, bH as fboMaterialiseResultSchema, bI as fboMetaSchema, bJ as fboNextDutySchema, bK as fboOccupationSchema, bL as fboOperationsSchema, bM as fboPersonSchema, bN as fboPobSchema, bO as fboRecurrenceSchema, bP as fboRecurrenceTypeSchema, bQ as fboRecurringFlightSchema, bR as fboRoleSchema, bT as fboStatisticsSchema, bU as fboSystemRoleSchema, bV as fboTrafficLayerInputSchema, bW as fboTrafficRowSchema, bY as fboTrafficSourceSchema, bZ as fboVisibilitySchema, b_ as fboWeeklyLandingSchema } from '../fbo-
|
|
2
|
+
import { aE as activitySchema, aF as addressSchema, aG as aircraftPositionSchema, aH as aircraftRatingSchema, aM as airplaneSchema, aL as airplanePermissionSchema, aN as airplaneShareInviteSchema, aO as airportSchema, aP as alertSchema, aQ as allowedDocumentTypeSchema, aR as approachTypeSchema, aS as availSchema, aT as baseMembershipSchema, aV as bookingSchema, aX as commentSchema, aZ as companySchema, b3 as courseSchema, b1 as courseEnrollmentSchema, b2 as courseFeeSchema, aJ as airplaneIssueSeverityEnum, b9 as documentSchema, b5 as documentComplianceStatus, b6 as documentRequirement, b7 as documentRequirementGroup, b8 as documentRequirementGroupAssignment, ba as documentShareSchema, bb as documentType, bd as eventSchema, bf as expenseSchema, be as expenseItemSchema, bg as extendedAirplaneSchema, c0 as feeSchema, b$ as feeCategoryOptionsSchema, c1 as flightLogSchema, c6 as flightRequestSchema, c2 as flightRequestAvailabilitySchema, c3 as flightRequestBusyIntervalSchema, c4 as flightRequestResponseSchema, c5 as flightRequestResponseStatusSchema, c7 as flightRequestSeatSchema, c8 as flightRequestStatusSchema, c9 as flightRequestWindowSchema, ch as invoiceSchema, cj as landingSchema, ci as landingFeeSchema, cl as maintenanceEventSchema, ck as maintenanceEventEstimationSchema, cm as maintenanceStatusSchema, cn as mediaCollection, cq as membershipSchema, cr as membershipSignupSchema, ct as postSchema, cu as postSubjectSchema, cw as prePaidPackageSchema, cx as priceSchema, cy as qualificationSchema, cz as recurringFlightSchema, cA as roleSchema, cB as runwaySchema, cC as scheduledFlightSchema, cD as settingSchema, cE as specialFlightSchema, cL as tagSchema, cM as teachingPermissionSchema, cN as ticketSchema, cX as userSchema, cV as userAircraftRatingSchema, cW as userQualificationSchema, cY as waypointSchema, aI as airplaneIssueSchema, aK as airplaneIssueStatusEnum, B as BaseModel$1, a$ as courseCheckSyllabusSchema, b0 as courseEnrollmentMetricsSchema, co as mediaSchema, n as FormSubmission, bh as fboAcceptanceAxisSchema, bi as fboAcceptanceStatusSchema, bl as fboActivitySchema, bj as fboActivityCauserSchema, bk as fboActivityChangesSchema, bq as fboCompanySchema, bn as fboCompanyGrantSchema, bm as fboCompanyGrantInputSchema, bo as fboCompanyMemberSchema, bp as fboCompanyProfileSchema, bt as fboDecisionSchema, br as fboDecisionAxisSchema, bs as fboDecisionInputSchema, bv as fboDutySchema, bu as fboDutyAffectedSchema, bw as fboDutySeriesResponseSchema, bz as fboFlightSchema, by as fboFlightDocumentSchema, bA as fboFlightStatusSchema, bB as fboFlightTypeSchema, bD as fboGrantAbilitySchema, bC as fboGrantAbilityOptionSchema, bE as fboGrantCompanyRefSchema, bF as fboGroundServicesSchema, bG as fboLandingsSummarySchema, bH as fboMaterialiseResultSchema, bI as fboMetaSchema, bJ as fboNextDutySchema, bK as fboOccupationSchema, bL as fboOperationsSchema, bM as fboPersonSchema, bN as fboPobSchema, bO as fboRecurrenceSchema, bP as fboRecurrenceTypeSchema, bQ as fboRecurringFlightSchema, bR as fboRoleSchema, bT as fboStatisticsSchema, bU as fboSystemRoleSchema, bV as fboTrafficLayerInputSchema, bW as fboTrafficRowSchema, bY as fboTrafficSourceSchema, bZ as fboVisibilitySchema, b_ as fboWeeklyLandingSchema } from '../fbo-8TJiRqg1.cjs';
|
|
3
3
|
|
|
4
4
|
type BaseModel = z.infer<typeof BaseModel$1>;
|
|
5
5
|
type User = z.infer<typeof userSchema>;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { aE as activitySchema, aF as addressSchema, aG as aircraftPositionSchema, aH as aircraftRatingSchema, aM as airplaneSchema, aL as airplanePermissionSchema, aN as airplaneShareInviteSchema, aO as airportSchema, aP as alertSchema, aQ as allowedDocumentTypeSchema, aR as approachTypeSchema, aS as availSchema, aT as baseMembershipSchema, aV as bookingSchema, aX as commentSchema, aZ as companySchema, b3 as courseSchema, b1 as courseEnrollmentSchema, b2 as courseFeeSchema, aJ as airplaneIssueSeverityEnum, b9 as documentSchema, b5 as documentComplianceStatus, b6 as documentRequirement, b7 as documentRequirementGroup, b8 as documentRequirementGroupAssignment, ba as documentShareSchema, bb as documentType, bd as eventSchema, bf as expenseSchema, be as expenseItemSchema, bg as extendedAirplaneSchema, c0 as feeSchema, b$ as feeCategoryOptionsSchema, c1 as flightLogSchema, c6 as flightRequestSchema, c2 as flightRequestAvailabilitySchema, c3 as flightRequestBusyIntervalSchema, c4 as flightRequestResponseSchema, c5 as flightRequestResponseStatusSchema, c7 as flightRequestSeatSchema, c8 as flightRequestStatusSchema, c9 as flightRequestWindowSchema, ch as invoiceSchema, cj as landingSchema, ci as landingFeeSchema, cl as maintenanceEventSchema, ck as maintenanceEventEstimationSchema, cm as maintenanceStatusSchema, cn as mediaCollection, cq as membershipSchema, cr as membershipSignupSchema, ct as postSchema, cu as postSubjectSchema, cw as prePaidPackageSchema, cx as priceSchema, cy as qualificationSchema, cz as recurringFlightSchema, cA as roleSchema, cB as runwaySchema, cC as scheduledFlightSchema, cD as settingSchema, cE as specialFlightSchema, cL as tagSchema, cM as teachingPermissionSchema, cN as ticketSchema, cX as userSchema, cV as userAircraftRatingSchema, cW as userQualificationSchema, cY as waypointSchema, aI as airplaneIssueSchema, aK as airplaneIssueStatusEnum, B as BaseModel$1, a$ as courseCheckSyllabusSchema, b0 as courseEnrollmentMetricsSchema, co as mediaSchema, n as FormSubmission, bh as fboAcceptanceAxisSchema, bi as fboAcceptanceStatusSchema, bl as fboActivitySchema, bj as fboActivityCauserSchema, bk as fboActivityChangesSchema, bq as fboCompanySchema, bn as fboCompanyGrantSchema, bm as fboCompanyGrantInputSchema, bo as fboCompanyMemberSchema, bp as fboCompanyProfileSchema, bt as fboDecisionSchema, br as fboDecisionAxisSchema, bs as fboDecisionInputSchema, bv as fboDutySchema, bu as fboDutyAffectedSchema, bw as fboDutySeriesResponseSchema, bz as fboFlightSchema, by as fboFlightDocumentSchema, bA as fboFlightStatusSchema, bB as fboFlightTypeSchema, bD as fboGrantAbilitySchema, bC as fboGrantAbilityOptionSchema, bE as fboGrantCompanyRefSchema, bF as fboGroundServicesSchema, bG as fboLandingsSummarySchema, bH as fboMaterialiseResultSchema, bI as fboMetaSchema, bJ as fboNextDutySchema, bK as fboOccupationSchema, bL as fboOperationsSchema, bM as fboPersonSchema, bN as fboPobSchema, bO as fboRecurrenceSchema, bP as fboRecurrenceTypeSchema, bQ as fboRecurringFlightSchema, bR as fboRoleSchema, bT as fboStatisticsSchema, bU as fboSystemRoleSchema, bV as fboTrafficLayerInputSchema, bW as fboTrafficRowSchema, bY as fboTrafficSourceSchema, bZ as fboVisibilitySchema, b_ as fboWeeklyLandingSchema } from '../fbo-
|
|
2
|
+
import { aE as activitySchema, aF as addressSchema, aG as aircraftPositionSchema, aH as aircraftRatingSchema, aM as airplaneSchema, aL as airplanePermissionSchema, aN as airplaneShareInviteSchema, aO as airportSchema, aP as alertSchema, aQ as allowedDocumentTypeSchema, aR as approachTypeSchema, aS as availSchema, aT as baseMembershipSchema, aV as bookingSchema, aX as commentSchema, aZ as companySchema, b3 as courseSchema, b1 as courseEnrollmentSchema, b2 as courseFeeSchema, aJ as airplaneIssueSeverityEnum, b9 as documentSchema, b5 as documentComplianceStatus, b6 as documentRequirement, b7 as documentRequirementGroup, b8 as documentRequirementGroupAssignment, ba as documentShareSchema, bb as documentType, bd as eventSchema, bf as expenseSchema, be as expenseItemSchema, bg as extendedAirplaneSchema, c0 as feeSchema, b$ as feeCategoryOptionsSchema, c1 as flightLogSchema, c6 as flightRequestSchema, c2 as flightRequestAvailabilitySchema, c3 as flightRequestBusyIntervalSchema, c4 as flightRequestResponseSchema, c5 as flightRequestResponseStatusSchema, c7 as flightRequestSeatSchema, c8 as flightRequestStatusSchema, c9 as flightRequestWindowSchema, ch as invoiceSchema, cj as landingSchema, ci as landingFeeSchema, cl as maintenanceEventSchema, ck as maintenanceEventEstimationSchema, cm as maintenanceStatusSchema, cn as mediaCollection, cq as membershipSchema, cr as membershipSignupSchema, ct as postSchema, cu as postSubjectSchema, cw as prePaidPackageSchema, cx as priceSchema, cy as qualificationSchema, cz as recurringFlightSchema, cA as roleSchema, cB as runwaySchema, cC as scheduledFlightSchema, cD as settingSchema, cE as specialFlightSchema, cL as tagSchema, cM as teachingPermissionSchema, cN as ticketSchema, cX as userSchema, cV as userAircraftRatingSchema, cW as userQualificationSchema, cY as waypointSchema, aI as airplaneIssueSchema, aK as airplaneIssueStatusEnum, B as BaseModel$1, a$ as courseCheckSyllabusSchema, b0 as courseEnrollmentMetricsSchema, co as mediaSchema, n as FormSubmission, bh as fboAcceptanceAxisSchema, bi as fboAcceptanceStatusSchema, bl as fboActivitySchema, bj as fboActivityCauserSchema, bk as fboActivityChangesSchema, bq as fboCompanySchema, bn as fboCompanyGrantSchema, bm as fboCompanyGrantInputSchema, bo as fboCompanyMemberSchema, bp as fboCompanyProfileSchema, bt as fboDecisionSchema, br as fboDecisionAxisSchema, bs as fboDecisionInputSchema, bv as fboDutySchema, bu as fboDutyAffectedSchema, bw as fboDutySeriesResponseSchema, bz as fboFlightSchema, by as fboFlightDocumentSchema, bA as fboFlightStatusSchema, bB as fboFlightTypeSchema, bD as fboGrantAbilitySchema, bC as fboGrantAbilityOptionSchema, bE as fboGrantCompanyRefSchema, bF as fboGroundServicesSchema, bG as fboLandingsSummarySchema, bH as fboMaterialiseResultSchema, bI as fboMetaSchema, bJ as fboNextDutySchema, bK as fboOccupationSchema, bL as fboOperationsSchema, bM as fboPersonSchema, bN as fboPobSchema, bO as fboRecurrenceSchema, bP as fboRecurrenceTypeSchema, bQ as fboRecurringFlightSchema, bR as fboRoleSchema, bT as fboStatisticsSchema, bU as fboSystemRoleSchema, bV as fboTrafficLayerInputSchema, bW as fboTrafficRowSchema, bY as fboTrafficSourceSchema, bZ as fboVisibilitySchema, b_ as fboWeeklyLandingSchema } from '../fbo-8TJiRqg1.js';
|
|
3
3
|
|
|
4
4
|
type BaseModel = z.infer<typeof BaseModel$1>;
|
|
5
5
|
type User = z.infer<typeof userSchema>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@updraft-solutions/mcrit-sdk",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.2",
|
|
4
4
|
"description": "Shared TypeScript types, Zod schemas, and pure helpers for the MCRIT aviation fleet management platform",
|
|
5
5
|
"homepage": "https://github.com/updraft-solutions/mcrit-sdk#readme",
|
|
6
6
|
"bugs": {
|
package/src/schemas/models.ts
CHANGED
|
@@ -390,7 +390,7 @@ export const flightRequestResponseSchema = z.object({
|
|
|
390
390
|
membership: membershipIdentitySchema.optional(),
|
|
391
391
|
role: z.string(),
|
|
392
392
|
airplane_id: z.number().nullable(),
|
|
393
|
-
airplane: z.object({ id: z.number(), registration: z.string() }).nullable().optional(),
|
|
393
|
+
airplane: z.object({ id: z.number(), registration: z.string(), homebase_id: z.number().nullable().optional() }).nullable().optional(),
|
|
394
394
|
etdZ: z.string().nullable(),
|
|
395
395
|
etaZ: z.string().nullable(),
|
|
396
396
|
message: z.string().nullable(),
|
|
@@ -425,7 +425,7 @@ export const flightRequestSchema = z.object({
|
|
|
425
425
|
published_at: z.string().nullable(),
|
|
426
426
|
closed_at: z.string().nullable(),
|
|
427
427
|
windows: z.array(flightRequestWindowSchema),
|
|
428
|
-
airplanes: z.array(z.object({ id: z.number(), registration: z.string(), model: z.string().nullable() })),
|
|
428
|
+
airplanes: z.array(z.object({ id: z.number(), registration: z.string(), model: z.string().nullable(), homebase_id: z.number().nullable().optional() })),
|
|
429
429
|
seats: z.array(flightRequestSeatSchema),
|
|
430
430
|
pending_responses_count: z.number(),
|
|
431
431
|
my_response: flightRequestResponseSchema.nullable(),
|
|
@@ -435,6 +435,7 @@ export const flightRequestSchema = z.object({
|
|
|
435
435
|
id: z.number(),
|
|
436
436
|
airplane_id: z.number(),
|
|
437
437
|
registration: z.string().nullable(),
|
|
438
|
+
homebase_id: z.number().nullable().optional(),
|
|
438
439
|
etdZ: z.string().nullable(),
|
|
439
440
|
etaZ: z.string().nullable(),
|
|
440
441
|
})
|