@updraft-solutions/mcrit-sdk 0.14.2 → 0.14.4
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-QRQAE3NR.js → chunk-CDLXKNMA.js} +52 -5
- package/dist/{chunk-B2TBWTOG.cjs → chunk-JLIYDBW4.cjs} +52 -5
- package/dist/{fbo-DzJbGYZB.d.cts → fbo-CbJQnC91.d.cts} +678 -79
- package/dist/{fbo-DzJbGYZB.d.ts → fbo-CbJQnC91.d.ts} +678 -79
- package/dist/index.cjs +22 -6
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +22 -6
- package/dist/{operating-hours-Dj0bqEmA.d.cts → operating-hours-B_S7kQ98.d.cts} +1 -1
- package/dist/{operating-hours-DBgVZus4.d.ts → operating-hours-mt1E3mkW.d.ts} +1 -1
- package/dist/schemas/index.cjs +18 -2
- package/dist/schemas/index.d.cts +3 -3
- package/dist/schemas/index.d.ts +3 -3
- package/dist/schemas/index.js +17 -1
- package/dist/types/index.d.cts +8 -3
- package/dist/types/index.d.ts +8 -3
- package/package.json +1 -1
- package/src/schemas/fbo.spec.ts +76 -1
- package/src/schemas/fbo.ts +66 -1
- package/src/types/fbo.ts +5 -0
|
@@ -96214,7 +96214,7 @@ declare const SignatureSchema: z.ZodObject<{
|
|
|
96214
96214
|
created_at: z.ZodOptional<z.ZodString>;
|
|
96215
96215
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
96216
96216
|
}, "strip", z.ZodTypeAny, {
|
|
96217
|
-
status: "
|
|
96217
|
+
status: "pending" | "signed" | "revoked";
|
|
96218
96218
|
id: number;
|
|
96219
96219
|
field_key: string;
|
|
96220
96220
|
required_signer_membership_id: number | null;
|
|
@@ -96242,7 +96242,7 @@ declare const SignatureSchema: z.ZodObject<{
|
|
|
96242
96242
|
required_signer_permission?: string | null | undefined;
|
|
96243
96243
|
signed_by_name?: string | null | undefined;
|
|
96244
96244
|
}, {
|
|
96245
|
-
status: "
|
|
96245
|
+
status: "pending" | "signed" | "revoked";
|
|
96246
96246
|
id: number;
|
|
96247
96247
|
field_key: string;
|
|
96248
96248
|
required_signer_membership_id: number | null;
|
|
@@ -96633,7 +96633,7 @@ declare const FormSubmissionSchema: z.ZodObject<{
|
|
|
96633
96633
|
created_at: z.ZodOptional<z.ZodString>;
|
|
96634
96634
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
96635
96635
|
}, "strip", z.ZodTypeAny, {
|
|
96636
|
-
status: "
|
|
96636
|
+
status: "pending" | "signed" | "revoked";
|
|
96637
96637
|
id: number;
|
|
96638
96638
|
field_key: string;
|
|
96639
96639
|
required_signer_membership_id: number | null;
|
|
@@ -96661,7 +96661,7 @@ declare const FormSubmissionSchema: z.ZodObject<{
|
|
|
96661
96661
|
required_signer_permission?: string | null | undefined;
|
|
96662
96662
|
signed_by_name?: string | null | undefined;
|
|
96663
96663
|
}, {
|
|
96664
|
-
status: "
|
|
96664
|
+
status: "pending" | "signed" | "revoked";
|
|
96665
96665
|
id: number;
|
|
96666
96666
|
field_key: string;
|
|
96667
96667
|
required_signer_membership_id: number | null;
|
|
@@ -97288,7 +97288,7 @@ declare const FormSubmissionSchema: z.ZodObject<{
|
|
|
97288
97288
|
is_expired: boolean;
|
|
97289
97289
|
expires_at?: string | null | undefined;
|
|
97290
97290
|
signatures?: {
|
|
97291
|
-
status: "
|
|
97291
|
+
status: "pending" | "signed" | "revoked";
|
|
97292
97292
|
id: number;
|
|
97293
97293
|
field_key: string;
|
|
97294
97294
|
required_signer_membership_id: number | null;
|
|
@@ -97482,7 +97482,7 @@ declare const FormSubmissionSchema: z.ZodObject<{
|
|
|
97482
97482
|
expires_at?: string | null | undefined;
|
|
97483
97483
|
can?: Record<string, boolean | null> | undefined;
|
|
97484
97484
|
signatures?: {
|
|
97485
|
-
status: "
|
|
97485
|
+
status: "pending" | "signed" | "revoked";
|
|
97486
97486
|
id: number;
|
|
97487
97487
|
field_key: string;
|
|
97488
97488
|
required_signer_membership_id: number | null;
|
|
@@ -97952,7 +97952,7 @@ declare const FormSubmissionShareSchema: z.ZodObject<{
|
|
|
97952
97952
|
created_at: z.ZodOptional<z.ZodString>;
|
|
97953
97953
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
97954
97954
|
}, "strip", z.ZodTypeAny, {
|
|
97955
|
-
status: "
|
|
97955
|
+
status: "pending" | "signed" | "revoked";
|
|
97956
97956
|
id: number;
|
|
97957
97957
|
field_key: string;
|
|
97958
97958
|
required_signer_membership_id: number | null;
|
|
@@ -97980,7 +97980,7 @@ declare const FormSubmissionShareSchema: z.ZodObject<{
|
|
|
97980
97980
|
required_signer_permission?: string | null | undefined;
|
|
97981
97981
|
signed_by_name?: string | null | undefined;
|
|
97982
97982
|
}, {
|
|
97983
|
-
status: "
|
|
97983
|
+
status: "pending" | "signed" | "revoked";
|
|
97984
97984
|
id: number;
|
|
97985
97985
|
field_key: string;
|
|
97986
97986
|
required_signer_membership_id: number | null;
|
|
@@ -98607,7 +98607,7 @@ declare const FormSubmissionShareSchema: z.ZodObject<{
|
|
|
98607
98607
|
is_expired: boolean;
|
|
98608
98608
|
expires_at?: string | null | undefined;
|
|
98609
98609
|
signatures?: {
|
|
98610
|
-
status: "
|
|
98610
|
+
status: "pending" | "signed" | "revoked";
|
|
98611
98611
|
id: number;
|
|
98612
98612
|
field_key: string;
|
|
98613
98613
|
required_signer_membership_id: number | null;
|
|
@@ -98801,7 +98801,7 @@ declare const FormSubmissionShareSchema: z.ZodObject<{
|
|
|
98801
98801
|
expires_at?: string | null | undefined;
|
|
98802
98802
|
can?: Record<string, boolean | null> | undefined;
|
|
98803
98803
|
signatures?: {
|
|
98804
|
-
status: "
|
|
98804
|
+
status: "pending" | "signed" | "revoked";
|
|
98805
98805
|
id: number;
|
|
98806
98806
|
field_key: string;
|
|
98807
98807
|
required_signer_membership_id: number | null;
|
|
@@ -99027,7 +99027,7 @@ declare const FormSubmissionShareSchema: z.ZodObject<{
|
|
|
99027
99027
|
is_expired: boolean;
|
|
99028
99028
|
expires_at?: string | null | undefined;
|
|
99029
99029
|
signatures?: {
|
|
99030
|
-
status: "
|
|
99030
|
+
status: "pending" | "signed" | "revoked";
|
|
99031
99031
|
id: number;
|
|
99032
99032
|
field_key: string;
|
|
99033
99033
|
required_signer_membership_id: number | null;
|
|
@@ -99233,7 +99233,7 @@ declare const FormSubmissionShareSchema: z.ZodObject<{
|
|
|
99233
99233
|
expires_at?: string | null | undefined;
|
|
99234
99234
|
can?: Record<string, boolean | null> | undefined;
|
|
99235
99235
|
signatures?: {
|
|
99236
|
-
status: "
|
|
99236
|
+
status: "pending" | "signed" | "revoked";
|
|
99237
99237
|
id: number;
|
|
99238
99238
|
field_key: string;
|
|
99239
99239
|
required_signer_membership_id: number | null;
|
|
@@ -100728,7 +100728,7 @@ declare const RequiredFormSchema: z.ZodObject<{
|
|
|
100728
100728
|
created_at: z.ZodOptional<z.ZodString>;
|
|
100729
100729
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
100730
100730
|
}, "strip", z.ZodTypeAny, {
|
|
100731
|
-
status: "
|
|
100731
|
+
status: "pending" | "signed" | "revoked";
|
|
100732
100732
|
id: number;
|
|
100733
100733
|
field_key: string;
|
|
100734
100734
|
required_signer_membership_id: number | null;
|
|
@@ -100756,7 +100756,7 @@ declare const RequiredFormSchema: z.ZodObject<{
|
|
|
100756
100756
|
required_signer_permission?: string | null | undefined;
|
|
100757
100757
|
signed_by_name?: string | null | undefined;
|
|
100758
100758
|
}, {
|
|
100759
|
-
status: "
|
|
100759
|
+
status: "pending" | "signed" | "revoked";
|
|
100760
100760
|
id: number;
|
|
100761
100761
|
field_key: string;
|
|
100762
100762
|
required_signer_membership_id: number | null;
|
|
@@ -101383,7 +101383,7 @@ declare const RequiredFormSchema: z.ZodObject<{
|
|
|
101383
101383
|
is_expired: boolean;
|
|
101384
101384
|
expires_at?: string | null | undefined;
|
|
101385
101385
|
signatures?: {
|
|
101386
|
-
status: "
|
|
101386
|
+
status: "pending" | "signed" | "revoked";
|
|
101387
101387
|
id: number;
|
|
101388
101388
|
field_key: string;
|
|
101389
101389
|
required_signer_membership_id: number | null;
|
|
@@ -101577,7 +101577,7 @@ declare const RequiredFormSchema: z.ZodObject<{
|
|
|
101577
101577
|
expires_at?: string | null | undefined;
|
|
101578
101578
|
can?: Record<string, boolean | null> | undefined;
|
|
101579
101579
|
signatures?: {
|
|
101580
|
-
status: "
|
|
101580
|
+
status: "pending" | "signed" | "revoked";
|
|
101581
101581
|
id: number;
|
|
101582
101582
|
field_key: string;
|
|
101583
101583
|
required_signer_membership_id: number | null;
|
|
@@ -102029,7 +102029,7 @@ declare const RequiredFormSchema: z.ZodObject<{
|
|
|
102029
102029
|
created_at: z.ZodOptional<z.ZodString>;
|
|
102030
102030
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
102031
102031
|
}, "strip", z.ZodTypeAny, {
|
|
102032
|
-
status: "
|
|
102032
|
+
status: "pending" | "signed" | "revoked";
|
|
102033
102033
|
id: number;
|
|
102034
102034
|
field_key: string;
|
|
102035
102035
|
required_signer_membership_id: number | null;
|
|
@@ -102057,7 +102057,7 @@ declare const RequiredFormSchema: z.ZodObject<{
|
|
|
102057
102057
|
required_signer_permission?: string | null | undefined;
|
|
102058
102058
|
signed_by_name?: string | null | undefined;
|
|
102059
102059
|
}, {
|
|
102060
|
-
status: "
|
|
102060
|
+
status: "pending" | "signed" | "revoked";
|
|
102061
102061
|
id: number;
|
|
102062
102062
|
field_key: string;
|
|
102063
102063
|
required_signer_membership_id: number | null;
|
|
@@ -102684,7 +102684,7 @@ declare const RequiredFormSchema: z.ZodObject<{
|
|
|
102684
102684
|
is_expired: boolean;
|
|
102685
102685
|
expires_at?: string | null | undefined;
|
|
102686
102686
|
signatures?: {
|
|
102687
|
-
status: "
|
|
102687
|
+
status: "pending" | "signed" | "revoked";
|
|
102688
102688
|
id: number;
|
|
102689
102689
|
field_key: string;
|
|
102690
102690
|
required_signer_membership_id: number | null;
|
|
@@ -102878,7 +102878,7 @@ declare const RequiredFormSchema: z.ZodObject<{
|
|
|
102878
102878
|
expires_at?: string | null | undefined;
|
|
102879
102879
|
can?: Record<string, boolean | null> | undefined;
|
|
102880
102880
|
signatures?: {
|
|
102881
|
-
status: "
|
|
102881
|
+
status: "pending" | "signed" | "revoked";
|
|
102882
102882
|
id: number;
|
|
102883
102883
|
field_key: string;
|
|
102884
102884
|
required_signer_membership_id: number | null;
|
|
@@ -103279,7 +103279,7 @@ declare const RequiredFormSchema: z.ZodObject<{
|
|
|
103279
103279
|
is_expired: boolean;
|
|
103280
103280
|
expires_at?: string | null | undefined;
|
|
103281
103281
|
signatures?: {
|
|
103282
|
-
status: "
|
|
103282
|
+
status: "pending" | "signed" | "revoked";
|
|
103283
103283
|
id: number;
|
|
103284
103284
|
field_key: string;
|
|
103285
103285
|
required_signer_membership_id: number | null;
|
|
@@ -103484,7 +103484,7 @@ declare const RequiredFormSchema: z.ZodObject<{
|
|
|
103484
103484
|
is_expired: boolean;
|
|
103485
103485
|
expires_at?: string | null | undefined;
|
|
103486
103486
|
signatures?: {
|
|
103487
|
-
status: "
|
|
103487
|
+
status: "pending" | "signed" | "revoked";
|
|
103488
103488
|
id: number;
|
|
103489
103489
|
field_key: string;
|
|
103490
103490
|
required_signer_membership_id: number | null;
|
|
@@ -103835,7 +103835,7 @@ declare const RequiredFormSchema: z.ZodObject<{
|
|
|
103835
103835
|
expires_at?: string | null | undefined;
|
|
103836
103836
|
can?: Record<string, boolean | null> | undefined;
|
|
103837
103837
|
signatures?: {
|
|
103838
|
-
status: "
|
|
103838
|
+
status: "pending" | "signed" | "revoked";
|
|
103839
103839
|
id: number;
|
|
103840
103840
|
field_key: string;
|
|
103841
103841
|
required_signer_membership_id: number | null;
|
|
@@ -104041,7 +104041,7 @@ declare const RequiredFormSchema: z.ZodObject<{
|
|
|
104041
104041
|
expires_at?: string | null | undefined;
|
|
104042
104042
|
can?: Record<string, boolean | null> | undefined;
|
|
104043
104043
|
signatures?: {
|
|
104044
|
-
status: "
|
|
104044
|
+
status: "pending" | "signed" | "revoked";
|
|
104045
104045
|
id: number;
|
|
104046
104046
|
field_key: string;
|
|
104047
104047
|
required_signer_membership_id: number | null;
|
|
@@ -106016,7 +106016,7 @@ declare const trainingSignatureSchema: z.ZodObject<{
|
|
|
106016
106016
|
created_at: z.ZodOptional<z.ZodString>;
|
|
106017
106017
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
106018
106018
|
}, "strip", z.ZodTypeAny, {
|
|
106019
|
-
status: "
|
|
106019
|
+
status: "pending" | "signed" | "revoked";
|
|
106020
106020
|
id: number;
|
|
106021
106021
|
field_key: string;
|
|
106022
106022
|
required_signer_membership_id: number | null;
|
|
@@ -106044,7 +106044,7 @@ declare const trainingSignatureSchema: z.ZodObject<{
|
|
|
106044
106044
|
required_signer_permission?: string | null | undefined;
|
|
106045
106045
|
signed_by_name?: string | null | undefined;
|
|
106046
106046
|
}, {
|
|
106047
|
-
status: "
|
|
106047
|
+
status: "pending" | "signed" | "revoked";
|
|
106048
106048
|
id: number;
|
|
106049
106049
|
field_key: string;
|
|
106050
106050
|
required_signer_membership_id: number | null;
|
|
@@ -106260,7 +106260,7 @@ declare const trainingRecordSchema: z.ZodObject<{
|
|
|
106260
106260
|
created_at: z.ZodOptional<z.ZodString>;
|
|
106261
106261
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
106262
106262
|
}, "strip", z.ZodTypeAny, {
|
|
106263
|
-
status: "
|
|
106263
|
+
status: "pending" | "signed" | "revoked";
|
|
106264
106264
|
id: number;
|
|
106265
106265
|
field_key: string;
|
|
106266
106266
|
required_signer_membership_id: number | null;
|
|
@@ -106288,7 +106288,7 @@ declare const trainingRecordSchema: z.ZodObject<{
|
|
|
106288
106288
|
required_signer_permission?: string | null | undefined;
|
|
106289
106289
|
signed_by_name?: string | null | undefined;
|
|
106290
106290
|
}, {
|
|
106291
|
-
status: "
|
|
106291
|
+
status: "pending" | "signed" | "revoked";
|
|
106292
106292
|
id: number;
|
|
106293
106293
|
field_key: string;
|
|
106294
106294
|
required_signer_membership_id: number | null;
|
|
@@ -106388,7 +106388,7 @@ declare const trainingRecordSchema: z.ZodObject<{
|
|
|
106388
106388
|
booking_id: number;
|
|
106389
106389
|
course_enrollment_id: number;
|
|
106390
106390
|
signatures: {
|
|
106391
|
-
status: "
|
|
106391
|
+
status: "pending" | "signed" | "revoked";
|
|
106392
106392
|
id: number;
|
|
106393
106393
|
field_key: string;
|
|
106394
106394
|
required_signer_membership_id: number | null;
|
|
@@ -106480,7 +106480,7 @@ declare const trainingRecordSchema: z.ZodObject<{
|
|
|
106480
106480
|
booking_id: number;
|
|
106481
106481
|
course_enrollment_id: number;
|
|
106482
106482
|
signatures: {
|
|
106483
|
-
status: "
|
|
106483
|
+
status: "pending" | "signed" | "revoked";
|
|
106484
106484
|
id: number;
|
|
106485
106485
|
field_key: string;
|
|
106486
106486
|
required_signer_membership_id: number | null;
|
|
@@ -106781,7 +106781,7 @@ declare const invalidateTrainingRecordResponseSchema: z.ZodObject<{
|
|
|
106781
106781
|
created_at: z.ZodOptional<z.ZodString>;
|
|
106782
106782
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
106783
106783
|
}, "strip", z.ZodTypeAny, {
|
|
106784
|
-
status: "
|
|
106784
|
+
status: "pending" | "signed" | "revoked";
|
|
106785
106785
|
id: number;
|
|
106786
106786
|
field_key: string;
|
|
106787
106787
|
required_signer_membership_id: number | null;
|
|
@@ -106809,7 +106809,7 @@ declare const invalidateTrainingRecordResponseSchema: z.ZodObject<{
|
|
|
106809
106809
|
required_signer_permission?: string | null | undefined;
|
|
106810
106810
|
signed_by_name?: string | null | undefined;
|
|
106811
106811
|
}, {
|
|
106812
|
-
status: "
|
|
106812
|
+
status: "pending" | "signed" | "revoked";
|
|
106813
106813
|
id: number;
|
|
106814
106814
|
field_key: string;
|
|
106815
106815
|
required_signer_membership_id: number | null;
|
|
@@ -106909,7 +106909,7 @@ declare const invalidateTrainingRecordResponseSchema: z.ZodObject<{
|
|
|
106909
106909
|
booking_id: number;
|
|
106910
106910
|
course_enrollment_id: number;
|
|
106911
106911
|
signatures: {
|
|
106912
|
-
status: "
|
|
106912
|
+
status: "pending" | "signed" | "revoked";
|
|
106913
106913
|
id: number;
|
|
106914
106914
|
field_key: string;
|
|
106915
106915
|
required_signer_membership_id: number | null;
|
|
@@ -107001,7 +107001,7 @@ declare const invalidateTrainingRecordResponseSchema: z.ZodObject<{
|
|
|
107001
107001
|
booking_id: number;
|
|
107002
107002
|
course_enrollment_id: number;
|
|
107003
107003
|
signatures: {
|
|
107004
|
-
status: "
|
|
107004
|
+
status: "pending" | "signed" | "revoked";
|
|
107005
107005
|
id: number;
|
|
107006
107006
|
field_key: string;
|
|
107007
107007
|
required_signer_membership_id: number | null;
|
|
@@ -107251,7 +107251,7 @@ declare const invalidateTrainingRecordResponseSchema: z.ZodObject<{
|
|
|
107251
107251
|
created_at: z.ZodOptional<z.ZodString>;
|
|
107252
107252
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
107253
107253
|
}, "strip", z.ZodTypeAny, {
|
|
107254
|
-
status: "
|
|
107254
|
+
status: "pending" | "signed" | "revoked";
|
|
107255
107255
|
id: number;
|
|
107256
107256
|
field_key: string;
|
|
107257
107257
|
required_signer_membership_id: number | null;
|
|
@@ -107279,7 +107279,7 @@ declare const invalidateTrainingRecordResponseSchema: z.ZodObject<{
|
|
|
107279
107279
|
required_signer_permission?: string | null | undefined;
|
|
107280
107280
|
signed_by_name?: string | null | undefined;
|
|
107281
107281
|
}, {
|
|
107282
|
-
status: "
|
|
107282
|
+
status: "pending" | "signed" | "revoked";
|
|
107283
107283
|
id: number;
|
|
107284
107284
|
field_key: string;
|
|
107285
107285
|
required_signer_membership_id: number | null;
|
|
@@ -107379,7 +107379,7 @@ declare const invalidateTrainingRecordResponseSchema: z.ZodObject<{
|
|
|
107379
107379
|
booking_id: number;
|
|
107380
107380
|
course_enrollment_id: number;
|
|
107381
107381
|
signatures: {
|
|
107382
|
-
status: "
|
|
107382
|
+
status: "pending" | "signed" | "revoked";
|
|
107383
107383
|
id: number;
|
|
107384
107384
|
field_key: string;
|
|
107385
107385
|
required_signer_membership_id: number | null;
|
|
@@ -107471,7 +107471,7 @@ declare const invalidateTrainingRecordResponseSchema: z.ZodObject<{
|
|
|
107471
107471
|
booking_id: number;
|
|
107472
107472
|
course_enrollment_id: number;
|
|
107473
107473
|
signatures: {
|
|
107474
|
-
status: "
|
|
107474
|
+
status: "pending" | "signed" | "revoked";
|
|
107475
107475
|
id: number;
|
|
107476
107476
|
field_key: string;
|
|
107477
107477
|
required_signer_membership_id: number | null;
|
|
@@ -107567,7 +107567,7 @@ declare const invalidateTrainingRecordResponseSchema: z.ZodObject<{
|
|
|
107567
107567
|
booking_id: number;
|
|
107568
107568
|
course_enrollment_id: number;
|
|
107569
107569
|
signatures: {
|
|
107570
|
-
status: "
|
|
107570
|
+
status: "pending" | "signed" | "revoked";
|
|
107571
107571
|
id: number;
|
|
107572
107572
|
field_key: string;
|
|
107573
107573
|
required_signer_membership_id: number | null;
|
|
@@ -107661,7 +107661,7 @@ declare const invalidateTrainingRecordResponseSchema: z.ZodObject<{
|
|
|
107661
107661
|
booking_id: number;
|
|
107662
107662
|
course_enrollment_id: number;
|
|
107663
107663
|
signatures: {
|
|
107664
|
-
status: "
|
|
107664
|
+
status: "pending" | "signed" | "revoked";
|
|
107665
107665
|
id: number;
|
|
107666
107666
|
field_key: string;
|
|
107667
107667
|
required_signer_membership_id: number | null;
|
|
@@ -107755,7 +107755,7 @@ declare const invalidateTrainingRecordResponseSchema: z.ZodObject<{
|
|
|
107755
107755
|
booking_id: number;
|
|
107756
107756
|
course_enrollment_id: number;
|
|
107757
107757
|
signatures: {
|
|
107758
|
-
status: "
|
|
107758
|
+
status: "pending" | "signed" | "revoked";
|
|
107759
107759
|
id: number;
|
|
107760
107760
|
field_key: string;
|
|
107761
107761
|
required_signer_membership_id: number | null;
|
|
@@ -107849,7 +107849,7 @@ declare const invalidateTrainingRecordResponseSchema: z.ZodObject<{
|
|
|
107849
107849
|
booking_id: number;
|
|
107850
107850
|
course_enrollment_id: number;
|
|
107851
107851
|
signatures: {
|
|
107852
|
-
status: "
|
|
107852
|
+
status: "pending" | "signed" | "revoked";
|
|
107853
107853
|
id: number;
|
|
107854
107854
|
field_key: string;
|
|
107855
107855
|
required_signer_membership_id: number | null;
|
|
@@ -108411,12 +108411,12 @@ declare const fboAcceptanceAxisSchema: z.ZodObject<{
|
|
|
108411
108411
|
decided_by_id: z.ZodNullable<z.ZodNumber>;
|
|
108412
108412
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
108413
108413
|
}, "strip", z.ZodTypeAny, {
|
|
108414
|
-
status: "
|
|
108414
|
+
status: "pending" | "unknown" | "accepted" | "rejected";
|
|
108415
108415
|
updated_at: string | null;
|
|
108416
108416
|
is_required: boolean;
|
|
108417
108417
|
decided_by_id: number | null;
|
|
108418
108418
|
}, {
|
|
108419
|
-
status: "
|
|
108419
|
+
status: "pending" | "unknown" | "accepted" | "rejected";
|
|
108420
108420
|
updated_at: string | null;
|
|
108421
108421
|
is_required: boolean;
|
|
108422
108422
|
decided_by_id: number | null;
|
|
@@ -108428,12 +108428,12 @@ declare const fboAcceptanceStatusSchema: z.ZodObject<{
|
|
|
108428
108428
|
decided_by_id: z.ZodNullable<z.ZodNumber>;
|
|
108429
108429
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
108430
108430
|
}, "strip", z.ZodTypeAny, {
|
|
108431
|
-
status: "
|
|
108431
|
+
status: "pending" | "unknown" | "accepted" | "rejected";
|
|
108432
108432
|
updated_at: string | null;
|
|
108433
108433
|
is_required: boolean;
|
|
108434
108434
|
decided_by_id: number | null;
|
|
108435
108435
|
}, {
|
|
108436
|
-
status: "
|
|
108436
|
+
status: "pending" | "unknown" | "accepted" | "rejected";
|
|
108437
108437
|
updated_at: string | null;
|
|
108438
108438
|
is_required: boolean;
|
|
108439
108439
|
decided_by_id: number | null;
|
|
@@ -108444,12 +108444,12 @@ declare const fboAcceptanceStatusSchema: z.ZodObject<{
|
|
|
108444
108444
|
decided_by_id: z.ZodNullable<z.ZodNumber>;
|
|
108445
108445
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
108446
108446
|
}, "strip", z.ZodTypeAny, {
|
|
108447
|
-
status: "
|
|
108447
|
+
status: "pending" | "unknown" | "accepted" | "rejected";
|
|
108448
108448
|
updated_at: string | null;
|
|
108449
108449
|
is_required: boolean;
|
|
108450
108450
|
decided_by_id: number | null;
|
|
108451
108451
|
}, {
|
|
108452
|
-
status: "
|
|
108452
|
+
status: "pending" | "unknown" | "accepted" | "rejected";
|
|
108453
108453
|
updated_at: string | null;
|
|
108454
108454
|
is_required: boolean;
|
|
108455
108455
|
decided_by_id: number | null;
|
|
@@ -108460,50 +108460,50 @@ declare const fboAcceptanceStatusSchema: z.ZodObject<{
|
|
|
108460
108460
|
decided_by_id: z.ZodNullable<z.ZodNumber>;
|
|
108461
108461
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
108462
108462
|
}, "strip", z.ZodTypeAny, {
|
|
108463
|
-
status: "
|
|
108463
|
+
status: "pending" | "unknown" | "accepted" | "rejected";
|
|
108464
108464
|
updated_at: string | null;
|
|
108465
108465
|
is_required: boolean;
|
|
108466
108466
|
decided_by_id: number | null;
|
|
108467
108467
|
}, {
|
|
108468
|
-
status: "
|
|
108468
|
+
status: "pending" | "unknown" | "accepted" | "rejected";
|
|
108469
108469
|
updated_at: string | null;
|
|
108470
108470
|
is_required: boolean;
|
|
108471
108471
|
decided_by_id: number | null;
|
|
108472
108472
|
}>;
|
|
108473
108473
|
}, "strip", z.ZodTypeAny, {
|
|
108474
108474
|
airport: {
|
|
108475
|
-
status: "
|
|
108475
|
+
status: "pending" | "unknown" | "accepted" | "rejected";
|
|
108476
108476
|
updated_at: string | null;
|
|
108477
108477
|
is_required: boolean;
|
|
108478
108478
|
decided_by_id: number | null;
|
|
108479
108479
|
};
|
|
108480
108480
|
fbo: {
|
|
108481
|
-
status: "
|
|
108481
|
+
status: "pending" | "unknown" | "accepted" | "rejected";
|
|
108482
108482
|
updated_at: string | null;
|
|
108483
108483
|
is_required: boolean;
|
|
108484
108484
|
decided_by_id: number | null;
|
|
108485
108485
|
};
|
|
108486
108486
|
customs: {
|
|
108487
|
-
status: "
|
|
108487
|
+
status: "pending" | "unknown" | "accepted" | "rejected";
|
|
108488
108488
|
updated_at: string | null;
|
|
108489
108489
|
is_required: boolean;
|
|
108490
108490
|
decided_by_id: number | null;
|
|
108491
108491
|
};
|
|
108492
108492
|
}, {
|
|
108493
108493
|
airport: {
|
|
108494
|
-
status: "
|
|
108494
|
+
status: "pending" | "unknown" | "accepted" | "rejected";
|
|
108495
108495
|
updated_at: string | null;
|
|
108496
108496
|
is_required: boolean;
|
|
108497
108497
|
decided_by_id: number | null;
|
|
108498
108498
|
};
|
|
108499
108499
|
fbo: {
|
|
108500
|
-
status: "
|
|
108500
|
+
status: "pending" | "unknown" | "accepted" | "rejected";
|
|
108501
108501
|
updated_at: string | null;
|
|
108502
108502
|
is_required: boolean;
|
|
108503
108503
|
decided_by_id: number | null;
|
|
108504
108504
|
};
|
|
108505
108505
|
customs: {
|
|
108506
|
-
status: "
|
|
108506
|
+
status: "pending" | "unknown" | "accepted" | "rejected";
|
|
108507
108507
|
updated_at: string | null;
|
|
108508
108508
|
is_required: boolean;
|
|
108509
108509
|
decided_by_id: number | null;
|
|
@@ -108535,12 +108535,37 @@ declare const fboGroundServicesSchema: z.ZodObject<{
|
|
|
108535
108535
|
gpu: boolean;
|
|
108536
108536
|
}>;
|
|
108537
108537
|
declare const fboFlightTypeSchema: z.ZodEnum<["scheduledFlight", "ppr"]>;
|
|
108538
|
-
declare const fboFlightStatusSchema: z.ZodEnum<["active", "pending", "cancelled"]>;
|
|
108538
|
+
declare const fboFlightStatusSchema: z.ZodEnum<["active", "pending", "rejected", "cancelled"]>;
|
|
108539
|
+
/** Per-row action gates on a flight. Optional for forward-compat; every current FBO row sends it. */
|
|
108540
|
+
declare const fboFlightCanSchema: z.ZodObject<{
|
|
108541
|
+
update: z.ZodBoolean;
|
|
108542
|
+
delete: z.ZodBoolean;
|
|
108543
|
+
decide: z.ZodBoolean;
|
|
108544
|
+
}, "strip", z.ZodTypeAny, {
|
|
108545
|
+
update: boolean;
|
|
108546
|
+
delete: boolean;
|
|
108547
|
+
decide: boolean;
|
|
108548
|
+
}, {
|
|
108549
|
+
update: boolean;
|
|
108550
|
+
delete: boolean;
|
|
108551
|
+
decide: boolean;
|
|
108552
|
+
}>;
|
|
108553
|
+
/** Per-row action gates on a duty or occupation. Optional for forward-compat; every current FBO row sends it. */
|
|
108554
|
+
declare const fboRowCanSchema: z.ZodObject<{
|
|
108555
|
+
update: z.ZodBoolean;
|
|
108556
|
+
delete: z.ZodBoolean;
|
|
108557
|
+
}, "strip", z.ZodTypeAny, {
|
|
108558
|
+
update: boolean;
|
|
108559
|
+
delete: boolean;
|
|
108560
|
+
}, {
|
|
108561
|
+
update: boolean;
|
|
108562
|
+
delete: boolean;
|
|
108563
|
+
}>;
|
|
108539
108564
|
declare const fboFlightSchema: z.ZodObject<{
|
|
108540
108565
|
id: z.ZodNumber;
|
|
108541
108566
|
type: z.ZodEnum<["scheduledFlight", "ppr"]>;
|
|
108542
108567
|
uuid: z.ZodString;
|
|
108543
|
-
flight_status: z.ZodEnum<["active", "pending", "cancelled"]>;
|
|
108568
|
+
flight_status: z.ZodEnum<["active", "pending", "rejected", "cancelled"]>;
|
|
108544
108569
|
company_id: z.ZodNumber;
|
|
108545
108570
|
author_id: z.ZodNullable<z.ZodNumber>;
|
|
108546
108571
|
ac_call: z.ZodNullable<z.ZodString>;
|
|
@@ -108671,12 +108696,12 @@ declare const fboFlightSchema: z.ZodObject<{
|
|
|
108671
108696
|
decided_by_id: z.ZodNullable<z.ZodNumber>;
|
|
108672
108697
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
108673
108698
|
}, "strip", z.ZodTypeAny, {
|
|
108674
|
-
status: "
|
|
108699
|
+
status: "pending" | "unknown" | "accepted" | "rejected";
|
|
108675
108700
|
updated_at: string | null;
|
|
108676
108701
|
is_required: boolean;
|
|
108677
108702
|
decided_by_id: number | null;
|
|
108678
108703
|
}, {
|
|
108679
|
-
status: "
|
|
108704
|
+
status: "pending" | "unknown" | "accepted" | "rejected";
|
|
108680
108705
|
updated_at: string | null;
|
|
108681
108706
|
is_required: boolean;
|
|
108682
108707
|
decided_by_id: number | null;
|
|
@@ -108687,12 +108712,12 @@ declare const fboFlightSchema: z.ZodObject<{
|
|
|
108687
108712
|
decided_by_id: z.ZodNullable<z.ZodNumber>;
|
|
108688
108713
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
108689
108714
|
}, "strip", z.ZodTypeAny, {
|
|
108690
|
-
status: "
|
|
108715
|
+
status: "pending" | "unknown" | "accepted" | "rejected";
|
|
108691
108716
|
updated_at: string | null;
|
|
108692
108717
|
is_required: boolean;
|
|
108693
108718
|
decided_by_id: number | null;
|
|
108694
108719
|
}, {
|
|
108695
|
-
status: "
|
|
108720
|
+
status: "pending" | "unknown" | "accepted" | "rejected";
|
|
108696
108721
|
updated_at: string | null;
|
|
108697
108722
|
is_required: boolean;
|
|
108698
108723
|
decided_by_id: number | null;
|
|
@@ -108703,50 +108728,50 @@ declare const fboFlightSchema: z.ZodObject<{
|
|
|
108703
108728
|
decided_by_id: z.ZodNullable<z.ZodNumber>;
|
|
108704
108729
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
108705
108730
|
}, "strip", z.ZodTypeAny, {
|
|
108706
|
-
status: "
|
|
108731
|
+
status: "pending" | "unknown" | "accepted" | "rejected";
|
|
108707
108732
|
updated_at: string | null;
|
|
108708
108733
|
is_required: boolean;
|
|
108709
108734
|
decided_by_id: number | null;
|
|
108710
108735
|
}, {
|
|
108711
|
-
status: "
|
|
108736
|
+
status: "pending" | "unknown" | "accepted" | "rejected";
|
|
108712
108737
|
updated_at: string | null;
|
|
108713
108738
|
is_required: boolean;
|
|
108714
108739
|
decided_by_id: number | null;
|
|
108715
108740
|
}>;
|
|
108716
108741
|
}, "strip", z.ZodTypeAny, {
|
|
108717
108742
|
airport: {
|
|
108718
|
-
status: "
|
|
108743
|
+
status: "pending" | "unknown" | "accepted" | "rejected";
|
|
108719
108744
|
updated_at: string | null;
|
|
108720
108745
|
is_required: boolean;
|
|
108721
108746
|
decided_by_id: number | null;
|
|
108722
108747
|
};
|
|
108723
108748
|
fbo: {
|
|
108724
|
-
status: "
|
|
108749
|
+
status: "pending" | "unknown" | "accepted" | "rejected";
|
|
108725
108750
|
updated_at: string | null;
|
|
108726
108751
|
is_required: boolean;
|
|
108727
108752
|
decided_by_id: number | null;
|
|
108728
108753
|
};
|
|
108729
108754
|
customs: {
|
|
108730
|
-
status: "
|
|
108755
|
+
status: "pending" | "unknown" | "accepted" | "rejected";
|
|
108731
108756
|
updated_at: string | null;
|
|
108732
108757
|
is_required: boolean;
|
|
108733
108758
|
decided_by_id: number | null;
|
|
108734
108759
|
};
|
|
108735
108760
|
}, {
|
|
108736
108761
|
airport: {
|
|
108737
|
-
status: "
|
|
108762
|
+
status: "pending" | "unknown" | "accepted" | "rejected";
|
|
108738
108763
|
updated_at: string | null;
|
|
108739
108764
|
is_required: boolean;
|
|
108740
108765
|
decided_by_id: number | null;
|
|
108741
108766
|
};
|
|
108742
108767
|
fbo: {
|
|
108743
|
-
status: "
|
|
108768
|
+
status: "pending" | "unknown" | "accepted" | "rejected";
|
|
108744
108769
|
updated_at: string | null;
|
|
108745
108770
|
is_required: boolean;
|
|
108746
108771
|
decided_by_id: number | null;
|
|
108747
108772
|
};
|
|
108748
108773
|
customs: {
|
|
108749
|
-
status: "
|
|
108774
|
+
status: "pending" | "unknown" | "accepted" | "rejected";
|
|
108750
108775
|
updated_at: string | null;
|
|
108751
108776
|
is_required: boolean;
|
|
108752
108777
|
decided_by_id: number | null;
|
|
@@ -108770,6 +108795,19 @@ declare const fboFlightSchema: z.ZodObject<{
|
|
|
108770
108795
|
}>>>;
|
|
108771
108796
|
created_at: z.ZodString;
|
|
108772
108797
|
updated_at: z.ZodString;
|
|
108798
|
+
can: z.ZodOptional<z.ZodObject<{
|
|
108799
|
+
update: z.ZodBoolean;
|
|
108800
|
+
delete: z.ZodBoolean;
|
|
108801
|
+
decide: z.ZodBoolean;
|
|
108802
|
+
}, "strip", z.ZodTypeAny, {
|
|
108803
|
+
update: boolean;
|
|
108804
|
+
delete: boolean;
|
|
108805
|
+
decide: boolean;
|
|
108806
|
+
}, {
|
|
108807
|
+
update: boolean;
|
|
108808
|
+
delete: boolean;
|
|
108809
|
+
decide: boolean;
|
|
108810
|
+
}>>;
|
|
108773
108811
|
}, "strip", z.ZodTypeAny, {
|
|
108774
108812
|
type: "scheduledFlight" | "ppr";
|
|
108775
108813
|
id: number;
|
|
@@ -108795,7 +108833,7 @@ declare const fboFlightSchema: z.ZodObject<{
|
|
|
108795
108833
|
author_id: number | null;
|
|
108796
108834
|
operator: string | null;
|
|
108797
108835
|
uuid: string;
|
|
108798
|
-
flight_status: "pending" | "cancelled" | "active";
|
|
108836
|
+
flight_status: "pending" | "cancelled" | "active" | "rejected";
|
|
108799
108837
|
etdZ_no_time: boolean;
|
|
108800
108838
|
etaZ_no_time: boolean;
|
|
108801
108839
|
wx: boolean;
|
|
@@ -108811,19 +108849,19 @@ declare const fboFlightSchema: z.ZodObject<{
|
|
|
108811
108849
|
} | null;
|
|
108812
108850
|
acceptance_status: {
|
|
108813
108851
|
airport: {
|
|
108814
|
-
status: "
|
|
108852
|
+
status: "pending" | "unknown" | "accepted" | "rejected";
|
|
108815
108853
|
updated_at: string | null;
|
|
108816
108854
|
is_required: boolean;
|
|
108817
108855
|
decided_by_id: number | null;
|
|
108818
108856
|
};
|
|
108819
108857
|
fbo: {
|
|
108820
|
-
status: "
|
|
108858
|
+
status: "pending" | "unknown" | "accepted" | "rejected";
|
|
108821
108859
|
updated_at: string | null;
|
|
108822
108860
|
is_required: boolean;
|
|
108823
108861
|
decided_by_id: number | null;
|
|
108824
108862
|
};
|
|
108825
108863
|
customs: {
|
|
108826
|
-
status: "
|
|
108864
|
+
status: "pending" | "unknown" | "accepted" | "rejected";
|
|
108827
108865
|
updated_at: string | null;
|
|
108828
108866
|
is_required: boolean;
|
|
108829
108867
|
decided_by_id: number | null;
|
|
@@ -108833,6 +108871,11 @@ declare const fboFlightSchema: z.ZodObject<{
|
|
|
108833
108871
|
name: string | null;
|
|
108834
108872
|
id: number | null;
|
|
108835
108873
|
} | null | undefined;
|
|
108874
|
+
can?: {
|
|
108875
|
+
update: boolean;
|
|
108876
|
+
delete: boolean;
|
|
108877
|
+
decide: boolean;
|
|
108878
|
+
} | undefined;
|
|
108836
108879
|
departure_airport?: {
|
|
108837
108880
|
name: string;
|
|
108838
108881
|
id: number;
|
|
@@ -108881,7 +108924,7 @@ declare const fboFlightSchema: z.ZodObject<{
|
|
|
108881
108924
|
author_id: number | null;
|
|
108882
108925
|
operator: string | null;
|
|
108883
108926
|
uuid: string;
|
|
108884
|
-
flight_status: "pending" | "cancelled" | "active";
|
|
108927
|
+
flight_status: "pending" | "cancelled" | "active" | "rejected";
|
|
108885
108928
|
etdZ_no_time: boolean;
|
|
108886
108929
|
etaZ_no_time: boolean;
|
|
108887
108930
|
wx: boolean;
|
|
@@ -108897,19 +108940,19 @@ declare const fboFlightSchema: z.ZodObject<{
|
|
|
108897
108940
|
} | null;
|
|
108898
108941
|
acceptance_status: {
|
|
108899
108942
|
airport: {
|
|
108900
|
-
status: "
|
|
108943
|
+
status: "pending" | "unknown" | "accepted" | "rejected";
|
|
108901
108944
|
updated_at: string | null;
|
|
108902
108945
|
is_required: boolean;
|
|
108903
108946
|
decided_by_id: number | null;
|
|
108904
108947
|
};
|
|
108905
108948
|
fbo: {
|
|
108906
|
-
status: "
|
|
108949
|
+
status: "pending" | "unknown" | "accepted" | "rejected";
|
|
108907
108950
|
updated_at: string | null;
|
|
108908
108951
|
is_required: boolean;
|
|
108909
108952
|
decided_by_id: number | null;
|
|
108910
108953
|
};
|
|
108911
108954
|
customs: {
|
|
108912
|
-
status: "
|
|
108955
|
+
status: "pending" | "unknown" | "accepted" | "rejected";
|
|
108913
108956
|
updated_at: string | null;
|
|
108914
108957
|
is_required: boolean;
|
|
108915
108958
|
decided_by_id: number | null;
|
|
@@ -108919,6 +108962,11 @@ declare const fboFlightSchema: z.ZodObject<{
|
|
|
108919
108962
|
name: string | null;
|
|
108920
108963
|
id: number | null;
|
|
108921
108964
|
} | null | undefined;
|
|
108965
|
+
can?: {
|
|
108966
|
+
update: boolean;
|
|
108967
|
+
delete: boolean;
|
|
108968
|
+
decide: boolean;
|
|
108969
|
+
} | undefined;
|
|
108922
108970
|
departure_airport?: {
|
|
108923
108971
|
name: string;
|
|
108924
108972
|
id: number;
|
|
@@ -108952,6 +109000,16 @@ declare const fboOccupationSchema: z.ZodObject<{
|
|
|
108952
109000
|
is_absence: z.ZodBoolean;
|
|
108953
109001
|
created_at: z.ZodNullable<z.ZodString>;
|
|
108954
109002
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
109003
|
+
can: z.ZodOptional<z.ZodObject<{
|
|
109004
|
+
update: z.ZodBoolean;
|
|
109005
|
+
delete: z.ZodBoolean;
|
|
109006
|
+
}, "strip", z.ZodTypeAny, {
|
|
109007
|
+
update: boolean;
|
|
109008
|
+
delete: boolean;
|
|
109009
|
+
}, {
|
|
109010
|
+
update: boolean;
|
|
109011
|
+
delete: boolean;
|
|
109012
|
+
}>>;
|
|
108955
109013
|
}, "strip", z.ZodTypeAny, {
|
|
108956
109014
|
id: number;
|
|
108957
109015
|
created_at: string | null;
|
|
@@ -108961,6 +109019,10 @@ declare const fboOccupationSchema: z.ZodObject<{
|
|
|
108961
109019
|
title: string;
|
|
108962
109020
|
author_id: number | null;
|
|
108963
109021
|
is_absence: boolean;
|
|
109022
|
+
can?: {
|
|
109023
|
+
update: boolean;
|
|
109024
|
+
delete: boolean;
|
|
109025
|
+
} | undefined;
|
|
108964
109026
|
}, {
|
|
108965
109027
|
id: number;
|
|
108966
109028
|
created_at: string | null;
|
|
@@ -108970,6 +109032,10 @@ declare const fboOccupationSchema: z.ZodObject<{
|
|
|
108970
109032
|
title: string;
|
|
108971
109033
|
author_id: number | null;
|
|
108972
109034
|
is_absence: boolean;
|
|
109035
|
+
can?: {
|
|
109036
|
+
update: boolean;
|
|
109037
|
+
delete: boolean;
|
|
109038
|
+
} | undefined;
|
|
108973
109039
|
}>;
|
|
108974
109040
|
declare const fboDutySchema: z.ZodObject<{
|
|
108975
109041
|
id: z.ZodNumber;
|
|
@@ -108986,6 +109052,16 @@ declare const fboDutySchema: z.ZodObject<{
|
|
|
108986
109052
|
is_absence: z.ZodBoolean;
|
|
108987
109053
|
created_at: z.ZodNullable<z.ZodString>;
|
|
108988
109054
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
109055
|
+
can: z.ZodOptional<z.ZodObject<{
|
|
109056
|
+
update: z.ZodBoolean;
|
|
109057
|
+
delete: z.ZodBoolean;
|
|
109058
|
+
}, "strip", z.ZodTypeAny, {
|
|
109059
|
+
update: boolean;
|
|
109060
|
+
delete: boolean;
|
|
109061
|
+
}, {
|
|
109062
|
+
update: boolean;
|
|
109063
|
+
delete: boolean;
|
|
109064
|
+
}>>;
|
|
108989
109065
|
}, "strip", z.ZodTypeAny, {
|
|
108990
109066
|
id: number;
|
|
108991
109067
|
created_at: string | null;
|
|
@@ -108995,6 +109071,10 @@ declare const fboDutySchema: z.ZodObject<{
|
|
|
108995
109071
|
title: string;
|
|
108996
109072
|
author_id: number | null;
|
|
108997
109073
|
is_absence: boolean;
|
|
109074
|
+
can?: {
|
|
109075
|
+
update: boolean;
|
|
109076
|
+
delete: boolean;
|
|
109077
|
+
} | undefined;
|
|
108998
109078
|
}, {
|
|
108999
109079
|
id: number;
|
|
109000
109080
|
created_at: string | null;
|
|
@@ -109004,6 +109084,10 @@ declare const fboDutySchema: z.ZodObject<{
|
|
|
109004
109084
|
title: string;
|
|
109005
109085
|
author_id: number | null;
|
|
109006
109086
|
is_absence: boolean;
|
|
109087
|
+
can?: {
|
|
109088
|
+
update: boolean;
|
|
109089
|
+
delete: boolean;
|
|
109090
|
+
} | undefined;
|
|
109007
109091
|
}>>;
|
|
109008
109092
|
/** Identity tier only (id, name, …) — the roster labels events by person. */
|
|
109009
109093
|
user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -109023,6 +109107,16 @@ declare const fboDutySchema: z.ZodObject<{
|
|
|
109023
109107
|
remarks: z.ZodNullable<z.ZodString>;
|
|
109024
109108
|
created_at: z.ZodNullable<z.ZodString>;
|
|
109025
109109
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
109110
|
+
can: z.ZodOptional<z.ZodObject<{
|
|
109111
|
+
update: z.ZodBoolean;
|
|
109112
|
+
delete: z.ZodBoolean;
|
|
109113
|
+
}, "strip", z.ZodTypeAny, {
|
|
109114
|
+
update: boolean;
|
|
109115
|
+
delete: boolean;
|
|
109116
|
+
}, {
|
|
109117
|
+
update: boolean;
|
|
109118
|
+
delete: boolean;
|
|
109119
|
+
}>>;
|
|
109026
109120
|
}, "strip", z.ZodTypeAny, {
|
|
109027
109121
|
id: number;
|
|
109028
109122
|
created_at: string | null;
|
|
@@ -109040,6 +109134,10 @@ declare const fboDutySchema: z.ZodObject<{
|
|
|
109040
109134
|
id: z.ZodNumber;
|
|
109041
109135
|
name: z.ZodNullable<z.ZodString>;
|
|
109042
109136
|
}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
109137
|
+
can?: {
|
|
109138
|
+
update: boolean;
|
|
109139
|
+
delete: boolean;
|
|
109140
|
+
} | undefined;
|
|
109043
109141
|
occupation?: {
|
|
109044
109142
|
id: number;
|
|
109045
109143
|
created_at: string | null;
|
|
@@ -109049,6 +109147,10 @@ declare const fboDutySchema: z.ZodObject<{
|
|
|
109049
109147
|
title: string;
|
|
109050
109148
|
author_id: number | null;
|
|
109051
109149
|
is_absence: boolean;
|
|
109150
|
+
can?: {
|
|
109151
|
+
update: boolean;
|
|
109152
|
+
delete: boolean;
|
|
109153
|
+
} | undefined;
|
|
109052
109154
|
} | undefined;
|
|
109053
109155
|
}, {
|
|
109054
109156
|
id: number;
|
|
@@ -109067,6 +109169,10 @@ declare const fboDutySchema: z.ZodObject<{
|
|
|
109067
109169
|
id: z.ZodNumber;
|
|
109068
109170
|
name: z.ZodNullable<z.ZodString>;
|
|
109069
109171
|
}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
109172
|
+
can?: {
|
|
109173
|
+
update: boolean;
|
|
109174
|
+
delete: boolean;
|
|
109175
|
+
} | undefined;
|
|
109070
109176
|
occupation?: {
|
|
109071
109177
|
id: number;
|
|
109072
109178
|
created_at: string | null;
|
|
@@ -109076,6 +109182,10 @@ declare const fboDutySchema: z.ZodObject<{
|
|
|
109076
109182
|
title: string;
|
|
109077
109183
|
author_id: number | null;
|
|
109078
109184
|
is_absence: boolean;
|
|
109185
|
+
can?: {
|
|
109186
|
+
update: boolean;
|
|
109187
|
+
delete: boolean;
|
|
109188
|
+
} | undefined;
|
|
109079
109189
|
} | undefined;
|
|
109080
109190
|
}>;
|
|
109081
109191
|
/** Served by `GET companies/{id}/fbo/meta` so no client hardcodes the list. */
|
|
@@ -109113,5 +109223,494 @@ declare const fboDecisionInputSchema: z.ZodObject<{
|
|
|
109113
109223
|
status: "accepted" | "rejected";
|
|
109114
109224
|
axis: "airport" | "fbo" | "customs";
|
|
109115
109225
|
}>;
|
|
109226
|
+
/**
|
|
109227
|
+
* How much of a traffic-board row the viewer is entitled to see: `own`
|
|
109228
|
+
* (their company's flight, full payload), `details` (a partner's flight with
|
|
109229
|
+
* contact/authorship trimmed), or `limited` (routing/time only).
|
|
109230
|
+
*/
|
|
109231
|
+
declare const fboVisibilitySchema: z.ZodEnum<["own", "details", "limited"]>;
|
|
109232
|
+
/**
|
|
109233
|
+
* Where a traffic row originates: an FBO-filed `movement` (scheduled flight
|
|
109234
|
+
* or PPR) or a flight-school `booking` surfaced on the board.
|
|
109235
|
+
*/
|
|
109236
|
+
declare const fboTrafficSourceSchema: z.ZodEnum<["movement", "booking"]>;
|
|
109237
|
+
/**
|
|
109238
|
+
* One row of the FBO traffic board. `.partial()` because `details`/`limited`
|
|
109239
|
+
* rows omit keys the viewer isn't entitled to (e.g. no `ac_call`, `contact`,
|
|
109240
|
+
* `author_id` on `limited` rows; `company_id` sent as null) — only `own` rows
|
|
109241
|
+
* carry the full `fboFlightSchema` payload plus `can`.
|
|
109242
|
+
*/
|
|
109243
|
+
declare const fboTrafficRowSchema: z.ZodObject<{
|
|
109244
|
+
type: z.ZodOptional<z.ZodEnum<["scheduledFlight", "ppr"]>>;
|
|
109245
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
109246
|
+
company_id: z.ZodOptional<z.ZodNumber>;
|
|
109247
|
+
author_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
109248
|
+
ac_call: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
109249
|
+
ac_reg: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
109250
|
+
ac_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
109251
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
109252
|
+
etdZ: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
109253
|
+
etdZ_no_time: z.ZodOptional<z.ZodBoolean>;
|
|
109254
|
+
etaZ: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
109255
|
+
etaZ_no_time: z.ZodOptional<z.ZodBoolean>;
|
|
109256
|
+
departure_airport_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
109257
|
+
departure_airport: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
109258
|
+
type: z.ZodOptional<z.ZodLiteral<"airport">>;
|
|
109259
|
+
id: z.ZodNumber;
|
|
109260
|
+
ident: z.ZodString;
|
|
109261
|
+
name: z.ZodString;
|
|
109262
|
+
country: z.ZodOptional<z.ZodString>;
|
|
109263
|
+
municipality: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
109264
|
+
iso_country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
109265
|
+
latitude_deg: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
109266
|
+
longitude_deg: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
109267
|
+
}, "strip", z.ZodTypeAny, {
|
|
109268
|
+
name: string;
|
|
109269
|
+
id: number;
|
|
109270
|
+
ident: string;
|
|
109271
|
+
type?: "airport" | undefined;
|
|
109272
|
+
municipality?: string | null | undefined;
|
|
109273
|
+
iso_country?: string | null | undefined;
|
|
109274
|
+
latitude_deg?: number | null | undefined;
|
|
109275
|
+
longitude_deg?: number | null | undefined;
|
|
109276
|
+
country?: string | undefined;
|
|
109277
|
+
}, {
|
|
109278
|
+
name: string;
|
|
109279
|
+
id: number;
|
|
109280
|
+
ident: string;
|
|
109281
|
+
type?: "airport" | undefined;
|
|
109282
|
+
municipality?: string | null | undefined;
|
|
109283
|
+
iso_country?: string | null | undefined;
|
|
109284
|
+
latitude_deg?: number | null | undefined;
|
|
109285
|
+
longitude_deg?: number | null | undefined;
|
|
109286
|
+
country?: string | undefined;
|
|
109287
|
+
}>>>;
|
|
109288
|
+
destination_airport_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
109289
|
+
destination_airport: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
109290
|
+
type: z.ZodOptional<z.ZodLiteral<"airport">>;
|
|
109291
|
+
id: z.ZodNumber;
|
|
109292
|
+
ident: z.ZodString;
|
|
109293
|
+
name: z.ZodString;
|
|
109294
|
+
country: z.ZodOptional<z.ZodString>;
|
|
109295
|
+
municipality: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
109296
|
+
iso_country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
109297
|
+
latitude_deg: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
109298
|
+
longitude_deg: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
109299
|
+
}, "strip", z.ZodTypeAny, {
|
|
109300
|
+
name: string;
|
|
109301
|
+
id: number;
|
|
109302
|
+
ident: string;
|
|
109303
|
+
type?: "airport" | undefined;
|
|
109304
|
+
municipality?: string | null | undefined;
|
|
109305
|
+
iso_country?: string | null | undefined;
|
|
109306
|
+
latitude_deg?: number | null | undefined;
|
|
109307
|
+
longitude_deg?: number | null | undefined;
|
|
109308
|
+
country?: string | undefined;
|
|
109309
|
+
}, {
|
|
109310
|
+
name: string;
|
|
109311
|
+
id: number;
|
|
109312
|
+
ident: string;
|
|
109313
|
+
type?: "airport" | undefined;
|
|
109314
|
+
municipality?: string | null | undefined;
|
|
109315
|
+
iso_country?: string | null | undefined;
|
|
109316
|
+
latitude_deg?: number | null | undefined;
|
|
109317
|
+
longitude_deg?: number | null | undefined;
|
|
109318
|
+
country?: string | undefined;
|
|
109319
|
+
}>>>;
|
|
109320
|
+
ifr: z.ZodOptional<z.ZodBoolean>;
|
|
109321
|
+
wx: z.ZodOptional<z.ZodBoolean>;
|
|
109322
|
+
landings: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
109323
|
+
remarks: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
109324
|
+
contact: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
109325
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
109326
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
109327
|
+
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
109328
|
+
company: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
109329
|
+
fax: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
109330
|
+
}, "strip", z.ZodTypeAny, {
|
|
109331
|
+
name?: string | null | undefined;
|
|
109332
|
+
email?: string | null | undefined;
|
|
109333
|
+
phone?: string | null | undefined;
|
|
109334
|
+
company?: string | null | undefined;
|
|
109335
|
+
fax?: string | null | undefined;
|
|
109336
|
+
}, {
|
|
109337
|
+
name?: string | null | undefined;
|
|
109338
|
+
email?: string | null | undefined;
|
|
109339
|
+
phone?: string | null | undefined;
|
|
109340
|
+
company?: string | null | undefined;
|
|
109341
|
+
fax?: string | null | undefined;
|
|
109342
|
+
}>>>;
|
|
109343
|
+
ground_services: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
109344
|
+
stairs: z.ZodBoolean;
|
|
109345
|
+
hangar: z.ZodBoolean;
|
|
109346
|
+
car_access: z.ZodBoolean;
|
|
109347
|
+
lifter: z.ZodBoolean;
|
|
109348
|
+
rental_car: z.ZodBoolean;
|
|
109349
|
+
refueling: z.ZodBoolean;
|
|
109350
|
+
gpu: z.ZodBoolean;
|
|
109351
|
+
}, "strip", z.ZodTypeAny, {
|
|
109352
|
+
hangar: boolean;
|
|
109353
|
+
stairs: boolean;
|
|
109354
|
+
car_access: boolean;
|
|
109355
|
+
lifter: boolean;
|
|
109356
|
+
rental_car: boolean;
|
|
109357
|
+
refueling: boolean;
|
|
109358
|
+
gpu: boolean;
|
|
109359
|
+
}, {
|
|
109360
|
+
hangar: boolean;
|
|
109361
|
+
stairs: boolean;
|
|
109362
|
+
car_access: boolean;
|
|
109363
|
+
lifter: boolean;
|
|
109364
|
+
rental_car: boolean;
|
|
109365
|
+
refueling: boolean;
|
|
109366
|
+
gpu: boolean;
|
|
109367
|
+
}>>>;
|
|
109368
|
+
acceptance_status: z.ZodOptional<z.ZodObject<{
|
|
109369
|
+
fbo: z.ZodObject<{
|
|
109370
|
+
status: z.ZodEnum<["pending", "accepted", "rejected", "unknown"]>;
|
|
109371
|
+
is_required: z.ZodBoolean;
|
|
109372
|
+
decided_by_id: z.ZodNullable<z.ZodNumber>;
|
|
109373
|
+
updated_at: z.ZodNullable<z.ZodString>;
|
|
109374
|
+
}, "strip", z.ZodTypeAny, {
|
|
109375
|
+
status: "pending" | "unknown" | "accepted" | "rejected";
|
|
109376
|
+
updated_at: string | null;
|
|
109377
|
+
is_required: boolean;
|
|
109378
|
+
decided_by_id: number | null;
|
|
109379
|
+
}, {
|
|
109380
|
+
status: "pending" | "unknown" | "accepted" | "rejected";
|
|
109381
|
+
updated_at: string | null;
|
|
109382
|
+
is_required: boolean;
|
|
109383
|
+
decided_by_id: number | null;
|
|
109384
|
+
}>;
|
|
109385
|
+
airport: z.ZodObject<{
|
|
109386
|
+
status: z.ZodEnum<["pending", "accepted", "rejected", "unknown"]>;
|
|
109387
|
+
is_required: z.ZodBoolean;
|
|
109388
|
+
decided_by_id: z.ZodNullable<z.ZodNumber>;
|
|
109389
|
+
updated_at: z.ZodNullable<z.ZodString>;
|
|
109390
|
+
}, "strip", z.ZodTypeAny, {
|
|
109391
|
+
status: "pending" | "unknown" | "accepted" | "rejected";
|
|
109392
|
+
updated_at: string | null;
|
|
109393
|
+
is_required: boolean;
|
|
109394
|
+
decided_by_id: number | null;
|
|
109395
|
+
}, {
|
|
109396
|
+
status: "pending" | "unknown" | "accepted" | "rejected";
|
|
109397
|
+
updated_at: string | null;
|
|
109398
|
+
is_required: boolean;
|
|
109399
|
+
decided_by_id: number | null;
|
|
109400
|
+
}>;
|
|
109401
|
+
customs: z.ZodObject<{
|
|
109402
|
+
status: z.ZodEnum<["pending", "accepted", "rejected", "unknown"]>;
|
|
109403
|
+
is_required: z.ZodBoolean;
|
|
109404
|
+
decided_by_id: z.ZodNullable<z.ZodNumber>;
|
|
109405
|
+
updated_at: z.ZodNullable<z.ZodString>;
|
|
109406
|
+
}, "strip", z.ZodTypeAny, {
|
|
109407
|
+
status: "pending" | "unknown" | "accepted" | "rejected";
|
|
109408
|
+
updated_at: string | null;
|
|
109409
|
+
is_required: boolean;
|
|
109410
|
+
decided_by_id: number | null;
|
|
109411
|
+
}, {
|
|
109412
|
+
status: "pending" | "unknown" | "accepted" | "rejected";
|
|
109413
|
+
updated_at: string | null;
|
|
109414
|
+
is_required: boolean;
|
|
109415
|
+
decided_by_id: number | null;
|
|
109416
|
+
}>;
|
|
109417
|
+
}, "strip", z.ZodTypeAny, {
|
|
109418
|
+
airport: {
|
|
109419
|
+
status: "pending" | "unknown" | "accepted" | "rejected";
|
|
109420
|
+
updated_at: string | null;
|
|
109421
|
+
is_required: boolean;
|
|
109422
|
+
decided_by_id: number | null;
|
|
109423
|
+
};
|
|
109424
|
+
fbo: {
|
|
109425
|
+
status: "pending" | "unknown" | "accepted" | "rejected";
|
|
109426
|
+
updated_at: string | null;
|
|
109427
|
+
is_required: boolean;
|
|
109428
|
+
decided_by_id: number | null;
|
|
109429
|
+
};
|
|
109430
|
+
customs: {
|
|
109431
|
+
status: "pending" | "unknown" | "accepted" | "rejected";
|
|
109432
|
+
updated_at: string | null;
|
|
109433
|
+
is_required: boolean;
|
|
109434
|
+
decided_by_id: number | null;
|
|
109435
|
+
};
|
|
109436
|
+
}, {
|
|
109437
|
+
airport: {
|
|
109438
|
+
status: "pending" | "unknown" | "accepted" | "rejected";
|
|
109439
|
+
updated_at: string | null;
|
|
109440
|
+
is_required: boolean;
|
|
109441
|
+
decided_by_id: number | null;
|
|
109442
|
+
};
|
|
109443
|
+
fbo: {
|
|
109444
|
+
status: "pending" | "unknown" | "accepted" | "rejected";
|
|
109445
|
+
updated_at: string | null;
|
|
109446
|
+
is_required: boolean;
|
|
109447
|
+
decided_by_id: number | null;
|
|
109448
|
+
};
|
|
109449
|
+
customs: {
|
|
109450
|
+
status: "pending" | "unknown" | "accepted" | "rejected";
|
|
109451
|
+
updated_at: string | null;
|
|
109452
|
+
is_required: boolean;
|
|
109453
|
+
decided_by_id: number | null;
|
|
109454
|
+
};
|
|
109455
|
+
}>>;
|
|
109456
|
+
company: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
109457
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
109458
|
+
name: z.ZodNullable<z.ZodString>;
|
|
109459
|
+
}, "strip", z.ZodTypeAny, {
|
|
109460
|
+
name: string | null;
|
|
109461
|
+
id: number | null;
|
|
109462
|
+
}, {
|
|
109463
|
+
name: string | null;
|
|
109464
|
+
id: number | null;
|
|
109465
|
+
}>>>>;
|
|
109466
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
109467
|
+
updated_at: z.ZodOptional<z.ZodString>;
|
|
109468
|
+
can: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
109469
|
+
update: z.ZodBoolean;
|
|
109470
|
+
delete: z.ZodBoolean;
|
|
109471
|
+
decide: z.ZodBoolean;
|
|
109472
|
+
}, "strip", z.ZodTypeAny, {
|
|
109473
|
+
update: boolean;
|
|
109474
|
+
delete: boolean;
|
|
109475
|
+
decide: boolean;
|
|
109476
|
+
}, {
|
|
109477
|
+
update: boolean;
|
|
109478
|
+
delete: boolean;
|
|
109479
|
+
decide: boolean;
|
|
109480
|
+
}>>>;
|
|
109481
|
+
} & {
|
|
109482
|
+
id: z.ZodNumber;
|
|
109483
|
+
visibility: z.ZodEnum<["own", "details", "limited"]>;
|
|
109484
|
+
source: z.ZodEnum<["movement", "booking"]>;
|
|
109485
|
+
flight_status: z.ZodEnum<["active", "pending", "rejected", "cancelled"]>;
|
|
109486
|
+
}, "strip", z.ZodTypeAny, {
|
|
109487
|
+
id: number;
|
|
109488
|
+
source: "booking" | "movement";
|
|
109489
|
+
visibility: "own" | "details" | "limited";
|
|
109490
|
+
flight_status: "pending" | "cancelled" | "active" | "rejected";
|
|
109491
|
+
company?: {
|
|
109492
|
+
name: string | null;
|
|
109493
|
+
id: number | null;
|
|
109494
|
+
} | null | undefined;
|
|
109495
|
+
type?: "scheduledFlight" | "ppr" | undefined;
|
|
109496
|
+
created_at?: string | undefined;
|
|
109497
|
+
updated_at?: string | undefined;
|
|
109498
|
+
can?: {
|
|
109499
|
+
update: boolean;
|
|
109500
|
+
delete: boolean;
|
|
109501
|
+
decide: boolean;
|
|
109502
|
+
} | undefined;
|
|
109503
|
+
company_id?: number | undefined;
|
|
109504
|
+
etdZ?: string | null | undefined;
|
|
109505
|
+
remarks?: string | null | undefined;
|
|
109506
|
+
departure_airport_id?: number | null | undefined;
|
|
109507
|
+
departure_airport?: {
|
|
109508
|
+
name: string;
|
|
109509
|
+
id: number;
|
|
109510
|
+
ident: string;
|
|
109511
|
+
type?: "airport" | undefined;
|
|
109512
|
+
municipality?: string | null | undefined;
|
|
109513
|
+
iso_country?: string | null | undefined;
|
|
109514
|
+
latitude_deg?: number | null | undefined;
|
|
109515
|
+
longitude_deg?: number | null | undefined;
|
|
109516
|
+
country?: string | undefined;
|
|
109517
|
+
} | undefined;
|
|
109518
|
+
destination_airport_id?: number | null | undefined;
|
|
109519
|
+
destination_airport?: {
|
|
109520
|
+
name: string;
|
|
109521
|
+
id: number;
|
|
109522
|
+
ident: string;
|
|
109523
|
+
type?: "airport" | undefined;
|
|
109524
|
+
municipality?: string | null | undefined;
|
|
109525
|
+
iso_country?: string | null | undefined;
|
|
109526
|
+
latitude_deg?: number | null | undefined;
|
|
109527
|
+
longitude_deg?: number | null | undefined;
|
|
109528
|
+
country?: string | undefined;
|
|
109529
|
+
} | undefined;
|
|
109530
|
+
contact?: {
|
|
109531
|
+
name?: string | null | undefined;
|
|
109532
|
+
email?: string | null | undefined;
|
|
109533
|
+
phone?: string | null | undefined;
|
|
109534
|
+
company?: string | null | undefined;
|
|
109535
|
+
fax?: string | null | undefined;
|
|
109536
|
+
} | null | undefined;
|
|
109537
|
+
ifr?: boolean | undefined;
|
|
109538
|
+
etaZ?: string | null | undefined;
|
|
109539
|
+
ac_call?: string | null | undefined;
|
|
109540
|
+
ac_type?: string | null | undefined;
|
|
109541
|
+
ac_reg?: string | null | undefined;
|
|
109542
|
+
author_id?: number | null | undefined;
|
|
109543
|
+
operator?: string | null | undefined;
|
|
109544
|
+
uuid?: string | undefined;
|
|
109545
|
+
etdZ_no_time?: boolean | undefined;
|
|
109546
|
+
etaZ_no_time?: boolean | undefined;
|
|
109547
|
+
wx?: boolean | undefined;
|
|
109548
|
+
landings?: number | null | undefined;
|
|
109549
|
+
ground_services?: {
|
|
109550
|
+
hangar: boolean;
|
|
109551
|
+
stairs: boolean;
|
|
109552
|
+
car_access: boolean;
|
|
109553
|
+
lifter: boolean;
|
|
109554
|
+
rental_car: boolean;
|
|
109555
|
+
refueling: boolean;
|
|
109556
|
+
gpu: boolean;
|
|
109557
|
+
} | null | undefined;
|
|
109558
|
+
acceptance_status?: {
|
|
109559
|
+
airport: {
|
|
109560
|
+
status: "pending" | "unknown" | "accepted" | "rejected";
|
|
109561
|
+
updated_at: string | null;
|
|
109562
|
+
is_required: boolean;
|
|
109563
|
+
decided_by_id: number | null;
|
|
109564
|
+
};
|
|
109565
|
+
fbo: {
|
|
109566
|
+
status: "pending" | "unknown" | "accepted" | "rejected";
|
|
109567
|
+
updated_at: string | null;
|
|
109568
|
+
is_required: boolean;
|
|
109569
|
+
decided_by_id: number | null;
|
|
109570
|
+
};
|
|
109571
|
+
customs: {
|
|
109572
|
+
status: "pending" | "unknown" | "accepted" | "rejected";
|
|
109573
|
+
updated_at: string | null;
|
|
109574
|
+
is_required: boolean;
|
|
109575
|
+
decided_by_id: number | null;
|
|
109576
|
+
};
|
|
109577
|
+
} | undefined;
|
|
109578
|
+
}, {
|
|
109579
|
+
id: number;
|
|
109580
|
+
source: "booking" | "movement";
|
|
109581
|
+
visibility: "own" | "details" | "limited";
|
|
109582
|
+
flight_status: "pending" | "cancelled" | "active" | "rejected";
|
|
109583
|
+
company?: {
|
|
109584
|
+
name: string | null;
|
|
109585
|
+
id: number | null;
|
|
109586
|
+
} | null | undefined;
|
|
109587
|
+
type?: "scheduledFlight" | "ppr" | undefined;
|
|
109588
|
+
created_at?: string | undefined;
|
|
109589
|
+
updated_at?: string | undefined;
|
|
109590
|
+
can?: {
|
|
109591
|
+
update: boolean;
|
|
109592
|
+
delete: boolean;
|
|
109593
|
+
decide: boolean;
|
|
109594
|
+
} | undefined;
|
|
109595
|
+
company_id?: number | undefined;
|
|
109596
|
+
etdZ?: string | null | undefined;
|
|
109597
|
+
remarks?: string | null | undefined;
|
|
109598
|
+
departure_airport_id?: number | null | undefined;
|
|
109599
|
+
departure_airport?: {
|
|
109600
|
+
name: string;
|
|
109601
|
+
id: number;
|
|
109602
|
+
ident: string;
|
|
109603
|
+
type?: "airport" | undefined;
|
|
109604
|
+
municipality?: string | null | undefined;
|
|
109605
|
+
iso_country?: string | null | undefined;
|
|
109606
|
+
latitude_deg?: number | null | undefined;
|
|
109607
|
+
longitude_deg?: number | null | undefined;
|
|
109608
|
+
country?: string | undefined;
|
|
109609
|
+
} | undefined;
|
|
109610
|
+
destination_airport_id?: number | null | undefined;
|
|
109611
|
+
destination_airport?: {
|
|
109612
|
+
name: string;
|
|
109613
|
+
id: number;
|
|
109614
|
+
ident: string;
|
|
109615
|
+
type?: "airport" | undefined;
|
|
109616
|
+
municipality?: string | null | undefined;
|
|
109617
|
+
iso_country?: string | null | undefined;
|
|
109618
|
+
latitude_deg?: number | null | undefined;
|
|
109619
|
+
longitude_deg?: number | null | undefined;
|
|
109620
|
+
country?: string | undefined;
|
|
109621
|
+
} | undefined;
|
|
109622
|
+
contact?: {
|
|
109623
|
+
name?: string | null | undefined;
|
|
109624
|
+
email?: string | null | undefined;
|
|
109625
|
+
phone?: string | null | undefined;
|
|
109626
|
+
company?: string | null | undefined;
|
|
109627
|
+
fax?: string | null | undefined;
|
|
109628
|
+
} | null | undefined;
|
|
109629
|
+
ifr?: boolean | undefined;
|
|
109630
|
+
etaZ?: string | null | undefined;
|
|
109631
|
+
ac_call?: string | null | undefined;
|
|
109632
|
+
ac_type?: string | null | undefined;
|
|
109633
|
+
ac_reg?: string | null | undefined;
|
|
109634
|
+
author_id?: number | null | undefined;
|
|
109635
|
+
operator?: string | null | undefined;
|
|
109636
|
+
uuid?: string | undefined;
|
|
109637
|
+
etdZ_no_time?: boolean | undefined;
|
|
109638
|
+
etaZ_no_time?: boolean | undefined;
|
|
109639
|
+
wx?: boolean | undefined;
|
|
109640
|
+
landings?: number | null | undefined;
|
|
109641
|
+
ground_services?: {
|
|
109642
|
+
hangar: boolean;
|
|
109643
|
+
stairs: boolean;
|
|
109644
|
+
car_access: boolean;
|
|
109645
|
+
lifter: boolean;
|
|
109646
|
+
rental_car: boolean;
|
|
109647
|
+
refueling: boolean;
|
|
109648
|
+
gpu: boolean;
|
|
109649
|
+
} | null | undefined;
|
|
109650
|
+
acceptance_status?: {
|
|
109651
|
+
airport: {
|
|
109652
|
+
status: "pending" | "unknown" | "accepted" | "rejected";
|
|
109653
|
+
updated_at: string | null;
|
|
109654
|
+
is_required: boolean;
|
|
109655
|
+
decided_by_id: number | null;
|
|
109656
|
+
};
|
|
109657
|
+
fbo: {
|
|
109658
|
+
status: "pending" | "unknown" | "accepted" | "rejected";
|
|
109659
|
+
updated_at: string | null;
|
|
109660
|
+
is_required: boolean;
|
|
109661
|
+
decided_by_id: number | null;
|
|
109662
|
+
};
|
|
109663
|
+
customs: {
|
|
109664
|
+
status: "pending" | "unknown" | "accepted" | "rejected";
|
|
109665
|
+
updated_at: string | null;
|
|
109666
|
+
is_required: boolean;
|
|
109667
|
+
decided_by_id: number | null;
|
|
109668
|
+
};
|
|
109669
|
+
} | undefined;
|
|
109670
|
+
}>;
|
|
109671
|
+
/** System roles served by `GET companies/{id}/fbo/meta` for role-assignment UI. */
|
|
109672
|
+
declare const FBO_SYSTEM_ROLES: readonly ["fboOperator", "fboFlightManager", "fboDutyPlanner", "fboDutyViewer", "fboTrafficViewer", "fboTrafficObserver", "fboSelfApprover"];
|
|
109673
|
+
declare const fboSystemRoleSchema: z.ZodEnum<["fboOperator", "fboFlightManager", "fboDutyPlanner", "fboDutyViewer", "fboTrafficViewer", "fboTrafficObserver", "fboSelfApprover"]>;
|
|
109674
|
+
/** One row of an FBO company's member roster, with its assigned system roles. */
|
|
109675
|
+
declare const fboCompanyMemberSchema: z.ZodObject<{
|
|
109676
|
+
id: z.ZodNumber;
|
|
109677
|
+
user_id: z.ZodNumber;
|
|
109678
|
+
name: z.ZodString;
|
|
109679
|
+
email: z.ZodNullable<z.ZodString>;
|
|
109680
|
+
status: z.ZodString;
|
|
109681
|
+
roles: z.ZodArray<z.ZodString, "many">;
|
|
109682
|
+
can: z.ZodOptional<z.ZodObject<{
|
|
109683
|
+
update: z.ZodBoolean;
|
|
109684
|
+
delete: z.ZodBoolean;
|
|
109685
|
+
}, "strip", z.ZodTypeAny, {
|
|
109686
|
+
update: boolean;
|
|
109687
|
+
delete: boolean;
|
|
109688
|
+
}, {
|
|
109689
|
+
update: boolean;
|
|
109690
|
+
delete: boolean;
|
|
109691
|
+
}>>;
|
|
109692
|
+
}, "strip", z.ZodTypeAny, {
|
|
109693
|
+
name: string;
|
|
109694
|
+
email: string | null;
|
|
109695
|
+
status: string;
|
|
109696
|
+
id: number;
|
|
109697
|
+
user_id: number;
|
|
109698
|
+
roles: string[];
|
|
109699
|
+
can?: {
|
|
109700
|
+
update: boolean;
|
|
109701
|
+
delete: boolean;
|
|
109702
|
+
} | undefined;
|
|
109703
|
+
}, {
|
|
109704
|
+
name: string;
|
|
109705
|
+
email: string | null;
|
|
109706
|
+
status: string;
|
|
109707
|
+
id: number;
|
|
109708
|
+
user_id: number;
|
|
109709
|
+
roles: string[];
|
|
109710
|
+
can?: {
|
|
109711
|
+
update: boolean;
|
|
109712
|
+
delete: boolean;
|
|
109713
|
+
} | undefined;
|
|
109714
|
+
}>;
|
|
109116
109715
|
|
|
109117
|
-
export {
|
|
109716
|
+
export { type SignOffTrainingElementForm as $, type AttachSyllabusElementForm as A, BaseModel as B, type CourseCheckSyllabus as C, type GradingScaleForm as D, type EnrollmentTrainingElement as E, FBO_SYSTEM_ROLES as F, type GradeHistoryItem as G, GradingScaleFormSchema as H, type GradingScalePoint as I, type ImpersonationParticipant as J, type ImpersonationState as K, type InvalidateTrainingRecordResponse as L, ReorderSyllabusElementItemSchema as M, type RequiredForm as N, RequiredFormSchema as O, type RequiredFormVia as P, type RequiredFormViaCrew as Q, type ReorderSyllabusElementItem as R, RequiredFormViaCrewSchema as S, RequiredFormViaSchema as T, type ReviewFormSubmissionInput as U, type SchemaField as V, SchemaFieldSchema as W, type SchemaSection as X, SchemaSectionSchema as Y, type ShowWhen as Z, ShowWhenSchema as _, AttachSyllabusElementFormSchema as a, courseEnrollmentMetricsSchema as a$, SignOffTrainingElementFormSchema as a0, type Signature as a1, SignatureSchema as a2, type StoreSyllabusForm as a3, StoreSyllabusFormSchema as a4, type SubmissionFile as a5, SubmissionFileSchema as a6, type Syllabus as a7, type SyllabusElement as a8, type SyllabusElementMutationResult as a9, type UpsertTrainingRecordForm as aA, UpsertTrainingRecordFormSchema as aB, type UsedByCourse as aC, activitySchema as aD, addressSchema as aE, aircraftPositionSchema as aF, aircraftRatingSchema as aG, airplaneIssueSchema as aH, airplaneIssueSeverityEnum as aI, airplaneIssueStatusEnum as aJ, airplanePermissionSchema as aK, airplaneSchema as aL, airplaneShareInviteSchema as aM, airportSchema as aN, alertSchema as aO, allowedDocumentTypeSchema as aP, approachTypeSchema as aQ, availSchema as aR, baseMembershipSchema as aS, billingProfileSchema as aT, bookingSchema as aU, bookingWaypointSchema as aV, commentSchema as aW, companyIdentitySchema as aX, companySchema as aY, contactAttributeSchema as aZ, courseCheckSyllabusSchema as a_, type SyllabusKind as aa, SyllabusKindEnum as ab, type SyllabusRolloutResult as ac, type SyllabusRolloutResultItem as ad, type SyllabusRolloutSkippedItem as ae, type TemplateSchema as af, TemplateSchemaSchema as ag, type TrainingElement as ah, type TrainingElementForm as ai, TrainingElementFormSchema as aj, type TrainingElementKind as ak, TrainingElementKindEnum as al, type TrainingRecord as am, type TrainingRecordEntry as an, type TrainingRecordEntryInput as ao, type TrainingRecordResult as ap, TrainingRecordResultEnum as aq, type TrainingRecordStatus as ar, TrainingRecordStatusEnum as as, type TrainingSignature as at, type TrainingTemplatePack as au, type UpdateFormTemplateInput as av, type UpdateSyllabusElementForm as aw, UpdateSyllabusElementFormSchema as ax, type UpdateSyllabusForm as ay, UpdateSyllabusFormSchema as az, type CreateFormSubmissionInput as b, qualificationSchema as b$, courseEnrollmentSchema as b0, courseFeeSchema as b1, courseSchema as b2, createSyllabusFromTemplateResultSchema as b3, documentComplianceStatus as b4, documentRequirement as b5, documentRequirementGroup as b6, documentRequirementGroupAssignment as b7, documentSchema as b8, documentShareSchema as b9, feeCategoryOptionsSchema as bA, feeSchema as bB, flightLogSchema as bC, fuelUnitSchema as bD, gradeHistoryItemSchema as bE, gradingScalePointSchema as bF, gradingScaleSchema as bG, impersonationParticipantSchema as bH, impersonationStateSchema as bI, invalidateTrainingRecordResponseSchema as bJ, invoiceSchema as bK, landingFeeSchema as bL, landingSchema as bM, maintenanceEventEstimationSchema as bN, maintenanceEventSchema as bO, maintenanceStatusSchema as bP, mediaCollection as bQ, mediaSchema as bR, membershipIdentitySchema as bS, membershipSchema as bT, membershipSignupSchema as bU, nestedMembershipSchema as bV, postSchema as bW, postSubjectSchema as bX, prePaidPackageAssignmentSchema as bY, prePaidPackageSchema as bZ, priceSchema as b_, documentType as ba, enrollmentTrainingElementSchema as bb, eventSchema as bc, expenseItemSchema as bd, expenseSchema as be, extendedAirplaneSchema as bf, fboAcceptanceAxisSchema as bg, fboAcceptanceStatusSchema as bh, fboCompanyMemberSchema as bi, fboCompanyProfileSchema as bj, fboDecisionAxisSchema as bk, fboDecisionInputSchema as bl, fboDecisionSchema as bm, fboDutySchema as bn, fboFlightCanSchema as bo, fboFlightSchema as bp, fboFlightStatusSchema as bq, fboFlightTypeSchema as br, fboGroundServicesSchema as bs, fboOccupationSchema as bt, fboRoleSchema as bu, fboRowCanSchema as bv, fboSystemRoleSchema as bw, fboTrafficRowSchema as bx, fboTrafficSourceSchema as by, fboVisibilitySchema as bz, type CreateFormTemplateAssignmentInput as c, recurringFlightSchema as c0, roleSchema as c1, runwaySchema as c2, scheduledFlightSchema as c3, settingSchema as c4, specialFlightSchema as c5, syllabusElementMutationResultSchema as c6, syllabusElementSchema as c7, syllabusRolloutResultItemSchema as c8, syllabusRolloutResultSchema as c9, syllabusRolloutSkippedItemSchema as ca, syllabusSchema as cb, tagSchema as cc, ticketSchema as cd, trainingElementSchema as ce, trainingRecordEntryInputSchema as cf, trainingRecordEntrySchema as cg, trainingRecordSchema as ch, trainingSignatureSchema as ci, trainingTemplatePackSchema as cj, usedByCourseSchema as ck, userAircraftRatingSchema as cl, userQualificationSchema as cm, userSchema as cn, waypointSchema as co, zContactDTO as cp, zMoneyObject as cq, zNetGross as cr, zNullableBool as cs, type CreateFormTemplateInput as d, type CreateSyllabusFromTemplateForm as e, CreateSyllabusFromTemplateFormSchema as f, type CreateSyllabusFromTemplateResult as g, type EnrollmentTrainingStatus as h, EnrollmentTrainingStatusEnum as i, type FieldLabel as j, FieldLabelSchema as k, FormFieldType as l, type FormSubmission as m, FormSubmissionSchema as n, type FormSubmissionShare as o, type FormSubmissionShareBase as p, FormSubmissionShareBaseSchema as q, FormSubmissionShareSchema as r, FormSubmissionSource as s, FormSubmissionStatus as t, type FormTemplate as u, type FormTemplateAssignment as v, FormTemplateAssignmentSchema as w, FormTemplateSchema as x, type FuelUnit as y, type GradingScale as z };
|