@updraft-solutions/mcrit-sdk 0.14.14 → 0.14.16
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-6QUSSX7K.js → chunk-7Q7G5R47.js} +14 -0
- package/dist/{chunk-CPCRSUAV.cjs → chunk-VQAVNMFC.cjs} +15 -1
- package/dist/{fbo-W-37-8KP.d.cts → fbo-B-SGYEy-.d.cts} +864 -765
- package/dist/{fbo-W-37-8KP.d.ts → fbo-B-SGYEy-.d.ts} +864 -765
- package/dist/index.cjs +4 -2
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -1
- package/dist/schemas/index.cjs +4 -2
- package/dist/schemas/index.d.cts +15 -15
- package/dist/schemas/index.d.ts +15 -15
- package/dist/schemas/index.js +3 -1
- package/dist/types/index.d.cts +10 -2
- package/dist/types/index.d.ts +10 -2
- package/package.json +1 -1
- package/src/index.ts +1 -0
- package/src/schemas/fbo.spec.ts +66 -0
- package/src/schemas/fbo.ts +21 -0
- package/src/schemas/models.ts +7 -0
- package/src/types/fbo.ts +1 -0
- package/src/types/roles.ts +7 -0
|
@@ -3672,8 +3672,6 @@ declare const baseMembershipSchema: z.ZodObject<{
|
|
|
3672
3672
|
delete?: boolean | null | undefined;
|
|
3673
3673
|
}>>;
|
|
3674
3674
|
}, "strip", z.ZodTypeAny, {
|
|
3675
|
-
student: boolean;
|
|
3676
|
-
instructor: boolean;
|
|
3677
3675
|
name: string;
|
|
3678
3676
|
type: "membership";
|
|
3679
3677
|
status: string;
|
|
@@ -3681,9 +3679,11 @@ declare const baseMembershipSchema: z.ZodObject<{
|
|
|
3681
3679
|
created_at: string;
|
|
3682
3680
|
updated_at: string;
|
|
3683
3681
|
company_id: number;
|
|
3682
|
+
instructor: boolean;
|
|
3684
3683
|
user_id: number;
|
|
3685
3684
|
admin: boolean;
|
|
3686
3685
|
accountant: boolean;
|
|
3686
|
+
student: boolean;
|
|
3687
3687
|
content_creator: boolean;
|
|
3688
3688
|
charter_client: boolean;
|
|
3689
3689
|
phone?: string | null | undefined;
|
|
@@ -3811,8 +3811,6 @@ declare const baseMembershipSchema: z.ZodObject<{
|
|
|
3811
3811
|
name: z.ZodString;
|
|
3812
3812
|
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
3813
3813
|
}, {
|
|
3814
|
-
student: boolean;
|
|
3815
|
-
instructor: boolean;
|
|
3816
3814
|
name: string;
|
|
3817
3815
|
type: "membership";
|
|
3818
3816
|
status: string;
|
|
@@ -3820,9 +3818,11 @@ declare const baseMembershipSchema: z.ZodObject<{
|
|
|
3820
3818
|
created_at: string;
|
|
3821
3819
|
updated_at: string;
|
|
3822
3820
|
company_id: number;
|
|
3821
|
+
instructor: boolean;
|
|
3823
3822
|
user_id: number;
|
|
3824
3823
|
admin: boolean;
|
|
3825
3824
|
accountant: boolean;
|
|
3825
|
+
student: boolean;
|
|
3826
3826
|
content_creator: boolean;
|
|
3827
3827
|
charter_client: boolean;
|
|
3828
3828
|
phone?: string | null | undefined;
|
|
@@ -4679,8 +4679,6 @@ declare const membershipSchema: z.ZodObject<{
|
|
|
4679
4679
|
created_at: z.ZodString;
|
|
4680
4680
|
updated_at: z.ZodString;
|
|
4681
4681
|
}, "strip", z.ZodTypeAny, {
|
|
4682
|
-
student: boolean;
|
|
4683
|
-
instructor: boolean;
|
|
4684
4682
|
name: string;
|
|
4685
4683
|
type: "membership";
|
|
4686
4684
|
status: string;
|
|
@@ -4688,9 +4686,11 @@ declare const membershipSchema: z.ZodObject<{
|
|
|
4688
4686
|
created_at: string;
|
|
4689
4687
|
updated_at: string;
|
|
4690
4688
|
company_id: number;
|
|
4689
|
+
instructor: boolean;
|
|
4691
4690
|
user_id: number;
|
|
4692
4691
|
admin: boolean;
|
|
4693
4692
|
accountant: boolean;
|
|
4693
|
+
student: boolean;
|
|
4694
4694
|
content_creator: boolean;
|
|
4695
4695
|
charter_client: boolean;
|
|
4696
4696
|
confirmed_at: string | null;
|
|
@@ -4820,8 +4820,6 @@ declare const membershipSchema: z.ZodObject<{
|
|
|
4820
4820
|
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
4821
4821
|
remarks?: string | null | undefined;
|
|
4822
4822
|
}, {
|
|
4823
|
-
student: boolean;
|
|
4824
|
-
instructor: boolean;
|
|
4825
4823
|
name: string;
|
|
4826
4824
|
type: "membership";
|
|
4827
4825
|
status: string;
|
|
@@ -4829,9 +4827,11 @@ declare const membershipSchema: z.ZodObject<{
|
|
|
4829
4827
|
created_at: string;
|
|
4830
4828
|
updated_at: string;
|
|
4831
4829
|
company_id: number;
|
|
4830
|
+
instructor: boolean;
|
|
4832
4831
|
user_id: number;
|
|
4833
4832
|
admin: boolean;
|
|
4834
4833
|
accountant: boolean;
|
|
4834
|
+
student: boolean;
|
|
4835
4835
|
content_creator: boolean;
|
|
4836
4836
|
charter_client: boolean;
|
|
4837
4837
|
confirmed_at: string | null;
|
|
@@ -5770,7 +5770,7 @@ declare const feeSchema: z.ZodObject<{
|
|
|
5770
5770
|
source_course_id?: number | null | undefined;
|
|
5771
5771
|
source_key?: string | null | undefined;
|
|
5772
5772
|
is_derived?: boolean | undefined;
|
|
5773
|
-
relation?: ("
|
|
5773
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
5774
5774
|
payment_per?: string | null | undefined;
|
|
5775
5775
|
course_count?: number | undefined;
|
|
5776
5776
|
count?: number | undefined;
|
|
@@ -5907,7 +5907,7 @@ declare const feeSchema: z.ZodObject<{
|
|
|
5907
5907
|
source_course_id?: number | null | undefined;
|
|
5908
5908
|
source_key?: string | null | undefined;
|
|
5909
5909
|
is_derived?: boolean | undefined;
|
|
5910
|
-
relation?: ("
|
|
5910
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
5911
5911
|
payment_per?: string | null | undefined;
|
|
5912
5912
|
course_count?: number | undefined;
|
|
5913
5913
|
count?: number | undefined;
|
|
@@ -6635,7 +6635,7 @@ declare const courseFeeSchema: z.ZodObject<{
|
|
|
6635
6635
|
source_course_id?: number | null | undefined;
|
|
6636
6636
|
source_key?: string | null | undefined;
|
|
6637
6637
|
is_derived?: boolean | undefined;
|
|
6638
|
-
relation?: ("
|
|
6638
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
6639
6639
|
payment_per?: string | null | undefined;
|
|
6640
6640
|
course_count?: number | undefined;
|
|
6641
6641
|
count?: number | undefined;
|
|
@@ -6772,7 +6772,7 @@ declare const courseFeeSchema: z.ZodObject<{
|
|
|
6772
6772
|
source_course_id?: number | null | undefined;
|
|
6773
6773
|
source_key?: string | null | undefined;
|
|
6774
6774
|
is_derived?: boolean | undefined;
|
|
6775
|
-
relation?: ("
|
|
6775
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
6776
6776
|
payment_per?: string | null | undefined;
|
|
6777
6777
|
course_count?: number | undefined;
|
|
6778
6778
|
count?: number | undefined;
|
|
@@ -7758,7 +7758,7 @@ declare const airplaneSchema: z.ZodObject<{
|
|
|
7758
7758
|
source_course_id?: number | null | undefined;
|
|
7759
7759
|
source_key?: string | null | undefined;
|
|
7760
7760
|
is_derived?: boolean | undefined;
|
|
7761
|
-
relation?: ("
|
|
7761
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
7762
7762
|
payment_per?: string | null | undefined;
|
|
7763
7763
|
course_count?: number | undefined;
|
|
7764
7764
|
count?: number | undefined;
|
|
@@ -7895,7 +7895,7 @@ declare const airplaneSchema: z.ZodObject<{
|
|
|
7895
7895
|
source_course_id?: number | null | undefined;
|
|
7896
7896
|
source_key?: string | null | undefined;
|
|
7897
7897
|
is_derived?: boolean | undefined;
|
|
7898
|
-
relation?: ("
|
|
7898
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
7899
7899
|
payment_per?: string | null | undefined;
|
|
7900
7900
|
course_count?: number | undefined;
|
|
7901
7901
|
count?: number | undefined;
|
|
@@ -8613,7 +8613,7 @@ declare const airplaneSchema: z.ZodObject<{
|
|
|
8613
8613
|
source_course_id?: number | null | undefined;
|
|
8614
8614
|
source_key?: string | null | undefined;
|
|
8615
8615
|
is_derived?: boolean | undefined;
|
|
8616
|
-
relation?: ("
|
|
8616
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
8617
8617
|
payment_per?: string | null | undefined;
|
|
8618
8618
|
course_count?: number | undefined;
|
|
8619
8619
|
count?: number | undefined;
|
|
@@ -8750,7 +8750,7 @@ declare const airplaneSchema: z.ZodObject<{
|
|
|
8750
8750
|
source_course_id?: number | null | undefined;
|
|
8751
8751
|
source_key?: string | null | undefined;
|
|
8752
8752
|
is_derived?: boolean | undefined;
|
|
8753
|
-
relation?: ("
|
|
8753
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
8754
8754
|
payment_per?: string | null | undefined;
|
|
8755
8755
|
course_count?: number | undefined;
|
|
8756
8756
|
count?: number | undefined;
|
|
@@ -8778,14 +8778,14 @@ declare const airplaneSchema: z.ZodObject<{
|
|
|
8778
8778
|
kind: z.ZodString;
|
|
8779
8779
|
location_map_id: z.ZodNumber;
|
|
8780
8780
|
}, "strip", z.ZodTypeAny, {
|
|
8781
|
-
kind: string;
|
|
8782
8781
|
name: string | null;
|
|
8783
8782
|
id: number;
|
|
8783
|
+
kind: string;
|
|
8784
8784
|
location_map_id: number;
|
|
8785
8785
|
}, {
|
|
8786
|
-
kind: string;
|
|
8787
8786
|
name: string | null;
|
|
8788
8787
|
id: number;
|
|
8788
|
+
kind: string;
|
|
8789
8789
|
location_map_id: number;
|
|
8790
8790
|
}>>>;
|
|
8791
8791
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -9072,7 +9072,7 @@ declare const airplaneSchema: z.ZodObject<{
|
|
|
9072
9072
|
source_course_id?: number | null | undefined;
|
|
9073
9073
|
source_key?: string | null | undefined;
|
|
9074
9074
|
is_derived?: boolean | undefined;
|
|
9075
|
-
relation?: ("
|
|
9075
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
9076
9076
|
payment_per?: string | null | undefined;
|
|
9077
9077
|
course_count?: number | undefined;
|
|
9078
9078
|
count?: number | undefined;
|
|
@@ -9211,7 +9211,7 @@ declare const airplaneSchema: z.ZodObject<{
|
|
|
9211
9211
|
source_course_id?: number | null | undefined;
|
|
9212
9212
|
source_key?: string | null | undefined;
|
|
9213
9213
|
is_derived?: boolean | undefined;
|
|
9214
|
-
relation?: ("
|
|
9214
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
9215
9215
|
payment_per?: string | null | undefined;
|
|
9216
9216
|
course_count?: number | undefined;
|
|
9217
9217
|
count?: number | undefined;
|
|
@@ -9234,9 +9234,9 @@ declare const airplaneSchema: z.ZodObject<{
|
|
|
9234
9234
|
parking_lng?: number | null | undefined;
|
|
9235
9235
|
parking_lat?: number | null | undefined;
|
|
9236
9236
|
hangar?: {
|
|
9237
|
-
kind: string;
|
|
9238
9237
|
name: string | null;
|
|
9239
9238
|
id: number;
|
|
9239
|
+
kind: string;
|
|
9240
9240
|
location_map_id: number;
|
|
9241
9241
|
} | null | undefined;
|
|
9242
9242
|
capacity?: number | undefined;
|
|
@@ -9485,7 +9485,7 @@ declare const airplaneSchema: z.ZodObject<{
|
|
|
9485
9485
|
source_course_id?: number | null | undefined;
|
|
9486
9486
|
source_key?: string | null | undefined;
|
|
9487
9487
|
is_derived?: boolean | undefined;
|
|
9488
|
-
relation?: ("
|
|
9488
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
9489
9489
|
payment_per?: string | null | undefined;
|
|
9490
9490
|
course_count?: number | undefined;
|
|
9491
9491
|
count?: number | undefined;
|
|
@@ -9624,7 +9624,7 @@ declare const airplaneSchema: z.ZodObject<{
|
|
|
9624
9624
|
source_course_id?: number | null | undefined;
|
|
9625
9625
|
source_key?: string | null | undefined;
|
|
9626
9626
|
is_derived?: boolean | undefined;
|
|
9627
|
-
relation?: ("
|
|
9627
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
9628
9628
|
payment_per?: string | null | undefined;
|
|
9629
9629
|
course_count?: number | undefined;
|
|
9630
9630
|
count?: number | undefined;
|
|
@@ -9647,9 +9647,9 @@ declare const airplaneSchema: z.ZodObject<{
|
|
|
9647
9647
|
parking_lng?: number | null | undefined;
|
|
9648
9648
|
parking_lat?: number | null | undefined;
|
|
9649
9649
|
hangar?: {
|
|
9650
|
-
kind: string;
|
|
9651
9650
|
name: string | null;
|
|
9652
9651
|
id: number;
|
|
9652
|
+
kind: string;
|
|
9653
9653
|
location_map_id: number;
|
|
9654
9654
|
} | null | undefined;
|
|
9655
9655
|
capacity?: number | undefined;
|
|
@@ -10767,7 +10767,7 @@ declare const airplanePermissionSchema: z.ZodObject<{
|
|
|
10767
10767
|
source_course_id?: number | null | undefined;
|
|
10768
10768
|
source_key?: string | null | undefined;
|
|
10769
10769
|
is_derived?: boolean | undefined;
|
|
10770
|
-
relation?: ("
|
|
10770
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
10771
10771
|
payment_per?: string | null | undefined;
|
|
10772
10772
|
course_count?: number | undefined;
|
|
10773
10773
|
count?: number | undefined;
|
|
@@ -10904,7 +10904,7 @@ declare const airplanePermissionSchema: z.ZodObject<{
|
|
|
10904
10904
|
source_course_id?: number | null | undefined;
|
|
10905
10905
|
source_key?: string | null | undefined;
|
|
10906
10906
|
is_derived?: boolean | undefined;
|
|
10907
|
-
relation?: ("
|
|
10907
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
10908
10908
|
payment_per?: string | null | undefined;
|
|
10909
10909
|
course_count?: number | undefined;
|
|
10910
10910
|
count?: number | undefined;
|
|
@@ -11622,7 +11622,7 @@ declare const airplanePermissionSchema: z.ZodObject<{
|
|
|
11622
11622
|
source_course_id?: number | null | undefined;
|
|
11623
11623
|
source_key?: string | null | undefined;
|
|
11624
11624
|
is_derived?: boolean | undefined;
|
|
11625
|
-
relation?: ("
|
|
11625
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
11626
11626
|
payment_per?: string | null | undefined;
|
|
11627
11627
|
course_count?: number | undefined;
|
|
11628
11628
|
count?: number | undefined;
|
|
@@ -11759,7 +11759,7 @@ declare const airplanePermissionSchema: z.ZodObject<{
|
|
|
11759
11759
|
source_course_id?: number | null | undefined;
|
|
11760
11760
|
source_key?: string | null | undefined;
|
|
11761
11761
|
is_derived?: boolean | undefined;
|
|
11762
|
-
relation?: ("
|
|
11762
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
11763
11763
|
payment_per?: string | null | undefined;
|
|
11764
11764
|
course_count?: number | undefined;
|
|
11765
11765
|
count?: number | undefined;
|
|
@@ -11787,14 +11787,14 @@ declare const airplanePermissionSchema: z.ZodObject<{
|
|
|
11787
11787
|
kind: z.ZodString;
|
|
11788
11788
|
location_map_id: z.ZodNumber;
|
|
11789
11789
|
}, "strip", z.ZodTypeAny, {
|
|
11790
|
-
kind: string;
|
|
11791
11790
|
name: string | null;
|
|
11792
11791
|
id: number;
|
|
11792
|
+
kind: string;
|
|
11793
11793
|
location_map_id: number;
|
|
11794
11794
|
}, {
|
|
11795
|
-
kind: string;
|
|
11796
11795
|
name: string | null;
|
|
11797
11796
|
id: number;
|
|
11797
|
+
kind: string;
|
|
11798
11798
|
location_map_id: number;
|
|
11799
11799
|
}>>>;
|
|
11800
11800
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -12081,7 +12081,7 @@ declare const airplanePermissionSchema: z.ZodObject<{
|
|
|
12081
12081
|
source_course_id?: number | null | undefined;
|
|
12082
12082
|
source_key?: string | null | undefined;
|
|
12083
12083
|
is_derived?: boolean | undefined;
|
|
12084
|
-
relation?: ("
|
|
12084
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
12085
12085
|
payment_per?: string | null | undefined;
|
|
12086
12086
|
course_count?: number | undefined;
|
|
12087
12087
|
count?: number | undefined;
|
|
@@ -12220,7 +12220,7 @@ declare const airplanePermissionSchema: z.ZodObject<{
|
|
|
12220
12220
|
source_course_id?: number | null | undefined;
|
|
12221
12221
|
source_key?: string | null | undefined;
|
|
12222
12222
|
is_derived?: boolean | undefined;
|
|
12223
|
-
relation?: ("
|
|
12223
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
12224
12224
|
payment_per?: string | null | undefined;
|
|
12225
12225
|
course_count?: number | undefined;
|
|
12226
12226
|
count?: number | undefined;
|
|
@@ -12243,9 +12243,9 @@ declare const airplanePermissionSchema: z.ZodObject<{
|
|
|
12243
12243
|
parking_lng?: number | null | undefined;
|
|
12244
12244
|
parking_lat?: number | null | undefined;
|
|
12245
12245
|
hangar?: {
|
|
12246
|
-
kind: string;
|
|
12247
12246
|
name: string | null;
|
|
12248
12247
|
id: number;
|
|
12248
|
+
kind: string;
|
|
12249
12249
|
location_map_id: number;
|
|
12250
12250
|
} | null | undefined;
|
|
12251
12251
|
capacity?: number | undefined;
|
|
@@ -12494,7 +12494,7 @@ declare const airplanePermissionSchema: z.ZodObject<{
|
|
|
12494
12494
|
source_course_id?: number | null | undefined;
|
|
12495
12495
|
source_key?: string | null | undefined;
|
|
12496
12496
|
is_derived?: boolean | undefined;
|
|
12497
|
-
relation?: ("
|
|
12497
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
12498
12498
|
payment_per?: string | null | undefined;
|
|
12499
12499
|
course_count?: number | undefined;
|
|
12500
12500
|
count?: number | undefined;
|
|
@@ -12633,7 +12633,7 @@ declare const airplanePermissionSchema: z.ZodObject<{
|
|
|
12633
12633
|
source_course_id?: number | null | undefined;
|
|
12634
12634
|
source_key?: string | null | undefined;
|
|
12635
12635
|
is_derived?: boolean | undefined;
|
|
12636
|
-
relation?: ("
|
|
12636
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
12637
12637
|
payment_per?: string | null | undefined;
|
|
12638
12638
|
course_count?: number | undefined;
|
|
12639
12639
|
count?: number | undefined;
|
|
@@ -12656,9 +12656,9 @@ declare const airplanePermissionSchema: z.ZodObject<{
|
|
|
12656
12656
|
parking_lng?: number | null | undefined;
|
|
12657
12657
|
parking_lat?: number | null | undefined;
|
|
12658
12658
|
hangar?: {
|
|
12659
|
-
kind: string;
|
|
12660
12659
|
name: string | null;
|
|
12661
12660
|
id: number;
|
|
12661
|
+
kind: string;
|
|
12662
12662
|
location_map_id: number;
|
|
12663
12663
|
} | null | undefined;
|
|
12664
12664
|
capacity?: number | undefined;
|
|
@@ -14294,7 +14294,7 @@ declare const airplanePermissionSchema: z.ZodObject<{
|
|
|
14294
14294
|
source_course_id?: number | null | undefined;
|
|
14295
14295
|
source_key?: string | null | undefined;
|
|
14296
14296
|
is_derived?: boolean | undefined;
|
|
14297
|
-
relation?: ("
|
|
14297
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
14298
14298
|
payment_per?: string | null | undefined;
|
|
14299
14299
|
course_count?: number | undefined;
|
|
14300
14300
|
count?: number | undefined;
|
|
@@ -14433,7 +14433,7 @@ declare const airplanePermissionSchema: z.ZodObject<{
|
|
|
14433
14433
|
source_course_id?: number | null | undefined;
|
|
14434
14434
|
source_key?: string | null | undefined;
|
|
14435
14435
|
is_derived?: boolean | undefined;
|
|
14436
|
-
relation?: ("
|
|
14436
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
14437
14437
|
payment_per?: string | null | undefined;
|
|
14438
14438
|
course_count?: number | undefined;
|
|
14439
14439
|
count?: number | undefined;
|
|
@@ -14456,9 +14456,9 @@ declare const airplanePermissionSchema: z.ZodObject<{
|
|
|
14456
14456
|
parking_lng?: number | null | undefined;
|
|
14457
14457
|
parking_lat?: number | null | undefined;
|
|
14458
14458
|
hangar?: {
|
|
14459
|
-
kind: string;
|
|
14460
14459
|
name: string | null;
|
|
14461
14460
|
id: number;
|
|
14461
|
+
kind: string;
|
|
14462
14462
|
location_map_id: number;
|
|
14463
14463
|
} | null | undefined;
|
|
14464
14464
|
capacity?: number | undefined;
|
|
@@ -14897,7 +14897,7 @@ declare const airplanePermissionSchema: z.ZodObject<{
|
|
|
14897
14897
|
source_course_id?: number | null | undefined;
|
|
14898
14898
|
source_key?: string | null | undefined;
|
|
14899
14899
|
is_derived?: boolean | undefined;
|
|
14900
|
-
relation?: ("
|
|
14900
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
14901
14901
|
payment_per?: string | null | undefined;
|
|
14902
14902
|
course_count?: number | undefined;
|
|
14903
14903
|
count?: number | undefined;
|
|
@@ -15036,7 +15036,7 @@ declare const airplanePermissionSchema: z.ZodObject<{
|
|
|
15036
15036
|
source_course_id?: number | null | undefined;
|
|
15037
15037
|
source_key?: string | null | undefined;
|
|
15038
15038
|
is_derived?: boolean | undefined;
|
|
15039
|
-
relation?: ("
|
|
15039
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
15040
15040
|
payment_per?: string | null | undefined;
|
|
15041
15041
|
course_count?: number | undefined;
|
|
15042
15042
|
count?: number | undefined;
|
|
@@ -15059,9 +15059,9 @@ declare const airplanePermissionSchema: z.ZodObject<{
|
|
|
15059
15059
|
parking_lng?: number | null | undefined;
|
|
15060
15060
|
parking_lat?: number | null | undefined;
|
|
15061
15061
|
hangar?: {
|
|
15062
|
-
kind: string;
|
|
15063
15062
|
name: string | null;
|
|
15064
15063
|
id: number;
|
|
15064
|
+
kind: string;
|
|
15065
15065
|
location_map_id: number;
|
|
15066
15066
|
} | null | undefined;
|
|
15067
15067
|
capacity?: number | undefined;
|
|
@@ -16727,7 +16727,7 @@ declare const extendedAirplaneSchema: z.ZodObject<{
|
|
|
16727
16727
|
source_course_id?: number | null | undefined;
|
|
16728
16728
|
source_key?: string | null | undefined;
|
|
16729
16729
|
is_derived?: boolean | undefined;
|
|
16730
|
-
relation?: ("
|
|
16730
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
16731
16731
|
payment_per?: string | null | undefined;
|
|
16732
16732
|
course_count?: number | undefined;
|
|
16733
16733
|
count?: number | undefined;
|
|
@@ -16864,7 +16864,7 @@ declare const extendedAirplaneSchema: z.ZodObject<{
|
|
|
16864
16864
|
source_course_id?: number | null | undefined;
|
|
16865
16865
|
source_key?: string | null | undefined;
|
|
16866
16866
|
is_derived?: boolean | undefined;
|
|
16867
|
-
relation?: ("
|
|
16867
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
16868
16868
|
payment_per?: string | null | undefined;
|
|
16869
16869
|
course_count?: number | undefined;
|
|
16870
16870
|
count?: number | undefined;
|
|
@@ -17582,7 +17582,7 @@ declare const extendedAirplaneSchema: z.ZodObject<{
|
|
|
17582
17582
|
source_course_id?: number | null | undefined;
|
|
17583
17583
|
source_key?: string | null | undefined;
|
|
17584
17584
|
is_derived?: boolean | undefined;
|
|
17585
|
-
relation?: ("
|
|
17585
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
17586
17586
|
payment_per?: string | null | undefined;
|
|
17587
17587
|
course_count?: number | undefined;
|
|
17588
17588
|
count?: number | undefined;
|
|
@@ -17719,7 +17719,7 @@ declare const extendedAirplaneSchema: z.ZodObject<{
|
|
|
17719
17719
|
source_course_id?: number | null | undefined;
|
|
17720
17720
|
source_key?: string | null | undefined;
|
|
17721
17721
|
is_derived?: boolean | undefined;
|
|
17722
|
-
relation?: ("
|
|
17722
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
17723
17723
|
payment_per?: string | null | undefined;
|
|
17724
17724
|
course_count?: number | undefined;
|
|
17725
17725
|
count?: number | undefined;
|
|
@@ -17747,14 +17747,14 @@ declare const extendedAirplaneSchema: z.ZodObject<{
|
|
|
17747
17747
|
kind: z.ZodString;
|
|
17748
17748
|
location_map_id: z.ZodNumber;
|
|
17749
17749
|
}, "strip", z.ZodTypeAny, {
|
|
17750
|
-
kind: string;
|
|
17751
17750
|
name: string | null;
|
|
17752
17751
|
id: number;
|
|
17752
|
+
kind: string;
|
|
17753
17753
|
location_map_id: number;
|
|
17754
17754
|
}, {
|
|
17755
|
-
kind: string;
|
|
17756
17755
|
name: string | null;
|
|
17757
17756
|
id: number;
|
|
17757
|
+
kind: string;
|
|
17758
17758
|
location_map_id: number;
|
|
17759
17759
|
}>>>;
|
|
17760
17760
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -18850,7 +18850,7 @@ declare const extendedAirplaneSchema: z.ZodObject<{
|
|
|
18850
18850
|
source_course_id?: number | null | undefined;
|
|
18851
18851
|
source_key?: string | null | undefined;
|
|
18852
18852
|
is_derived?: boolean | undefined;
|
|
18853
|
-
relation?: ("
|
|
18853
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
18854
18854
|
payment_per?: string | null | undefined;
|
|
18855
18855
|
course_count?: number | undefined;
|
|
18856
18856
|
count?: number | undefined;
|
|
@@ -18989,7 +18989,7 @@ declare const extendedAirplaneSchema: z.ZodObject<{
|
|
|
18989
18989
|
source_course_id?: number | null | undefined;
|
|
18990
18990
|
source_key?: string | null | undefined;
|
|
18991
18991
|
is_derived?: boolean | undefined;
|
|
18992
|
-
relation?: ("
|
|
18992
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
18993
18993
|
payment_per?: string | null | undefined;
|
|
18994
18994
|
course_count?: number | undefined;
|
|
18995
18995
|
count?: number | undefined;
|
|
@@ -19012,9 +19012,9 @@ declare const extendedAirplaneSchema: z.ZodObject<{
|
|
|
19012
19012
|
parking_lng?: number | null | undefined;
|
|
19013
19013
|
parking_lat?: number | null | undefined;
|
|
19014
19014
|
hangar?: {
|
|
19015
|
-
kind: string;
|
|
19016
19015
|
name: string | null;
|
|
19017
19016
|
id: number;
|
|
19017
|
+
kind: string;
|
|
19018
19018
|
location_map_id: number;
|
|
19019
19019
|
} | null | undefined;
|
|
19020
19020
|
capacity?: number | undefined;
|
|
@@ -19418,7 +19418,7 @@ declare const extendedAirplaneSchema: z.ZodObject<{
|
|
|
19418
19418
|
source_course_id?: number | null | undefined;
|
|
19419
19419
|
source_key?: string | null | undefined;
|
|
19420
19420
|
is_derived?: boolean | undefined;
|
|
19421
|
-
relation?: ("
|
|
19421
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
19422
19422
|
payment_per?: string | null | undefined;
|
|
19423
19423
|
course_count?: number | undefined;
|
|
19424
19424
|
count?: number | undefined;
|
|
@@ -19557,7 +19557,7 @@ declare const extendedAirplaneSchema: z.ZodObject<{
|
|
|
19557
19557
|
source_course_id?: number | null | undefined;
|
|
19558
19558
|
source_key?: string | null | undefined;
|
|
19559
19559
|
is_derived?: boolean | undefined;
|
|
19560
|
-
relation?: ("
|
|
19560
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
19561
19561
|
payment_per?: string | null | undefined;
|
|
19562
19562
|
course_count?: number | undefined;
|
|
19563
19563
|
count?: number | undefined;
|
|
@@ -19580,9 +19580,9 @@ declare const extendedAirplaneSchema: z.ZodObject<{
|
|
|
19580
19580
|
parking_lng?: number | null | undefined;
|
|
19581
19581
|
parking_lat?: number | null | undefined;
|
|
19582
19582
|
hangar?: {
|
|
19583
|
-
kind: string;
|
|
19584
19583
|
name: string | null;
|
|
19585
19584
|
id: number;
|
|
19585
|
+
kind: string;
|
|
19586
19586
|
location_map_id: number;
|
|
19587
19587
|
} | null | undefined;
|
|
19588
19588
|
capacity?: number | undefined;
|
|
@@ -21988,7 +21988,7 @@ declare const bookingSchema: z.ZodObject<{
|
|
|
21988
21988
|
source_course_id?: number | null | undefined;
|
|
21989
21989
|
source_key?: string | null | undefined;
|
|
21990
21990
|
is_derived?: boolean | undefined;
|
|
21991
|
-
relation?: ("
|
|
21991
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
21992
21992
|
payment_per?: string | null | undefined;
|
|
21993
21993
|
course_count?: number | undefined;
|
|
21994
21994
|
count?: number | undefined;
|
|
@@ -22125,7 +22125,7 @@ declare const bookingSchema: z.ZodObject<{
|
|
|
22125
22125
|
source_course_id?: number | null | undefined;
|
|
22126
22126
|
source_key?: string | null | undefined;
|
|
22127
22127
|
is_derived?: boolean | undefined;
|
|
22128
|
-
relation?: ("
|
|
22128
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
22129
22129
|
payment_per?: string | null | undefined;
|
|
22130
22130
|
course_count?: number | undefined;
|
|
22131
22131
|
count?: number | undefined;
|
|
@@ -22843,7 +22843,7 @@ declare const bookingSchema: z.ZodObject<{
|
|
|
22843
22843
|
source_course_id?: number | null | undefined;
|
|
22844
22844
|
source_key?: string | null | undefined;
|
|
22845
22845
|
is_derived?: boolean | undefined;
|
|
22846
|
-
relation?: ("
|
|
22846
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
22847
22847
|
payment_per?: string | null | undefined;
|
|
22848
22848
|
course_count?: number | undefined;
|
|
22849
22849
|
count?: number | undefined;
|
|
@@ -22980,7 +22980,7 @@ declare const bookingSchema: z.ZodObject<{
|
|
|
22980
22980
|
source_course_id?: number | null | undefined;
|
|
22981
22981
|
source_key?: string | null | undefined;
|
|
22982
22982
|
is_derived?: boolean | undefined;
|
|
22983
|
-
relation?: ("
|
|
22983
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
22984
22984
|
payment_per?: string | null | undefined;
|
|
22985
22985
|
course_count?: number | undefined;
|
|
22986
22986
|
count?: number | undefined;
|
|
@@ -23008,14 +23008,14 @@ declare const bookingSchema: z.ZodObject<{
|
|
|
23008
23008
|
kind: z.ZodString;
|
|
23009
23009
|
location_map_id: z.ZodNumber;
|
|
23010
23010
|
}, "strip", z.ZodTypeAny, {
|
|
23011
|
-
kind: string;
|
|
23012
23011
|
name: string | null;
|
|
23013
23012
|
id: number;
|
|
23013
|
+
kind: string;
|
|
23014
23014
|
location_map_id: number;
|
|
23015
23015
|
}, {
|
|
23016
|
-
kind: string;
|
|
23017
23016
|
name: string | null;
|
|
23018
23017
|
id: number;
|
|
23018
|
+
kind: string;
|
|
23019
23019
|
location_map_id: number;
|
|
23020
23020
|
}>>>;
|
|
23021
23021
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -23302,7 +23302,7 @@ declare const bookingSchema: z.ZodObject<{
|
|
|
23302
23302
|
source_course_id?: number | null | undefined;
|
|
23303
23303
|
source_key?: string | null | undefined;
|
|
23304
23304
|
is_derived?: boolean | undefined;
|
|
23305
|
-
relation?: ("
|
|
23305
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
23306
23306
|
payment_per?: string | null | undefined;
|
|
23307
23307
|
course_count?: number | undefined;
|
|
23308
23308
|
count?: number | undefined;
|
|
@@ -23441,7 +23441,7 @@ declare const bookingSchema: z.ZodObject<{
|
|
|
23441
23441
|
source_course_id?: number | null | undefined;
|
|
23442
23442
|
source_key?: string | null | undefined;
|
|
23443
23443
|
is_derived?: boolean | undefined;
|
|
23444
|
-
relation?: ("
|
|
23444
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
23445
23445
|
payment_per?: string | null | undefined;
|
|
23446
23446
|
course_count?: number | undefined;
|
|
23447
23447
|
count?: number | undefined;
|
|
@@ -23464,9 +23464,9 @@ declare const bookingSchema: z.ZodObject<{
|
|
|
23464
23464
|
parking_lng?: number | null | undefined;
|
|
23465
23465
|
parking_lat?: number | null | undefined;
|
|
23466
23466
|
hangar?: {
|
|
23467
|
-
kind: string;
|
|
23468
23467
|
name: string | null;
|
|
23469
23468
|
id: number;
|
|
23469
|
+
kind: string;
|
|
23470
23470
|
location_map_id: number;
|
|
23471
23471
|
} | null | undefined;
|
|
23472
23472
|
capacity?: number | undefined;
|
|
@@ -23715,7 +23715,7 @@ declare const bookingSchema: z.ZodObject<{
|
|
|
23715
23715
|
source_course_id?: number | null | undefined;
|
|
23716
23716
|
source_key?: string | null | undefined;
|
|
23717
23717
|
is_derived?: boolean | undefined;
|
|
23718
|
-
relation?: ("
|
|
23718
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
23719
23719
|
payment_per?: string | null | undefined;
|
|
23720
23720
|
course_count?: number | undefined;
|
|
23721
23721
|
count?: number | undefined;
|
|
@@ -23854,7 +23854,7 @@ declare const bookingSchema: z.ZodObject<{
|
|
|
23854
23854
|
source_course_id?: number | null | undefined;
|
|
23855
23855
|
source_key?: string | null | undefined;
|
|
23856
23856
|
is_derived?: boolean | undefined;
|
|
23857
|
-
relation?: ("
|
|
23857
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
23858
23858
|
payment_per?: string | null | undefined;
|
|
23859
23859
|
course_count?: number | undefined;
|
|
23860
23860
|
count?: number | undefined;
|
|
@@ -23877,9 +23877,9 @@ declare const bookingSchema: z.ZodObject<{
|
|
|
23877
23877
|
parking_lng?: number | null | undefined;
|
|
23878
23878
|
parking_lat?: number | null | undefined;
|
|
23879
23879
|
hangar?: {
|
|
23880
|
-
kind: string;
|
|
23881
23880
|
name: string | null;
|
|
23882
23881
|
id: number;
|
|
23882
|
+
kind: string;
|
|
23883
23883
|
location_map_id: number;
|
|
23884
23884
|
} | null | undefined;
|
|
23885
23885
|
capacity?: number | undefined;
|
|
@@ -24079,14 +24079,14 @@ declare const bookingSchema: z.ZodObject<{
|
|
|
24079
24079
|
is_pic: z.ZodOptional<z.ZodBoolean>;
|
|
24080
24080
|
membership: z.ZodOptional<z.ZodAny>;
|
|
24081
24081
|
}, "strip", z.ZodTypeAny, {
|
|
24082
|
-
role: string;
|
|
24083
24082
|
membership_id: number;
|
|
24083
|
+
role: string;
|
|
24084
24084
|
id?: number | undefined;
|
|
24085
24085
|
membership?: any;
|
|
24086
24086
|
is_pic?: boolean | undefined;
|
|
24087
24087
|
}, {
|
|
24088
|
-
role: string;
|
|
24089
24088
|
membership_id: number;
|
|
24089
|
+
role: string;
|
|
24090
24090
|
id?: number | undefined;
|
|
24091
24091
|
membership?: any;
|
|
24092
24092
|
is_pic?: boolean | undefined;
|
|
@@ -25527,7 +25527,7 @@ declare const bookingSchema: z.ZodObject<{
|
|
|
25527
25527
|
source_course_id?: number | null | undefined;
|
|
25528
25528
|
source_key?: string | null | undefined;
|
|
25529
25529
|
is_derived?: boolean | undefined;
|
|
25530
|
-
relation?: ("
|
|
25530
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
25531
25531
|
payment_per?: string | null | undefined;
|
|
25532
25532
|
course_count?: number | undefined;
|
|
25533
25533
|
count?: number | undefined;
|
|
@@ -25664,7 +25664,7 @@ declare const bookingSchema: z.ZodObject<{
|
|
|
25664
25664
|
source_course_id?: number | null | undefined;
|
|
25665
25665
|
source_key?: string | null | undefined;
|
|
25666
25666
|
is_derived?: boolean | undefined;
|
|
25667
|
-
relation?: ("
|
|
25667
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
25668
25668
|
payment_per?: string | null | undefined;
|
|
25669
25669
|
course_count?: number | undefined;
|
|
25670
25670
|
count?: number | undefined;
|
|
@@ -26382,7 +26382,7 @@ declare const bookingSchema: z.ZodObject<{
|
|
|
26382
26382
|
source_course_id?: number | null | undefined;
|
|
26383
26383
|
source_key?: string | null | undefined;
|
|
26384
26384
|
is_derived?: boolean | undefined;
|
|
26385
|
-
relation?: ("
|
|
26385
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
26386
26386
|
payment_per?: string | null | undefined;
|
|
26387
26387
|
course_count?: number | undefined;
|
|
26388
26388
|
count?: number | undefined;
|
|
@@ -26519,7 +26519,7 @@ declare const bookingSchema: z.ZodObject<{
|
|
|
26519
26519
|
source_course_id?: number | null | undefined;
|
|
26520
26520
|
source_key?: string | null | undefined;
|
|
26521
26521
|
is_derived?: boolean | undefined;
|
|
26522
|
-
relation?: ("
|
|
26522
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
26523
26523
|
payment_per?: string | null | undefined;
|
|
26524
26524
|
course_count?: number | undefined;
|
|
26525
26525
|
count?: number | undefined;
|
|
@@ -26547,14 +26547,14 @@ declare const bookingSchema: z.ZodObject<{
|
|
|
26547
26547
|
kind: z.ZodString;
|
|
26548
26548
|
location_map_id: z.ZodNumber;
|
|
26549
26549
|
}, "strip", z.ZodTypeAny, {
|
|
26550
|
-
kind: string;
|
|
26551
26550
|
name: string | null;
|
|
26552
26551
|
id: number;
|
|
26552
|
+
kind: string;
|
|
26553
26553
|
location_map_id: number;
|
|
26554
26554
|
}, {
|
|
26555
|
-
kind: string;
|
|
26556
26555
|
name: string | null;
|
|
26557
26556
|
id: number;
|
|
26557
|
+
kind: string;
|
|
26558
26558
|
location_map_id: number;
|
|
26559
26559
|
}>>>;
|
|
26560
26560
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -26841,7 +26841,7 @@ declare const bookingSchema: z.ZodObject<{
|
|
|
26841
26841
|
source_course_id?: number | null | undefined;
|
|
26842
26842
|
source_key?: string | null | undefined;
|
|
26843
26843
|
is_derived?: boolean | undefined;
|
|
26844
|
-
relation?: ("
|
|
26844
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
26845
26845
|
payment_per?: string | null | undefined;
|
|
26846
26846
|
course_count?: number | undefined;
|
|
26847
26847
|
count?: number | undefined;
|
|
@@ -26980,7 +26980,7 @@ declare const bookingSchema: z.ZodObject<{
|
|
|
26980
26980
|
source_course_id?: number | null | undefined;
|
|
26981
26981
|
source_key?: string | null | undefined;
|
|
26982
26982
|
is_derived?: boolean | undefined;
|
|
26983
|
-
relation?: ("
|
|
26983
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
26984
26984
|
payment_per?: string | null | undefined;
|
|
26985
26985
|
course_count?: number | undefined;
|
|
26986
26986
|
count?: number | undefined;
|
|
@@ -27003,9 +27003,9 @@ declare const bookingSchema: z.ZodObject<{
|
|
|
27003
27003
|
parking_lng?: number | null | undefined;
|
|
27004
27004
|
parking_lat?: number | null | undefined;
|
|
27005
27005
|
hangar?: {
|
|
27006
|
-
kind: string;
|
|
27007
27006
|
name: string | null;
|
|
27008
27007
|
id: number;
|
|
27008
|
+
kind: string;
|
|
27009
27009
|
location_map_id: number;
|
|
27010
27010
|
} | null | undefined;
|
|
27011
27011
|
capacity?: number | undefined;
|
|
@@ -27254,7 +27254,7 @@ declare const bookingSchema: z.ZodObject<{
|
|
|
27254
27254
|
source_course_id?: number | null | undefined;
|
|
27255
27255
|
source_key?: string | null | undefined;
|
|
27256
27256
|
is_derived?: boolean | undefined;
|
|
27257
|
-
relation?: ("
|
|
27257
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
27258
27258
|
payment_per?: string | null | undefined;
|
|
27259
27259
|
course_count?: number | undefined;
|
|
27260
27260
|
count?: number | undefined;
|
|
@@ -27393,7 +27393,7 @@ declare const bookingSchema: z.ZodObject<{
|
|
|
27393
27393
|
source_course_id?: number | null | undefined;
|
|
27394
27394
|
source_key?: string | null | undefined;
|
|
27395
27395
|
is_derived?: boolean | undefined;
|
|
27396
|
-
relation?: ("
|
|
27396
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
27397
27397
|
payment_per?: string | null | undefined;
|
|
27398
27398
|
course_count?: number | undefined;
|
|
27399
27399
|
count?: number | undefined;
|
|
@@ -27416,9 +27416,9 @@ declare const bookingSchema: z.ZodObject<{
|
|
|
27416
27416
|
parking_lng?: number | null | undefined;
|
|
27417
27417
|
parking_lat?: number | null | undefined;
|
|
27418
27418
|
hangar?: {
|
|
27419
|
-
kind: string;
|
|
27420
27419
|
name: string | null;
|
|
27421
27420
|
id: number;
|
|
27421
|
+
kind: string;
|
|
27422
27422
|
location_map_id: number;
|
|
27423
27423
|
} | null | undefined;
|
|
27424
27424
|
capacity?: number | undefined;
|
|
@@ -30257,14 +30257,14 @@ declare const bookingSchema: z.ZodObject<{
|
|
|
30257
30257
|
is_pic: z.ZodOptional<z.ZodBoolean>;
|
|
30258
30258
|
membership: z.ZodOptional<z.ZodAny>;
|
|
30259
30259
|
}, "strip", z.ZodTypeAny, {
|
|
30260
|
-
role: string;
|
|
30261
30260
|
membership_id: number;
|
|
30261
|
+
role: string;
|
|
30262
30262
|
id?: number | undefined;
|
|
30263
30263
|
membership?: any;
|
|
30264
30264
|
is_pic?: boolean | undefined;
|
|
30265
30265
|
}, {
|
|
30266
|
-
role: string;
|
|
30267
30266
|
membership_id: number;
|
|
30267
|
+
role: string;
|
|
30268
30268
|
id?: number | undefined;
|
|
30269
30269
|
membership?: any;
|
|
30270
30270
|
is_pic?: boolean | undefined;
|
|
@@ -30712,7 +30712,7 @@ declare const bookingSchema: z.ZodObject<{
|
|
|
30712
30712
|
source_course_id?: number | null | undefined;
|
|
30713
30713
|
source_key?: string | null | undefined;
|
|
30714
30714
|
is_derived?: boolean | undefined;
|
|
30715
|
-
relation?: ("
|
|
30715
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
30716
30716
|
payment_per?: string | null | undefined;
|
|
30717
30717
|
course_count?: number | undefined;
|
|
30718
30718
|
count?: number | undefined;
|
|
@@ -30851,7 +30851,7 @@ declare const bookingSchema: z.ZodObject<{
|
|
|
30851
30851
|
source_course_id?: number | null | undefined;
|
|
30852
30852
|
source_key?: string | null | undefined;
|
|
30853
30853
|
is_derived?: boolean | undefined;
|
|
30854
|
-
relation?: ("
|
|
30854
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
30855
30855
|
payment_per?: string | null | undefined;
|
|
30856
30856
|
course_count?: number | undefined;
|
|
30857
30857
|
count?: number | undefined;
|
|
@@ -30874,9 +30874,9 @@ declare const bookingSchema: z.ZodObject<{
|
|
|
30874
30874
|
parking_lng?: number | null | undefined;
|
|
30875
30875
|
parking_lat?: number | null | undefined;
|
|
30876
30876
|
hangar?: {
|
|
30877
|
-
kind: string;
|
|
30878
30877
|
name: string | null;
|
|
30879
30878
|
id: number;
|
|
30879
|
+
kind: string;
|
|
30880
30880
|
location_map_id: number;
|
|
30881
30881
|
} | null | undefined;
|
|
30882
30882
|
capacity?: number | undefined;
|
|
@@ -30986,8 +30986,8 @@ declare const bookingSchema: z.ZodObject<{
|
|
|
30986
30986
|
} | undefined;
|
|
30987
30987
|
} | undefined;
|
|
30988
30988
|
crew_assignments?: {
|
|
30989
|
-
role: string;
|
|
30990
30989
|
membership_id: number;
|
|
30990
|
+
role: string;
|
|
30991
30991
|
id?: number | undefined;
|
|
30992
30992
|
membership?: any;
|
|
30993
30993
|
is_pic?: boolean | undefined;
|
|
@@ -31572,7 +31572,7 @@ declare const bookingSchema: z.ZodObject<{
|
|
|
31572
31572
|
source_course_id?: number | null | undefined;
|
|
31573
31573
|
source_key?: string | null | undefined;
|
|
31574
31574
|
is_derived?: boolean | undefined;
|
|
31575
|
-
relation?: ("
|
|
31575
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
31576
31576
|
payment_per?: string | null | undefined;
|
|
31577
31577
|
course_count?: number | undefined;
|
|
31578
31578
|
count?: number | undefined;
|
|
@@ -31711,7 +31711,7 @@ declare const bookingSchema: z.ZodObject<{
|
|
|
31711
31711
|
source_course_id?: number | null | undefined;
|
|
31712
31712
|
source_key?: string | null | undefined;
|
|
31713
31713
|
is_derived?: boolean | undefined;
|
|
31714
|
-
relation?: ("
|
|
31714
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
31715
31715
|
payment_per?: string | null | undefined;
|
|
31716
31716
|
course_count?: number | undefined;
|
|
31717
31717
|
count?: number | undefined;
|
|
@@ -31734,9 +31734,9 @@ declare const bookingSchema: z.ZodObject<{
|
|
|
31734
31734
|
parking_lng?: number | null | undefined;
|
|
31735
31735
|
parking_lat?: number | null | undefined;
|
|
31736
31736
|
hangar?: {
|
|
31737
|
-
kind: string;
|
|
31738
31737
|
name: string | null;
|
|
31739
31738
|
id: number;
|
|
31739
|
+
kind: string;
|
|
31740
31740
|
location_map_id: number;
|
|
31741
31741
|
} | null | undefined;
|
|
31742
31742
|
capacity?: number | undefined;
|
|
@@ -31846,8 +31846,8 @@ declare const bookingSchema: z.ZodObject<{
|
|
|
31846
31846
|
} | undefined;
|
|
31847
31847
|
} | undefined;
|
|
31848
31848
|
crew_assignments?: {
|
|
31849
|
-
role: string;
|
|
31850
31849
|
membership_id: number;
|
|
31850
|
+
role: string;
|
|
31851
31851
|
id?: number | undefined;
|
|
31852
31852
|
membership?: any;
|
|
31853
31853
|
is_pic?: boolean | undefined;
|
|
@@ -33926,7 +33926,7 @@ declare const bookingSchema: z.ZodObject<{
|
|
|
33926
33926
|
source_course_id?: number | null | undefined;
|
|
33927
33927
|
source_key?: string | null | undefined;
|
|
33928
33928
|
is_derived?: boolean | undefined;
|
|
33929
|
-
relation?: ("
|
|
33929
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
33930
33930
|
payment_per?: string | null | undefined;
|
|
33931
33931
|
course_count?: number | undefined;
|
|
33932
33932
|
count?: number | undefined;
|
|
@@ -34065,7 +34065,7 @@ declare const bookingSchema: z.ZodObject<{
|
|
|
34065
34065
|
source_course_id?: number | null | undefined;
|
|
34066
34066
|
source_key?: string | null | undefined;
|
|
34067
34067
|
is_derived?: boolean | undefined;
|
|
34068
|
-
relation?: ("
|
|
34068
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
34069
34069
|
payment_per?: string | null | undefined;
|
|
34070
34070
|
course_count?: number | undefined;
|
|
34071
34071
|
count?: number | undefined;
|
|
@@ -34088,9 +34088,9 @@ declare const bookingSchema: z.ZodObject<{
|
|
|
34088
34088
|
parking_lng?: number | null | undefined;
|
|
34089
34089
|
parking_lat?: number | null | undefined;
|
|
34090
34090
|
hangar?: {
|
|
34091
|
-
kind: string;
|
|
34092
34091
|
name: string | null;
|
|
34093
34092
|
id: number;
|
|
34093
|
+
kind: string;
|
|
34094
34094
|
location_map_id: number;
|
|
34095
34095
|
} | null | undefined;
|
|
34096
34096
|
capacity?: number | undefined;
|
|
@@ -34253,8 +34253,8 @@ declare const bookingSchema: z.ZodObject<{
|
|
|
34253
34253
|
course_id?: number | null | undefined;
|
|
34254
34254
|
} | null | undefined;
|
|
34255
34255
|
crew_assignments?: {
|
|
34256
|
-
role: string;
|
|
34257
34256
|
membership_id: number;
|
|
34257
|
+
role: string;
|
|
34258
34258
|
id?: number | undefined;
|
|
34259
34259
|
membership?: any;
|
|
34260
34260
|
is_pic?: boolean | undefined;
|
|
@@ -34659,7 +34659,7 @@ declare const bookingSchema: z.ZodObject<{
|
|
|
34659
34659
|
source_course_id?: number | null | undefined;
|
|
34660
34660
|
source_key?: string | null | undefined;
|
|
34661
34661
|
is_derived?: boolean | undefined;
|
|
34662
|
-
relation?: ("
|
|
34662
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
34663
34663
|
payment_per?: string | null | undefined;
|
|
34664
34664
|
course_count?: number | undefined;
|
|
34665
34665
|
count?: number | undefined;
|
|
@@ -34798,7 +34798,7 @@ declare const bookingSchema: z.ZodObject<{
|
|
|
34798
34798
|
source_course_id?: number | null | undefined;
|
|
34799
34799
|
source_key?: string | null | undefined;
|
|
34800
34800
|
is_derived?: boolean | undefined;
|
|
34801
|
-
relation?: ("
|
|
34801
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
34802
34802
|
payment_per?: string | null | undefined;
|
|
34803
34803
|
course_count?: number | undefined;
|
|
34804
34804
|
count?: number | undefined;
|
|
@@ -34821,9 +34821,9 @@ declare const bookingSchema: z.ZodObject<{
|
|
|
34821
34821
|
parking_lng?: number | null | undefined;
|
|
34822
34822
|
parking_lat?: number | null | undefined;
|
|
34823
34823
|
hangar?: {
|
|
34824
|
-
kind: string;
|
|
34825
34824
|
name: string | null;
|
|
34826
34825
|
id: number;
|
|
34826
|
+
kind: string;
|
|
34827
34827
|
location_map_id: number;
|
|
34828
34828
|
} | null | undefined;
|
|
34829
34829
|
capacity?: number | undefined;
|
|
@@ -34933,8 +34933,8 @@ declare const bookingSchema: z.ZodObject<{
|
|
|
34933
34933
|
} | undefined;
|
|
34934
34934
|
} | undefined;
|
|
34935
34935
|
crew_assignments?: {
|
|
34936
|
-
role: string;
|
|
34937
34936
|
membership_id: number;
|
|
34937
|
+
role: string;
|
|
34938
34938
|
id?: number | undefined;
|
|
34939
34939
|
membership?: any;
|
|
34940
34940
|
is_pic?: boolean | undefined;
|
|
@@ -35677,7 +35677,7 @@ declare const bookingSchema: z.ZodObject<{
|
|
|
35677
35677
|
source_course_id?: number | null | undefined;
|
|
35678
35678
|
source_key?: string | null | undefined;
|
|
35679
35679
|
is_derived?: boolean | undefined;
|
|
35680
|
-
relation?: ("
|
|
35680
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
35681
35681
|
payment_per?: string | null | undefined;
|
|
35682
35682
|
course_count?: number | undefined;
|
|
35683
35683
|
count?: number | undefined;
|
|
@@ -35816,7 +35816,7 @@ declare const bookingSchema: z.ZodObject<{
|
|
|
35816
35816
|
source_course_id?: number | null | undefined;
|
|
35817
35817
|
source_key?: string | null | undefined;
|
|
35818
35818
|
is_derived?: boolean | undefined;
|
|
35819
|
-
relation?: ("
|
|
35819
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
35820
35820
|
payment_per?: string | null | undefined;
|
|
35821
35821
|
course_count?: number | undefined;
|
|
35822
35822
|
count?: number | undefined;
|
|
@@ -35839,9 +35839,9 @@ declare const bookingSchema: z.ZodObject<{
|
|
|
35839
35839
|
parking_lng?: number | null | undefined;
|
|
35840
35840
|
parking_lat?: number | null | undefined;
|
|
35841
35841
|
hangar?: {
|
|
35842
|
-
kind: string;
|
|
35843
35842
|
name: string | null;
|
|
35844
35843
|
id: number;
|
|
35844
|
+
kind: string;
|
|
35845
35845
|
location_map_id: number;
|
|
35846
35846
|
} | null | undefined;
|
|
35847
35847
|
capacity?: number | undefined;
|
|
@@ -36006,8 +36006,8 @@ declare const bookingSchema: z.ZodObject<{
|
|
|
36006
36006
|
course_id?: number | null | undefined;
|
|
36007
36007
|
} | null | undefined;
|
|
36008
36008
|
crew_assignments?: {
|
|
36009
|
-
role: string;
|
|
36010
36009
|
membership_id: number;
|
|
36010
|
+
role: string;
|
|
36011
36011
|
id?: number | undefined;
|
|
36012
36012
|
membership?: any;
|
|
36013
36013
|
is_pic?: boolean | undefined;
|
|
@@ -36410,7 +36410,7 @@ declare const bookingSchema: z.ZodObject<{
|
|
|
36410
36410
|
source_course_id?: number | null | undefined;
|
|
36411
36411
|
source_key?: string | null | undefined;
|
|
36412
36412
|
is_derived?: boolean | undefined;
|
|
36413
|
-
relation?: ("
|
|
36413
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
36414
36414
|
payment_per?: string | null | undefined;
|
|
36415
36415
|
course_count?: number | undefined;
|
|
36416
36416
|
count?: number | undefined;
|
|
@@ -36549,7 +36549,7 @@ declare const bookingSchema: z.ZodObject<{
|
|
|
36549
36549
|
source_course_id?: number | null | undefined;
|
|
36550
36550
|
source_key?: string | null | undefined;
|
|
36551
36551
|
is_derived?: boolean | undefined;
|
|
36552
|
-
relation?: ("
|
|
36552
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
36553
36553
|
payment_per?: string | null | undefined;
|
|
36554
36554
|
course_count?: number | undefined;
|
|
36555
36555
|
count?: number | undefined;
|
|
@@ -36572,9 +36572,9 @@ declare const bookingSchema: z.ZodObject<{
|
|
|
36572
36572
|
parking_lng?: number | null | undefined;
|
|
36573
36573
|
parking_lat?: number | null | undefined;
|
|
36574
36574
|
hangar?: {
|
|
36575
|
-
kind: string;
|
|
36576
36575
|
name: string | null;
|
|
36577
36576
|
id: number;
|
|
36577
|
+
kind: string;
|
|
36578
36578
|
location_map_id: number;
|
|
36579
36579
|
} | null | undefined;
|
|
36580
36580
|
capacity?: number | undefined;
|
|
@@ -36684,8 +36684,8 @@ declare const bookingSchema: z.ZodObject<{
|
|
|
36684
36684
|
} | undefined;
|
|
36685
36685
|
} | undefined;
|
|
36686
36686
|
crew_assignments?: {
|
|
36687
|
-
role: string;
|
|
36688
36687
|
membership_id: number;
|
|
36688
|
+
role: string;
|
|
36689
36689
|
id?: number | undefined;
|
|
36690
36690
|
membership?: any;
|
|
36691
36691
|
is_pic?: boolean | undefined;
|
|
@@ -40921,7 +40921,7 @@ declare const flightLogSchema: z.ZodObject<{
|
|
|
40921
40921
|
source_course_id?: number | null | undefined;
|
|
40922
40922
|
source_key?: string | null | undefined;
|
|
40923
40923
|
is_derived?: boolean | undefined;
|
|
40924
|
-
relation?: ("
|
|
40924
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
40925
40925
|
payment_per?: string | null | undefined;
|
|
40926
40926
|
course_count?: number | undefined;
|
|
40927
40927
|
count?: number | undefined;
|
|
@@ -41058,7 +41058,7 @@ declare const flightLogSchema: z.ZodObject<{
|
|
|
41058
41058
|
source_course_id?: number | null | undefined;
|
|
41059
41059
|
source_key?: string | null | undefined;
|
|
41060
41060
|
is_derived?: boolean | undefined;
|
|
41061
|
-
relation?: ("
|
|
41061
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
41062
41062
|
payment_per?: string | null | undefined;
|
|
41063
41063
|
course_count?: number | undefined;
|
|
41064
41064
|
count?: number | undefined;
|
|
@@ -41776,7 +41776,7 @@ declare const flightLogSchema: z.ZodObject<{
|
|
|
41776
41776
|
source_course_id?: number | null | undefined;
|
|
41777
41777
|
source_key?: string | null | undefined;
|
|
41778
41778
|
is_derived?: boolean | undefined;
|
|
41779
|
-
relation?: ("
|
|
41779
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
41780
41780
|
payment_per?: string | null | undefined;
|
|
41781
41781
|
course_count?: number | undefined;
|
|
41782
41782
|
count?: number | undefined;
|
|
@@ -41913,7 +41913,7 @@ declare const flightLogSchema: z.ZodObject<{
|
|
|
41913
41913
|
source_course_id?: number | null | undefined;
|
|
41914
41914
|
source_key?: string | null | undefined;
|
|
41915
41915
|
is_derived?: boolean | undefined;
|
|
41916
|
-
relation?: ("
|
|
41916
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
41917
41917
|
payment_per?: string | null | undefined;
|
|
41918
41918
|
course_count?: number | undefined;
|
|
41919
41919
|
count?: number | undefined;
|
|
@@ -41941,14 +41941,14 @@ declare const flightLogSchema: z.ZodObject<{
|
|
|
41941
41941
|
kind: z.ZodString;
|
|
41942
41942
|
location_map_id: z.ZodNumber;
|
|
41943
41943
|
}, "strip", z.ZodTypeAny, {
|
|
41944
|
-
kind: string;
|
|
41945
41944
|
name: string | null;
|
|
41946
41945
|
id: number;
|
|
41946
|
+
kind: string;
|
|
41947
41947
|
location_map_id: number;
|
|
41948
41948
|
}, {
|
|
41949
|
-
kind: string;
|
|
41950
41949
|
name: string | null;
|
|
41951
41950
|
id: number;
|
|
41951
|
+
kind: string;
|
|
41952
41952
|
location_map_id: number;
|
|
41953
41953
|
}>>>;
|
|
41954
41954
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -42235,7 +42235,7 @@ declare const flightLogSchema: z.ZodObject<{
|
|
|
42235
42235
|
source_course_id?: number | null | undefined;
|
|
42236
42236
|
source_key?: string | null | undefined;
|
|
42237
42237
|
is_derived?: boolean | undefined;
|
|
42238
|
-
relation?: ("
|
|
42238
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
42239
42239
|
payment_per?: string | null | undefined;
|
|
42240
42240
|
course_count?: number | undefined;
|
|
42241
42241
|
count?: number | undefined;
|
|
@@ -42374,7 +42374,7 @@ declare const flightLogSchema: z.ZodObject<{
|
|
|
42374
42374
|
source_course_id?: number | null | undefined;
|
|
42375
42375
|
source_key?: string | null | undefined;
|
|
42376
42376
|
is_derived?: boolean | undefined;
|
|
42377
|
-
relation?: ("
|
|
42377
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
42378
42378
|
payment_per?: string | null | undefined;
|
|
42379
42379
|
course_count?: number | undefined;
|
|
42380
42380
|
count?: number | undefined;
|
|
@@ -42397,9 +42397,9 @@ declare const flightLogSchema: z.ZodObject<{
|
|
|
42397
42397
|
parking_lng?: number | null | undefined;
|
|
42398
42398
|
parking_lat?: number | null | undefined;
|
|
42399
42399
|
hangar?: {
|
|
42400
|
-
kind: string;
|
|
42401
42400
|
name: string | null;
|
|
42402
42401
|
id: number;
|
|
42402
|
+
kind: string;
|
|
42403
42403
|
location_map_id: number;
|
|
42404
42404
|
} | null | undefined;
|
|
42405
42405
|
capacity?: number | undefined;
|
|
@@ -42648,7 +42648,7 @@ declare const flightLogSchema: z.ZodObject<{
|
|
|
42648
42648
|
source_course_id?: number | null | undefined;
|
|
42649
42649
|
source_key?: string | null | undefined;
|
|
42650
42650
|
is_derived?: boolean | undefined;
|
|
42651
|
-
relation?: ("
|
|
42651
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
42652
42652
|
payment_per?: string | null | undefined;
|
|
42653
42653
|
course_count?: number | undefined;
|
|
42654
42654
|
count?: number | undefined;
|
|
@@ -42787,7 +42787,7 @@ declare const flightLogSchema: z.ZodObject<{
|
|
|
42787
42787
|
source_course_id?: number | null | undefined;
|
|
42788
42788
|
source_key?: string | null | undefined;
|
|
42789
42789
|
is_derived?: boolean | undefined;
|
|
42790
|
-
relation?: ("
|
|
42790
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
42791
42791
|
payment_per?: string | null | undefined;
|
|
42792
42792
|
course_count?: number | undefined;
|
|
42793
42793
|
count?: number | undefined;
|
|
@@ -42810,9 +42810,9 @@ declare const flightLogSchema: z.ZodObject<{
|
|
|
42810
42810
|
parking_lng?: number | null | undefined;
|
|
42811
42811
|
parking_lat?: number | null | undefined;
|
|
42812
42812
|
hangar?: {
|
|
42813
|
-
kind: string;
|
|
42814
42813
|
name: string | null;
|
|
42815
42814
|
id: number;
|
|
42815
|
+
kind: string;
|
|
42816
42816
|
location_map_id: number;
|
|
42817
42817
|
} | null | undefined;
|
|
42818
42818
|
capacity?: number | undefined;
|
|
@@ -45651,14 +45651,14 @@ declare const flightLogSchema: z.ZodObject<{
|
|
|
45651
45651
|
is_pic: z.ZodOptional<z.ZodBoolean>;
|
|
45652
45652
|
membership: z.ZodOptional<z.ZodAny>;
|
|
45653
45653
|
}, "strip", z.ZodTypeAny, {
|
|
45654
|
-
role: string;
|
|
45655
45654
|
membership_id: number;
|
|
45655
|
+
role: string;
|
|
45656
45656
|
id?: number | undefined;
|
|
45657
45657
|
membership?: any;
|
|
45658
45658
|
is_pic?: boolean | undefined;
|
|
45659
45659
|
}, {
|
|
45660
|
-
role: string;
|
|
45661
45660
|
membership_id: number;
|
|
45661
|
+
role: string;
|
|
45662
45662
|
id?: number | undefined;
|
|
45663
45663
|
membership?: any;
|
|
45664
45664
|
is_pic?: boolean | undefined;
|
|
@@ -46106,7 +46106,7 @@ declare const flightLogSchema: z.ZodObject<{
|
|
|
46106
46106
|
source_course_id?: number | null | undefined;
|
|
46107
46107
|
source_key?: string | null | undefined;
|
|
46108
46108
|
is_derived?: boolean | undefined;
|
|
46109
|
-
relation?: ("
|
|
46109
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
46110
46110
|
payment_per?: string | null | undefined;
|
|
46111
46111
|
course_count?: number | undefined;
|
|
46112
46112
|
count?: number | undefined;
|
|
@@ -46245,7 +46245,7 @@ declare const flightLogSchema: z.ZodObject<{
|
|
|
46245
46245
|
source_course_id?: number | null | undefined;
|
|
46246
46246
|
source_key?: string | null | undefined;
|
|
46247
46247
|
is_derived?: boolean | undefined;
|
|
46248
|
-
relation?: ("
|
|
46248
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
46249
46249
|
payment_per?: string | null | undefined;
|
|
46250
46250
|
course_count?: number | undefined;
|
|
46251
46251
|
count?: number | undefined;
|
|
@@ -46268,9 +46268,9 @@ declare const flightLogSchema: z.ZodObject<{
|
|
|
46268
46268
|
parking_lng?: number | null | undefined;
|
|
46269
46269
|
parking_lat?: number | null | undefined;
|
|
46270
46270
|
hangar?: {
|
|
46271
|
-
kind: string;
|
|
46272
46271
|
name: string | null;
|
|
46273
46272
|
id: number;
|
|
46273
|
+
kind: string;
|
|
46274
46274
|
location_map_id: number;
|
|
46275
46275
|
} | null | undefined;
|
|
46276
46276
|
capacity?: number | undefined;
|
|
@@ -46380,8 +46380,8 @@ declare const flightLogSchema: z.ZodObject<{
|
|
|
46380
46380
|
} | undefined;
|
|
46381
46381
|
} | undefined;
|
|
46382
46382
|
crew_assignments?: {
|
|
46383
|
-
role: string;
|
|
46384
46383
|
membership_id: number;
|
|
46384
|
+
role: string;
|
|
46385
46385
|
id?: number | undefined;
|
|
46386
46386
|
membership?: any;
|
|
46387
46387
|
is_pic?: boolean | undefined;
|
|
@@ -46966,7 +46966,7 @@ declare const flightLogSchema: z.ZodObject<{
|
|
|
46966
46966
|
source_course_id?: number | null | undefined;
|
|
46967
46967
|
source_key?: string | null | undefined;
|
|
46968
46968
|
is_derived?: boolean | undefined;
|
|
46969
|
-
relation?: ("
|
|
46969
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
46970
46970
|
payment_per?: string | null | undefined;
|
|
46971
46971
|
course_count?: number | undefined;
|
|
46972
46972
|
count?: number | undefined;
|
|
@@ -47105,7 +47105,7 @@ declare const flightLogSchema: z.ZodObject<{
|
|
|
47105
47105
|
source_course_id?: number | null | undefined;
|
|
47106
47106
|
source_key?: string | null | undefined;
|
|
47107
47107
|
is_derived?: boolean | undefined;
|
|
47108
|
-
relation?: ("
|
|
47108
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
47109
47109
|
payment_per?: string | null | undefined;
|
|
47110
47110
|
course_count?: number | undefined;
|
|
47111
47111
|
count?: number | undefined;
|
|
@@ -47128,9 +47128,9 @@ declare const flightLogSchema: z.ZodObject<{
|
|
|
47128
47128
|
parking_lng?: number | null | undefined;
|
|
47129
47129
|
parking_lat?: number | null | undefined;
|
|
47130
47130
|
hangar?: {
|
|
47131
|
-
kind: string;
|
|
47132
47131
|
name: string | null;
|
|
47133
47132
|
id: number;
|
|
47133
|
+
kind: string;
|
|
47134
47134
|
location_map_id: number;
|
|
47135
47135
|
} | null | undefined;
|
|
47136
47136
|
capacity?: number | undefined;
|
|
@@ -47240,8 +47240,8 @@ declare const flightLogSchema: z.ZodObject<{
|
|
|
47240
47240
|
} | undefined;
|
|
47241
47241
|
} | undefined;
|
|
47242
47242
|
crew_assignments?: {
|
|
47243
|
-
role: string;
|
|
47244
47243
|
membership_id: number;
|
|
47244
|
+
role: string;
|
|
47245
47245
|
id?: number | undefined;
|
|
47246
47246
|
membership?: any;
|
|
47247
47247
|
is_pic?: boolean | undefined;
|
|
@@ -51724,8 +51724,6 @@ declare const expenseSchema: z.ZodObject<{
|
|
|
51724
51724
|
delete?: boolean | null | undefined;
|
|
51725
51725
|
}>>;
|
|
51726
51726
|
}, "strip", z.ZodTypeAny, {
|
|
51727
|
-
student: boolean;
|
|
51728
|
-
instructor: boolean;
|
|
51729
51727
|
name: string;
|
|
51730
51728
|
type: "membership";
|
|
51731
51729
|
status: string;
|
|
@@ -51733,9 +51731,11 @@ declare const expenseSchema: z.ZodObject<{
|
|
|
51733
51731
|
created_at: string;
|
|
51734
51732
|
updated_at: string;
|
|
51735
51733
|
company_id: number;
|
|
51734
|
+
instructor: boolean;
|
|
51736
51735
|
user_id: number;
|
|
51737
51736
|
admin: boolean;
|
|
51738
51737
|
accountant: boolean;
|
|
51738
|
+
student: boolean;
|
|
51739
51739
|
content_creator: boolean;
|
|
51740
51740
|
charter_client: boolean;
|
|
51741
51741
|
phone?: string | null | undefined;
|
|
@@ -51863,8 +51863,6 @@ declare const expenseSchema: z.ZodObject<{
|
|
|
51863
51863
|
name: z.ZodString;
|
|
51864
51864
|
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
51865
51865
|
}, {
|
|
51866
|
-
student: boolean;
|
|
51867
|
-
instructor: boolean;
|
|
51868
51866
|
name: string;
|
|
51869
51867
|
type: "membership";
|
|
51870
51868
|
status: string;
|
|
@@ -51872,9 +51870,11 @@ declare const expenseSchema: z.ZodObject<{
|
|
|
51872
51870
|
created_at: string;
|
|
51873
51871
|
updated_at: string;
|
|
51874
51872
|
company_id: number;
|
|
51873
|
+
instructor: boolean;
|
|
51875
51874
|
user_id: number;
|
|
51876
51875
|
admin: boolean;
|
|
51877
51876
|
accountant: boolean;
|
|
51877
|
+
student: boolean;
|
|
51878
51878
|
content_creator: boolean;
|
|
51879
51879
|
charter_client: boolean;
|
|
51880
51880
|
phone?: string | null | undefined;
|
|
@@ -52132,8 +52132,6 @@ declare const expenseSchema: z.ZodObject<{
|
|
|
52132
52132
|
approve?: boolean | null | undefined;
|
|
52133
52133
|
} | undefined;
|
|
52134
52134
|
membership?: {
|
|
52135
|
-
student: boolean;
|
|
52136
|
-
instructor: boolean;
|
|
52137
52135
|
name: string;
|
|
52138
52136
|
type: "membership";
|
|
52139
52137
|
status: string;
|
|
@@ -52141,9 +52139,11 @@ declare const expenseSchema: z.ZodObject<{
|
|
|
52141
52139
|
created_at: string;
|
|
52142
52140
|
updated_at: string;
|
|
52143
52141
|
company_id: number;
|
|
52142
|
+
instructor: boolean;
|
|
52144
52143
|
user_id: number;
|
|
52145
52144
|
admin: boolean;
|
|
52146
52145
|
accountant: boolean;
|
|
52146
|
+
student: boolean;
|
|
52147
52147
|
content_creator: boolean;
|
|
52148
52148
|
charter_client: boolean;
|
|
52149
52149
|
phone?: string | null | undefined;
|
|
@@ -52370,8 +52370,6 @@ declare const expenseSchema: z.ZodObject<{
|
|
|
52370
52370
|
approve?: boolean | null | undefined;
|
|
52371
52371
|
} | undefined;
|
|
52372
52372
|
membership?: {
|
|
52373
|
-
student: boolean;
|
|
52374
|
-
instructor: boolean;
|
|
52375
52373
|
name: string;
|
|
52376
52374
|
type: "membership";
|
|
52377
52375
|
status: string;
|
|
@@ -52379,9 +52377,11 @@ declare const expenseSchema: z.ZodObject<{
|
|
|
52379
52377
|
created_at: string;
|
|
52380
52378
|
updated_at: string;
|
|
52381
52379
|
company_id: number;
|
|
52380
|
+
instructor: boolean;
|
|
52382
52381
|
user_id: number;
|
|
52383
52382
|
admin: boolean;
|
|
52384
52383
|
accountant: boolean;
|
|
52384
|
+
student: boolean;
|
|
52385
52385
|
content_creator: boolean;
|
|
52386
52386
|
charter_client: boolean;
|
|
52387
52387
|
phone?: string | null | undefined;
|
|
@@ -53337,9 +53337,9 @@ declare const courseSchema: z.ZodObject<{
|
|
|
53337
53337
|
version: z.ZodNumber;
|
|
53338
53338
|
kind: z.ZodDefault<z.ZodEnum<["regular", "progress_check"]>>;
|
|
53339
53339
|
}, "strip", z.ZodTypeAny, {
|
|
53340
|
-
kind: "regular" | "progress_check";
|
|
53341
53340
|
name: string;
|
|
53342
53341
|
id: number;
|
|
53342
|
+
kind: "regular" | "progress_check";
|
|
53343
53343
|
version: number;
|
|
53344
53344
|
}, {
|
|
53345
53345
|
name: string;
|
|
@@ -54064,7 +54064,7 @@ declare const courseSchema: z.ZodObject<{
|
|
|
54064
54064
|
source_course_id?: number | null | undefined;
|
|
54065
54065
|
source_key?: string | null | undefined;
|
|
54066
54066
|
is_derived?: boolean | undefined;
|
|
54067
|
-
relation?: ("
|
|
54067
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
54068
54068
|
payment_per?: string | null | undefined;
|
|
54069
54069
|
course_count?: number | undefined;
|
|
54070
54070
|
count?: number | undefined;
|
|
@@ -54201,7 +54201,7 @@ declare const courseSchema: z.ZodObject<{
|
|
|
54201
54201
|
source_course_id?: number | null | undefined;
|
|
54202
54202
|
source_key?: string | null | undefined;
|
|
54203
54203
|
is_derived?: boolean | undefined;
|
|
54204
|
-
relation?: ("
|
|
54204
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
54205
54205
|
payment_per?: string | null | undefined;
|
|
54206
54206
|
course_count?: number | undefined;
|
|
54207
54207
|
count?: number | undefined;
|
|
@@ -54919,7 +54919,7 @@ declare const courseSchema: z.ZodObject<{
|
|
|
54919
54919
|
source_course_id?: number | null | undefined;
|
|
54920
54920
|
source_key?: string | null | undefined;
|
|
54921
54921
|
is_derived?: boolean | undefined;
|
|
54922
|
-
relation?: ("
|
|
54922
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
54923
54923
|
payment_per?: string | null | undefined;
|
|
54924
54924
|
course_count?: number | undefined;
|
|
54925
54925
|
count?: number | undefined;
|
|
@@ -55056,7 +55056,7 @@ declare const courseSchema: z.ZodObject<{
|
|
|
55056
55056
|
source_course_id?: number | null | undefined;
|
|
55057
55057
|
source_key?: string | null | undefined;
|
|
55058
55058
|
is_derived?: boolean | undefined;
|
|
55059
|
-
relation?: ("
|
|
55059
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
55060
55060
|
payment_per?: string | null | undefined;
|
|
55061
55061
|
course_count?: number | undefined;
|
|
55062
55062
|
count?: number | undefined;
|
|
@@ -55344,12 +55344,10 @@ declare const courseSchema: z.ZodObject<{
|
|
|
55344
55344
|
updated_at: string;
|
|
55345
55345
|
company_id: number;
|
|
55346
55346
|
aircraft_required: boolean;
|
|
55347
|
-
|
|
55348
|
-
instructor?: {
|
|
55347
|
+
company?: {
|
|
55349
55348
|
name: string;
|
|
55350
|
-
type: "
|
|
55349
|
+
type: "company";
|
|
55351
55350
|
id: number;
|
|
55352
|
-
email?: string | null | undefined;
|
|
55353
55351
|
media?: {
|
|
55354
55352
|
avatar?: {
|
|
55355
55353
|
type: "media";
|
|
@@ -55377,30 +55375,115 @@ declare const courseSchema: z.ZodObject<{
|
|
|
55377
55375
|
file_name?: string | undefined;
|
|
55378
55376
|
size?: number | undefined;
|
|
55379
55377
|
} | null | undefined;
|
|
55380
|
-
|
|
55381
|
-
|
|
55382
|
-
lastname?: string | null | undefined;
|
|
55383
|
-
mobile?: string | null | undefined;
|
|
55384
|
-
impersonation?: {
|
|
55385
|
-
is_impersonating: boolean;
|
|
55386
|
-
impersonator?: {
|
|
55387
|
-
name: string;
|
|
55388
|
-
email: string;
|
|
55378
|
+
images?: {
|
|
55379
|
+
type: "media";
|
|
55389
55380
|
id: number;
|
|
55390
|
-
|
|
55391
|
-
|
|
55392
|
-
|
|
55393
|
-
|
|
55381
|
+
created_at?: string | undefined;
|
|
55382
|
+
updated_at?: string | undefined;
|
|
55383
|
+
description?: string | undefined;
|
|
55384
|
+
collection_name?: string | undefined;
|
|
55385
|
+
conversions?: Record<string, string> | undefined;
|
|
55386
|
+
url?: string | undefined;
|
|
55387
|
+
mime_type?: string | undefined;
|
|
55388
|
+
file_name?: string | undefined;
|
|
55389
|
+
size?: number | undefined;
|
|
55390
|
+
}[] | null | undefined;
|
|
55391
|
+
documents?: {
|
|
55392
|
+
type: "media";
|
|
55394
55393
|
id: number;
|
|
55395
|
-
|
|
55396
|
-
|
|
55397
|
-
|
|
55398
|
-
|
|
55394
|
+
created_at?: string | undefined;
|
|
55395
|
+
updated_at?: string | undefined;
|
|
55396
|
+
description?: string | undefined;
|
|
55397
|
+
collection_name?: string | undefined;
|
|
55398
|
+
conversions?: Record<string, string> | undefined;
|
|
55399
|
+
url?: string | undefined;
|
|
55400
|
+
mime_type?: string | undefined;
|
|
55401
|
+
file_name?: string | undefined;
|
|
55402
|
+
size?: number | undefined;
|
|
55403
|
+
}[] | null | undefined;
|
|
55404
|
+
} | null | undefined;
|
|
55405
|
+
icao?: string | null | undefined;
|
|
55406
|
+
airport_id?: number | null | undefined;
|
|
55407
|
+
can?: Record<string, boolean | null> | undefined;
|
|
55408
|
+
permissions?: string[] | undefined;
|
|
55409
|
+
timezone?: string | undefined;
|
|
55410
|
+
ai_landing_fee_invoices_enabled?: boolean | undefined;
|
|
55411
|
+
entitlements?: string[] | undefined;
|
|
55412
|
+
airport?: {
|
|
55413
|
+
name: string;
|
|
55414
|
+
id: number;
|
|
55415
|
+
ident: string;
|
|
55416
|
+
municipality?: string | null | undefined;
|
|
55417
|
+
iso_country?: string | null | undefined;
|
|
55418
|
+
latitude_deg?: number | null | undefined;
|
|
55419
|
+
longitude_deg?: number | null | undefined;
|
|
55420
|
+
} | null | undefined;
|
|
55421
|
+
distance_in_km?: number | undefined;
|
|
55399
55422
|
} | undefined;
|
|
55400
|
-
|
|
55423
|
+
media?: {
|
|
55424
|
+
avatar?: {
|
|
55425
|
+
type: "media";
|
|
55426
|
+
id: number;
|
|
55427
|
+
created_at?: string | undefined;
|
|
55428
|
+
updated_at?: string | undefined;
|
|
55429
|
+
description?: string | undefined;
|
|
55430
|
+
collection_name?: string | undefined;
|
|
55431
|
+
conversions?: Record<string, string> | undefined;
|
|
55432
|
+
url?: string | undefined;
|
|
55433
|
+
mime_type?: string | undefined;
|
|
55434
|
+
file_name?: string | undefined;
|
|
55435
|
+
size?: number | undefined;
|
|
55436
|
+
} | null | undefined;
|
|
55437
|
+
header?: {
|
|
55438
|
+
type: "media";
|
|
55439
|
+
id: number;
|
|
55440
|
+
created_at?: string | undefined;
|
|
55441
|
+
updated_at?: string | undefined;
|
|
55442
|
+
description?: string | undefined;
|
|
55443
|
+
collection_name?: string | undefined;
|
|
55444
|
+
conversions?: Record<string, string> | undefined;
|
|
55445
|
+
url?: string | undefined;
|
|
55446
|
+
mime_type?: string | undefined;
|
|
55447
|
+
file_name?: string | undefined;
|
|
55448
|
+
size?: number | undefined;
|
|
55449
|
+
} | null | undefined;
|
|
55450
|
+
images?: {
|
|
55451
|
+
type: "media";
|
|
55452
|
+
id: number;
|
|
55453
|
+
created_at?: string | undefined;
|
|
55454
|
+
updated_at?: string | undefined;
|
|
55455
|
+
description?: string | undefined;
|
|
55456
|
+
collection_name?: string | undefined;
|
|
55457
|
+
conversions?: Record<string, string> | undefined;
|
|
55458
|
+
url?: string | undefined;
|
|
55459
|
+
mime_type?: string | undefined;
|
|
55460
|
+
file_name?: string | undefined;
|
|
55461
|
+
size?: number | undefined;
|
|
55462
|
+
}[] | null | undefined;
|
|
55463
|
+
documents?: {
|
|
55464
|
+
type: "media";
|
|
55465
|
+
id: number;
|
|
55466
|
+
created_at?: string | undefined;
|
|
55467
|
+
updated_at?: string | undefined;
|
|
55468
|
+
description?: string | undefined;
|
|
55469
|
+
collection_name?: string | undefined;
|
|
55470
|
+
conversions?: Record<string, string> | undefined;
|
|
55471
|
+
url?: string | undefined;
|
|
55472
|
+
mime_type?: string | undefined;
|
|
55473
|
+
file_name?: string | undefined;
|
|
55474
|
+
size?: number | undefined;
|
|
55475
|
+
}[] | null | undefined;
|
|
55476
|
+
} | null | undefined;
|
|
55477
|
+
description?: string | null | undefined;
|
|
55478
|
+
can?: Record<string, boolean | null> | undefined;
|
|
55479
|
+
kind?: string | undefined;
|
|
55480
|
+
syllabus_id?: number | null | undefined;
|
|
55481
|
+
version?: number | undefined;
|
|
55482
|
+
instructor?: {
|
|
55401
55483
|
name: string;
|
|
55402
|
-
type: "
|
|
55484
|
+
type: "user";
|
|
55403
55485
|
id: number;
|
|
55486
|
+
email?: string | null | undefined;
|
|
55404
55487
|
media?: {
|
|
55405
55488
|
avatar?: {
|
|
55406
55489
|
type: "media";
|
|
@@ -55428,109 +55511,26 @@ declare const courseSchema: z.ZodObject<{
|
|
|
55428
55511
|
file_name?: string | undefined;
|
|
55429
55512
|
size?: number | undefined;
|
|
55430
55513
|
} | null | undefined;
|
|
55431
|
-
|
|
55432
|
-
|
|
55514
|
+
} | undefined;
|
|
55515
|
+
firstname?: string | null | undefined;
|
|
55516
|
+
lastname?: string | null | undefined;
|
|
55517
|
+
mobile?: string | null | undefined;
|
|
55518
|
+
impersonation?: {
|
|
55519
|
+
is_impersonating: boolean;
|
|
55520
|
+
impersonator?: {
|
|
55521
|
+
name: string;
|
|
55522
|
+
email: string;
|
|
55433
55523
|
id: number;
|
|
55434
|
-
|
|
55435
|
-
|
|
55436
|
-
|
|
55437
|
-
|
|
55438
|
-
conversions?: Record<string, string> | undefined;
|
|
55439
|
-
url?: string | undefined;
|
|
55440
|
-
mime_type?: string | undefined;
|
|
55441
|
-
file_name?: string | undefined;
|
|
55442
|
-
size?: number | undefined;
|
|
55443
|
-
}[] | null | undefined;
|
|
55444
|
-
documents?: {
|
|
55445
|
-
type: "media";
|
|
55524
|
+
} | undefined;
|
|
55525
|
+
impersonated?: {
|
|
55526
|
+
name: string;
|
|
55527
|
+
email: string;
|
|
55446
55528
|
id: number;
|
|
55447
|
-
|
|
55448
|
-
|
|
55449
|
-
|
|
55450
|
-
|
|
55451
|
-
conversions?: Record<string, string> | undefined;
|
|
55452
|
-
url?: string | undefined;
|
|
55453
|
-
mime_type?: string | undefined;
|
|
55454
|
-
file_name?: string | undefined;
|
|
55455
|
-
size?: number | undefined;
|
|
55456
|
-
}[] | null | undefined;
|
|
55457
|
-
} | null | undefined;
|
|
55458
|
-
icao?: string | null | undefined;
|
|
55459
|
-
airport_id?: number | null | undefined;
|
|
55460
|
-
can?: Record<string, boolean | null> | undefined;
|
|
55461
|
-
permissions?: string[] | undefined;
|
|
55462
|
-
timezone?: string | undefined;
|
|
55463
|
-
ai_landing_fee_invoices_enabled?: boolean | undefined;
|
|
55464
|
-
entitlements?: string[] | undefined;
|
|
55465
|
-
airport?: {
|
|
55466
|
-
name: string;
|
|
55467
|
-
id: number;
|
|
55468
|
-
ident: string;
|
|
55469
|
-
municipality?: string | null | undefined;
|
|
55470
|
-
iso_country?: string | null | undefined;
|
|
55471
|
-
latitude_deg?: number | null | undefined;
|
|
55472
|
-
longitude_deg?: number | null | undefined;
|
|
55473
|
-
} | null | undefined;
|
|
55474
|
-
distance_in_km?: number | undefined;
|
|
55529
|
+
} | undefined;
|
|
55530
|
+
started_at?: string | undefined;
|
|
55531
|
+
expires_at?: string | undefined;
|
|
55532
|
+
} | undefined;
|
|
55475
55533
|
} | undefined;
|
|
55476
|
-
media?: {
|
|
55477
|
-
avatar?: {
|
|
55478
|
-
type: "media";
|
|
55479
|
-
id: number;
|
|
55480
|
-
created_at?: string | undefined;
|
|
55481
|
-
updated_at?: string | undefined;
|
|
55482
|
-
description?: string | undefined;
|
|
55483
|
-
collection_name?: string | undefined;
|
|
55484
|
-
conversions?: Record<string, string> | undefined;
|
|
55485
|
-
url?: string | undefined;
|
|
55486
|
-
mime_type?: string | undefined;
|
|
55487
|
-
file_name?: string | undefined;
|
|
55488
|
-
size?: number | undefined;
|
|
55489
|
-
} | null | undefined;
|
|
55490
|
-
header?: {
|
|
55491
|
-
type: "media";
|
|
55492
|
-
id: number;
|
|
55493
|
-
created_at?: string | undefined;
|
|
55494
|
-
updated_at?: string | undefined;
|
|
55495
|
-
description?: string | undefined;
|
|
55496
|
-
collection_name?: string | undefined;
|
|
55497
|
-
conversions?: Record<string, string> | undefined;
|
|
55498
|
-
url?: string | undefined;
|
|
55499
|
-
mime_type?: string | undefined;
|
|
55500
|
-
file_name?: string | undefined;
|
|
55501
|
-
size?: number | undefined;
|
|
55502
|
-
} | null | undefined;
|
|
55503
|
-
images?: {
|
|
55504
|
-
type: "media";
|
|
55505
|
-
id: number;
|
|
55506
|
-
created_at?: string | undefined;
|
|
55507
|
-
updated_at?: string | undefined;
|
|
55508
|
-
description?: string | undefined;
|
|
55509
|
-
collection_name?: string | undefined;
|
|
55510
|
-
conversions?: Record<string, string> | undefined;
|
|
55511
|
-
url?: string | undefined;
|
|
55512
|
-
mime_type?: string | undefined;
|
|
55513
|
-
file_name?: string | undefined;
|
|
55514
|
-
size?: number | undefined;
|
|
55515
|
-
}[] | null | undefined;
|
|
55516
|
-
documents?: {
|
|
55517
|
-
type: "media";
|
|
55518
|
-
id: number;
|
|
55519
|
-
created_at?: string | undefined;
|
|
55520
|
-
updated_at?: string | undefined;
|
|
55521
|
-
description?: string | undefined;
|
|
55522
|
-
collection_name?: string | undefined;
|
|
55523
|
-
conversions?: Record<string, string> | undefined;
|
|
55524
|
-
url?: string | undefined;
|
|
55525
|
-
mime_type?: string | undefined;
|
|
55526
|
-
file_name?: string | undefined;
|
|
55527
|
-
size?: number | undefined;
|
|
55528
|
-
}[] | null | undefined;
|
|
55529
|
-
} | null | undefined;
|
|
55530
|
-
description?: string | null | undefined;
|
|
55531
|
-
can?: Record<string, boolean | null> | undefined;
|
|
55532
|
-
syllabus_id?: number | null | undefined;
|
|
55533
|
-
version?: number | undefined;
|
|
55534
55534
|
price?: {
|
|
55535
55535
|
amount: number;
|
|
55536
55536
|
currency: string;
|
|
@@ -55560,9 +55560,9 @@ declare const courseSchema: z.ZodObject<{
|
|
|
55560
55560
|
footer?: string | null | undefined;
|
|
55561
55561
|
booking_form_syllabus_id?: number | null | undefined;
|
|
55562
55562
|
check_syllabi?: {
|
|
55563
|
-
kind: "regular" | "progress_check";
|
|
55564
55563
|
name: string;
|
|
55565
55564
|
id: number;
|
|
55565
|
+
kind: "regular" | "progress_check";
|
|
55566
55566
|
version: number;
|
|
55567
55567
|
}[] | undefined;
|
|
55568
55568
|
tags?: {
|
|
@@ -55692,7 +55692,7 @@ declare const courseSchema: z.ZodObject<{
|
|
|
55692
55692
|
source_course_id?: number | null | undefined;
|
|
55693
55693
|
source_key?: string | null | undefined;
|
|
55694
55694
|
is_derived?: boolean | undefined;
|
|
55695
|
-
relation?: ("
|
|
55695
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
55696
55696
|
payment_per?: string | null | undefined;
|
|
55697
55697
|
course_count?: number | undefined;
|
|
55698
55698
|
count?: number | undefined;
|
|
@@ -55830,7 +55830,7 @@ declare const courseSchema: z.ZodObject<{
|
|
|
55830
55830
|
source_course_id?: number | null | undefined;
|
|
55831
55831
|
source_key?: string | null | undefined;
|
|
55832
55832
|
is_derived?: boolean | undefined;
|
|
55833
|
-
relation?: ("
|
|
55833
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
55834
55834
|
payment_per?: string | null | undefined;
|
|
55835
55835
|
course_count?: number | undefined;
|
|
55836
55836
|
count?: number | undefined;
|
|
@@ -55855,59 +55855,6 @@ declare const courseSchema: z.ZodObject<{
|
|
|
55855
55855
|
created_at: string;
|
|
55856
55856
|
updated_at: string;
|
|
55857
55857
|
company_id: number;
|
|
55858
|
-
kind?: string | undefined;
|
|
55859
|
-
instructor?: {
|
|
55860
|
-
name: string;
|
|
55861
|
-
type: "user";
|
|
55862
|
-
id: number;
|
|
55863
|
-
email?: string | null | undefined;
|
|
55864
|
-
media?: {
|
|
55865
|
-
avatar?: {
|
|
55866
|
-
type: "media";
|
|
55867
|
-
id: number;
|
|
55868
|
-
created_at?: string | undefined;
|
|
55869
|
-
updated_at?: string | undefined;
|
|
55870
|
-
description?: string | undefined;
|
|
55871
|
-
collection_name?: string | undefined;
|
|
55872
|
-
conversions?: Record<string, string> | undefined;
|
|
55873
|
-
url?: string | undefined;
|
|
55874
|
-
mime_type?: string | undefined;
|
|
55875
|
-
file_name?: string | undefined;
|
|
55876
|
-
size?: number | undefined;
|
|
55877
|
-
} | null | undefined;
|
|
55878
|
-
header?: {
|
|
55879
|
-
type: "media";
|
|
55880
|
-
id: number;
|
|
55881
|
-
created_at?: string | undefined;
|
|
55882
|
-
updated_at?: string | undefined;
|
|
55883
|
-
description?: string | undefined;
|
|
55884
|
-
collection_name?: string | undefined;
|
|
55885
|
-
conversions?: Record<string, string> | undefined;
|
|
55886
|
-
url?: string | undefined;
|
|
55887
|
-
mime_type?: string | undefined;
|
|
55888
|
-
file_name?: string | undefined;
|
|
55889
|
-
size?: number | undefined;
|
|
55890
|
-
} | null | undefined;
|
|
55891
|
-
} | undefined;
|
|
55892
|
-
firstname?: string | null | undefined;
|
|
55893
|
-
lastname?: string | null | undefined;
|
|
55894
|
-
mobile?: string | null | undefined;
|
|
55895
|
-
impersonation?: {
|
|
55896
|
-
is_impersonating: boolean;
|
|
55897
|
-
impersonator?: {
|
|
55898
|
-
name: string;
|
|
55899
|
-
email: string;
|
|
55900
|
-
id: number;
|
|
55901
|
-
} | undefined;
|
|
55902
|
-
impersonated?: {
|
|
55903
|
-
name: string;
|
|
55904
|
-
email: string;
|
|
55905
|
-
id: number;
|
|
55906
|
-
} | undefined;
|
|
55907
|
-
started_at?: string | undefined;
|
|
55908
|
-
expires_at?: string | undefined;
|
|
55909
|
-
} | undefined;
|
|
55910
|
-
} | undefined;
|
|
55911
55858
|
company?: {
|
|
55912
55859
|
name: string;
|
|
55913
55860
|
type: "company";
|
|
@@ -56040,8 +55987,61 @@ declare const courseSchema: z.ZodObject<{
|
|
|
56040
55987
|
} | null | undefined;
|
|
56041
55988
|
description?: string | null | undefined;
|
|
56042
55989
|
can?: Record<string, boolean | null> | undefined;
|
|
55990
|
+
kind?: string | undefined;
|
|
56043
55991
|
syllabus_id?: number | null | undefined;
|
|
56044
55992
|
version?: number | undefined;
|
|
55993
|
+
instructor?: {
|
|
55994
|
+
name: string;
|
|
55995
|
+
type: "user";
|
|
55996
|
+
id: number;
|
|
55997
|
+
email?: string | null | undefined;
|
|
55998
|
+
media?: {
|
|
55999
|
+
avatar?: {
|
|
56000
|
+
type: "media";
|
|
56001
|
+
id: number;
|
|
56002
|
+
created_at?: string | undefined;
|
|
56003
|
+
updated_at?: string | undefined;
|
|
56004
|
+
description?: string | undefined;
|
|
56005
|
+
collection_name?: string | undefined;
|
|
56006
|
+
conversions?: Record<string, string> | undefined;
|
|
56007
|
+
url?: string | undefined;
|
|
56008
|
+
mime_type?: string | undefined;
|
|
56009
|
+
file_name?: string | undefined;
|
|
56010
|
+
size?: number | undefined;
|
|
56011
|
+
} | null | undefined;
|
|
56012
|
+
header?: {
|
|
56013
|
+
type: "media";
|
|
56014
|
+
id: number;
|
|
56015
|
+
created_at?: string | undefined;
|
|
56016
|
+
updated_at?: string | undefined;
|
|
56017
|
+
description?: string | undefined;
|
|
56018
|
+
collection_name?: string | undefined;
|
|
56019
|
+
conversions?: Record<string, string> | undefined;
|
|
56020
|
+
url?: string | undefined;
|
|
56021
|
+
mime_type?: string | undefined;
|
|
56022
|
+
file_name?: string | undefined;
|
|
56023
|
+
size?: number | undefined;
|
|
56024
|
+
} | null | undefined;
|
|
56025
|
+
} | undefined;
|
|
56026
|
+
firstname?: string | null | undefined;
|
|
56027
|
+
lastname?: string | null | undefined;
|
|
56028
|
+
mobile?: string | null | undefined;
|
|
56029
|
+
impersonation?: {
|
|
56030
|
+
is_impersonating: boolean;
|
|
56031
|
+
impersonator?: {
|
|
56032
|
+
name: string;
|
|
56033
|
+
email: string;
|
|
56034
|
+
id: number;
|
|
56035
|
+
} | undefined;
|
|
56036
|
+
impersonated?: {
|
|
56037
|
+
name: string;
|
|
56038
|
+
email: string;
|
|
56039
|
+
id: number;
|
|
56040
|
+
} | undefined;
|
|
56041
|
+
started_at?: string | undefined;
|
|
56042
|
+
expires_at?: string | undefined;
|
|
56043
|
+
} | undefined;
|
|
56044
|
+
} | undefined;
|
|
56045
56045
|
price?: {
|
|
56046
56046
|
amount: number;
|
|
56047
56047
|
currency: string;
|
|
@@ -56204,7 +56204,7 @@ declare const courseSchema: z.ZodObject<{
|
|
|
56204
56204
|
source_course_id?: number | null | undefined;
|
|
56205
56205
|
source_key?: string | null | undefined;
|
|
56206
56206
|
is_derived?: boolean | undefined;
|
|
56207
|
-
relation?: ("
|
|
56207
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
56208
56208
|
payment_per?: string | null | undefined;
|
|
56209
56209
|
course_count?: number | undefined;
|
|
56210
56210
|
count?: number | undefined;
|
|
@@ -56342,7 +56342,7 @@ declare const courseSchema: z.ZodObject<{
|
|
|
56342
56342
|
source_course_id?: number | null | undefined;
|
|
56343
56343
|
source_key?: string | null | undefined;
|
|
56344
56344
|
is_derived?: boolean | undefined;
|
|
56345
|
-
relation?: ("
|
|
56345
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
56346
56346
|
payment_per?: string | null | undefined;
|
|
56347
56347
|
course_count?: number | undefined;
|
|
56348
56348
|
count?: number | undefined;
|
|
@@ -57232,9 +57232,9 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
57232
57232
|
version: z.ZodNumber;
|
|
57233
57233
|
kind: z.ZodDefault<z.ZodEnum<["regular", "progress_check"]>>;
|
|
57234
57234
|
}, "strip", z.ZodTypeAny, {
|
|
57235
|
-
kind: "regular" | "progress_check";
|
|
57236
57235
|
name: string;
|
|
57237
57236
|
id: number;
|
|
57237
|
+
kind: "regular" | "progress_check";
|
|
57238
57238
|
version: number;
|
|
57239
57239
|
}, {
|
|
57240
57240
|
name: string;
|
|
@@ -57959,7 +57959,7 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
57959
57959
|
source_course_id?: number | null | undefined;
|
|
57960
57960
|
source_key?: string | null | undefined;
|
|
57961
57961
|
is_derived?: boolean | undefined;
|
|
57962
|
-
relation?: ("
|
|
57962
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
57963
57963
|
payment_per?: string | null | undefined;
|
|
57964
57964
|
course_count?: number | undefined;
|
|
57965
57965
|
count?: number | undefined;
|
|
@@ -58096,7 +58096,7 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
58096
58096
|
source_course_id?: number | null | undefined;
|
|
58097
58097
|
source_key?: string | null | undefined;
|
|
58098
58098
|
is_derived?: boolean | undefined;
|
|
58099
|
-
relation?: ("
|
|
58099
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
58100
58100
|
payment_per?: string | null | undefined;
|
|
58101
58101
|
course_count?: number | undefined;
|
|
58102
58102
|
count?: number | undefined;
|
|
@@ -58814,7 +58814,7 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
58814
58814
|
source_course_id?: number | null | undefined;
|
|
58815
58815
|
source_key?: string | null | undefined;
|
|
58816
58816
|
is_derived?: boolean | undefined;
|
|
58817
|
-
relation?: ("
|
|
58817
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
58818
58818
|
payment_per?: string | null | undefined;
|
|
58819
58819
|
course_count?: number | undefined;
|
|
58820
58820
|
count?: number | undefined;
|
|
@@ -58951,7 +58951,7 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
58951
58951
|
source_course_id?: number | null | undefined;
|
|
58952
58952
|
source_key?: string | null | undefined;
|
|
58953
58953
|
is_derived?: boolean | undefined;
|
|
58954
|
-
relation?: ("
|
|
58954
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
58955
58955
|
payment_per?: string | null | undefined;
|
|
58956
58956
|
course_count?: number | undefined;
|
|
58957
58957
|
count?: number | undefined;
|
|
@@ -59239,59 +59239,6 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
59239
59239
|
updated_at: string;
|
|
59240
59240
|
company_id: number;
|
|
59241
59241
|
aircraft_required: boolean;
|
|
59242
|
-
kind?: string | undefined;
|
|
59243
|
-
instructor?: {
|
|
59244
|
-
name: string;
|
|
59245
|
-
type: "user";
|
|
59246
|
-
id: number;
|
|
59247
|
-
email?: string | null | undefined;
|
|
59248
|
-
media?: {
|
|
59249
|
-
avatar?: {
|
|
59250
|
-
type: "media";
|
|
59251
|
-
id: number;
|
|
59252
|
-
created_at?: string | undefined;
|
|
59253
|
-
updated_at?: string | undefined;
|
|
59254
|
-
description?: string | undefined;
|
|
59255
|
-
collection_name?: string | undefined;
|
|
59256
|
-
conversions?: Record<string, string> | undefined;
|
|
59257
|
-
url?: string | undefined;
|
|
59258
|
-
mime_type?: string | undefined;
|
|
59259
|
-
file_name?: string | undefined;
|
|
59260
|
-
size?: number | undefined;
|
|
59261
|
-
} | null | undefined;
|
|
59262
|
-
header?: {
|
|
59263
|
-
type: "media";
|
|
59264
|
-
id: number;
|
|
59265
|
-
created_at?: string | undefined;
|
|
59266
|
-
updated_at?: string | undefined;
|
|
59267
|
-
description?: string | undefined;
|
|
59268
|
-
collection_name?: string | undefined;
|
|
59269
|
-
conversions?: Record<string, string> | undefined;
|
|
59270
|
-
url?: string | undefined;
|
|
59271
|
-
mime_type?: string | undefined;
|
|
59272
|
-
file_name?: string | undefined;
|
|
59273
|
-
size?: number | undefined;
|
|
59274
|
-
} | null | undefined;
|
|
59275
|
-
} | undefined;
|
|
59276
|
-
firstname?: string | null | undefined;
|
|
59277
|
-
lastname?: string | null | undefined;
|
|
59278
|
-
mobile?: string | null | undefined;
|
|
59279
|
-
impersonation?: {
|
|
59280
|
-
is_impersonating: boolean;
|
|
59281
|
-
impersonator?: {
|
|
59282
|
-
name: string;
|
|
59283
|
-
email: string;
|
|
59284
|
-
id: number;
|
|
59285
|
-
} | undefined;
|
|
59286
|
-
impersonated?: {
|
|
59287
|
-
name: string;
|
|
59288
|
-
email: string;
|
|
59289
|
-
id: number;
|
|
59290
|
-
} | undefined;
|
|
59291
|
-
started_at?: string | undefined;
|
|
59292
|
-
expires_at?: string | undefined;
|
|
59293
|
-
} | undefined;
|
|
59294
|
-
} | undefined;
|
|
59295
59242
|
company?: {
|
|
59296
59243
|
name: string;
|
|
59297
59244
|
type: "company";
|
|
@@ -59424,8 +59371,61 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
59424
59371
|
} | null | undefined;
|
|
59425
59372
|
description?: string | null | undefined;
|
|
59426
59373
|
can?: Record<string, boolean | null> | undefined;
|
|
59374
|
+
kind?: string | undefined;
|
|
59427
59375
|
syllabus_id?: number | null | undefined;
|
|
59428
59376
|
version?: number | undefined;
|
|
59377
|
+
instructor?: {
|
|
59378
|
+
name: string;
|
|
59379
|
+
type: "user";
|
|
59380
|
+
id: number;
|
|
59381
|
+
email?: string | null | undefined;
|
|
59382
|
+
media?: {
|
|
59383
|
+
avatar?: {
|
|
59384
|
+
type: "media";
|
|
59385
|
+
id: number;
|
|
59386
|
+
created_at?: string | undefined;
|
|
59387
|
+
updated_at?: string | undefined;
|
|
59388
|
+
description?: string | undefined;
|
|
59389
|
+
collection_name?: string | undefined;
|
|
59390
|
+
conversions?: Record<string, string> | undefined;
|
|
59391
|
+
url?: string | undefined;
|
|
59392
|
+
mime_type?: string | undefined;
|
|
59393
|
+
file_name?: string | undefined;
|
|
59394
|
+
size?: number | undefined;
|
|
59395
|
+
} | null | undefined;
|
|
59396
|
+
header?: {
|
|
59397
|
+
type: "media";
|
|
59398
|
+
id: number;
|
|
59399
|
+
created_at?: string | undefined;
|
|
59400
|
+
updated_at?: string | undefined;
|
|
59401
|
+
description?: string | undefined;
|
|
59402
|
+
collection_name?: string | undefined;
|
|
59403
|
+
conversions?: Record<string, string> | undefined;
|
|
59404
|
+
url?: string | undefined;
|
|
59405
|
+
mime_type?: string | undefined;
|
|
59406
|
+
file_name?: string | undefined;
|
|
59407
|
+
size?: number | undefined;
|
|
59408
|
+
} | null | undefined;
|
|
59409
|
+
} | undefined;
|
|
59410
|
+
firstname?: string | null | undefined;
|
|
59411
|
+
lastname?: string | null | undefined;
|
|
59412
|
+
mobile?: string | null | undefined;
|
|
59413
|
+
impersonation?: {
|
|
59414
|
+
is_impersonating: boolean;
|
|
59415
|
+
impersonator?: {
|
|
59416
|
+
name: string;
|
|
59417
|
+
email: string;
|
|
59418
|
+
id: number;
|
|
59419
|
+
} | undefined;
|
|
59420
|
+
impersonated?: {
|
|
59421
|
+
name: string;
|
|
59422
|
+
email: string;
|
|
59423
|
+
id: number;
|
|
59424
|
+
} | undefined;
|
|
59425
|
+
started_at?: string | undefined;
|
|
59426
|
+
expires_at?: string | undefined;
|
|
59427
|
+
} | undefined;
|
|
59428
|
+
} | undefined;
|
|
59429
59429
|
price?: {
|
|
59430
59430
|
amount: number;
|
|
59431
59431
|
currency: string;
|
|
@@ -59455,9 +59455,9 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
59455
59455
|
footer?: string | null | undefined;
|
|
59456
59456
|
booking_form_syllabus_id?: number | null | undefined;
|
|
59457
59457
|
check_syllabi?: {
|
|
59458
|
-
kind: "regular" | "progress_check";
|
|
59459
59458
|
name: string;
|
|
59460
59459
|
id: number;
|
|
59460
|
+
kind: "regular" | "progress_check";
|
|
59461
59461
|
version: number;
|
|
59462
59462
|
}[] | undefined;
|
|
59463
59463
|
tags?: {
|
|
@@ -59587,7 +59587,7 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
59587
59587
|
source_course_id?: number | null | undefined;
|
|
59588
59588
|
source_key?: string | null | undefined;
|
|
59589
59589
|
is_derived?: boolean | undefined;
|
|
59590
|
-
relation?: ("
|
|
59590
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
59591
59591
|
payment_per?: string | null | undefined;
|
|
59592
59592
|
course_count?: number | undefined;
|
|
59593
59593
|
count?: number | undefined;
|
|
@@ -59725,7 +59725,7 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
59725
59725
|
source_course_id?: number | null | undefined;
|
|
59726
59726
|
source_key?: string | null | undefined;
|
|
59727
59727
|
is_derived?: boolean | undefined;
|
|
59728
|
-
relation?: ("
|
|
59728
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
59729
59729
|
payment_per?: string | null | undefined;
|
|
59730
59730
|
course_count?: number | undefined;
|
|
59731
59731
|
count?: number | undefined;
|
|
@@ -59750,59 +59750,6 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
59750
59750
|
created_at: string;
|
|
59751
59751
|
updated_at: string;
|
|
59752
59752
|
company_id: number;
|
|
59753
|
-
kind?: string | undefined;
|
|
59754
|
-
instructor?: {
|
|
59755
|
-
name: string;
|
|
59756
|
-
type: "user";
|
|
59757
|
-
id: number;
|
|
59758
|
-
email?: string | null | undefined;
|
|
59759
|
-
media?: {
|
|
59760
|
-
avatar?: {
|
|
59761
|
-
type: "media";
|
|
59762
|
-
id: number;
|
|
59763
|
-
created_at?: string | undefined;
|
|
59764
|
-
updated_at?: string | undefined;
|
|
59765
|
-
description?: string | undefined;
|
|
59766
|
-
collection_name?: string | undefined;
|
|
59767
|
-
conversions?: Record<string, string> | undefined;
|
|
59768
|
-
url?: string | undefined;
|
|
59769
|
-
mime_type?: string | undefined;
|
|
59770
|
-
file_name?: string | undefined;
|
|
59771
|
-
size?: number | undefined;
|
|
59772
|
-
} | null | undefined;
|
|
59773
|
-
header?: {
|
|
59774
|
-
type: "media";
|
|
59775
|
-
id: number;
|
|
59776
|
-
created_at?: string | undefined;
|
|
59777
|
-
updated_at?: string | undefined;
|
|
59778
|
-
description?: string | undefined;
|
|
59779
|
-
collection_name?: string | undefined;
|
|
59780
|
-
conversions?: Record<string, string> | undefined;
|
|
59781
|
-
url?: string | undefined;
|
|
59782
|
-
mime_type?: string | undefined;
|
|
59783
|
-
file_name?: string | undefined;
|
|
59784
|
-
size?: number | undefined;
|
|
59785
|
-
} | null | undefined;
|
|
59786
|
-
} | undefined;
|
|
59787
|
-
firstname?: string | null | undefined;
|
|
59788
|
-
lastname?: string | null | undefined;
|
|
59789
|
-
mobile?: string | null | undefined;
|
|
59790
|
-
impersonation?: {
|
|
59791
|
-
is_impersonating: boolean;
|
|
59792
|
-
impersonator?: {
|
|
59793
|
-
name: string;
|
|
59794
|
-
email: string;
|
|
59795
|
-
id: number;
|
|
59796
|
-
} | undefined;
|
|
59797
|
-
impersonated?: {
|
|
59798
|
-
name: string;
|
|
59799
|
-
email: string;
|
|
59800
|
-
id: number;
|
|
59801
|
-
} | undefined;
|
|
59802
|
-
started_at?: string | undefined;
|
|
59803
|
-
expires_at?: string | undefined;
|
|
59804
|
-
} | undefined;
|
|
59805
|
-
} | undefined;
|
|
59806
59753
|
company?: {
|
|
59807
59754
|
name: string;
|
|
59808
59755
|
type: "company";
|
|
@@ -59935,8 +59882,61 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
59935
59882
|
} | null | undefined;
|
|
59936
59883
|
description?: string | null | undefined;
|
|
59937
59884
|
can?: Record<string, boolean | null> | undefined;
|
|
59885
|
+
kind?: string | undefined;
|
|
59938
59886
|
syllabus_id?: number | null | undefined;
|
|
59939
59887
|
version?: number | undefined;
|
|
59888
|
+
instructor?: {
|
|
59889
|
+
name: string;
|
|
59890
|
+
type: "user";
|
|
59891
|
+
id: number;
|
|
59892
|
+
email?: string | null | undefined;
|
|
59893
|
+
media?: {
|
|
59894
|
+
avatar?: {
|
|
59895
|
+
type: "media";
|
|
59896
|
+
id: number;
|
|
59897
|
+
created_at?: string | undefined;
|
|
59898
|
+
updated_at?: string | undefined;
|
|
59899
|
+
description?: string | undefined;
|
|
59900
|
+
collection_name?: string | undefined;
|
|
59901
|
+
conversions?: Record<string, string> | undefined;
|
|
59902
|
+
url?: string | undefined;
|
|
59903
|
+
mime_type?: string | undefined;
|
|
59904
|
+
file_name?: string | undefined;
|
|
59905
|
+
size?: number | undefined;
|
|
59906
|
+
} | null | undefined;
|
|
59907
|
+
header?: {
|
|
59908
|
+
type: "media";
|
|
59909
|
+
id: number;
|
|
59910
|
+
created_at?: string | undefined;
|
|
59911
|
+
updated_at?: string | undefined;
|
|
59912
|
+
description?: string | undefined;
|
|
59913
|
+
collection_name?: string | undefined;
|
|
59914
|
+
conversions?: Record<string, string> | undefined;
|
|
59915
|
+
url?: string | undefined;
|
|
59916
|
+
mime_type?: string | undefined;
|
|
59917
|
+
file_name?: string | undefined;
|
|
59918
|
+
size?: number | undefined;
|
|
59919
|
+
} | null | undefined;
|
|
59920
|
+
} | undefined;
|
|
59921
|
+
firstname?: string | null | undefined;
|
|
59922
|
+
lastname?: string | null | undefined;
|
|
59923
|
+
mobile?: string | null | undefined;
|
|
59924
|
+
impersonation?: {
|
|
59925
|
+
is_impersonating: boolean;
|
|
59926
|
+
impersonator?: {
|
|
59927
|
+
name: string;
|
|
59928
|
+
email: string;
|
|
59929
|
+
id: number;
|
|
59930
|
+
} | undefined;
|
|
59931
|
+
impersonated?: {
|
|
59932
|
+
name: string;
|
|
59933
|
+
email: string;
|
|
59934
|
+
id: number;
|
|
59935
|
+
} | undefined;
|
|
59936
|
+
started_at?: string | undefined;
|
|
59937
|
+
expires_at?: string | undefined;
|
|
59938
|
+
} | undefined;
|
|
59939
|
+
} | undefined;
|
|
59940
59940
|
price?: {
|
|
59941
59941
|
amount: number;
|
|
59942
59942
|
currency: string;
|
|
@@ -60099,7 +60099,7 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
60099
60099
|
source_course_id?: number | null | undefined;
|
|
60100
60100
|
source_key?: string | null | undefined;
|
|
60101
60101
|
is_derived?: boolean | undefined;
|
|
60102
|
-
relation?: ("
|
|
60102
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
60103
60103
|
payment_per?: string | null | undefined;
|
|
60104
60104
|
course_count?: number | undefined;
|
|
60105
60105
|
count?: number | undefined;
|
|
@@ -60237,7 +60237,7 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
60237
60237
|
source_course_id?: number | null | undefined;
|
|
60238
60238
|
source_key?: string | null | undefined;
|
|
60239
60239
|
is_derived?: boolean | undefined;
|
|
60240
|
-
relation?: ("
|
|
60240
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
60241
60241
|
payment_per?: string | null | undefined;
|
|
60242
60242
|
course_count?: number | undefined;
|
|
60243
60243
|
count?: number | undefined;
|
|
@@ -64740,7 +64740,7 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
64740
64740
|
source_course_id?: number | null | undefined;
|
|
64741
64741
|
source_key?: string | null | undefined;
|
|
64742
64742
|
is_derived?: boolean | undefined;
|
|
64743
|
-
relation?: ("
|
|
64743
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
64744
64744
|
payment_per?: string | null | undefined;
|
|
64745
64745
|
course_count?: number | undefined;
|
|
64746
64746
|
count?: number | undefined;
|
|
@@ -64877,7 +64877,7 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
64877
64877
|
source_course_id?: number | null | undefined;
|
|
64878
64878
|
source_key?: string | null | undefined;
|
|
64879
64879
|
is_derived?: boolean | undefined;
|
|
64880
|
-
relation?: ("
|
|
64880
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
64881
64881
|
payment_per?: string | null | undefined;
|
|
64882
64882
|
course_count?: number | undefined;
|
|
64883
64883
|
count?: number | undefined;
|
|
@@ -65595,7 +65595,7 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
65595
65595
|
source_course_id?: number | null | undefined;
|
|
65596
65596
|
source_key?: string | null | undefined;
|
|
65597
65597
|
is_derived?: boolean | undefined;
|
|
65598
|
-
relation?: ("
|
|
65598
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
65599
65599
|
payment_per?: string | null | undefined;
|
|
65600
65600
|
course_count?: number | undefined;
|
|
65601
65601
|
count?: number | undefined;
|
|
@@ -65732,7 +65732,7 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
65732
65732
|
source_course_id?: number | null | undefined;
|
|
65733
65733
|
source_key?: string | null | undefined;
|
|
65734
65734
|
is_derived?: boolean | undefined;
|
|
65735
|
-
relation?: ("
|
|
65735
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
65736
65736
|
payment_per?: string | null | undefined;
|
|
65737
65737
|
course_count?: number | undefined;
|
|
65738
65738
|
count?: number | undefined;
|
|
@@ -65760,14 +65760,14 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
65760
65760
|
kind: z.ZodString;
|
|
65761
65761
|
location_map_id: z.ZodNumber;
|
|
65762
65762
|
}, "strip", z.ZodTypeAny, {
|
|
65763
|
-
kind: string;
|
|
65764
65763
|
name: string | null;
|
|
65765
65764
|
id: number;
|
|
65765
|
+
kind: string;
|
|
65766
65766
|
location_map_id: number;
|
|
65767
65767
|
}, {
|
|
65768
|
-
kind: string;
|
|
65769
65768
|
name: string | null;
|
|
65770
65769
|
id: number;
|
|
65770
|
+
kind: string;
|
|
65771
65771
|
location_map_id: number;
|
|
65772
65772
|
}>>>;
|
|
65773
65773
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -66054,7 +66054,7 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
66054
66054
|
source_course_id?: number | null | undefined;
|
|
66055
66055
|
source_key?: string | null | undefined;
|
|
66056
66056
|
is_derived?: boolean | undefined;
|
|
66057
|
-
relation?: ("
|
|
66057
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
66058
66058
|
payment_per?: string | null | undefined;
|
|
66059
66059
|
course_count?: number | undefined;
|
|
66060
66060
|
count?: number | undefined;
|
|
@@ -66193,7 +66193,7 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
66193
66193
|
source_course_id?: number | null | undefined;
|
|
66194
66194
|
source_key?: string | null | undefined;
|
|
66195
66195
|
is_derived?: boolean | undefined;
|
|
66196
|
-
relation?: ("
|
|
66196
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
66197
66197
|
payment_per?: string | null | undefined;
|
|
66198
66198
|
course_count?: number | undefined;
|
|
66199
66199
|
count?: number | undefined;
|
|
@@ -66216,9 +66216,9 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
66216
66216
|
parking_lng?: number | null | undefined;
|
|
66217
66217
|
parking_lat?: number | null | undefined;
|
|
66218
66218
|
hangar?: {
|
|
66219
|
-
kind: string;
|
|
66220
66219
|
name: string | null;
|
|
66221
66220
|
id: number;
|
|
66221
|
+
kind: string;
|
|
66222
66222
|
location_map_id: number;
|
|
66223
66223
|
} | null | undefined;
|
|
66224
66224
|
capacity?: number | undefined;
|
|
@@ -66467,7 +66467,7 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
66467
66467
|
source_course_id?: number | null | undefined;
|
|
66468
66468
|
source_key?: string | null | undefined;
|
|
66469
66469
|
is_derived?: boolean | undefined;
|
|
66470
|
-
relation?: ("
|
|
66470
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
66471
66471
|
payment_per?: string | null | undefined;
|
|
66472
66472
|
course_count?: number | undefined;
|
|
66473
66473
|
count?: number | undefined;
|
|
@@ -66606,7 +66606,7 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
66606
66606
|
source_course_id?: number | null | undefined;
|
|
66607
66607
|
source_key?: string | null | undefined;
|
|
66608
66608
|
is_derived?: boolean | undefined;
|
|
66609
|
-
relation?: ("
|
|
66609
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
66610
66610
|
payment_per?: string | null | undefined;
|
|
66611
66611
|
course_count?: number | undefined;
|
|
66612
66612
|
count?: number | undefined;
|
|
@@ -66629,9 +66629,9 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
66629
66629
|
parking_lng?: number | null | undefined;
|
|
66630
66630
|
parking_lat?: number | null | undefined;
|
|
66631
66631
|
hangar?: {
|
|
66632
|
-
kind: string;
|
|
66633
66632
|
name: string | null;
|
|
66634
66633
|
id: number;
|
|
66634
|
+
kind: string;
|
|
66635
66635
|
location_map_id: number;
|
|
66636
66636
|
} | null | undefined;
|
|
66637
66637
|
capacity?: number | undefined;
|
|
@@ -66831,14 +66831,14 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
66831
66831
|
is_pic: z.ZodOptional<z.ZodBoolean>;
|
|
66832
66832
|
membership: z.ZodOptional<z.ZodAny>;
|
|
66833
66833
|
}, "strip", z.ZodTypeAny, {
|
|
66834
|
-
role: string;
|
|
66835
66834
|
membership_id: number;
|
|
66835
|
+
role: string;
|
|
66836
66836
|
id?: number | undefined;
|
|
66837
66837
|
membership?: any;
|
|
66838
66838
|
is_pic?: boolean | undefined;
|
|
66839
66839
|
}, {
|
|
66840
|
-
role: string;
|
|
66841
66840
|
membership_id: number;
|
|
66841
|
+
role: string;
|
|
66842
66842
|
id?: number | undefined;
|
|
66843
66843
|
membership?: any;
|
|
66844
66844
|
is_pic?: boolean | undefined;
|
|
@@ -68279,7 +68279,7 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
68279
68279
|
source_course_id?: number | null | undefined;
|
|
68280
68280
|
source_key?: string | null | undefined;
|
|
68281
68281
|
is_derived?: boolean | undefined;
|
|
68282
|
-
relation?: ("
|
|
68282
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
68283
68283
|
payment_per?: string | null | undefined;
|
|
68284
68284
|
course_count?: number | undefined;
|
|
68285
68285
|
count?: number | undefined;
|
|
@@ -68416,7 +68416,7 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
68416
68416
|
source_course_id?: number | null | undefined;
|
|
68417
68417
|
source_key?: string | null | undefined;
|
|
68418
68418
|
is_derived?: boolean | undefined;
|
|
68419
|
-
relation?: ("
|
|
68419
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
68420
68420
|
payment_per?: string | null | undefined;
|
|
68421
68421
|
course_count?: number | undefined;
|
|
68422
68422
|
count?: number | undefined;
|
|
@@ -69134,7 +69134,7 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
69134
69134
|
source_course_id?: number | null | undefined;
|
|
69135
69135
|
source_key?: string | null | undefined;
|
|
69136
69136
|
is_derived?: boolean | undefined;
|
|
69137
|
-
relation?: ("
|
|
69137
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
69138
69138
|
payment_per?: string | null | undefined;
|
|
69139
69139
|
course_count?: number | undefined;
|
|
69140
69140
|
count?: number | undefined;
|
|
@@ -69271,7 +69271,7 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
69271
69271
|
source_course_id?: number | null | undefined;
|
|
69272
69272
|
source_key?: string | null | undefined;
|
|
69273
69273
|
is_derived?: boolean | undefined;
|
|
69274
|
-
relation?: ("
|
|
69274
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
69275
69275
|
payment_per?: string | null | undefined;
|
|
69276
69276
|
course_count?: number | undefined;
|
|
69277
69277
|
count?: number | undefined;
|
|
@@ -69299,14 +69299,14 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
69299
69299
|
kind: z.ZodString;
|
|
69300
69300
|
location_map_id: z.ZodNumber;
|
|
69301
69301
|
}, "strip", z.ZodTypeAny, {
|
|
69302
|
-
kind: string;
|
|
69303
69302
|
name: string | null;
|
|
69304
69303
|
id: number;
|
|
69304
|
+
kind: string;
|
|
69305
69305
|
location_map_id: number;
|
|
69306
69306
|
}, {
|
|
69307
|
-
kind: string;
|
|
69308
69307
|
name: string | null;
|
|
69309
69308
|
id: number;
|
|
69309
|
+
kind: string;
|
|
69310
69310
|
location_map_id: number;
|
|
69311
69311
|
}>>>;
|
|
69312
69312
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -69593,7 +69593,7 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
69593
69593
|
source_course_id?: number | null | undefined;
|
|
69594
69594
|
source_key?: string | null | undefined;
|
|
69595
69595
|
is_derived?: boolean | undefined;
|
|
69596
|
-
relation?: ("
|
|
69596
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
69597
69597
|
payment_per?: string | null | undefined;
|
|
69598
69598
|
course_count?: number | undefined;
|
|
69599
69599
|
count?: number | undefined;
|
|
@@ -69732,7 +69732,7 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
69732
69732
|
source_course_id?: number | null | undefined;
|
|
69733
69733
|
source_key?: string | null | undefined;
|
|
69734
69734
|
is_derived?: boolean | undefined;
|
|
69735
|
-
relation?: ("
|
|
69735
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
69736
69736
|
payment_per?: string | null | undefined;
|
|
69737
69737
|
course_count?: number | undefined;
|
|
69738
69738
|
count?: number | undefined;
|
|
@@ -69755,9 +69755,9 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
69755
69755
|
parking_lng?: number | null | undefined;
|
|
69756
69756
|
parking_lat?: number | null | undefined;
|
|
69757
69757
|
hangar?: {
|
|
69758
|
-
kind: string;
|
|
69759
69758
|
name: string | null;
|
|
69760
69759
|
id: number;
|
|
69760
|
+
kind: string;
|
|
69761
69761
|
location_map_id: number;
|
|
69762
69762
|
} | null | undefined;
|
|
69763
69763
|
capacity?: number | undefined;
|
|
@@ -70006,7 +70006,7 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
70006
70006
|
source_course_id?: number | null | undefined;
|
|
70007
70007
|
source_key?: string | null | undefined;
|
|
70008
70008
|
is_derived?: boolean | undefined;
|
|
70009
|
-
relation?: ("
|
|
70009
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
70010
70010
|
payment_per?: string | null | undefined;
|
|
70011
70011
|
course_count?: number | undefined;
|
|
70012
70012
|
count?: number | undefined;
|
|
@@ -70145,7 +70145,7 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
70145
70145
|
source_course_id?: number | null | undefined;
|
|
70146
70146
|
source_key?: string | null | undefined;
|
|
70147
70147
|
is_derived?: boolean | undefined;
|
|
70148
|
-
relation?: ("
|
|
70148
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
70149
70149
|
payment_per?: string | null | undefined;
|
|
70150
70150
|
course_count?: number | undefined;
|
|
70151
70151
|
count?: number | undefined;
|
|
@@ -70168,9 +70168,9 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
70168
70168
|
parking_lng?: number | null | undefined;
|
|
70169
70169
|
parking_lat?: number | null | undefined;
|
|
70170
70170
|
hangar?: {
|
|
70171
|
-
kind: string;
|
|
70172
70171
|
name: string | null;
|
|
70173
70172
|
id: number;
|
|
70173
|
+
kind: string;
|
|
70174
70174
|
location_map_id: number;
|
|
70175
70175
|
} | null | undefined;
|
|
70176
70176
|
capacity?: number | undefined;
|
|
@@ -73009,14 +73009,14 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
73009
73009
|
is_pic: z.ZodOptional<z.ZodBoolean>;
|
|
73010
73010
|
membership: z.ZodOptional<z.ZodAny>;
|
|
73011
73011
|
}, "strip", z.ZodTypeAny, {
|
|
73012
|
-
role: string;
|
|
73013
73012
|
membership_id: number;
|
|
73013
|
+
role: string;
|
|
73014
73014
|
id?: number | undefined;
|
|
73015
73015
|
membership?: any;
|
|
73016
73016
|
is_pic?: boolean | undefined;
|
|
73017
73017
|
}, {
|
|
73018
|
-
role: string;
|
|
73019
73018
|
membership_id: number;
|
|
73019
|
+
role: string;
|
|
73020
73020
|
id?: number | undefined;
|
|
73021
73021
|
membership?: any;
|
|
73022
73022
|
is_pic?: boolean | undefined;
|
|
@@ -73464,7 +73464,7 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
73464
73464
|
source_course_id?: number | null | undefined;
|
|
73465
73465
|
source_key?: string | null | undefined;
|
|
73466
73466
|
is_derived?: boolean | undefined;
|
|
73467
|
-
relation?: ("
|
|
73467
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
73468
73468
|
payment_per?: string | null | undefined;
|
|
73469
73469
|
course_count?: number | undefined;
|
|
73470
73470
|
count?: number | undefined;
|
|
@@ -73603,7 +73603,7 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
73603
73603
|
source_course_id?: number | null | undefined;
|
|
73604
73604
|
source_key?: string | null | undefined;
|
|
73605
73605
|
is_derived?: boolean | undefined;
|
|
73606
|
-
relation?: ("
|
|
73606
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
73607
73607
|
payment_per?: string | null | undefined;
|
|
73608
73608
|
course_count?: number | undefined;
|
|
73609
73609
|
count?: number | undefined;
|
|
@@ -73626,9 +73626,9 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
73626
73626
|
parking_lng?: number | null | undefined;
|
|
73627
73627
|
parking_lat?: number | null | undefined;
|
|
73628
73628
|
hangar?: {
|
|
73629
|
-
kind: string;
|
|
73630
73629
|
name: string | null;
|
|
73631
73630
|
id: number;
|
|
73631
|
+
kind: string;
|
|
73632
73632
|
location_map_id: number;
|
|
73633
73633
|
} | null | undefined;
|
|
73634
73634
|
capacity?: number | undefined;
|
|
@@ -73738,8 +73738,8 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
73738
73738
|
} | undefined;
|
|
73739
73739
|
} | undefined;
|
|
73740
73740
|
crew_assignments?: {
|
|
73741
|
-
role: string;
|
|
73742
73741
|
membership_id: number;
|
|
73742
|
+
role: string;
|
|
73743
73743
|
id?: number | undefined;
|
|
73744
73744
|
membership?: any;
|
|
73745
73745
|
is_pic?: boolean | undefined;
|
|
@@ -74324,7 +74324,7 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
74324
74324
|
source_course_id?: number | null | undefined;
|
|
74325
74325
|
source_key?: string | null | undefined;
|
|
74326
74326
|
is_derived?: boolean | undefined;
|
|
74327
|
-
relation?: ("
|
|
74327
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
74328
74328
|
payment_per?: string | null | undefined;
|
|
74329
74329
|
course_count?: number | undefined;
|
|
74330
74330
|
count?: number | undefined;
|
|
@@ -74463,7 +74463,7 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
74463
74463
|
source_course_id?: number | null | undefined;
|
|
74464
74464
|
source_key?: string | null | undefined;
|
|
74465
74465
|
is_derived?: boolean | undefined;
|
|
74466
|
-
relation?: ("
|
|
74466
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
74467
74467
|
payment_per?: string | null | undefined;
|
|
74468
74468
|
course_count?: number | undefined;
|
|
74469
74469
|
count?: number | undefined;
|
|
@@ -74486,9 +74486,9 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
74486
74486
|
parking_lng?: number | null | undefined;
|
|
74487
74487
|
parking_lat?: number | null | undefined;
|
|
74488
74488
|
hangar?: {
|
|
74489
|
-
kind: string;
|
|
74490
74489
|
name: string | null;
|
|
74491
74490
|
id: number;
|
|
74491
|
+
kind: string;
|
|
74492
74492
|
location_map_id: number;
|
|
74493
74493
|
} | null | undefined;
|
|
74494
74494
|
capacity?: number | undefined;
|
|
@@ -74598,8 +74598,8 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
74598
74598
|
} | undefined;
|
|
74599
74599
|
} | undefined;
|
|
74600
74600
|
crew_assignments?: {
|
|
74601
|
-
role: string;
|
|
74602
74601
|
membership_id: number;
|
|
74602
|
+
role: string;
|
|
74603
74603
|
id?: number | undefined;
|
|
74604
74604
|
membership?: any;
|
|
74605
74605
|
is_pic?: boolean | undefined;
|
|
@@ -76678,7 +76678,7 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
76678
76678
|
source_course_id?: number | null | undefined;
|
|
76679
76679
|
source_key?: string | null | undefined;
|
|
76680
76680
|
is_derived?: boolean | undefined;
|
|
76681
|
-
relation?: ("
|
|
76681
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
76682
76682
|
payment_per?: string | null | undefined;
|
|
76683
76683
|
course_count?: number | undefined;
|
|
76684
76684
|
count?: number | undefined;
|
|
@@ -76817,7 +76817,7 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
76817
76817
|
source_course_id?: number | null | undefined;
|
|
76818
76818
|
source_key?: string | null | undefined;
|
|
76819
76819
|
is_derived?: boolean | undefined;
|
|
76820
|
-
relation?: ("
|
|
76820
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
76821
76821
|
payment_per?: string | null | undefined;
|
|
76822
76822
|
course_count?: number | undefined;
|
|
76823
76823
|
count?: number | undefined;
|
|
@@ -76840,9 +76840,9 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
76840
76840
|
parking_lng?: number | null | undefined;
|
|
76841
76841
|
parking_lat?: number | null | undefined;
|
|
76842
76842
|
hangar?: {
|
|
76843
|
-
kind: string;
|
|
76844
76843
|
name: string | null;
|
|
76845
76844
|
id: number;
|
|
76845
|
+
kind: string;
|
|
76846
76846
|
location_map_id: number;
|
|
76847
76847
|
} | null | undefined;
|
|
76848
76848
|
capacity?: number | undefined;
|
|
@@ -77005,8 +77005,8 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
77005
77005
|
course_id?: number | null | undefined;
|
|
77006
77006
|
} | null | undefined;
|
|
77007
77007
|
crew_assignments?: {
|
|
77008
|
-
role: string;
|
|
77009
77008
|
membership_id: number;
|
|
77009
|
+
role: string;
|
|
77010
77010
|
id?: number | undefined;
|
|
77011
77011
|
membership?: any;
|
|
77012
77012
|
is_pic?: boolean | undefined;
|
|
@@ -77411,7 +77411,7 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
77411
77411
|
source_course_id?: number | null | undefined;
|
|
77412
77412
|
source_key?: string | null | undefined;
|
|
77413
77413
|
is_derived?: boolean | undefined;
|
|
77414
|
-
relation?: ("
|
|
77414
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
77415
77415
|
payment_per?: string | null | undefined;
|
|
77416
77416
|
course_count?: number | undefined;
|
|
77417
77417
|
count?: number | undefined;
|
|
@@ -77550,7 +77550,7 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
77550
77550
|
source_course_id?: number | null | undefined;
|
|
77551
77551
|
source_key?: string | null | undefined;
|
|
77552
77552
|
is_derived?: boolean | undefined;
|
|
77553
|
-
relation?: ("
|
|
77553
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
77554
77554
|
payment_per?: string | null | undefined;
|
|
77555
77555
|
course_count?: number | undefined;
|
|
77556
77556
|
count?: number | undefined;
|
|
@@ -77573,9 +77573,9 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
77573
77573
|
parking_lng?: number | null | undefined;
|
|
77574
77574
|
parking_lat?: number | null | undefined;
|
|
77575
77575
|
hangar?: {
|
|
77576
|
-
kind: string;
|
|
77577
77576
|
name: string | null;
|
|
77578
77577
|
id: number;
|
|
77578
|
+
kind: string;
|
|
77579
77579
|
location_map_id: number;
|
|
77580
77580
|
} | null | undefined;
|
|
77581
77581
|
capacity?: number | undefined;
|
|
@@ -77685,8 +77685,8 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
77685
77685
|
} | undefined;
|
|
77686
77686
|
} | undefined;
|
|
77687
77687
|
crew_assignments?: {
|
|
77688
|
-
role: string;
|
|
77689
77688
|
membership_id: number;
|
|
77689
|
+
role: string;
|
|
77690
77690
|
id?: number | undefined;
|
|
77691
77691
|
membership?: any;
|
|
77692
77692
|
is_pic?: boolean | undefined;
|
|
@@ -78429,7 +78429,7 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
78429
78429
|
source_course_id?: number | null | undefined;
|
|
78430
78430
|
source_key?: string | null | undefined;
|
|
78431
78431
|
is_derived?: boolean | undefined;
|
|
78432
|
-
relation?: ("
|
|
78432
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
78433
78433
|
payment_per?: string | null | undefined;
|
|
78434
78434
|
course_count?: number | undefined;
|
|
78435
78435
|
count?: number | undefined;
|
|
@@ -78568,7 +78568,7 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
78568
78568
|
source_course_id?: number | null | undefined;
|
|
78569
78569
|
source_key?: string | null | undefined;
|
|
78570
78570
|
is_derived?: boolean | undefined;
|
|
78571
|
-
relation?: ("
|
|
78571
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
78572
78572
|
payment_per?: string | null | undefined;
|
|
78573
78573
|
course_count?: number | undefined;
|
|
78574
78574
|
count?: number | undefined;
|
|
@@ -78591,9 +78591,9 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
78591
78591
|
parking_lng?: number | null | undefined;
|
|
78592
78592
|
parking_lat?: number | null | undefined;
|
|
78593
78593
|
hangar?: {
|
|
78594
|
-
kind: string;
|
|
78595
78594
|
name: string | null;
|
|
78596
78595
|
id: number;
|
|
78596
|
+
kind: string;
|
|
78597
78597
|
location_map_id: number;
|
|
78598
78598
|
} | null | undefined;
|
|
78599
78599
|
capacity?: number | undefined;
|
|
@@ -78758,8 +78758,8 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
78758
78758
|
course_id?: number | null | undefined;
|
|
78759
78759
|
} | null | undefined;
|
|
78760
78760
|
crew_assignments?: {
|
|
78761
|
-
role: string;
|
|
78762
78761
|
membership_id: number;
|
|
78762
|
+
role: string;
|
|
78763
78763
|
id?: number | undefined;
|
|
78764
78764
|
membership?: any;
|
|
78765
78765
|
is_pic?: boolean | undefined;
|
|
@@ -79162,7 +79162,7 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
79162
79162
|
source_course_id?: number | null | undefined;
|
|
79163
79163
|
source_key?: string | null | undefined;
|
|
79164
79164
|
is_derived?: boolean | undefined;
|
|
79165
|
-
relation?: ("
|
|
79165
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
79166
79166
|
payment_per?: string | null | undefined;
|
|
79167
79167
|
course_count?: number | undefined;
|
|
79168
79168
|
count?: number | undefined;
|
|
@@ -79301,7 +79301,7 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
79301
79301
|
source_course_id?: number | null | undefined;
|
|
79302
79302
|
source_key?: string | null | undefined;
|
|
79303
79303
|
is_derived?: boolean | undefined;
|
|
79304
|
-
relation?: ("
|
|
79304
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
79305
79305
|
payment_per?: string | null | undefined;
|
|
79306
79306
|
course_count?: number | undefined;
|
|
79307
79307
|
count?: number | undefined;
|
|
@@ -79324,9 +79324,9 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
79324
79324
|
parking_lng?: number | null | undefined;
|
|
79325
79325
|
parking_lat?: number | null | undefined;
|
|
79326
79326
|
hangar?: {
|
|
79327
|
-
kind: string;
|
|
79328
79327
|
name: string | null;
|
|
79329
79328
|
id: number;
|
|
79329
|
+
kind: string;
|
|
79330
79330
|
location_map_id: number;
|
|
79331
79331
|
} | null | undefined;
|
|
79332
79332
|
capacity?: number | undefined;
|
|
@@ -79436,8 +79436,8 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
79436
79436
|
} | undefined;
|
|
79437
79437
|
} | undefined;
|
|
79438
79438
|
crew_assignments?: {
|
|
79439
|
-
role: string;
|
|
79440
79439
|
membership_id: number;
|
|
79440
|
+
role: string;
|
|
79441
79441
|
id?: number | undefined;
|
|
79442
79442
|
membership?: any;
|
|
79443
79443
|
is_pic?: boolean | undefined;
|
|
@@ -80245,59 +80245,6 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
80245
80245
|
updated_at: string;
|
|
80246
80246
|
company_id: number;
|
|
80247
80247
|
aircraft_required: boolean;
|
|
80248
|
-
kind?: string | undefined;
|
|
80249
|
-
instructor?: {
|
|
80250
|
-
name: string;
|
|
80251
|
-
type: "user";
|
|
80252
|
-
id: number;
|
|
80253
|
-
email?: string | null | undefined;
|
|
80254
|
-
media?: {
|
|
80255
|
-
avatar?: {
|
|
80256
|
-
type: "media";
|
|
80257
|
-
id: number;
|
|
80258
|
-
created_at?: string | undefined;
|
|
80259
|
-
updated_at?: string | undefined;
|
|
80260
|
-
description?: string | undefined;
|
|
80261
|
-
collection_name?: string | undefined;
|
|
80262
|
-
conversions?: Record<string, string> | undefined;
|
|
80263
|
-
url?: string | undefined;
|
|
80264
|
-
mime_type?: string | undefined;
|
|
80265
|
-
file_name?: string | undefined;
|
|
80266
|
-
size?: number | undefined;
|
|
80267
|
-
} | null | undefined;
|
|
80268
|
-
header?: {
|
|
80269
|
-
type: "media";
|
|
80270
|
-
id: number;
|
|
80271
|
-
created_at?: string | undefined;
|
|
80272
|
-
updated_at?: string | undefined;
|
|
80273
|
-
description?: string | undefined;
|
|
80274
|
-
collection_name?: string | undefined;
|
|
80275
|
-
conversions?: Record<string, string> | undefined;
|
|
80276
|
-
url?: string | undefined;
|
|
80277
|
-
mime_type?: string | undefined;
|
|
80278
|
-
file_name?: string | undefined;
|
|
80279
|
-
size?: number | undefined;
|
|
80280
|
-
} | null | undefined;
|
|
80281
|
-
} | undefined;
|
|
80282
|
-
firstname?: string | null | undefined;
|
|
80283
|
-
lastname?: string | null | undefined;
|
|
80284
|
-
mobile?: string | null | undefined;
|
|
80285
|
-
impersonation?: {
|
|
80286
|
-
is_impersonating: boolean;
|
|
80287
|
-
impersonator?: {
|
|
80288
|
-
name: string;
|
|
80289
|
-
email: string;
|
|
80290
|
-
id: number;
|
|
80291
|
-
} | undefined;
|
|
80292
|
-
impersonated?: {
|
|
80293
|
-
name: string;
|
|
80294
|
-
email: string;
|
|
80295
|
-
id: number;
|
|
80296
|
-
} | undefined;
|
|
80297
|
-
started_at?: string | undefined;
|
|
80298
|
-
expires_at?: string | undefined;
|
|
80299
|
-
} | undefined;
|
|
80300
|
-
} | undefined;
|
|
80301
80248
|
company?: {
|
|
80302
80249
|
name: string;
|
|
80303
80250
|
type: "company";
|
|
@@ -80430,8 +80377,61 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
80430
80377
|
} | null | undefined;
|
|
80431
80378
|
description?: string | null | undefined;
|
|
80432
80379
|
can?: Record<string, boolean | null> | undefined;
|
|
80380
|
+
kind?: string | undefined;
|
|
80433
80381
|
syllabus_id?: number | null | undefined;
|
|
80434
80382
|
version?: number | undefined;
|
|
80383
|
+
instructor?: {
|
|
80384
|
+
name: string;
|
|
80385
|
+
type: "user";
|
|
80386
|
+
id: number;
|
|
80387
|
+
email?: string | null | undefined;
|
|
80388
|
+
media?: {
|
|
80389
|
+
avatar?: {
|
|
80390
|
+
type: "media";
|
|
80391
|
+
id: number;
|
|
80392
|
+
created_at?: string | undefined;
|
|
80393
|
+
updated_at?: string | undefined;
|
|
80394
|
+
description?: string | undefined;
|
|
80395
|
+
collection_name?: string | undefined;
|
|
80396
|
+
conversions?: Record<string, string> | undefined;
|
|
80397
|
+
url?: string | undefined;
|
|
80398
|
+
mime_type?: string | undefined;
|
|
80399
|
+
file_name?: string | undefined;
|
|
80400
|
+
size?: number | undefined;
|
|
80401
|
+
} | null | undefined;
|
|
80402
|
+
header?: {
|
|
80403
|
+
type: "media";
|
|
80404
|
+
id: number;
|
|
80405
|
+
created_at?: string | undefined;
|
|
80406
|
+
updated_at?: string | undefined;
|
|
80407
|
+
description?: string | undefined;
|
|
80408
|
+
collection_name?: string | undefined;
|
|
80409
|
+
conversions?: Record<string, string> | undefined;
|
|
80410
|
+
url?: string | undefined;
|
|
80411
|
+
mime_type?: string | undefined;
|
|
80412
|
+
file_name?: string | undefined;
|
|
80413
|
+
size?: number | undefined;
|
|
80414
|
+
} | null | undefined;
|
|
80415
|
+
} | undefined;
|
|
80416
|
+
firstname?: string | null | undefined;
|
|
80417
|
+
lastname?: string | null | undefined;
|
|
80418
|
+
mobile?: string | null | undefined;
|
|
80419
|
+
impersonation?: {
|
|
80420
|
+
is_impersonating: boolean;
|
|
80421
|
+
impersonator?: {
|
|
80422
|
+
name: string;
|
|
80423
|
+
email: string;
|
|
80424
|
+
id: number;
|
|
80425
|
+
} | undefined;
|
|
80426
|
+
impersonated?: {
|
|
80427
|
+
name: string;
|
|
80428
|
+
email: string;
|
|
80429
|
+
id: number;
|
|
80430
|
+
} | undefined;
|
|
80431
|
+
started_at?: string | undefined;
|
|
80432
|
+
expires_at?: string | undefined;
|
|
80433
|
+
} | undefined;
|
|
80434
|
+
} | undefined;
|
|
80435
80435
|
price?: {
|
|
80436
80436
|
amount: number;
|
|
80437
80437
|
currency: string;
|
|
@@ -80461,9 +80461,9 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
80461
80461
|
footer?: string | null | undefined;
|
|
80462
80462
|
booking_form_syllabus_id?: number | null | undefined;
|
|
80463
80463
|
check_syllabi?: {
|
|
80464
|
-
kind: "regular" | "progress_check";
|
|
80465
80464
|
name: string;
|
|
80466
80465
|
id: number;
|
|
80466
|
+
kind: "regular" | "progress_check";
|
|
80467
80467
|
version: number;
|
|
80468
80468
|
}[] | undefined;
|
|
80469
80469
|
tags?: {
|
|
@@ -80593,7 +80593,7 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
80593
80593
|
source_course_id?: number | null | undefined;
|
|
80594
80594
|
source_key?: string | null | undefined;
|
|
80595
80595
|
is_derived?: boolean | undefined;
|
|
80596
|
-
relation?: ("
|
|
80596
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
80597
80597
|
payment_per?: string | null | undefined;
|
|
80598
80598
|
course_count?: number | undefined;
|
|
80599
80599
|
count?: number | undefined;
|
|
@@ -80731,7 +80731,7 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
80731
80731
|
source_course_id?: number | null | undefined;
|
|
80732
80732
|
source_key?: string | null | undefined;
|
|
80733
80733
|
is_derived?: boolean | undefined;
|
|
80734
|
-
relation?: ("
|
|
80734
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
80735
80735
|
payment_per?: string | null | undefined;
|
|
80736
80736
|
course_count?: number | undefined;
|
|
80737
80737
|
count?: number | undefined;
|
|
@@ -81102,7 +81102,7 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
81102
81102
|
source_course_id?: number | null | undefined;
|
|
81103
81103
|
source_key?: string | null | undefined;
|
|
81104
81104
|
is_derived?: boolean | undefined;
|
|
81105
|
-
relation?: ("
|
|
81105
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
81106
81106
|
payment_per?: string | null | undefined;
|
|
81107
81107
|
course_count?: number | undefined;
|
|
81108
81108
|
count?: number | undefined;
|
|
@@ -81241,7 +81241,7 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
81241
81241
|
source_course_id?: number | null | undefined;
|
|
81242
81242
|
source_key?: string | null | undefined;
|
|
81243
81243
|
is_derived?: boolean | undefined;
|
|
81244
|
-
relation?: ("
|
|
81244
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
81245
81245
|
payment_per?: string | null | undefined;
|
|
81246
81246
|
course_count?: number | undefined;
|
|
81247
81247
|
count?: number | undefined;
|
|
@@ -81264,9 +81264,9 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
81264
81264
|
parking_lng?: number | null | undefined;
|
|
81265
81265
|
parking_lat?: number | null | undefined;
|
|
81266
81266
|
hangar?: {
|
|
81267
|
-
kind: string;
|
|
81268
81267
|
name: string | null;
|
|
81269
81268
|
id: number;
|
|
81269
|
+
kind: string;
|
|
81270
81270
|
location_map_id: number;
|
|
81271
81271
|
} | null | undefined;
|
|
81272
81272
|
capacity?: number | undefined;
|
|
@@ -81429,8 +81429,8 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
81429
81429
|
course_id?: number | null | undefined;
|
|
81430
81430
|
} | null | undefined;
|
|
81431
81431
|
crew_assignments?: {
|
|
81432
|
-
role: string;
|
|
81433
81432
|
membership_id: number;
|
|
81433
|
+
role: string;
|
|
81434
81434
|
id?: number | undefined;
|
|
81435
81435
|
membership?: any;
|
|
81436
81436
|
is_pic?: boolean | undefined;
|
|
@@ -81835,7 +81835,7 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
81835
81835
|
source_course_id?: number | null | undefined;
|
|
81836
81836
|
source_key?: string | null | undefined;
|
|
81837
81837
|
is_derived?: boolean | undefined;
|
|
81838
|
-
relation?: ("
|
|
81838
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
81839
81839
|
payment_per?: string | null | undefined;
|
|
81840
81840
|
course_count?: number | undefined;
|
|
81841
81841
|
count?: number | undefined;
|
|
@@ -81974,7 +81974,7 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
81974
81974
|
source_course_id?: number | null | undefined;
|
|
81975
81975
|
source_key?: string | null | undefined;
|
|
81976
81976
|
is_derived?: boolean | undefined;
|
|
81977
|
-
relation?: ("
|
|
81977
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
81978
81978
|
payment_per?: string | null | undefined;
|
|
81979
81979
|
course_count?: number | undefined;
|
|
81980
81980
|
count?: number | undefined;
|
|
@@ -81997,9 +81997,9 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
81997
81997
|
parking_lng?: number | null | undefined;
|
|
81998
81998
|
parking_lat?: number | null | undefined;
|
|
81999
81999
|
hangar?: {
|
|
82000
|
-
kind: string;
|
|
82001
82000
|
name: string | null;
|
|
82002
82001
|
id: number;
|
|
82002
|
+
kind: string;
|
|
82003
82003
|
location_map_id: number;
|
|
82004
82004
|
} | null | undefined;
|
|
82005
82005
|
capacity?: number | undefined;
|
|
@@ -82109,8 +82109,8 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
82109
82109
|
} | undefined;
|
|
82110
82110
|
} | undefined;
|
|
82111
82111
|
crew_assignments?: {
|
|
82112
|
-
role: string;
|
|
82113
82112
|
membership_id: number;
|
|
82113
|
+
role: string;
|
|
82114
82114
|
id?: number | undefined;
|
|
82115
82115
|
membership?: any;
|
|
82116
82116
|
is_pic?: boolean | undefined;
|
|
@@ -82913,59 +82913,6 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
82913
82913
|
created_at: string;
|
|
82914
82914
|
updated_at: string;
|
|
82915
82915
|
company_id: number;
|
|
82916
|
-
kind?: string | undefined;
|
|
82917
|
-
instructor?: {
|
|
82918
|
-
name: string;
|
|
82919
|
-
type: "user";
|
|
82920
|
-
id: number;
|
|
82921
|
-
email?: string | null | undefined;
|
|
82922
|
-
media?: {
|
|
82923
|
-
avatar?: {
|
|
82924
|
-
type: "media";
|
|
82925
|
-
id: number;
|
|
82926
|
-
created_at?: string | undefined;
|
|
82927
|
-
updated_at?: string | undefined;
|
|
82928
|
-
description?: string | undefined;
|
|
82929
|
-
collection_name?: string | undefined;
|
|
82930
|
-
conversions?: Record<string, string> | undefined;
|
|
82931
|
-
url?: string | undefined;
|
|
82932
|
-
mime_type?: string | undefined;
|
|
82933
|
-
file_name?: string | undefined;
|
|
82934
|
-
size?: number | undefined;
|
|
82935
|
-
} | null | undefined;
|
|
82936
|
-
header?: {
|
|
82937
|
-
type: "media";
|
|
82938
|
-
id: number;
|
|
82939
|
-
created_at?: string | undefined;
|
|
82940
|
-
updated_at?: string | undefined;
|
|
82941
|
-
description?: string | undefined;
|
|
82942
|
-
collection_name?: string | undefined;
|
|
82943
|
-
conversions?: Record<string, string> | undefined;
|
|
82944
|
-
url?: string | undefined;
|
|
82945
|
-
mime_type?: string | undefined;
|
|
82946
|
-
file_name?: string | undefined;
|
|
82947
|
-
size?: number | undefined;
|
|
82948
|
-
} | null | undefined;
|
|
82949
|
-
} | undefined;
|
|
82950
|
-
firstname?: string | null | undefined;
|
|
82951
|
-
lastname?: string | null | undefined;
|
|
82952
|
-
mobile?: string | null | undefined;
|
|
82953
|
-
impersonation?: {
|
|
82954
|
-
is_impersonating: boolean;
|
|
82955
|
-
impersonator?: {
|
|
82956
|
-
name: string;
|
|
82957
|
-
email: string;
|
|
82958
|
-
id: number;
|
|
82959
|
-
} | undefined;
|
|
82960
|
-
impersonated?: {
|
|
82961
|
-
name: string;
|
|
82962
|
-
email: string;
|
|
82963
|
-
id: number;
|
|
82964
|
-
} | undefined;
|
|
82965
|
-
started_at?: string | undefined;
|
|
82966
|
-
expires_at?: string | undefined;
|
|
82967
|
-
} | undefined;
|
|
82968
|
-
} | undefined;
|
|
82969
82916
|
company?: {
|
|
82970
82917
|
name: string;
|
|
82971
82918
|
type: "company";
|
|
@@ -83098,8 +83045,61 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
83098
83045
|
} | null | undefined;
|
|
83099
83046
|
description?: string | null | undefined;
|
|
83100
83047
|
can?: Record<string, boolean | null> | undefined;
|
|
83048
|
+
kind?: string | undefined;
|
|
83101
83049
|
syllabus_id?: number | null | undefined;
|
|
83102
83050
|
version?: number | undefined;
|
|
83051
|
+
instructor?: {
|
|
83052
|
+
name: string;
|
|
83053
|
+
type: "user";
|
|
83054
|
+
id: number;
|
|
83055
|
+
email?: string | null | undefined;
|
|
83056
|
+
media?: {
|
|
83057
|
+
avatar?: {
|
|
83058
|
+
type: "media";
|
|
83059
|
+
id: number;
|
|
83060
|
+
created_at?: string | undefined;
|
|
83061
|
+
updated_at?: string | undefined;
|
|
83062
|
+
description?: string | undefined;
|
|
83063
|
+
collection_name?: string | undefined;
|
|
83064
|
+
conversions?: Record<string, string> | undefined;
|
|
83065
|
+
url?: string | undefined;
|
|
83066
|
+
mime_type?: string | undefined;
|
|
83067
|
+
file_name?: string | undefined;
|
|
83068
|
+
size?: number | undefined;
|
|
83069
|
+
} | null | undefined;
|
|
83070
|
+
header?: {
|
|
83071
|
+
type: "media";
|
|
83072
|
+
id: number;
|
|
83073
|
+
created_at?: string | undefined;
|
|
83074
|
+
updated_at?: string | undefined;
|
|
83075
|
+
description?: string | undefined;
|
|
83076
|
+
collection_name?: string | undefined;
|
|
83077
|
+
conversions?: Record<string, string> | undefined;
|
|
83078
|
+
url?: string | undefined;
|
|
83079
|
+
mime_type?: string | undefined;
|
|
83080
|
+
file_name?: string | undefined;
|
|
83081
|
+
size?: number | undefined;
|
|
83082
|
+
} | null | undefined;
|
|
83083
|
+
} | undefined;
|
|
83084
|
+
firstname?: string | null | undefined;
|
|
83085
|
+
lastname?: string | null | undefined;
|
|
83086
|
+
mobile?: string | null | undefined;
|
|
83087
|
+
impersonation?: {
|
|
83088
|
+
is_impersonating: boolean;
|
|
83089
|
+
impersonator?: {
|
|
83090
|
+
name: string;
|
|
83091
|
+
email: string;
|
|
83092
|
+
id: number;
|
|
83093
|
+
} | undefined;
|
|
83094
|
+
impersonated?: {
|
|
83095
|
+
name: string;
|
|
83096
|
+
email: string;
|
|
83097
|
+
id: number;
|
|
83098
|
+
} | undefined;
|
|
83099
|
+
started_at?: string | undefined;
|
|
83100
|
+
expires_at?: string | undefined;
|
|
83101
|
+
} | undefined;
|
|
83102
|
+
} | undefined;
|
|
83103
83103
|
price?: {
|
|
83104
83104
|
amount: number;
|
|
83105
83105
|
currency: string;
|
|
@@ -83262,7 +83262,7 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
83262
83262
|
source_course_id?: number | null | undefined;
|
|
83263
83263
|
source_key?: string | null | undefined;
|
|
83264
83264
|
is_derived?: boolean | undefined;
|
|
83265
|
-
relation?: ("
|
|
83265
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
83266
83266
|
payment_per?: string | null | undefined;
|
|
83267
83267
|
course_count?: number | undefined;
|
|
83268
83268
|
count?: number | undefined;
|
|
@@ -83400,7 +83400,7 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
83400
83400
|
source_course_id?: number | null | undefined;
|
|
83401
83401
|
source_key?: string | null | undefined;
|
|
83402
83402
|
is_derived?: boolean | undefined;
|
|
83403
|
-
relation?: ("
|
|
83403
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
83404
83404
|
payment_per?: string | null | undefined;
|
|
83405
83405
|
course_count?: number | undefined;
|
|
83406
83406
|
count?: number | undefined;
|
|
@@ -83770,7 +83770,7 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
83770
83770
|
source_course_id?: number | null | undefined;
|
|
83771
83771
|
source_key?: string | null | undefined;
|
|
83772
83772
|
is_derived?: boolean | undefined;
|
|
83773
|
-
relation?: ("
|
|
83773
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
83774
83774
|
payment_per?: string | null | undefined;
|
|
83775
83775
|
course_count?: number | undefined;
|
|
83776
83776
|
count?: number | undefined;
|
|
@@ -83909,7 +83909,7 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
83909
83909
|
source_course_id?: number | null | undefined;
|
|
83910
83910
|
source_key?: string | null | undefined;
|
|
83911
83911
|
is_derived?: boolean | undefined;
|
|
83912
|
-
relation?: ("
|
|
83912
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
83913
83913
|
payment_per?: string | null | undefined;
|
|
83914
83914
|
course_count?: number | undefined;
|
|
83915
83915
|
count?: number | undefined;
|
|
@@ -83932,9 +83932,9 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
83932
83932
|
parking_lng?: number | null | undefined;
|
|
83933
83933
|
parking_lat?: number | null | undefined;
|
|
83934
83934
|
hangar?: {
|
|
83935
|
-
kind: string;
|
|
83936
83935
|
name: string | null;
|
|
83937
83936
|
id: number;
|
|
83937
|
+
kind: string;
|
|
83938
83938
|
location_map_id: number;
|
|
83939
83939
|
} | null | undefined;
|
|
83940
83940
|
capacity?: number | undefined;
|
|
@@ -84099,8 +84099,8 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
84099
84099
|
course_id?: number | null | undefined;
|
|
84100
84100
|
} | null | undefined;
|
|
84101
84101
|
crew_assignments?: {
|
|
84102
|
-
role: string;
|
|
84103
84102
|
membership_id: number;
|
|
84103
|
+
role: string;
|
|
84104
84104
|
id?: number | undefined;
|
|
84105
84105
|
membership?: any;
|
|
84106
84106
|
is_pic?: boolean | undefined;
|
|
@@ -84503,7 +84503,7 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
84503
84503
|
source_course_id?: number | null | undefined;
|
|
84504
84504
|
source_key?: string | null | undefined;
|
|
84505
84505
|
is_derived?: boolean | undefined;
|
|
84506
|
-
relation?: ("
|
|
84506
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
84507
84507
|
payment_per?: string | null | undefined;
|
|
84508
84508
|
course_count?: number | undefined;
|
|
84509
84509
|
count?: number | undefined;
|
|
@@ -84642,7 +84642,7 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
84642
84642
|
source_course_id?: number | null | undefined;
|
|
84643
84643
|
source_key?: string | null | undefined;
|
|
84644
84644
|
is_derived?: boolean | undefined;
|
|
84645
|
-
relation?: ("
|
|
84645
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
84646
84646
|
payment_per?: string | null | undefined;
|
|
84647
84647
|
course_count?: number | undefined;
|
|
84648
84648
|
count?: number | undefined;
|
|
@@ -84665,9 +84665,9 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
84665
84665
|
parking_lng?: number | null | undefined;
|
|
84666
84666
|
parking_lat?: number | null | undefined;
|
|
84667
84667
|
hangar?: {
|
|
84668
|
-
kind: string;
|
|
84669
84668
|
name: string | null;
|
|
84670
84669
|
id: number;
|
|
84670
|
+
kind: string;
|
|
84671
84671
|
location_map_id: number;
|
|
84672
84672
|
} | null | undefined;
|
|
84673
84673
|
capacity?: number | undefined;
|
|
@@ -84777,8 +84777,8 @@ declare const courseEnrollmentSchema: z.ZodObject<{
|
|
|
84777
84777
|
} | undefined;
|
|
84778
84778
|
} | undefined;
|
|
84779
84779
|
crew_assignments?: {
|
|
84780
|
-
role: string;
|
|
84781
84780
|
membership_id: number;
|
|
84781
|
+
role: string;
|
|
84782
84782
|
id?: number | undefined;
|
|
84783
84783
|
membership?: any;
|
|
84784
84784
|
is_pic?: boolean | undefined;
|
|
@@ -86428,6 +86428,13 @@ declare const roleSchema: z.ZodObject<{
|
|
|
86428
86428
|
name: z.ZodString;
|
|
86429
86429
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
86430
86430
|
permissions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
86431
|
+
/**
|
|
86432
|
+
* Which domain the role belongs to. FBO roles are assignable only on the
|
|
86433
|
+
* FBO surfaces and are kept out of the flight-school role lists (and vice
|
|
86434
|
+
* versa) — the two role listings never overlap. Optional: a payload from
|
|
86435
|
+
* an API that does not tag roles yet is still a valid role.
|
|
86436
|
+
*/
|
|
86437
|
+
is_fbo: z.ZodOptional<z.ZodBoolean>;
|
|
86431
86438
|
created_at: z.ZodString;
|
|
86432
86439
|
updated_at: z.ZodString;
|
|
86433
86440
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -86439,6 +86446,7 @@ declare const roleSchema: z.ZodObject<{
|
|
|
86439
86446
|
company_id: number;
|
|
86440
86447
|
description?: string | null | undefined;
|
|
86441
86448
|
permissions?: string[] | undefined;
|
|
86449
|
+
is_fbo?: boolean | undefined;
|
|
86442
86450
|
}, {
|
|
86443
86451
|
name: string;
|
|
86444
86452
|
type: "role";
|
|
@@ -86448,6 +86456,7 @@ declare const roleSchema: z.ZodObject<{
|
|
|
86448
86456
|
company_id: number;
|
|
86449
86457
|
description?: string | null | undefined;
|
|
86450
86458
|
permissions?: string[] | undefined;
|
|
86459
|
+
is_fbo?: boolean | undefined;
|
|
86451
86460
|
}>;
|
|
86452
86461
|
declare const landingSchema: z.ZodObject<{
|
|
86453
86462
|
type: z.ZodLiteral<"landing">;
|
|
@@ -91670,7 +91679,7 @@ declare const specialFlightSchema: z.ZodObject<{
|
|
|
91670
91679
|
source_course_id?: number | null | undefined;
|
|
91671
91680
|
source_key?: string | null | undefined;
|
|
91672
91681
|
is_derived?: boolean | undefined;
|
|
91673
|
-
relation?: ("
|
|
91682
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
91674
91683
|
payment_per?: string | null | undefined;
|
|
91675
91684
|
course_count?: number | undefined;
|
|
91676
91685
|
count?: number | undefined;
|
|
@@ -91807,7 +91816,7 @@ declare const specialFlightSchema: z.ZodObject<{
|
|
|
91807
91816
|
source_course_id?: number | null | undefined;
|
|
91808
91817
|
source_key?: string | null | undefined;
|
|
91809
91818
|
is_derived?: boolean | undefined;
|
|
91810
|
-
relation?: ("
|
|
91819
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
91811
91820
|
payment_per?: string | null | undefined;
|
|
91812
91821
|
course_count?: number | undefined;
|
|
91813
91822
|
count?: number | undefined;
|
|
@@ -92033,7 +92042,7 @@ declare const specialFlightSchema: z.ZodObject<{
|
|
|
92033
92042
|
source_course_id?: number | null | undefined;
|
|
92034
92043
|
source_key?: string | null | undefined;
|
|
92035
92044
|
is_derived?: boolean | undefined;
|
|
92036
|
-
relation?: ("
|
|
92045
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
92037
92046
|
payment_per?: string | null | undefined;
|
|
92038
92047
|
course_count?: number | undefined;
|
|
92039
92048
|
count?: number | undefined;
|
|
@@ -92256,7 +92265,7 @@ declare const specialFlightSchema: z.ZodObject<{
|
|
|
92256
92265
|
source_course_id?: number | null | undefined;
|
|
92257
92266
|
source_key?: string | null | undefined;
|
|
92258
92267
|
is_derived?: boolean | undefined;
|
|
92259
|
-
relation?: ("
|
|
92268
|
+
relation?: ("booking" | "instructor" | "flightLog" | "invoice")[] | null | undefined;
|
|
92260
92269
|
payment_per?: string | null | undefined;
|
|
92261
92270
|
course_count?: number | undefined;
|
|
92262
92271
|
count?: number | undefined;
|
|
@@ -99390,12 +99399,12 @@ declare const RequiredFormViaCrewSchema: z.ZodObject<{
|
|
|
99390
99399
|
role: z.ZodString;
|
|
99391
99400
|
is_pic: z.ZodBoolean;
|
|
99392
99401
|
}, "strip", z.ZodTypeAny, {
|
|
99393
|
-
role: string;
|
|
99394
99402
|
name: string | null;
|
|
99403
|
+
role: string;
|
|
99395
99404
|
is_pic: boolean;
|
|
99396
99405
|
}, {
|
|
99397
|
-
role: string;
|
|
99398
99406
|
name: string | null;
|
|
99407
|
+
role: string;
|
|
99399
99408
|
is_pic: boolean;
|
|
99400
99409
|
}>;
|
|
99401
99410
|
declare const RequiredFormViaSchema: z.ZodObject<{
|
|
@@ -99409,12 +99418,12 @@ declare const RequiredFormViaSchema: z.ZodObject<{
|
|
|
99409
99418
|
role: z.ZodString;
|
|
99410
99419
|
is_pic: z.ZodBoolean;
|
|
99411
99420
|
}, "strip", z.ZodTypeAny, {
|
|
99412
|
-
role: string;
|
|
99413
99421
|
name: string | null;
|
|
99422
|
+
role: string;
|
|
99414
99423
|
is_pic: boolean;
|
|
99415
99424
|
}, {
|
|
99416
|
-
role: string;
|
|
99417
99425
|
name: string | null;
|
|
99426
|
+
role: string;
|
|
99418
99427
|
is_pic: boolean;
|
|
99419
99428
|
}>, "many">>>;
|
|
99420
99429
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -99424,8 +99433,8 @@ declare const RequiredFormViaSchema: z.ZodObject<{
|
|
|
99424
99433
|
airplane_registration: string | null;
|
|
99425
99434
|
route_display: string | null;
|
|
99426
99435
|
crew: {
|
|
99427
|
-
role: string;
|
|
99428
99436
|
name: string | null;
|
|
99437
|
+
role: string;
|
|
99429
99438
|
is_pic: boolean;
|
|
99430
99439
|
}[];
|
|
99431
99440
|
}, {
|
|
@@ -99435,8 +99444,8 @@ declare const RequiredFormViaSchema: z.ZodObject<{
|
|
|
99435
99444
|
airplane_registration: string | null;
|
|
99436
99445
|
route_display: string | null;
|
|
99437
99446
|
crew?: {
|
|
99438
|
-
role: string;
|
|
99439
99447
|
name: string | null;
|
|
99448
|
+
role: string;
|
|
99440
99449
|
is_pic: boolean;
|
|
99441
99450
|
}[] | undefined;
|
|
99442
99451
|
}>;
|
|
@@ -103041,12 +103050,12 @@ declare const RequiredFormSchema: z.ZodObject<{
|
|
|
103041
103050
|
role: z.ZodString;
|
|
103042
103051
|
is_pic: z.ZodBoolean;
|
|
103043
103052
|
}, "strip", z.ZodTypeAny, {
|
|
103044
|
-
role: string;
|
|
103045
103053
|
name: string | null;
|
|
103054
|
+
role: string;
|
|
103046
103055
|
is_pic: boolean;
|
|
103047
103056
|
}, {
|
|
103048
|
-
role: string;
|
|
103049
103057
|
name: string | null;
|
|
103058
|
+
role: string;
|
|
103050
103059
|
is_pic: boolean;
|
|
103051
103060
|
}>, "many">>>;
|
|
103052
103061
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -103056,8 +103065,8 @@ declare const RequiredFormSchema: z.ZodObject<{
|
|
|
103056
103065
|
airplane_registration: string | null;
|
|
103057
103066
|
route_display: string | null;
|
|
103058
103067
|
crew: {
|
|
103059
|
-
role: string;
|
|
103060
103068
|
name: string | null;
|
|
103069
|
+
role: string;
|
|
103061
103070
|
is_pic: boolean;
|
|
103062
103071
|
}[];
|
|
103063
103072
|
}, {
|
|
@@ -103067,8 +103076,8 @@ declare const RequiredFormSchema: z.ZodObject<{
|
|
|
103067
103076
|
airplane_registration: string | null;
|
|
103068
103077
|
route_display: string | null;
|
|
103069
103078
|
crew?: {
|
|
103070
|
-
role: string;
|
|
103071
103079
|
name: string | null;
|
|
103080
|
+
role: string;
|
|
103072
103081
|
is_pic: boolean;
|
|
103073
103082
|
}[] | undefined;
|
|
103074
103083
|
}>>>;
|
|
@@ -103633,8 +103642,8 @@ declare const RequiredFormSchema: z.ZodObject<{
|
|
|
103633
103642
|
airplane_registration: string | null;
|
|
103634
103643
|
route_display: string | null;
|
|
103635
103644
|
crew: {
|
|
103636
|
-
role: string;
|
|
103637
103645
|
name: string | null;
|
|
103646
|
+
role: string;
|
|
103638
103647
|
is_pic: boolean;
|
|
103639
103648
|
}[];
|
|
103640
103649
|
} | null | undefined;
|
|
@@ -104199,8 +104208,8 @@ declare const RequiredFormSchema: z.ZodObject<{
|
|
|
104199
104208
|
airplane_registration: string | null;
|
|
104200
104209
|
route_display: string | null;
|
|
104201
104210
|
crew?: {
|
|
104202
|
-
role: string;
|
|
104203
104211
|
name: string | null;
|
|
104212
|
+
role: string;
|
|
104204
104213
|
is_pic: boolean;
|
|
104205
104214
|
}[] | undefined;
|
|
104206
104215
|
} | null | undefined;
|
|
@@ -104375,10 +104384,10 @@ declare const trainingElementSchema: z.ZodObject<{
|
|
|
104375
104384
|
attached_syllabi_count: z.ZodOptional<z.ZodNumber>;
|
|
104376
104385
|
template_element_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
104377
104386
|
}, "strip", z.ZodTypeAny, {
|
|
104378
|
-
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
104379
104387
|
name: string;
|
|
104380
104388
|
code: string;
|
|
104381
104389
|
id: number;
|
|
104390
|
+
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
104382
104391
|
grading_scale: {
|
|
104383
104392
|
name: string;
|
|
104384
104393
|
id: number;
|
|
@@ -104393,10 +104402,10 @@ declare const trainingElementSchema: z.ZodObject<{
|
|
|
104393
104402
|
attached_syllabi_count?: number | undefined;
|
|
104394
104403
|
template_element_id?: number | null | undefined;
|
|
104395
104404
|
}, {
|
|
104396
|
-
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
104397
104405
|
name: string;
|
|
104398
104406
|
code: string;
|
|
104399
104407
|
id: number;
|
|
104408
|
+
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
104400
104409
|
grading_scale: {
|
|
104401
104410
|
name: string;
|
|
104402
104411
|
id: number;
|
|
@@ -104420,16 +104429,16 @@ declare const TrainingElementFormSchema: z.ZodObject<{
|
|
|
104420
104429
|
grading_scale_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
104421
104430
|
is_active: z.ZodOptional<z.ZodBoolean>;
|
|
104422
104431
|
}, "strip", z.ZodTypeAny, {
|
|
104423
|
-
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
104424
104432
|
name: string;
|
|
104425
104433
|
code: string;
|
|
104434
|
+
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
104426
104435
|
description?: string | null | undefined;
|
|
104427
104436
|
grading_scale_id?: number | null | undefined;
|
|
104428
104437
|
is_active?: boolean | undefined;
|
|
104429
104438
|
}, {
|
|
104430
|
-
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
104431
104439
|
name: string;
|
|
104432
104440
|
code: string;
|
|
104441
|
+
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
104433
104442
|
description?: string | null | undefined;
|
|
104434
104443
|
grading_scale_id?: number | null | undefined;
|
|
104435
104444
|
is_active?: boolean | undefined;
|
|
@@ -104479,10 +104488,10 @@ declare const syllabusElementSchema: z.ZodObject<{
|
|
|
104479
104488
|
attached_syllabi_count: z.ZodOptional<z.ZodNumber>;
|
|
104480
104489
|
template_element_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
104481
104490
|
}, "strip", z.ZodTypeAny, {
|
|
104482
|
-
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
104483
104491
|
name: string;
|
|
104484
104492
|
code: string;
|
|
104485
104493
|
id: number;
|
|
104494
|
+
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
104486
104495
|
grading_scale: {
|
|
104487
104496
|
name: string;
|
|
104488
104497
|
id: number;
|
|
@@ -104497,10 +104506,10 @@ declare const syllabusElementSchema: z.ZodObject<{
|
|
|
104497
104506
|
attached_syllabi_count?: number | undefined;
|
|
104498
104507
|
template_element_id?: number | null | undefined;
|
|
104499
104508
|
}, {
|
|
104500
|
-
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
104501
104509
|
name: string;
|
|
104502
104510
|
code: string;
|
|
104503
104511
|
id: number;
|
|
104512
|
+
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
104504
104513
|
grading_scale: {
|
|
104505
104514
|
name: string;
|
|
104506
104515
|
id: number;
|
|
@@ -104524,10 +104533,10 @@ declare const syllabusElementSchema: z.ZodObject<{
|
|
|
104524
104533
|
sort_order: number;
|
|
104525
104534
|
is_required_each_flight: boolean;
|
|
104526
104535
|
training_element?: {
|
|
104527
|
-
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
104528
104536
|
name: string;
|
|
104529
104537
|
code: string;
|
|
104530
104538
|
id: number;
|
|
104539
|
+
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
104531
104540
|
grading_scale: {
|
|
104532
104541
|
name: string;
|
|
104533
104542
|
id: number;
|
|
@@ -104549,10 +104558,10 @@ declare const syllabusElementSchema: z.ZodObject<{
|
|
|
104549
104558
|
sort_order: number;
|
|
104550
104559
|
is_required_each_flight: boolean;
|
|
104551
104560
|
training_element?: {
|
|
104552
|
-
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
104553
104561
|
name: string;
|
|
104554
104562
|
code: string;
|
|
104555
104563
|
id: number;
|
|
104564
|
+
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
104556
104565
|
grading_scale: {
|
|
104557
104566
|
name: string;
|
|
104558
104567
|
id: number;
|
|
@@ -104681,10 +104690,10 @@ declare const syllabusSchema: z.ZodObject<{
|
|
|
104681
104690
|
attached_syllabi_count: z.ZodOptional<z.ZodNumber>;
|
|
104682
104691
|
template_element_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
104683
104692
|
}, "strip", z.ZodTypeAny, {
|
|
104684
|
-
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
104685
104693
|
name: string;
|
|
104686
104694
|
code: string;
|
|
104687
104695
|
id: number;
|
|
104696
|
+
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
104688
104697
|
grading_scale: {
|
|
104689
104698
|
name: string;
|
|
104690
104699
|
id: number;
|
|
@@ -104699,10 +104708,10 @@ declare const syllabusSchema: z.ZodObject<{
|
|
|
104699
104708
|
attached_syllabi_count?: number | undefined;
|
|
104700
104709
|
template_element_id?: number | null | undefined;
|
|
104701
104710
|
}, {
|
|
104702
|
-
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
104703
104711
|
name: string;
|
|
104704
104712
|
code: string;
|
|
104705
104713
|
id: number;
|
|
104714
|
+
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
104706
104715
|
grading_scale: {
|
|
104707
104716
|
name: string;
|
|
104708
104717
|
id: number;
|
|
@@ -104726,10 +104735,10 @@ declare const syllabusSchema: z.ZodObject<{
|
|
|
104726
104735
|
sort_order: number;
|
|
104727
104736
|
is_required_each_flight: boolean;
|
|
104728
104737
|
training_element?: {
|
|
104729
|
-
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
104730
104738
|
name: string;
|
|
104731
104739
|
code: string;
|
|
104732
104740
|
id: number;
|
|
104741
|
+
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
104733
104742
|
grading_scale: {
|
|
104734
104743
|
name: string;
|
|
104735
104744
|
id: number;
|
|
@@ -104751,10 +104760,10 @@ declare const syllabusSchema: z.ZodObject<{
|
|
|
104751
104760
|
sort_order: number;
|
|
104752
104761
|
is_required_each_flight: boolean;
|
|
104753
104762
|
training_element?: {
|
|
104754
|
-
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
104755
104763
|
name: string;
|
|
104756
104764
|
code: string;
|
|
104757
104765
|
id: number;
|
|
104766
|
+
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
104758
104767
|
grading_scale: {
|
|
104759
104768
|
name: string;
|
|
104760
104769
|
id: number;
|
|
@@ -104792,9 +104801,9 @@ declare const syllabusSchema: z.ZodObject<{
|
|
|
104792
104801
|
created_at: z.ZodOptional<z.ZodString>;
|
|
104793
104802
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
104794
104803
|
}, "strip", z.ZodTypeAny, {
|
|
104795
|
-
kind: "regular" | "progress_check";
|
|
104796
104804
|
name: string;
|
|
104797
104805
|
id: number;
|
|
104806
|
+
kind: "regular" | "progress_check";
|
|
104798
104807
|
company_id: number;
|
|
104799
104808
|
has_flight_evaluation: boolean;
|
|
104800
104809
|
requires_student_signature: boolean;
|
|
@@ -104813,10 +104822,10 @@ declare const syllabusSchema: z.ZodObject<{
|
|
|
104813
104822
|
sort_order: number;
|
|
104814
104823
|
is_required_each_flight: boolean;
|
|
104815
104824
|
training_element?: {
|
|
104816
|
-
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
104817
104825
|
name: string;
|
|
104818
104826
|
code: string;
|
|
104819
104827
|
id: number;
|
|
104828
|
+
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
104820
104829
|
grading_scale: {
|
|
104821
104830
|
name: string;
|
|
104822
104831
|
id: number;
|
|
@@ -104851,11 +104860,11 @@ declare const syllabusSchema: z.ZodObject<{
|
|
|
104851
104860
|
version: number;
|
|
104852
104861
|
root_syllabus_id: number | null;
|
|
104853
104862
|
is_draft: boolean;
|
|
104854
|
-
kind?: "regular" | "progress_check" | undefined;
|
|
104855
104863
|
created_at?: string | undefined;
|
|
104856
104864
|
updated_at?: string | undefined;
|
|
104857
104865
|
description?: string | null | undefined;
|
|
104858
104866
|
can?: Record<string, boolean | null> | undefined;
|
|
104867
|
+
kind?: "regular" | "progress_check" | undefined;
|
|
104859
104868
|
is_in_use?: boolean | undefined;
|
|
104860
104869
|
spawned_from_id?: number | null | undefined;
|
|
104861
104870
|
elements?: {
|
|
@@ -104864,10 +104873,10 @@ declare const syllabusSchema: z.ZodObject<{
|
|
|
104864
104873
|
sort_order: number;
|
|
104865
104874
|
is_required_each_flight: boolean;
|
|
104866
104875
|
training_element?: {
|
|
104867
|
-
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
104868
104876
|
name: string;
|
|
104869
104877
|
code: string;
|
|
104870
104878
|
id: number;
|
|
104879
|
+
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
104871
104880
|
grading_scale: {
|
|
104872
104881
|
name: string;
|
|
104873
104882
|
id: number;
|
|
@@ -104903,14 +104912,14 @@ declare const StoreSyllabusFormSchema: z.ZodObject<{
|
|
|
104903
104912
|
requires_student_signature: z.ZodOptional<z.ZodBoolean>;
|
|
104904
104913
|
}, "strip", z.ZodTypeAny, {
|
|
104905
104914
|
name: string;
|
|
104906
|
-
kind?: "regular" | "progress_check" | undefined;
|
|
104907
104915
|
description?: string | null | undefined;
|
|
104916
|
+
kind?: "regular" | "progress_check" | undefined;
|
|
104908
104917
|
has_flight_evaluation?: boolean | undefined;
|
|
104909
104918
|
requires_student_signature?: boolean | undefined;
|
|
104910
104919
|
}, {
|
|
104911
104920
|
name: string;
|
|
104912
|
-
kind?: "regular" | "progress_check" | undefined;
|
|
104913
104921
|
description?: string | null | undefined;
|
|
104922
|
+
kind?: "regular" | "progress_check" | undefined;
|
|
104914
104923
|
has_flight_evaluation?: boolean | undefined;
|
|
104915
104924
|
requires_student_signature?: boolean | undefined;
|
|
104916
104925
|
}>;
|
|
@@ -104922,15 +104931,15 @@ declare const UpdateSyllabusFormSchema: z.ZodObject<{
|
|
|
104922
104931
|
has_flight_evaluation: z.ZodOptional<z.ZodBoolean>;
|
|
104923
104932
|
requires_student_signature: z.ZodOptional<z.ZodBoolean>;
|
|
104924
104933
|
}, "strip", z.ZodTypeAny, {
|
|
104925
|
-
kind?: "regular" | "progress_check" | undefined;
|
|
104926
104934
|
name?: string | undefined;
|
|
104927
104935
|
description?: string | null | undefined;
|
|
104936
|
+
kind?: "regular" | "progress_check" | undefined;
|
|
104928
104937
|
has_flight_evaluation?: boolean | undefined;
|
|
104929
104938
|
requires_student_signature?: boolean | undefined;
|
|
104930
104939
|
}, {
|
|
104931
|
-
kind?: "regular" | "progress_check" | undefined;
|
|
104932
104940
|
name?: string | undefined;
|
|
104933
104941
|
description?: string | null | undefined;
|
|
104942
|
+
kind?: "regular" | "progress_check" | undefined;
|
|
104934
104943
|
has_flight_evaluation?: boolean | undefined;
|
|
104935
104944
|
requires_student_signature?: boolean | undefined;
|
|
104936
104945
|
}>;
|
|
@@ -104941,9 +104950,9 @@ declare const courseCheckSyllabusSchema: z.ZodObject<{
|
|
|
104941
104950
|
version: z.ZodNumber;
|
|
104942
104951
|
kind: z.ZodDefault<z.ZodEnum<["regular", "progress_check"]>>;
|
|
104943
104952
|
}, "strip", z.ZodTypeAny, {
|
|
104944
|
-
kind: "regular" | "progress_check";
|
|
104945
104953
|
name: string;
|
|
104946
104954
|
id: number;
|
|
104955
|
+
kind: "regular" | "progress_check";
|
|
104947
104956
|
version: number;
|
|
104948
104957
|
}, {
|
|
104949
104958
|
name: string;
|
|
@@ -105008,10 +105017,10 @@ declare const syllabusElementMutationResultSchema: z.ZodObject<{
|
|
|
105008
105017
|
attached_syllabi_count: z.ZodOptional<z.ZodNumber>;
|
|
105009
105018
|
template_element_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
105010
105019
|
}, "strip", z.ZodTypeAny, {
|
|
105011
|
-
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
105012
105020
|
name: string;
|
|
105013
105021
|
code: string;
|
|
105014
105022
|
id: number;
|
|
105023
|
+
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
105015
105024
|
grading_scale: {
|
|
105016
105025
|
name: string;
|
|
105017
105026
|
id: number;
|
|
@@ -105026,10 +105035,10 @@ declare const syllabusElementMutationResultSchema: z.ZodObject<{
|
|
|
105026
105035
|
attached_syllabi_count?: number | undefined;
|
|
105027
105036
|
template_element_id?: number | null | undefined;
|
|
105028
105037
|
}, {
|
|
105029
|
-
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
105030
105038
|
name: string;
|
|
105031
105039
|
code: string;
|
|
105032
105040
|
id: number;
|
|
105041
|
+
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
105033
105042
|
grading_scale: {
|
|
105034
105043
|
name: string;
|
|
105035
105044
|
id: number;
|
|
@@ -105053,10 +105062,10 @@ declare const syllabusElementMutationResultSchema: z.ZodObject<{
|
|
|
105053
105062
|
sort_order: number;
|
|
105054
105063
|
is_required_each_flight: boolean;
|
|
105055
105064
|
training_element?: {
|
|
105056
|
-
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
105057
105065
|
name: string;
|
|
105058
105066
|
code: string;
|
|
105059
105067
|
id: number;
|
|
105068
|
+
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
105060
105069
|
grading_scale: {
|
|
105061
105070
|
name: string;
|
|
105062
105071
|
id: number;
|
|
@@ -105078,10 +105087,10 @@ declare const syllabusElementMutationResultSchema: z.ZodObject<{
|
|
|
105078
105087
|
sort_order: number;
|
|
105079
105088
|
is_required_each_flight: boolean;
|
|
105080
105089
|
training_element?: {
|
|
105081
|
-
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
105082
105090
|
name: string;
|
|
105083
105091
|
code: string;
|
|
105084
105092
|
id: number;
|
|
105093
|
+
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
105085
105094
|
grading_scale: {
|
|
105086
105095
|
name: string;
|
|
105087
105096
|
id: number;
|
|
@@ -105119,9 +105128,9 @@ declare const syllabusElementMutationResultSchema: z.ZodObject<{
|
|
|
105119
105128
|
created_at: z.ZodOptional<z.ZodString>;
|
|
105120
105129
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
105121
105130
|
}, "strip", z.ZodTypeAny, {
|
|
105122
|
-
kind: "regular" | "progress_check";
|
|
105123
105131
|
name: string;
|
|
105124
105132
|
id: number;
|
|
105133
|
+
kind: "regular" | "progress_check";
|
|
105125
105134
|
company_id: number;
|
|
105126
105135
|
has_flight_evaluation: boolean;
|
|
105127
105136
|
requires_student_signature: boolean;
|
|
@@ -105140,10 +105149,10 @@ declare const syllabusElementMutationResultSchema: z.ZodObject<{
|
|
|
105140
105149
|
sort_order: number;
|
|
105141
105150
|
is_required_each_flight: boolean;
|
|
105142
105151
|
training_element?: {
|
|
105143
|
-
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
105144
105152
|
name: string;
|
|
105145
105153
|
code: string;
|
|
105146
105154
|
id: number;
|
|
105155
|
+
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
105147
105156
|
grading_scale: {
|
|
105148
105157
|
name: string;
|
|
105149
105158
|
id: number;
|
|
@@ -105178,11 +105187,11 @@ declare const syllabusElementMutationResultSchema: z.ZodObject<{
|
|
|
105178
105187
|
version: number;
|
|
105179
105188
|
root_syllabus_id: number | null;
|
|
105180
105189
|
is_draft: boolean;
|
|
105181
|
-
kind?: "regular" | "progress_check" | undefined;
|
|
105182
105190
|
created_at?: string | undefined;
|
|
105183
105191
|
updated_at?: string | undefined;
|
|
105184
105192
|
description?: string | null | undefined;
|
|
105185
105193
|
can?: Record<string, boolean | null> | undefined;
|
|
105194
|
+
kind?: "regular" | "progress_check" | undefined;
|
|
105186
105195
|
is_in_use?: boolean | undefined;
|
|
105187
105196
|
spawned_from_id?: number | null | undefined;
|
|
105188
105197
|
elements?: {
|
|
@@ -105191,10 +105200,10 @@ declare const syllabusElementMutationResultSchema: z.ZodObject<{
|
|
|
105191
105200
|
sort_order: number;
|
|
105192
105201
|
is_required_each_flight: boolean;
|
|
105193
105202
|
training_element?: {
|
|
105194
|
-
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
105195
105203
|
name: string;
|
|
105196
105204
|
code: string;
|
|
105197
105205
|
id: number;
|
|
105206
|
+
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
105198
105207
|
grading_scale: {
|
|
105199
105208
|
name: string;
|
|
105200
105209
|
id: number;
|
|
@@ -105263,10 +105272,10 @@ declare const syllabusElementMutationResultSchema: z.ZodObject<{
|
|
|
105263
105272
|
attached_syllabi_count: z.ZodOptional<z.ZodNumber>;
|
|
105264
105273
|
template_element_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
105265
105274
|
}, "strip", z.ZodTypeAny, {
|
|
105266
|
-
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
105267
105275
|
name: string;
|
|
105268
105276
|
code: string;
|
|
105269
105277
|
id: number;
|
|
105278
|
+
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
105270
105279
|
grading_scale: {
|
|
105271
105280
|
name: string;
|
|
105272
105281
|
id: number;
|
|
@@ -105281,10 +105290,10 @@ declare const syllabusElementMutationResultSchema: z.ZodObject<{
|
|
|
105281
105290
|
attached_syllabi_count?: number | undefined;
|
|
105282
105291
|
template_element_id?: number | null | undefined;
|
|
105283
105292
|
}, {
|
|
105284
|
-
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
105285
105293
|
name: string;
|
|
105286
105294
|
code: string;
|
|
105287
105295
|
id: number;
|
|
105296
|
+
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
105288
105297
|
grading_scale: {
|
|
105289
105298
|
name: string;
|
|
105290
105299
|
id: number;
|
|
@@ -105308,10 +105317,10 @@ declare const syllabusElementMutationResultSchema: z.ZodObject<{
|
|
|
105308
105317
|
sort_order: number;
|
|
105309
105318
|
is_required_each_flight: boolean;
|
|
105310
105319
|
training_element?: {
|
|
105311
|
-
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
105312
105320
|
name: string;
|
|
105313
105321
|
code: string;
|
|
105314
105322
|
id: number;
|
|
105323
|
+
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
105315
105324
|
grading_scale: {
|
|
105316
105325
|
name: string;
|
|
105317
105326
|
id: number;
|
|
@@ -105333,10 +105342,10 @@ declare const syllabusElementMutationResultSchema: z.ZodObject<{
|
|
|
105333
105342
|
sort_order: number;
|
|
105334
105343
|
is_required_each_flight: boolean;
|
|
105335
105344
|
training_element?: {
|
|
105336
|
-
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
105337
105345
|
name: string;
|
|
105338
105346
|
code: string;
|
|
105339
105347
|
id: number;
|
|
105348
|
+
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
105340
105349
|
grading_scale: {
|
|
105341
105350
|
name: string;
|
|
105342
105351
|
id: number;
|
|
@@ -105356,9 +105365,9 @@ declare const syllabusElementMutationResultSchema: z.ZodObject<{
|
|
|
105356
105365
|
spawned_from_id: z.ZodNullable<z.ZodNumber>;
|
|
105357
105366
|
}, "strip", z.ZodTypeAny, {
|
|
105358
105367
|
syllabus: {
|
|
105359
|
-
kind: "regular" | "progress_check";
|
|
105360
105368
|
name: string;
|
|
105361
105369
|
id: number;
|
|
105370
|
+
kind: "regular" | "progress_check";
|
|
105362
105371
|
company_id: number;
|
|
105363
105372
|
has_flight_evaluation: boolean;
|
|
105364
105373
|
requires_student_signature: boolean;
|
|
@@ -105377,10 +105386,10 @@ declare const syllabusElementMutationResultSchema: z.ZodObject<{
|
|
|
105377
105386
|
sort_order: number;
|
|
105378
105387
|
is_required_each_flight: boolean;
|
|
105379
105388
|
training_element?: {
|
|
105380
|
-
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
105381
105389
|
name: string;
|
|
105382
105390
|
code: string;
|
|
105383
105391
|
id: number;
|
|
105392
|
+
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
105384
105393
|
grading_scale: {
|
|
105385
105394
|
name: string;
|
|
105386
105395
|
id: number;
|
|
@@ -105414,10 +105423,10 @@ declare const syllabusElementMutationResultSchema: z.ZodObject<{
|
|
|
105414
105423
|
sort_order: number;
|
|
105415
105424
|
is_required_each_flight: boolean;
|
|
105416
105425
|
training_element?: {
|
|
105417
|
-
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
105418
105426
|
name: string;
|
|
105419
105427
|
code: string;
|
|
105420
105428
|
id: number;
|
|
105429
|
+
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
105421
105430
|
grading_scale: {
|
|
105422
105431
|
name: string;
|
|
105423
105432
|
id: number;
|
|
@@ -105444,11 +105453,11 @@ declare const syllabusElementMutationResultSchema: z.ZodObject<{
|
|
|
105444
105453
|
version: number;
|
|
105445
105454
|
root_syllabus_id: number | null;
|
|
105446
105455
|
is_draft: boolean;
|
|
105447
|
-
kind?: "regular" | "progress_check" | undefined;
|
|
105448
105456
|
created_at?: string | undefined;
|
|
105449
105457
|
updated_at?: string | undefined;
|
|
105450
105458
|
description?: string | null | undefined;
|
|
105451
105459
|
can?: Record<string, boolean | null> | undefined;
|
|
105460
|
+
kind?: "regular" | "progress_check" | undefined;
|
|
105452
105461
|
is_in_use?: boolean | undefined;
|
|
105453
105462
|
spawned_from_id?: number | null | undefined;
|
|
105454
105463
|
elements?: {
|
|
@@ -105457,10 +105466,10 @@ declare const syllabusElementMutationResultSchema: z.ZodObject<{
|
|
|
105457
105466
|
sort_order: number;
|
|
105458
105467
|
is_required_each_flight: boolean;
|
|
105459
105468
|
training_element?: {
|
|
105460
|
-
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
105461
105469
|
name: string;
|
|
105462
105470
|
code: string;
|
|
105463
105471
|
id: number;
|
|
105472
|
+
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
105464
105473
|
grading_scale: {
|
|
105465
105474
|
name: string;
|
|
105466
105475
|
id: number;
|
|
@@ -105494,10 +105503,10 @@ declare const syllabusElementMutationResultSchema: z.ZodObject<{
|
|
|
105494
105503
|
sort_order: number;
|
|
105495
105504
|
is_required_each_flight: boolean;
|
|
105496
105505
|
training_element?: {
|
|
105497
|
-
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
105498
105506
|
name: string;
|
|
105499
105507
|
code: string;
|
|
105500
105508
|
id: number;
|
|
105509
|
+
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
105501
105510
|
grading_scale: {
|
|
105502
105511
|
name: string;
|
|
105503
105512
|
id: number;
|
|
@@ -105687,10 +105696,10 @@ declare const enrollmentTrainingElementSchema: z.ZodObject<{
|
|
|
105687
105696
|
attached_syllabi_count: z.ZodOptional<z.ZodNumber>;
|
|
105688
105697
|
template_element_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
105689
105698
|
}, "strip", z.ZodTypeAny, {
|
|
105690
|
-
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
105691
105699
|
name: string;
|
|
105692
105700
|
code: string;
|
|
105693
105701
|
id: number;
|
|
105702
|
+
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
105694
105703
|
grading_scale: {
|
|
105695
105704
|
name: string;
|
|
105696
105705
|
id: number;
|
|
@@ -105705,10 +105714,10 @@ declare const enrollmentTrainingElementSchema: z.ZodObject<{
|
|
|
105705
105714
|
attached_syllabi_count?: number | undefined;
|
|
105706
105715
|
template_element_id?: number | null | undefined;
|
|
105707
105716
|
}, {
|
|
105708
|
-
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
105709
105717
|
name: string;
|
|
105710
105718
|
code: string;
|
|
105711
105719
|
id: number;
|
|
105720
|
+
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
105712
105721
|
grading_scale: {
|
|
105713
105722
|
name: string;
|
|
105714
105723
|
id: number;
|
|
@@ -105750,10 +105759,10 @@ declare const enrollmentTrainingElementSchema: z.ZodObject<{
|
|
|
105750
105759
|
status: "not_started" | "in_training" | "completed" | "removed_from_syllabus";
|
|
105751
105760
|
id: number;
|
|
105752
105761
|
training_element: {
|
|
105753
|
-
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
105754
105762
|
name: string;
|
|
105755
105763
|
code: string;
|
|
105756
105764
|
id: number;
|
|
105765
|
+
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
105757
105766
|
grading_scale: {
|
|
105758
105767
|
name: string;
|
|
105759
105768
|
id: number;
|
|
@@ -105790,10 +105799,10 @@ declare const enrollmentTrainingElementSchema: z.ZodObject<{
|
|
|
105790
105799
|
status: "not_started" | "in_training" | "completed" | "removed_from_syllabus";
|
|
105791
105800
|
id: number;
|
|
105792
105801
|
training_element: {
|
|
105793
|
-
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
105794
105802
|
name: string;
|
|
105795
105803
|
code: string;
|
|
105796
105804
|
id: number;
|
|
105805
|
+
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
105797
105806
|
grading_scale: {
|
|
105798
105807
|
name: string;
|
|
105799
105808
|
id: number;
|
|
@@ -105885,10 +105894,10 @@ declare const trainingRecordEntrySchema: z.ZodObject<{
|
|
|
105885
105894
|
attached_syllabi_count: z.ZodOptional<z.ZodNumber>;
|
|
105886
105895
|
template_element_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
105887
105896
|
}, "strip", z.ZodTypeAny, {
|
|
105888
|
-
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
105889
105897
|
name: string;
|
|
105890
105898
|
code: string;
|
|
105891
105899
|
id: number;
|
|
105900
|
+
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
105892
105901
|
grading_scale: {
|
|
105893
105902
|
name: string;
|
|
105894
105903
|
id: number;
|
|
@@ -105903,10 +105912,10 @@ declare const trainingRecordEntrySchema: z.ZodObject<{
|
|
|
105903
105912
|
attached_syllabi_count?: number | undefined;
|
|
105904
105913
|
template_element_id?: number | null | undefined;
|
|
105905
105914
|
}, {
|
|
105906
|
-
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
105907
105915
|
name: string;
|
|
105908
105916
|
code: string;
|
|
105909
105917
|
id: number;
|
|
105918
|
+
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
105910
105919
|
grading_scale: {
|
|
105911
105920
|
name: string;
|
|
105912
105921
|
id: number;
|
|
@@ -105927,10 +105936,10 @@ declare const trainingRecordEntrySchema: z.ZodObject<{
|
|
|
105927
105936
|
id: number;
|
|
105928
105937
|
training_element_id: number;
|
|
105929
105938
|
training_element?: {
|
|
105930
|
-
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
105931
105939
|
name: string;
|
|
105932
105940
|
code: string;
|
|
105933
105941
|
id: number;
|
|
105942
|
+
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
105934
105943
|
grading_scale: {
|
|
105935
105944
|
name: string;
|
|
105936
105945
|
id: number;
|
|
@@ -105951,10 +105960,10 @@ declare const trainingRecordEntrySchema: z.ZodObject<{
|
|
|
105951
105960
|
id: number;
|
|
105952
105961
|
training_element_id: number;
|
|
105953
105962
|
training_element?: {
|
|
105954
|
-
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
105955
105963
|
name: string;
|
|
105956
105964
|
code: string;
|
|
105957
105965
|
id: number;
|
|
105966
|
+
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
105958
105967
|
grading_scale: {
|
|
105959
105968
|
name: string;
|
|
105960
105969
|
id: number;
|
|
@@ -106087,9 +106096,9 @@ declare const trainingRecordSchema: z.ZodObject<{
|
|
|
106087
106096
|
version: z.ZodNumber;
|
|
106088
106097
|
kind: z.ZodDefault<z.ZodEnum<["regular", "progress_check"]>>;
|
|
106089
106098
|
}, "strip", z.ZodTypeAny, {
|
|
106090
|
-
kind: "regular" | "progress_check";
|
|
106091
106099
|
name: string;
|
|
106092
106100
|
id: number;
|
|
106101
|
+
kind: "regular" | "progress_check";
|
|
106093
106102
|
version: number;
|
|
106094
106103
|
}, {
|
|
106095
106104
|
name: string;
|
|
@@ -106144,10 +106153,10 @@ declare const trainingRecordSchema: z.ZodObject<{
|
|
|
106144
106153
|
attached_syllabi_count: z.ZodOptional<z.ZodNumber>;
|
|
106145
106154
|
template_element_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
106146
106155
|
}, "strip", z.ZodTypeAny, {
|
|
106147
|
-
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
106148
106156
|
name: string;
|
|
106149
106157
|
code: string;
|
|
106150
106158
|
id: number;
|
|
106159
|
+
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
106151
106160
|
grading_scale: {
|
|
106152
106161
|
name: string;
|
|
106153
106162
|
id: number;
|
|
@@ -106162,10 +106171,10 @@ declare const trainingRecordSchema: z.ZodObject<{
|
|
|
106162
106171
|
attached_syllabi_count?: number | undefined;
|
|
106163
106172
|
template_element_id?: number | null | undefined;
|
|
106164
106173
|
}, {
|
|
106165
|
-
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
106166
106174
|
name: string;
|
|
106167
106175
|
code: string;
|
|
106168
106176
|
id: number;
|
|
106177
|
+
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
106169
106178
|
grading_scale: {
|
|
106170
106179
|
name: string;
|
|
106171
106180
|
id: number;
|
|
@@ -106186,10 +106195,10 @@ declare const trainingRecordSchema: z.ZodObject<{
|
|
|
106186
106195
|
id: number;
|
|
106187
106196
|
training_element_id: number;
|
|
106188
106197
|
training_element?: {
|
|
106189
|
-
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
106190
106198
|
name: string;
|
|
106191
106199
|
code: string;
|
|
106192
106200
|
id: number;
|
|
106201
|
+
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
106193
106202
|
grading_scale: {
|
|
106194
106203
|
name: string;
|
|
106195
106204
|
id: number;
|
|
@@ -106210,10 +106219,10 @@ declare const trainingRecordSchema: z.ZodObject<{
|
|
|
106210
106219
|
id: number;
|
|
106211
106220
|
training_element_id: number;
|
|
106212
106221
|
training_element?: {
|
|
106213
|
-
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
106214
106222
|
name: string;
|
|
106215
106223
|
code: string;
|
|
106216
106224
|
id: number;
|
|
106225
|
+
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
106217
106226
|
grading_scale: {
|
|
106218
106227
|
name: string;
|
|
106219
106228
|
id: number;
|
|
@@ -106361,10 +106370,10 @@ declare const trainingRecordSchema: z.ZodObject<{
|
|
|
106361
106370
|
id: number;
|
|
106362
106371
|
training_element_id: number;
|
|
106363
106372
|
training_element?: {
|
|
106364
|
-
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
106365
106373
|
name: string;
|
|
106366
106374
|
code: string;
|
|
106367
106375
|
id: number;
|
|
106376
|
+
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
106368
106377
|
grading_scale: {
|
|
106369
106378
|
name: string;
|
|
106370
106379
|
id: number;
|
|
@@ -106417,17 +106426,13 @@ declare const trainingRecordSchema: z.ZodObject<{
|
|
|
106417
106426
|
signed_by_name?: string | null | undefined;
|
|
106418
106427
|
}[];
|
|
106419
106428
|
sequence: number;
|
|
106420
|
-
instructor?: {
|
|
106421
|
-
name: string | null;
|
|
106422
|
-
id: number;
|
|
106423
|
-
} | null | undefined;
|
|
106424
106429
|
created_at?: string | undefined;
|
|
106425
106430
|
updated_at?: string | undefined;
|
|
106426
106431
|
syllabus_id?: number | null | undefined;
|
|
106427
106432
|
syllabus?: {
|
|
106428
|
-
kind: "regular" | "progress_check";
|
|
106429
106433
|
name: string;
|
|
106430
106434
|
id: number;
|
|
106435
|
+
kind: "regular" | "progress_check";
|
|
106431
106436
|
version: number;
|
|
106432
106437
|
} | null | undefined;
|
|
106433
106438
|
instructor_membership_id?: number | null | undefined;
|
|
@@ -106449,15 +106454,19 @@ declare const trainingRecordSchema: z.ZodObject<{
|
|
|
106449
106454
|
etdZ: string | null;
|
|
106450
106455
|
airplane_registration: string | null;
|
|
106451
106456
|
} | null | undefined;
|
|
106457
|
+
instructor?: {
|
|
106458
|
+
name: string | null;
|
|
106459
|
+
id: number;
|
|
106460
|
+
} | null | undefined;
|
|
106452
106461
|
}, {
|
|
106453
106462
|
entries: {
|
|
106454
106463
|
id: number;
|
|
106455
106464
|
training_element_id: number;
|
|
106456
106465
|
training_element?: {
|
|
106457
|
-
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
106458
106466
|
name: string;
|
|
106459
106467
|
code: string;
|
|
106460
106468
|
id: number;
|
|
106469
|
+
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
106461
106470
|
grading_scale: {
|
|
106462
106471
|
name: string;
|
|
106463
106472
|
id: number;
|
|
@@ -106508,10 +106517,6 @@ declare const trainingRecordSchema: z.ZodObject<{
|
|
|
106508
106517
|
signed_by_name?: string | null | undefined;
|
|
106509
106518
|
is_current_user_designated?: boolean | undefined;
|
|
106510
106519
|
}[];
|
|
106511
|
-
instructor?: {
|
|
106512
|
-
name: string | null;
|
|
106513
|
-
id: number;
|
|
106514
|
-
} | null | undefined;
|
|
106515
106520
|
created_at?: string | undefined;
|
|
106516
106521
|
updated_at?: string | undefined;
|
|
106517
106522
|
syllabus_id?: number | null | undefined;
|
|
@@ -106542,6 +106547,10 @@ declare const trainingRecordSchema: z.ZodObject<{
|
|
|
106542
106547
|
etdZ: string | null;
|
|
106543
106548
|
airplane_registration: string | null;
|
|
106544
106549
|
} | null | undefined;
|
|
106550
|
+
instructor?: {
|
|
106551
|
+
name: string | null;
|
|
106552
|
+
id: number;
|
|
106553
|
+
} | null | undefined;
|
|
106545
106554
|
}>;
|
|
106546
106555
|
type TrainingRecord = z.infer<typeof trainingRecordSchema>;
|
|
106547
106556
|
declare const UpsertTrainingRecordFormSchema: z.ZodObject<{
|
|
@@ -106608,9 +106617,9 @@ declare const invalidateTrainingRecordResponseSchema: z.ZodObject<{
|
|
|
106608
106617
|
version: z.ZodNumber;
|
|
106609
106618
|
kind: z.ZodDefault<z.ZodEnum<["regular", "progress_check"]>>;
|
|
106610
106619
|
}, "strip", z.ZodTypeAny, {
|
|
106611
|
-
kind: "regular" | "progress_check";
|
|
106612
106620
|
name: string;
|
|
106613
106621
|
id: number;
|
|
106622
|
+
kind: "regular" | "progress_check";
|
|
106614
106623
|
version: number;
|
|
106615
106624
|
}, {
|
|
106616
106625
|
name: string;
|
|
@@ -106665,10 +106674,10 @@ declare const invalidateTrainingRecordResponseSchema: z.ZodObject<{
|
|
|
106665
106674
|
attached_syllabi_count: z.ZodOptional<z.ZodNumber>;
|
|
106666
106675
|
template_element_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
106667
106676
|
}, "strip", z.ZodTypeAny, {
|
|
106668
|
-
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
106669
106677
|
name: string;
|
|
106670
106678
|
code: string;
|
|
106671
106679
|
id: number;
|
|
106680
|
+
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
106672
106681
|
grading_scale: {
|
|
106673
106682
|
name: string;
|
|
106674
106683
|
id: number;
|
|
@@ -106683,10 +106692,10 @@ declare const invalidateTrainingRecordResponseSchema: z.ZodObject<{
|
|
|
106683
106692
|
attached_syllabi_count?: number | undefined;
|
|
106684
106693
|
template_element_id?: number | null | undefined;
|
|
106685
106694
|
}, {
|
|
106686
|
-
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
106687
106695
|
name: string;
|
|
106688
106696
|
code: string;
|
|
106689
106697
|
id: number;
|
|
106698
|
+
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
106690
106699
|
grading_scale: {
|
|
106691
106700
|
name: string;
|
|
106692
106701
|
id: number;
|
|
@@ -106707,10 +106716,10 @@ declare const invalidateTrainingRecordResponseSchema: z.ZodObject<{
|
|
|
106707
106716
|
id: number;
|
|
106708
106717
|
training_element_id: number;
|
|
106709
106718
|
training_element?: {
|
|
106710
|
-
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
106711
106719
|
name: string;
|
|
106712
106720
|
code: string;
|
|
106713
106721
|
id: number;
|
|
106722
|
+
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
106714
106723
|
grading_scale: {
|
|
106715
106724
|
name: string;
|
|
106716
106725
|
id: number;
|
|
@@ -106731,10 +106740,10 @@ declare const invalidateTrainingRecordResponseSchema: z.ZodObject<{
|
|
|
106731
106740
|
id: number;
|
|
106732
106741
|
training_element_id: number;
|
|
106733
106742
|
training_element?: {
|
|
106734
|
-
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
106735
106743
|
name: string;
|
|
106736
106744
|
code: string;
|
|
106737
106745
|
id: number;
|
|
106746
|
+
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
106738
106747
|
grading_scale: {
|
|
106739
106748
|
name: string;
|
|
106740
106749
|
id: number;
|
|
@@ -106882,10 +106891,10 @@ declare const invalidateTrainingRecordResponseSchema: z.ZodObject<{
|
|
|
106882
106891
|
id: number;
|
|
106883
106892
|
training_element_id: number;
|
|
106884
106893
|
training_element?: {
|
|
106885
|
-
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
106886
106894
|
name: string;
|
|
106887
106895
|
code: string;
|
|
106888
106896
|
id: number;
|
|
106897
|
+
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
106889
106898
|
grading_scale: {
|
|
106890
106899
|
name: string;
|
|
106891
106900
|
id: number;
|
|
@@ -106938,17 +106947,13 @@ declare const invalidateTrainingRecordResponseSchema: z.ZodObject<{
|
|
|
106938
106947
|
signed_by_name?: string | null | undefined;
|
|
106939
106948
|
}[];
|
|
106940
106949
|
sequence: number;
|
|
106941
|
-
instructor?: {
|
|
106942
|
-
name: string | null;
|
|
106943
|
-
id: number;
|
|
106944
|
-
} | null | undefined;
|
|
106945
106950
|
created_at?: string | undefined;
|
|
106946
106951
|
updated_at?: string | undefined;
|
|
106947
106952
|
syllabus_id?: number | null | undefined;
|
|
106948
106953
|
syllabus?: {
|
|
106949
|
-
kind: "regular" | "progress_check";
|
|
106950
106954
|
name: string;
|
|
106951
106955
|
id: number;
|
|
106956
|
+
kind: "regular" | "progress_check";
|
|
106952
106957
|
version: number;
|
|
106953
106958
|
} | null | undefined;
|
|
106954
106959
|
instructor_membership_id?: number | null | undefined;
|
|
@@ -106970,15 +106975,19 @@ declare const invalidateTrainingRecordResponseSchema: z.ZodObject<{
|
|
|
106970
106975
|
etdZ: string | null;
|
|
106971
106976
|
airplane_registration: string | null;
|
|
106972
106977
|
} | null | undefined;
|
|
106978
|
+
instructor?: {
|
|
106979
|
+
name: string | null;
|
|
106980
|
+
id: number;
|
|
106981
|
+
} | null | undefined;
|
|
106973
106982
|
}, {
|
|
106974
106983
|
entries: {
|
|
106975
106984
|
id: number;
|
|
106976
106985
|
training_element_id: number;
|
|
106977
106986
|
training_element?: {
|
|
106978
|
-
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
106979
106987
|
name: string;
|
|
106980
106988
|
code: string;
|
|
106981
106989
|
id: number;
|
|
106990
|
+
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
106982
106991
|
grading_scale: {
|
|
106983
106992
|
name: string;
|
|
106984
106993
|
id: number;
|
|
@@ -107029,10 +107038,6 @@ declare const invalidateTrainingRecordResponseSchema: z.ZodObject<{
|
|
|
107029
107038
|
signed_by_name?: string | null | undefined;
|
|
107030
107039
|
is_current_user_designated?: boolean | undefined;
|
|
107031
107040
|
}[];
|
|
107032
|
-
instructor?: {
|
|
107033
|
-
name: string | null;
|
|
107034
|
-
id: number;
|
|
107035
|
-
} | null | undefined;
|
|
107036
107041
|
created_at?: string | undefined;
|
|
107037
107042
|
updated_at?: string | undefined;
|
|
107038
107043
|
syllabus_id?: number | null | undefined;
|
|
@@ -107063,6 +107068,10 @@ declare const invalidateTrainingRecordResponseSchema: z.ZodObject<{
|
|
|
107063
107068
|
etdZ: string | null;
|
|
107064
107069
|
airplane_registration: string | null;
|
|
107065
107070
|
} | null | undefined;
|
|
107071
|
+
instructor?: {
|
|
107072
|
+
name: string | null;
|
|
107073
|
+
id: number;
|
|
107074
|
+
} | null | undefined;
|
|
107066
107075
|
}>;
|
|
107067
107076
|
replacement: z.ZodNullable<z.ZodObject<{
|
|
107068
107077
|
id: z.ZodNumber;
|
|
@@ -107078,9 +107087,9 @@ declare const invalidateTrainingRecordResponseSchema: z.ZodObject<{
|
|
|
107078
107087
|
version: z.ZodNumber;
|
|
107079
107088
|
kind: z.ZodDefault<z.ZodEnum<["regular", "progress_check"]>>;
|
|
107080
107089
|
}, "strip", z.ZodTypeAny, {
|
|
107081
|
-
kind: "regular" | "progress_check";
|
|
107082
107090
|
name: string;
|
|
107083
107091
|
id: number;
|
|
107092
|
+
kind: "regular" | "progress_check";
|
|
107084
107093
|
version: number;
|
|
107085
107094
|
}, {
|
|
107086
107095
|
name: string;
|
|
@@ -107135,10 +107144,10 @@ declare const invalidateTrainingRecordResponseSchema: z.ZodObject<{
|
|
|
107135
107144
|
attached_syllabi_count: z.ZodOptional<z.ZodNumber>;
|
|
107136
107145
|
template_element_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
107137
107146
|
}, "strip", z.ZodTypeAny, {
|
|
107138
|
-
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
107139
107147
|
name: string;
|
|
107140
107148
|
code: string;
|
|
107141
107149
|
id: number;
|
|
107150
|
+
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
107142
107151
|
grading_scale: {
|
|
107143
107152
|
name: string;
|
|
107144
107153
|
id: number;
|
|
@@ -107153,10 +107162,10 @@ declare const invalidateTrainingRecordResponseSchema: z.ZodObject<{
|
|
|
107153
107162
|
attached_syllabi_count?: number | undefined;
|
|
107154
107163
|
template_element_id?: number | null | undefined;
|
|
107155
107164
|
}, {
|
|
107156
|
-
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
107157
107165
|
name: string;
|
|
107158
107166
|
code: string;
|
|
107159
107167
|
id: number;
|
|
107168
|
+
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
107160
107169
|
grading_scale: {
|
|
107161
107170
|
name: string;
|
|
107162
107171
|
id: number;
|
|
@@ -107177,10 +107186,10 @@ declare const invalidateTrainingRecordResponseSchema: z.ZodObject<{
|
|
|
107177
107186
|
id: number;
|
|
107178
107187
|
training_element_id: number;
|
|
107179
107188
|
training_element?: {
|
|
107180
|
-
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
107181
107189
|
name: string;
|
|
107182
107190
|
code: string;
|
|
107183
107191
|
id: number;
|
|
107192
|
+
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
107184
107193
|
grading_scale: {
|
|
107185
107194
|
name: string;
|
|
107186
107195
|
id: number;
|
|
@@ -107201,10 +107210,10 @@ declare const invalidateTrainingRecordResponseSchema: z.ZodObject<{
|
|
|
107201
107210
|
id: number;
|
|
107202
107211
|
training_element_id: number;
|
|
107203
107212
|
training_element?: {
|
|
107204
|
-
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
107205
107213
|
name: string;
|
|
107206
107214
|
code: string;
|
|
107207
107215
|
id: number;
|
|
107216
|
+
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
107208
107217
|
grading_scale: {
|
|
107209
107218
|
name: string;
|
|
107210
107219
|
id: number;
|
|
@@ -107352,10 +107361,10 @@ declare const invalidateTrainingRecordResponseSchema: z.ZodObject<{
|
|
|
107352
107361
|
id: number;
|
|
107353
107362
|
training_element_id: number;
|
|
107354
107363
|
training_element?: {
|
|
107355
|
-
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
107356
107364
|
name: string;
|
|
107357
107365
|
code: string;
|
|
107358
107366
|
id: number;
|
|
107367
|
+
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
107359
107368
|
grading_scale: {
|
|
107360
107369
|
name: string;
|
|
107361
107370
|
id: number;
|
|
@@ -107408,17 +107417,13 @@ declare const invalidateTrainingRecordResponseSchema: z.ZodObject<{
|
|
|
107408
107417
|
signed_by_name?: string | null | undefined;
|
|
107409
107418
|
}[];
|
|
107410
107419
|
sequence: number;
|
|
107411
|
-
instructor?: {
|
|
107412
|
-
name: string | null;
|
|
107413
|
-
id: number;
|
|
107414
|
-
} | null | undefined;
|
|
107415
107420
|
created_at?: string | undefined;
|
|
107416
107421
|
updated_at?: string | undefined;
|
|
107417
107422
|
syllabus_id?: number | null | undefined;
|
|
107418
107423
|
syllabus?: {
|
|
107419
|
-
kind: "regular" | "progress_check";
|
|
107420
107424
|
name: string;
|
|
107421
107425
|
id: number;
|
|
107426
|
+
kind: "regular" | "progress_check";
|
|
107422
107427
|
version: number;
|
|
107423
107428
|
} | null | undefined;
|
|
107424
107429
|
instructor_membership_id?: number | null | undefined;
|
|
@@ -107440,15 +107445,19 @@ declare const invalidateTrainingRecordResponseSchema: z.ZodObject<{
|
|
|
107440
107445
|
etdZ: string | null;
|
|
107441
107446
|
airplane_registration: string | null;
|
|
107442
107447
|
} | null | undefined;
|
|
107448
|
+
instructor?: {
|
|
107449
|
+
name: string | null;
|
|
107450
|
+
id: number;
|
|
107451
|
+
} | null | undefined;
|
|
107443
107452
|
}, {
|
|
107444
107453
|
entries: {
|
|
107445
107454
|
id: number;
|
|
107446
107455
|
training_element_id: number;
|
|
107447
107456
|
training_element?: {
|
|
107448
|
-
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
107449
107457
|
name: string;
|
|
107450
107458
|
code: string;
|
|
107451
107459
|
id: number;
|
|
107460
|
+
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
107452
107461
|
grading_scale: {
|
|
107453
107462
|
name: string;
|
|
107454
107463
|
id: number;
|
|
@@ -107499,10 +107508,6 @@ declare const invalidateTrainingRecordResponseSchema: z.ZodObject<{
|
|
|
107499
107508
|
signed_by_name?: string | null | undefined;
|
|
107500
107509
|
is_current_user_designated?: boolean | undefined;
|
|
107501
107510
|
}[];
|
|
107502
|
-
instructor?: {
|
|
107503
|
-
name: string | null;
|
|
107504
|
-
id: number;
|
|
107505
|
-
} | null | undefined;
|
|
107506
107511
|
created_at?: string | undefined;
|
|
107507
107512
|
updated_at?: string | undefined;
|
|
107508
107513
|
syllabus_id?: number | null | undefined;
|
|
@@ -107533,6 +107538,10 @@ declare const invalidateTrainingRecordResponseSchema: z.ZodObject<{
|
|
|
107533
107538
|
etdZ: string | null;
|
|
107534
107539
|
airplane_registration: string | null;
|
|
107535
107540
|
} | null | undefined;
|
|
107541
|
+
instructor?: {
|
|
107542
|
+
name: string | null;
|
|
107543
|
+
id: number;
|
|
107544
|
+
} | null | undefined;
|
|
107536
107545
|
}>>;
|
|
107537
107546
|
}, "strip", z.ZodTypeAny, {
|
|
107538
107547
|
record: {
|
|
@@ -107540,10 +107549,10 @@ declare const invalidateTrainingRecordResponseSchema: z.ZodObject<{
|
|
|
107540
107549
|
id: number;
|
|
107541
107550
|
training_element_id: number;
|
|
107542
107551
|
training_element?: {
|
|
107543
|
-
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
107544
107552
|
name: string;
|
|
107545
107553
|
code: string;
|
|
107546
107554
|
id: number;
|
|
107555
|
+
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
107547
107556
|
grading_scale: {
|
|
107548
107557
|
name: string;
|
|
107549
107558
|
id: number;
|
|
@@ -107596,17 +107605,13 @@ declare const invalidateTrainingRecordResponseSchema: z.ZodObject<{
|
|
|
107596
107605
|
signed_by_name?: string | null | undefined;
|
|
107597
107606
|
}[];
|
|
107598
107607
|
sequence: number;
|
|
107599
|
-
instructor?: {
|
|
107600
|
-
name: string | null;
|
|
107601
|
-
id: number;
|
|
107602
|
-
} | null | undefined;
|
|
107603
107608
|
created_at?: string | undefined;
|
|
107604
107609
|
updated_at?: string | undefined;
|
|
107605
107610
|
syllabus_id?: number | null | undefined;
|
|
107606
107611
|
syllabus?: {
|
|
107607
|
-
kind: "regular" | "progress_check";
|
|
107608
107612
|
name: string;
|
|
107609
107613
|
id: number;
|
|
107614
|
+
kind: "regular" | "progress_check";
|
|
107610
107615
|
version: number;
|
|
107611
107616
|
} | null | undefined;
|
|
107612
107617
|
instructor_membership_id?: number | null | undefined;
|
|
@@ -107628,16 +107633,20 @@ declare const invalidateTrainingRecordResponseSchema: z.ZodObject<{
|
|
|
107628
107633
|
etdZ: string | null;
|
|
107629
107634
|
airplane_registration: string | null;
|
|
107630
107635
|
} | null | undefined;
|
|
107636
|
+
instructor?: {
|
|
107637
|
+
name: string | null;
|
|
107638
|
+
id: number;
|
|
107639
|
+
} | null | undefined;
|
|
107631
107640
|
};
|
|
107632
107641
|
replacement: {
|
|
107633
107642
|
entries: {
|
|
107634
107643
|
id: number;
|
|
107635
107644
|
training_element_id: number;
|
|
107636
107645
|
training_element?: {
|
|
107637
|
-
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
107638
107646
|
name: string;
|
|
107639
107647
|
code: string;
|
|
107640
107648
|
id: number;
|
|
107649
|
+
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
107641
107650
|
grading_scale: {
|
|
107642
107651
|
name: string;
|
|
107643
107652
|
id: number;
|
|
@@ -107690,17 +107699,13 @@ declare const invalidateTrainingRecordResponseSchema: z.ZodObject<{
|
|
|
107690
107699
|
signed_by_name?: string | null | undefined;
|
|
107691
107700
|
}[];
|
|
107692
107701
|
sequence: number;
|
|
107693
|
-
instructor?: {
|
|
107694
|
-
name: string | null;
|
|
107695
|
-
id: number;
|
|
107696
|
-
} | null | undefined;
|
|
107697
107702
|
created_at?: string | undefined;
|
|
107698
107703
|
updated_at?: string | undefined;
|
|
107699
107704
|
syllabus_id?: number | null | undefined;
|
|
107700
107705
|
syllabus?: {
|
|
107701
|
-
kind: "regular" | "progress_check";
|
|
107702
107706
|
name: string;
|
|
107703
107707
|
id: number;
|
|
107708
|
+
kind: "regular" | "progress_check";
|
|
107704
107709
|
version: number;
|
|
107705
107710
|
} | null | undefined;
|
|
107706
107711
|
instructor_membership_id?: number | null | undefined;
|
|
@@ -107722,6 +107727,10 @@ declare const invalidateTrainingRecordResponseSchema: z.ZodObject<{
|
|
|
107722
107727
|
etdZ: string | null;
|
|
107723
107728
|
airplane_registration: string | null;
|
|
107724
107729
|
} | null | undefined;
|
|
107730
|
+
instructor?: {
|
|
107731
|
+
name: string | null;
|
|
107732
|
+
id: number;
|
|
107733
|
+
} | null | undefined;
|
|
107725
107734
|
} | null;
|
|
107726
107735
|
}, {
|
|
107727
107736
|
record: {
|
|
@@ -107729,10 +107738,10 @@ declare const invalidateTrainingRecordResponseSchema: z.ZodObject<{
|
|
|
107729
107738
|
id: number;
|
|
107730
107739
|
training_element_id: number;
|
|
107731
107740
|
training_element?: {
|
|
107732
|
-
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
107733
107741
|
name: string;
|
|
107734
107742
|
code: string;
|
|
107735
107743
|
id: number;
|
|
107744
|
+
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
107736
107745
|
grading_scale: {
|
|
107737
107746
|
name: string;
|
|
107738
107747
|
id: number;
|
|
@@ -107783,10 +107792,6 @@ declare const invalidateTrainingRecordResponseSchema: z.ZodObject<{
|
|
|
107783
107792
|
signed_by_name?: string | null | undefined;
|
|
107784
107793
|
is_current_user_designated?: boolean | undefined;
|
|
107785
107794
|
}[];
|
|
107786
|
-
instructor?: {
|
|
107787
|
-
name: string | null;
|
|
107788
|
-
id: number;
|
|
107789
|
-
} | null | undefined;
|
|
107790
107795
|
created_at?: string | undefined;
|
|
107791
107796
|
updated_at?: string | undefined;
|
|
107792
107797
|
syllabus_id?: number | null | undefined;
|
|
@@ -107817,16 +107822,20 @@ declare const invalidateTrainingRecordResponseSchema: z.ZodObject<{
|
|
|
107817
107822
|
etdZ: string | null;
|
|
107818
107823
|
airplane_registration: string | null;
|
|
107819
107824
|
} | null | undefined;
|
|
107825
|
+
instructor?: {
|
|
107826
|
+
name: string | null;
|
|
107827
|
+
id: number;
|
|
107828
|
+
} | null | undefined;
|
|
107820
107829
|
};
|
|
107821
107830
|
replacement: {
|
|
107822
107831
|
entries: {
|
|
107823
107832
|
id: number;
|
|
107824
107833
|
training_element_id: number;
|
|
107825
107834
|
training_element?: {
|
|
107826
|
-
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
107827
107835
|
name: string;
|
|
107828
107836
|
code: string;
|
|
107829
107837
|
id: number;
|
|
107838
|
+
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
107830
107839
|
grading_scale: {
|
|
107831
107840
|
name: string;
|
|
107832
107841
|
id: number;
|
|
@@ -107877,10 +107886,6 @@ declare const invalidateTrainingRecordResponseSchema: z.ZodObject<{
|
|
|
107877
107886
|
signed_by_name?: string | null | undefined;
|
|
107878
107887
|
is_current_user_designated?: boolean | undefined;
|
|
107879
107888
|
}[];
|
|
107880
|
-
instructor?: {
|
|
107881
|
-
name: string | null;
|
|
107882
|
-
id: number;
|
|
107883
|
-
} | null | undefined;
|
|
107884
107889
|
created_at?: string | undefined;
|
|
107885
107890
|
updated_at?: string | undefined;
|
|
107886
107891
|
syllabus_id?: number | null | undefined;
|
|
@@ -107911,6 +107916,10 @@ declare const invalidateTrainingRecordResponseSchema: z.ZodObject<{
|
|
|
107911
107916
|
etdZ: string | null;
|
|
107912
107917
|
airplane_registration: string | null;
|
|
107913
107918
|
} | null | undefined;
|
|
107919
|
+
instructor?: {
|
|
107920
|
+
name: string | null;
|
|
107921
|
+
id: number;
|
|
107922
|
+
} | null | undefined;
|
|
107914
107923
|
} | null;
|
|
107915
107924
|
}>;
|
|
107916
107925
|
type InvalidateTrainingRecordResponse = z.infer<typeof invalidateTrainingRecordResponseSchema>;
|
|
@@ -107921,16 +107930,16 @@ declare const trainingTemplatePackSchema: z.ZodObject<{
|
|
|
107921
107930
|
kind: z.ZodDefault<z.ZodEnum<["regular", "progress_check"]>>;
|
|
107922
107931
|
element_count: z.ZodOptional<z.ZodNumber>;
|
|
107923
107932
|
}, "strip", z.ZodTypeAny, {
|
|
107924
|
-
kind: "regular" | "progress_check";
|
|
107925
107933
|
name: string;
|
|
107926
107934
|
key: string;
|
|
107935
|
+
kind: "regular" | "progress_check";
|
|
107927
107936
|
description?: string | null | undefined;
|
|
107928
107937
|
element_count?: number | undefined;
|
|
107929
107938
|
}, {
|
|
107930
107939
|
name: string;
|
|
107931
107940
|
key: string;
|
|
107932
|
-
kind?: "regular" | "progress_check" | undefined;
|
|
107933
107941
|
description?: string | null | undefined;
|
|
107942
|
+
kind?: "regular" | "progress_check" | undefined;
|
|
107934
107943
|
element_count?: number | undefined;
|
|
107935
107944
|
}>;
|
|
107936
107945
|
type TrainingTemplatePack = z.infer<typeof trainingTemplatePackSchema>;
|
|
@@ -108044,10 +108053,10 @@ declare const createSyllabusFromTemplateResultSchema: z.ZodObject<{
|
|
|
108044
108053
|
attached_syllabi_count: z.ZodOptional<z.ZodNumber>;
|
|
108045
108054
|
template_element_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
108046
108055
|
}, "strip", z.ZodTypeAny, {
|
|
108047
|
-
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
108048
108056
|
name: string;
|
|
108049
108057
|
code: string;
|
|
108050
108058
|
id: number;
|
|
108059
|
+
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
108051
108060
|
grading_scale: {
|
|
108052
108061
|
name: string;
|
|
108053
108062
|
id: number;
|
|
@@ -108062,10 +108071,10 @@ declare const createSyllabusFromTemplateResultSchema: z.ZodObject<{
|
|
|
108062
108071
|
attached_syllabi_count?: number | undefined;
|
|
108063
108072
|
template_element_id?: number | null | undefined;
|
|
108064
108073
|
}, {
|
|
108065
|
-
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
108066
108074
|
name: string;
|
|
108067
108075
|
code: string;
|
|
108068
108076
|
id: number;
|
|
108077
|
+
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
108069
108078
|
grading_scale: {
|
|
108070
108079
|
name: string;
|
|
108071
108080
|
id: number;
|
|
@@ -108089,10 +108098,10 @@ declare const createSyllabusFromTemplateResultSchema: z.ZodObject<{
|
|
|
108089
108098
|
sort_order: number;
|
|
108090
108099
|
is_required_each_flight: boolean;
|
|
108091
108100
|
training_element?: {
|
|
108092
|
-
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
108093
108101
|
name: string;
|
|
108094
108102
|
code: string;
|
|
108095
108103
|
id: number;
|
|
108104
|
+
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
108096
108105
|
grading_scale: {
|
|
108097
108106
|
name: string;
|
|
108098
108107
|
id: number;
|
|
@@ -108114,10 +108123,10 @@ declare const createSyllabusFromTemplateResultSchema: z.ZodObject<{
|
|
|
108114
108123
|
sort_order: number;
|
|
108115
108124
|
is_required_each_flight: boolean;
|
|
108116
108125
|
training_element?: {
|
|
108117
|
-
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
108118
108126
|
name: string;
|
|
108119
108127
|
code: string;
|
|
108120
108128
|
id: number;
|
|
108129
|
+
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
108121
108130
|
grading_scale: {
|
|
108122
108131
|
name: string;
|
|
108123
108132
|
id: number;
|
|
@@ -108155,9 +108164,9 @@ declare const createSyllabusFromTemplateResultSchema: z.ZodObject<{
|
|
|
108155
108164
|
created_at: z.ZodOptional<z.ZodString>;
|
|
108156
108165
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
108157
108166
|
}, "strip", z.ZodTypeAny, {
|
|
108158
|
-
kind: "regular" | "progress_check";
|
|
108159
108167
|
name: string;
|
|
108160
108168
|
id: number;
|
|
108169
|
+
kind: "regular" | "progress_check";
|
|
108161
108170
|
company_id: number;
|
|
108162
108171
|
has_flight_evaluation: boolean;
|
|
108163
108172
|
requires_student_signature: boolean;
|
|
@@ -108176,10 +108185,10 @@ declare const createSyllabusFromTemplateResultSchema: z.ZodObject<{
|
|
|
108176
108185
|
sort_order: number;
|
|
108177
108186
|
is_required_each_flight: boolean;
|
|
108178
108187
|
training_element?: {
|
|
108179
|
-
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
108180
108188
|
name: string;
|
|
108181
108189
|
code: string;
|
|
108182
108190
|
id: number;
|
|
108191
|
+
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
108183
108192
|
grading_scale: {
|
|
108184
108193
|
name: string;
|
|
108185
108194
|
id: number;
|
|
@@ -108214,11 +108223,11 @@ declare const createSyllabusFromTemplateResultSchema: z.ZodObject<{
|
|
|
108214
108223
|
version: number;
|
|
108215
108224
|
root_syllabus_id: number | null;
|
|
108216
108225
|
is_draft: boolean;
|
|
108217
|
-
kind?: "regular" | "progress_check" | undefined;
|
|
108218
108226
|
created_at?: string | undefined;
|
|
108219
108227
|
updated_at?: string | undefined;
|
|
108220
108228
|
description?: string | null | undefined;
|
|
108221
108229
|
can?: Record<string, boolean | null> | undefined;
|
|
108230
|
+
kind?: "regular" | "progress_check" | undefined;
|
|
108222
108231
|
is_in_use?: boolean | undefined;
|
|
108223
108232
|
spawned_from_id?: number | null | undefined;
|
|
108224
108233
|
elements?: {
|
|
@@ -108227,10 +108236,10 @@ declare const createSyllabusFromTemplateResultSchema: z.ZodObject<{
|
|
|
108227
108236
|
sort_order: number;
|
|
108228
108237
|
is_required_each_flight: boolean;
|
|
108229
108238
|
training_element?: {
|
|
108230
|
-
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
108231
108239
|
name: string;
|
|
108232
108240
|
code: string;
|
|
108233
108241
|
id: number;
|
|
108242
|
+
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
108234
108243
|
grading_scale: {
|
|
108235
108244
|
name: string;
|
|
108236
108245
|
id: number;
|
|
@@ -108259,9 +108268,9 @@ declare const createSyllabusFromTemplateResultSchema: z.ZodObject<{
|
|
|
108259
108268
|
}>;
|
|
108260
108269
|
}, "strip", z.ZodTypeAny, {
|
|
108261
108270
|
syllabus: {
|
|
108262
|
-
kind: "regular" | "progress_check";
|
|
108263
108271
|
name: string;
|
|
108264
108272
|
id: number;
|
|
108273
|
+
kind: "regular" | "progress_check";
|
|
108265
108274
|
company_id: number;
|
|
108266
108275
|
has_flight_evaluation: boolean;
|
|
108267
108276
|
requires_student_signature: boolean;
|
|
@@ -108280,10 +108289,10 @@ declare const createSyllabusFromTemplateResultSchema: z.ZodObject<{
|
|
|
108280
108289
|
sort_order: number;
|
|
108281
108290
|
is_required_each_flight: boolean;
|
|
108282
108291
|
training_element?: {
|
|
108283
|
-
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
108284
108292
|
name: string;
|
|
108285
108293
|
code: string;
|
|
108286
108294
|
id: number;
|
|
108295
|
+
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
108287
108296
|
grading_scale: {
|
|
108288
108297
|
name: string;
|
|
108289
108298
|
id: number;
|
|
@@ -108334,11 +108343,11 @@ declare const createSyllabusFromTemplateResultSchema: z.ZodObject<{
|
|
|
108334
108343
|
version: number;
|
|
108335
108344
|
root_syllabus_id: number | null;
|
|
108336
108345
|
is_draft: boolean;
|
|
108337
|
-
kind?: "regular" | "progress_check" | undefined;
|
|
108338
108346
|
created_at?: string | undefined;
|
|
108339
108347
|
updated_at?: string | undefined;
|
|
108340
108348
|
description?: string | null | undefined;
|
|
108341
108349
|
can?: Record<string, boolean | null> | undefined;
|
|
108350
|
+
kind?: "regular" | "progress_check" | undefined;
|
|
108342
108351
|
is_in_use?: boolean | undefined;
|
|
108343
108352
|
spawned_from_id?: number | null | undefined;
|
|
108344
108353
|
elements?: {
|
|
@@ -108347,10 +108356,10 @@ declare const createSyllabusFromTemplateResultSchema: z.ZodObject<{
|
|
|
108347
108356
|
sort_order: number;
|
|
108348
108357
|
is_required_each_flight: boolean;
|
|
108349
108358
|
training_element?: {
|
|
108350
|
-
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
108351
108359
|
name: string;
|
|
108352
108360
|
code: string;
|
|
108353
108361
|
id: number;
|
|
108362
|
+
kind: "flight_exercise" | "theory" | "briefing" | "check";
|
|
108354
108363
|
grading_scale: {
|
|
108355
108364
|
name: string;
|
|
108356
108365
|
id: number;
|
|
@@ -110290,6 +110299,96 @@ declare const fboTrafficRowSchema: z.ZodObject<{
|
|
|
110290
110299
|
fbo_notes?: string | null | undefined;
|
|
110291
110300
|
assigned_user_ids?: number[] | null | undefined;
|
|
110292
110301
|
}>;
|
|
110302
|
+
/**
|
|
110303
|
+
* The FBO's own LAYER on a flight-school booking that sits on its board —
|
|
110304
|
+
* the write shape of `PATCH companies/{fbo}/fbo/traffic/{id}?source=booking`.
|
|
110305
|
+
*
|
|
110306
|
+
* Everything about the flight itself (aircraft, route, times, remarks,
|
|
110307
|
+
* status, acceptance) stays the school's: the API answers a 422 NAMING the
|
|
110308
|
+
* key for anything outside these four, so a payload is built from this shape
|
|
110309
|
+
* rather than from the row it was read out of.
|
|
110310
|
+
*
|
|
110311
|
+
* `operations` and `ground_services` are schemaless bags replaced WHOLESALE
|
|
110312
|
+
* — send the full object you want to end up with. The API takes every key as
|
|
110313
|
+
* `sometimes`, so a partial patch (`fboTrafficLayerInputSchema.partial()`) is
|
|
110314
|
+
* equally valid; clients that edit the layer as one form send all four.
|
|
110315
|
+
*/
|
|
110316
|
+
declare const fboTrafficLayerInputSchema: z.ZodObject<{
|
|
110317
|
+
fbo_notes: z.ZodNullable<z.ZodString>;
|
|
110318
|
+
assigned_user_ids: z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>;
|
|
110319
|
+
operations: z.ZodObject<{
|
|
110320
|
+
dz_start: z.ZodNullable<z.ZodString>;
|
|
110321
|
+
dz_end: z.ZodNullable<z.ZodString>;
|
|
110322
|
+
apron: z.ZodNullable<z.ZodString>;
|
|
110323
|
+
}, "strip", z.ZodTypeAny, {
|
|
110324
|
+
dz_start: string | null;
|
|
110325
|
+
dz_end: string | null;
|
|
110326
|
+
apron: string | null;
|
|
110327
|
+
}, {
|
|
110328
|
+
dz_start: string | null;
|
|
110329
|
+
dz_end: string | null;
|
|
110330
|
+
apron: string | null;
|
|
110331
|
+
}>;
|
|
110332
|
+
ground_services: z.ZodObject<{
|
|
110333
|
+
stairs: z.ZodBoolean;
|
|
110334
|
+
hangar: z.ZodBoolean;
|
|
110335
|
+
car_access: z.ZodBoolean;
|
|
110336
|
+
lifter: z.ZodBoolean;
|
|
110337
|
+
rental_car: z.ZodBoolean;
|
|
110338
|
+
refueling: z.ZodBoolean;
|
|
110339
|
+
gpu: z.ZodBoolean;
|
|
110340
|
+
}, "strip", z.ZodTypeAny, {
|
|
110341
|
+
hangar: boolean;
|
|
110342
|
+
stairs: boolean;
|
|
110343
|
+
car_access: boolean;
|
|
110344
|
+
lifter: boolean;
|
|
110345
|
+
rental_car: boolean;
|
|
110346
|
+
refueling: boolean;
|
|
110347
|
+
gpu: boolean;
|
|
110348
|
+
}, {
|
|
110349
|
+
hangar: boolean;
|
|
110350
|
+
stairs: boolean;
|
|
110351
|
+
car_access: boolean;
|
|
110352
|
+
lifter: boolean;
|
|
110353
|
+
rental_car: boolean;
|
|
110354
|
+
refueling: boolean;
|
|
110355
|
+
gpu: boolean;
|
|
110356
|
+
}>;
|
|
110357
|
+
}, "strip", z.ZodTypeAny, {
|
|
110358
|
+
ground_services: {
|
|
110359
|
+
hangar: boolean;
|
|
110360
|
+
stairs: boolean;
|
|
110361
|
+
car_access: boolean;
|
|
110362
|
+
lifter: boolean;
|
|
110363
|
+
rental_car: boolean;
|
|
110364
|
+
refueling: boolean;
|
|
110365
|
+
gpu: boolean;
|
|
110366
|
+
};
|
|
110367
|
+
operations: {
|
|
110368
|
+
dz_start: string | null;
|
|
110369
|
+
dz_end: string | null;
|
|
110370
|
+
apron: string | null;
|
|
110371
|
+
};
|
|
110372
|
+
fbo_notes: string | null;
|
|
110373
|
+
assigned_user_ids: number[] | null;
|
|
110374
|
+
}, {
|
|
110375
|
+
ground_services: {
|
|
110376
|
+
hangar: boolean;
|
|
110377
|
+
stairs: boolean;
|
|
110378
|
+
car_access: boolean;
|
|
110379
|
+
lifter: boolean;
|
|
110380
|
+
rental_car: boolean;
|
|
110381
|
+
refueling: boolean;
|
|
110382
|
+
gpu: boolean;
|
|
110383
|
+
};
|
|
110384
|
+
operations: {
|
|
110385
|
+
dz_start: string | null;
|
|
110386
|
+
dz_end: string | null;
|
|
110387
|
+
apron: string | null;
|
|
110388
|
+
};
|
|
110389
|
+
fbo_notes: string | null;
|
|
110390
|
+
assigned_user_ids: number[] | null;
|
|
110391
|
+
}>;
|
|
110293
110392
|
/** System roles served by `GET companies/{id}/fbo/meta` for role-assignment UI. */
|
|
110294
110393
|
declare const FBO_SYSTEM_ROLES: readonly ["fboOperator", "fboFlightManager", "fboDutyPlanner", "fboDutyViewer", "fboTrafficViewer", "fboTrafficObserver", "fboSelfApprover"];
|
|
110295
110394
|
declare const fboSystemRoleSchema: z.ZodEnum<["fboOperator", "fboFlightManager", "fboDutyPlanner", "fboDutyViewer", "fboTrafficViewer", "fboTrafficObserver", "fboSelfApprover"]>;
|
|
@@ -111056,4 +111155,4 @@ declare const fboCompanySchema: z.ZodObject<{
|
|
|
111056
111155
|
grants_in_count?: number | null | undefined;
|
|
111057
111156
|
}>;
|
|
111058
111157
|
|
|
111059
|
-
export { ShowWhenSchema as $, type AttachSyllabusElementForm as A, BaseModel as B, type CourseCheckSyllabus as C, type GradingScale as D, type EnrollmentTrainingElement as E, FBO_OPERATING_DAYS as F, type GradeHistoryItem as G, type GradingScaleForm as H, GradingScaleFormSchema as I, type GradingScalePoint as J, type ImpersonationParticipant as K, type ImpersonationState as L, type InvalidateTrainingRecordResponse as M, ReorderSyllabusElementItemSchema as N, type RequiredForm as O, RequiredFormSchema as P, type RequiredFormVia as Q, type ReorderSyllabusElementItem as R, type RequiredFormViaCrew as S, RequiredFormViaCrewSchema as T, RequiredFormViaSchema as U, type ReviewFormSubmissionInput as V, type SchemaField as W, SchemaFieldSchema as X, type SchemaSection as Y, SchemaSectionSchema as Z, type ShowWhen as _, AttachSyllabusElementFormSchema as a, courseCheckSyllabusSchema as a$, type SignOffTrainingElementForm as a0, SignOffTrainingElementFormSchema as a1, type Signature as a2, SignatureSchema as a3, type StoreSyllabusForm as a4, StoreSyllabusFormSchema as a5, type SubmissionFile as a6, SubmissionFileSchema as a7, type Syllabus as a8, type SyllabusElement as a9, UpdateSyllabusFormSchema as aA, type UpsertTrainingRecordForm as aB, UpsertTrainingRecordFormSchema as aC, type UsedByCourse as aD, activitySchema as aE, addressSchema as aF, aircraftPositionSchema as aG, aircraftRatingSchema as aH, airplaneIssueSchema as aI, airplaneIssueSeverityEnum as aJ, airplaneIssueStatusEnum as aK, airplanePermissionSchema as aL, airplaneSchema as aM, airplaneShareInviteSchema as aN, airportSchema as aO, alertSchema as aP, allowedDocumentTypeSchema as aQ, approachTypeSchema as aR, availSchema as aS, baseMembershipSchema as aT, billingProfileSchema as aU, bookingSchema as aV, bookingWaypointSchema as aW, commentSchema as aX, companyIdentitySchema as aY, companySchema as aZ, contactAttributeSchema as a_, type SyllabusElementMutationResult as aa, type SyllabusKind as ab, SyllabusKindEnum as ac, type SyllabusRolloutResult as ad, type SyllabusRolloutResultItem as ae, type SyllabusRolloutSkippedItem as af, type TemplateSchema as ag, TemplateSchemaSchema as ah, type TrainingElement as ai, type TrainingElementForm as aj, TrainingElementFormSchema as ak, type TrainingElementKind as al, TrainingElementKindEnum as am, type TrainingRecord as an, type TrainingRecordEntry as ao, type TrainingRecordEntryInput as ap, type TrainingRecordResult as aq, TrainingRecordResultEnum as ar, type TrainingRecordStatus as as, TrainingRecordStatusEnum as at, type TrainingSignature as au, type TrainingTemplatePack as av, type UpdateFormTemplateInput as aw, type UpdateSyllabusElementForm as ax, UpdateSyllabusElementFormSchema as ay, type UpdateSyllabusForm as az, type CreateFormSubmissionInput as b,
|
|
111158
|
+
export { ShowWhenSchema as $, type AttachSyllabusElementForm as A, BaseModel as B, type CourseCheckSyllabus as C, type GradingScale as D, type EnrollmentTrainingElement as E, FBO_OPERATING_DAYS as F, type GradeHistoryItem as G, type GradingScaleForm as H, GradingScaleFormSchema as I, type GradingScalePoint as J, type ImpersonationParticipant as K, type ImpersonationState as L, type InvalidateTrainingRecordResponse as M, ReorderSyllabusElementItemSchema as N, type RequiredForm as O, RequiredFormSchema as P, type RequiredFormVia as Q, type ReorderSyllabusElementItem as R, type RequiredFormViaCrew as S, RequiredFormViaCrewSchema as T, RequiredFormViaSchema as U, type ReviewFormSubmissionInput as V, type SchemaField as W, SchemaFieldSchema as X, type SchemaSection as Y, SchemaSectionSchema as Z, type ShowWhen as _, AttachSyllabusElementFormSchema as a, courseCheckSyllabusSchema as a$, type SignOffTrainingElementForm as a0, SignOffTrainingElementFormSchema as a1, type Signature as a2, SignatureSchema as a3, type StoreSyllabusForm as a4, StoreSyllabusFormSchema as a5, type SubmissionFile as a6, SubmissionFileSchema as a7, type Syllabus as a8, type SyllabusElement as a9, UpdateSyllabusFormSchema as aA, type UpsertTrainingRecordForm as aB, UpsertTrainingRecordFormSchema as aC, type UsedByCourse as aD, activitySchema as aE, addressSchema as aF, aircraftPositionSchema as aG, aircraftRatingSchema as aH, airplaneIssueSchema as aI, airplaneIssueSeverityEnum as aJ, airplaneIssueStatusEnum as aK, airplanePermissionSchema as aL, airplaneSchema as aM, airplaneShareInviteSchema as aN, airportSchema as aO, alertSchema as aP, allowedDocumentTypeSchema as aQ, approachTypeSchema as aR, availSchema as aS, baseMembershipSchema as aT, billingProfileSchema as aU, bookingSchema as aV, bookingWaypointSchema as aW, commentSchema as aX, companyIdentitySchema as aY, companySchema as aZ, contactAttributeSchema as a_, type SyllabusElementMutationResult as aa, type SyllabusKind as ab, SyllabusKindEnum as ac, type SyllabusRolloutResult as ad, type SyllabusRolloutResultItem as ae, type SyllabusRolloutSkippedItem as af, type TemplateSchema as ag, TemplateSchemaSchema as ah, type TrainingElement as ai, type TrainingElementForm as aj, TrainingElementFormSchema as ak, type TrainingElementKind as al, TrainingElementKindEnum as am, type TrainingRecord as an, type TrainingRecordEntry as ao, type TrainingRecordEntryInput as ap, type TrainingRecordResult as aq, TrainingRecordResultEnum as ar, type TrainingRecordStatus as as, TrainingRecordStatusEnum as at, type TrainingSignature as au, type TrainingTemplatePack as av, type UpdateFormTemplateInput as aw, type UpdateSyllabusElementForm as ax, UpdateSyllabusElementFormSchema as ay, type UpdateSyllabusForm as az, type CreateFormSubmissionInput as b, feeCategoryOptionsSchema as b$, courseEnrollmentMetricsSchema as b0, courseEnrollmentSchema as b1, courseFeeSchema as b2, courseSchema as b3, createSyllabusFromTemplateResultSchema as b4, documentComplianceStatus as b5, documentRequirement as b6, documentRequirementGroup as b7, documentRequirementGroupAssignment as b8, documentSchema as b9, fboFlightStatusSchema as bA, fboFlightTypeSchema as bB, fboGrantAbilityOptionSchema as bC, fboGrantAbilitySchema as bD, fboGrantCompanyRefSchema as bE, fboGroundServicesSchema as bF, fboLandingsSummarySchema as bG, fboMaterialiseResultSchema as bH, fboMetaSchema as bI, fboNextDutySchema as bJ, fboOccupationSchema as bK, fboOperationsSchema as bL, fboPersonSchema as bM, fboPobSchema as bN, fboRecurrenceSchema as bO, fboRecurrenceTypeSchema as bP, fboRecurringFlightSchema as bQ, fboRoleSchema as bR, fboRowCanSchema as bS, fboStatisticsSchema as bT, fboSystemRoleSchema as bU, fboTrafficLayerInputSchema as bV, fboTrafficRowSchema as bW, fboTrafficRowTypeSchema as bX, fboTrafficSourceSchema as bY, fboVisibilitySchema as bZ, fboWeeklyLandingSchema as b_, documentShareSchema as ba, documentType as bb, enrollmentTrainingElementSchema as bc, eventSchema as bd, expenseItemSchema as be, expenseSchema as bf, extendedAirplaneSchema as bg, fboAcceptanceAxisSchema as bh, fboAcceptanceStatusSchema as bi, fboActivityCauserSchema as bj, fboActivityChangesSchema as bk, fboActivitySchema as bl, fboCompanyGrantInputSchema as bm, fboCompanyGrantSchema as bn, fboCompanyMemberSchema as bo, fboCompanyProfileSchema as bp, fboCompanySchema as bq, fboDecisionAxisSchema as br, fboDecisionInputSchema as bs, fboDecisionSchema as bt, fboDutyAffectedSchema as bu, fboDutySchema as bv, fboDutySeriesResponseSchema as bw, fboFlightCanSchema as bx, fboFlightDocumentSchema as by, fboFlightSchema as bz, type CreateFormTemplateAssignmentInput as c, feeSchema as c0, flightLogSchema as c1, fuelUnitSchema as c2, gradeHistoryItemSchema as c3, gradingScalePointSchema as c4, gradingScaleSchema as c5, impersonationParticipantSchema as c6, impersonationStateSchema as c7, invalidateTrainingRecordResponseSchema as c8, invoiceSchema as c9, syllabusRolloutResultSchema as cA, syllabusRolloutSkippedItemSchema as cB, syllabusSchema as cC, tagSchema as cD, ticketSchema as cE, trainingElementSchema as cF, trainingRecordEntryInputSchema as cG, trainingRecordEntrySchema as cH, trainingRecordSchema as cI, trainingSignatureSchema as cJ, trainingTemplatePackSchema as cK, usedByCourseSchema as cL, userAircraftRatingSchema as cM, userQualificationSchema as cN, userSchema as cO, waypointSchema as cP, zContactDTO as cQ, zMoneyObject as cR, zNetGross as cS, zNullableBool as cT, landingFeeSchema as ca, landingSchema as cb, maintenanceEventEstimationSchema as cc, maintenanceEventSchema as cd, maintenanceStatusSchema as ce, mediaCollection as cf, mediaSchema as cg, membershipIdentitySchema as ch, membershipSchema as ci, membershipSignupSchema as cj, nestedMembershipSchema as ck, postSchema as cl, postSubjectSchema as cm, prePaidPackageAssignmentSchema as cn, prePaidPackageSchema as co, priceSchema as cp, qualificationSchema as cq, recurringFlightSchema as cr, roleSchema as cs, runwaySchema as ct, scheduledFlightSchema as cu, settingSchema as cv, specialFlightSchema as cw, syllabusElementMutationResultSchema as cx, syllabusElementSchema as cy, syllabusRolloutResultItemSchema as cz, type CreateFormTemplateInput as d, type CreateSyllabusFromTemplateForm as e, CreateSyllabusFromTemplateFormSchema as f, type CreateSyllabusFromTemplateResult as g, type EnrollmentTrainingStatus as h, EnrollmentTrainingStatusEnum as i, FBO_SYSTEM_ROLES as j, type FieldLabel as k, FieldLabelSchema as l, FormFieldType as m, type FormSubmission as n, FormSubmissionSchema as o, type FormSubmissionShare as p, type FormSubmissionShareBase as q, FormSubmissionShareBaseSchema as r, FormSubmissionShareSchema as s, FormSubmissionSource as t, FormSubmissionStatus as u, type FormTemplate as v, type FormTemplateAssignment as w, FormTemplateAssignmentSchema as x, FormTemplateSchema as y, type FuelUnit as z };
|