@updraft-solutions/mcrit-sdk 0.5.0 → 0.6.0

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.
@@ -1,4 +1,4 @@
1
- export { A as AttachSyllabusElementForm, a as AttachSyllabusElementFormSchema, B as BaseModel, C as CourseCheckSyllabus, b as CreateFormSubmissionInput, c as CreateFormTemplateAssignmentInput, d as CreateFormTemplateInput, e as CreateSyllabusFromTemplateForm, f as CreateSyllabusFromTemplateFormSchema, g as CreateSyllabusFromTemplateResult, E as EnrollmentTrainingElement, h as EnrollmentTrainingStatus, i as EnrollmentTrainingStatusEnum, F as FieldLabel, j as FieldLabelSchema, k as FormFieldType, l as FormSubmission, m as FormSubmissionSchema, n as FormSubmissionShare, o as FormSubmissionShareBase, p as FormSubmissionShareBaseSchema, q as FormSubmissionShareSchema, r as FormSubmissionSource, s as FormSubmissionStatus, t as FormTemplate, u as FormTemplateAssignment, v as FormTemplateAssignmentSchema, w as FormTemplateSchema, G as GradeHistoryItem, x as GradingScale, y as GradingScaleForm, z as GradingScaleFormSchema, D as GradingScalePoint, I as ImpersonationParticipant, H as ImpersonationState, R as ReorderSyllabusElementItem, J as ReorderSyllabusElementItemSchema, K as RequiredForm, L as RequiredFormSchema, M as RequiredFormVia, N as RequiredFormViaCrew, O as RequiredFormViaCrewSchema, P as RequiredFormViaSchema, Q as ReviewFormSubmissionInput, S as SchemaField, T as SchemaFieldSchema, U as SchemaSection, V as SchemaSectionSchema, W as ShowWhen, X as ShowWhenSchema, Y as SignOffTrainingElementForm, Z as SignOffTrainingElementFormSchema, _ as Signature, $ as SignatureSchema, a0 as StoreSyllabusForm, a1 as StoreSyllabusFormSchema, a2 as SubmissionFile, a3 as SubmissionFileSchema, a4 as Syllabus, a5 as SyllabusElement, a6 as SyllabusElementMutationResult, a7 as SyllabusKind, a8 as SyllabusKindEnum, a9 as SyllabusRolloutResult, aa as SyllabusRolloutResultItem, ab as SyllabusRolloutSkippedItem, ac as TemplateSchema, ad as TemplateSchemaSchema, ae as TrainingElement, af as TrainingElementForm, ag as TrainingElementFormSchema, ah as TrainingElementKind, ai as TrainingElementKindEnum, aj as TrainingRecord, ak as TrainingRecordEntry, al as TrainingRecordEntryInput, am as TrainingRecordResult, an as TrainingRecordResultEnum, ao as TrainingRecordStatus, ap as TrainingRecordStatusEnum, aq as TrainingSignature, ar as TrainingTemplatePack, as as UpdateFormTemplateInput, at as UpdateSyllabusElementForm, au as UpdateSyllabusElementFormSchema, av as UpdateSyllabusForm, aw as UpdateSyllabusFormSchema, ax as UpsertTrainingRecordForm, ay as UpsertTrainingRecordFormSchema, az as UsedByCourse, aA as addressSchema, aB as aircraftRatingSchema, aC as airplaneIssueSchema, aD as airplaneIssueSeverityEnum, aE as airplaneIssueStatusEnum, aF as airplanePermissionSchema, aG as airplaneSchema, aH as airplaneShareInviteSchema, aI as airportSchema, aJ as alertSchema, aK as allowedDocumentTypeSchema, aL as approachTypeSchema, aM as availSchema, aN as baseMembershipSchema, aO as bookingSchema, aP as bookingWaypointSchema, aQ as commentSchema, aR as companySchema, aS as contactAttributeSchema, aT as courseCheckSyllabusSchema, aU as courseEnrollmentMetricsSchema, aV as courseEnrollmentSchema, aW as courseFeeSchema, aX as courseSchema, aY as createSyllabusFromTemplateResultSchema, aZ as documentComplianceStatus, a_ as documentRequirement, a$ as documentRequirementGroup, b0 as documentRequirementGroupAssignment, b1 as documentSchema, b2 as documentShareSchema, b3 as documentType, b4 as enrollmentTrainingElementSchema, b5 as eventSchema, b6 as expenseItemSchema, b7 as expenseSchema, b8 as extendedAirplaneSchema, b9 as feeCategoryOptionsSchema, ba as feeSchema, bb as flightLogSchema, bc as gradeHistoryItemSchema, bd as gradingScalePointSchema, be as gradingScaleSchema, bf as impersonationParticipantSchema, bg as impersonationStateSchema, bh as invoiceSchema, bi as landingFeeSchema, bj as landingSchema, bk as maintenanceEventEstimationSchema, bl as maintenanceEventSchema, bm as maintenanceStatusSchema, bn as mediaCollection, bo as mediaSchema, bp as membershipSchema, bq as postSchema, br as prePaidPackageSchema, bs as priceSchema, bt as qualificationSchema, bu as recurringFlightSchema, bv as roleSchema, bw as runwaySchema, bx as scheduledFlightSchema, by as settingSchema, bz as specialFlightSchema, bA as syllabusElementMutationResultSchema, bB as syllabusElementSchema, bC as syllabusRolloutResultItemSchema, bD as syllabusRolloutResultSchema, bE as syllabusRolloutSkippedItemSchema, bF as syllabusSchema, bG as tagSchema, bH as ticketSchema, bI as trainingElementSchema, bJ as trainingRecordEntryInputSchema, bK as trainingRecordEntrySchema, bL as trainingRecordSchema, bM as trainingSignatureSchema, bN as trainingTemplatePackSchema, bO as usedByCourseSchema, bP as userAircraftRatingSchema, bQ as userQualificationSchema, bR as userSchema, bS as waypointSchema, bT as zContactDTO, bU as zNetGross, bV as zNullableBool, bW as zPhpMoneyObject } from '../training-Der1DPU-.js';
1
+ export { A as AttachSyllabusElementForm, a as AttachSyllabusElementFormSchema, B as BaseModel, C as CourseCheckSyllabus, b as CreateFormSubmissionInput, c as CreateFormTemplateAssignmentInput, d as CreateFormTemplateInput, e as CreateSyllabusFromTemplateForm, f as CreateSyllabusFromTemplateFormSchema, g as CreateSyllabusFromTemplateResult, E as EnrollmentTrainingElement, h as EnrollmentTrainingStatus, i as EnrollmentTrainingStatusEnum, F as FieldLabel, j as FieldLabelSchema, k as FormFieldType, l as FormSubmission, m as FormSubmissionSchema, n as FormSubmissionShare, o as FormSubmissionShareBase, p as FormSubmissionShareBaseSchema, q as FormSubmissionShareSchema, r as FormSubmissionSource, s as FormSubmissionStatus, t as FormTemplate, u as FormTemplateAssignment, v as FormTemplateAssignmentSchema, w as FormTemplateSchema, G as GradeHistoryItem, x as GradingScale, y as GradingScaleForm, z as GradingScaleFormSchema, D as GradingScalePoint, I as ImpersonationParticipant, H as ImpersonationState, R as ReorderSyllabusElementItem, J as ReorderSyllabusElementItemSchema, K as RequiredForm, L as RequiredFormSchema, M as RequiredFormVia, N as RequiredFormViaCrew, O as RequiredFormViaCrewSchema, P as RequiredFormViaSchema, Q as ReviewFormSubmissionInput, S as SchemaField, T as SchemaFieldSchema, U as SchemaSection, V as SchemaSectionSchema, W as ShowWhen, X as ShowWhenSchema, Y as SignOffTrainingElementForm, Z as SignOffTrainingElementFormSchema, _ as Signature, $ as SignatureSchema, a0 as StoreSyllabusForm, a1 as StoreSyllabusFormSchema, a2 as SubmissionFile, a3 as SubmissionFileSchema, a4 as Syllabus, a5 as SyllabusElement, a6 as SyllabusElementMutationResult, a7 as SyllabusKind, a8 as SyllabusKindEnum, a9 as SyllabusRolloutResult, aa as SyllabusRolloutResultItem, ab as SyllabusRolloutSkippedItem, ac as TemplateSchema, ad as TemplateSchemaSchema, ae as TrainingElement, af as TrainingElementForm, ag as TrainingElementFormSchema, ah as TrainingElementKind, ai as TrainingElementKindEnum, aj as TrainingRecord, ak as TrainingRecordEntry, al as TrainingRecordEntryInput, am as TrainingRecordResult, an as TrainingRecordResultEnum, ao as TrainingRecordStatus, ap as TrainingRecordStatusEnum, aq as TrainingSignature, ar as TrainingTemplatePack, as as UpdateFormTemplateInput, at as UpdateSyllabusElementForm, au as UpdateSyllabusElementFormSchema, av as UpdateSyllabusForm, aw as UpdateSyllabusFormSchema, ax as UpsertTrainingRecordForm, ay as UpsertTrainingRecordFormSchema, az as UsedByCourse, aA as activitySchema, aB as addressSchema, aC as aircraftPositionSchema, aD as aircraftRatingSchema, aE as airplaneIssueSchema, aF as airplaneIssueSeverityEnum, aG as airplaneIssueStatusEnum, aH as airplanePermissionSchema, aI as airplaneSchema, aJ as airplaneShareInviteSchema, aK as airportSchema, aL as alertSchema, aM as allowedDocumentTypeSchema, aN as approachTypeSchema, aO as availSchema, aP as baseMembershipSchema, aQ as bookingSchema, aR as bookingWaypointSchema, aS as commentSchema, aT as companySchema, aU as contactAttributeSchema, aV as courseCheckSyllabusSchema, aW as courseEnrollmentMetricsSchema, aX as courseEnrollmentSchema, aY as courseFeeSchema, aZ as courseSchema, a_ as createSyllabusFromTemplateResultSchema, a$ as documentComplianceStatus, b0 as documentRequirement, b1 as documentRequirementGroup, b2 as documentRequirementGroupAssignment, b3 as documentSchema, b4 as documentShareSchema, b5 as documentType, b6 as enrollmentTrainingElementSchema, b7 as eventSchema, b8 as expenseItemSchema, b9 as expenseSchema, ba as extendedAirplaneSchema, bb as feeCategoryOptionsSchema, bc as feeSchema, bd as flightLogSchema, be as gradeHistoryItemSchema, bf as gradingScalePointSchema, bg as gradingScaleSchema, bh as impersonationParticipantSchema, bi as impersonationStateSchema, bj as invoiceSchema, bk as landingFeeSchema, bl as landingSchema, bm as maintenanceEventEstimationSchema, bn as maintenanceEventSchema, bo as maintenanceStatusSchema, bp as mediaCollection, bq as mediaSchema, br as membershipSchema, bs as membershipSignupSchema, bt as postSchema, bu as prePaidPackageSchema, bv as priceSchema, bw as qualificationSchema, bx as recurringFlightSchema, by as roleSchema, bz as runwaySchema, bA as scheduledFlightSchema, bB as settingSchema, bC as specialFlightSchema, bD as syllabusElementMutationResultSchema, bE as syllabusElementSchema, bF as syllabusRolloutResultItemSchema, bG as syllabusRolloutResultSchema, bH as syllabusRolloutSkippedItemSchema, bI as syllabusSchema, bJ as tagSchema, bK as ticketSchema, bL as trainingElementSchema, bM as trainingRecordEntryInputSchema, bN as trainingRecordEntrySchema, bO as trainingRecordSchema, bP as trainingSignatureSchema, bQ as trainingTemplatePackSchema, bR as usedByCourseSchema, bS as userAircraftRatingSchema, bT as userQualificationSchema, bU as userSchema, bV as waypointSchema, bW as zContactDTO, bX as zNetGross, bY as zNullableBool, bZ as zPhpMoneyObject } from '../training-C9rIBUeV.js';
2
2
  import { z } from 'zod';
