@updraft-solutions/mcrit-sdk 0.18.6 → 0.19.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,5 +1,5 @@
1
- import { m as FormFieldType, u as FormSubmissionStatus, t as FormSubmissionSource } from '../conversation-BWcMC5Zo.js';
2
- export { A as AttachSyllabusElementForm, a as AttachSyllabusElementFormSchema, B as BaseModel, C as CourseCheckSyllabus, b as CreateFormSubmissionInput, c as CreateFormTemplateAssignmentInput, d as CreateFormTemplateInput, e as CreateSyllabusFromTemplateForm, f as CreateSyllabusFromTemplateFormSchema, g as CreateSyllabusFromTemplateResult, E as EnrollmentTrainingElement, h as EnrollmentTrainingStatus, i as EnrollmentTrainingStatusEnum, F as FBO_OPERATING_DAYS, j as FBO_SYSTEM_ROLES, k as FieldLabel, l as FieldLabelSchema, n as FormSubmission, o as FormSubmissionSchema, p as FormSubmissionShare, q as FormSubmissionShareBase, r as FormSubmissionShareBaseSchema, s as FormSubmissionShareSchema, v as FormTemplate, w as FormTemplateAssignment, x as FormTemplateAssignmentSchema, y as FormTemplateSchema, z as FuelUnit, G as GradeHistoryItem, D as GradingScale, H as GradingScaleForm, I as GradingScaleFormSchema, J as GradingScalePoint, K as ImpersonationParticipant, L as ImpersonationState, M as InvalidateTrainingRecordResponse, R as ReorderSyllabusElementItem, N as ReorderSyllabusElementItemSchema, O as RequiredForm, P as RequiredFormSchema, Q as RequiredFormVia, S as RequiredFormViaCrew, T as RequiredFormViaCrewSchema, U as RequiredFormViaSchema, V as ReviewFormSubmissionInput, W as SchemaField, X as SchemaFieldSchema, Y as SchemaSection, Z as SchemaSectionSchema, _ as ShowWhen, $ as ShowWhenSchema, a0 as SignOffTrainingElementForm, a1 as SignOffTrainingElementFormSchema, a2 as Signature, a3 as SignatureSchema, a4 as StoreSyllabusForm, a5 as StoreSyllabusFormSchema, a6 as SubmissionFile, a7 as SubmissionFileSchema, a8 as Syllabus, a9 as SyllabusElement, aa as SyllabusElementMutationResult, ab as SyllabusKind, ac as SyllabusKindEnum, ad as SyllabusRolloutResult, ae as SyllabusRolloutResultItem, af as SyllabusRolloutSkippedItem, ag as TemplateSchema, ah as TemplateSchemaSchema, ai as TrainingElement, aj as TrainingElementForm, ak as TrainingElementFormSchema, al as TrainingElementKind, am as TrainingElementKindEnum, an as TrainingRecord, ao as TrainingRecordEntry, ap as TrainingRecordEntryInput, aq as TrainingRecordResult, ar as TrainingRecordResultEnum, as as TrainingRecordStatus, at as TrainingRecordStatusEnum, au as TrainingSignature, av as TrainingTemplatePack, aw as UpdateFormTemplateInput, ax as UpdateSyllabusElementForm, ay as UpdateSyllabusElementFormSchema, az as UpdateSyllabusForm, aA as UpdateSyllabusFormSchema, aB as UpsertTrainingRecordForm, aC as UpsertTrainingRecordFormSchema, aD as UsedByCourse, aE as activitySchema, aF as addressSchema, aG as aircraftPositionSchema, aH as aircraftRatingSchema, aI as airplaneIssueSchema, aJ as airplaneIssueSeverityEnum, aK as airplaneIssueStatusEnum, aL as airplanePermissionSchema, aM as airplaneSchema, aN as airplaneShareInviteSchema, aO as airportSchema, aP as alertSchema, aQ as allowedDocumentTypeSchema, aR as approachTypeSchema, aS as availSchema, aT as baseMembershipSchema, aU as billingProfileSchema, aV as bookingSchema, aW as bookingWaypointSchema, aX as commentSchema, aY as companyIdentitySchema, aZ as companySchema, a_ as contactAttributeSchema, a$ as conversationKindSchema, b0 as conversationMessageSchema, b1 as conversationMessageSentEventSchema, b2 as conversationParticipantSchema, b3 as conversationReadEventSchema, b4 as conversationRecipientSchema, b5 as conversationSchema, b6 as conversationUnreadSummarySchema, b7 as courseCheckSyllabusSchema, b8 as courseEnrollmentMetricsSchema, b9 as courseEnrollmentSchema, ba as courseFeeSchema, bb as courseSchema, bc as createSyllabusFromTemplateResultSchema, bd as documentComplianceStatus, be as documentRequirement, bf as documentRequirementGroup, bg as documentRequirementGroupAssignment, bh as documentSchema, bi as documentShareSchema, bj as documentType, bk as enrollmentTrainingElementSchema, bl as eventSchema, bm as expenseItemSchema, bn as expenseSchema, bo as extendedAirplaneSchema, bp as fboAcceptanceAxisSchema, bq as fboAcceptanceStatusSchema, br as fboActivityCauserSchema, bs as fboActivityChangesSchema, bt as fboActivitySchema, bu as fboCompanyGrantInputSchema, bv as fboCompanyGrantSchema, bw as fboCompanyMemberSchema, bx as fboCompanyProfileSchema, by as fboCompanySchema, bz as fboDecisionAxisSchema, bA as fboDecisionInputSchema, bB as fboDecisionSchema, bC as fboDutyAffectedSchema, bD as fboDutySchema, bE as fboDutySeriesResponseSchema, bF as fboFlightCanSchema, bG as fboFlightDocumentSchema, bH as fboFlightSchema, bI as fboFlightStatusSchema, bJ as fboFlightTypeSchema, bK as fboGrantAbilityOptionSchema, bL as fboGrantAbilitySchema, bM as fboGrantCompanyRefSchema, bN as fboGroundServicesSchema, bO as fboLandingsSummarySchema, bP as fboMaterialiseResultSchema, bQ as fboMetaSchema, bR as fboNextDutySchema, bS as fboOccupationSchema, bT as fboOperationsSchema, bU as fboPersonSchema, bV as fboPobSchema, bW as fboRecurrenceSchema, bX as fboRecurrenceTypeSchema, bY as fboRecurringFlightSchema, bZ as fboRoleSchema, b_ as fboRowCanSchema, b$ as fboStatisticsSchema, c0 as fboSystemRoleSchema, c1 as fboTrafficLayerInputSchema, c2 as fboTrafficRowSchema, c3 as fboTrafficRowTypeSchema, c4 as fboTrafficSourceSchema, c5 as fboVisibilitySchema, c6 as fboWeeklyLandingSchema, c7 as feeCategoryOptionsSchema, c8 as feeSchema, c9 as flightLogSchema, ca as flightRequestAvailabilitySchema, cb as flightRequestBusyIntervalSchema, cc as flightRequestResponseSchema, cd as flightRequestResponseStatusSchema, ce as flightRequestSchema, cf as flightRequestSeatSchema, cg as flightRequestStatusSchema, ch as flightRequestWindowSchema, ci as fuelUnitSchema, cj as gradeHistoryItemSchema, ck as gradingScalePointSchema, cl as gradingScaleSchema, cm as impersonationParticipantSchema, cn as impersonationStateSchema, co as invalidateTrainingRecordResponseSchema, cp as invoiceSchema, cq as landingFeeSchema, cr as landingSchema, cs as maintenanceEventEstimationSchema, ct as maintenanceEventSchema, cu as maintenanceStatusSchema, cv as mediaCollection, cw as mediaSchema, cx as membershipIdentitySchema, cy as membershipSchema, cz as membershipSignupSchema, cA as nestedMembershipSchema, cB as postSchema, cC as postSubjectSchema, cD as prePaidPackageAssignmentSchema, cE as prePaidPackageSchema, cF as priceSchema, cG as qualificationSchema, cH as recurringFlightSchema, cI as roleSchema, cJ as runwaySchema, cK as scheduledFlightSchema, cL as settingSchema, cM as specialFlightSchema, cN as syllabusElementMutationResultSchema, cO as syllabusElementSchema, cP as syllabusRolloutResultItemSchema, cQ as syllabusRolloutResultSchema, cR as syllabusRolloutSkippedItemSchema, cS as syllabusSchema, cT as tagSchema, cU as teachingPermissionSchema, cV as ticketSchema, cW as trainingElementSchema, cX as trainingRecordEntryInputSchema, cY as trainingRecordEntrySchema, cZ as trainingRecordSchema, c_ as trainingSignatureSchema, c$ as trainingTemplatePackSchema, d0 as usedByCourseSchema, d1 as userAircraftRatingSchema, d2 as userQualificationSchema, d3 as userSchema, d4 as waypointSchema, d5 as zContactDTO, d6 as zMoneyObject, d7 as zNetGross, d8 as zNullableBool } from '../conversation-BWcMC5Zo.js';
1
+ import { em as Media, a8 as FormFieldType, ag as FormSubmissionStatus, af as FormSubmissionSource } from '../conversation-Cu7FKh3Y.js';
2
+ export { k as AttachSyllabusElementForm, l as AttachSyllabusElementFormSchema, n as BaseModel, r as CourseCheckSyllabus, w as CreateFormSubmissionInput, x as CreateFormTemplateAssignmentInput, y as CreateFormTemplateInput, D as CreateSyllabusFromTemplateForm, E as CreateSyllabusFromTemplateFormSchema, F as CreateSyllabusFromTemplateResult, O as EnrollmentTrainingElement, P as EnrollmentTrainingStatus, Q as EnrollmentTrainingStatusEnum, V as FBO_OPERATING_DAYS, W as FBO_SYSTEM_ROLES, Z as FieldLabel, _ as FieldLabelSchema, a9 as FormSubmission, aa as FormSubmissionSchema, ab as FormSubmissionShare, ac as FormSubmissionShareBase, ad as FormSubmissionShareBaseSchema, ae as FormSubmissionShareSchema, ah as FormTemplate, ai as FormTemplateAssignment, aj as FormTemplateAssignmentSchema, ak as FormTemplateSchema, al as FuelUnit, am as GradeHistoryItem, an as GradingScale, ao as GradingScaleForm, ap as GradingScaleFormSchema, aq as GradingScalePoint, ar as ImpersonationParticipant, as as ImpersonationState, at as InvalidateTrainingRecordResponse, aJ as ReorderSyllabusElementItem, aK as ReorderSyllabusElementItemSchema, aL as RequiredForm, aM as RequiredFormSchema, aN as RequiredFormVia, aO as RequiredFormViaCrew, aP as RequiredFormViaCrewSchema, aQ as RequiredFormViaSchema, aS as ReviewFormSubmissionInput, aW as SchemaField, aX as SchemaFieldSchema, aY as SchemaSection, aZ as SchemaSectionSchema, a$ as ShowWhen, b0 as ShowWhenSchema, b1 as SignOffTrainingElementForm, b2 as SignOffTrainingElementFormSchema, b3 as Signature, b4 as SignatureSchema, b6 as StoreSyllabusForm, b7 as StoreSyllabusFormSchema, b8 as SubmissionFile, b9 as SubmissionFileSchema, ba as Syllabus, bb as SyllabusElement, bc as SyllabusElementMutationResult, bd as SyllabusKind, be as SyllabusKindEnum, bf as SyllabusRolloutResult, bg as SyllabusRolloutResultItem, bh as SyllabusRolloutSkippedItem, bk as TemplateSchema, bl as TemplateSchemaSchema, bn as TrainingElement, bo as TrainingElementForm, bp as TrainingElementFormSchema, bq as TrainingElementKind, br as TrainingElementKindEnum, bs as TrainingRecord, bt as TrainingRecordEntry, bu as TrainingRecordEntryInput, bv as TrainingRecordResult, bw as TrainingRecordResultEnum, bx as TrainingRecordStatus, by as TrainingRecordStatusEnum, bz as TrainingSignature, bA as TrainingTemplatePack, bD as UpdateFormTemplateInput, bF as UpdateSyllabusElementForm, bG as UpdateSyllabusElementFormSchema, bH as UpdateSyllabusForm, bI as UpdateSyllabusFormSchema, bJ as UpsertTrainingRecordForm, bK as UpsertTrainingRecordFormSchema, bL as UsedByCourse, bQ as activitySchema, bR as addressSchema, bS as aircraftPositionSchema, bT as aircraftRatingSchema, bU as airplaneIssueSchema, bV as airplaneIssueSeverityEnum, bW as airplaneIssueStatusEnum, bX as airplanePermissionSchema, bY as airplaneSchema, bZ as airplaneShareInviteSchema, b_ as airportSchema, b$ as alertSchema, c0 as allowedDocumentTypeSchema, c1 as approachTypeSchema, c2 as availSchema, c3 as baseMembershipSchema, c4 as billingProfileSchema, c5 as bookingSchema, c6 as bookingWaypointSchema, c7 as commentSchema, c8 as companyIdentitySchema, c9 as companySchema, ca as contactAttributeSchema, cb as conversationKindSchema, cc as conversationMessageSchema, cd as conversationMessageSentEventSchema, ce as conversationParticipantSchema, cf as conversationReadEventSchema, cg as conversationRecipientSchema, ch as conversationSchema, ci as conversationUnreadSummarySchema, cj as courseCheckSyllabusSchema, ck as courseEnrollmentMetricsSchema, cl as courseEnrollmentSchema, cm as courseFeeSchema, cn as courseSchema, co as createSyllabusFromTemplateResultSchema, cp as documentComplianceStatus, cq as documentRequirement, cr as documentRequirementGroup, cs as documentRequirementGroupAssignment, ct as documentSchema, cu as documentShareSchema, cv as documentType, cw as enrollmentTrainingElementSchema, cx as eventSchema, cy as expenseItemSchema, cz as expenseSchema, cA as extendedAirplaneSchema, cB as fboAcceptanceAxisSchema, cC as fboAcceptanceStatusSchema, cD as fboActivityCauserSchema, cE as fboActivityChangesSchema, cF as fboActivitySchema, cG as fboCompanyGrantInputSchema, cH as fboCompanyGrantSchema, cI as fboCompanyMemberSchema, cJ as fboCompanyProfileSchema, cK as fboCompanySchema, cL as fboDecisionAxisSchema, cM as fboDecisionInputSchema, cN as fboDecisionSchema, cO as fboDutyAffectedSchema, cP as fboDutySchema, cQ as fboDutySeriesResponseSchema, cR as fboFlightCanSchema, cS as fboFlightDocumentSchema, cT as fboFlightSchema, cU as fboFlightStatusSchema, cV as fboFlightTypeSchema, cW as fboGrantAbilityOptionSchema, cX as fboGrantAbilitySchema, cY as fboGrantCompanyRefSchema, cZ as fboGroundServicesSchema, c_ as fboLandingsSummarySchema, c$ as fboMaterialiseResultSchema, d0 as fboMetaSchema, d1 as fboNextDutySchema, d2 as fboOccupationSchema, d3 as fboOperationsSchema, d4 as fboPersonSchema, d5 as fboPobSchema, d6 as fboRecurrenceSchema, d7 as fboRecurrenceTypeSchema, d8 as fboRecurringFlightSchema, d9 as fboRoleSchema, da as fboRowCanSchema, db as fboStatisticsSchema, dc as fboSystemRoleSchema, dd as fboTrafficLayerInputSchema, de as fboTrafficRowSchema, df as fboTrafficRowTypeSchema, dg as fboTrafficSourceSchema, dh as fboVisibilitySchema, di as fboWeeklyLandingSchema, dj as feeCategoryOptionsSchema, dk as feeSchema, dl as flightLogSchema, dm as flightRequestAvailabilitySchema, dn as flightRequestBusyIntervalSchema, dp as flightRequestResponseSchema, dq as flightRequestResponseStatusSchema, dr as flightRequestSchema, ds as flightRequestSeatSchema, dt as flightRequestStatusSchema, du as flightRequestWindowSchema, dv as fuelUnitSchema, dw as gradeHistoryItemSchema, dx as gradingScalePointSchema, dy as gradingScaleSchema, dz as impersonationParticipantSchema, dA as impersonationStateSchema, dB as invalidateTrainingRecordResponseSchema, dC as invoiceSchema, dD as landingFeeSchema, dE as landingSchema, dF as maintenanceEventEstimationSchema, dG as maintenanceEventSchema, dH as maintenanceStatusSchema, dI as mediaCollection, dJ as mediaSchema, dK as membershipIdentitySchema, dL as membershipSchema, dM as membershipSignupSchema, dN as nestedMembershipSchema, dO as postSchema, dP as postSubjectSchema, dQ as prePaidPackageAssignmentSchema, dR as prePaidPackageSchema, dS as priceSchema, dT as qualificationSchema, dU as recurringFlightSchema, dV as roleSchema, dW as runwaySchema, dX as scheduledFlightSchema, dY as settingSchema, dZ as specialFlightSchema, d_ as syllabusElementMutationResultSchema, d$ as syllabusElementSchema, e0 as syllabusRolloutResultItemSchema, e1 as syllabusRolloutResultSchema, e2 as syllabusRolloutSkippedItemSchema, e3 as syllabusSchema, e4 as tagSchema, e5 as teachingPermissionSchema, e6 as ticketSchema, e7 as trainingElementSchema, e8 as trainingRecordEntryInputSchema, e9 as trainingRecordEntrySchema, ea as trainingRecordSchema, eb as trainingSignatureSchema, ec as trainingTemplatePackSchema, ed as usedByCourseSchema, ee as userAircraftRatingSchema, ef as userQualificationSchema, eg as userSchema, eh as waypointSchema, ei as zContactDTO, ej as zMoneyObject, ek as zNetGross, el as zNullableBool } from '../conversation-Cu7FKh3Y.js';
3
3
  import { z } from 'zod';
4
4
 
