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