3
3
 
4
4
  declare enum FaqStatus {
@@ -29,26 +29,26 @@ declare const FaqSchema: z.ZodObject<{
29
29
  name: z.ZodString;
30
30
  email: z.ZodString;
31
31
  }, "strip", z.ZodTypeAny, {
32
+ id: number;
32
33
  name: string;
33
34
  email: string;
34
- id: number;
35
35
  }, {
36
+ id: number;
36
37
  name: string;
37
38
  email: string;
38
- id: number;
39
39
  }>>>;
40
40
  reviewer: z.ZodOptional<z.ZodNullable<z.ZodObject<{
41
41
  id: z.ZodNumber;
42
42
  name: z.ZodString;
43
43
  email: z.ZodString;
44
44
  }, "strip", z.ZodTypeAny, {
45
+ id: number;
45
46
  name: string;
46
47
  email: string;
47
- id: number;
48
48
  }, {
49
+ id: number;
49
50
  name: string;
50
51
  email: string;
51
- id: number;
52
52
  }>>>;
53
53
  is_pending: z.ZodOptional<z.ZodBoolean>;
54
54
  is_user_submitted: z.ZodOptional<z.ZodBoolean>;
@@ -72,9 +72,9 @@ declare const FaqSchema: z.ZodObject<{
72
72
  submit?: boolean | undefined;
73
73
  }>>;
74
74
  }, "strip", z.ZodTypeAny, {
75
+ id: number;
75
76
  type: "faq";
76
77
  status: "pending" | "approved" | "rejected";
77
- id: number;
78
78
  created_at: string;
79
79
  updated_at: string;
80
80
  is_active: boolean;
@@ -97,21 +97,21 @@ declare const FaqSchema: z.ZodObject<{
97
97
  submit?: boolean | undefined;
98
98
  } | undefined;
99
99
  submitter?: {
100
+ id: number;
100
101
  name: string;
101
102
  email: string;
102
- id: number;
103
103
  } | null | undefined;
104
104
  reviewer?: {
105
+ id: number;
105
106
  name: string;
106
107
  email: string;
107
- id: number;
108
108
  } | null | undefined;
109
109
  is_pending?: boolean | undefined;
110
110
  is_user_submitted?: boolean | undefined;
111
111
  }, {
112
+ id: number;
112
113
  type: "faq";
113
114
  status: "pending" | "approved" | "rejected";
114
- id: number;
115
115
  created_at: string;
116
116
  updated_at: string;
117
117
  is_active: boolean;
@@ -134,14 +134,14 @@ declare const FaqSchema: z.ZodObject<{
134
134
  submit?: boolean | undefined;
135
135
  } | undefined;
136
136
  submitter?: {
137
+ id: number;
137
138
  name: string;
138
139
  email: string;
139
- id: number;
140
140
  } | null | undefined;
141
141
  reviewer?: {
142
+ id: number;
142
143
  name: string;
143
144
  email: string;
144
- id: number;
145
145
  } | null | undefined;
146
146
  is_pending?: boolean | undefined;
147
147
  is_user_submitted?: boolean | undefined;
@@ -214,21 +214,21 @@ declare const SafetyReportCategorySchema: z.ZodObject<{
214
214
  created_at: z.ZodOptional<z.ZodString>;
215
215
  updated_at: z.ZodOptional<z.ZodString>;
216
216
  }, "strip", z.ZodTypeAny, {
217
- name: string;
217
+ sort_order: number;
218
218
  id: number;
219
+ name: string;
219
220
  description: string | null;
220
221
  is_active: boolean;
221
- sort_order: number;
222
222
  color: string;
223
223
  created_at?: string | undefined;
224
224
  updated_at?: string | undefined;
225
225
  is_global?: boolean | undefined;
226
226
  }, {
227
- name: string;
227
+ sort_order: number;
228
228
  id: number;
229
+ name: string;
229
230
  description: string | null;
230
231
  is_active: boolean;
231
- sort_order: number;
232
232
  color: string;
233
233
  created_at?: string | undefined;
234
234
  updated_at?: string | undefined;
@@ -243,15 +243,15 @@ declare const SafetyReportCategoryFormSchema: z.ZodObject<{
243
243
  is_active: z.ZodOptional<z.ZodBoolean>;
244
244
  }, "strip", z.ZodTypeAny, {
245
245
  name: string;
246
+ sort_order?: number | undefined;
246
247
  description?: string | null | undefined;
247
248
  is_active?: boolean | undefined;
248
- sort_order?: number | undefined;
249
249
  color?: string | null | undefined;
250
250
  }, {
251
251
  name: string;
252
+ sort_order?: number | undefined;
252
253
  description?: string | null | undefined;
253
254
  is_active?: boolean | undefined;
254
- sort_order?: number | undefined;
255
255
  color?: string | null | undefined;
256
256
  }>;
257
257
  type SafetyReportCategoryForm = z.infer<typeof SafetyReportCategoryFormSchema>;
@@ -293,21 +293,21 @@ declare const SafetyReportSchema: z.ZodObject<{
293
293
  created_at: z.ZodOptional<z.ZodString>;
294
294
  updated_at: z.ZodOptional<z.ZodString>;
295
295
  }, "strip", z.ZodTypeAny, {
296
- name: string;
296
+ sort_order: number;
297
297
  id: number;
298
+ name: string;
298
299
  description: string | null;
299
300
  is_active: boolean;
300
- sort_order: number;
301
301
  color: string;
302
302
  created_at?: string | undefined;
303
303
  updated_at?: string | undefined;
304
304
  is_global?: boolean | undefined;
305
305
  }, {
306
- name: string;
306
+ sort_order: number;
307
307
  id: number;
308
+ name: string;
308
309
  description: string | null;
309
310
  is_active: boolean;
310
- sort_order: number;
311
311
  color: string;
312
312
  created_at?: string | undefined;
313
313
  updated_at?: string | undefined;
@@ -337,21 +337,21 @@ declare const SafetyReportSchema: z.ZodObject<{
337
337
  updated_at: z.ZodString;
338
338
  can: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
339
339
  }, "strip", z.ZodTypeAny, {
340
- status: "new" | "under_review" | "action_taken" | "closed";
341
340
  id: number;
341
+ status: "new" | "under_review" | "action_taken" | "closed";
342
342
  created_at: string;
343
343
  updated_at: string;
344
344
  description: string;
345
345
  is_archived: boolean;
346
- location: string | null;
347
346
  incident_date: string;
347
+ location: string | null;
348
348
  can?: Record<string, boolean> | undefined;
349
349
  category?: {
350
- name: string;
350
+ sort_order: number;
351
351
  id: number;
352
+ name: string;
352
353
  description: string | null;
353
354
  is_active: boolean;
354
- sort_order: number;
355
355
  color: string;
356
356
  created_at?: string | undefined;
357
357
  updated_at?: string | undefined;
@@ -366,21 +366,21 @@ declare const SafetyReportSchema: z.ZodObject<{
366
366
  }[] | undefined;
367
367
  attachments_count?: number | undefined;
368
368
  }, {
369
- status: "new" | "under_review" | "action_taken" | "closed";
370
369
  id: number;
370
+ status: "new" | "under_review" | "action_taken" | "closed";
371
371
  created_at: string;
372
372
  updated_at: string;
373
373
  description: string;
374
374
  is_archived: boolean;
375
- location: string | null;
376
375
  incident_date: string;
376
+ location: string | null;
377
377
  can?: Record<string, boolean> | undefined;
378
378
  category?: {
379
- name: string;
379
+ sort_order: number;
380
380
  id: number;
381
+ name: string;
381
382
  description: string | null;
382
383
  is_active: boolean;
383
- sort_order: number;
384
384
  color: string;
385
385
  created_at?: string | undefined;
386
386
  updated_at?: string | undefined;
@@ -415,21 +415,21 @@ declare const SafetyReportListResponseSchema: z.ZodObject<{
415
415
  created_at: z.ZodOptional<z.ZodString>;
416
416
  updated_at: z.ZodOptional<z.ZodString>;
417
417
  }, "strip", z.ZodTypeAny, {
418
- name: string;
418
+ sort_order: number;
419
419
  id: number;
420
+ name: string;
420
421
  description: string | null;
421
422
  is_active: boolean;
422
- sort_order: number;
423
423
  color: string;
424
424
  created_at?: string | undefined;
425
425
  updated_at?: string | undefined;
426
426
  is_global?: boolean | undefined;
427
427
  }, {
428
- name: string;
428
+ sort_order: number;
429
429
  id: number;
430
+ name: string;
430
431
  description: string | null;
431
432
  is_active: boolean;
432
- sort_order: number;
433
433
  color: string;
434
434
  created_at?: string | undefined;
435
435
  updated_at?: string | undefined;
@@ -459,21 +459,21 @@ declare const SafetyReportListResponseSchema: z.ZodObject<{
459
459
  updated_at: z.ZodString;
460
460
  can: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
461
461
  }, "strip", z.ZodTypeAny, {
462
- status: "new" | "under_review" | "action_taken" | "closed";
463
462
  id: number;
463
+ status: "new" | "under_review" | "action_taken" | "closed";
464
464
  created_at: string;
465
465
  updated_at: string;
466
466
  description: string;
467
467
  is_archived: boolean;
468
- location: string | null;
469
468
  incident_date: string;
469
+ location: string | null;
470
470
  can?: Record<string, boolean> | undefined;
471
471
  category?: {
472
- name: string;
472
+ sort_order: number;
473
473
  id: number;
474
+ name: string;
474
475
  description: string | null;
475
476
  is_active: boolean;
476
- sort_order: number;
477
477
  color: string;
478
478
  created_at?: string | undefined;
479
479
  updated_at?: string | undefined;
@@ -488,21 +488,21 @@ declare const SafetyReportListResponseSchema: z.ZodObject<{
488
488
  }[] | undefined;
489
489
  attachments_count?: number | undefined;
490
490
  }, {
491
- status: "new" | "under_review" | "action_taken" | "closed";
492
491
  id: number;
492
+ status: "new" | "under_review" | "action_taken" | "closed";
493
493
  created_at: string;
494
494
  updated_at: string;
495
495
  description: string;
496
496
  is_archived: boolean;
497
- location: string | null;
498
497
  incident_date: string;
498
+ location: string | null;
499
499
  can?: Record<string, boolean> | undefined;
500
500
  category?: {
501
- name: string;
501
+ sort_order: number;
502
502
  id: number;
503
+ name: string;
503
504
  description: string | null;
504
505
  is_active: boolean;
505
- sort_order: number;
506
506
  color: string;
507
507
  created_at?: string | undefined;
508
508
  updated_at?: string | undefined;
@@ -557,21 +557,21 @@ declare const SafetyReportListResponseSchema: z.ZodObject<{
557
557
  }>>;
558
558
  }, "strip", z.ZodTypeAny, {
559
559
  data: {
560
- status: "new" | "under_review" | "action_taken" | "closed";
561
560
  id: number;
561
+ status: "new" | "under_review" | "action_taken" | "closed";
562
562
  created_at: string;
563
563
  updated_at: string;
564
564
  description: string;
565
565
  is_archived: boolean;
566
- location: string | null;
567
566
  incident_date: string;
567
+ location: string | null;
568
568
  can?: Record<string, boolean> | undefined;
569
569
  category?: {
570
- name: string;
570
+ sort_order: number;
571
571
  id: number;
572
+ name: string;
572
573
  description: string | null;
573
574
  is_active: boolean;
574
- sort_order: number;
575
575
  color: string;
576
576
  created_at?: string | undefined;
577
577
  updated_at?: string | undefined;
@@ -602,21 +602,21 @@ declare const SafetyReportListResponseSchema: z.ZodObject<{
602
602
  } | undefined;
603
603
  }, {
604
604
  data: {
605
- status: "new" | "under_review" | "action_taken" | "closed";
606
605
  id: number;
606
+ status: "new" | "under_review" | "action_taken" | "closed";
607
607
  created_at: string;
608
608
  updated_at: string;
609
609
  description: string;
610
610
  is_archived: boolean;
611
- location: string | null;
612
611
  incident_date: string;
612
+ location: string | null;
613
613
  can?: Record<string, boolean> | undefined;
614
614
  category?: {
615
- name: string;
615
+ sort_order: number;
616
616
  id: number;
617
+ name: string;
617
618
  description: string | null;
618
619
  is_active: boolean;
619
- sort_order: number;
620
620
  color: string;
621
621
  created_at?: string | undefined;
622
622
  updated_at?: string | undefined;
@@ -978,10 +978,10 @@ declare const courseMilestoneSchema: z.ZodObject<{
978
978
  delete?: boolean | null | undefined;
979
979
  }>>;
980
980
  }, "strip", z.ZodTypeAny, {
981
- name: string;
981
+ sort_order: number;
982
982
  id: number;
983
+ name: string;
983
984
  kind: string;
984
- sort_order: number;
985
985
  course_id: number;
986
986
  is_prerequisite: boolean;
987
987
  type?: "courseMilestone" | undefined;
@@ -999,10 +999,10 @@ declare const courseMilestoneSchema: z.ZodObject<{
999
999
  } | null | undefined;
1000
1000
  completion_rule?: Record<string, unknown> | null | undefined;
1001
1001
  }, {
1002
- name: string;
1002
+ sort_order: number;
1003
1003
  id: number;
1004
+ name: string;
1004
1005
  kind: string;
1005
- sort_order: number;
1006
1006
  course_id: number;
1007
1007
  is_prerequisite: boolean;
1008
1008
  type?: "courseMilestone" | undefined;
@@ -1033,15 +1033,15 @@ declare const CourseMilestoneFormSchema: z.ZodObject<{
1033
1033
  name: string;
1034
1034
  kind: string;
1035
1035
  is_prerequisite: boolean;
1036
- description?: string | null | undefined;
1037
1036
  sort_order?: number | undefined;
1037
+ description?: string | null | undefined;
1038
1038
  requires_form_template_id?: number | null | undefined;
1039
1039
  completion_rule?: Record<string, unknown> | null | undefined;
1040
1040
  }, {
1041
1041
  name: string;
1042
+ sort_order?: number | undefined;
1042
1043
  description?: string | null | undefined;
1043
1044
  kind?: string | undefined;
1044
- sort_order?: number | undefined;
1045
1045
  is_prerequisite?: boolean | undefined;
1046
1046
  requires_form_template_id?: number | null | undefined;
1047
1047
  completion_rule?: Record<string, unknown> | null | undefined;
@@ -1086,10 +1086,10 @@ declare const courseEnrollmentMilestoneSchema: z.ZodObject<{
1086
1086
  delete?: boolean | null | undefined;
1087
1087
  }>>;
1088
1088
  }, "strip", z.ZodTypeAny, {
1089
- name: string;
1089
+ sort_order: number;
1090
1090
  id: number;
1091
+ name: string;
1091
1092
  kind: string;
1092
- sort_order: number;
1093
1093
  course_id: number;
1094
1094
  is_prerequisite: boolean;
1095
1095
  type?: "courseMilestone" | undefined;
@@ -1107,10 +1107,10 @@ declare const courseEnrollmentMilestoneSchema: z.ZodObject<{
1107
1107
  } | null | undefined;
1108
1108
  completion_rule?: Record<string, unknown> | null | undefined;
1109
1109
  }, {
1110
- name: string;
1110
+ sort_order: number;
1111
1111
  id: number;
1112
+ name: string;
1112
1113
  kind: string;
1113
- sort_order: number;
1114
1114
  course_id: number;
1115
1115
  is_prerequisite: boolean;
1116
1116
  type?: "courseMilestone" | undefined;
@@ -1176,10 +1176,10 @@ declare const courseEnrollmentMilestoneSchema: z.ZodObject<{
1176
1176
  } | undefined;
1177
1177
  notes?: string | null | undefined;
1178
1178
  milestone?: {
1179
- name: string;
1179
+ sort_order: number;
1180
1180
  id: number;
1181
+ name: string;
1181
1182
  kind: string;
1182
- sort_order: number;
1183
1183
  course_id: number;
1184
1184
  is_prerequisite: boolean;
1185
1185
  type?: "courseMilestone" | undefined;
@@ -1218,10 +1218,10 @@ declare const courseEnrollmentMilestoneSchema: z.ZodObject<{
1218
1218
  } | undefined;
1219
1219
  notes?: string | null | undefined;
1220
1220
  milestone?: {
1221
- name: string;
1221
+ sort_order: number;
1222
1222
  id: number;
1223
+ name: string;
1223
1224
  kind: string;
1224
- sort_order: number;
1225
1225
  course_id: number;
1226
1226
  is_prerequisite: boolean;
1227
1227
  type?: "courseMilestone" | undefined;
@@ -1262,14 +1262,14 @@ declare const equipmentSchema: z.ZodObject<{
1262
1262
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1263
1263
  manual_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1264
1264
  }, "strip", z.ZodTypeAny, {
1265
- name: string;
1266
1265
  id: number;
1266
+ name: string;
1267
1267
  type?: "equipment" | undefined;
1268
1268
  description?: string | null | undefined;
1269
1269
  manual_url?: string | null | undefined;
1270
1270
  }, {
1271
- name: string;
1272
1271
  id: number;
1272
+ name: string;
1273
1273
  type?: "equipment" | undefined;
1274
1274
  description?: string | null | undefined;
1275
1275
  manual_url?: string | null | undefined;
@@ -1461,22 +1461,22 @@ declare const NewsletterCategorySchema: z.ZodObject<{
1461
1461
  created_at: z.ZodOptional<z.ZodString>;
1462
1462
  updated_at: z.ZodOptional<z.ZodString>;
1463
1463
  }, "strip", z.ZodTypeAny, {
1464
- name: string;
1464
+ sort_order: number;
1465
1465
  id: number;
1466
+ name: string;
1466
1467
  key: string;
1467
1468
  is_active: boolean;
1468
- sort_order: number;
1469
1469
  is_mandatory: boolean;
1470
1470
  type?: "newsletter_category" | undefined;
1471
1471
  created_at?: string | undefined;
1472
1472
  updated_at?: string | undefined;
1473
1473
  description?: string | null | undefined;
1474
1474
  }, {
1475
- name: string;
1475
+ sort_order: number;
1476
1476
  id: number;
1477
+ name: string;
1477
1478
  key: string;
1478
1479
  is_active: boolean;
1479
- sort_order: number;
1480
1480
  is_mandatory: boolean;
1481
1481
  type?: "newsletter_category" | undefined;
1482
1482
  created_at?: string | undefined;
@@ -1628,22 +1628,22 @@ declare const NewsletterTemplateSchema: z.ZodObject<{
1628
1628
  created_at: z.ZodOptional<z.ZodString>;
1629
1629
  updated_at: z.ZodOptional<z.ZodString>;
1630
1630
  }, "strip", z.ZodTypeAny, {
1631
- name: string;
1631
+ sort_order: number;
1632
1632
  id: number;
1633
+ name: string;
1633
1634
  key: string;
1634
1635
  is_active: boolean;
1635
- sort_order: number;
1636
1636
  is_mandatory: boolean;
1637
1637
  type?: "newsletter_category" | undefined;
1638
1638
  created_at?: string | undefined;
1639
1639
  updated_at?: string | undefined;
1640
1640
  description?: string | null | undefined;
1641
1641
  }, {
1642
- name: string;
1642
+ sort_order: number;
1643
1643
  id: number;
1644
+ name: string;
1644
1645
  key: string;
1645
1646
  is_active: boolean;
1646
- sort_order: number;
1647
1647
  is_mandatory: boolean;
1648
1648
  type?: "newsletter_category" | undefined;
1649
1649
  created_at?: string | undefined;
@@ -1788,19 +1788,19 @@ declare const NewsletterTemplateSchema: z.ZodObject<{
1788
1788
  name: z.ZodString;
1789
1789
  email: z.ZodOptional<z.ZodString>;
1790
1790
  }, "strip", z.ZodTypeAny, {
1791
- name: string;
1792
1791
  id: number;
1792
+ name: string;
1793
1793
  email?: string | undefined;
1794
1794
  }, {
1795
- name: string;
1796
1795
  id: number;
1796
+ name: string;
1797
1797
  email?: string | undefined;
1798
1798
  }>>>;
1799
1799
  created_at: z.ZodOptional<z.ZodString>;
1800
1800
  updated_at: z.ZodOptional<z.ZodString>;
1801
1801
  }, "strip", z.ZodTypeAny, {
1802
- name: string;
1803
1802
  id: number;
1803
+ name: string;
1804
1804
  is_active: boolean;
1805
1805
  company_id: number | null;
1806
1806
  schema_version: number;
@@ -1839,11 +1839,11 @@ declare const NewsletterTemplateSchema: z.ZodObject<{
1839
1839
  updated_at?: string | undefined;
1840
1840
  description?: string | null | undefined;
1841
1841
  category?: {
1842
- name: string;
1842
+ sort_order: number;
1843
1843
  id: number;
1844
+ name: string;
1844
1845
  key: string;
1845
1846
  is_active: boolean;
1846
- sort_order: number;
1847
1847
  is_mandatory: boolean;
1848
1848
  type?: "newsletter_category" | undefined;
1849
1849
  created_at?: string | undefined;
@@ -1851,16 +1851,16 @@ declare const NewsletterTemplateSchema: z.ZodObject<{
1851
1851
  description?: string | null | undefined;
1852
1852
  } | null | undefined;
1853
1853
  created_by?: number | null | undefined;
1854
+ is_system?: boolean | undefined;
1854
1855
  creator?: {
1855
- name: string;
1856
1856
  id: number;
1857
+ name: string;
1857
1858
  email?: string | undefined;
1858
1859
  } | null | undefined;
1859
- is_system?: boolean | undefined;
1860
1860
  preheader?: string | null | undefined;
1861
1861
  }, {
1862
- name: string;
1863
1862
  id: number;
1863
+ name: string;
1864
1864
  is_active: boolean;
1865
1865
  company_id: number | null;
1866
1866
  schema_version: number;
@@ -1899,11 +1899,11 @@ declare const NewsletterTemplateSchema: z.ZodObject<{
1899
1899
  updated_at?: string | undefined;
1900
1900
  description?: string | null | undefined;
1901
1901
  category?: {
1902
- name: string;
1902
+ sort_order: number;
1903
1903
  id: number;
1904
+ name: string;
1904
1905
  key: string;
1905
1906
  is_active: boolean;
1906
- sort_order: number;
1907
1907
  is_mandatory: boolean;
1908
1908
  type?: "newsletter_category" | undefined;
1909
1909
  created_at?: string | undefined;
@@ -1911,12 +1911,12 @@ declare const NewsletterTemplateSchema: z.ZodObject<{
1911
1911
  description?: string | null | undefined;
1912
1912
  } | null | undefined;
1913
1913
  created_by?: number | null | undefined;
1914
+ is_system?: boolean | undefined;
1914
1915
  creator?: {
1915
- name: string;
1916
1916
  id: number;
1917
+ name: string;
1917
1918
  email?: string | undefined;
1918
1919
  } | null | undefined;
1919
- is_system?: boolean | undefined;
1920
1920
  preheader?: string | null | undefined;
1921
1921
  }>;
1922
1922
  type NewsletterTemplate = z.infer<typeof NewsletterTemplateSchema>;
@@ -2293,22 +2293,22 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
2293
2293
  created_at: z.ZodOptional<z.ZodString>;
2294
2294
  updated_at: z.ZodOptional<z.ZodString>;
2295
2295
  }, "strip", z.ZodTypeAny, {
2296
- name: string;
2296
+ sort_order: number;
2297
2297
  id: number;
2298
+ name: string;
2298
2299
  key: string;
2299
2300
  is_active: boolean;
2300
- sort_order: number;
2301
2301
  is_mandatory: boolean;
2302
2302
  type?: "newsletter_category" | undefined;
2303
2303
  created_at?: string | undefined;
2304
2304
  updated_at?: string | undefined;
2305
2305
  description?: string | null | undefined;
2306
2306
  }, {
2307
- name: string;
2307
+ sort_order: number;
2308
2308
  id: number;
2309
+ name: string;
2309
2310
  key: string;
2310
2311
  is_active: boolean;
2311
- sort_order: number;
2312
2312
  is_mandatory: boolean;
2313
2313
  type?: "newsletter_category" | undefined;
2314
2314
  created_at?: string | undefined;
@@ -2453,20 +2453,20 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
2453
2453
  name: z.ZodString;
2454
2454
  email: z.ZodOptional<z.ZodString>;
2455
2455
  }, "strip", z.ZodTypeAny, {
2456
- name: string;
2457
2456
  id: number;
2457
+ name: string;
2458
2458
  email?: string | undefined;
2459
2459
  }, {
2460
- name: string;
2461
2460
  id: number;
2461
+ name: string;
2462
2462
  email?: string | undefined;
2463
2463
  }>>>>;
2464
2464
  created_at: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2465
2465
  updated_at: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2466
2466
  }, "strip", z.ZodTypeAny, {
2467
+ id?: number | undefined;
2467
2468
  name?: string | undefined;
2468
2469
  type?: "newsletter_template" | undefined;
2469
- id?: number | undefined;
2470
2470
  created_at?: string | undefined;
2471
2471
  updated_at?: string | undefined;
2472
2472
  description?: string | null | undefined;
@@ -2474,11 +2474,11 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
2474
2474
  company_id?: number | null | undefined;
2475
2475
  schema_version?: number | undefined;
2476
2476
  category?: {
2477
- name: string;
2477
+ sort_order: number;
2478
2478
  id: number;
2479
+ name: string;
2479
2480
  key: string;
2480
2481
  is_active: boolean;
2481
- sort_order: number;
2482
2482
  is_mandatory: boolean;
2483
2483
  type?: "newsletter_category" | undefined;
2484
2484
  created_at?: string | undefined;
@@ -2487,11 +2487,6 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
2487
2487
  } | null | undefined;
2488
2488
  created_by?: number | null | undefined;
2489
2489
  slug?: string | undefined;
2490
- creator?: {
2491
- name: string;
2492
- id: number;
2493
- email?: string | undefined;
2494
- } | null | undefined;
2495
2490
  schema?: {
2496
2491
  blocks: ({
2497
2492
  type: NewsletterBlockType.Heading;
@@ -2520,13 +2515,18 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
2520
2515
  variables_used?: string[] | undefined;
2521
2516
  } | undefined;
2522
2517
  is_system?: boolean | undefined;
2518
+ creator?: {
2519
+ id: number;
2520
+ name: string;
2521
+ email?: string | undefined;
2522
+ } | null | undefined;
2523
2523
  newsletter_category_id?: number | undefined;
2524
2524
  subject?: string | undefined;
2525
2525
  preheader?: string | null | undefined;
2526
2526
  }, {
2527
+ id?: number | undefined;
2527
2528
  name?: string | undefined;
2528
2529
  type?: "newsletter_template" | undefined;
2529
- id?: number | undefined;
2530
2530
  created_at?: string | undefined;
2531
2531
  updated_at?: string | undefined;
2532
2532
  description?: string | null | undefined;
@@ -2534,11 +2534,11 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
2534
2534
  company_id?: number | null | undefined;
2535
2535
  schema_version?: number | undefined;
2536
2536
  category?: {
2537
- name: string;
2537
+ sort_order: number;
2538
2538
  id: number;
2539
+ name: string;
2539
2540
  key: string;
2540
2541
  is_active: boolean;
2541
- sort_order: number;
2542
2542
  is_mandatory: boolean;
2543
2543
  type?: "newsletter_category" | undefined;
2544
2544
  created_at?: string | undefined;
@@ -2547,11 +2547,6 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
2547
2547
  } | null | undefined;
2548
2548
  created_by?: number | null | undefined;
2549
2549
  slug?: string | undefined;
2550
- creator?: {
2551
- name: string;
2552
- id: number;
2553
- email?: string | undefined;
2554
- } | null | undefined;
2555
2550
  schema?: {
2556
2551
  blocks: ({
2557
2552
  type: NewsletterBlockType.Heading;
@@ -2580,6 +2575,11 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
2580
2575
  variables_used?: string[] | undefined;
2581
2576
  } | undefined;
2582
2577
  is_system?: boolean | undefined;
2578
+ creator?: {
2579
+ id: number;
2580
+ name: string;
2581
+ email?: string | undefined;
2582
+ } | null | undefined;
2583
2583
  newsletter_category_id?: number | undefined;
2584
2584
  subject?: string | undefined;
2585
2585
  preheader?: string | null | undefined;
@@ -2597,22 +2597,22 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
2597
2597
  created_at: z.ZodOptional<z.ZodString>;
2598
2598
  updated_at: z.ZodOptional<z.ZodString>;
2599
2599
  }, "strip", z.ZodTypeAny, {
2600
- name: string;
2600
+ sort_order: number;
2601
2601
  id: number;
2602
+ name: string;
2602
2603
  key: string;
2603
2604
  is_active: boolean;
2604
- sort_order: number;
2605
2605
  is_mandatory: boolean;
2606
2606
  type?: "newsletter_category" | undefined;
2607
2607
  created_at?: string | undefined;
2608
2608
  updated_at?: string | undefined;
2609
2609
  description?: string | null | undefined;
2610
2610
  }, {
2611
- name: string;
2611
+ sort_order: number;
2612
2612
  id: number;
2613
+ name: string;
2613
2614
  key: string;
2614
2615
  is_active: boolean;
2615
- sort_order: number;
2616
2616
  is_mandatory: boolean;
2617
2617
  type?: "newsletter_category" | undefined;
2618
2618
  created_at?: string | undefined;
@@ -2846,12 +2846,12 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
2846
2846
  name: z.ZodString;
2847
2847
  email: z.ZodOptional<z.ZodString>;
2848
2848
  }, "strip", z.ZodTypeAny, {
2849
- name: string;
2850
2849
  id: number;
2850
+ name: string;
2851
2851
  email?: string | undefined;
2852
2852
  }, {
2853
- name: string;
2854
2853
  id: number;
2854
+ name: string;
2855
2855
  email?: string | undefined;
2856
2856
  }>>>;
2857
2857
  can: z.ZodOptional<z.ZodObject<{
@@ -2879,9 +2879,9 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
2879
2879
  created_at: z.ZodOptional<z.ZodString>;
2880
2880
  updated_at: z.ZodOptional<z.ZodString>;
2881
2881
  }, "strip", z.ZodTypeAny, {
2882
+ id: number;
2882
2883
  name: string;
2883
2884
  status: NewsletterCampaignStatus;
2884
- id: number;
2885
2885
  company_id: number | null;
2886
2886
  schema_snapshot: {
2887
2887
  blocks: ({
@@ -2949,11 +2949,11 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
2949
2949
  test_send?: boolean | undefined;
2950
2950
  } | undefined;
2951
2951
  category?: {
2952
- name: string;
2952
+ sort_order: number;
2953
2953
  id: number;
2954
+ name: string;
2954
2955
  key: string;
2955
2956
  is_active: boolean;
2956
- sort_order: number;
2957
2957
  is_mandatory: boolean;
2958
2958
  type?: "newsletter_category" | undefined;
2959
2959
  created_at?: string | undefined;
@@ -2963,9 +2963,9 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
2963
2963
  scheduled_at?: string | null | undefined;
2964
2964
  is_system?: boolean | undefined;
2965
2965
  template?: {
2966
+ id?: number | undefined;
2966
2967
  name?: string | undefined;
2967
2968
  type?: "newsletter_template" | undefined;
2968
- id?: number | undefined;
2969
2969
  created_at?: string | undefined;
2970
2970
  updated_at?: string | undefined;
2971
2971
  description?: string | null | undefined;
@@ -2973,11 +2973,11 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
2973
2973
  company_id?: number | null | undefined;
2974
2974
  schema_version?: number | undefined;
2975
2975
  category?: {
2976
- name: string;
2976
+ sort_order: number;
2977
2977
  id: number;
2978
+ name: string;
2978
2979
  key: string;
2979
2980
  is_active: boolean;
2980
- sort_order: number;
2981
2981
  is_mandatory: boolean;
2982
2982
  type?: "newsletter_category" | undefined;
2983
2983
  created_at?: string | undefined;
@@ -2986,11 +2986,6 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
2986
2986
  } | null | undefined;
2987
2987
  created_by?: number | null | undefined;
2988
2988
  slug?: string | undefined;
2989
- creator?: {
2990
- name: string;
2991
- id: number;
2992
- email?: string | undefined;
2993
- } | null | undefined;
2994
2989
  schema?: {
2995
2990
  blocks: ({
2996
2991
  type: NewsletterBlockType.Heading;
@@ -3019,6 +3014,11 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
3019
3014
  variables_used?: string[] | undefined;
3020
3015
  } | undefined;
3021
3016
  is_system?: boolean | undefined;
3017
+ creator?: {
3018
+ id: number;
3019
+ name: string;
3020
+ email?: string | undefined;
3021
+ } | null | undefined;
3022
3022
  newsletter_category_id?: number | undefined;
3023
3023
  subject?: string | undefined;
3024
3024
  preheader?: string | null | undefined;
@@ -3029,14 +3029,14 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
3029
3029
  cancelled_at?: string | null | undefined;
3030
3030
  sent_by_user_id?: number | null | undefined;
3031
3031
  sent_by?: {
3032
- name: string;
3033
3032
  id: number;
3033
+ name: string;
3034
3034
  email?: string | undefined;
3035
3035
  } | null | undefined;
3036
3036
  }, {
3037
+ id: number;
3037
3038
  name: string;
3038
3039
  status: NewsletterCampaignStatus;
3039
- id: number;
3040
3040
  company_id: number | null;
3041
3041
  schema_snapshot: {
3042
3042
  blocks: ({
@@ -3104,11 +3104,11 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
3104
3104
  test_send?: boolean | undefined;
3105
3105
  } | undefined;
3106
3106
  category?: {
3107
- name: string;
3107
+ sort_order: number;
3108
3108
  id: number;
3109
+ name: string;
3109
3110
  key: string;
3110
3111
  is_active: boolean;
3111
- sort_order: number;
3112
3112
  is_mandatory: boolean;
3113
3113
  type?: "newsletter_category" | undefined;
3114
3114
  created_at?: string | undefined;
@@ -3118,9 +3118,9 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
3118
3118
  scheduled_at?: string | null | undefined;
3119
3119
  is_system?: boolean | undefined;
3120
3120
  template?: {
3121
+ id?: number | undefined;
3121
3122
  name?: string | undefined;
3122
3123
  type?: "newsletter_template" | undefined;
3123
- id?: number | undefined;
3124
3124
  created_at?: string | undefined;
3125
3125
  updated_at?: string | undefined;
3126
3126
  description?: string | null | undefined;
@@ -3128,11 +3128,11 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
3128
3128
  company_id?: number | null | undefined;
3129
3129
  schema_version?: number | undefined;
3130
3130
  category?: {
3131
- name: string;
3131
+ sort_order: number;
3132
3132
  id: number;
3133
+ name: string;
3133
3134
  key: string;
3134
3135
  is_active: boolean;
3135
- sort_order: number;
3136
3136
  is_mandatory: boolean;
3137
3137
  type?: "newsletter_category" | undefined;
3138
3138
  created_at?: string | undefined;
@@ -3141,11 +3141,6 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
3141
3141
  } | null | undefined;
3142
3142
  created_by?: number | null | undefined;
3143
3143
  slug?: string | undefined;
3144
- creator?: {
3145
- name: string;
3146
- id: number;
3147
- email?: string | undefined;
3148
- } | null | undefined;
3149
3144
  schema?: {
3150
3145
  blocks: ({
3151
3146
  type: NewsletterBlockType.Heading;
@@ -3174,6 +3169,11 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
3174
3169
  variables_used?: string[] | undefined;
3175
3170
  } | undefined;
3176
3171
  is_system?: boolean | undefined;
3172
+ creator?: {
3173
+ id: number;
3174
+ name: string;
3175
+ email?: string | undefined;
3176
+ } | null | undefined;
3177
3177
  newsletter_category_id?: number | undefined;
3178
3178
  subject?: string | undefined;
3179
3179
  preheader?: string | null | undefined;
@@ -3184,8 +3184,8 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
3184
3184
  cancelled_at?: string | null | undefined;
3185
3185
  sent_by_user_id?: number | null | undefined;
3186
3186
  sent_by?: {
3187
- name: string;
3188
3187
  id: number;
3188
+ name: string;
3189
3189
  email?: string | undefined;
3190
3190
  } | null | undefined;
3191
3191
  }>;
@@ -3512,12 +3512,12 @@ declare const NewsletterCampaignRecipientSchema: z.ZodObject<{
3512
3512
  name: z.ZodString;
3513
3513
  email: z.ZodOptional<z.ZodString>;
3514
3514
  }, "strip", z.ZodTypeAny, {
3515
- name: string;
3516
3515
  id: number;
3516
+ name: string;
3517
3517
  email?: string | undefined;
3518
3518
  }, {
3519
- name: string;
3520
3519
  id: number;
3520
+ name: string;
3521
3521
  email?: string | undefined;
3522
3522
  }>>>;
3523
3523
  email: z.ZodString;
@@ -3529,15 +3529,15 @@ declare const NewsletterCampaignRecipientSchema: z.ZodObject<{
3529
3529
  bounced_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3530
3530
  complained_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3531
3531
  }, "strip", z.ZodTypeAny, {
3532
+ id: number;
3532
3533
  email: string;
3533
3534
  status: NewsletterRecipientStatus;
3534
- id: number;
3535
3535
  user_id: number | null;
3536
3536
  newsletter_campaign_id: number;
3537
3537
  type?: "newsletter_campaign_recipient" | undefined;
3538
3538
  user?: {
3539
- name: string;
3540
3539
  id: number;
3540
+ name: string;
3541
3541
  email?: string | undefined;
3542
3542
  } | null | undefined;
3543
3543
  error?: string | null | undefined;
@@ -3547,15 +3547,15 @@ declare const NewsletterCampaignRecipientSchema: z.ZodObject<{
3547
3547
  bounced_at?: string | null | undefined;
3548
3548
  complained_at?: string | null | undefined;
3549
3549
  }, {
3550
+ id: number;
3550
3551
  email: string;
3551
3552
  status: NewsletterRecipientStatus;
3552
- id: number;
3553
3553
  user_id: number | null;
3554
3554
  newsletter_campaign_id: number;
3555
3555
  type?: "newsletter_campaign_recipient" | undefined;
3556
3556
  user?: {
3557
- name: string;
3558
3557
  id: number;
3558
+ name: string;
3559
3559
  email?: string | undefined;
3560
3560
  } | null | undefined;
3561
3561
  error?: string | null | undefined;
@@ -3826,8 +3826,8 @@ declare const CreateLocationMapFeatureSchema: z.ZodObject<{
3826
3826
  coordinates: unknown[];
3827
3827
  };
3828
3828
  name?: string | null | undefined;
3829
- visibility?: LocationFeatureVisibility | undefined;
3830
3829
  properties?: Record<string, unknown> | null | undefined;
3830
+ visibility?: LocationFeatureVisibility | undefined;
3831
3831
  display_order?: number | undefined;
3832
3832
  }, {
3833
3833
  kind: string;
@@ -3836,8 +3836,8 @@ declare const CreateLocationMapFeatureSchema: z.ZodObject<{
3836
3836
  coordinates: unknown[];
3837
3837
  };
3838
3838
  name?: string | null | undefined;
3839
- visibility?: LocationFeatureVisibility | undefined;
3840
3839
  properties?: Record<string, unknown> | null | undefined;
3840
+ visibility?: LocationFeatureVisibility | undefined;
3841
3841
  display_order?: number | undefined;
3842
3842
  }>;
3843
3843
  type CreateLocationMapFeatureInput = z.infer<typeof CreateLocationMapFeatureSchema>;
@@ -3861,22 +3861,22 @@ declare const UpdateLocationMapFeatureSchema: z.ZodObject<{
3861
3861
  }, "strip", z.ZodTypeAny, {
3862
3862
  name?: string | null | undefined;
3863
3863
  kind?: string | undefined;
3864
+ properties?: Record<string, unknown> | null | undefined;
3864
3865
  visibility?: LocationFeatureVisibility | undefined;
3865
3866
  geometry?: {
3866
3867
  type: "Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon";
3867
3868
  coordinates: unknown[];
3868
3869
  } | undefined;
3869
- properties?: Record<string, unknown> | null | undefined;
3870
3870
  display_order?: number | undefined;
3871
3871
  }, {
3872
3872
  name?: string | null | undefined;
3873
3873
  kind?: string | undefined;
3874
+ properties?: Record<string, unknown> | null | undefined;
3874
3875
  visibility?: LocationFeatureVisibility | undefined;
3875
3876
  geometry?: {
3876
3877
  type: "Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon";
3877
3878
  coordinates: unknown[];
3878
3879
  } | undefined;
3879
- properties?: Record<string, unknown> | null | undefined;
3880
3880
  display_order?: number | undefined;
3881
3881
  }>;
3882
3882
  type UpdateLocationMapFeatureInput = z.infer<typeof UpdateLocationMapFeatureSchema>;
@@ -4000,8 +4000,8 @@ declare const TodoSchema: z.ZodObject<{
4000
4000
  }>;
4001
4001
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
4002
4002
  }, "strip", z.ZodTypeAny, {
4003
- key: "fill_form" | "sign_form" | "review_form" | "log_booking" | "add_address" | "add_required_documents" | "fill_training_record" | "sign_training_record";
4004
4003
  title: string;
4004
+ key: "fill_form" | "sign_form" | "review_form" | "log_booking" | "add_address" | "add_required_documents" | "fill_training_record" | "sign_training_record";
4005
4005
  priority: "low" | "normal" | "high";
4006
4006
  is_overdue: boolean;
4007
4007
  ref_type: string;
@@ -4016,8 +4016,8 @@ declare const TodoSchema: z.ZodObject<{
4016
4016
  subtitle?: string | null | undefined;
4017
4017
  meta?: Record<string, any> | undefined;
4018
4018
  }, {
4019
- key: "fill_form" | "sign_form" | "review_form" | "log_booking" | "add_address" | "add_required_documents" | "fill_training_record" | "sign_training_record";
4020
4019
  title: string;
4020
+ key: "fill_form" | "sign_form" | "review_form" | "log_booking" | "add_address" | "add_required_documents" | "fill_training_record" | "sign_training_record";
4021
4021
  ref_type: string;
4022
4022
  ref_id: number;
4023
4023
  action: {