5
5
  declare enum FaqStatus {
@@ -30,26 +30,26 @@ declare const FaqSchema: z.ZodObject<{
30
30
  name: z.ZodNullable<z.ZodString>;
31
31
  email: z.ZodNullable<z.ZodString>;
32
32
  }, "strip", z.ZodTypeAny, {
33
- id: number;
34
33
  name: string | null;
35
34
  email: string | null;
36
- }, {
37
35
  id: number;
36
+ }, {
38
37
  name: string | null;
39
38
  email: string | null;
39
+ id: number;
40
40
  }>>>;
41
41
  reviewer: z.ZodOptional<z.ZodNullable<z.ZodObject<{
42
42
  id: z.ZodNumber;
43
43
  name: z.ZodNullable<z.ZodString>;
44
44
  email: z.ZodNullable<z.ZodString>;
45
45
  }, "strip", z.ZodTypeAny, {
46
- id: number;
47
46
  name: string | null;
48
47
  email: string | null;
49
- }, {
50
48
  id: number;
49
+ }, {
51
50
  name: string | null;
52
51
  email: string | null;
52
+ id: number;
53
53
  }>>>;
54
54
  is_pending: z.ZodOptional<z.ZodBoolean>;
55
55
  is_user_submitted: z.ZodOptional<z.ZodBoolean>;
@@ -73,9 +73,9 @@ declare const FaqSchema: z.ZodObject<{
73
73
  submit?: boolean | undefined;
74
74
  }>>;
75
75
  }, "strip", z.ZodTypeAny, {
76
- id: number;
77
76
  type: "faq";
78
77
  status: "pending" | "approved" | "rejected";
78
+ id: number;
79
79
  created_at: string;
80
80
  updated_at: string;
81
81
  is_active: boolean;
@@ -98,21 +98,21 @@ declare const FaqSchema: z.ZodObject<{
98
98
  submit?: boolean | undefined;
99
99
  } | undefined;
100
100
  submitter?: {
101
- id: number;
102
101
  name: string | null;
103
102
  email: string | null;
103
+ id: number;
104
104
  } | null | undefined;
105
105
  reviewer?: {
106
- id: number;
107
106
  name: string | null;
108
107
  email: string | null;
108
+ id: number;
109
109
  } | null | undefined;
110
110
  is_pending?: boolean | undefined;
111
111
  is_user_submitted?: boolean | undefined;
112
112
  }, {
113
- id: number;
114
113
  type: "faq";
115
114
  status: "pending" | "approved" | "rejected";
115
+ id: number;
116
116
  created_at: string;
117
117
  updated_at: string;
118
118
  is_active: boolean;
@@ -135,14 +135,14 @@ declare const FaqSchema: z.ZodObject<{
135
135
  submit?: boolean | undefined;
136
136
  } | undefined;
137
137
  submitter?: {
138
- id: number;
139
138
  name: string | null;
140
139
  email: string | null;
140
+ id: number;
141
141
  } | null | undefined;
142
142
  reviewer?: {
143
- id: number;
144
143
  name: string | null;
145
144
  email: string | null;
145
+ id: number;
146
146
  } | null | undefined;
147
147
  is_pending?: boolean | undefined;
148
148
  is_user_submitted?: boolean | undefined;
@@ -215,21 +215,21 @@ declare const SafetyReportCategorySchema: z.ZodObject<{
215
215
  created_at: z.ZodOptional<z.ZodString>;
216
216
  updated_at: z.ZodOptional<z.ZodString>;
217
217
  }, "strip", z.ZodTypeAny, {
218
- sort_order: number;
219
- id: number;
220
218
  name: string;
219
+ id: number;
221
220
  description: string | null;
222
221
  is_active: boolean;
222
+ sort_order: number;
223
223
  color: string;
224
224
  created_at?: string | undefined;
225
225
  updated_at?: string | undefined;
226
226
  is_global?: boolean | undefined;
227
227
  }, {
228
- sort_order: number;
229
- id: number;
230
228
  name: string;
229
+ id: number;
231
230
  description: string | null;
232
231
  is_active: boolean;
232
+ sort_order: number;
233
233
  color: string;
234
234
  created_at?: string | undefined;
235
235
  updated_at?: string | undefined;
@@ -244,15 +244,15 @@ declare const SafetyReportCategoryFormSchema: z.ZodObject<{
244
244
  is_active: z.ZodOptional<z.ZodBoolean>;
245
245
  }, "strip", z.ZodTypeAny, {
246
246
  name: string;
247
- sort_order?: number | undefined;
248
247
  description?: string | null | undefined;
249
248
  is_active?: boolean | undefined;
249
+ sort_order?: number | undefined;
250
250
  color?: string | null | undefined;
251
251
  }, {
252
252
  name: string;
253
- sort_order?: number | undefined;
254
253
  description?: string | null | undefined;
255
254
  is_active?: boolean | undefined;
255
+ sort_order?: number | undefined;
256
256
  color?: string | null | undefined;
257
257
  }>;
258
258
  type SafetyReportCategoryForm = z.infer<typeof SafetyReportCategoryFormSchema>;
@@ -294,21 +294,21 @@ declare const SafetyReportSchema: z.ZodObject<{
294
294
  created_at: z.ZodOptional<z.ZodString>;
295
295
  updated_at: z.ZodOptional<z.ZodString>;
296
296
  }, "strip", z.ZodTypeAny, {
297
- sort_order: number;
298
- id: number;
299
297
  name: string;
298
+ id: number;
300
299
  description: string | null;
301
300
  is_active: boolean;
301
+ sort_order: number;
302
302
  color: string;
303
303
  created_at?: string | undefined;
304
304
  updated_at?: string | undefined;
305
305
  is_global?: boolean | undefined;
306
306
  }, {
307
- sort_order: number;
308
- id: number;
309
307
  name: string;
308
+ id: number;
310
309
  description: string | null;
311
310
  is_active: boolean;
311
+ sort_order: number;
312
312
  color: string;
313
313
  created_at?: string | undefined;
314
314
  updated_at?: string | undefined;
@@ -338,8 +338,8 @@ declare const SafetyReportSchema: z.ZodObject<{
338
338
  updated_at: z.ZodString;
339
339
  can: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
340
340
  }, "strip", z.ZodTypeAny, {
341
- id: number;
342
341
  status: "closed" | "new" | "under_review" | "action_taken";
342
+ id: number;
343
343
  created_at: string;
344
344
  updated_at: string;
345
345
  description: string;
@@ -348,11 +348,11 @@ declare const SafetyReportSchema: z.ZodObject<{
348
348
  location: string | null;
349
349
  can?: Record<string, boolean> | undefined;
350
350
  category?: {
351
- sort_order: number;
352
- id: number;
353
351
  name: string;
352
+ id: number;
354
353
  description: string | null;
355
354
  is_active: boolean;
355
+ sort_order: number;
356
356
  color: string;
357
357
  created_at?: string | undefined;
358
358
  updated_at?: string | undefined;
@@ -367,8 +367,8 @@ declare const SafetyReportSchema: z.ZodObject<{
367
367
  }[] | undefined;
368
368
  attachments_count?: number | undefined;
369
369
  }, {
370
- id: number;
371
370
  status: "closed" | "new" | "under_review" | "action_taken";
371
+ id: number;
372
372
  created_at: string;
373
373
  updated_at: string;
374
374
  description: string;
@@ -377,11 +377,11 @@ declare const SafetyReportSchema: z.ZodObject<{
377
377
  location: string | null;
378
378
  can?: Record<string, boolean> | undefined;
379
379
  category?: {
380
- sort_order: number;
381
- id: number;
382
380
  name: string;
381
+ id: number;
383
382
  description: string | null;
384
383
  is_active: boolean;
384
+ sort_order: number;
385
385
  color: string;
386
386
  created_at?: string | undefined;
387
387
  updated_at?: string | undefined;
@@ -416,21 +416,21 @@ declare const SafetyReportListResponseSchema: z.ZodObject<{
416
416
  created_at: z.ZodOptional<z.ZodString>;
417
417
  updated_at: z.ZodOptional<z.ZodString>;
418
418
  }, "strip", z.ZodTypeAny, {
419
- sort_order: number;
420
- id: number;
421
419
  name: string;
420
+ id: number;
422
421
  description: string | null;
423
422
  is_active: boolean;
423
+ sort_order: number;
424
424
  color: string;
425
425
  created_at?: string | undefined;
426
426
  updated_at?: string | undefined;
427
427
  is_global?: boolean | undefined;
428
428
  }, {
429
- sort_order: number;
430
- id: number;
431
429
  name: string;
430
+ id: number;
432
431
  description: string | null;
433
432
  is_active: boolean;
433
+ sort_order: number;
434
434
  color: string;
435
435
  created_at?: string | undefined;
436
436
  updated_at?: string | undefined;
@@ -460,8 +460,8 @@ declare const SafetyReportListResponseSchema: z.ZodObject<{
460
460
  updated_at: z.ZodString;
461
461
  can: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
462
462
  }, "strip", z.ZodTypeAny, {
463
- id: number;
464
463
  status: "closed" | "new" | "under_review" | "action_taken";
464
+ id: number;
465
465
  created_at: string;
466
466
  updated_at: string;
467
467
  description: string;
@@ -470,11 +470,11 @@ declare const SafetyReportListResponseSchema: z.ZodObject<{
470
470
  location: string | null;
471
471
  can?: Record<string, boolean> | undefined;
472
472
  category?: {
473
- sort_order: number;
474
- id: number;
475
473
  name: string;
474
+ id: number;
476
475
  description: string | null;
477
476
  is_active: boolean;
477
+ sort_order: number;
478
478
  color: string;
479
479
  created_at?: string | undefined;
480
480
  updated_at?: string | undefined;
@@ -489,8 +489,8 @@ declare const SafetyReportListResponseSchema: z.ZodObject<{
489
489
  }[] | undefined;
490
490
  attachments_count?: number | undefined;
491
491
  }, {
492
- id: number;
493
492
  status: "closed" | "new" | "under_review" | "action_taken";
493
+ id: number;
494
494
  created_at: string;
495
495
  updated_at: string;
496
496
  description: string;
@@ -499,11 +499,11 @@ declare const SafetyReportListResponseSchema: z.ZodObject<{
499
499
  location: string | null;
500
500
  can?: Record<string, boolean> | undefined;
501
501
  category?: {
502
- sort_order: number;
503
- id: number;
504
502
  name: string;
503
+ id: number;
505
504
  description: string | null;
506
505
  is_active: boolean;
506
+ sort_order: number;
507
507
  color: string;
508
508
  created_at?: string | undefined;
509
509
  updated_at?: string | undefined;
@@ -558,8 +558,8 @@ declare const SafetyReportListResponseSchema: z.ZodObject<{
558
558
  }>>;
559
559
  }, "strip", z.ZodTypeAny, {
560
560
  data: {
561
- id: number;
562
561
  status: "closed" | "new" | "under_review" | "action_taken";
562
+ id: number;
563
563
  created_at: string;
564
564
  updated_at: string;
565
565
  description: string;
@@ -568,11 +568,11 @@ declare const SafetyReportListResponseSchema: z.ZodObject<{
568
568
  location: string | null;
569
569
  can?: Record<string, boolean> | undefined;
570
570
  category?: {
571
- sort_order: number;
572
- id: number;
573
571
  name: string;
572
+ id: number;
574
573
  description: string | null;
575
574
  is_active: boolean;
575
+ sort_order: number;
576
576
  color: string;
577
577
  created_at?: string | undefined;
578
578
  updated_at?: string | undefined;
@@ -603,8 +603,8 @@ declare const SafetyReportListResponseSchema: z.ZodObject<{
603
603
  } | undefined;
604
604
  }, {
605
605
  data: {
606
- id: number;
607
606
  status: "closed" | "new" | "under_review" | "action_taken";
607
+ id: number;
608
608
  created_at: string;
609
609
  updated_at: string;
610
610
  description: string;
@@ -613,11 +613,11 @@ declare const SafetyReportListResponseSchema: z.ZodObject<{
613
613
  location: string | null;
614
614
  can?: Record<string, boolean> | undefined;
615
615
  category?: {
616
- sort_order: number;
617
- id: number;
618
616
  name: string;
617
+ id: number;
619
618
  description: string | null;
620
619
  is_active: boolean;
620
+ sort_order: number;
621
621
  color: string;
622
622
  created_at?: string | undefined;
623
623
  updated_at?: string | undefined;
@@ -722,225 +722,135 @@ type SafetyReportSubmissionResponse = z.infer<typeof SafetyReportSubmissionRespo
722
722
  declare const SAFETY_REPORT_STATUS_LABELS: Record<SafetyReportStatus, string>;
723
723
  declare const SAFETY_REPORT_STATUS_COLORS: Record<SafetyReportStatus, string>;
724
724
 
725
- type ReportStatus = "pending" | "processing" | "completed" | "failed";
726
- type ReportType = "financial" | "operational" | "instructor_efficiency" | "company_development";
727
- type ReportGranularity = "total" | "yearly" | "quarterly" | "monthly" | "weekly" | "daily";
728
- interface Media {
729
- type: "media";
730
- id: number;
731
- description?: string;
732
- url: string | null;
733
- mime_type: string;
734
- file_name: string;
735
- size: number;
736
- collection_name: string;
737
- created_at: string;
738
- updated_at: string;
739
- }
740
- interface ReportMedia {
741
- pdf?: Media | null;
742
- }
743
- interface Report {
744
- id: number;
745
- reportable_type: string;
746
- reportable_id: number;
747
- report_type: ReportType;
748
- parameters: ReportParameters;
749
- data: ReportData;
750
- metadata: ReportMetadata;
751
- status: ReportStatus;
752
- generated_at: string | null;
753
- expires_at: string | null;
754
- created_at: string;
755
- updated_at: string;
756
- media?: ReportMedia;
725
+ type ReportStatus = "queued" | "processing" | "completed" | "failed";
726
+ type ReportType = "financial" | "operations" | "training" | "development";
727
+ type ReportGranularity = "total" | "weekly" | "monthly" | "quarterly" | "yearly";
728
+ type ReportValueFormat = "number" | "currency" | "percent" | "hours" | "date" | "text" | "label";
729
+ type ReportChartKind = "line" | "bar" | "stacked_bar" | "donut";
730
+ type ReportCellValue = string | number | null;
731
+ interface ReportComparison {
732
+ current: number | null;
733
+ previous: number | null;
734
+ previous_year: number | null;
735
+ /** Percent delta vs the previous period; null without a usable baseline. */
736
+ delta_previous: number | null;
737
+ delta_previous_year: number | null;
757
738
  }
758
- interface ReportParameters {
759
- start_date?: string | null;
760
- end_date?: string | null;
761
- granularity: ReportGranularity;
762
- }
763
- interface ReportGenerationParams {
764
- type: ReportType;
765
- start_date?: string | null;
766
- end_date?: string | null;
767
- granularity?: ReportGranularity;
768
- }
769
- interface ReportMetadata {
770
- requested_by?: number;
771
- requested_at?: string;
772
- started_at?: string;
773
- completed_at?: string;
774
- duration_seconds?: number;
775
- attempt?: number;
776
- error?: string;
777
- batch?: boolean;
778
- }
779
- interface PeriodData<T> {
780
- summary: T;
781
- by_period?: Record<string, T>;
782
- }
783
- type ReportData = FinancialReportData | OperationalReportData | InstructorEfficiencyReportData | CompanyDevelopmentReportData;
784
- interface FinancialReportData {
785
- revenue: PeriodData<RevenueData>;
786
- expenses: PeriodData<ExpenseData>;
787
- invoices: PeriodData<InvoiceData>;
788
- prepaid_packages: PeriodData<PrepaidPackageData>;
789
- summary: PeriodData<FinancialSummaryData>;
790
- }
791
- interface RevenueData {
792
- total_gross: number;
793
- total_net: number;
794
- by_type: Record<string, number>;
795
- count?: number;
796
- }
797
- interface ExpenseData {
798
- total_gross: number;
799
- total_net: number;
800
- by_category: Record<string, number>;
801
- count?: number;
739
+ interface ReportKpi {
740
+ /** Translation key (see `ReportDetail.labels`). */
741
+ label: string;
742
+ value: number | null;
743
+ format: ReportValueFormat;
744
+ comparison: ReportComparison | null;
802
745
  }
803
- interface InvoiceData {
804
- total_count: number;
805
- total_gross: number;
806
- by_status: Record<string, number>;
807
- by_paid_status: Record<string, number>;
746
+ interface ReportKpiGridSection {
747
+ kind: "kpi_grid";
748
+ title: string;
749
+ items: ReportKpi[];
808
750
  }
809
- interface PrepaidPackageData {
810
- total_packages: number;
811
- total_initial_value: number;
812
- total_remaining_value: number;
813
- total_used_value: number;
814
- usage_percentage: number;
751
+ interface ReportColumn {
752
+ key: string;
753
+ label: string;
754
+ format: ReportValueFormat;
755
+ align: "left" | "right";
815
756
  }
816
- interface FinancialSummaryData {
817
- total_revenue: number;
818
- total_expenses: number;
819
- profit: number;
820
- profit_margin: number;
757
+ interface ReportDataTableSection {
758
+ kind: "data_table";
759
+ title: string;
760
+ columns: ReportColumn[];
761
+ rows: Record<string, ReportCellValue>[];
762
+ totals: Record<string, ReportCellValue> | null;
763
+ /** Translation key shown when `rows` is empty. */
764
+ empty: string | null;
821
765
  }
822
- interface OperationalReportData {
823
- flight_hours: FlightHoursData;
824
- bookings: BookingsData;
825
- landings: LandingsData;
826
- aircraft_utilization: AircraftUtilization[];
827
- member_activity: MemberActivityData;
766
+ interface ReportSeries {
767
+ label: string;
768
+ data: (number | null)[];
828
769
  }
829
- interface FlightHoursData {
830
- total_hours: number;
831
- total_flights: number;
832
- average_flight_hours: number;
833
- by_month?: Record<string, number>;
834
- by_period?: Record<string, {
835
- hours: number;
836
- flights: number;
837
- average: number;
838
- }>;
770
+ interface ReportChartSection {
771
+ kind: "chart";
772
+ title: string;
773
+ chart: ReportChartKind;
774
+ /** Axis labels, or slice labels for a donut; may be translation keys. */
775
+ categories: string[];
776
+ series: ReportSeries[];
777
+ format: ReportValueFormat;
839
778
  }
840
- interface BookingsData {
841
- total_bookings: number;
842
- completion_rate: number;
843
- average_efficiency: number;
844
- by_status: Record<string, number>;
845
- by_period?: Record<string, {
846
- total: number;
847
- completed: number;
848
- cancelled: number;
849
- }>;
779
+ interface ReportCalloutSection {
780
+ kind: "callout";
781
+ text: string;
782
+ params: Record<string, string | number | boolean>;
783
+ tone: "info" | "warning";
850
784
  }
851
- interface LandingsData {
852
- total_landings: number;
853
- full_stop_landings: number;
854
- touch_and_gos: number;
855
- top_airports: Array<{
856
- airport_code: string;
857
- airport_name: string;
858
- count: number;
859
- }>;
785
+ type ReportSection = ReportKpiGridSection | ReportDataTableSection | ReportChartSection | ReportCalloutSection;
786
+ interface ReportParameters {
787
+ /** Local calendar date (Y-m-d) in `timezone`. */
788
+ start_date: string;
789
+ end_date: string;
790
+ granularity: ReportGranularity;
791
+ timezone: string;
860
792
  }
861
- interface AircraftUtilization {
862
- aircraft_id: number;
863
- aircraft_registration: string;
864
- aircraft_name: string;
865
- total_hours: number;
866
- total_bookings: number;
867
- utilization_rate: number;
793
+ interface ReportDocument {
794
+ version: number;
795
+ type: ReportType;
796
+ company_id: number;
797
+ period: ReportParameters;
798
+ locale: string;
799
+ sections: ReportSection[];
868
800
  }
869
- interface MemberActivityData {
870
- top_pilots: Array<{
871
- member_id: number;
872
- member_name: string;
873
- flight_hours: number;
874
- booking_count: number;
875
- }>;
876
- total_active_members: number;
801
+ interface ReportRequester {
802
+ id: number;
803
+ name: string;
877
804
  }
878
- interface InstructorEfficiencyReportData {
879
- instructors: InstructorData[];
880
- summary: InstructorSummaryData;
881
- period: {
882
- start_date: string;
883
- end_date: string;
805
+ /** Identity tier — what the list shows; never carries the section document. */
806
+ interface Report {
807
+ type: "report";
808
+ id: number;
809
+ report_type: ReportType;
810
+ status: ReportStatus;
811
+ parameters: ReportParameters;
812
+ locale: string;
813
+ error: string | null;
814
+ generated_at: string | null;
815
+ created_at: string | null;
816
+ requested_by?: ReportRequester | null;
817
+ background_task_uuid?: string | null;
818
+ media?: {
819
+ pdf: Media | null;
884
820
  };
821
+ can?: Record<string, boolean | null>;
885
822
  }
886
- interface InstructorData {
887
- instructor_id: number;
888
- instructor_name: string;
889
- instructor_email: string;
890
- total_bookings: number;
891
- average_efficiency: number;
892
- average_delay_minutes: number;
893
- total_flight_hours: number;
894
- bookings_with_efficiency: number;
895
- by_period?: Record<string, {
896
- bookings: number;
897
- efficiency: number;
898
- delay: number;
899
- hours: number;
900
- }>;
823
+ interface ReportDetail extends Report {
824
+ data: ReportDocument | null;
825
+ /** Translation key → text in the report's locale, for every key the document uses. */
826
+ labels: Record<string, string>;
901
827
  }
902
- interface InstructorSummaryData {
903
- total_instructors: number;
904
- average_efficiency_overall: number;
905
- average_delay_overall: number;
906
- total_bookings_overall: number;
907
- total_flight_hours_overall: number;
908
- best_performer: {
909
- name: string;
910
- efficiency: number;
911
- };
828
+ interface ReportTypeMeta {
829
+ type: ReportType;
830
+ title: string;
831
+ description: string;
912
832
  }
913
- interface CompanyDevelopmentReportData {
914
- summary?: Record<string, any>;
915
- metrics?: Record<string, any>;
916
- by_period?: Record<string, any>;
833
+ interface ReportGranularityMeta {
834
+ value: ReportGranularity;
835
+ label: string;
917
836
  }
918
- interface ReportListItem {
919
- id: number;
837
+ /** `GET companies/{company}/meta/reports` */
838
+ interface ReportMeta {
839
+ types: ReportTypeMeta[];
840
+ granularities: ReportGranularityMeta[];
841
+ max_buckets: number;
842
+ }
843
+ /** `POST companies/{company}/reports` */
844
+ interface StoreReportInput {
920
845
  type: ReportType;
921
- status: ReportStatus;
922
- created_at: string;
923
- generated_at: string | null;
924
- parameters: ReportParameters;
846
+ start_date: string;
847
+ end_date: string;
848
+ granularity?: ReportGranularity;
925
849
  }
926
- interface ReportGenerationResponse {
850
+ /** 409 body when an identical report is already queued or processing. */
851
+ interface ReportConflictResponse {
927
852
  message: string;
928
- data?: Report | Report[];
929
- skipped?: Array<{
930
- type: ReportType;
931
- message: string;
932
- report: Report;
933
- }>;
934
- }
935
- interface ReportStatusResponse {
936
- data: {
937
- id: number;
938
- status: ReportStatus;
939
- report_type: ReportType;
940
- created_at: string;
941
- generated_at: string | null;
942
- metadata: ReportMetadata;
943
- };
853
+ data: Report;
944
854
  }
945
855
 
946
856
  declare const CourseMilestoneKindEnum: z.ZodEnum<["progress", "solo", "cross_country", "theory", "practical", "prerequisite", "custom"]>;
@@ -979,10 +889,10 @@ declare const courseMilestoneSchema: z.ZodObject<{
979
889
  delete?: boolean | null | undefined;
980
890
  }>>;
981
891
  }, "strip", z.ZodTypeAny, {
982
- sort_order: number;
983
- id: number;
984
892
  name: string;
893
+ id: number;
985
894
  kind: string;
895
+ sort_order: number;
986
896
  course_id: number;
987
897
  is_prerequisite: boolean;
988
898
  type?: "courseMilestone" | undefined;
@@ -1000,10 +910,10 @@ declare const courseMilestoneSchema: z.ZodObject<{
1000
910
  } | null | undefined;
1001
911
  completion_rule?: Record<string, unknown> | null | undefined;
1002
912
  }, {
1003
- sort_order: number;
1004
- id: number;
1005
913
  name: string;
914
+ id: number;
1006
915
  kind: string;
916
+ sort_order: number;
1007
917
  course_id: number;
1008
918
  is_prerequisite: boolean;
1009
919
  type?: "courseMilestone" | undefined;
@@ -1034,15 +944,15 @@ declare const CourseMilestoneFormSchema: z.ZodObject<{
1034
944
  name: string;
1035
945
  kind: string;
1036
946
  is_prerequisite: boolean;
1037
- sort_order?: number | undefined;
1038
947
  description?: string | null | undefined;
948
+ sort_order?: number | undefined;
1039
949
  requires_form_template_id?: number | null | undefined;
1040
950
  completion_rule?: Record<string, unknown> | null | undefined;
1041
951
  }, {
1042
952
  name: string;
1043
- sort_order?: number | undefined;
1044
953
  description?: string | null | undefined;
1045
954
  kind?: string | undefined;
955
+ sort_order?: number | undefined;
1046
956
  is_prerequisite?: boolean | undefined;
1047
957
  requires_form_template_id?: number | null | undefined;
1048
958
  completion_rule?: Record<string, unknown> | null | undefined;
@@ -1087,10 +997,10 @@ declare const courseEnrollmentMilestoneSchema: z.ZodObject<{
1087
997
  delete?: boolean | null | undefined;
1088
998
  }>>;
1089
999
  }, "strip", z.ZodTypeAny, {
1090
- sort_order: number;
1091
- id: number;
1092
1000
  name: string;
1001
+ id: number;
1093
1002
  kind: string;
1003
+ sort_order: number;
1094
1004
  course_id: number;
1095
1005
  is_prerequisite: boolean;
1096
1006
  type?: "courseMilestone" | undefined;
@@ -1108,10 +1018,10 @@ declare const courseEnrollmentMilestoneSchema: z.ZodObject<{
1108
1018
  } | null | undefined;
1109
1019
  completion_rule?: Record<string, unknown> | null | undefined;
1110
1020
  }, {
1111
- sort_order: number;
1112
- id: number;
1113
1021
  name: string;
1022
+ id: number;
1114
1023
  kind: string;
1024
+ sort_order: number;
1115
1025
  course_id: number;
1116
1026
  is_prerequisite: boolean;
1117
1027
  type?: "courseMilestone" | undefined;
@@ -1177,10 +1087,10 @@ declare const courseEnrollmentMilestoneSchema: z.ZodObject<{
1177
1087
  } | undefined;
1178
1088
  notes?: string | null | undefined;
1179
1089
  milestone?: {
1180
- sort_order: number;
1181
- id: number;
1182
1090
  name: string;
1091
+ id: number;
1183
1092
  kind: string;
1093
+ sort_order: number;
1184
1094
  course_id: number;
1185
1095
  is_prerequisite: boolean;
1186
1096
  type?: "courseMilestone" | undefined;
@@ -1219,10 +1129,10 @@ declare const courseEnrollmentMilestoneSchema: z.ZodObject<{
1219
1129
  } | undefined;
1220
1130
  notes?: string | null | undefined;
1221
1131
  milestone?: {
1222
- sort_order: number;
1223
- id: number;
1224
1132
  name: string;
1133
+ id: number;
1225
1134
  kind: string;
1135
+ sort_order: number;
1226
1136
  course_id: number;
1227
1137
  is_prerequisite: boolean;
1228
1138
  type?: "courseMilestone" | undefined;
@@ -1262,14 +1172,14 @@ declare const equipmentSchema: z.ZodObject<{
1262
1172
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1263
1173
  manual_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1264
1174
  }, "strip", z.ZodTypeAny, {
1265
- id: number;
1266
1175
  name: string;
1176
+ id: number;
1267
1177
  type?: "equipment" | undefined;
1268
1178
  description?: string | null | undefined;
1269
1179
  manual_url?: string | null | undefined;
1270
1180
  }, {
1271
- id: number;
1272
1181
  name: string;
1182
+ id: number;
1273
1183
  type?: "equipment" | undefined;
1274
1184
  description?: string | null | undefined;
1275
1185
  manual_url?: string | null | undefined;
@@ -1312,13 +1222,13 @@ declare const HeadingBlockSchema: z.ZodObject<{
1312
1222
  key: string;
1313
1223
  text: string;
1314
1224
  level: number;
1315
- align?: "left" | "center" | "right" | undefined;
1225
+ align?: "left" | "right" | "center" | undefined;
1316
1226
  }, {
1317
1227
  type: NewsletterBlockType.Heading;
1318
1228
  key: string;
1319
1229
  text: string;
1320
1230
  level?: number | undefined;
1321
- align?: "left" | "center" | "right" | undefined;
1231
+ align?: "left" | "right" | "center" | undefined;
1322
1232
  }>;
1323
1233
  declare const ParagraphBlockSchema: z.ZodObject<{
1324
1234
  key: z.ZodString;
@@ -1329,12 +1239,12 @@ declare const ParagraphBlockSchema: z.ZodObject<{
1329
1239
  type: NewsletterBlockType.Paragraph;
1330
1240
  key: string;
1331
1241
  doc: TipTapNode;
1332
- align?: "left" | "center" | "right" | undefined;
1242
+ align?: "left" | "right" | "center" | undefined;
1333
1243
  }, {
1334
1244
  type: NewsletterBlockType.Paragraph;
1335
1245
  key: string;
1336
1246
  doc: TipTapNode;
1337
- align?: "left" | "center" | "right" | undefined;
1247
+ align?: "left" | "right" | "center" | undefined;
1338
1248
  }>;
1339
1249
  declare const ButtonBlockSchema: z.ZodObject<{
1340
1250
  key: z.ZodString;
@@ -1349,14 +1259,14 @@ declare const ButtonBlockSchema: z.ZodObject<{
1349
1259
  key: string;
1350
1260
  label: string;
1351
1261
  color?: string | undefined;
1352
- align?: "left" | "center" | "right" | undefined;
1262
+ align?: "left" | "right" | "center" | undefined;
1353
1263
  }, {
1354
1264
  type: NewsletterBlockType.Button;
1355
1265
  url: string;
1356
1266
  key: string;
1357
1267
  label: string;
1358
1268
  color?: string | undefined;
1359
- align?: "left" | "center" | "right" | undefined;
1269
+ align?: "left" | "right" | "center" | undefined;
1360
1270
  }>;
1361
1271
  declare const DividerBlockSchema: z.ZodObject<{
1362
1272
  key: z.ZodString;
@@ -1385,13 +1295,13 @@ declare const NewsletterBlockSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1385
1295
  key: string;
1386
1296
  text: string;
1387
1297
  level: number;
1388
- align?: "left" | "center" | "right" | undefined;
1298
+ align?: "left" | "right" | "center" | undefined;
1389
1299
  }, {
1390
1300
  type: NewsletterBlockType.Heading;
1391
1301
  key: string;
1392
1302
  text: string;
1393
1303
  level?: number | undefined;
1394
- align?: "left" | "center" | "right" | undefined;
1304
+ align?: "left" | "right" | "center" | undefined;
1395
1305
  }>, z.ZodObject<{
1396
1306
  key: z.ZodString;
1397
1307
  type: z.ZodLiteral<NewsletterBlockType.Paragraph>;
@@ -1401,12 +1311,12 @@ declare const NewsletterBlockSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1401
1311
  type: NewsletterBlockType.Paragraph;
1402
1312
  key: string;
1403
1313
  doc: TipTapNode;
1404
- align?: "left" | "center" | "right" | undefined;
1314
+ align?: "left" | "right" | "center" | undefined;
1405
1315
  }, {
1406
1316
  type: NewsletterBlockType.Paragraph;
1407
1317
  key: string;
1408
1318
  doc: TipTapNode;
1409
- align?: "left" | "center" | "right" | undefined;
1319
+ align?: "left" | "right" | "center" | undefined;
1410
1320
  }>, z.ZodObject<{
1411
1321
  key: z.ZodString;
1412
1322
  type: z.ZodLiteral<NewsletterBlockType.Button>;
@@ -1420,14 +1330,14 @@ declare const NewsletterBlockSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1420
1330
  key: string;
1421
1331
  label: string;
1422
1332
  color?: string | undefined;
1423
- align?: "left" | "center" | "right" | undefined;
1333
+ align?: "left" | "right" | "center" | undefined;
1424
1334
  }, {
1425
1335
  type: NewsletterBlockType.Button;
1426
1336
  url: string;
1427
1337
  key: string;
1428
1338
  label: string;
1429
1339
  color?: string | undefined;
1430
- align?: "left" | "center" | "right" | undefined;
1340
+ align?: "left" | "right" | "center" | undefined;
1431
1341
  }>, z.ZodObject<{
1432
1342
  key: z.ZodString;
1433
1343
  type: z.ZodLiteral<NewsletterBlockType.Divider>;
@@ -1465,11 +1375,11 @@ declare const NewsletterCategorySchema: z.ZodObject<{
1465
1375
  created_at: z.ZodOptional<z.ZodString>;
1466
1376
  updated_at: z.ZodOptional<z.ZodString>;
1467
1377
  }, "strip", z.ZodTypeAny, {
1468
- sort_order: number;
1469
- id: number;
1470
1378
  name: string;
1379
+ id: number;
1471
1380
  key: string;
1472
1381
  is_active: boolean;
1382
+ sort_order: number;
1473
1383
  is_mandatory: boolean;
1474
1384
  type?: "newsletter_category" | undefined;
1475
1385
  created_at?: string | undefined;
@@ -1478,11 +1388,11 @@ declare const NewsletterCategorySchema: z.ZodObject<{
1478
1388
  default_opt_in?: boolean | undefined;
1479
1389
  is_internal?: boolean | undefined;
1480
1390
  }, {
1481
- sort_order: number;
1482
- id: number;
1483
1391
  name: string;
1392
+ id: number;
1484
1393
  key: string;
1485
1394
  is_active: boolean;
1395
+ sort_order: number;
1486
1396
  is_mandatory: boolean;
1487
1397
  type?: "newsletter_category" | undefined;
1488
1398
  created_at?: string | undefined;
@@ -1504,13 +1414,13 @@ declare const NewsletterTemplateSchemaSchema: z.ZodObject<{
1504
1414
  key: string;
1505
1415
  text: string;
1506
1416
  level: number;
1507
- align?: "left" | "center" | "right" | undefined;
1417
+ align?: "left" | "right" | "center" | undefined;
1508
1418
  }, {
1509
1419
  type: NewsletterBlockType.Heading;
1510
1420
  key: string;
1511
1421
  text: string;
1512
1422
  level?: number | undefined;
1513
- align?: "left" | "center" | "right" | undefined;
1423
+ align?: "left" | "right" | "center" | undefined;
1514
1424
  }>, z.ZodObject<{
1515
1425
  key: z.ZodString;
1516
1426
  type: z.ZodLiteral<NewsletterBlockType.Paragraph>;
@@ -1520,12 +1430,12 @@ declare const NewsletterTemplateSchemaSchema: z.ZodObject<{
1520
1430
  type: NewsletterBlockType.Paragraph;
1521
1431
  key: string;
1522
1432
  doc: TipTapNode;
1523
- align?: "left" | "center" | "right" | undefined;
1433
+ align?: "left" | "right" | "center" | undefined;
1524
1434
  }, {
1525
1435
  type: NewsletterBlockType.Paragraph;
1526
1436
  key: string;
1527
1437
  doc: TipTapNode;
1528
- align?: "left" | "center" | "right" | undefined;
1438
+ align?: "left" | "right" | "center" | undefined;
1529
1439
  }>, z.ZodObject<{
1530
1440
  key: z.ZodString;
1531
1441
  type: z.ZodLiteral<NewsletterBlockType.Button>;
@@ -1539,14 +1449,14 @@ declare const NewsletterTemplateSchemaSchema: z.ZodObject<{
1539
1449
  key: string;
1540
1450
  label: string;
1541
1451
  color?: string | undefined;
1542
- align?: "left" | "center" | "right" | undefined;
1452
+ align?: "left" | "right" | "center" | undefined;
1543
1453
  }, {
1544
1454
  type: NewsletterBlockType.Button;
1545
1455
  url: string;
1546
1456
  key: string;
1547
1457
  label: string;
1548
1458
  color?: string | undefined;
1549
- align?: "left" | "center" | "right" | undefined;
1459
+ align?: "left" | "right" | "center" | undefined;
1550
1460
  }>, z.ZodObject<{
1551
1461
  key: z.ZodString;
1552
1462
  type: z.ZodLiteral<NewsletterBlockType.Divider>;
@@ -1570,19 +1480,19 @@ declare const NewsletterTemplateSchemaSchema: z.ZodObject<{
1570
1480
  key: string;
1571
1481
  text: string;
1572
1482
  level: number;
1573
- align?: "left" | "center" | "right" | undefined;
1483
+ align?: "left" | "right" | "center" | undefined;
1574
1484
  } | {
1575
1485
  type: NewsletterBlockType.Paragraph;
1576
1486
  key: string;
1577
1487
  doc: TipTapNode;
1578
- align?: "left" | "center" | "right" | undefined;
1488
+ align?: "left" | "right" | "center" | undefined;
1579
1489
  } | {
1580
1490
  type: NewsletterBlockType.Button;
1581
1491
  url: string;
1582
1492
  key: string;
1583
1493
  label: string;
1584
1494
  color?: string | undefined;
1585
- align?: "left" | "center" | "right" | undefined;
1495
+ align?: "left" | "right" | "center" | undefined;
1586
1496
  } | {
1587
1497
  type: NewsletterBlockType.Divider;
1588
1498
  key: string;
@@ -1596,19 +1506,19 @@ declare const NewsletterTemplateSchemaSchema: z.ZodObject<{
1596
1506
  key: string;
1597
1507
  text: string;
1598
1508
  level?: number | undefined;
1599
- align?: "left" | "center" | "right" | undefined;
1509
+ align?: "left" | "right" | "center" | undefined;
1600
1510
  } | {
1601
1511
  type: NewsletterBlockType.Paragraph;
1602
1512
  key: string;
1603
1513
  doc: TipTapNode;
1604
- align?: "left" | "center" | "right" | undefined;
1514
+ align?: "left" | "right" | "center" | undefined;
1605
1515
  } | {
1606
1516
  type: NewsletterBlockType.Button;
1607
1517
  url: string;
1608
1518
  key: string;
1609
1519
  label: string;
1610
1520
  color?: string | undefined;
1611
- align?: "left" | "center" | "right" | undefined;
1521
+ align?: "left" | "right" | "center" | undefined;
1612
1522
  } | {
1613
1523
  type: NewsletterBlockType.Divider;
1614
1524
  key: string;
@@ -1640,11 +1550,11 @@ declare const NewsletterTemplateSchema: z.ZodObject<{
1640
1550
  created_at: z.ZodOptional<z.ZodString>;
1641
1551
  updated_at: z.ZodOptional<z.ZodString>;
1642
1552
  }, "strip", z.ZodTypeAny, {
1643
- sort_order: number;
1644
- id: number;
1645
1553
  name: string;
1554
+ id: number;
1646
1555
  key: string;
1647
1556
  is_active: boolean;
1557
+ sort_order: number;
1648
1558
  is_mandatory: boolean;
1649
1559
  type?: "newsletter_category" | undefined;
1650
1560
  created_at?: string | undefined;
@@ -1653,11 +1563,11 @@ declare const NewsletterTemplateSchema: z.ZodObject<{
1653
1563
  default_opt_in?: boolean | undefined;
1654
1564
  is_internal?: boolean | undefined;
1655
1565
  }, {
1656
- sort_order: number;
1657
- id: number;
1658
1566
  name: string;
1567
+ id: number;
1659
1568
  key: string;
1660
1569
  is_active: boolean;
1570
+ sort_order: number;
1661
1571
  is_mandatory: boolean;
1662
1572
  type?: "newsletter_category" | undefined;
1663
1573
  created_at?: string | undefined;
@@ -1683,13 +1593,13 @@ declare const NewsletterTemplateSchema: z.ZodObject<{
1683
1593
  key: string;
1684
1594
  text: string;
1685
1595
  level: number;
1686
- align?: "left" | "center" | "right" | undefined;
1596
+ align?: "left" | "right" | "center" | undefined;
1687
1597
  }, {
1688
1598
  type: NewsletterBlockType.Heading;
1689
1599
  key: string;
1690
1600
  text: string;
1691
1601
  level?: number | undefined;
1692
- align?: "left" | "center" | "right" | undefined;
1602
+ align?: "left" | "right" | "center" | undefined;
1693
1603
  }>, z.ZodObject<{
1694
1604
  key: z.ZodString;
1695
1605
  type: z.ZodLiteral<NewsletterBlockType.Paragraph>;
@@ -1699,12 +1609,12 @@ declare const NewsletterTemplateSchema: z.ZodObject<{
1699
1609
  type: NewsletterBlockType.Paragraph;
1700
1610
  key: string;
1701
1611
  doc: TipTapNode;
1702
- align?: "left" | "center" | "right" | undefined;
1612
+ align?: "left" | "right" | "center" | undefined;
1703
1613
  }, {
1704
1614
  type: NewsletterBlockType.Paragraph;
1705
1615
  key: string;
1706
1616
  doc: TipTapNode;
1707
- align?: "left" | "center" | "right" | undefined;
1617
+ align?: "left" | "right" | "center" | undefined;
1708
1618
  }>, z.ZodObject<{
1709
1619
  key: z.ZodString;
1710
1620
  type: z.ZodLiteral<NewsletterBlockType.Button>;
@@ -1718,14 +1628,14 @@ declare const NewsletterTemplateSchema: z.ZodObject<{
1718
1628
  key: string;
1719
1629
  label: string;
1720
1630
  color?: string | undefined;
1721
- align?: "left" | "center" | "right" | undefined;
1631
+ align?: "left" | "right" | "center" | undefined;
1722
1632
  }, {
1723
1633
  type: NewsletterBlockType.Button;
1724
1634
  url: string;
1725
1635
  key: string;
1726
1636
  label: string;
1727
1637
  color?: string | undefined;
1728
- align?: "left" | "center" | "right" | undefined;
1638
+ align?: "left" | "right" | "center" | undefined;
1729
1639
  }>, z.ZodObject<{
1730
1640
  key: z.ZodString;
1731
1641
  type: z.ZodLiteral<NewsletterBlockType.Divider>;
@@ -1749,19 +1659,19 @@ declare const NewsletterTemplateSchema: z.ZodObject<{
1749
1659
  key: string;
1750
1660
  text: string;
1751
1661
  level: number;
1752
- align?: "left" | "center" | "right" | undefined;
1662
+ align?: "left" | "right" | "center" | undefined;
1753
1663
  } | {
1754
1664
  type: NewsletterBlockType.Paragraph;
1755
1665
  key: string;
1756
1666
  doc: TipTapNode;
1757
- align?: "left" | "center" | "right" | undefined;
1667
+ align?: "left" | "right" | "center" | undefined;
1758
1668
  } | {
1759
1669
  type: NewsletterBlockType.Button;
1760
1670
  url: string;
1761
1671
  key: string;
1762
1672
  label: string;
1763
1673
  color?: string | undefined;
1764
- align?: "left" | "center" | "right" | undefined;
1674
+ align?: "left" | "right" | "center" | undefined;
1765
1675
  } | {
1766
1676
  type: NewsletterBlockType.Divider;
1767
1677
  key: string;
@@ -1775,19 +1685,19 @@ declare const NewsletterTemplateSchema: z.ZodObject<{
1775
1685
  key: string;
1776
1686
  text: string;
1777
1687
  level?: number | undefined;
1778
- align?: "left" | "center" | "right" | undefined;
1688
+ align?: "left" | "right" | "center" | undefined;
1779
1689
  } | {
1780
1690
  type: NewsletterBlockType.Paragraph;
1781
1691
  key: string;
1782
1692
  doc: TipTapNode;
1783
- align?: "left" | "center" | "right" | undefined;
1693
+ align?: "left" | "right" | "center" | undefined;
1784
1694
  } | {
1785
1695
  type: NewsletterBlockType.Button;
1786
1696
  url: string;
1787
1697
  key: string;
1788
1698
  label: string;
1789
1699
  color?: string | undefined;
1790
- align?: "left" | "center" | "right" | undefined;
1700
+ align?: "left" | "right" | "center" | undefined;
1791
1701
  } | {
1792
1702
  type: NewsletterBlockType.Divider;
1793
1703
  key: string;
@@ -1804,12 +1714,12 @@ declare const NewsletterTemplateSchema: z.ZodObject<{
1804
1714
  name: z.ZodString;
1805
1715
  email: z.ZodOptional<z.ZodString>;
1806
1716
  }, "strip", z.ZodTypeAny, {
1807
- id: number;
1808
1717
  name: string;
1718
+ id: number;
1809
1719
  email?: string | undefined;
1810
1720
  }, {
1811
- id: number;
1812
1721
  name: string;
1722
+ id: number;
1813
1723
  email?: string | undefined;
1814
1724
  }>>>;
1815
1725
  can: z.ZodOptional<z.ZodObject<{
@@ -1828,8 +1738,8 @@ declare const NewsletterTemplateSchema: z.ZodObject<{
1828
1738
  created_at: z.ZodOptional<z.ZodString>;
1829
1739
  updated_at: z.ZodOptional<z.ZodString>;
1830
1740
  }, "strip", z.ZodTypeAny, {
1831
- id: number;
1832
1741
  name: string;
1742
+ id: number;
1833
1743
  is_active: boolean;
1834
1744
  company_id: number | null;
1835
1745
  schema_version: number;
@@ -1840,19 +1750,19 @@ declare const NewsletterTemplateSchema: z.ZodObject<{
1840
1750
  key: string;
1841
1751
  text: string;
1842
1752
  level: number;
1843
- align?: "left" | "center" | "right" | undefined;
1753
+ align?: "left" | "right" | "center" | undefined;
1844
1754
  } | {
1845
1755
  type: NewsletterBlockType.Paragraph;
1846
1756
  key: string;
1847
1757
  doc: TipTapNode;
1848
- align?: "left" | "center" | "right" | undefined;
1758
+ align?: "left" | "right" | "center" | undefined;
1849
1759
  } | {
1850
1760
  type: NewsletterBlockType.Button;
1851
1761
  url: string;
1852
1762
  key: string;
1853
1763
  label: string;
1854
1764
  color?: string | undefined;
1855
- align?: "left" | "center" | "right" | undefined;
1765
+ align?: "left" | "right" | "center" | undefined;
1856
1766
  } | {
1857
1767
  type: NewsletterBlockType.Divider;
1858
1768
  key: string;
@@ -1873,11 +1783,11 @@ declare const NewsletterTemplateSchema: z.ZodObject<{
1873
1783
  duplicate?: boolean | undefined;
1874
1784
  } | undefined;
1875
1785
  category?: {
1876
- sort_order: number;
1877
- id: number;
1878
1786
  name: string;
1787
+ id: number;
1879
1788
  key: string;
1880
1789
  is_active: boolean;
1790
+ sort_order: number;
1881
1791
  is_mandatory: boolean;
1882
1792
  type?: "newsletter_category" | undefined;
1883
1793
  created_at?: string | undefined;
@@ -1889,14 +1799,14 @@ declare const NewsletterTemplateSchema: z.ZodObject<{
1889
1799
  created_by?: number | null | undefined;
1890
1800
  is_system?: boolean | undefined;
1891
1801
  creator?: {
1892
- id: number;
1893
1802
  name: string;
1803
+ id: number;
1894
1804
  email?: string | undefined;
1895
1805
  } | null | undefined;
1896
1806
  preheader?: string | null | undefined;
1897
1807
  }, {
1898
- id: number;
1899
1808
  name: string;
1809
+ id: number;
1900
1810
  is_active: boolean;
1901
1811
  company_id: number | null;
1902
1812
  schema_version: number;
@@ -1907,19 +1817,19 @@ declare const NewsletterTemplateSchema: z.ZodObject<{
1907
1817
  key: string;
1908
1818
  text: string;
1909
1819
  level?: number | undefined;
1910
- align?: "left" | "center" | "right" | undefined;
1820
+ align?: "left" | "right" | "center" | undefined;
1911
1821
  } | {
1912
1822
  type: NewsletterBlockType.Paragraph;
1913
1823
  key: string;
1914
1824
  doc: TipTapNode;
1915
- align?: "left" | "center" | "right" | undefined;
1825
+ align?: "left" | "right" | "center" | undefined;
1916
1826
  } | {
1917
1827
  type: NewsletterBlockType.Button;
1918
1828
  url: string;
1919
1829
  key: string;
1920
1830
  label: string;
1921
1831
  color?: string | undefined;
1922
- align?: "left" | "center" | "right" | undefined;
1832
+ align?: "left" | "right" | "center" | undefined;
1923
1833
  } | {
1924
1834
  type: NewsletterBlockType.Divider;
1925
1835
  key: string;
@@ -1940,11 +1850,11 @@ declare const NewsletterTemplateSchema: z.ZodObject<{
1940
1850
  duplicate?: boolean | undefined;
1941
1851
  } | undefined;
1942
1852
  category?: {
1943
- sort_order: number;
1944
- id: number;
1945
1853
  name: string;
1854
+ id: number;
1946
1855
  key: string;
1947
1856
  is_active: boolean;
1857
+ sort_order: number;
1948
1858
  is_mandatory: boolean;
1949
1859
  type?: "newsletter_category" | undefined;
1950
1860
  created_at?: string | undefined;
@@ -1956,8 +1866,8 @@ declare const NewsletterTemplateSchema: z.ZodObject<{
1956
1866
  created_by?: number | null | undefined;
1957
1867
  is_system?: boolean | undefined;
1958
1868
  creator?: {
1959
- id: number;
1960
1869
  name: string;
1870
+ id: number;
1961
1871
  email?: string | undefined;
1962
1872
  } | null | undefined;
1963
1873
  preheader?: string | null | undefined;
@@ -1982,13 +1892,13 @@ declare const CreateNewsletterTemplateInputSchema: z.ZodObject<{
1982
1892
  key: string;
1983
1893
  text: string;
1984
1894
  level: number;
1985
- align?: "left" | "center" | "right" | undefined;
1895
+ align?: "left" | "right" | "center" | undefined;
1986
1896
  }, {
1987
1897
  type: NewsletterBlockType.Heading;
1988
1898
  key: string;
1989
1899
  text: string;
1990
1900
  level?: number | undefined;
1991
- align?: "left" | "center" | "right" | undefined;
1901
+ align?: "left" | "right" | "center" | undefined;
1992
1902
  }>, z.ZodObject<{
1993
1903
  key: z.ZodString;
1994
1904
  type: z.ZodLiteral<NewsletterBlockType.Paragraph>;
@@ -1998,12 +1908,12 @@ declare const CreateNewsletterTemplateInputSchema: z.ZodObject<{
1998
1908
  type: NewsletterBlockType.Paragraph;
1999
1909
  key: string;
2000
1910
  doc: TipTapNode;
2001
- align?: "left" | "center" | "right" | undefined;
1911
+ align?: "left" | "right" | "center" | undefined;
2002
1912
  }, {
2003
1913
  type: NewsletterBlockType.Paragraph;
2004
1914
  key: string;
2005
1915
  doc: TipTapNode;
2006
- align?: "left" | "center" | "right" | undefined;
1916
+ align?: "left" | "right" | "center" | undefined;
2007
1917
  }>, z.ZodObject<{
2008
1918
  key: z.ZodString;
2009
1919
  type: z.ZodLiteral<NewsletterBlockType.Button>;
@@ -2017,14 +1927,14 @@ declare const CreateNewsletterTemplateInputSchema: z.ZodObject<{
2017
1927
  key: string;
2018
1928
  label: string;
2019
1929
  color?: string | undefined;
2020
- align?: "left" | "center" | "right" | undefined;
1930
+ align?: "left" | "right" | "center" | undefined;
2021
1931
  }, {
2022
1932
  type: NewsletterBlockType.Button;
2023
1933
  url: string;
2024
1934
  key: string;
2025
1935
  label: string;
2026
1936
  color?: string | undefined;
2027
- align?: "left" | "center" | "right" | undefined;
1937
+ align?: "left" | "right" | "center" | undefined;
2028
1938
  }>, z.ZodObject<{
2029
1939
  key: z.ZodString;
2030
1940
  type: z.ZodLiteral<NewsletterBlockType.Divider>;
@@ -2048,19 +1958,19 @@ declare const CreateNewsletterTemplateInputSchema: z.ZodObject<{
2048
1958
  key: string;
2049
1959
  text: string;
2050
1960
  level: number;
2051
- align?: "left" | "center" | "right" | undefined;
1961
+ align?: "left" | "right" | "center" | undefined;
2052
1962
  } | {
2053
1963
  type: NewsletterBlockType.Paragraph;
2054
1964
  key: string;
2055
1965
  doc: TipTapNode;
2056
- align?: "left" | "center" | "right" | undefined;
1966
+ align?: "left" | "right" | "center" | undefined;
2057
1967
  } | {
2058
1968
  type: NewsletterBlockType.Button;
2059
1969
  url: string;
2060
1970
  key: string;
2061
1971
  label: string;
2062
1972
  color?: string | undefined;
2063
- align?: "left" | "center" | "right" | undefined;
1973
+ align?: "left" | "right" | "center" | undefined;
2064
1974
  } | {
2065
1975
  type: NewsletterBlockType.Divider;
2066
1976
  key: string;
@@ -2074,19 +1984,19 @@ declare const CreateNewsletterTemplateInputSchema: z.ZodObject<{
2074
1984
  key: string;
2075
1985
  text: string;
2076
1986
  level?: number | undefined;
2077
- align?: "left" | "center" | "right" | undefined;
1987
+ align?: "left" | "right" | "center" | undefined;
2078
1988
  } | {
2079
1989
  type: NewsletterBlockType.Paragraph;
2080
1990
  key: string;
2081
1991
  doc: TipTapNode;
2082
- align?: "left" | "center" | "right" | undefined;
1992
+ align?: "left" | "right" | "center" | undefined;
2083
1993
  } | {
2084
1994
  type: NewsletterBlockType.Button;
2085
1995
  url: string;
2086
1996
  key: string;
2087
1997
  label: string;
2088
1998
  color?: string | undefined;
2089
- align?: "left" | "center" | "right" | undefined;
1999
+ align?: "left" | "right" | "center" | undefined;
2090
2000
  } | {
2091
2001
  type: NewsletterBlockType.Divider;
2092
2002
  key: string;
@@ -2104,19 +2014,19 @@ declare const CreateNewsletterTemplateInputSchema: z.ZodObject<{
2104
2014
  key: string;
2105
2015
  text: string;
2106
2016
  level: number;
2107
- align?: "left" | "center" | "right" | undefined;
2017
+ align?: "left" | "right" | "center" | undefined;
2108
2018
  } | {
2109
2019
  type: NewsletterBlockType.Paragraph;
2110
2020
  key: string;
2111
2021
  doc: TipTapNode;
2112
- align?: "left" | "center" | "right" | undefined;
2022
+ align?: "left" | "right" | "center" | undefined;
2113
2023
  } | {
2114
2024
  type: NewsletterBlockType.Button;
2115
2025
  url: string;
2116
2026
  key: string;
2117
2027
  label: string;
2118
2028
  color?: string | undefined;
2119
- align?: "left" | "center" | "right" | undefined;
2029
+ align?: "left" | "right" | "center" | undefined;
2120
2030
  } | {
2121
2031
  type: NewsletterBlockType.Divider;
2122
2032
  key: string;
@@ -2139,19 +2049,19 @@ declare const CreateNewsletterTemplateInputSchema: z.ZodObject<{
2139
2049
  key: string;
2140
2050
  text: string;
2141
2051
  level?: number | undefined;
2142
- align?: "left" | "center" | "right" | undefined;
2052
+ align?: "left" | "right" | "center" | undefined;
2143
2053
  } | {
2144
2054
  type: NewsletterBlockType.Paragraph;
2145
2055
  key: string;
2146
2056
  doc: TipTapNode;
2147
- align?: "left" | "center" | "right" | undefined;
2057
+ align?: "left" | "right" | "center" | undefined;
2148
2058
  } | {
2149
2059
  type: NewsletterBlockType.Button;
2150
2060
  url: string;
2151
2061
  key: string;
2152
2062
  label: string;
2153
2063
  color?: string | undefined;
2154
- align?: "left" | "center" | "right" | undefined;
2064
+ align?: "left" | "right" | "center" | undefined;
2155
2065
  } | {
2156
2066
  type: NewsletterBlockType.Divider;
2157
2067
  key: string;
@@ -2340,11 +2250,11 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
2340
2250
  created_at: z.ZodOptional<z.ZodString>;
2341
2251
  updated_at: z.ZodOptional<z.ZodString>;
2342
2252
  }, "strip", z.ZodTypeAny, {
2343
- sort_order: number;
2344
- id: number;
2345
2253
  name: string;
2254
+ id: number;
2346
2255
  key: string;
2347
2256
  is_active: boolean;
2257
+ sort_order: number;
2348
2258
  is_mandatory: boolean;
2349
2259
  type?: "newsletter_category" | undefined;
2350
2260
  created_at?: string | undefined;
@@ -2353,11 +2263,11 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
2353
2263
  default_opt_in?: boolean | undefined;
2354
2264
  is_internal?: boolean | undefined;
2355
2265
  }, {
2356
- sort_order: number;
2357
- id: number;
2358
2266
  name: string;
2267
+ id: number;
2359
2268
  key: string;
2360
2269
  is_active: boolean;
2270
+ sort_order: number;
2361
2271
  is_mandatory: boolean;
2362
2272
  type?: "newsletter_category" | undefined;
2363
2273
  created_at?: string | undefined;
@@ -2383,13 +2293,13 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
2383
2293
  key: string;
2384
2294
  text: string;
2385
2295
  level: number;
2386
- align?: "left" | "center" | "right" | undefined;
2296
+ align?: "left" | "right" | "center" | undefined;
2387
2297
  }, {
2388
2298
  type: NewsletterBlockType.Heading;
2389
2299
  key: string;
2390
2300
  text: string;
2391
2301
  level?: number | undefined;
2392
- align?: "left" | "center" | "right" | undefined;
2302
+ align?: "left" | "right" | "center" | undefined;
2393
2303
  }>, z.ZodObject<{
2394
2304
  key: z.ZodString;
2395
2305
  type: z.ZodLiteral<NewsletterBlockType.Paragraph>;
@@ -2399,12 +2309,12 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
2399
2309
  type: NewsletterBlockType.Paragraph;
2400
2310
  key: string;
2401
2311
  doc: TipTapNode;
2402
- align?: "left" | "center" | "right" | undefined;
2312
+ align?: "left" | "right" | "center" | undefined;
2403
2313
  }, {
2404
2314
  type: NewsletterBlockType.Paragraph;
2405
2315
  key: string;
2406
2316
  doc: TipTapNode;
2407
- align?: "left" | "center" | "right" | undefined;
2317
+ align?: "left" | "right" | "center" | undefined;
2408
2318
  }>, z.ZodObject<{
2409
2319
  key: z.ZodString;
2410
2320
  type: z.ZodLiteral<NewsletterBlockType.Button>;
@@ -2418,14 +2328,14 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
2418
2328
  key: string;
2419
2329
  label: string;
2420
2330
  color?: string | undefined;
2421
- align?: "left" | "center" | "right" | undefined;
2331
+ align?: "left" | "right" | "center" | undefined;
2422
2332
  }, {
2423
2333
  type: NewsletterBlockType.Button;
2424
2334
  url: string;
2425
2335
  key: string;
2426
2336
  label: string;
2427
2337
  color?: string | undefined;
2428
- align?: "left" | "center" | "right" | undefined;
2338
+ align?: "left" | "right" | "center" | undefined;
2429
2339
  }>, z.ZodObject<{
2430
2340
  key: z.ZodString;
2431
2341
  type: z.ZodLiteral<NewsletterBlockType.Divider>;
@@ -2449,19 +2359,19 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
2449
2359
  key: string;
2450
2360
  text: string;
2451
2361
  level: number;
2452
- align?: "left" | "center" | "right" | undefined;
2362
+ align?: "left" | "right" | "center" | undefined;
2453
2363
  } | {
2454
2364
  type: NewsletterBlockType.Paragraph;
2455
2365
  key: string;
2456
2366
  doc: TipTapNode;
2457
- align?: "left" | "center" | "right" | undefined;
2367
+ align?: "left" | "right" | "center" | undefined;
2458
2368
  } | {
2459
2369
  type: NewsletterBlockType.Button;
2460
2370
  url: string;
2461
2371
  key: string;
2462
2372
  label: string;
2463
2373
  color?: string | undefined;
2464
- align?: "left" | "center" | "right" | undefined;
2374
+ align?: "left" | "right" | "center" | undefined;
2465
2375
  } | {
2466
2376
  type: NewsletterBlockType.Divider;
2467
2377
  key: string;
@@ -2475,19 +2385,19 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
2475
2385
  key: string;
2476
2386
  text: string;
2477
2387
  level?: number | undefined;
2478
- align?: "left" | "center" | "right" | undefined;
2388
+ align?: "left" | "right" | "center" | undefined;
2479
2389
  } | {
2480
2390
  type: NewsletterBlockType.Paragraph;
2481
2391
  key: string;
2482
2392
  doc: TipTapNode;
2483
- align?: "left" | "center" | "right" | undefined;
2393
+ align?: "left" | "right" | "center" | undefined;
2484
2394
  } | {
2485
2395
  type: NewsletterBlockType.Button;
2486
2396
  url: string;
2487
2397
  key: string;
2488
2398
  label: string;
2489
2399
  color?: string | undefined;
2490
- align?: "left" | "center" | "right" | undefined;
2400
+ align?: "left" | "right" | "center" | undefined;
2491
2401
  } | {
2492
2402
  type: NewsletterBlockType.Divider;
2493
2403
  key: string;
@@ -2504,12 +2414,12 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
2504
2414
  name: z.ZodString;
2505
2415
  email: z.ZodOptional<z.ZodString>;
2506
2416
  }, "strip", z.ZodTypeAny, {
2507
- id: number;
2508
2417
  name: string;
2418
+ id: number;
2509
2419
  email?: string | undefined;
2510
2420
  }, {
2511
- id: number;
2512
2421
  name: string;
2422
+ id: number;
2513
2423
  email?: string | undefined;
2514
2424
  }>>>>;
2515
2425
  can: z.ZodOptional<z.ZodOptional<z.ZodObject<{
@@ -2528,9 +2438,9 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
2528
2438
  created_at: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2529
2439
  updated_at: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2530
2440
  }, "strip", z.ZodTypeAny, {
2531
- id?: number | undefined;
2532
2441
  name?: string | undefined;
2533
2442
  type?: "newsletter_template" | undefined;
2443
+ id?: number | undefined;
2534
2444
  created_at?: string | undefined;
2535
2445
  updated_at?: string | undefined;
2536
2446
  description?: string | null | undefined;
@@ -2543,11 +2453,11 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
2543
2453
  company_id?: number | null | undefined;
2544
2454
  schema_version?: number | undefined;
2545
2455
  category?: {
2546
- sort_order: number;
2547
- id: number;
2548
2456
  name: string;
2457
+ id: number;
2549
2458
  key: string;
2550
2459
  is_active: boolean;
2460
+ sort_order: number;
2551
2461
  is_mandatory: boolean;
2552
2462
  type?: "newsletter_category" | undefined;
2553
2463
  created_at?: string | undefined;
@@ -2564,19 +2474,19 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
2564
2474
  key: string;
2565
2475
  text: string;
2566
2476
  level: number;
2567
- align?: "left" | "center" | "right" | undefined;
2477
+ align?: "left" | "right" | "center" | undefined;
2568
2478
  } | {
2569
2479
  type: NewsletterBlockType.Paragraph;
2570
2480
  key: string;
2571
2481
  doc: TipTapNode;
2572
- align?: "left" | "center" | "right" | undefined;
2482
+ align?: "left" | "right" | "center" | undefined;
2573
2483
  } | {
2574
2484
  type: NewsletterBlockType.Button;
2575
2485
  url: string;
2576
2486
  key: string;
2577
2487
  label: string;
2578
2488
  color?: string | undefined;
2579
- align?: "left" | "center" | "right" | undefined;
2489
+ align?: "left" | "right" | "center" | undefined;
2580
2490
  } | {
2581
2491
  type: NewsletterBlockType.Divider;
2582
2492
  key: string;
@@ -2587,17 +2497,17 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
2587
2497
  } | undefined;
2588
2498
  is_system?: boolean | undefined;
2589
2499
  creator?: {
2590
- id: number;
2591
2500
  name: string;
2501
+ id: number;
2592
2502
  email?: string | undefined;
2593
2503
  } | null | undefined;
2594
2504
  newsletter_category_id?: number | undefined;
2595
2505
  subject?: string | undefined;
2596
2506
  preheader?: string | null | undefined;
2597
2507
  }, {
2598
- id?: number | undefined;
2599
2508
  name?: string | undefined;
2600
2509
  type?: "newsletter_template" | undefined;
2510
+ id?: number | undefined;
2601
2511
  created_at?: string | undefined;
2602
2512
  updated_at?: string | undefined;
2603
2513
  description?: string | null | undefined;
@@ -2610,11 +2520,11 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
2610
2520
  company_id?: number | null | undefined;
2611
2521
  schema_version?: number | undefined;
2612
2522
  category?: {
2613
- sort_order: number;
2614
- id: number;
2615
2523
  name: string;
2524
+ id: number;
2616
2525
  key: string;
2617
2526
  is_active: boolean;
2527
+ sort_order: number;
2618
2528
  is_mandatory: boolean;
2619
2529
  type?: "newsletter_category" | undefined;
2620
2530
  created_at?: string | undefined;
@@ -2631,19 +2541,19 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
2631
2541
  key: string;
2632
2542
  text: string;
2633
2543
  level?: number | undefined;
2634
- align?: "left" | "center" | "right" | undefined;
2544
+ align?: "left" | "right" | "center" | undefined;
2635
2545
  } | {
2636
2546
  type: NewsletterBlockType.Paragraph;
2637
2547
  key: string;
2638
2548
  doc: TipTapNode;
2639
- align?: "left" | "center" | "right" | undefined;
2549
+ align?: "left" | "right" | "center" | undefined;
2640
2550
  } | {
2641
2551
  type: NewsletterBlockType.Button;
2642
2552
  url: string;
2643
2553
  key: string;
2644
2554
  label: string;
2645
2555
  color?: string | undefined;
2646
- align?: "left" | "center" | "right" | undefined;
2556
+ align?: "left" | "right" | "center" | undefined;
2647
2557
  } | {
2648
2558
  type: NewsletterBlockType.Divider;
2649
2559
  key: string;
@@ -2654,8 +2564,8 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
2654
2564
  } | undefined;
2655
2565
  is_system?: boolean | undefined;
2656
2566
  creator?: {
2657
- id: number;
2658
2567
  name: string;
2568
+ id: number;
2659
2569
  email?: string | undefined;
2660
2570
  } | null | undefined;
2661
2571
  newsletter_category_id?: number | undefined;
@@ -2679,11 +2589,11 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
2679
2589
  created_at: z.ZodOptional<z.ZodString>;
2680
2590
  updated_at: z.ZodOptional<z.ZodString>;
2681
2591
  }, "strip", z.ZodTypeAny, {
2682
- sort_order: number;
2683
- id: number;
2684
2592
  name: string;
2593
+ id: number;
2685
2594
  key: string;
2686
2595
  is_active: boolean;
2596
+ sort_order: number;
2687
2597
  is_mandatory: boolean;
2688
2598
  type?: "newsletter_category" | undefined;
2689
2599
  created_at?: string | undefined;
@@ -2692,11 +2602,11 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
2692
2602
  default_opt_in?: boolean | undefined;
2693
2603
  is_internal?: boolean | undefined;
2694
2604
  }, {
2695
- sort_order: number;
2696
- id: number;
2697
2605
  name: string;
2606
+ id: number;
2698
2607
  key: string;
2699
2608
  is_active: boolean;
2609
+ sort_order: number;
2700
2610
  is_mandatory: boolean;
2701
2611
  type?: "newsletter_category" | undefined;
2702
2612
  created_at?: string | undefined;
@@ -2720,13 +2630,13 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
2720
2630
  key: string;
2721
2631
  text: string;
2722
2632
  level: number;
2723
- align?: "left" | "center" | "right" | undefined;
2633
+ align?: "left" | "right" | "center" | undefined;
2724
2634
  }, {
2725
2635
  type: NewsletterBlockType.Heading;
2726
2636
  key: string;
2727
2637
  text: string;
2728
2638
  level?: number | undefined;
2729
- align?: "left" | "center" | "right" | undefined;
2639
+ align?: "left" | "right" | "center" | undefined;
2730
2640
  }>, z.ZodObject<{
2731
2641
  key: z.ZodString;
2732
2642
  type: z.ZodLiteral<NewsletterBlockType.Paragraph>;
@@ -2736,12 +2646,12 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
2736
2646
  type: NewsletterBlockType.Paragraph;
2737
2647
  key: string;
2738
2648
  doc: TipTapNode;
2739
- align?: "left" | "center" | "right" | undefined;
2649
+ align?: "left" | "right" | "center" | undefined;
2740
2650
  }, {
2741
2651
  type: NewsletterBlockType.Paragraph;
2742
2652
  key: string;
2743
2653
  doc: TipTapNode;
2744
- align?: "left" | "center" | "right" | undefined;
2654
+ align?: "left" | "right" | "center" | undefined;
2745
2655
  }>, z.ZodObject<{
2746
2656
  key: z.ZodString;
2747
2657
  type: z.ZodLiteral<NewsletterBlockType.Button>;
@@ -2755,14 +2665,14 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
2755
2665
  key: string;
2756
2666
  label: string;
2757
2667
  color?: string | undefined;
2758
- align?: "left" | "center" | "right" | undefined;
2668
+ align?: "left" | "right" | "center" | undefined;
2759
2669
  }, {
2760
2670
  type: NewsletterBlockType.Button;
2761
2671
  url: string;
2762
2672
  key: string;
2763
2673
  label: string;
2764
2674
  color?: string | undefined;
2765
- align?: "left" | "center" | "right" | undefined;
2675
+ align?: "left" | "right" | "center" | undefined;
2766
2676
  }>, z.ZodObject<{
2767
2677
  key: z.ZodString;
2768
2678
  type: z.ZodLiteral<NewsletterBlockType.Divider>;
@@ -2786,19 +2696,19 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
2786
2696
  key: string;
2787
2697
  text: string;
2788
2698
  level: number;
2789
- align?: "left" | "center" | "right" | undefined;
2699
+ align?: "left" | "right" | "center" | undefined;
2790
2700
  } | {
2791
2701
  type: NewsletterBlockType.Paragraph;
2792
2702
  key: string;
2793
2703
  doc: TipTapNode;
2794
- align?: "left" | "center" | "right" | undefined;
2704
+ align?: "left" | "right" | "center" | undefined;
2795
2705
  } | {
2796
2706
  type: NewsletterBlockType.Button;
2797
2707
  url: string;
2798
2708
  key: string;
2799
2709
  label: string;
2800
2710
  color?: string | undefined;
2801
- align?: "left" | "center" | "right" | undefined;
2711
+ align?: "left" | "right" | "center" | undefined;
2802
2712
  } | {
2803
2713
  type: NewsletterBlockType.Divider;
2804
2714
  key: string;
@@ -2812,19 +2722,19 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
2812
2722
  key: string;
2813
2723
  text: string;
2814
2724
  level?: number | undefined;
2815
- align?: "left" | "center" | "right" | undefined;
2725
+ align?: "left" | "right" | "center" | undefined;
2816
2726
  } | {
2817
2727
  type: NewsletterBlockType.Paragraph;
2818
2728
  key: string;
2819
2729
  doc: TipTapNode;
2820
- align?: "left" | "center" | "right" | undefined;
2730
+ align?: "left" | "right" | "center" | undefined;
2821
2731
  } | {
2822
2732
  type: NewsletterBlockType.Button;
2823
2733
  url: string;
2824
2734
  key: string;
2825
2735
  label: string;
2826
2736
  color?: string | undefined;
2827
- align?: "left" | "center" | "right" | undefined;
2737
+ align?: "left" | "right" | "center" | undefined;
2828
2738
  } | {
2829
2739
  type: NewsletterBlockType.Divider;
2830
2740
  key: string;
@@ -2932,12 +2842,12 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
2932
2842
  name: z.ZodString;
2933
2843
  email: z.ZodOptional<z.ZodString>;
2934
2844
  }, "strip", z.ZodTypeAny, {
2935
- id: number;
2936
2845
  name: string;
2846
+ id: number;
2937
2847
  email?: string | undefined;
2938
2848
  }, {
2939
- id: number;
2940
2849
  name: string;
2850
+ id: number;
2941
2851
  email?: string | undefined;
2942
2852
  }>>>;
2943
2853
  can: z.ZodOptional<z.ZodObject<{
@@ -2965,9 +2875,9 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
2965
2875
  created_at: z.ZodOptional<z.ZodString>;
2966
2876
  updated_at: z.ZodOptional<z.ZodString>;
2967
2877
  }, "strip", z.ZodTypeAny, {
2968
- id: number;
2969
2878
  name: string;
2970
2879
  status: NewsletterCampaignStatus;
2880
+ id: number;
2971
2881
  company_id: number | null;
2972
2882
  schema_snapshot: {
2973
2883
  blocks: ({
@@ -2975,19 +2885,19 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
2975
2885
  key: string;
2976
2886
  text: string;
2977
2887
  level: number;
2978
- align?: "left" | "center" | "right" | undefined;
2888
+ align?: "left" | "right" | "center" | undefined;
2979
2889
  } | {
2980
2890
  type: NewsletterBlockType.Paragraph;
2981
2891
  key: string;
2982
2892
  doc: TipTapNode;
2983
- align?: "left" | "center" | "right" | undefined;
2893
+ align?: "left" | "right" | "center" | undefined;
2984
2894
  } | {
2985
2895
  type: NewsletterBlockType.Button;
2986
2896
  url: string;
2987
2897
  key: string;
2988
2898
  label: string;
2989
2899
  color?: string | undefined;
2990
- align?: "left" | "center" | "right" | undefined;
2900
+ align?: "left" | "right" | "center" | undefined;
2991
2901
  } | {
2992
2902
  type: NewsletterBlockType.Divider;
2993
2903
  key: string;
@@ -3035,11 +2945,11 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
3035
2945
  test_send?: boolean | undefined;
3036
2946
  } | undefined;
3037
2947
  category?: {
3038
- sort_order: number;
3039
- id: number;
3040
2948
  name: string;
2949
+ id: number;
3041
2950
  key: string;
3042
2951
  is_active: boolean;
2952
+ sort_order: number;
3043
2953
  is_mandatory: boolean;
3044
2954
  type?: "newsletter_category" | undefined;
3045
2955
  created_at?: string | undefined;
@@ -3051,9 +2961,9 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
3051
2961
  scheduled_at?: string | null | undefined;
3052
2962
  is_system?: boolean | undefined;
3053
2963
  template?: {
3054
- id?: number | undefined;
3055
2964
  name?: string | undefined;
3056
2965
  type?: "newsletter_template" | undefined;
2966
+ id?: number | undefined;
3057
2967
  created_at?: string | undefined;
3058
2968
  updated_at?: string | undefined;
3059
2969
  description?: string | null | undefined;
@@ -3066,11 +2976,11 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
3066
2976
  company_id?: number | null | undefined;
3067
2977
  schema_version?: number | undefined;
3068
2978
  category?: {
3069
- sort_order: number;
3070
- id: number;
3071
2979
  name: string;
2980
+ id: number;
3072
2981
  key: string;
3073
2982
  is_active: boolean;
2983
+ sort_order: number;
3074
2984
  is_mandatory: boolean;
3075
2985
  type?: "newsletter_category" | undefined;
3076
2986
  created_at?: string | undefined;
@@ -3087,19 +2997,19 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
3087
2997
  key: string;
3088
2998
  text: string;
3089
2999
  level: number;
3090
- align?: "left" | "center" | "right" | undefined;
3000
+ align?: "left" | "right" | "center" | undefined;
3091
3001
  } | {
3092
3002
  type: NewsletterBlockType.Paragraph;
3093
3003
  key: string;
3094
3004
  doc: TipTapNode;
3095
- align?: "left" | "center" | "right" | undefined;
3005
+ align?: "left" | "right" | "center" | undefined;
3096
3006
  } | {
3097
3007
  type: NewsletterBlockType.Button;
3098
3008
  url: string;
3099
3009
  key: string;
3100
3010
  label: string;
3101
3011
  color?: string | undefined;
3102
- align?: "left" | "center" | "right" | undefined;
3012
+ align?: "left" | "right" | "center" | undefined;
3103
3013
  } | {
3104
3014
  type: NewsletterBlockType.Divider;
3105
3015
  key: string;
@@ -3110,8 +3020,8 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
3110
3020
  } | undefined;
3111
3021
  is_system?: boolean | undefined;
3112
3022
  creator?: {
3113
- id: number;
3114
3023
  name: string;
3024
+ id: number;
3115
3025
  email?: string | undefined;
3116
3026
  } | null | undefined;
3117
3027
  newsletter_category_id?: number | undefined;
@@ -3124,14 +3034,14 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
3124
3034
  cancelled_at?: string | null | undefined;
3125
3035
  sent_by_user_id?: number | null | undefined;
3126
3036
  sent_by?: {
3127
- id: number;
3128
3037
  name: string;
3038
+ id: number;
3129
3039
  email?: string | undefined;
3130
3040
  } | null | undefined;
3131
3041
  }, {
3132
- id: number;
3133
3042
  name: string;
3134
3043
  status: NewsletterCampaignStatus;
3044
+ id: number;
3135
3045
  company_id: number | null;
3136
3046
  schema_snapshot: {
3137
3047
  blocks: ({
@@ -3139,19 +3049,19 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
3139
3049
  key: string;
3140
3050
  text: string;
3141
3051
  level?: number | undefined;
3142
- align?: "left" | "center" | "right" | undefined;
3052
+ align?: "left" | "right" | "center" | undefined;
3143
3053
  } | {
3144
3054
  type: NewsletterBlockType.Paragraph;
3145
3055
  key: string;
3146
3056
  doc: TipTapNode;
3147
- align?: "left" | "center" | "right" | undefined;
3057
+ align?: "left" | "right" | "center" | undefined;
3148
3058
  } | {
3149
3059
  type: NewsletterBlockType.Button;
3150
3060
  url: string;
3151
3061
  key: string;
3152
3062
  label: string;
3153
3063
  color?: string | undefined;
3154
- align?: "left" | "center" | "right" | undefined;
3064
+ align?: "left" | "right" | "center" | undefined;
3155
3065
  } | {
3156
3066
  type: NewsletterBlockType.Divider;
3157
3067
  key: string;
@@ -3199,11 +3109,11 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
3199
3109
  test_send?: boolean | undefined;
3200
3110
  } | undefined;
3201
3111
  category?: {
3202
- sort_order: number;
3203
- id: number;
3204
3112
  name: string;
3113
+ id: number;
3205
3114
  key: string;
3206
3115
  is_active: boolean;
3116
+ sort_order: number;
3207
3117
  is_mandatory: boolean;
3208
3118
  type?: "newsletter_category" | undefined;
3209
3119
  created_at?: string | undefined;
@@ -3215,9 +3125,9 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
3215
3125
  scheduled_at?: string | null | undefined;
3216
3126
  is_system?: boolean | undefined;
3217
3127
  template?: {
3218
- id?: number | undefined;
3219
3128
  name?: string | undefined;
3220
3129
  type?: "newsletter_template" | undefined;
3130
+ id?: number | undefined;
3221
3131
  created_at?: string | undefined;
3222
3132
  updated_at?: string | undefined;
3223
3133
  description?: string | null | undefined;
@@ -3230,11 +3140,11 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
3230
3140
  company_id?: number | null | undefined;
3231
3141
  schema_version?: number | undefined;
3232
3142
  category?: {
3233
- sort_order: number;
3234
- id: number;
3235
3143
  name: string;
3144
+ id: number;
3236
3145
  key: string;
3237
3146
  is_active: boolean;
3147
+ sort_order: number;
3238
3148
  is_mandatory: boolean;
3239
3149
  type?: "newsletter_category" | undefined;
3240
3150
  created_at?: string | undefined;
@@ -3251,19 +3161,19 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
3251
3161
  key: string;
3252
3162
  text: string;
3253
3163
  level?: number | undefined;
3254
- align?: "left" | "center" | "right" | undefined;
3164
+ align?: "left" | "right" | "center" | undefined;
3255
3165
  } | {
3256
3166
  type: NewsletterBlockType.Paragraph;
3257
3167
  key: string;
3258
3168
  doc: TipTapNode;
3259
- align?: "left" | "center" | "right" | undefined;
3169
+ align?: "left" | "right" | "center" | undefined;
3260
3170
  } | {
3261
3171
  type: NewsletterBlockType.Button;
3262
3172
  url: string;
3263
3173
  key: string;
3264
3174
  label: string;
3265
3175
  color?: string | undefined;
3266
- align?: "left" | "center" | "right" | undefined;
3176
+ align?: "left" | "right" | "center" | undefined;
3267
3177
  } | {
3268
3178
  type: NewsletterBlockType.Divider;
3269
3179
  key: string;
@@ -3274,8 +3184,8 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
3274
3184
  } | undefined;
3275
3185
  is_system?: boolean | undefined;
3276
3186
  creator?: {
3277
- id: number;
3278
3187
  name: string;
3188
+ id: number;
3279
3189
  email?: string | undefined;
3280
3190
  } | null | undefined;
3281
3191
  newsletter_category_id?: number | undefined;
@@ -3288,8 +3198,8 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
3288
3198
  cancelled_at?: string | null | undefined;
3289
3199
  sent_by_user_id?: number | null | undefined;
3290
3200
  sent_by?: {
3291
- id: number;
3292
3201
  name: string;
3202
+ id: number;
3293
3203
  email?: string | undefined;
3294
3204
  } | null | undefined;
3295
3205
  }>;
@@ -3312,13 +3222,13 @@ declare const CreateNewsletterCampaignInputSchema: z.ZodObject<{
3312
3222
  key: string;
3313
3223
  text: string;
3314
3224
  level: number;
3315
- align?: "left" | "center" | "right" | undefined;
3225
+ align?: "left" | "right" | "center" | undefined;
3316
3226
  }, {
3317
3227
  type: NewsletterBlockType.Heading;
3318
3228
  key: string;
3319
3229
  text: string;
3320
3230
  level?: number | undefined;
3321
- align?: "left" | "center" | "right" | undefined;
3231
+ align?: "left" | "right" | "center" | undefined;
3322
3232
  }>, z.ZodObject<{
3323
3233
  key: z.ZodString;
3324
3234
  type: z.ZodLiteral<NewsletterBlockType.Paragraph>;
@@ -3328,12 +3238,12 @@ declare const CreateNewsletterCampaignInputSchema: z.ZodObject<{
3328
3238
  type: NewsletterBlockType.Paragraph;
3329
3239
  key: string;
3330
3240
  doc: TipTapNode;
3331
- align?: "left" | "center" | "right" | undefined;
3241
+ align?: "left" | "right" | "center" | undefined;
3332
3242
  }, {
3333
3243
  type: NewsletterBlockType.Paragraph;
3334
3244
  key: string;
3335
3245
  doc: TipTapNode;
3336
- align?: "left" | "center" | "right" | undefined;
3246
+ align?: "left" | "right" | "center" | undefined;
3337
3247
  }>, z.ZodObject<{
3338
3248
  key: z.ZodString;
3339
3249
  type: z.ZodLiteral<NewsletterBlockType.Button>;
@@ -3347,14 +3257,14 @@ declare const CreateNewsletterCampaignInputSchema: z.ZodObject<{
3347
3257
  key: string;
3348
3258
  label: string;
3349
3259
  color?: string | undefined;
3350
- align?: "left" | "center" | "right" | undefined;
3260
+ align?: "left" | "right" | "center" | undefined;
3351
3261
  }, {
3352
3262
  type: NewsletterBlockType.Button;
3353
3263
  url: string;
3354
3264
  key: string;
3355
3265
  label: string;
3356
3266
  color?: string | undefined;
3357
- align?: "left" | "center" | "right" | undefined;
3267
+ align?: "left" | "right" | "center" | undefined;
3358
3268
  }>, z.ZodObject<{
3359
3269
  key: z.ZodString;
3360
3270
  type: z.ZodLiteral<NewsletterBlockType.Divider>;
@@ -3378,19 +3288,19 @@ declare const CreateNewsletterCampaignInputSchema: z.ZodObject<{
3378
3288
  key: string;
3379
3289
  text: string;
3380
3290
  level: number;
3381
- align?: "left" | "center" | "right" | undefined;
3291
+ align?: "left" | "right" | "center" | undefined;
3382
3292
  } | {
3383
3293
  type: NewsletterBlockType.Paragraph;
3384
3294
  key: string;
3385
3295
  doc: TipTapNode;
3386
- align?: "left" | "center" | "right" | undefined;
3296
+ align?: "left" | "right" | "center" | undefined;
3387
3297
  } | {
3388
3298
  type: NewsletterBlockType.Button;
3389
3299
  url: string;
3390
3300
  key: string;
3391
3301
  label: string;
3392
3302
  color?: string | undefined;
3393
- align?: "left" | "center" | "right" | undefined;
3303
+ align?: "left" | "right" | "center" | undefined;
3394
3304
  } | {
3395
3305
  type: NewsletterBlockType.Divider;
3396
3306
  key: string;
@@ -3404,19 +3314,19 @@ declare const CreateNewsletterCampaignInputSchema: z.ZodObject<{
3404
3314
  key: string;
3405
3315
  text: string;
3406
3316
  level?: number | undefined;
3407
- align?: "left" | "center" | "right" | undefined;
3317
+ align?: "left" | "right" | "center" | undefined;
3408
3318
  } | {
3409
3319
  type: NewsletterBlockType.Paragraph;
3410
3320
  key: string;
3411
3321
  doc: TipTapNode;
3412
- align?: "left" | "center" | "right" | undefined;
3322
+ align?: "left" | "right" | "center" | undefined;
3413
3323
  } | {
3414
3324
  type: NewsletterBlockType.Button;
3415
3325
  url: string;
3416
3326
  key: string;
3417
3327
  label: string;
3418
3328
  color?: string | undefined;
3419
- align?: "left" | "center" | "right" | undefined;
3329
+ align?: "left" | "right" | "center" | undefined;
3420
3330
  } | {
3421
3331
  type: NewsletterBlockType.Divider;
3422
3332
  key: string;
@@ -3518,19 +3428,19 @@ declare const CreateNewsletterCampaignInputSchema: z.ZodObject<{
3518
3428
  key: string;
3519
3429
  text: string;
3520
3430
  level: number;
3521
- align?: "left" | "center" | "right" | undefined;
3431
+ align?: "left" | "right" | "center" | undefined;
3522
3432
  } | {
3523
3433
  type: NewsletterBlockType.Paragraph;
3524
3434
  key: string;
3525
3435
  doc: TipTapNode;
3526
- align?: "left" | "center" | "right" | undefined;
3436
+ align?: "left" | "right" | "center" | undefined;
3527
3437
  } | {
3528
3438
  type: NewsletterBlockType.Button;
3529
3439
  url: string;
3530
3440
  key: string;
3531
3441
  label: string;
3532
3442
  color?: string | undefined;
3533
- align?: "left" | "center" | "right" | undefined;
3443
+ align?: "left" | "right" | "center" | undefined;
3534
3444
  } | {
3535
3445
  type: NewsletterBlockType.Divider;
3536
3446
  key: string;
@@ -3568,19 +3478,19 @@ declare const CreateNewsletterCampaignInputSchema: z.ZodObject<{
3568
3478
  key: string;
3569
3479
  text: string;
3570
3480
  level?: number | undefined;
3571
- align?: "left" | "center" | "right" | undefined;
3481
+ align?: "left" | "right" | "center" | undefined;
3572
3482
  } | {
3573
3483
  type: NewsletterBlockType.Paragraph;
3574
3484
  key: string;
3575
3485
  doc: TipTapNode;
3576
- align?: "left" | "center" | "right" | undefined;
3486
+ align?: "left" | "right" | "center" | undefined;
3577
3487
  } | {
3578
3488
  type: NewsletterBlockType.Button;
3579
3489
  url: string;
3580
3490
  key: string;
3581
3491
  label: string;
3582
3492
  color?: string | undefined;
3583
- align?: "left" | "center" | "right" | undefined;
3493
+ align?: "left" | "right" | "center" | undefined;
3584
3494
  } | {
3585
3495
  type: NewsletterBlockType.Divider;
3586
3496
  key: string;
@@ -3617,12 +3527,12 @@ declare const NewsletterCampaignRecipientSchema: z.ZodObject<{
3617
3527
  name: z.ZodString;
3618
3528
  email: z.ZodOptional<z.ZodString>;
3619
3529
  }, "strip", z.ZodTypeAny, {
3620
- id: number;
3621
3530
  name: string;
3531
+ id: number;
3622
3532
  email?: string | undefined;
3623
3533
  }, {
3624
- id: number;
3625
3534
  name: string;
3535
+ id: number;
3626
3536
  email?: string | undefined;
3627
3537
  }>>>;
3628
3538
  email: z.ZodString;
@@ -3634,15 +3544,15 @@ declare const NewsletterCampaignRecipientSchema: z.ZodObject<{
3634
3544
  bounced_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3635
3545
  complained_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3636
3546
  }, "strip", z.ZodTypeAny, {
3637
- id: number;
3638
3547
  email: string;
3639
3548
  status: NewsletterRecipientStatus;
3549
+ id: number;
3640
3550
  user_id: number | null;
3641
3551
  newsletter_campaign_id: number;
3642
3552
  type?: "newsletter_campaign_recipient" | undefined;
3643
3553
  user?: {
3644
- id: number;
3645
3554
  name: string;
3555
+ id: number;
3646
3556
  email?: string | undefined;
3647
3557
  } | null | undefined;
3648
3558
  error?: string | null | undefined;
@@ -3652,15 +3562,15 @@ declare const NewsletterCampaignRecipientSchema: z.ZodObject<{
3652
3562
  bounced_at?: string | null | undefined;
3653
3563
  complained_at?: string | null | undefined;
3654
3564
  }, {
3655
- id: number;
3656
3565
  email: string;
3657
3566
  status: NewsletterRecipientStatus;
3567
+ id: number;
3658
3568
  user_id: number | null;
3659
3569
  newsletter_campaign_id: number;
3660
3570
  type?: "newsletter_campaign_recipient" | undefined;
3661
3571
  user?: {
3662
- id: number;
3663
3572
  name: string;
3573
+ id: number;
3664
3574
  email?: string | undefined;
3665
3575
  } | null | undefined;
3666
3576
  error?: string | null | undefined;
@@ -4107,8 +4017,8 @@ declare const TodoSchema: z.ZodObject<{
4107
4017
  }>;
4108
4018
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
4109
4019
  }, "strip", z.ZodTypeAny, {
4110
- title: string;
4111
4020
  key: "fill_form" | "sign_form" | "review_form" | "log_booking" | "add_address" | "add_required_documents" | "share_document" | "fill_training_record" | "sign_training_record" | "handle_ticket";
4021
+ title: string;
4112
4022
  priority: "critical" | "high" | "normal" | "low";
4113
4023
  is_overdue: boolean;
4114
4024
  ref_type: string;
@@ -4123,8 +4033,8 @@ declare const TodoSchema: z.ZodObject<{
4123
4033
  due_date?: string | null | undefined;
4124
4034
  subtitle?: string | null | undefined;
4125
4035
  }, {
4126
- title: string;
4127
4036
  key: "fill_form" | "sign_form" | "review_form" | "log_booking" | "add_address" | "add_required_documents" | "share_document" | "fill_training_record" | "sign_training_record" | "handle_ticket";
4037
+ title: string;
4128
4038
  ref_type: string;
4129
4039
  ref_id: number;
4130
4040
  action: {
@@ -4462,8 +4372,8 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
4462
4372
  prefill_source?: string | undefined;
4463
4373
  }>, "many">;
4464
4374
  }, "strip", z.ZodTypeAny, {
4465
- title: string;
4466
4375
  key: string;
4376
+ title: string;
4467
4377
  order: number;
4468
4378
  fields: {
4469
4379
  type: FormFieldType;
@@ -4494,8 +4404,8 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
4494
4404
  prefill_source?: string | undefined;
4495
4405
  }[];
4496
4406
  }, {
4497
- title: string;
4498
4407
  key: string;
4408
+ title: string;
4499
4409
  order: number;
4500
4410
  fields: {
4501
4411
  type: FormFieldType;
@@ -4528,8 +4438,8 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
4528
4438
  }>, "many">;
4529
4439
  }, "strip", z.ZodTypeAny, {
4530
4440
  sections: {
4531
- title: string;
4532
4441
  key: string;
4442
+ title: string;
4533
4443
  order: number;
4534
4444
  fields: {
4535
4445
  type: FormFieldType;
@@ -4562,8 +4472,8 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
4562
4472
  }[];
4563
4473
  }, {
4564
4474
  sections: {
4565
- title: string;
4566
4475
  key: string;
4476
+ title: string;
4567
4477
  order: number;
4568
4478
  fields: {
4569
4479
  type: FormFieldType;
@@ -4603,15 +4513,15 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
4603
4513
  name: z.ZodNullable<z.ZodString>;
4604
4514
  email: z.ZodNullable<z.ZodString>;
4605
4515
  }, "strip", z.ZodTypeAny, {
4606
- id: number;
4607
4516
  name: string | null;
4608
4517
  email: string | null;
4609
4518
  type: string;
4610
- }, {
4611
4519
  id: number;
4520
+ }, {
4612
4521
  name: string | null;
4613
4522
  email: string | null;
4614
4523
  type: string;
4524
+ id: number;
4615
4525
  }>>>;
4616
4526
  submitted_by: z.ZodNumber;
4617
4527
  data: z.ZodRecord<z.ZodString, z.ZodAny>;
@@ -4646,8 +4556,8 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
4646
4556
  created_at: z.ZodOptional<z.ZodString>;
4647
4557
  updated_at: z.ZodOptional<z.ZodString>;
4648
4558
  }, "strip", z.ZodTypeAny, {
4649
- id: number;
4650
4559
  status: "signed" | "pending" | "revoked";
4560
+ id: number;
4651
4561
  field_key: string;
4652
4562
  required_signer_membership_id: number | null;
4653
4563
  signed_by_user_id: number | null;
@@ -4674,8 +4584,8 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
4674
4584
  required_signer_permission?: string | null | undefined;
4675
4585
  signed_by_name?: string | null | undefined;
4676
4586
  }, {
4677
- id: number;
4678
4587
  status: "signed" | "pending" | "revoked";
4588
+ id: number;
4679
4589
  field_key: string;
4680
4590
  required_signer_membership_id: number | null;
4681
4591
  signed_by_user_id: number | null;
@@ -4864,8 +4774,8 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
4864
4774
  prefill_source?: string | undefined;
4865
4775
  }>, "many">;
4866
4776
  }, "strip", z.ZodTypeAny, {
4867
- title: string;
4868
4777
  key: string;
4778
+ title: string;
4869
4779
  order: number;
4870
4780
  fields: {
4871
4781
  type: FormFieldType;
@@ -4896,8 +4806,8 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
4896
4806
  prefill_source?: string | undefined;
4897
4807
  }[];
4898
4808
  }, {
4899
- title: string;
4900
4809
  key: string;
4810
+ title: string;
4901
4811
  order: number;
4902
4812
  fields: {
4903
4813
  type: FormFieldType;
@@ -4930,8 +4840,8 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
4930
4840
  }>, "many">;
4931
4841
  }, "strip", z.ZodTypeAny, {
4932
4842
  sections: {
4933
- title: string;
4934
4843
  key: string;
4844
+ title: string;
4935
4845
  order: number;
4936
4846
  fields: {
4937
4847
  type: FormFieldType;
@@ -4964,8 +4874,8 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
4964
4874
  }[];
4965
4875
  }, {
4966
4876
  sections: {
4967
- title: string;
4968
4877
  key: string;
4878
+ title: string;
4969
4879
  order: number;
4970
4880
  fields: {
4971
4881
  type: FormFieldType;
@@ -5016,21 +4926,21 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
5016
4926
  name: z.ZodString;
5017
4927
  email: z.ZodOptional<z.ZodString>;
5018
4928
  }, "strip", z.ZodTypeAny, {
5019
- id: number;
5020
4929
  name: string;
4930
+ id: number;
5021
4931
  email?: string | undefined;
5022
4932
  }, {
5023
- id: number;
5024
4933
  name: string;
4934
+ id: number;
5025
4935
  email?: string | undefined;
5026
4936
  }>>>;
5027
4937
  assignments: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
5028
4938
  created_at: z.ZodString;
5029
4939
  updated_at: z.ZodString;
5030
4940
  }, "strip", z.ZodTypeAny, {
5031
- id: number;
5032
4941
  name: string;
5033
4942
  type: "form_template";
4943
+ id: number;
5034
4944
  created_at: string;
5035
4945
  updated_at: string;
5036
4946
  description: string | null;
@@ -5041,8 +4951,8 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
5041
4951
  slug: string;
5042
4952
  schema: {
5043
4953
  sections: {
5044
- title: string;
5045
4954
  key: string;
4955
+ title: string;
5046
4956
  order: number;
5047
4957
  fields: {
5048
4958
  type: FormFieldType;
@@ -5086,15 +4996,15 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
5086
4996
  applies_to?: string | null | undefined;
5087
4997
  default_notification_days?: number | null | undefined;
5088
4998
  creator?: {
5089
- id: number;
5090
4999
  name: string;
5000
+ id: number;
5091
5001
  email?: string | undefined;
5092
5002
  } | null | undefined;
5093
5003
  assignments?: any[] | undefined;
5094
5004
  }, {
5095
- id: number;
5096
5005
  name: string;
5097
5006
  type: "form_template";
5007
+ id: number;
5098
5008
  created_at: string;
5099
5009
  updated_at: string;
5100
5010
  description: string | null;
@@ -5105,8 +5015,8 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
5105
5015
  slug: string;
5106
5016
  schema: {
5107
5017
  sections: {
5108
- title: string;
5109
5018
  key: string;
5019
+ title: string;
5110
5020
  order: number;
5111
5021
  fields: {
5112
5022
  type: FormFieldType;
@@ -5150,8 +5060,8 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
5150
5060
  has_expiry?: boolean | undefined;
5151
5061
  default_notification_days?: number | null | undefined;
5152
5062
  creator?: {
5153
- id: number;
5154
5063
  name: string;
5064
+ id: number;
5155
5065
  email?: string | undefined;
5156
5066
  } | null | undefined;
5157
5067
  assignments?: any[] | undefined;
@@ -5161,12 +5071,12 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
5161
5071
  name: z.ZodString;
5162
5072
  email: z.ZodOptional<z.ZodString>;
5163
5073
  }, "strip", z.ZodTypeAny, {
5164
- id: number;
5165
5074
  name: string;
5075
+ id: number;
5166
5076
  email?: string | undefined;
5167
5077
  }, {
5168
- id: number;
5169
5078
  name: string;
5079
+ id: number;
5170
5080
  email?: string | undefined;
5171
5081
  }>>>;
5172
5082
  reviewer: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -5174,12 +5084,12 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
5174
5084
  name: z.ZodString;
5175
5085
  email: z.ZodOptional<z.ZodString>;
5176
5086
  }, "strip", z.ZodTypeAny, {
5177
- id: number;
5178
5087
  name: string;
5088
+ id: number;
5179
5089
  email?: string | undefined;
5180
5090
  }, {
5181
- id: number;
5182
5091
  name: string;
5092
+ id: number;
5183
5093
  email?: string | undefined;
5184
5094
  }>>>;
5185
5095
  requester: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -5187,12 +5097,12 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
5187
5097
  name: z.ZodString;
5188
5098
  email: z.ZodOptional<z.ZodString>;
5189
5099
  }, "strip", z.ZodTypeAny, {
5190
- id: number;
5191
5100
  name: string;
5101
+ id: number;
5192
5102
  email?: string | undefined;
5193
5103
  }, {
5194
- id: number;
5195
5104
  name: string;
5105
+ id: number;
5196
5106
  email?: string | undefined;
5197
5107
  }>>>;
5198
5108
  shares: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -5205,11 +5115,11 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
5205
5115
  id: z.ZodNumber;
5206
5116
  name: z.ZodString;
5207
5117
  }, "strip", z.ZodTypeAny, {
5208
- id: number;
5209
5118
  name: string;
5210
- }, {
5211
5119
  id: number;
5120
+ }, {
5212
5121
  name: string;
5122
+ id: number;
5213
5123
  }>>;
5214
5124
  created_at: z.ZodString;
5215
5125
  }, "strip", z.ZodTypeAny, {
@@ -5219,8 +5129,8 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
5219
5129
  shared_by: number;
5220
5130
  form_submission_id: number;
5221
5131
  company?: {
5222
- id: number;
5223
5132
  name: string;
5133
+ id: number;
5224
5134
  } | undefined;
5225
5135
  type?: "form_submission_share" | undefined;
5226
5136
  }, {
@@ -5230,17 +5140,17 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
5230
5140
  shared_by: number;
5231
5141
  form_submission_id: number;
5232
5142
  company?: {
5233
- id: number;
5234
5143
  name: string;
5144
+ id: number;
5235
5145
  } | undefined;
5236
5146
  type?: "form_submission_share" | undefined;
5237
5147
  }>, "many">>;
5238
5148
  created_at: z.ZodString;
5239
5149
  updated_at: z.ZodString;
5240
5150
  }, "strip", z.ZodTypeAny, {
5241
- id: number;
5242
5151
  type: "form_submission";
5243
5152
  status: FormSubmissionStatus;
5153
+ id: number;
5244
5154
  created_at: string;
5245
5155
  updated_at: string;
5246
5156
  can: Record<string, boolean | null>;
@@ -5252,8 +5162,8 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
5252
5162
  reviewed_at: string | null;
5253
5163
  schema_snapshot: {
5254
5164
  sections: {
5255
- title: string;
5256
5165
  key: string;
5166
+ title: string;
5257
5167
  order: number;
5258
5168
  fields: {
5259
5169
  type: FormFieldType;
@@ -5301,8 +5211,8 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
5301
5211
  is_expired: boolean;
5302
5212
  expires_at?: string | null | undefined;
5303
5213
  signatures?: {
5304
- id: number;
5305
5214
  status: "signed" | "pending" | "revoked";
5215
+ id: number;
5306
5216
  field_key: string;
5307
5217
  required_signer_membership_id: number | null;
5308
5218
  signed_by_user_id: number | null;
@@ -5331,9 +5241,9 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
5331
5241
  }[] | undefined;
5332
5242
  note?: string | null | undefined;
5333
5243
  form_template?: {
5334
- id: number;
5335
5244
  name: string;
5336
5245
  type: "form_template";
5246
+ id: number;
5337
5247
  created_at: string;
5338
5248
  updated_at: string;
5339
5249
  description: string | null;
@@ -5344,8 +5254,8 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
5344
5254
  slug: string;
5345
5255
  schema: {
5346
5256
  sections: {
5347
- title: string;
5348
5257
  key: string;
5258
+ title: string;
5349
5259
  order: number;
5350
5260
  fields: {
5351
5261
  type: FormFieldType;
@@ -5389,28 +5299,28 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
5389
5299
  applies_to?: string | null | undefined;
5390
5300
  default_notification_days?: number | null | undefined;
5391
5301
  creator?: {
5392
- id: number;
5393
5302
  name: string;
5303
+ id: number;
5394
5304
  email?: string | undefined;
5395
5305
  } | null | undefined;
5396
5306
  assignments?: any[] | undefined;
5397
5307
  } | undefined;
5398
5308
  due_date?: string | null | undefined;
5399
5309
  submitter?: {
5400
- id: number;
5401
5310
  name: string;
5311
+ id: number;
5402
5312
  email?: string | undefined;
5403
5313
  } | null | undefined;
5404
5314
  reviewer?: {
5405
- id: number;
5406
5315
  name: string;
5316
+ id: number;
5407
5317
  email?: string | undefined;
5408
5318
  } | null | undefined;
5409
5319
  submittable_summary?: {
5410
- id: number;
5411
5320
  name: string | null;
5412
5321
  email: string | null;
5413
5322
  type: string;
5323
+ id: number;
5414
5324
  } | null | undefined;
5415
5325
  required_signers?: Record<string, number> | null | undefined;
5416
5326
  requested_by_user_id?: number | null | undefined;
@@ -5425,8 +5335,8 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
5425
5335
  mime_type?: string | null | undefined;
5426
5336
  } | null> | undefined;
5427
5337
  requester?: {
5428
- id: number;
5429
5338
  name: string;
5339
+ id: number;
5430
5340
  email?: string | undefined;
5431
5341
  } | null | undefined;
5432
5342
  shares?: {
@@ -5436,15 +5346,15 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
5436
5346
  shared_by: number;
5437
5347
  form_submission_id: number;
5438
5348
  company?: {
5439
- id: number;
5440
5349
  name: string;
5350
+ id: number;
5441
5351
  } | undefined;
5442
5352
  type?: "form_submission_share" | undefined;
5443
5353
  }[] | undefined;
5444
5354
  }, {
5445
- id: number;
5446
5355
  type: "form_submission";
5447
5356
  status: FormSubmissionStatus;
5357
+ id: number;
5448
5358
  created_at: string;
5449
5359
  updated_at: string;
5450
5360
  schema_version: number;
@@ -5455,8 +5365,8 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
5455
5365
  reviewed_at: string | null;
5456
5366
  schema_snapshot: {
5457
5367
  sections: {
5458
- title: string;
5459
5368
  key: string;
5369
+ title: string;
5460
5370
  order: number;
5461
5371
  fields: {
5462
5372
  type: FormFieldType;
@@ -5495,8 +5405,8 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
5495
5405
  expires_at?: string | null | undefined;
5496
5406
  can?: Record<string, boolean | null> | undefined;
5497
5407
  signatures?: {
5498
- id: number;
5499
5408
  status: "signed" | "pending" | "revoked";
5409
+ id: number;
5500
5410
  field_key: string;
5501
5411
  required_signer_membership_id: number | null;
5502
5412
  signed_by_user_id: number | null;
@@ -5525,9 +5435,9 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
5525
5435
  }[] | undefined;
5526
5436
  note?: string | null | undefined;
5527
5437
  form_template?: {
5528
- id: number;
5529
5438
  name: string;
5530
5439
  type: "form_template";
5440
+ id: number;
5531
5441
  created_at: string;
5532
5442
  updated_at: string;
5533
5443
  description: string | null;
@@ -5538,8 +5448,8 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
5538
5448
  slug: string;
5539
5449
  schema: {
5540
5450
  sections: {
5541
- title: string;
5542
5451
  key: string;
5452
+ title: string;
5543
5453
  order: number;
5544
5454
  fields: {
5545
5455
  type: FormFieldType;
@@ -5583,28 +5493,28 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
5583
5493
  has_expiry?: boolean | undefined;
5584
5494
  default_notification_days?: number | null | undefined;
5585
5495
  creator?: {
5586
- id: number;
5587
5496
  name: string;
5497
+ id: number;
5588
5498
  email?: string | undefined;
5589
5499
  } | null | undefined;
5590
5500
  assignments?: any[] | undefined;
5591
5501
  } | undefined;
5592
5502
  due_date?: string | null | undefined;
5593
5503
  submitter?: {
5594
- id: number;
5595
5504
  name: string;
5505
+ id: number;
5596
5506
  email?: string | undefined;
5597
5507
  } | null | undefined;
5598
5508
  reviewer?: {
5599
- id: number;
5600
5509
  name: string;
5510
+ id: number;
5601
5511
  email?: string | undefined;
5602
5512
  } | null | undefined;
5603
5513
  submittable_summary?: {
5604
- id: number;
5605
5514
  name: string | null;
5606
5515
  email: string | null;
5607
5516
  type: string;
5517
+ id: number;
5608
5518
  } | null | undefined;
5609
5519
  data_resolved_names?: Record<string, string> | undefined;
5610
5520
  required_signers?: Record<string, number> | null | undefined;
@@ -5629,8 +5539,8 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
5629
5539
  mime_type?: string | null | undefined;
5630
5540
  } | null> | undefined;
5631
5541
  requester?: {
5632
- id: number;
5633
5542
  name: string;
5543
+ id: number;
5634
5544
  email?: string | undefined;
5635
5545
  } | null | undefined;
5636
5546
  shares?: {
@@ -5640,8 +5550,8 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
5640
5550
  shared_by: number;
5641
5551
  form_submission_id: number;
5642
5552
  company?: {
5643
- id: number;
5644
5553
  name: string;
5554
+ id: number;
5645
5555
  } | undefined;
5646
5556
  type?: "form_submission_share" | undefined;
5647
5557
  }[] | undefined;
@@ -5655,9 +5565,9 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
5655
5565
  }>;
5656
5566
  }, "strip", z.ZodTypeAny, {
5657
5567
  data: {
5658
- id: number;
5659
5568
  type: "form_submission";
5660
5569
  status: FormSubmissionStatus;
5570
+ id: number;
5661
5571
  created_at: string;
5662
5572
  updated_at: string;
5663
5573
  can: Record<string, boolean | null>;
@@ -5669,8 +5579,8 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
5669
5579
  reviewed_at: string | null;
5670
5580
  schema_snapshot: {
5671
5581
  sections: {
5672
- title: string;
5673
5582
  key: string;
5583
+ title: string;
5674
5584
  order: number;
5675
5585
  fields: {
5676
5586
  type: FormFieldType;
@@ -5718,8 +5628,8 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
5718
5628
  is_expired: boolean;
5719
5629
  expires_at?: string | null | undefined;
5720
5630
  signatures?: {
5721
- id: number;
5722
5631
  status: "signed" | "pending" | "revoked";
5632
+ id: number;
5723
5633
  field_key: string;
5724
5634
  required_signer_membership_id: number | null;
5725
5635
  signed_by_user_id: number | null;
@@ -5748,9 +5658,9 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
5748
5658
  }[] | undefined;
5749
5659
  note?: string | null | undefined;
5750
5660
  form_template?: {
5751
- id: number;
5752
5661
  name: string;
5753
5662
  type: "form_template";
5663
+ id: number;
5754
5664
  created_at: string;
5755
5665
  updated_at: string;
5756
5666
  description: string | null;
@@ -5761,8 +5671,8 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
5761
5671
  slug: string;
5762
5672
  schema: {
5763
5673
  sections: {
5764
- title: string;
5765
5674
  key: string;
5675
+ title: string;
5766
5676
  order: number;
5767
5677
  fields: {
5768
5678
  type: FormFieldType;
@@ -5806,28 +5716,28 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
5806
5716
  applies_to?: string | null | undefined;
5807
5717
  default_notification_days?: number | null | undefined;
5808
5718
  creator?: {
5809
- id: number;
5810
5719
  name: string;
5720
+ id: number;
5811
5721
  email?: string | undefined;
5812
5722
  } | null | undefined;
5813
5723
  assignments?: any[] | undefined;
5814
5724
  } | undefined;
5815
5725
  due_date?: string | null | undefined;
5816
5726
  submitter?: {
5817
- id: number;
5818
5727
  name: string;
5728
+ id: number;
5819
5729
  email?: string | undefined;
5820
5730
  } | null | undefined;
5821
5731
  reviewer?: {
5822
- id: number;
5823
5732
  name: string;
5733
+ id: number;
5824
5734
  email?: string | undefined;
5825
5735
  } | null | undefined;
5826
5736
  submittable_summary?: {
5827
- id: number;
5828
5737
  name: string | null;
5829
5738
  email: string | null;
5830
5739
  type: string;
5740
+ id: number;
5831
5741
  } | null | undefined;
5832
5742
  required_signers?: Record<string, number> | null | undefined;
5833
5743
  requested_by_user_id?: number | null | undefined;
@@ -5842,8 +5752,8 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
5842
5752
  mime_type?: string | null | undefined;
5843
5753
  } | null> | undefined;
5844
5754
  requester?: {
5845
- id: number;
5846
5755
  name: string;
5756
+ id: number;
5847
5757
  email?: string | undefined;
5848
5758
  } | null | undefined;
5849
5759
  shares?: {
@@ -5853,8 +5763,8 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
5853
5763
  shared_by: number;
5854
5764
  form_submission_id: number;
5855
5765
  company?: {
5856
- id: number;
5857
5766
  name: string;
5767
+ id: number;
5858
5768
  } | undefined;
5859
5769
  type?: "form_submission_share" | undefined;
5860
5770
  }[] | undefined;
@@ -5864,9 +5774,9 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
5864
5774
  };
5865
5775
  }, {
5866
5776
  data: {
5867
- id: number;
5868
5777
  type: "form_submission";
5869
5778
  status: FormSubmissionStatus;
5779
+ id: number;
5870
5780
  created_at: string;
5871
5781
  updated_at: string;
5872
5782
  schema_version: number;
@@ -5877,8 +5787,8 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
5877
5787
  reviewed_at: string | null;
5878
5788
  schema_snapshot: {
5879
5789
  sections: {
5880
- title: string;
5881
5790
  key: string;
5791
+ title: string;
5882
5792
  order: number;
5883
5793
  fields: {
5884
5794
  type: FormFieldType;
@@ -5917,8 +5827,8 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
5917
5827
  expires_at?: string | null | undefined;
5918
5828
  can?: Record<string, boolean | null> | undefined;
5919
5829
  signatures?: {
5920
- id: number;
5921
5830
  status: "signed" | "pending" | "revoked";
5831
+ id: number;
5922
5832
  field_key: string;
5923
5833
  required_signer_membership_id: number | null;
5924
5834
  signed_by_user_id: number | null;
@@ -5947,9 +5857,9 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
5947
5857
  }[] | undefined;
5948
5858
  note?: string | null | undefined;
5949
5859
  form_template?: {
5950
- id: number;
5951
5860
  name: string;
5952
5861
  type: "form_template";
5862
+ id: number;
5953
5863
  created_at: string;
5954
5864
  updated_at: string;
5955
5865
  description: string | null;
@@ -5960,8 +5870,8 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
5960
5870
  slug: string;
5961
5871
  schema: {
5962
5872
  sections: {
5963
- title: string;
5964
5873
  key: string;
5874
+ title: string;
5965
5875
  order: number;
5966
5876
  fields: {
5967
5877
  type: FormFieldType;
@@ -6005,28 +5915,28 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
6005
5915
  has_expiry?: boolean | undefined;
6006
5916
  default_notification_days?: number | null | undefined;
6007
5917
  creator?: {
6008
- id: number;
6009
5918
  name: string;
5919
+ id: number;
6010
5920
  email?: string | undefined;
6011
5921
  } | null | undefined;
6012
5922
  assignments?: any[] | undefined;
6013
5923
  } | undefined;
6014
5924
  due_date?: string | null | undefined;
6015
5925
  submitter?: {
6016
- id: number;
6017
5926
  name: string;
5927
+ id: number;
6018
5928
  email?: string | undefined;
6019
5929
  } | null | undefined;
6020
5930
  reviewer?: {
6021
- id: number;
6022
5931
  name: string;
5932
+ id: number;
6023
5933
  email?: string | undefined;
6024
5934
  } | null | undefined;
6025
5935
  submittable_summary?: {
6026
- id: number;
6027
5936
  name: string | null;
6028
5937
  email: string | null;
6029
5938
  type: string;
5939
+ id: number;
6030
5940
  } | null | undefined;
6031
5941
  data_resolved_names?: Record<string, string> | undefined;
6032
5942
  required_signers?: Record<string, number> | null | undefined;
@@ -6051,8 +5961,8 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
6051
5961
  mime_type?: string | null | undefined;
6052
5962
  } | null> | undefined;
6053
5963
  requester?: {
6054
- id: number;
6055
5964
  name: string;
5965
+ id: number;
6056
5966
  email?: string | undefined;
6057
5967
  } | null | undefined;
6058
5968
  shares?: {
@@ -6062,8 +5972,8 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
6062
5972
  shared_by: number;
6063
5973
  form_submission_id: number;
6064
5974
  company?: {
6065
- id: number;
6066
5975
  name: string;
5976
+ id: number;
6067
5977
  } | undefined;
6068
5978
  type?: "form_submission_share" | undefined;
6069
5979
  }[] | undefined;
@@ -6074,4 +5984,4 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
6074
5984
  }>;
6075
5985
  type CompanySystemContractsResponse = z.infer<typeof CompanySystemContractsResponseSchema>;
6076
5986
 
6077
- export { ALLOWED_GEOMETRY_TYPES, ALLOWED_NEWSLETTER_VARIABLES, type AircraftUtilization, AllUsersBucketSchema, type AllowedGeometryType, type AllowedNewsletterVariable, type AudienceBucket, AudienceBucketSchema, AudienceBucketType, type BookingsData, type ButtonBlock, ButtonBlockSchema, type CompanyDevelopmentReportData, type CompanySystemContractsResponse, CompanySystemContractsResponseSchema, CompanyUsersBucketSchema, type CourseEnrollmentMilestone, type CourseMilestone, type CourseMilestoneForm, CourseMilestoneFormSchema, type CourseMilestoneKind, CourseMilestoneKindEnum, type CreateFaqInput, type CreateLocationMapFeatureInput, CreateLocationMapFeatureSchema, type CreateLocationMapInput, CreateLocationMapSchema, type CreateNewsletterCampaignInput, CreateNewsletterCampaignInputSchema, type CreateNewsletterTemplateInput, CreateNewsletterTemplateInputSchema, type DividerBlock, DividerBlockSchema, type Equipment, type EquipmentEntry, type ExpenseData, type Faq, FaqSchema, FaqStatus, type FinancialReportData, type FinancialSummaryData, type FlightHoursData, FormFieldType, FormSubmissionSource, FormSubmissionStatus, type GeoJsonFeature, type GeoJsonFeatureCollection, type GeoJsonGeometry, GeometrySchema, type HeadingBlock, HeadingBlockSchema, type ImportFeaturesInput, ImportFeaturesSchema, type InstructorData, type InstructorEfficiencyReportData, type InstructorSummaryData, type InvoiceData, type LandingsData, LocationFeatureVisibility, type LocationMap, type LocationMapFeature, type LocationMapFeatureGeoJson, type LocationMapGeoJson, type LocationMapGeoJsonProperties, LocationMapKind, type Media, type MemberActivityData, type NewsletterAudience, NewsletterAudienceSchema, type NewsletterBlock, NewsletterBlockSchema, NewsletterBlockType, type NewsletterCampaign, type NewsletterCampaignRecipient, NewsletterCampaignRecipientSchema, NewsletterCampaignSchema, NewsletterCampaignStatus, type NewsletterCategory, NewsletterCategorySchema, type NewsletterPreferenceRow, NewsletterPreferenceRowSchema, NewsletterRecipientStatus, type NewsletterTemplate, type NewsletterTemplateDoc, NewsletterTemplateSchema, NewsletterTemplateSchemaSchema, type OperationalReportData, type ParagraphBlock, ParagraphBlockSchema, type PeriodData, type PrepaidPackageData, type Report, type ReportData, type ReportGenerationParams, type ReportGenerationResponse, type ReportGranularity, type ReportListItem, type ReportMedia, type ReportMetadata, type ReportParameters, type ReportStatus, type ReportStatusResponse, type ReportType, type RevenueData, type ReviewFaqInput, ReviewFaqSchema, RoleMembersBucketSchema, SAFETY_REPORT_STATUS_COLORS, SAFETY_REPORT_STATUS_LABELS, type SafetyReport, type SafetyReportCategory, type SafetyReportCategoryForm, SafetyReportCategoryFormSchema, SafetyReportCategorySchema, type SafetyReportFilter, SafetyReportFilterSchema, type SafetyReportForm, SafetyReportFormSchema, type SafetyReportListResponse, SafetyReportListResponseSchema, type SafetyReportMedia, SafetyReportMediaSchema, SafetyReportSchema, type SafetyReportStatus, SafetyReportStatusEnum, type SafetyReportSubmissionResponse, SafetyReportSubmissionResponseSchema, type SafetyReportUpdate, SafetyReportUpdateSchema, type SubmitFaqQuestionInput, SubmitFaqQuestionSchema, type SystemContractRegisterEntry, SystemContractRegisterEntrySchema, SystemContractRegisterResponseSchema, type SystemContractRegisterRow, SystemContractRegisterRowSchema, type SystemContractState, SystemContractStateSchema, type TipTapNode, TipTapNodeSchema, type Todo, type TodoAcceptedAlternative, type TodoAction, TodoActionSchema, TodoKey, type TodoPriority, TodoPrioritySchema, TodoSchema, type UpdateFaqInput, type UpdateLocationMapFeatureInput, UpdateLocationMapFeatureSchema, type UpdateLocationMapInput, UpdateLocationMapSchema, type UpdateNewsletterCampaignInput, type UpdateNewsletterTemplateInput, type Viewport, ViewportSchema, companyAudienceInclude, courseEnrollmentMilestoneSchema, courseMilestoneSchema, equipmentSchema };
5987
+ export { ALLOWED_GEOMETRY_TYPES, ALLOWED_NEWSLETTER_VARIABLES, AllUsersBucketSchema, type AllowedGeometryType, type AllowedNewsletterVariable, type AudienceBucket, AudienceBucketSchema, AudienceBucketType, type ButtonBlock, ButtonBlockSchema, type CompanySystemContractsResponse, CompanySystemContractsResponseSchema, CompanyUsersBucketSchema, type CourseEnrollmentMilestone, type CourseMilestone, type CourseMilestoneForm, CourseMilestoneFormSchema, type CourseMilestoneKind, CourseMilestoneKindEnum, type CreateFaqInput, type CreateLocationMapFeatureInput, CreateLocationMapFeatureSchema, type CreateLocationMapInput, CreateLocationMapSchema, type CreateNewsletterCampaignInput, CreateNewsletterCampaignInputSchema, type CreateNewsletterTemplateInput, CreateNewsletterTemplateInputSchema, type DividerBlock, DividerBlockSchema, type Equipment, type EquipmentEntry, type Faq, FaqSchema, FaqStatus, FormFieldType, FormSubmissionSource, FormSubmissionStatus, type GeoJsonFeature, type GeoJsonFeatureCollection, type GeoJsonGeometry, GeometrySchema, type HeadingBlock, HeadingBlockSchema, type ImportFeaturesInput, ImportFeaturesSchema, LocationFeatureVisibility, type LocationMap, type LocationMapFeature, type LocationMapFeatureGeoJson, type LocationMapGeoJson, type LocationMapGeoJsonProperties, LocationMapKind, type NewsletterAudience, NewsletterAudienceSchema, type NewsletterBlock, NewsletterBlockSchema, NewsletterBlockType, type NewsletterCampaign, type NewsletterCampaignRecipient, NewsletterCampaignRecipientSchema, NewsletterCampaignSchema, NewsletterCampaignStatus, type NewsletterCategory, NewsletterCategorySchema, type NewsletterPreferenceRow, NewsletterPreferenceRowSchema, NewsletterRecipientStatus, type NewsletterTemplate, type NewsletterTemplateDoc, NewsletterTemplateSchema, NewsletterTemplateSchemaSchema, type ParagraphBlock, ParagraphBlockSchema, type Report, type ReportCalloutSection, type ReportCellValue, type ReportChartKind, type ReportChartSection, type ReportColumn, type ReportComparison, type ReportConflictResponse, type ReportDataTableSection, type ReportDetail, type ReportDocument, type ReportGranularity, type ReportGranularityMeta, type ReportKpi, type ReportKpiGridSection, type ReportMeta, type ReportParameters, type ReportRequester, type ReportSection, type ReportSeries, type ReportStatus, type ReportType, type ReportTypeMeta, type ReportValueFormat, type ReviewFaqInput, ReviewFaqSchema, RoleMembersBucketSchema, SAFETY_REPORT_STATUS_COLORS, SAFETY_REPORT_STATUS_LABELS, type SafetyReport, type SafetyReportCategory, type SafetyReportCategoryForm, SafetyReportCategoryFormSchema, SafetyReportCategorySchema, type SafetyReportFilter, SafetyReportFilterSchema, type SafetyReportForm, SafetyReportFormSchema, type SafetyReportListResponse, SafetyReportListResponseSchema, type SafetyReportMedia, SafetyReportMediaSchema, SafetyReportSchema, type SafetyReportStatus, SafetyReportStatusEnum, type SafetyReportSubmissionResponse, SafetyReportSubmissionResponseSchema, type SafetyReportUpdate, SafetyReportUpdateSchema, type StoreReportInput, type SubmitFaqQuestionInput, SubmitFaqQuestionSchema, type SystemContractRegisterEntry, SystemContractRegisterEntrySchema, SystemContractRegisterResponseSchema, type SystemContractRegisterRow, SystemContractRegisterRowSchema, type SystemContractState, SystemContractStateSchema, type TipTapNode, TipTapNodeSchema, type Todo, type TodoAcceptedAlternative, type TodoAction, TodoActionSchema, TodoKey, type TodoPriority, TodoPrioritySchema, TodoSchema, type UpdateFaqInput, type UpdateLocationMapFeatureInput, UpdateLocationMapFeatureSchema, type UpdateLocationMapInput, UpdateLocationMapSchema, type UpdateNewsletterCampaignInput, type UpdateNewsletterTemplateInput, type Viewport, ViewportSchema, companyAudienceInclude, courseEnrollmentMilestoneSchema, courseMilestoneSchema, equipmentSchema };