@updraft-solutions/mcrit-sdk 0.18.5 → 0.18.7
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-MGLQBVNH.js → chunk-Q3UDPXPZ.js} +11 -4
- package/dist/{chunk-2EE42RYO.cjs → chunk-SAOBEPQN.cjs} +11 -4
- package/dist/{conversation-BD3Fqaoh.d.cts → conversation-WwfMCoZ6.d.cts} +20417 -20365
- package/dist/{conversation-BD3Fqaoh.d.ts → conversation-WwfMCoZ6.d.ts} +20417 -20365
- package/dist/index.cjs +4 -4
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +10 -10
- package/dist/schemas/index.cjs +2 -2
- package/dist/schemas/index.d.cts +196 -196
- package/dist/schemas/index.d.ts +196 -196
- package/dist/schemas/index.js +1 -1
- 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 +11 -4
package/dist/schemas/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { m as FormFieldType, u as FormSubmissionStatus, t as FormSubmissionSource } from '../conversation-
|
|
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-
|
|
1
|
+
import { m as FormFieldType, u as FormSubmissionStatus, t as FormSubmissionSource } from '../conversation-WwfMCoZ6.cjs';
|
|
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-WwfMCoZ6.cjs';
|
|
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;
|
|
@@ -979,10 +979,10 @@ declare const courseMilestoneSchema: z.ZodObject<{
|
|
|
979
979
|
delete?: boolean | null | undefined;
|
|
980
980
|
}>>;
|
|
981
981
|
}, "strip", z.ZodTypeAny, {
|
|
982
|
-
sort_order: number;
|
|
983
|
-
id: number;
|
|
984
982
|
name: string;
|
|
983
|
+
id: number;
|
|
985
984
|
kind: string;
|
|
985
|
+
sort_order: number;
|
|
986
986
|
course_id: number;
|
|
987
987
|
is_prerequisite: boolean;
|
|
988
988
|
type?: "courseMilestone" | undefined;
|
|
@@ -1000,10 +1000,10 @@ declare const courseMilestoneSchema: z.ZodObject<{
|
|
|
1000
1000
|
} | null | undefined;
|
|
1001
1001
|
completion_rule?: Record<string, unknown> | null | undefined;
|
|
1002
1002
|
}, {
|
|
1003
|
-
sort_order: number;
|
|
1004
|
-
id: number;
|
|
1005
1003
|
name: string;
|
|
1004
|
+
id: number;
|
|
1006
1005
|
kind: string;
|
|
1006
|
+
sort_order: number;
|
|
1007
1007
|
course_id: number;
|
|
1008
1008
|
is_prerequisite: boolean;
|
|
1009
1009
|
type?: "courseMilestone" | undefined;
|
|
@@ -1034,15 +1034,15 @@ declare const CourseMilestoneFormSchema: z.ZodObject<{
|
|
|
1034
1034
|
name: string;
|
|
1035
1035
|
kind: string;
|
|
1036
1036
|
is_prerequisite: boolean;
|
|
1037
|
-
sort_order?: number | undefined;
|
|
1038
1037
|
description?: string | null | undefined;
|
|
1038
|
+
sort_order?: number | undefined;
|
|
1039
1039
|
requires_form_template_id?: number | null | undefined;
|
|
1040
1040
|
completion_rule?: Record<string, unknown> | null | undefined;
|
|
1041
1041
|
}, {
|
|
1042
1042
|
name: string;
|
|
1043
|
-
sort_order?: number | undefined;
|
|
1044
1043
|
description?: string | null | undefined;
|
|
1045
1044
|
kind?: string | undefined;
|
|
1045
|
+
sort_order?: number | undefined;
|
|
1046
1046
|
is_prerequisite?: boolean | undefined;
|
|
1047
1047
|
requires_form_template_id?: number | null | undefined;
|
|
1048
1048
|
completion_rule?: Record<string, unknown> | null | undefined;
|
|
@@ -1087,10 +1087,10 @@ declare const courseEnrollmentMilestoneSchema: z.ZodObject<{
|
|
|
1087
1087
|
delete?: boolean | null | undefined;
|
|
1088
1088
|
}>>;
|
|
1089
1089
|
}, "strip", z.ZodTypeAny, {
|
|
1090
|
-
sort_order: number;
|
|
1091
|
-
id: number;
|
|
1092
1090
|
name: string;
|
|
1091
|
+
id: number;
|
|
1093
1092
|
kind: string;
|
|
1093
|
+
sort_order: number;
|
|
1094
1094
|
course_id: number;
|
|
1095
1095
|
is_prerequisite: boolean;
|
|
1096
1096
|
type?: "courseMilestone" | undefined;
|
|
@@ -1108,10 +1108,10 @@ declare const courseEnrollmentMilestoneSchema: z.ZodObject<{
|
|
|
1108
1108
|
} | null | undefined;
|
|
1109
1109
|
completion_rule?: Record<string, unknown> | null | undefined;
|
|
1110
1110
|
}, {
|
|
1111
|
-
sort_order: number;
|
|
1112
|
-
id: number;
|
|
1113
1111
|
name: string;
|
|
1112
|
+
id: number;
|
|
1114
1113
|
kind: string;
|
|
1114
|
+
sort_order: number;
|
|
1115
1115
|
course_id: number;
|
|
1116
1116
|
is_prerequisite: boolean;
|
|
1117
1117
|
type?: "courseMilestone" | undefined;
|
|
@@ -1177,10 +1177,10 @@ declare const courseEnrollmentMilestoneSchema: z.ZodObject<{
|
|
|
1177
1177
|
} | undefined;
|
|
1178
1178
|
notes?: string | null | undefined;
|
|
1179
1179
|
milestone?: {
|
|
1180
|
-
sort_order: number;
|
|
1181
|
-
id: number;
|
|
1182
1180
|
name: string;
|
|
1181
|
+
id: number;
|
|
1183
1182
|
kind: string;
|
|
1183
|
+
sort_order: number;
|
|
1184
1184
|
course_id: number;
|
|
1185
1185
|
is_prerequisite: boolean;
|
|
1186
1186
|
type?: "courseMilestone" | undefined;
|
|
@@ -1219,10 +1219,10 @@ declare const courseEnrollmentMilestoneSchema: z.ZodObject<{
|
|
|
1219
1219
|
} | undefined;
|
|
1220
1220
|
notes?: string | null | undefined;
|
|
1221
1221
|
milestone?: {
|
|
1222
|
-
sort_order: number;
|
|
1223
|
-
id: number;
|
|
1224
1222
|
name: string;
|
|
1223
|
+
id: number;
|
|
1225
1224
|
kind: string;
|
|
1225
|
+
sort_order: number;
|
|
1226
1226
|
course_id: number;
|
|
1227
1227
|
is_prerequisite: boolean;
|
|
1228
1228
|
type?: "courseMilestone" | undefined;
|
|
@@ -1262,14 +1262,14 @@ declare const equipmentSchema: z.ZodObject<{
|
|
|
1262
1262
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1263
1263
|
manual_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1264
1264
|
}, "strip", z.ZodTypeAny, {
|
|
1265
|
-
id: number;
|
|
1266
1265
|
name: string;
|
|
1266
|
+
id: number;
|
|
1267
1267
|
type?: "equipment" | undefined;
|
|
1268
1268
|
description?: string | null | undefined;
|
|
1269
1269
|
manual_url?: string | null | undefined;
|
|
1270
1270
|
}, {
|
|
1271
|
-
id: number;
|
|
1272
1271
|
name: string;
|
|
1272
|
+
id: number;
|
|
1273
1273
|
type?: "equipment" | undefined;
|
|
1274
1274
|
description?: string | null | undefined;
|
|
1275
1275
|
manual_url?: string | null | undefined;
|
|
@@ -1465,11 +1465,11 @@ declare const NewsletterCategorySchema: z.ZodObject<{
|
|
|
1465
1465
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1466
1466
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
1467
1467
|
}, "strip", z.ZodTypeAny, {
|
|
1468
|
-
sort_order: number;
|
|
1469
|
-
id: number;
|
|
1470
1468
|
name: string;
|
|
1469
|
+
id: number;
|
|
1471
1470
|
key: string;
|
|
1472
1471
|
is_active: boolean;
|
|
1472
|
+
sort_order: number;
|
|
1473
1473
|
is_mandatory: boolean;
|
|
1474
1474
|
type?: "newsletter_category" | undefined;
|
|
1475
1475
|
created_at?: string | undefined;
|
|
@@ -1478,11 +1478,11 @@ declare const NewsletterCategorySchema: z.ZodObject<{
|
|
|
1478
1478
|
default_opt_in?: boolean | undefined;
|
|
1479
1479
|
is_internal?: boolean | undefined;
|
|
1480
1480
|
}, {
|
|
1481
|
-
sort_order: number;
|
|
1482
|
-
id: number;
|
|
1483
1481
|
name: string;
|
|
1482
|
+
id: number;
|
|
1484
1483
|
key: string;
|
|
1485
1484
|
is_active: boolean;
|
|
1485
|
+
sort_order: number;
|
|
1486
1486
|
is_mandatory: boolean;
|
|
1487
1487
|
type?: "newsletter_category" | undefined;
|
|
1488
1488
|
created_at?: string | undefined;
|
|
@@ -1640,11 +1640,11 @@ declare const NewsletterTemplateSchema: z.ZodObject<{
|
|
|
1640
1640
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1641
1641
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
1642
1642
|
}, "strip", z.ZodTypeAny, {
|
|
1643
|
-
sort_order: number;
|
|
1644
|
-
id: number;
|
|
1645
1643
|
name: string;
|
|
1644
|
+
id: number;
|
|
1646
1645
|
key: string;
|
|
1647
1646
|
is_active: boolean;
|
|
1647
|
+
sort_order: number;
|
|
1648
1648
|
is_mandatory: boolean;
|
|
1649
1649
|
type?: "newsletter_category" | undefined;
|
|
1650
1650
|
created_at?: string | undefined;
|
|
@@ -1653,11 +1653,11 @@ declare const NewsletterTemplateSchema: z.ZodObject<{
|
|
|
1653
1653
|
default_opt_in?: boolean | undefined;
|
|
1654
1654
|
is_internal?: boolean | undefined;
|
|
1655
1655
|
}, {
|
|
1656
|
-
sort_order: number;
|
|
1657
|
-
id: number;
|
|
1658
1656
|
name: string;
|
|
1657
|
+
id: number;
|
|
1659
1658
|
key: string;
|
|
1660
1659
|
is_active: boolean;
|
|
1660
|
+
sort_order: number;
|
|
1661
1661
|
is_mandatory: boolean;
|
|
1662
1662
|
type?: "newsletter_category" | undefined;
|
|
1663
1663
|
created_at?: string | undefined;
|
|
@@ -1804,12 +1804,12 @@ declare const NewsletterTemplateSchema: z.ZodObject<{
|
|
|
1804
1804
|
name: z.ZodString;
|
|
1805
1805
|
email: z.ZodOptional<z.ZodString>;
|
|
1806
1806
|
}, "strip", z.ZodTypeAny, {
|
|
1807
|
-
id: number;
|
|
1808
1807
|
name: string;
|
|
1808
|
+
id: number;
|
|
1809
1809
|
email?: string | undefined;
|
|
1810
1810
|
}, {
|
|
1811
|
-
id: number;
|
|
1812
1811
|
name: string;
|
|
1812
|
+
id: number;
|
|
1813
1813
|
email?: string | undefined;
|
|
1814
1814
|
}>>>;
|
|
1815
1815
|
can: z.ZodOptional<z.ZodObject<{
|
|
@@ -1828,8 +1828,8 @@ declare const NewsletterTemplateSchema: z.ZodObject<{
|
|
|
1828
1828
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1829
1829
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
1830
1830
|
}, "strip", z.ZodTypeAny, {
|
|
1831
|
-
id: number;
|
|
1832
1831
|
name: string;
|
|
1832
|
+
id: number;
|
|
1833
1833
|
is_active: boolean;
|
|
1834
1834
|
company_id: number | null;
|
|
1835
1835
|
schema_version: number;
|
|
@@ -1873,11 +1873,11 @@ declare const NewsletterTemplateSchema: z.ZodObject<{
|
|
|
1873
1873
|
duplicate?: boolean | undefined;
|
|
1874
1874
|
} | undefined;
|
|
1875
1875
|
category?: {
|
|
1876
|
-
sort_order: number;
|
|
1877
|
-
id: number;
|
|
1878
1876
|
name: string;
|
|
1877
|
+
id: number;
|
|
1879
1878
|
key: string;
|
|
1880
1879
|
is_active: boolean;
|
|
1880
|
+
sort_order: number;
|
|
1881
1881
|
is_mandatory: boolean;
|
|
1882
1882
|
type?: "newsletter_category" | undefined;
|
|
1883
1883
|
created_at?: string | undefined;
|
|
@@ -1889,14 +1889,14 @@ declare const NewsletterTemplateSchema: z.ZodObject<{
|
|
|
1889
1889
|
created_by?: number | null | undefined;
|
|
1890
1890
|
is_system?: boolean | undefined;
|
|
1891
1891
|
creator?: {
|
|
1892
|
-
id: number;
|
|
1893
1892
|
name: string;
|
|
1893
|
+
id: number;
|
|
1894
1894
|
email?: string | undefined;
|
|
1895
1895
|
} | null | undefined;
|
|
1896
1896
|
preheader?: string | null | undefined;
|
|
1897
1897
|
}, {
|
|
1898
|
-
id: number;
|
|
1899
1898
|
name: string;
|
|
1899
|
+
id: number;
|
|
1900
1900
|
is_active: boolean;
|
|
1901
1901
|
company_id: number | null;
|
|
1902
1902
|
schema_version: number;
|
|
@@ -1940,11 +1940,11 @@ declare const NewsletterTemplateSchema: z.ZodObject<{
|
|
|
1940
1940
|
duplicate?: boolean | undefined;
|
|
1941
1941
|
} | undefined;
|
|
1942
1942
|
category?: {
|
|
1943
|
-
sort_order: number;
|
|
1944
|
-
id: number;
|
|
1945
1943
|
name: string;
|
|
1944
|
+
id: number;
|
|
1946
1945
|
key: string;
|
|
1947
1946
|
is_active: boolean;
|
|
1947
|
+
sort_order: number;
|
|
1948
1948
|
is_mandatory: boolean;
|
|
1949
1949
|
type?: "newsletter_category" | undefined;
|
|
1950
1950
|
created_at?: string | undefined;
|
|
@@ -1956,8 +1956,8 @@ declare const NewsletterTemplateSchema: z.ZodObject<{
|
|
|
1956
1956
|
created_by?: number | null | undefined;
|
|
1957
1957
|
is_system?: boolean | undefined;
|
|
1958
1958
|
creator?: {
|
|
1959
|
-
id: number;
|
|
1960
1959
|
name: string;
|
|
1960
|
+
id: number;
|
|
1961
1961
|
email?: string | undefined;
|
|
1962
1962
|
} | null | undefined;
|
|
1963
1963
|
preheader?: string | null | undefined;
|
|
@@ -2340,11 +2340,11 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
|
|
|
2340
2340
|
created_at: z.ZodOptional<z.ZodString>;
|
|
2341
2341
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
2342
2342
|
}, "strip", z.ZodTypeAny, {
|
|
2343
|
-
sort_order: number;
|
|
2344
|
-
id: number;
|
|
2345
2343
|
name: string;
|
|
2344
|
+
id: number;
|
|
2346
2345
|
key: string;
|
|
2347
2346
|
is_active: boolean;
|
|
2347
|
+
sort_order: number;
|
|
2348
2348
|
is_mandatory: boolean;
|
|
2349
2349
|
type?: "newsletter_category" | undefined;
|
|
2350
2350
|
created_at?: string | undefined;
|
|
@@ -2353,11 +2353,11 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
|
|
|
2353
2353
|
default_opt_in?: boolean | undefined;
|
|
2354
2354
|
is_internal?: boolean | undefined;
|
|
2355
2355
|
}, {
|
|
2356
|
-
sort_order: number;
|
|
2357
|
-
id: number;
|
|
2358
2356
|
name: string;
|
|
2357
|
+
id: number;
|
|
2359
2358
|
key: string;
|
|
2360
2359
|
is_active: boolean;
|
|
2360
|
+
sort_order: number;
|
|
2361
2361
|
is_mandatory: boolean;
|
|
2362
2362
|
type?: "newsletter_category" | undefined;
|
|
2363
2363
|
created_at?: string | undefined;
|
|
@@ -2504,12 +2504,12 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
|
|
|
2504
2504
|
name: z.ZodString;
|
|
2505
2505
|
email: z.ZodOptional<z.ZodString>;
|
|
2506
2506
|
}, "strip", z.ZodTypeAny, {
|
|
2507
|
-
id: number;
|
|
2508
2507
|
name: string;
|
|
2508
|
+
id: number;
|
|
2509
2509
|
email?: string | undefined;
|
|
2510
2510
|
}, {
|
|
2511
|
-
id: number;
|
|
2512
2511
|
name: string;
|
|
2512
|
+
id: number;
|
|
2513
2513
|
email?: string | undefined;
|
|
2514
2514
|
}>>>>;
|
|
2515
2515
|
can: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
@@ -2528,9 +2528,9 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
|
|
|
2528
2528
|
created_at: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2529
2529
|
updated_at: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2530
2530
|
}, "strip", z.ZodTypeAny, {
|
|
2531
|
-
id?: number | undefined;
|
|
2532
2531
|
name?: string | undefined;
|
|
2533
2532
|
type?: "newsletter_template" | undefined;
|
|
2533
|
+
id?: number | undefined;
|
|
2534
2534
|
created_at?: string | undefined;
|
|
2535
2535
|
updated_at?: string | undefined;
|
|
2536
2536
|
description?: string | null | undefined;
|
|
@@ -2543,11 +2543,11 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
|
|
|
2543
2543
|
company_id?: number | null | undefined;
|
|
2544
2544
|
schema_version?: number | undefined;
|
|
2545
2545
|
category?: {
|
|
2546
|
-
sort_order: number;
|
|
2547
|
-
id: number;
|
|
2548
2546
|
name: string;
|
|
2547
|
+
id: number;
|
|
2549
2548
|
key: string;
|
|
2550
2549
|
is_active: boolean;
|
|
2550
|
+
sort_order: number;
|
|
2551
2551
|
is_mandatory: boolean;
|
|
2552
2552
|
type?: "newsletter_category" | undefined;
|
|
2553
2553
|
created_at?: string | undefined;
|
|
@@ -2587,17 +2587,17 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
|
|
|
2587
2587
|
} | undefined;
|
|
2588
2588
|
is_system?: boolean | undefined;
|
|
2589
2589
|
creator?: {
|
|
2590
|
-
id: number;
|
|
2591
2590
|
name: string;
|
|
2591
|
+
id: number;
|
|
2592
2592
|
email?: string | undefined;
|
|
2593
2593
|
} | null | undefined;
|
|
2594
2594
|
newsletter_category_id?: number | undefined;
|
|
2595
2595
|
subject?: string | undefined;
|
|
2596
2596
|
preheader?: string | null | undefined;
|
|
2597
2597
|
}, {
|
|
2598
|
-
id?: number | undefined;
|
|
2599
2598
|
name?: string | undefined;
|
|
2600
2599
|
type?: "newsletter_template" | undefined;
|
|
2600
|
+
id?: number | undefined;
|
|
2601
2601
|
created_at?: string | undefined;
|
|
2602
2602
|
updated_at?: string | undefined;
|
|
2603
2603
|
description?: string | null | undefined;
|
|
@@ -2610,11 +2610,11 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
|
|
|
2610
2610
|
company_id?: number | null | undefined;
|
|
2611
2611
|
schema_version?: number | undefined;
|
|
2612
2612
|
category?: {
|
|
2613
|
-
sort_order: number;
|
|
2614
|
-
id: number;
|
|
2615
2613
|
name: string;
|
|
2614
|
+
id: number;
|
|
2616
2615
|
key: string;
|
|
2617
2616
|
is_active: boolean;
|
|
2617
|
+
sort_order: number;
|
|
2618
2618
|
is_mandatory: boolean;
|
|
2619
2619
|
type?: "newsletter_category" | undefined;
|
|
2620
2620
|
created_at?: string | undefined;
|
|
@@ -2654,8 +2654,8 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
|
|
|
2654
2654
|
} | undefined;
|
|
2655
2655
|
is_system?: boolean | undefined;
|
|
2656
2656
|
creator?: {
|
|
2657
|
-
id: number;
|
|
2658
2657
|
name: string;
|
|
2658
|
+
id: number;
|
|
2659
2659
|
email?: string | undefined;
|
|
2660
2660
|
} | null | undefined;
|
|
2661
2661
|
newsletter_category_id?: number | undefined;
|
|
@@ -2679,11 +2679,11 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
|
|
|
2679
2679
|
created_at: z.ZodOptional<z.ZodString>;
|
|
2680
2680
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
2681
2681
|
}, "strip", z.ZodTypeAny, {
|
|
2682
|
-
sort_order: number;
|
|
2683
|
-
id: number;
|
|
2684
2682
|
name: string;
|
|
2683
|
+
id: number;
|
|
2685
2684
|
key: string;
|
|
2686
2685
|
is_active: boolean;
|
|
2686
|
+
sort_order: number;
|
|
2687
2687
|
is_mandatory: boolean;
|
|
2688
2688
|
type?: "newsletter_category" | undefined;
|
|
2689
2689
|
created_at?: string | undefined;
|
|
@@ -2692,11 +2692,11 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
|
|
|
2692
2692
|
default_opt_in?: boolean | undefined;
|
|
2693
2693
|
is_internal?: boolean | undefined;
|
|
2694
2694
|
}, {
|
|
2695
|
-
sort_order: number;
|
|
2696
|
-
id: number;
|
|
2697
2695
|
name: string;
|
|
2696
|
+
id: number;
|
|
2698
2697
|
key: string;
|
|
2699
2698
|
is_active: boolean;
|
|
2699
|
+
sort_order: number;
|
|
2700
2700
|
is_mandatory: boolean;
|
|
2701
2701
|
type?: "newsletter_category" | undefined;
|
|
2702
2702
|
created_at?: string | undefined;
|
|
@@ -2932,12 +2932,12 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
|
|
|
2932
2932
|
name: z.ZodString;
|
|
2933
2933
|
email: z.ZodOptional<z.ZodString>;
|
|
2934
2934
|
}, "strip", z.ZodTypeAny, {
|
|
2935
|
-
id: number;
|
|
2936
2935
|
name: string;
|
|
2936
|
+
id: number;
|
|
2937
2937
|
email?: string | undefined;
|
|
2938
2938
|
}, {
|
|
2939
|
-
id: number;
|
|
2940
2939
|
name: string;
|
|
2940
|
+
id: number;
|
|
2941
2941
|
email?: string | undefined;
|
|
2942
2942
|
}>>>;
|
|
2943
2943
|
can: z.ZodOptional<z.ZodObject<{
|
|
@@ -2965,9 +2965,9 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
|
|
|
2965
2965
|
created_at: z.ZodOptional<z.ZodString>;
|
|
2966
2966
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
2967
2967
|
}, "strip", z.ZodTypeAny, {
|
|
2968
|
-
id: number;
|
|
2969
2968
|
name: string;
|
|
2970
2969
|
status: NewsletterCampaignStatus;
|
|
2970
|
+
id: number;
|
|
2971
2971
|
company_id: number | null;
|
|
2972
2972
|
schema_snapshot: {
|
|
2973
2973
|
blocks: ({
|
|
@@ -3035,11 +3035,11 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
|
|
|
3035
3035
|
test_send?: boolean | undefined;
|
|
3036
3036
|
} | undefined;
|
|
3037
3037
|
category?: {
|
|
3038
|
-
sort_order: number;
|
|
3039
|
-
id: number;
|
|
3040
3038
|
name: string;
|
|
3039
|
+
id: number;
|
|
3041
3040
|
key: string;
|
|
3042
3041
|
is_active: boolean;
|
|
3042
|
+
sort_order: number;
|
|
3043
3043
|
is_mandatory: boolean;
|
|
3044
3044
|
type?: "newsletter_category" | undefined;
|
|
3045
3045
|
created_at?: string | undefined;
|
|
@@ -3051,9 +3051,9 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
|
|
|
3051
3051
|
scheduled_at?: string | null | undefined;
|
|
3052
3052
|
is_system?: boolean | undefined;
|
|
3053
3053
|
template?: {
|
|
3054
|
-
id?: number | undefined;
|
|
3055
3054
|
name?: string | undefined;
|
|
3056
3055
|
type?: "newsletter_template" | undefined;
|
|
3056
|
+
id?: number | undefined;
|
|
3057
3057
|
created_at?: string | undefined;
|
|
3058
3058
|
updated_at?: string | undefined;
|
|
3059
3059
|
description?: string | null | undefined;
|
|
@@ -3066,11 +3066,11 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
|
|
|
3066
3066
|
company_id?: number | null | undefined;
|
|
3067
3067
|
schema_version?: number | undefined;
|
|
3068
3068
|
category?: {
|
|
3069
|
-
sort_order: number;
|
|
3070
|
-
id: number;
|
|
3071
3069
|
name: string;
|
|
3070
|
+
id: number;
|
|
3072
3071
|
key: string;
|
|
3073
3072
|
is_active: boolean;
|
|
3073
|
+
sort_order: number;
|
|
3074
3074
|
is_mandatory: boolean;
|
|
3075
3075
|
type?: "newsletter_category" | undefined;
|
|
3076
3076
|
created_at?: string | undefined;
|
|
@@ -3110,8 +3110,8 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
|
|
|
3110
3110
|
} | undefined;
|
|
3111
3111
|
is_system?: boolean | undefined;
|
|
3112
3112
|
creator?: {
|
|
3113
|
-
id: number;
|
|
3114
3113
|
name: string;
|
|
3114
|
+
id: number;
|
|
3115
3115
|
email?: string | undefined;
|
|
3116
3116
|
} | null | undefined;
|
|
3117
3117
|
newsletter_category_id?: number | undefined;
|
|
@@ -3124,14 +3124,14 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
|
|
|
3124
3124
|
cancelled_at?: string | null | undefined;
|
|
3125
3125
|
sent_by_user_id?: number | null | undefined;
|
|
3126
3126
|
sent_by?: {
|
|
3127
|
-
id: number;
|
|
3128
3127
|
name: string;
|
|
3128
|
+
id: number;
|
|
3129
3129
|
email?: string | undefined;
|
|
3130
3130
|
} | null | undefined;
|
|
3131
3131
|
}, {
|
|
3132
|
-
id: number;
|
|
3133
3132
|
name: string;
|
|
3134
3133
|
status: NewsletterCampaignStatus;
|
|
3134
|
+
id: number;
|
|
3135
3135
|
company_id: number | null;
|
|
3136
3136
|
schema_snapshot: {
|
|
3137
3137
|
blocks: ({
|
|
@@ -3199,11 +3199,11 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
|
|
|
3199
3199
|
test_send?: boolean | undefined;
|
|
3200
3200
|
} | undefined;
|
|
3201
3201
|
category?: {
|
|
3202
|
-
sort_order: number;
|
|
3203
|
-
id: number;
|
|
3204
3202
|
name: string;
|
|
3203
|
+
id: number;
|
|
3205
3204
|
key: string;
|
|
3206
3205
|
is_active: boolean;
|
|
3206
|
+
sort_order: number;
|
|
3207
3207
|
is_mandatory: boolean;
|
|
3208
3208
|
type?: "newsletter_category" | undefined;
|
|
3209
3209
|
created_at?: string | undefined;
|
|
@@ -3215,9 +3215,9 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
|
|
|
3215
3215
|
scheduled_at?: string | null | undefined;
|
|
3216
3216
|
is_system?: boolean | undefined;
|
|
3217
3217
|
template?: {
|
|
3218
|
-
id?: number | undefined;
|
|
3219
3218
|
name?: string | undefined;
|
|
3220
3219
|
type?: "newsletter_template" | undefined;
|
|
3220
|
+
id?: number | undefined;
|
|
3221
3221
|
created_at?: string | undefined;
|
|
3222
3222
|
updated_at?: string | undefined;
|
|
3223
3223
|
description?: string | null | undefined;
|
|
@@ -3230,11 +3230,11 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
|
|
|
3230
3230
|
company_id?: number | null | undefined;
|
|
3231
3231
|
schema_version?: number | undefined;
|
|
3232
3232
|
category?: {
|
|
3233
|
-
sort_order: number;
|
|
3234
|
-
id: number;
|
|
3235
3233
|
name: string;
|
|
3234
|
+
id: number;
|
|
3236
3235
|
key: string;
|
|
3237
3236
|
is_active: boolean;
|
|
3237
|
+
sort_order: number;
|
|
3238
3238
|
is_mandatory: boolean;
|
|
3239
3239
|
type?: "newsletter_category" | undefined;
|
|
3240
3240
|
created_at?: string | undefined;
|
|
@@ -3274,8 +3274,8 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
|
|
|
3274
3274
|
} | undefined;
|
|
3275
3275
|
is_system?: boolean | undefined;
|
|
3276
3276
|
creator?: {
|
|
3277
|
-
id: number;
|
|
3278
3277
|
name: string;
|
|
3278
|
+
id: number;
|
|
3279
3279
|
email?: string | undefined;
|
|
3280
3280
|
} | null | undefined;
|
|
3281
3281
|
newsletter_category_id?: number | undefined;
|
|
@@ -3288,8 +3288,8 @@ declare const NewsletterCampaignSchema: z.ZodObject<{
|
|
|
3288
3288
|
cancelled_at?: string | null | undefined;
|
|
3289
3289
|
sent_by_user_id?: number | null | undefined;
|
|
3290
3290
|
sent_by?: {
|
|
3291
|
-
id: number;
|
|
3292
3291
|
name: string;
|
|
3292
|
+
id: number;
|
|
3293
3293
|
email?: string | undefined;
|
|
3294
3294
|
} | null | undefined;
|
|
3295
3295
|
}>;
|
|
@@ -3617,12 +3617,12 @@ declare const NewsletterCampaignRecipientSchema: z.ZodObject<{
|
|
|
3617
3617
|
name: z.ZodString;
|
|
3618
3618
|
email: z.ZodOptional<z.ZodString>;
|
|
3619
3619
|
}, "strip", z.ZodTypeAny, {
|
|
3620
|
-
id: number;
|
|
3621
3620
|
name: string;
|
|
3621
|
+
id: number;
|
|
3622
3622
|
email?: string | undefined;
|
|
3623
3623
|
}, {
|
|
3624
|
-
id: number;
|
|
3625
3624
|
name: string;
|
|
3625
|
+
id: number;
|
|
3626
3626
|
email?: string | undefined;
|
|
3627
3627
|
}>>>;
|
|
3628
3628
|
email: z.ZodString;
|
|
@@ -3634,15 +3634,15 @@ declare const NewsletterCampaignRecipientSchema: z.ZodObject<{
|
|
|
3634
3634
|
bounced_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3635
3635
|
complained_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3636
3636
|
}, "strip", z.ZodTypeAny, {
|
|
3637
|
-
id: number;
|
|
3638
3637
|
email: string;
|
|
3639
3638
|
status: NewsletterRecipientStatus;
|
|
3639
|
+
id: number;
|
|
3640
3640
|
user_id: number | null;
|
|
3641
3641
|
newsletter_campaign_id: number;
|
|
3642
3642
|
type?: "newsletter_campaign_recipient" | undefined;
|
|
3643
3643
|
user?: {
|
|
3644
|
-
id: number;
|
|
3645
3644
|
name: string;
|
|
3645
|
+
id: number;
|
|
3646
3646
|
email?: string | undefined;
|
|
3647
3647
|
} | null | undefined;
|
|
3648
3648
|
error?: string | null | undefined;
|
|
@@ -3652,15 +3652,15 @@ declare const NewsletterCampaignRecipientSchema: z.ZodObject<{
|
|
|
3652
3652
|
bounced_at?: string | null | undefined;
|
|
3653
3653
|
complained_at?: string | null | undefined;
|
|
3654
3654
|
}, {
|
|
3655
|
-
id: number;
|
|
3656
3655
|
email: string;
|
|
3657
3656
|
status: NewsletterRecipientStatus;
|
|
3657
|
+
id: number;
|
|
3658
3658
|
user_id: number | null;
|
|
3659
3659
|
newsletter_campaign_id: number;
|
|
3660
3660
|
type?: "newsletter_campaign_recipient" | undefined;
|
|
3661
3661
|
user?: {
|
|
3662
|
-
id: number;
|
|
3663
3662
|
name: string;
|
|
3663
|
+
id: number;
|
|
3664
3664
|
email?: string | undefined;
|
|
3665
3665
|
} | null | undefined;
|
|
3666
3666
|
error?: string | null | undefined;
|
|
@@ -4107,8 +4107,8 @@ declare const TodoSchema: z.ZodObject<{
|
|
|
4107
4107
|
}>;
|
|
4108
4108
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
4109
4109
|
}, "strip", z.ZodTypeAny, {
|
|
4110
|
-
title: string;
|
|
4111
4110
|
key: "fill_form" | "sign_form" | "review_form" | "log_booking" | "add_address" | "add_required_documents" | "share_document" | "fill_training_record" | "sign_training_record" | "handle_ticket";
|
|
4111
|
+
title: string;
|
|
4112
4112
|
priority: "critical" | "high" | "normal" | "low";
|
|
4113
4113
|
is_overdue: boolean;
|
|
4114
4114
|
ref_type: string;
|
|
@@ -4123,8 +4123,8 @@ declare const TodoSchema: z.ZodObject<{
|
|
|
4123
4123
|
due_date?: string | null | undefined;
|
|
4124
4124
|
subtitle?: string | null | undefined;
|
|
4125
4125
|
}, {
|
|
4126
|
-
title: string;
|
|
4127
4126
|
key: "fill_form" | "sign_form" | "review_form" | "log_booking" | "add_address" | "add_required_documents" | "share_document" | "fill_training_record" | "sign_training_record" | "handle_ticket";
|
|
4127
|
+
title: string;
|
|
4128
4128
|
ref_type: string;
|
|
4129
4129
|
ref_id: number;
|
|
4130
4130
|
action: {
|
|
@@ -4462,8 +4462,8 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
|
|
|
4462
4462
|
prefill_source?: string | undefined;
|
|
4463
4463
|
}>, "many">;
|
|
4464
4464
|
}, "strip", z.ZodTypeAny, {
|
|
4465
|
-
title: string;
|
|
4466
4465
|
key: string;
|
|
4466
|
+
title: string;
|
|
4467
4467
|
order: number;
|
|
4468
4468
|
fields: {
|
|
4469
4469
|
type: FormFieldType;
|
|
@@ -4494,8 +4494,8 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
|
|
|
4494
4494
|
prefill_source?: string | undefined;
|
|
4495
4495
|
}[];
|
|
4496
4496
|
}, {
|
|
4497
|
-
title: string;
|
|
4498
4497
|
key: string;
|
|
4498
|
+
title: string;
|
|
4499
4499
|
order: number;
|
|
4500
4500
|
fields: {
|
|
4501
4501
|
type: FormFieldType;
|
|
@@ -4528,8 +4528,8 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
|
|
|
4528
4528
|
}>, "many">;
|
|
4529
4529
|
}, "strip", z.ZodTypeAny, {
|
|
4530
4530
|
sections: {
|
|
4531
|
-
title: string;
|
|
4532
4531
|
key: string;
|
|
4532
|
+
title: string;
|
|
4533
4533
|
order: number;
|
|
4534
4534
|
fields: {
|
|
4535
4535
|
type: FormFieldType;
|
|
@@ -4562,8 +4562,8 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
|
|
|
4562
4562
|
}[];
|
|
4563
4563
|
}, {
|
|
4564
4564
|
sections: {
|
|
4565
|
-
title: string;
|
|
4566
4565
|
key: string;
|
|
4566
|
+
title: string;
|
|
4567
4567
|
order: number;
|
|
4568
4568
|
fields: {
|
|
4569
4569
|
type: FormFieldType;
|
|
@@ -4603,15 +4603,15 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
|
|
|
4603
4603
|
name: z.ZodNullable<z.ZodString>;
|
|
4604
4604
|
email: z.ZodNullable<z.ZodString>;
|
|
4605
4605
|
}, "strip", z.ZodTypeAny, {
|
|
4606
|
-
id: number;
|
|
4607
4606
|
name: string | null;
|
|
4608
4607
|
email: string | null;
|
|
4609
4608
|
type: string;
|
|
4610
|
-
}, {
|
|
4611
4609
|
id: number;
|
|
4610
|
+
}, {
|
|
4612
4611
|
name: string | null;
|
|
4613
4612
|
email: string | null;
|
|
4614
4613
|
type: string;
|
|
4614
|
+
id: number;
|
|
4615
4615
|
}>>>;
|
|
4616
4616
|
submitted_by: z.ZodNumber;
|
|
4617
4617
|
data: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
@@ -4646,8 +4646,8 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
|
|
|
4646
4646
|
created_at: z.ZodOptional<z.ZodString>;
|
|
4647
4647
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
4648
4648
|
}, "strip", z.ZodTypeAny, {
|
|
4649
|
-
id: number;
|
|
4650
4649
|
status: "signed" | "pending" | "revoked";
|
|
4650
|
+
id: number;
|
|
4651
4651
|
field_key: string;
|
|
4652
4652
|
required_signer_membership_id: number | null;
|
|
4653
4653
|
signed_by_user_id: number | null;
|
|
@@ -4674,8 +4674,8 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
|
|
|
4674
4674
|
required_signer_permission?: string | null | undefined;
|
|
4675
4675
|
signed_by_name?: string | null | undefined;
|
|
4676
4676
|
}, {
|
|
4677
|
-
id: number;
|
|
4678
4677
|
status: "signed" | "pending" | "revoked";
|
|
4678
|
+
id: number;
|
|
4679
4679
|
field_key: string;
|
|
4680
4680
|
required_signer_membership_id: number | null;
|
|
4681
4681
|
signed_by_user_id: number | null;
|
|
@@ -4864,8 +4864,8 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
|
|
|
4864
4864
|
prefill_source?: string | undefined;
|
|
4865
4865
|
}>, "many">;
|
|
4866
4866
|
}, "strip", z.ZodTypeAny, {
|
|
4867
|
-
title: string;
|
|
4868
4867
|
key: string;
|
|
4868
|
+
title: string;
|
|
4869
4869
|
order: number;
|
|
4870
4870
|
fields: {
|
|
4871
4871
|
type: FormFieldType;
|
|
@@ -4896,8 +4896,8 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
|
|
|
4896
4896
|
prefill_source?: string | undefined;
|
|
4897
4897
|
}[];
|
|
4898
4898
|
}, {
|
|
4899
|
-
title: string;
|
|
4900
4899
|
key: string;
|
|
4900
|
+
title: string;
|
|
4901
4901
|
order: number;
|
|
4902
4902
|
fields: {
|
|
4903
4903
|
type: FormFieldType;
|
|
@@ -4930,8 +4930,8 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
|
|
|
4930
4930
|
}>, "many">;
|
|
4931
4931
|
}, "strip", z.ZodTypeAny, {
|
|
4932
4932
|
sections: {
|
|
4933
|
-
title: string;
|
|
4934
4933
|
key: string;
|
|
4934
|
+
title: string;
|
|
4935
4935
|
order: number;
|
|
4936
4936
|
fields: {
|
|
4937
4937
|
type: FormFieldType;
|
|
@@ -4964,8 +4964,8 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
|
|
|
4964
4964
|
}[];
|
|
4965
4965
|
}, {
|
|
4966
4966
|
sections: {
|
|
4967
|
-
title: string;
|
|
4968
4967
|
key: string;
|
|
4968
|
+
title: string;
|
|
4969
4969
|
order: number;
|
|
4970
4970
|
fields: {
|
|
4971
4971
|
type: FormFieldType;
|
|
@@ -5016,21 +5016,21 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
|
|
|
5016
5016
|
name: z.ZodString;
|
|
5017
5017
|
email: z.ZodOptional<z.ZodString>;
|
|
5018
5018
|
}, "strip", z.ZodTypeAny, {
|
|
5019
|
-
id: number;
|
|
5020
5019
|
name: string;
|
|
5020
|
+
id: number;
|
|
5021
5021
|
email?: string | undefined;
|
|
5022
5022
|
}, {
|
|
5023
|
-
id: number;
|
|
5024
5023
|
name: string;
|
|
5024
|
+
id: number;
|
|
5025
5025
|
email?: string | undefined;
|
|
5026
5026
|
}>>>;
|
|
5027
5027
|
assignments: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
5028
5028
|
created_at: z.ZodString;
|
|
5029
5029
|
updated_at: z.ZodString;
|
|
5030
5030
|
}, "strip", z.ZodTypeAny, {
|
|
5031
|
-
id: number;
|
|
5032
5031
|
name: string;
|
|
5033
5032
|
type: "form_template";
|
|
5033
|
+
id: number;
|
|
5034
5034
|
created_at: string;
|
|
5035
5035
|
updated_at: string;
|
|
5036
5036
|
description: string | null;
|
|
@@ -5041,8 +5041,8 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
|
|
|
5041
5041
|
slug: string;
|
|
5042
5042
|
schema: {
|
|
5043
5043
|
sections: {
|
|
5044
|
-
title: string;
|
|
5045
5044
|
key: string;
|
|
5045
|
+
title: string;
|
|
5046
5046
|
order: number;
|
|
5047
5047
|
fields: {
|
|
5048
5048
|
type: FormFieldType;
|
|
@@ -5086,15 +5086,15 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
|
|
|
5086
5086
|
applies_to?: string | null | undefined;
|
|
5087
5087
|
default_notification_days?: number | null | undefined;
|
|
5088
5088
|
creator?: {
|
|
5089
|
-
id: number;
|
|
5090
5089
|
name: string;
|
|
5090
|
+
id: number;
|
|
5091
5091
|
email?: string | undefined;
|
|
5092
5092
|
} | null | undefined;
|
|
5093
5093
|
assignments?: any[] | undefined;
|
|
5094
5094
|
}, {
|
|
5095
|
-
id: number;
|
|
5096
5095
|
name: string;
|
|
5097
5096
|
type: "form_template";
|
|
5097
|
+
id: number;
|
|
5098
5098
|
created_at: string;
|
|
5099
5099
|
updated_at: string;
|
|
5100
5100
|
description: string | null;
|
|
@@ -5105,8 +5105,8 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
|
|
|
5105
5105
|
slug: string;
|
|
5106
5106
|
schema: {
|
|
5107
5107
|
sections: {
|
|
5108
|
-
title: string;
|
|
5109
5108
|
key: string;
|
|
5109
|
+
title: string;
|
|
5110
5110
|
order: number;
|
|
5111
5111
|
fields: {
|
|
5112
5112
|
type: FormFieldType;
|
|
@@ -5150,8 +5150,8 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
|
|
|
5150
5150
|
has_expiry?: boolean | undefined;
|
|
5151
5151
|
default_notification_days?: number | null | undefined;
|
|
5152
5152
|
creator?: {
|
|
5153
|
-
id: number;
|
|
5154
5153
|
name: string;
|
|
5154
|
+
id: number;
|
|
5155
5155
|
email?: string | undefined;
|
|
5156
5156
|
} | null | undefined;
|
|
5157
5157
|
assignments?: any[] | undefined;
|
|
@@ -5161,12 +5161,12 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
|
|
|
5161
5161
|
name: z.ZodString;
|
|
5162
5162
|
email: z.ZodOptional<z.ZodString>;
|
|
5163
5163
|
}, "strip", z.ZodTypeAny, {
|
|
5164
|
-
id: number;
|
|
5165
5164
|
name: string;
|
|
5165
|
+
id: number;
|
|
5166
5166
|
email?: string | undefined;
|
|
5167
5167
|
}, {
|
|
5168
|
-
id: number;
|
|
5169
5168
|
name: string;
|
|
5169
|
+
id: number;
|
|
5170
5170
|
email?: string | undefined;
|
|
5171
5171
|
}>>>;
|
|
5172
5172
|
reviewer: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -5174,12 +5174,12 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
|
|
|
5174
5174
|
name: z.ZodString;
|
|
5175
5175
|
email: z.ZodOptional<z.ZodString>;
|
|
5176
5176
|
}, "strip", z.ZodTypeAny, {
|
|
5177
|
-
id: number;
|
|
5178
5177
|
name: string;
|
|
5178
|
+
id: number;
|
|
5179
5179
|
email?: string | undefined;
|
|
5180
5180
|
}, {
|
|
5181
|
-
id: number;
|
|
5182
5181
|
name: string;
|
|
5182
|
+
id: number;
|
|
5183
5183
|
email?: string | undefined;
|
|
5184
5184
|
}>>>;
|
|
5185
5185
|
requester: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -5187,12 +5187,12 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
|
|
|
5187
5187
|
name: z.ZodString;
|
|
5188
5188
|
email: z.ZodOptional<z.ZodString>;
|
|
5189
5189
|
}, "strip", z.ZodTypeAny, {
|
|
5190
|
-
id: number;
|
|
5191
5190
|
name: string;
|
|
5191
|
+
id: number;
|
|
5192
5192
|
email?: string | undefined;
|
|
5193
5193
|
}, {
|
|
5194
|
-
id: number;
|
|
5195
5194
|
name: string;
|
|
5195
|
+
id: number;
|
|
5196
5196
|
email?: string | undefined;
|
|
5197
5197
|
}>>>;
|
|
5198
5198
|
shares: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -5205,11 +5205,11 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
|
|
|
5205
5205
|
id: z.ZodNumber;
|
|
5206
5206
|
name: z.ZodString;
|
|
5207
5207
|
}, "strip", z.ZodTypeAny, {
|
|
5208
|
-
id: number;
|
|
5209
5208
|
name: string;
|
|
5210
|
-
}, {
|
|
5211
5209
|
id: number;
|
|
5210
|
+
}, {
|
|
5212
5211
|
name: string;
|
|
5212
|
+
id: number;
|
|
5213
5213
|
}>>;
|
|
5214
5214
|
created_at: z.ZodString;
|
|
5215
5215
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -5219,8 +5219,8 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
|
|
|
5219
5219
|
shared_by: number;
|
|
5220
5220
|
form_submission_id: number;
|
|
5221
5221
|
company?: {
|
|
5222
|
-
id: number;
|
|
5223
5222
|
name: string;
|
|
5223
|
+
id: number;
|
|
5224
5224
|
} | undefined;
|
|
5225
5225
|
type?: "form_submission_share" | undefined;
|
|
5226
5226
|
}, {
|
|
@@ -5230,17 +5230,17 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
|
|
|
5230
5230
|
shared_by: number;
|
|
5231
5231
|
form_submission_id: number;
|
|
5232
5232
|
company?: {
|
|
5233
|
-
id: number;
|
|
5234
5233
|
name: string;
|
|
5234
|
+
id: number;
|
|
5235
5235
|
} | undefined;
|
|
5236
5236
|
type?: "form_submission_share" | undefined;
|
|
5237
5237
|
}>, "many">>;
|
|
5238
5238
|
created_at: z.ZodString;
|
|
5239
5239
|
updated_at: z.ZodString;
|
|
5240
5240
|
}, "strip", z.ZodTypeAny, {
|
|
5241
|
-
id: number;
|
|
5242
5241
|
type: "form_submission";
|
|
5243
5242
|
status: FormSubmissionStatus;
|
|
5243
|
+
id: number;
|
|
5244
5244
|
created_at: string;
|
|
5245
5245
|
updated_at: string;
|
|
5246
5246
|
can: Record<string, boolean | null>;
|
|
@@ -5252,8 +5252,8 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
|
|
|
5252
5252
|
reviewed_at: string | null;
|
|
5253
5253
|
schema_snapshot: {
|
|
5254
5254
|
sections: {
|
|
5255
|
-
title: string;
|
|
5256
5255
|
key: string;
|
|
5256
|
+
title: string;
|
|
5257
5257
|
order: number;
|
|
5258
5258
|
fields: {
|
|
5259
5259
|
type: FormFieldType;
|
|
@@ -5301,8 +5301,8 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
|
|
|
5301
5301
|
is_expired: boolean;
|
|
5302
5302
|
expires_at?: string | null | undefined;
|
|
5303
5303
|
signatures?: {
|
|
5304
|
-
id: number;
|
|
5305
5304
|
status: "signed" | "pending" | "revoked";
|
|
5305
|
+
id: number;
|
|
5306
5306
|
field_key: string;
|
|
5307
5307
|
required_signer_membership_id: number | null;
|
|
5308
5308
|
signed_by_user_id: number | null;
|
|
@@ -5331,9 +5331,9 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
|
|
|
5331
5331
|
}[] | undefined;
|
|
5332
5332
|
note?: string | null | undefined;
|
|
5333
5333
|
form_template?: {
|
|
5334
|
-
id: number;
|
|
5335
5334
|
name: string;
|
|
5336
5335
|
type: "form_template";
|
|
5336
|
+
id: number;
|
|
5337
5337
|
created_at: string;
|
|
5338
5338
|
updated_at: string;
|
|
5339
5339
|
description: string | null;
|
|
@@ -5344,8 +5344,8 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
|
|
|
5344
5344
|
slug: string;
|
|
5345
5345
|
schema: {
|
|
5346
5346
|
sections: {
|
|
5347
|
-
title: string;
|
|
5348
5347
|
key: string;
|
|
5348
|
+
title: string;
|
|
5349
5349
|
order: number;
|
|
5350
5350
|
fields: {
|
|
5351
5351
|
type: FormFieldType;
|
|
@@ -5389,28 +5389,28 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
|
|
|
5389
5389
|
applies_to?: string | null | undefined;
|
|
5390
5390
|
default_notification_days?: number | null | undefined;
|
|
5391
5391
|
creator?: {
|
|
5392
|
-
id: number;
|
|
5393
5392
|
name: string;
|
|
5393
|
+
id: number;
|
|
5394
5394
|
email?: string | undefined;
|
|
5395
5395
|
} | null | undefined;
|
|
5396
5396
|
assignments?: any[] | undefined;
|
|
5397
5397
|
} | undefined;
|
|
5398
5398
|
due_date?: string | null | undefined;
|
|
5399
5399
|
submitter?: {
|
|
5400
|
-
id: number;
|
|
5401
5400
|
name: string;
|
|
5401
|
+
id: number;
|
|
5402
5402
|
email?: string | undefined;
|
|
5403
5403
|
} | null | undefined;
|
|
5404
5404
|
reviewer?: {
|
|
5405
|
-
id: number;
|
|
5406
5405
|
name: string;
|
|
5406
|
+
id: number;
|
|
5407
5407
|
email?: string | undefined;
|
|
5408
5408
|
} | null | undefined;
|
|
5409
5409
|
submittable_summary?: {
|
|
5410
|
-
id: number;
|
|
5411
5410
|
name: string | null;
|
|
5412
5411
|
email: string | null;
|
|
5413
5412
|
type: string;
|
|
5413
|
+
id: number;
|
|
5414
5414
|
} | null | undefined;
|
|
5415
5415
|
required_signers?: Record<string, number> | null | undefined;
|
|
5416
5416
|
requested_by_user_id?: number | null | undefined;
|
|
@@ -5425,8 +5425,8 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
|
|
|
5425
5425
|
mime_type?: string | null | undefined;
|
|
5426
5426
|
} | null> | undefined;
|
|
5427
5427
|
requester?: {
|
|
5428
|
-
id: number;
|
|
5429
5428
|
name: string;
|
|
5429
|
+
id: number;
|
|
5430
5430
|
email?: string | undefined;
|
|
5431
5431
|
} | null | undefined;
|
|
5432
5432
|
shares?: {
|
|
@@ -5436,15 +5436,15 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
|
|
|
5436
5436
|
shared_by: number;
|
|
5437
5437
|
form_submission_id: number;
|
|
5438
5438
|
company?: {
|
|
5439
|
-
id: number;
|
|
5440
5439
|
name: string;
|
|
5440
|
+
id: number;
|
|
5441
5441
|
} | undefined;
|
|
5442
5442
|
type?: "form_submission_share" | undefined;
|
|
5443
5443
|
}[] | undefined;
|
|
5444
5444
|
}, {
|
|
5445
|
-
id: number;
|
|
5446
5445
|
type: "form_submission";
|
|
5447
5446
|
status: FormSubmissionStatus;
|
|
5447
|
+
id: number;
|
|
5448
5448
|
created_at: string;
|
|
5449
5449
|
updated_at: string;
|
|
5450
5450
|
schema_version: number;
|
|
@@ -5455,8 +5455,8 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
|
|
|
5455
5455
|
reviewed_at: string | null;
|
|
5456
5456
|
schema_snapshot: {
|
|
5457
5457
|
sections: {
|
|
5458
|
-
title: string;
|
|
5459
5458
|
key: string;
|
|
5459
|
+
title: string;
|
|
5460
5460
|
order: number;
|
|
5461
5461
|
fields: {
|
|
5462
5462
|
type: FormFieldType;
|
|
@@ -5495,8 +5495,8 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
|
|
|
5495
5495
|
expires_at?: string | null | undefined;
|
|
5496
5496
|
can?: Record<string, boolean | null> | undefined;
|
|
5497
5497
|
signatures?: {
|
|
5498
|
-
id: number;
|
|
5499
5498
|
status: "signed" | "pending" | "revoked";
|
|
5499
|
+
id: number;
|
|
5500
5500
|
field_key: string;
|
|
5501
5501
|
required_signer_membership_id: number | null;
|
|
5502
5502
|
signed_by_user_id: number | null;
|
|
@@ -5525,9 +5525,9 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
|
|
|
5525
5525
|
}[] | undefined;
|
|
5526
5526
|
note?: string | null | undefined;
|
|
5527
5527
|
form_template?: {
|
|
5528
|
-
id: number;
|
|
5529
5528
|
name: string;
|
|
5530
5529
|
type: "form_template";
|
|
5530
|
+
id: number;
|
|
5531
5531
|
created_at: string;
|
|
5532
5532
|
updated_at: string;
|
|
5533
5533
|
description: string | null;
|
|
@@ -5538,8 +5538,8 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
|
|
|
5538
5538
|
slug: string;
|
|
5539
5539
|
schema: {
|
|
5540
5540
|
sections: {
|
|
5541
|
-
title: string;
|
|
5542
5541
|
key: string;
|
|
5542
|
+
title: string;
|
|
5543
5543
|
order: number;
|
|
5544
5544
|
fields: {
|
|
5545
5545
|
type: FormFieldType;
|
|
@@ -5583,28 +5583,28 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
|
|
|
5583
5583
|
has_expiry?: boolean | undefined;
|
|
5584
5584
|
default_notification_days?: number | null | undefined;
|
|
5585
5585
|
creator?: {
|
|
5586
|
-
id: number;
|
|
5587
5586
|
name: string;
|
|
5587
|
+
id: number;
|
|
5588
5588
|
email?: string | undefined;
|
|
5589
5589
|
} | null | undefined;
|
|
5590
5590
|
assignments?: any[] | undefined;
|
|
5591
5591
|
} | undefined;
|
|
5592
5592
|
due_date?: string | null | undefined;
|
|
5593
5593
|
submitter?: {
|
|
5594
|
-
id: number;
|
|
5595
5594
|
name: string;
|
|
5595
|
+
id: number;
|
|
5596
5596
|
email?: string | undefined;
|
|
5597
5597
|
} | null | undefined;
|
|
5598
5598
|
reviewer?: {
|
|
5599
|
-
id: number;
|
|
5600
5599
|
name: string;
|
|
5600
|
+
id: number;
|
|
5601
5601
|
email?: string | undefined;
|
|
5602
5602
|
} | null | undefined;
|
|
5603
5603
|
submittable_summary?: {
|
|
5604
|
-
id: number;
|
|
5605
5604
|
name: string | null;
|
|
5606
5605
|
email: string | null;
|
|
5607
5606
|
type: string;
|
|
5607
|
+
id: number;
|
|
5608
5608
|
} | null | undefined;
|
|
5609
5609
|
data_resolved_names?: Record<string, string> | undefined;
|
|
5610
5610
|
required_signers?: Record<string, number> | null | undefined;
|
|
@@ -5629,8 +5629,8 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
|
|
|
5629
5629
|
mime_type?: string | null | undefined;
|
|
5630
5630
|
} | null> | undefined;
|
|
5631
5631
|
requester?: {
|
|
5632
|
-
id: number;
|
|
5633
5632
|
name: string;
|
|
5633
|
+
id: number;
|
|
5634
5634
|
email?: string | undefined;
|
|
5635
5635
|
} | null | undefined;
|
|
5636
5636
|
shares?: {
|
|
@@ -5640,8 +5640,8 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
|
|
|
5640
5640
|
shared_by: number;
|
|
5641
5641
|
form_submission_id: number;
|
|
5642
5642
|
company?: {
|
|
5643
|
-
id: number;
|
|
5644
5643
|
name: string;
|
|
5644
|
+
id: number;
|
|
5645
5645
|
} | undefined;
|
|
5646
5646
|
type?: "form_submission_share" | undefined;
|
|
5647
5647
|
}[] | undefined;
|
|
@@ -5655,9 +5655,9 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
|
|
|
5655
5655
|
}>;
|
|
5656
5656
|
}, "strip", z.ZodTypeAny, {
|
|
5657
5657
|
data: {
|
|
5658
|
-
id: number;
|
|
5659
5658
|
type: "form_submission";
|
|
5660
5659
|
status: FormSubmissionStatus;
|
|
5660
|
+
id: number;
|
|
5661
5661
|
created_at: string;
|
|
5662
5662
|
updated_at: string;
|
|
5663
5663
|
can: Record<string, boolean | null>;
|
|
@@ -5669,8 +5669,8 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
|
|
|
5669
5669
|
reviewed_at: string | null;
|
|
5670
5670
|
schema_snapshot: {
|
|
5671
5671
|
sections: {
|
|
5672
|
-
title: string;
|
|
5673
5672
|
key: string;
|
|
5673
|
+
title: string;
|
|
5674
5674
|
order: number;
|
|
5675
5675
|
fields: {
|
|
5676
5676
|
type: FormFieldType;
|
|
@@ -5718,8 +5718,8 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
|
|
|
5718
5718
|
is_expired: boolean;
|
|
5719
5719
|
expires_at?: string | null | undefined;
|
|
5720
5720
|
signatures?: {
|
|
5721
|
-
id: number;
|
|
5722
5721
|
status: "signed" | "pending" | "revoked";
|
|
5722
|
+
id: number;
|
|
5723
5723
|
field_key: string;
|
|
5724
5724
|
required_signer_membership_id: number | null;
|
|
5725
5725
|
signed_by_user_id: number | null;
|
|
@@ -5748,9 +5748,9 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
|
|
|
5748
5748
|
}[] | undefined;
|
|
5749
5749
|
note?: string | null | undefined;
|
|
5750
5750
|
form_template?: {
|
|
5751
|
-
id: number;
|
|
5752
5751
|
name: string;
|
|
5753
5752
|
type: "form_template";
|
|
5753
|
+
id: number;
|
|
5754
5754
|
created_at: string;
|
|
5755
5755
|
updated_at: string;
|
|
5756
5756
|
description: string | null;
|
|
@@ -5761,8 +5761,8 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
|
|
|
5761
5761
|
slug: string;
|
|
5762
5762
|
schema: {
|
|
5763
5763
|
sections: {
|
|
5764
|
-
title: string;
|
|
5765
5764
|
key: string;
|
|
5765
|
+
title: string;
|
|
5766
5766
|
order: number;
|
|
5767
5767
|
fields: {
|
|
5768
5768
|
type: FormFieldType;
|
|
@@ -5806,28 +5806,28 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
|
|
|
5806
5806
|
applies_to?: string | null | undefined;
|
|
5807
5807
|
default_notification_days?: number | null | undefined;
|
|
5808
5808
|
creator?: {
|
|
5809
|
-
id: number;
|
|
5810
5809
|
name: string;
|
|
5810
|
+
id: number;
|
|
5811
5811
|
email?: string | undefined;
|
|
5812
5812
|
} | null | undefined;
|
|
5813
5813
|
assignments?: any[] | undefined;
|
|
5814
5814
|
} | undefined;
|
|
5815
5815
|
due_date?: string | null | undefined;
|
|
5816
5816
|
submitter?: {
|
|
5817
|
-
id: number;
|
|
5818
5817
|
name: string;
|
|
5818
|
+
id: number;
|
|
5819
5819
|
email?: string | undefined;
|
|
5820
5820
|
} | null | undefined;
|
|
5821
5821
|
reviewer?: {
|
|
5822
|
-
id: number;
|
|
5823
5822
|
name: string;
|
|
5823
|
+
id: number;
|
|
5824
5824
|
email?: string | undefined;
|
|
5825
5825
|
} | null | undefined;
|
|
5826
5826
|
submittable_summary?: {
|
|
5827
|
-
id: number;
|
|
5828
5827
|
name: string | null;
|
|
5829
5828
|
email: string | null;
|
|
5830
5829
|
type: string;
|
|
5830
|
+
id: number;
|
|
5831
5831
|
} | null | undefined;
|
|
5832
5832
|
required_signers?: Record<string, number> | null | undefined;
|
|
5833
5833
|
requested_by_user_id?: number | null | undefined;
|
|
@@ -5842,8 +5842,8 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
|
|
|
5842
5842
|
mime_type?: string | null | undefined;
|
|
5843
5843
|
} | null> | undefined;
|
|
5844
5844
|
requester?: {
|
|
5845
|
-
id: number;
|
|
5846
5845
|
name: string;
|
|
5846
|
+
id: number;
|
|
5847
5847
|
email?: string | undefined;
|
|
5848
5848
|
} | null | undefined;
|
|
5849
5849
|
shares?: {
|
|
@@ -5853,8 +5853,8 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
|
|
|
5853
5853
|
shared_by: number;
|
|
5854
5854
|
form_submission_id: number;
|
|
5855
5855
|
company?: {
|
|
5856
|
-
id: number;
|
|
5857
5856
|
name: string;
|
|
5857
|
+
id: number;
|
|
5858
5858
|
} | undefined;
|
|
5859
5859
|
type?: "form_submission_share" | undefined;
|
|
5860
5860
|
}[] | undefined;
|
|
@@ -5864,9 +5864,9 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
|
|
|
5864
5864
|
};
|
|
5865
5865
|
}, {
|
|
5866
5866
|
data: {
|
|
5867
|
-
id: number;
|
|
5868
5867
|
type: "form_submission";
|
|
5869
5868
|
status: FormSubmissionStatus;
|
|
5869
|
+
id: number;
|
|
5870
5870
|
created_at: string;
|
|
5871
5871
|
updated_at: string;
|
|
5872
5872
|
schema_version: number;
|
|
@@ -5877,8 +5877,8 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
|
|
|
5877
5877
|
reviewed_at: string | null;
|
|
5878
5878
|
schema_snapshot: {
|
|
5879
5879
|
sections: {
|
|
5880
|
-
title: string;
|
|
5881
5880
|
key: string;
|
|
5881
|
+
title: string;
|
|
5882
5882
|
order: number;
|
|
5883
5883
|
fields: {
|
|
5884
5884
|
type: FormFieldType;
|
|
@@ -5917,8 +5917,8 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
|
|
|
5917
5917
|
expires_at?: string | null | undefined;
|
|
5918
5918
|
can?: Record<string, boolean | null> | undefined;
|
|
5919
5919
|
signatures?: {
|
|
5920
|
-
id: number;
|
|
5921
5920
|
status: "signed" | "pending" | "revoked";
|
|
5921
|
+
id: number;
|
|
5922
5922
|
field_key: string;
|
|
5923
5923
|
required_signer_membership_id: number | null;
|
|
5924
5924
|
signed_by_user_id: number | null;
|
|
@@ -5947,9 +5947,9 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
|
|
|
5947
5947
|
}[] | undefined;
|
|
5948
5948
|
note?: string | null | undefined;
|
|
5949
5949
|
form_template?: {
|
|
5950
|
-
id: number;
|
|
5951
5950
|
name: string;
|
|
5952
5951
|
type: "form_template";
|
|
5952
|
+
id: number;
|
|
5953
5953
|
created_at: string;
|
|
5954
5954
|
updated_at: string;
|
|
5955
5955
|
description: string | null;
|
|
@@ -5960,8 +5960,8 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
|
|
|
5960
5960
|
slug: string;
|
|
5961
5961
|
schema: {
|
|
5962
5962
|
sections: {
|
|
5963
|
-
title: string;
|
|
5964
5963
|
key: string;
|
|
5964
|
+
title: string;
|
|
5965
5965
|
order: number;
|
|
5966
5966
|
fields: {
|
|
5967
5967
|
type: FormFieldType;
|
|
@@ -6005,28 +6005,28 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
|
|
|
6005
6005
|
has_expiry?: boolean | undefined;
|
|
6006
6006
|
default_notification_days?: number | null | undefined;
|
|
6007
6007
|
creator?: {
|
|
6008
|
-
id: number;
|
|
6009
6008
|
name: string;
|
|
6009
|
+
id: number;
|
|
6010
6010
|
email?: string | undefined;
|
|
6011
6011
|
} | null | undefined;
|
|
6012
6012
|
assignments?: any[] | undefined;
|
|
6013
6013
|
} | undefined;
|
|
6014
6014
|
due_date?: string | null | undefined;
|
|
6015
6015
|
submitter?: {
|
|
6016
|
-
id: number;
|
|
6017
6016
|
name: string;
|
|
6017
|
+
id: number;
|
|
6018
6018
|
email?: string | undefined;
|
|
6019
6019
|
} | null | undefined;
|
|
6020
6020
|
reviewer?: {
|
|
6021
|
-
id: number;
|
|
6022
6021
|
name: string;
|
|
6022
|
+
id: number;
|
|
6023
6023
|
email?: string | undefined;
|
|
6024
6024
|
} | null | undefined;
|
|
6025
6025
|
submittable_summary?: {
|
|
6026
|
-
id: number;
|
|
6027
6026
|
name: string | null;
|
|
6028
6027
|
email: string | null;
|
|
6029
6028
|
type: string;
|
|
6029
|
+
id: number;
|
|
6030
6030
|
} | null | undefined;
|
|
6031
6031
|
data_resolved_names?: Record<string, string> | undefined;
|
|
6032
6032
|
required_signers?: Record<string, number> | null | undefined;
|
|
@@ -6051,8 +6051,8 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
|
|
|
6051
6051
|
mime_type?: string | null | undefined;
|
|
6052
6052
|
} | null> | undefined;
|
|
6053
6053
|
requester?: {
|
|
6054
|
-
id: number;
|
|
6055
6054
|
name: string;
|
|
6055
|
+
id: number;
|
|
6056
6056
|
email?: string | undefined;
|
|
6057
6057
|
} | null | undefined;
|
|
6058
6058
|
shares?: {
|
|
@@ -6062,8 +6062,8 @@ declare const CompanySystemContractsResponseSchema: z.ZodObject<{
|
|
|
6062
6062
|
shared_by: number;
|
|
6063
6063
|
form_submission_id: number;
|
|
6064
6064
|
company?: {
|
|
6065
|
-
id: number;
|
|
6066
6065
|
name: string;
|
|
6066
|
+
id: number;
|
|
6067
6067
|
} | undefined;
|
|
6068
6068
|
type?: "form_submission_share" | undefined;
|
|
6069
6069
|
}[] | undefined;
|