@updraft-solutions/mcrit-sdk 0.15.2 → 0.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-C2S2RM6I.js → chunk-4T3JURL3.js} +40 -3
- package/dist/{chunk-JNHPVGJJ.cjs → chunk-7HPJT4VX.cjs} +40 -3
- package/dist/{fbo-8TJiRqg1.d.cts → fbo-TbdcUaI9.d.cts} +2 -1
- package/dist/{fbo-8TJiRqg1.d.ts → fbo-TbdcUaI9.d.ts} +2 -1
- package/dist/index.cjs +16 -4
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +16 -4
- package/dist/schemas/index.cjs +14 -2
- package/dist/schemas/index.d.cts +1934 -9
- package/dist/schemas/index.d.ts +1934 -9
- package/dist/schemas/index.js +13 -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/form-template.ts +1 -0
- package/src/schemas/index.ts +1 -0
- package/src/schemas/system-contract.spec.ts +54 -0
- package/src/schemas/system-contract.ts +37 -0
- package/src/schemas/todo.ts +5 -1
package/dist/schemas/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import { m as FormFieldType, u as FormSubmissionStatus, t as FormSubmissionSource } from '../fbo-TbdcUaI9.js';
|
|
2
|
+
export { A as AttachSyllabusElementForm, a as AttachSyllabusElementFormSchema, B as BaseModel, C as CourseCheckSyllabus, b as CreateFormSubmissionInput, c as CreateFormTemplateAssignmentInput, d as CreateFormTemplateInput, e as CreateSyllabusFromTemplateForm, f as CreateSyllabusFromTemplateFormSchema, g as CreateSyllabusFromTemplateResult, E as EnrollmentTrainingElement, h as EnrollmentTrainingStatus, i as EnrollmentTrainingStatusEnum, F as FBO_OPERATING_DAYS, j as FBO_SYSTEM_ROLES, k as FieldLabel, l as FieldLabelSchema, n as FormSubmission, o as FormSubmissionSchema, p as FormSubmissionShare, q as FormSubmissionShareBase, r as FormSubmissionShareBaseSchema, s as FormSubmissionShareSchema, v as FormTemplate, w as FormTemplateAssignment, x as FormTemplateAssignmentSchema, y as FormTemplateSchema, z as FuelUnit, G as GradeHistoryItem, D as GradingScale, H as GradingScaleForm, I as GradingScaleFormSchema, J as GradingScalePoint, K as ImpersonationParticipant, L as ImpersonationState, M as InvalidateTrainingRecordResponse, R as ReorderSyllabusElementItem, N as ReorderSyllabusElementItemSchema, O as RequiredForm, P as RequiredFormSchema, Q as RequiredFormVia, S as RequiredFormViaCrew, T as RequiredFormViaCrewSchema, U as RequiredFormViaSchema, V as ReviewFormSubmissionInput, W as SchemaField, X as SchemaFieldSchema, Y as SchemaSection, Z as SchemaSectionSchema, _ as ShowWhen, $ as ShowWhenSchema, a0 as SignOffTrainingElementForm, a1 as SignOffTrainingElementFormSchema, a2 as Signature, a3 as SignatureSchema, a4 as StoreSyllabusForm, a5 as StoreSyllabusFormSchema, a6 as SubmissionFile, a7 as SubmissionFileSchema, a8 as Syllabus, a9 as SyllabusElement, aa as SyllabusElementMutationResult, ab as SyllabusKind, ac as SyllabusKindEnum, ad as SyllabusRolloutResult, ae as SyllabusRolloutResultItem, af as SyllabusRolloutSkippedItem, ag as TemplateSchema, ah as TemplateSchemaSchema, ai as TrainingElement, aj as TrainingElementForm, ak as TrainingElementFormSchema, al as TrainingElementKind, am as TrainingElementKindEnum, an as TrainingRecord, ao as TrainingRecordEntry, ap as TrainingRecordEntryInput, aq as TrainingRecordResult, ar as TrainingRecordResultEnum, as as TrainingRecordStatus, at as TrainingRecordStatusEnum, au as TrainingSignature, av as TrainingTemplatePack, aw as UpdateFormTemplateInput, ax as UpdateSyllabusElementForm, ay as UpdateSyllabusElementFormSchema, az as UpdateSyllabusForm, aA as UpdateSyllabusFormSchema, aB as UpsertTrainingRecordForm, aC as UpsertTrainingRecordFormSchema, aD as UsedByCourse, aE as activitySchema, aF as addressSchema, aG as aircraftPositionSchema, aH as aircraftRatingSchema, aI as airplaneIssueSchema, aJ as airplaneIssueSeverityEnum, aK as airplaneIssueStatusEnum, aL as airplanePermissionSchema, aM as airplaneSchema, aN as airplaneShareInviteSchema, aO as airportSchema, aP as alertSchema, aQ as allowedDocumentTypeSchema, aR as approachTypeSchema, aS as availSchema, aT as baseMembershipSchema, aU as billingProfileSchema, aV as bookingSchema, aW as bookingWaypointSchema, aX as commentSchema, aY as companyIdentitySchema, aZ as companySchema, a_ as contactAttributeSchema, a$ as courseCheckSyllabusSchema, b0 as courseEnrollmentMetricsSchema, b1 as courseEnrollmentSchema, b2 as courseFeeSchema, b3 as courseSchema, b4 as createSyllabusFromTemplateResultSchema, b5 as documentComplianceStatus, b6 as documentRequirement, b7 as documentRequirementGroup, b8 as documentRequirementGroupAssignment, b9 as documentSchema, ba as documentShareSchema, bb as documentType, bc as enrollmentTrainingElementSchema, bd as eventSchema, be as expenseItemSchema, bf as expenseSchema, bg as extendedAirplaneSchema, bh as fboAcceptanceAxisSchema, bi as fboAcceptanceStatusSchema, bj as fboActivityCauserSchema, bk as fboActivityChangesSchema, bl as fboActivitySchema, bm as fboCompanyGrantInputSchema, bn as fboCompanyGrantSchema, bo as fboCompanyMemberSchema, bp as fboCompanyProfileSchema, bq as fboCompanySchema, br as fboDecisionAxisSchema, bs as fboDecisionInputSchema, bt as fboDecisionSchema, bu as fboDutyAffectedSchema, bv as fboDutySchema, bw as fboDutySeriesResponseSchema, bx as fboFlightCanSchema, by as fboFlightDocumentSchema, bz as fboFlightSchema, bA as fboFlightStatusSchema, bB as fboFlightTypeSchema, bC as fboGrantAbilityOptionSchema, bD as fboGrantAbilitySchema, bE as fboGrantCompanyRefSchema, bF as fboGroundServicesSchema, bG as fboLandingsSummarySchema, bH as fboMaterialiseResultSchema, bI as fboMetaSchema, bJ as fboNextDutySchema, bK as fboOccupationSchema, bL as fboOperationsSchema, bM as fboPersonSchema, bN as fboPobSchema, bO as fboRecurrenceSchema, bP as fboRecurrenceTypeSchema, bQ as fboRecurringFlightSchema, bR as fboRoleSchema, bS as fboRowCanSchema, bT as fboStatisticsSchema, bU as fboSystemRoleSchema, bV as fboTrafficLayerInputSchema, bW as fboTrafficRowSchema, bX as fboTrafficRowTypeSchema, bY as fboTrafficSourceSchema, bZ as fboVisibilitySchema, b_ as fboWeeklyLandingSchema, b$ as feeCategoryOptionsSchema, c0 as feeSchema, c1 as flightLogSchema, c2 as flightRequestAvailabilitySchema, c3 as flightRequestBusyIntervalSchema, c4 as flightRequestResponseSchema, c5 as flightRequestResponseStatusSchema, c6 as flightRequestSchema, c7 as flightRequestSeatSchema, c8 as flightRequestStatusSchema, c9 as flightRequestWindowSchema, ca as fuelUnitSchema, cb as gradeHistoryItemSchema, cc as gradingScalePointSchema, cd as gradingScaleSchema, ce as impersonationParticipantSchema, cf as impersonationStateSchema, cg as invalidateTrainingRecordResponseSchema, ch as invoiceSchema, ci as landingFeeSchema, cj as landingSchema, ck as maintenanceEventEstimationSchema, cl as maintenanceEventSchema, cm as maintenanceStatusSchema, cn as mediaCollection, co as mediaSchema, cp as membershipIdentitySchema, cq as membershipSchema, cr as membershipSignupSchema, cs as nestedMembershipSchema, ct as postSchema, cu as postSubjectSchema, cv as prePaidPackageAssignmentSchema, cw as prePaidPackageSchema, cx as priceSchema, cy as qualificationSchema, cz as recurringFlightSchema, cA as roleSchema, cB as runwaySchema, cC as scheduledFlightSchema, cD as settingSchema, cE as specialFlightSchema, cF as syllabusElementMutationResultSchema, cG as syllabusElementSchema, cH as syllabusRolloutResultItemSchema, cI as syllabusRolloutResultSchema, cJ as syllabusRolloutSkippedItemSchema, cK as syllabusSchema, cL as tagSchema, cM as teachingPermissionSchema, cN as ticketSchema, cO as trainingElementSchema, cP as trainingRecordEntryInputSchema, cQ as trainingRecordEntrySchema, cR as trainingRecordSchema, cS as trainingSignatureSchema, cT as trainingTemplatePackSchema, cU as usedByCourseSchema, cV as userAircraftRatingSchema, cW as userQualificationSchema, cX as userSchema, cY as waypointSchema, cZ as zContactDTO, c_ as zMoneyObject, c$ as zNetGross, d0 as zNullableBool } from '../fbo-TbdcUaI9.js';
|
|
2
3
|
import { z } from 'zod';
|
|
3
4
|
|
|
4
5
|
declare enum FaqStatus {
|
|
@@ -4078,16 +4079,18 @@ declare const TodoActionSchema: z.ZodObject<{
|
|
|
4078
4079
|
target: string;
|
|
4079
4080
|
params?: Record<string, any> | undefined;
|
|
4080
4081
|
}>;
|
|
4081
|
-
declare const TodoKey: z.ZodEnum<["fill_form", "sign_form", "review_form", "log_booking", "add_address", "add_required_documents", "share_document", "fill_training_record", "sign_training_record"]>;
|
|
4082
|
+
declare const TodoKey: z.ZodEnum<["fill_form", "sign_form", "review_form", "log_booking", "add_address", "add_required_documents", "share_document", "fill_training_record", "sign_training_record", "handle_ticket"]>;
|
|
4083
|
+
declare const TodoPrioritySchema: z.ZodEnum<["critical", "high", "normal", "low"]>;
|
|
4084
|
+
type TodoPriority = z.infer<typeof TodoPrioritySchema>;
|
|
4082
4085
|
declare const TodoSchema: z.ZodObject<{
|
|
4083
|
-
key: z.ZodEnum<["fill_form", "sign_form", "review_form", "log_booking", "add_address", "add_required_documents", "share_document", "fill_training_record", "sign_training_record"]>;
|
|
4086
|
+
key: z.ZodEnum<["fill_form", "sign_form", "review_form", "log_booking", "add_address", "add_required_documents", "share_document", "fill_training_record", "sign_training_record", "handle_ticket"]>;
|
|
4084
4087
|
ref_type: z.ZodString;
|
|
4085
4088
|
ref_id: z.ZodNumber;
|
|
4086
4089
|
title: z.ZodString;
|
|
4087
4090
|
subtitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4088
4091
|
due_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4089
4092
|
is_overdue: z.ZodDefault<z.ZodBoolean>;
|
|
4090
|
-
priority: z.ZodDefault<z.ZodEnum<["
|
|
4093
|
+
priority: z.ZodDefault<z.ZodEnum<["critical", "high", "normal", "low"]>>;
|
|
4091
4094
|
company_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4092
4095
|
action: z.ZodObject<{
|
|
4093
4096
|
type: z.ZodEnum<["open_dialog", "navigate"]>;
|
|
@@ -4104,9 +4107,9 @@ declare const TodoSchema: z.ZodObject<{
|
|
|
4104
4107
|
}>;
|
|
4105
4108
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
4106
4109
|
}, "strip", z.ZodTypeAny, {
|
|
4107
|
-
key: "fill_form" | "sign_form" | "review_form" | "log_booking" | "add_address" | "add_required_documents" | "share_document" | "fill_training_record" | "sign_training_record";
|
|
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";
|
|
4108
4111
|
title: string;
|
|
4109
|
-
priority: "
|
|
4112
|
+
priority: "critical" | "high" | "normal" | "low";
|
|
4110
4113
|
is_overdue: boolean;
|
|
4111
4114
|
ref_type: string;
|
|
4112
4115
|
ref_id: number;
|
|
@@ -4120,7 +4123,7 @@ declare const TodoSchema: z.ZodObject<{
|
|
|
4120
4123
|
due_date?: string | null | undefined;
|
|
4121
4124
|
subtitle?: string | null | undefined;
|
|
4122
4125
|
}, {
|
|
4123
|
-
key: "fill_form" | "sign_form" | "review_form" | "log_booking" | "add_address" | "add_required_documents" | "share_document" | "fill_training_record" | "sign_training_record";
|
|
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";
|
|
4124
4127
|
title: string;
|
|
4125
4128
|
ref_type: string;
|
|
4126
4129
|
ref_id: number;
|
|
@@ -4133,7 +4136,7 @@ declare const TodoSchema: z.ZodObject<{
|
|
|
4133
4136
|
meta?: Record<string, any> | undefined;
|
|
4134
4137
|
due_date?: string | null | undefined;
|
|
4135
4138
|
subtitle?: string | null | undefined;
|
|
4136
|
-
priority?: "
|
|
4139
|
+
priority?: "critical" | "high" | "normal" | "low" | undefined;
|
|
4137
4140
|
is_overdue?: boolean | undefined;
|
|
4138
4141
|
}>;
|
|
4139
4142
|
type Todo = z.infer<typeof TodoSchema>;
|
|
@@ -4149,4 +4152,1926 @@ interface TodoAcceptedAlternative {
|
|
|
4149
4152
|
form_template_name: string | null;
|
|
4150
4153
|
}
|
|
4151
4154
|
|
|
4152
|
-
|
|
4155
|
+
/** State of a company for the CURRENT version of a system contract. */
|
|
4156
|
+
declare const SystemContractStateSchema: z.ZodEnum<["signed", "open", "overdue", "not_issued"]>;
|
|
4157
|
+
type SystemContractState = z.infer<typeof SystemContractStateSchema>;
|
|
4158
|
+
declare const SystemContractRegisterRowSchema: z.ZodObject<{
|
|
4159
|
+
company_id: z.ZodNumber;
|
|
4160
|
+
company_name: z.ZodString;
|
|
4161
|
+
state: z.ZodEnum<["signed", "open", "overdue", "not_issued"]>;
|
|
4162
|
+
/** Highest version this company ever signed — may be older than the current one. */
|
|
4163
|
+
signed_version: z.ZodNullable<z.ZodNumber>;
|
|
4164
|
+
due_date: z.ZodNullable<z.ZodString>;
|
|
4165
|
+
signed_at: z.ZodNullable<z.ZodString>;
|
|
4166
|
+
signed_by: z.ZodNullable<z.ZodString>;
|
|
4167
|
+
submission_id: z.ZodNullable<z.ZodNumber>;
|
|
4168
|
+
}, "strip", z.ZodTypeAny, {
|
|
4169
|
+
company_id: number;
|
|
4170
|
+
signed_at: string | null;
|
|
4171
|
+
company_name: string;
|
|
4172
|
+
state: "signed" | "open" | "overdue" | "not_issued";
|
|
4173
|
+
due_date: string | null;
|
|
4174
|
+
signed_version: number | null;
|
|
4175
|
+
signed_by: string | null;
|
|
4176
|
+
submission_id: number | null;
|
|
4177
|
+
}, {
|
|
4178
|
+
company_id: number;
|
|
4179
|
+
signed_at: string | null;
|
|
4180
|
+
company_name: string;
|
|
4181
|
+
state: "signed" | "open" | "overdue" | "not_issued";
|
|
4182
|
+
due_date: string | null;
|
|
4183
|
+
signed_version: number | null;
|
|
4184
|
+
signed_by: string | null;
|
|
4185
|
+
submission_id: number | null;
|
|
4186
|
+
}>;
|
|
4187
|
+
type SystemContractRegisterRow = z.infer<typeof SystemContractRegisterRowSchema>;
|
|
4188
|
+
declare const SystemContractRegisterEntrySchema: z.ZodObject<{
|
|
4189
|
+
slug: z.ZodString;
|
|
4190
|
+
name: z.ZodString;
|
|
4191
|
+
current_version: z.ZodNumber;
|
|
4192
|
+
companies: z.ZodArray<z.ZodObject<{
|
|
4193
|
+
company_id: z.ZodNumber;
|
|
4194
|
+
company_name: z.ZodString;
|
|
4195
|
+
state: z.ZodEnum<["signed", "open", "overdue", "not_issued"]>;
|
|
4196
|
+
/** Highest version this company ever signed — may be older than the current one. */
|
|
4197
|
+
signed_version: z.ZodNullable<z.ZodNumber>;
|
|
4198
|
+
due_date: z.ZodNullable<z.ZodString>;
|
|
4199
|
+
signed_at: z.ZodNullable<z.ZodString>;
|
|
4200
|
+
signed_by: z.ZodNullable<z.ZodString>;
|
|
4201
|
+
submission_id: z.ZodNullable<z.ZodNumber>;
|
|
4202
|
+
}, "strip", z.ZodTypeAny, {
|
|
4203
|
+
company_id: number;
|
|
4204
|
+
signed_at: string | null;
|
|
4205
|
+
company_name: string;
|
|
4206
|
+
state: "signed" | "open" | "overdue" | "not_issued";
|
|
4207
|
+
due_date: string | null;
|
|
4208
|
+
signed_version: number | null;
|
|
4209
|
+
signed_by: string | null;
|
|
4210
|
+
submission_id: number | null;
|
|
4211
|
+
}, {
|
|
4212
|
+
company_id: number;
|
|
4213
|
+
signed_at: string | null;
|
|
4214
|
+
company_name: string;
|
|
4215
|
+
state: "signed" | "open" | "overdue" | "not_issued";
|
|
4216
|
+
due_date: string | null;
|
|
4217
|
+
signed_version: number | null;
|
|
4218
|
+
signed_by: string | null;
|
|
4219
|
+
submission_id: number | null;
|
|
4220
|
+
}>, "many">;
|
|
4221
|
+
}, "strip", z.ZodTypeAny, {
|
|
4222
|
+
name: string;
|
|
4223
|
+
slug: string;
|
|
4224
|
+
companies: {
|
|
4225
|
+
company_id: number;
|
|
4226
|
+
signed_at: string | null;
|
|
4227
|
+
company_name: string;
|
|
4228
|
+
state: "signed" | "open" | "overdue" | "not_issued";
|
|
4229
|
+
due_date: string | null;
|
|
4230
|
+
signed_version: number | null;
|
|
4231
|
+
signed_by: string | null;
|
|
4232
|
+
submission_id: number | null;
|
|
4233
|
+
}[];
|
|
4234
|
+
current_version: number;
|
|
4235
|
+
}, {
|
|
4236
|
+
name: string;
|
|
4237
|
+
slug: string;
|
|
4238
|
+
companies: {
|
|
4239
|
+
company_id: number;
|
|
4240
|
+
signed_at: string | null;
|
|
4241
|
+
company_name: string;
|
|
4242
|
+
state: "signed" | "open" | "overdue" | "not_issued";
|
|
4243
|
+
due_date: string | null;
|
|
4244
|
+
signed_version: number | null;
|
|
4245
|
+
signed_by: string | null;
|
|
4246
|
+
submission_id: number | null;
|
|
4247
|
+
}[];
|
|
4248
|
+
current_version: number;
|
|
4249
|
+
}>;
|
|
4250
|
+
type SystemContractRegisterEntry = z.infer<typeof SystemContractRegisterEntrySchema>;
|
|
4251
|
+
declare const SystemContractRegisterResponseSchema: z.ZodObject<{
|
|
4252
|
+
data: z.ZodArray<z.ZodObject<{
|
|
4253
|
+
slug: z.ZodString;
|
|
4254
|
+
name: z.ZodString;
|
|
4255
|
+
current_version: z.ZodNumber;
|
|
4256
|
+
companies: z.ZodArray<z.ZodObject<{
|
|
4257
|
+
company_id: z.ZodNumber;
|
|
4258
|
+
company_name: z.ZodString;
|
|
4259
|
+
state: z.ZodEnum<["signed", "open", "overdue", "not_issued"]>;
|
|
4260
|
+
/** Highest version this company ever signed — may be older than the current one. */
|
|
4261
|
+
signed_version: z.ZodNullable<z.ZodNumber>;
|
|
4262
|
+
due_date: z.ZodNullable<z.ZodString>;
|
|
4263
|
+
signed_at: z.ZodNullable<z.ZodString>;
|
|
4264
|
+
signed_by: z.ZodNullable<z.ZodString>;
|
|
4265
|
+
submission_id: z.ZodNullable<z.ZodNumber>;
|
|
4266
|
+
}, "strip", z.ZodTypeAny, {
|
|
4267
|
+
company_id: number;
|
|
4268
|
+
signed_at: string | null;
|
|
4269
|
+
company_name: string;
|
|
4270
|
+
state: "signed" | "open" | "overdue" | "not_issued";
|
|
4271
|
+
due_date: string | null;
|
|
4272
|
+
signed_version: number | null;
|
|
4273
|
+
signed_by: string | null;
|
|
4274
|
+
submission_id: number | null;
|
|
4275
|
+
}, {
|
|
4276
|
+
company_id: number;
|
|
4277
|
+
signed_at: string | null;
|
|
4278
|
+
company_name: string;
|
|
4279
|
+
state: "signed" | "open" | "overdue" | "not_issued";
|
|
4280
|
+
due_date: string | null;
|
|
4281
|
+
signed_version: number | null;
|
|
4282
|
+
signed_by: string | null;
|
|
4283
|
+
submission_id: number | null;
|
|
4284
|
+
}>, "many">;
|
|
4285
|
+
}, "strip", z.ZodTypeAny, {
|
|
4286
|
+
name: string;
|
|
4287
|
+
slug: string;
|
|
4288
|
+
companies: {
|
|
4289
|
+
company_id: number;
|
|
4290
|
+
signed_at: string | null;
|
|
4291
|
+
company_name: string;
|
|
4292
|
+
state: "signed" | "open" | "overdue" | "not_issued";
|
|
4293
|
+
due_date: string | null;
|
|
4294
|
+
signed_version: number | null;
|
|
4295
|
+
signed_by: string | null;
|
|
4296
|
+
submission_id: number | null;
|
|
4297
|
+
}[];
|
|
4298
|
+
current_version: number;
|
|
4299
|
+
}, {
|
|
4300
|
+
name: string;
|
|
4301
|
+
slug: string;
|
|
4302
|
+
companies: {
|
|
4303
|
+
company_id: number;
|
|
4304
|
+
signed_at: string | null;
|
|
4305
|
+
company_name: string;
|
|
4306
|
+
state: "signed" | "open" | "overdue" | "not_issued";
|
|
4307
|
+
due_date: string | null;
|
|
4308
|
+
signed_version: number | null;
|
|
4309
|
+
signed_by: string | null;
|
|
4310
|
+
submission_id: number | null;
|
|
4311
|
+
}[];
|
|
4312
|
+
current_version: number;
|
|
4313
|
+
}>, "many">;
|
|
4314
|
+
}, "strip", z.ZodTypeAny, {
|
|
4315
|
+
data: {
|
|
4316
|
+
name: string;
|
|
4317
|
+
slug: string;
|
|
4318
|
+
companies: {
|
|
4319
|
+
company_id: number;
|
|
4320
|
+
signed_at: string | null;
|
|
4321
|
+
company_name: string;
|
|
4322
|
+
state: "signed" | "open" | "overdue" | "not_issued";
|
|
4323
|
+
due_date: string | null;
|
|
4324
|
+
signed_version: number | null;
|
|
4325
|
+
signed_by: string | null;
|
|
4326
|
+
submission_id: number | null;
|
|
4327
|
+
}[];
|
|
4328
|
+
current_version: number;
|
|
4329
|
+
}[];
|
|
4330
|
+
}, {
|
|
4331
|
+
data: {
|
|
4332
|
+
name: string;
|
|
4333
|
+
slug: string;
|
|
4334
|
+
companies: {
|
|
4335
|
+
company_id: number;
|
|
4336
|
+
signed_at: string | null;
|
|
4337
|
+
company_name: string;
|
|
4338
|
+
state: "signed" | "open" | "overdue" | "not_issued";
|
|
4339
|
+
due_date: string | null;
|
|
4340
|
+
signed_version: number | null;
|
|
4341
|
+
signed_by: string | null;
|
|
4342
|
+
submission_id: number | null;
|
|
4343
|
+
}[];
|
|
4344
|
+
current_version: number;
|
|
4345
|
+
}[];
|
|
4346
|
+
}>;
|
|
4347
|
+
declare const CompanySystemContractsResponseSchema: z.ZodObject<{
|
|
4348
|
+
data: z.ZodArray<z.ZodObject<{
|
|
4349
|
+
type: z.ZodLiteral<"form_submission">;
|
|
4350
|
+
id: z.ZodNumber;
|
|
4351
|
+
form_template_id: z.ZodNumber;
|
|
4352
|
+
schema_version: z.ZodNumber;
|
|
4353
|
+
schema_snapshot: z.ZodObject<{
|
|
4354
|
+
sections: z.ZodArray<z.ZodObject<{
|
|
4355
|
+
key: z.ZodString;
|
|
4356
|
+
title: z.ZodString;
|
|
4357
|
+
order: z.ZodNumber;
|
|
4358
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
4359
|
+
key: z.ZodString;
|
|
4360
|
+
type: z.ZodNativeEnum<typeof FormFieldType>;
|
|
4361
|
+
label: z.ZodOptional<z.ZodObject<{
|
|
4362
|
+
de: z.ZodOptional<z.ZodString>;
|
|
4363
|
+
en: z.ZodString;
|
|
4364
|
+
no: z.ZodOptional<z.ZodString>;
|
|
4365
|
+
}, "strip", z.ZodTypeAny, {
|
|
4366
|
+
en: string;
|
|
4367
|
+
de?: string | undefined;
|
|
4368
|
+
no?: string | undefined;
|
|
4369
|
+
}, {
|
|
4370
|
+
en: string;
|
|
4371
|
+
de?: string | undefined;
|
|
4372
|
+
no?: string | undefined;
|
|
4373
|
+
}>>;
|
|
4374
|
+
content: z.ZodOptional<z.ZodObject<{
|
|
4375
|
+
de: z.ZodOptional<z.ZodString>;
|
|
4376
|
+
en: z.ZodString;
|
|
4377
|
+
no: z.ZodOptional<z.ZodString>;
|
|
4378
|
+
}, "strip", z.ZodTypeAny, {
|
|
4379
|
+
en: string;
|
|
4380
|
+
de?: string | undefined;
|
|
4381
|
+
no?: string | undefined;
|
|
4382
|
+
}, {
|
|
4383
|
+
en: string;
|
|
4384
|
+
de?: string | undefined;
|
|
4385
|
+
no?: string | undefined;
|
|
4386
|
+
}>>;
|
|
4387
|
+
required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
4388
|
+
validation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
4389
|
+
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
4390
|
+
col_span: z.ZodOptional<z.ZodNumber>;
|
|
4391
|
+
order: z.ZodNumber;
|
|
4392
|
+
show_when: z.ZodOptional<z.ZodObject<{
|
|
4393
|
+
field: z.ZodString;
|
|
4394
|
+
operator: z.ZodEnum<["eq", "neq", "in", "not_in", "gt", "lt", "gte", "lte"]>;
|
|
4395
|
+
value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString, "many">]>;
|
|
4396
|
+
}, "strip", z.ZodTypeAny, {
|
|
4397
|
+
value: string | number | boolean | string[];
|
|
4398
|
+
field: string;
|
|
4399
|
+
operator: "eq" | "neq" | "in" | "not_in" | "gt" | "lt" | "gte" | "lte";
|
|
4400
|
+
}, {
|
|
4401
|
+
value: string | number | boolean | string[];
|
|
4402
|
+
field: string;
|
|
4403
|
+
operator: "eq" | "neq" | "in" | "not_in" | "gt" | "lt" | "gte" | "lte";
|
|
4404
|
+
}>>;
|
|
4405
|
+
signer_membership_field: z.ZodOptional<z.ZodString>;
|
|
4406
|
+
signer_permission: z.ZodOptional<z.ZodString>;
|
|
4407
|
+
signer_source: z.ZodOptional<z.ZodString>;
|
|
4408
|
+
prefill_source: z.ZodOptional<z.ZodString>;
|
|
4409
|
+
}, "strip", z.ZodTypeAny, {
|
|
4410
|
+
type: FormFieldType;
|
|
4411
|
+
key: string;
|
|
4412
|
+
required: boolean;
|
|
4413
|
+
order: number;
|
|
4414
|
+
options?: Record<string, any> | undefined;
|
|
4415
|
+
validation?: Record<string, any> | undefined;
|
|
4416
|
+
label?: {
|
|
4417
|
+
en: string;
|
|
4418
|
+
de?: string | undefined;
|
|
4419
|
+
no?: string | undefined;
|
|
4420
|
+
} | undefined;
|
|
4421
|
+
content?: {
|
|
4422
|
+
en: string;
|
|
4423
|
+
de?: string | undefined;
|
|
4424
|
+
no?: string | undefined;
|
|
4425
|
+
} | undefined;
|
|
4426
|
+
col_span?: number | undefined;
|
|
4427
|
+
show_when?: {
|
|
4428
|
+
value: string | number | boolean | string[];
|
|
4429
|
+
field: string;
|
|
4430
|
+
operator: "eq" | "neq" | "in" | "not_in" | "gt" | "lt" | "gte" | "lte";
|
|
4431
|
+
} | undefined;
|
|
4432
|
+
signer_membership_field?: string | undefined;
|
|
4433
|
+
signer_permission?: string | undefined;
|
|
4434
|
+
signer_source?: string | undefined;
|
|
4435
|
+
prefill_source?: string | undefined;
|
|
4436
|
+
}, {
|
|
4437
|
+
type: FormFieldType;
|
|
4438
|
+
key: string;
|
|
4439
|
+
order: number;
|
|
4440
|
+
options?: Record<string, any> | undefined;
|
|
4441
|
+
validation?: Record<string, any> | undefined;
|
|
4442
|
+
label?: {
|
|
4443
|
+
en: string;
|
|
4444
|
+
de?: string | undefined;
|
|
4445
|
+
no?: string | undefined;
|
|
4446
|
+
} | undefined;
|
|
4447
|
+
required?: boolean | undefined;
|
|
4448
|
+
content?: {
|
|
4449
|
+
en: string;
|
|
4450
|
+
de?: string | undefined;
|
|
4451
|
+
no?: string | undefined;
|
|
4452
|
+
} | undefined;
|
|
4453
|
+
col_span?: number | undefined;
|
|
4454
|
+
show_when?: {
|
|
4455
|
+
value: string | number | boolean | string[];
|
|
4456
|
+
field: string;
|
|
4457
|
+
operator: "eq" | "neq" | "in" | "not_in" | "gt" | "lt" | "gte" | "lte";
|
|
4458
|
+
} | undefined;
|
|
4459
|
+
signer_membership_field?: string | undefined;
|
|
4460
|
+
signer_permission?: string | undefined;
|
|
4461
|
+
signer_source?: string | undefined;
|
|
4462
|
+
prefill_source?: string | undefined;
|
|
4463
|
+
}>, "many">;
|
|
4464
|
+
}, "strip", z.ZodTypeAny, {
|
|
4465
|
+
key: string;
|
|
4466
|
+
title: string;
|
|
4467
|
+
order: number;
|
|
4468
|
+
fields: {
|
|
4469
|
+
type: FormFieldType;
|
|
4470
|
+
key: string;
|
|
4471
|
+
required: boolean;
|
|
4472
|
+
order: number;
|
|
4473
|
+
options?: Record<string, any> | undefined;
|
|
4474
|
+
validation?: Record<string, any> | undefined;
|
|
4475
|
+
label?: {
|
|
4476
|
+
en: string;
|
|
4477
|
+
de?: string | undefined;
|
|
4478
|
+
no?: string | undefined;
|
|
4479
|
+
} | undefined;
|
|
4480
|
+
content?: {
|
|
4481
|
+
en: string;
|
|
4482
|
+
de?: string | undefined;
|
|
4483
|
+
no?: string | undefined;
|
|
4484
|
+
} | undefined;
|
|
4485
|
+
col_span?: number | undefined;
|
|
4486
|
+
show_when?: {
|
|
4487
|
+
value: string | number | boolean | string[];
|
|
4488
|
+
field: string;
|
|
4489
|
+
operator: "eq" | "neq" | "in" | "not_in" | "gt" | "lt" | "gte" | "lte";
|
|
4490
|
+
} | undefined;
|
|
4491
|
+
signer_membership_field?: string | undefined;
|
|
4492
|
+
signer_permission?: string | undefined;
|
|
4493
|
+
signer_source?: string | undefined;
|
|
4494
|
+
prefill_source?: string | undefined;
|
|
4495
|
+
}[];
|
|
4496
|
+
}, {
|
|
4497
|
+
key: string;
|
|
4498
|
+
title: string;
|
|
4499
|
+
order: number;
|
|
4500
|
+
fields: {
|
|
4501
|
+
type: FormFieldType;
|
|
4502
|
+
key: string;
|
|
4503
|
+
order: number;
|
|
4504
|
+
options?: Record<string, any> | undefined;
|
|
4505
|
+
validation?: Record<string, any> | undefined;
|
|
4506
|
+
label?: {
|
|
4507
|
+
en: string;
|
|
4508
|
+
de?: string | undefined;
|
|
4509
|
+
no?: string | undefined;
|
|
4510
|
+
} | undefined;
|
|
4511
|
+
required?: boolean | undefined;
|
|
4512
|
+
content?: {
|
|
4513
|
+
en: string;
|
|
4514
|
+
de?: string | undefined;
|
|
4515
|
+
no?: string | undefined;
|
|
4516
|
+
} | undefined;
|
|
4517
|
+
col_span?: number | undefined;
|
|
4518
|
+
show_when?: {
|
|
4519
|
+
value: string | number | boolean | string[];
|
|
4520
|
+
field: string;
|
|
4521
|
+
operator: "eq" | "neq" | "in" | "not_in" | "gt" | "lt" | "gte" | "lte";
|
|
4522
|
+
} | undefined;
|
|
4523
|
+
signer_membership_field?: string | undefined;
|
|
4524
|
+
signer_permission?: string | undefined;
|
|
4525
|
+
signer_source?: string | undefined;
|
|
4526
|
+
prefill_source?: string | undefined;
|
|
4527
|
+
}[];
|
|
4528
|
+
}>, "many">;
|
|
4529
|
+
}, "strip", z.ZodTypeAny, {
|
|
4530
|
+
sections: {
|
|
4531
|
+
key: string;
|
|
4532
|
+
title: string;
|
|
4533
|
+
order: number;
|
|
4534
|
+
fields: {
|
|
4535
|
+
type: FormFieldType;
|
|
4536
|
+
key: string;
|
|
4537
|
+
required: boolean;
|
|
4538
|
+
order: number;
|
|
4539
|
+
options?: Record<string, any> | undefined;
|
|
4540
|
+
validation?: Record<string, any> | undefined;
|
|
4541
|
+
label?: {
|
|
4542
|
+
en: string;
|
|
4543
|
+
de?: string | undefined;
|
|
4544
|
+
no?: string | undefined;
|
|
4545
|
+
} | undefined;
|
|
4546
|
+
content?: {
|
|
4547
|
+
en: string;
|
|
4548
|
+
de?: string | undefined;
|
|
4549
|
+
no?: string | undefined;
|
|
4550
|
+
} | undefined;
|
|
4551
|
+
col_span?: number | undefined;
|
|
4552
|
+
show_when?: {
|
|
4553
|
+
value: string | number | boolean | string[];
|
|
4554
|
+
field: string;
|
|
4555
|
+
operator: "eq" | "neq" | "in" | "not_in" | "gt" | "lt" | "gte" | "lte";
|
|
4556
|
+
} | undefined;
|
|
4557
|
+
signer_membership_field?: string | undefined;
|
|
4558
|
+
signer_permission?: string | undefined;
|
|
4559
|
+
signer_source?: string | undefined;
|
|
4560
|
+
prefill_source?: string | undefined;
|
|
4561
|
+
}[];
|
|
4562
|
+
}[];
|
|
4563
|
+
}, {
|
|
4564
|
+
sections: {
|
|
4565
|
+
key: string;
|
|
4566
|
+
title: string;
|
|
4567
|
+
order: number;
|
|
4568
|
+
fields: {
|
|
4569
|
+
type: FormFieldType;
|
|
4570
|
+
key: string;
|
|
4571
|
+
order: number;
|
|
4572
|
+
options?: Record<string, any> | undefined;
|
|
4573
|
+
validation?: Record<string, any> | undefined;
|
|
4574
|
+
label?: {
|
|
4575
|
+
en: string;
|
|
4576
|
+
de?: string | undefined;
|
|
4577
|
+
no?: string | undefined;
|
|
4578
|
+
} | undefined;
|
|
4579
|
+
required?: boolean | undefined;
|
|
4580
|
+
content?: {
|
|
4581
|
+
en: string;
|
|
4582
|
+
de?: string | undefined;
|
|
4583
|
+
no?: string | undefined;
|
|
4584
|
+
} | undefined;
|
|
4585
|
+
col_span?: number | undefined;
|
|
4586
|
+
show_when?: {
|
|
4587
|
+
value: string | number | boolean | string[];
|
|
4588
|
+
field: string;
|
|
4589
|
+
operator: "eq" | "neq" | "in" | "not_in" | "gt" | "lt" | "gte" | "lte";
|
|
4590
|
+
} | undefined;
|
|
4591
|
+
signer_membership_field?: string | undefined;
|
|
4592
|
+
signer_permission?: string | undefined;
|
|
4593
|
+
signer_source?: string | undefined;
|
|
4594
|
+
prefill_source?: string | undefined;
|
|
4595
|
+
}[];
|
|
4596
|
+
}[];
|
|
4597
|
+
}>;
|
|
4598
|
+
submittable_type: z.ZodString;
|
|
4599
|
+
submittable_id: z.ZodNumber;
|
|
4600
|
+
submittable_summary: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4601
|
+
type: z.ZodString;
|
|
4602
|
+
id: z.ZodNumber;
|
|
4603
|
+
name: z.ZodNullable<z.ZodString>;
|
|
4604
|
+
email: z.ZodNullable<z.ZodString>;
|
|
4605
|
+
}, "strip", z.ZodTypeAny, {
|
|
4606
|
+
name: string | null;
|
|
4607
|
+
email: string | null;
|
|
4608
|
+
type: string;
|
|
4609
|
+
id: number;
|
|
4610
|
+
}, {
|
|
4611
|
+
name: string | null;
|
|
4612
|
+
email: string | null;
|
|
4613
|
+
type: string;
|
|
4614
|
+
id: number;
|
|
4615
|
+
}>>>;
|
|
4616
|
+
submitted_by: z.ZodNumber;
|
|
4617
|
+
data: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
4618
|
+
data_resolved_names: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
4619
|
+
required_signers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodNumber>>>;
|
|
4620
|
+
signatures: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4621
|
+
type: z.ZodOptional<z.ZodLiteral<"signature">>;
|
|
4622
|
+
id: z.ZodNumber;
|
|
4623
|
+
signable_type: z.ZodOptional<z.ZodString>;
|
|
4624
|
+
signable_id: z.ZodOptional<z.ZodNumber>;
|
|
4625
|
+
field_key: z.ZodString;
|
|
4626
|
+
status: z.ZodEnum<["pending", "signed", "revoked"]>;
|
|
4627
|
+
required_signer_membership_id: z.ZodNullable<z.ZodNumber>;
|
|
4628
|
+
required_signer_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4629
|
+
required_signer_permission: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4630
|
+
signed_by_user_id: z.ZodNullable<z.ZodNumber>;
|
|
4631
|
+
signed_by_membership_id: z.ZodNullable<z.ZodNumber>;
|
|
4632
|
+
signed_by_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4633
|
+
is_current_user_designated: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
4634
|
+
signed_at: z.ZodNullable<z.ZodString>;
|
|
4635
|
+
image: z.ZodNullable<z.ZodString>;
|
|
4636
|
+
data_hash: z.ZodNullable<z.ZodString>;
|
|
4637
|
+
schema_version: z.ZodNullable<z.ZodNumber>;
|
|
4638
|
+
schema_hash: z.ZodNullable<z.ZodString>;
|
|
4639
|
+
consent_text_hash: z.ZodNullable<z.ZodString>;
|
|
4640
|
+
auth_method: z.ZodNullable<z.ZodString>;
|
|
4641
|
+
auth_verified_at: z.ZodNullable<z.ZodString>;
|
|
4642
|
+
ip_address: z.ZodNullable<z.ZodString>;
|
|
4643
|
+
user_agent: z.ZodNullable<z.ZodString>;
|
|
4644
|
+
geo_country: z.ZodNullable<z.ZodString>;
|
|
4645
|
+
signing_event_id: z.ZodNullable<z.ZodString>;
|
|
4646
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
4647
|
+
updated_at: z.ZodOptional<z.ZodString>;
|
|
4648
|
+
}, "strip", z.ZodTypeAny, {
|
|
4649
|
+
status: "signed" | "pending" | "revoked";
|
|
4650
|
+
id: number;
|
|
4651
|
+
field_key: string;
|
|
4652
|
+
required_signer_membership_id: number | null;
|
|
4653
|
+
signed_by_user_id: number | null;
|
|
4654
|
+
signed_by_membership_id: number | null;
|
|
4655
|
+
is_current_user_designated: boolean;
|
|
4656
|
+
signed_at: string | null;
|
|
4657
|
+
image: string | null;
|
|
4658
|
+
data_hash: string | null;
|
|
4659
|
+
schema_version: number | null;
|
|
4660
|
+
schema_hash: string | null;
|
|
4661
|
+
consent_text_hash: string | null;
|
|
4662
|
+
auth_method: string | null;
|
|
4663
|
+
auth_verified_at: string | null;
|
|
4664
|
+
ip_address: string | null;
|
|
4665
|
+
user_agent: string | null;
|
|
4666
|
+
geo_country: string | null;
|
|
4667
|
+
signing_event_id: string | null;
|
|
4668
|
+
type?: "signature" | undefined;
|
|
4669
|
+
created_at?: string | undefined;
|
|
4670
|
+
updated_at?: string | undefined;
|
|
4671
|
+
signable_type?: string | undefined;
|
|
4672
|
+
signable_id?: number | undefined;
|
|
4673
|
+
required_signer_name?: string | null | undefined;
|
|
4674
|
+
required_signer_permission?: string | null | undefined;
|
|
4675
|
+
signed_by_name?: string | null | undefined;
|
|
4676
|
+
}, {
|
|
4677
|
+
status: "signed" | "pending" | "revoked";
|
|
4678
|
+
id: number;
|
|
4679
|
+
field_key: string;
|
|
4680
|
+
required_signer_membership_id: number | null;
|
|
4681
|
+
signed_by_user_id: number | null;
|
|
4682
|
+
signed_by_membership_id: number | null;
|
|
4683
|
+
signed_at: string | null;
|
|
4684
|
+
image: string | null;
|
|
4685
|
+
data_hash: string | null;
|
|
4686
|
+
schema_version: number | null;
|
|
4687
|
+
schema_hash: string | null;
|
|
4688
|
+
consent_text_hash: string | null;
|
|
4689
|
+
auth_method: string | null;
|
|
4690
|
+
auth_verified_at: string | null;
|
|
4691
|
+
ip_address: string | null;
|
|
4692
|
+
user_agent: string | null;
|
|
4693
|
+
geo_country: string | null;
|
|
4694
|
+
signing_event_id: string | null;
|
|
4695
|
+
type?: "signature" | undefined;
|
|
4696
|
+
created_at?: string | undefined;
|
|
4697
|
+
updated_at?: string | undefined;
|
|
4698
|
+
signable_type?: string | undefined;
|
|
4699
|
+
signable_id?: number | undefined;
|
|
4700
|
+
required_signer_name?: string | null | undefined;
|
|
4701
|
+
required_signer_permission?: string | null | undefined;
|
|
4702
|
+
signed_by_name?: string | null | undefined;
|
|
4703
|
+
is_current_user_designated?: boolean | undefined;
|
|
4704
|
+
}>, "many">>;
|
|
4705
|
+
status: z.ZodNativeEnum<typeof FormSubmissionStatus>;
|
|
4706
|
+
submitted_at: z.ZodNullable<z.ZodString>;
|
|
4707
|
+
reviewed_by: z.ZodNullable<z.ZodNumber>;
|
|
4708
|
+
reviewed_at: z.ZodNullable<z.ZodString>;
|
|
4709
|
+
review_comment: z.ZodNullable<z.ZodString>;
|
|
4710
|
+
is_final: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
4711
|
+
is_mutable: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
4712
|
+
is_signable: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
4713
|
+
has_signature_fields: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
4714
|
+
all_signatures_collected: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
4715
|
+
can: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodBoolean>>>>;
|
|
4716
|
+
source: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof FormSubmissionSource>>>;
|
|
4717
|
+
due_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4718
|
+
note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4719
|
+
requested_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4720
|
+
is_overdue: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
4721
|
+
days_until_due: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4722
|
+
expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4723
|
+
notification_days_before: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4724
|
+
notifications_enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
4725
|
+
is_expired: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
4726
|
+
files: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodObject<{
|
|
4727
|
+
id: z.ZodNumber;
|
|
4728
|
+
file_name: z.ZodString;
|
|
4729
|
+
size: z.ZodNumber;
|
|
4730
|
+
mime_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4731
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4732
|
+
conversions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>>;
|
|
4733
|
+
}, "strip", z.ZodTypeAny, {
|
|
4734
|
+
id: number;
|
|
4735
|
+
file_name: string;
|
|
4736
|
+
size: number;
|
|
4737
|
+
conversions?: Record<string, string | null> | undefined;
|
|
4738
|
+
url?: string | null | undefined;
|
|
4739
|
+
mime_type?: string | null | undefined;
|
|
4740
|
+
}, {
|
|
4741
|
+
id: number;
|
|
4742
|
+
file_name: string;
|
|
4743
|
+
size: number;
|
|
4744
|
+
conversions?: Record<string, string | null> | undefined;
|
|
4745
|
+
url?: string | null | undefined;
|
|
4746
|
+
mime_type?: string | null | undefined;
|
|
4747
|
+
}>>>>;
|
|
4748
|
+
form_template: z.ZodOptional<z.ZodObject<{
|
|
4749
|
+
type: z.ZodLiteral<"form_template">;
|
|
4750
|
+
id: z.ZodNumber;
|
|
4751
|
+
company_id: z.ZodNullable<z.ZodNumber>;
|
|
4752
|
+
name: z.ZodString;
|
|
4753
|
+
slug: z.ZodString;
|
|
4754
|
+
description: z.ZodNullable<z.ZodString>;
|
|
4755
|
+
schema: z.ZodObject<{
|
|
4756
|
+
sections: z.ZodArray<z.ZodObject<{
|
|
4757
|
+
key: z.ZodString;
|
|
4758
|
+
title: z.ZodString;
|
|
4759
|
+
order: z.ZodNumber;
|
|
4760
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
4761
|
+
key: z.ZodString;
|
|
4762
|
+
type: z.ZodNativeEnum<typeof FormFieldType>;
|
|
4763
|
+
label: z.ZodOptional<z.ZodObject<{
|
|
4764
|
+
de: z.ZodOptional<z.ZodString>;
|
|
4765
|
+
en: z.ZodString;
|
|
4766
|
+
no: z.ZodOptional<z.ZodString>;
|
|
4767
|
+
}, "strip", z.ZodTypeAny, {
|
|
4768
|
+
en: string;
|
|
4769
|
+
de?: string | undefined;
|
|
4770
|
+
no?: string | undefined;
|
|
4771
|
+
}, {
|
|
4772
|
+
en: string;
|
|
4773
|
+
de?: string | undefined;
|
|
4774
|
+
no?: string | undefined;
|
|
4775
|
+
}>>;
|
|
4776
|
+
content: z.ZodOptional<z.ZodObject<{
|
|
4777
|
+
de: z.ZodOptional<z.ZodString>;
|
|
4778
|
+
en: z.ZodString;
|
|
4779
|
+
no: z.ZodOptional<z.ZodString>;
|
|
4780
|
+
}, "strip", z.ZodTypeAny, {
|
|
4781
|
+
en: string;
|
|
4782
|
+
de?: string | undefined;
|
|
4783
|
+
no?: string | undefined;
|
|
4784
|
+
}, {
|
|
4785
|
+
en: string;
|
|
4786
|
+
de?: string | undefined;
|
|
4787
|
+
no?: string | undefined;
|
|
4788
|
+
}>>;
|
|
4789
|
+
required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
4790
|
+
validation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
4791
|
+
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
4792
|
+
col_span: z.ZodOptional<z.ZodNumber>;
|
|
4793
|
+
order: z.ZodNumber;
|
|
4794
|
+
show_when: z.ZodOptional<z.ZodObject<{
|
|
4795
|
+
field: z.ZodString;
|
|
4796
|
+
operator: z.ZodEnum<["eq", "neq", "in", "not_in", "gt", "lt", "gte", "lte"]>;
|
|
4797
|
+
value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString, "many">]>;
|
|
4798
|
+
}, "strip", z.ZodTypeAny, {
|
|
4799
|
+
value: string | number | boolean | string[];
|
|
4800
|
+
field: string;
|
|
4801
|
+
operator: "eq" | "neq" | "in" | "not_in" | "gt" | "lt" | "gte" | "lte";
|
|
4802
|
+
}, {
|
|
4803
|
+
value: string | number | boolean | string[];
|
|
4804
|
+
field: string;
|
|
4805
|
+
operator: "eq" | "neq" | "in" | "not_in" | "gt" | "lt" | "gte" | "lte";
|
|
4806
|
+
}>>;
|
|
4807
|
+
signer_membership_field: z.ZodOptional<z.ZodString>;
|
|
4808
|
+
signer_permission: z.ZodOptional<z.ZodString>;
|
|
4809
|
+
signer_source: z.ZodOptional<z.ZodString>;
|
|
4810
|
+
prefill_source: z.ZodOptional<z.ZodString>;
|
|
4811
|
+
}, "strip", z.ZodTypeAny, {
|
|
4812
|
+
type: FormFieldType;
|
|
4813
|
+
key: string;
|
|
4814
|
+
required: boolean;
|
|
4815
|
+
order: number;
|
|
4816
|
+
options?: Record<string, any> | undefined;
|
|
4817
|
+
validation?: Record<string, any> | undefined;
|
|
4818
|
+
label?: {
|
|
4819
|
+
en: string;
|
|
4820
|
+
de?: string | undefined;
|
|
4821
|
+
no?: string | undefined;
|
|
4822
|
+
} | undefined;
|
|
4823
|
+
content?: {
|
|
4824
|
+
en: string;
|
|
4825
|
+
de?: string | undefined;
|
|
4826
|
+
no?: string | undefined;
|
|
4827
|
+
} | undefined;
|
|
4828
|
+
col_span?: number | undefined;
|
|
4829
|
+
show_when?: {
|
|
4830
|
+
value: string | number | boolean | string[];
|
|
4831
|
+
field: string;
|
|
4832
|
+
operator: "eq" | "neq" | "in" | "not_in" | "gt" | "lt" | "gte" | "lte";
|
|
4833
|
+
} | undefined;
|
|
4834
|
+
signer_membership_field?: string | undefined;
|
|
4835
|
+
signer_permission?: string | undefined;
|
|
4836
|
+
signer_source?: string | undefined;
|
|
4837
|
+
prefill_source?: string | undefined;
|
|
4838
|
+
}, {
|
|
4839
|
+
type: FormFieldType;
|
|
4840
|
+
key: string;
|
|
4841
|
+
order: number;
|
|
4842
|
+
options?: Record<string, any> | undefined;
|
|
4843
|
+
validation?: Record<string, any> | undefined;
|
|
4844
|
+
label?: {
|
|
4845
|
+
en: string;
|
|
4846
|
+
de?: string | undefined;
|
|
4847
|
+
no?: string | undefined;
|
|
4848
|
+
} | undefined;
|
|
4849
|
+
required?: boolean | undefined;
|
|
4850
|
+
content?: {
|
|
4851
|
+
en: string;
|
|
4852
|
+
de?: string | undefined;
|
|
4853
|
+
no?: string | undefined;
|
|
4854
|
+
} | undefined;
|
|
4855
|
+
col_span?: number | undefined;
|
|
4856
|
+
show_when?: {
|
|
4857
|
+
value: string | number | boolean | string[];
|
|
4858
|
+
field: string;
|
|
4859
|
+
operator: "eq" | "neq" | "in" | "not_in" | "gt" | "lt" | "gte" | "lte";
|
|
4860
|
+
} | undefined;
|
|
4861
|
+
signer_membership_field?: string | undefined;
|
|
4862
|
+
signer_permission?: string | undefined;
|
|
4863
|
+
signer_source?: string | undefined;
|
|
4864
|
+
prefill_source?: string | undefined;
|
|
4865
|
+
}>, "many">;
|
|
4866
|
+
}, "strip", z.ZodTypeAny, {
|
|
4867
|
+
key: string;
|
|
4868
|
+
title: string;
|
|
4869
|
+
order: number;
|
|
4870
|
+
fields: {
|
|
4871
|
+
type: FormFieldType;
|
|
4872
|
+
key: string;
|
|
4873
|
+
required: boolean;
|
|
4874
|
+
order: number;
|
|
4875
|
+
options?: Record<string, any> | undefined;
|
|
4876
|
+
validation?: Record<string, any> | undefined;
|
|
4877
|
+
label?: {
|
|
4878
|
+
en: string;
|
|
4879
|
+
de?: string | undefined;
|
|
4880
|
+
no?: string | undefined;
|
|
4881
|
+
} | undefined;
|
|
4882
|
+
content?: {
|
|
4883
|
+
en: string;
|
|
4884
|
+
de?: string | undefined;
|
|
4885
|
+
no?: string | undefined;
|
|
4886
|
+
} | undefined;
|
|
4887
|
+
col_span?: number | undefined;
|
|
4888
|
+
show_when?: {
|
|
4889
|
+
value: string | number | boolean | string[];
|
|
4890
|
+
field: string;
|
|
4891
|
+
operator: "eq" | "neq" | "in" | "not_in" | "gt" | "lt" | "gte" | "lte";
|
|
4892
|
+
} | undefined;
|
|
4893
|
+
signer_membership_field?: string | undefined;
|
|
4894
|
+
signer_permission?: string | undefined;
|
|
4895
|
+
signer_source?: string | undefined;
|
|
4896
|
+
prefill_source?: string | undefined;
|
|
4897
|
+
}[];
|
|
4898
|
+
}, {
|
|
4899
|
+
key: string;
|
|
4900
|
+
title: string;
|
|
4901
|
+
order: number;
|
|
4902
|
+
fields: {
|
|
4903
|
+
type: FormFieldType;
|
|
4904
|
+
key: string;
|
|
4905
|
+
order: number;
|
|
4906
|
+
options?: Record<string, any> | undefined;
|
|
4907
|
+
validation?: Record<string, any> | undefined;
|
|
4908
|
+
label?: {
|
|
4909
|
+
en: string;
|
|
4910
|
+
de?: string | undefined;
|
|
4911
|
+
no?: string | undefined;
|
|
4912
|
+
} | undefined;
|
|
4913
|
+
required?: boolean | undefined;
|
|
4914
|
+
content?: {
|
|
4915
|
+
en: string;
|
|
4916
|
+
de?: string | undefined;
|
|
4917
|
+
no?: string | undefined;
|
|
4918
|
+
} | undefined;
|
|
4919
|
+
col_span?: number | undefined;
|
|
4920
|
+
show_when?: {
|
|
4921
|
+
value: string | number | boolean | string[];
|
|
4922
|
+
field: string;
|
|
4923
|
+
operator: "eq" | "neq" | "in" | "not_in" | "gt" | "lt" | "gte" | "lte";
|
|
4924
|
+
} | undefined;
|
|
4925
|
+
signer_membership_field?: string | undefined;
|
|
4926
|
+
signer_permission?: string | undefined;
|
|
4927
|
+
signer_source?: string | undefined;
|
|
4928
|
+
prefill_source?: string | undefined;
|
|
4929
|
+
}[];
|
|
4930
|
+
}>, "many">;
|
|
4931
|
+
}, "strip", z.ZodTypeAny, {
|
|
4932
|
+
sections: {
|
|
4933
|
+
key: string;
|
|
4934
|
+
title: string;
|
|
4935
|
+
order: number;
|
|
4936
|
+
fields: {
|
|
4937
|
+
type: FormFieldType;
|
|
4938
|
+
key: string;
|
|
4939
|
+
required: boolean;
|
|
4940
|
+
order: number;
|
|
4941
|
+
options?: Record<string, any> | undefined;
|
|
4942
|
+
validation?: Record<string, any> | undefined;
|
|
4943
|
+
label?: {
|
|
4944
|
+
en: string;
|
|
4945
|
+
de?: string | undefined;
|
|
4946
|
+
no?: string | undefined;
|
|
4947
|
+
} | undefined;
|
|
4948
|
+
content?: {
|
|
4949
|
+
en: string;
|
|
4950
|
+
de?: string | undefined;
|
|
4951
|
+
no?: string | undefined;
|
|
4952
|
+
} | undefined;
|
|
4953
|
+
col_span?: number | undefined;
|
|
4954
|
+
show_when?: {
|
|
4955
|
+
value: string | number | boolean | string[];
|
|
4956
|
+
field: string;
|
|
4957
|
+
operator: "eq" | "neq" | "in" | "not_in" | "gt" | "lt" | "gte" | "lte";
|
|
4958
|
+
} | undefined;
|
|
4959
|
+
signer_membership_field?: string | undefined;
|
|
4960
|
+
signer_permission?: string | undefined;
|
|
4961
|
+
signer_source?: string | undefined;
|
|
4962
|
+
prefill_source?: string | undefined;
|
|
4963
|
+
}[];
|
|
4964
|
+
}[];
|
|
4965
|
+
}, {
|
|
4966
|
+
sections: {
|
|
4967
|
+
key: string;
|
|
4968
|
+
title: string;
|
|
4969
|
+
order: number;
|
|
4970
|
+
fields: {
|
|
4971
|
+
type: FormFieldType;
|
|
4972
|
+
key: string;
|
|
4973
|
+
order: number;
|
|
4974
|
+
options?: Record<string, any> | undefined;
|
|
4975
|
+
validation?: Record<string, any> | undefined;
|
|
4976
|
+
label?: {
|
|
4977
|
+
en: string;
|
|
4978
|
+
de?: string | undefined;
|
|
4979
|
+
no?: string | undefined;
|
|
4980
|
+
} | undefined;
|
|
4981
|
+
required?: boolean | undefined;
|
|
4982
|
+
content?: {
|
|
4983
|
+
en: string;
|
|
4984
|
+
de?: string | undefined;
|
|
4985
|
+
no?: string | undefined;
|
|
4986
|
+
} | undefined;
|
|
4987
|
+
col_span?: number | undefined;
|
|
4988
|
+
show_when?: {
|
|
4989
|
+
value: string | number | boolean | string[];
|
|
4990
|
+
field: string;
|
|
4991
|
+
operator: "eq" | "neq" | "in" | "not_in" | "gt" | "lt" | "gte" | "lte";
|
|
4992
|
+
} | undefined;
|
|
4993
|
+
signer_membership_field?: string | undefined;
|
|
4994
|
+
signer_permission?: string | undefined;
|
|
4995
|
+
signer_source?: string | undefined;
|
|
4996
|
+
prefill_source?: string | undefined;
|
|
4997
|
+
}[];
|
|
4998
|
+
}[];
|
|
4999
|
+
}>;
|
|
5000
|
+
schema_version: z.ZodNumber;
|
|
5001
|
+
pdf_view: z.ZodNullable<z.ZodString>;
|
|
5002
|
+
requires_review: z.ZodBoolean;
|
|
5003
|
+
is_active: z.ZodBoolean;
|
|
5004
|
+
is_singleton: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
5005
|
+
is_sign_only: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
5006
|
+
is_requirable: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
5007
|
+
is_onboarding: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
5008
|
+
onboarding_role_keys: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
5009
|
+
is_system: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
5010
|
+
applies_to: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5011
|
+
has_expiry: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
5012
|
+
default_notification_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5013
|
+
created_by: z.ZodNullable<z.ZodNumber>;
|
|
5014
|
+
creator: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5015
|
+
id: z.ZodNumber;
|
|
5016
|
+
name: z.ZodString;
|
|
5017
|
+
email: z.ZodOptional<z.ZodString>;
|
|
5018
|
+
}, "strip", z.ZodTypeAny, {
|
|
5019
|
+
name: string;
|
|
5020
|
+
id: number;
|
|
5021
|
+
email?: string | undefined;
|
|
5022
|
+
}, {
|
|
5023
|
+
name: string;
|
|
5024
|
+
id: number;
|
|
5025
|
+
email?: string | undefined;
|
|
5026
|
+
}>>>;
|
|
5027
|
+
assignments: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
5028
|
+
created_at: z.ZodString;
|
|
5029
|
+
updated_at: z.ZodString;
|
|
5030
|
+
}, "strip", z.ZodTypeAny, {
|
|
5031
|
+
name: string;
|
|
5032
|
+
type: "form_template";
|
|
5033
|
+
id: number;
|
|
5034
|
+
created_at: string;
|
|
5035
|
+
updated_at: string;
|
|
5036
|
+
description: string | null;
|
|
5037
|
+
is_active: boolean;
|
|
5038
|
+
company_id: number | null;
|
|
5039
|
+
schema_version: number;
|
|
5040
|
+
created_by: number | null;
|
|
5041
|
+
slug: string;
|
|
5042
|
+
schema: {
|
|
5043
|
+
sections: {
|
|
5044
|
+
key: string;
|
|
5045
|
+
title: string;
|
|
5046
|
+
order: number;
|
|
5047
|
+
fields: {
|
|
5048
|
+
type: FormFieldType;
|
|
5049
|
+
key: string;
|
|
5050
|
+
required: boolean;
|
|
5051
|
+
order: number;
|
|
5052
|
+
options?: Record<string, any> | undefined;
|
|
5053
|
+
validation?: Record<string, any> | undefined;
|
|
5054
|
+
label?: {
|
|
5055
|
+
en: string;
|
|
5056
|
+
de?: string | undefined;
|
|
5057
|
+
no?: string | undefined;
|
|
5058
|
+
} | undefined;
|
|
5059
|
+
content?: {
|
|
5060
|
+
en: string;
|
|
5061
|
+
de?: string | undefined;
|
|
5062
|
+
no?: string | undefined;
|
|
5063
|
+
} | undefined;
|
|
5064
|
+
col_span?: number | undefined;
|
|
5065
|
+
show_when?: {
|
|
5066
|
+
value: string | number | boolean | string[];
|
|
5067
|
+
field: string;
|
|
5068
|
+
operator: "eq" | "neq" | "in" | "not_in" | "gt" | "lt" | "gte" | "lte";
|
|
5069
|
+
} | undefined;
|
|
5070
|
+
signer_membership_field?: string | undefined;
|
|
5071
|
+
signer_permission?: string | undefined;
|
|
5072
|
+
signer_source?: string | undefined;
|
|
5073
|
+
prefill_source?: string | undefined;
|
|
5074
|
+
}[];
|
|
5075
|
+
}[];
|
|
5076
|
+
};
|
|
5077
|
+
pdf_view: string | null;
|
|
5078
|
+
requires_review: boolean;
|
|
5079
|
+
is_singleton: boolean;
|
|
5080
|
+
is_sign_only: boolean;
|
|
5081
|
+
is_requirable: boolean;
|
|
5082
|
+
is_onboarding: boolean;
|
|
5083
|
+
is_system: boolean;
|
|
5084
|
+
has_expiry: boolean;
|
|
5085
|
+
onboarding_role_keys?: string[] | null | undefined;
|
|
5086
|
+
applies_to?: string | null | undefined;
|
|
5087
|
+
default_notification_days?: number | null | undefined;
|
|
5088
|
+
creator?: {
|
|
5089
|
+
name: string;
|
|
5090
|
+
id: number;
|
|
5091
|
+
email?: string | undefined;
|
|
5092
|
+
} | null | undefined;
|
|
5093
|
+
assignments?: any[] | undefined;
|
|
5094
|
+
}, {
|
|
5095
|
+
name: string;
|
|
5096
|
+
type: "form_template";
|
|
5097
|
+
id: number;
|
|
5098
|
+
created_at: string;
|
|
5099
|
+
updated_at: string;
|
|
5100
|
+
description: string | null;
|
|
5101
|
+
is_active: boolean;
|
|
5102
|
+
company_id: number | null;
|
|
5103
|
+
schema_version: number;
|
|
5104
|
+
created_by: number | null;
|
|
5105
|
+
slug: string;
|
|
5106
|
+
schema: {
|
|
5107
|
+
sections: {
|
|
5108
|
+
key: string;
|
|
5109
|
+
title: string;
|
|
5110
|
+
order: number;
|
|
5111
|
+
fields: {
|
|
5112
|
+
type: FormFieldType;
|
|
5113
|
+
key: string;
|
|
5114
|
+
order: number;
|
|
5115
|
+
options?: Record<string, any> | undefined;
|
|
5116
|
+
validation?: Record<string, any> | undefined;
|
|
5117
|
+
label?: {
|
|
5118
|
+
en: string;
|
|
5119
|
+
de?: string | undefined;
|
|
5120
|
+
no?: string | undefined;
|
|
5121
|
+
} | undefined;
|
|
5122
|
+
required?: boolean | undefined;
|
|
5123
|
+
content?: {
|
|
5124
|
+
en: string;
|
|
5125
|
+
de?: string | undefined;
|
|
5126
|
+
no?: string | undefined;
|
|
5127
|
+
} | undefined;
|
|
5128
|
+
col_span?: number | undefined;
|
|
5129
|
+
show_when?: {
|
|
5130
|
+
value: string | number | boolean | string[];
|
|
5131
|
+
field: string;
|
|
5132
|
+
operator: "eq" | "neq" | "in" | "not_in" | "gt" | "lt" | "gte" | "lte";
|
|
5133
|
+
} | undefined;
|
|
5134
|
+
signer_membership_field?: string | undefined;
|
|
5135
|
+
signer_permission?: string | undefined;
|
|
5136
|
+
signer_source?: string | undefined;
|
|
5137
|
+
prefill_source?: string | undefined;
|
|
5138
|
+
}[];
|
|
5139
|
+
}[];
|
|
5140
|
+
};
|
|
5141
|
+
pdf_view: string | null;
|
|
5142
|
+
requires_review: boolean;
|
|
5143
|
+
is_singleton?: boolean | undefined;
|
|
5144
|
+
is_sign_only?: boolean | undefined;
|
|
5145
|
+
is_requirable?: boolean | undefined;
|
|
5146
|
+
is_onboarding?: boolean | undefined;
|
|
5147
|
+
onboarding_role_keys?: string[] | null | undefined;
|
|
5148
|
+
is_system?: boolean | undefined;
|
|
5149
|
+
applies_to?: string | null | undefined;
|
|
5150
|
+
has_expiry?: boolean | undefined;
|
|
5151
|
+
default_notification_days?: number | null | undefined;
|
|
5152
|
+
creator?: {
|
|
5153
|
+
name: string;
|
|
5154
|
+
id: number;
|
|
5155
|
+
email?: string | undefined;
|
|
5156
|
+
} | null | undefined;
|
|
5157
|
+
assignments?: any[] | undefined;
|
|
5158
|
+
}>>;
|
|
5159
|
+
submitter: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5160
|
+
id: z.ZodNumber;
|
|
5161
|
+
name: z.ZodString;
|
|
5162
|
+
email: z.ZodOptional<z.ZodString>;
|
|
5163
|
+
}, "strip", z.ZodTypeAny, {
|
|
5164
|
+
name: string;
|
|
5165
|
+
id: number;
|
|
5166
|
+
email?: string | undefined;
|
|
5167
|
+
}, {
|
|
5168
|
+
name: string;
|
|
5169
|
+
id: number;
|
|
5170
|
+
email?: string | undefined;
|
|
5171
|
+
}>>>;
|
|
5172
|
+
reviewer: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5173
|
+
id: z.ZodNumber;
|
|
5174
|
+
name: z.ZodString;
|
|
5175
|
+
email: z.ZodOptional<z.ZodString>;
|
|
5176
|
+
}, "strip", z.ZodTypeAny, {
|
|
5177
|
+
name: string;
|
|
5178
|
+
id: number;
|
|
5179
|
+
email?: string | undefined;
|
|
5180
|
+
}, {
|
|
5181
|
+
name: string;
|
|
5182
|
+
id: number;
|
|
5183
|
+
email?: string | undefined;
|
|
5184
|
+
}>>>;
|
|
5185
|
+
requester: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5186
|
+
id: z.ZodNumber;
|
|
5187
|
+
name: z.ZodString;
|
|
5188
|
+
email: z.ZodOptional<z.ZodString>;
|
|
5189
|
+
}, "strip", z.ZodTypeAny, {
|
|
5190
|
+
name: string;
|
|
5191
|
+
id: number;
|
|
5192
|
+
email?: string | undefined;
|
|
5193
|
+
}, {
|
|
5194
|
+
name: string;
|
|
5195
|
+
id: number;
|
|
5196
|
+
email?: string | undefined;
|
|
5197
|
+
}>>>;
|
|
5198
|
+
shares: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5199
|
+
type: z.ZodOptional<z.ZodLiteral<"form_submission_share">>;
|
|
5200
|
+
id: z.ZodNumber;
|
|
5201
|
+
form_submission_id: z.ZodNumber;
|
|
5202
|
+
company_id: z.ZodNumber;
|
|
5203
|
+
shared_by: z.ZodNumber;
|
|
5204
|
+
company: z.ZodOptional<z.ZodObject<{
|
|
5205
|
+
id: z.ZodNumber;
|
|
5206
|
+
name: z.ZodString;
|
|
5207
|
+
}, "strip", z.ZodTypeAny, {
|
|
5208
|
+
name: string;
|
|
5209
|
+
id: number;
|
|
5210
|
+
}, {
|
|
5211
|
+
name: string;
|
|
5212
|
+
id: number;
|
|
5213
|
+
}>>;
|
|
5214
|
+
created_at: z.ZodString;
|
|
5215
|
+
}, "strip", z.ZodTypeAny, {
|
|
5216
|
+
id: number;
|
|
5217
|
+
created_at: string;
|
|
5218
|
+
company_id: number;
|
|
5219
|
+
shared_by: number;
|
|
5220
|
+
form_submission_id: number;
|
|
5221
|
+
company?: {
|
|
5222
|
+
name: string;
|
|
5223
|
+
id: number;
|
|
5224
|
+
} | undefined;
|
|
5225
|
+
type?: "form_submission_share" | undefined;
|
|
5226
|
+
}, {
|
|
5227
|
+
id: number;
|
|
5228
|
+
created_at: string;
|
|
5229
|
+
company_id: number;
|
|
5230
|
+
shared_by: number;
|
|
5231
|
+
form_submission_id: number;
|
|
5232
|
+
company?: {
|
|
5233
|
+
name: string;
|
|
5234
|
+
id: number;
|
|
5235
|
+
} | undefined;
|
|
5236
|
+
type?: "form_submission_share" | undefined;
|
|
5237
|
+
}>, "many">>;
|
|
5238
|
+
created_at: z.ZodString;
|
|
5239
|
+
updated_at: z.ZodString;
|
|
5240
|
+
}, "strip", z.ZodTypeAny, {
|
|
5241
|
+
type: "form_submission";
|
|
5242
|
+
status: FormSubmissionStatus;
|
|
5243
|
+
id: number;
|
|
5244
|
+
created_at: string;
|
|
5245
|
+
updated_at: string;
|
|
5246
|
+
can: Record<string, boolean | null>;
|
|
5247
|
+
schema_version: number;
|
|
5248
|
+
data: Record<string, any>;
|
|
5249
|
+
form_template_id: number;
|
|
5250
|
+
submitted_by: number;
|
|
5251
|
+
reviewed_by: number | null;
|
|
5252
|
+
reviewed_at: string | null;
|
|
5253
|
+
schema_snapshot: {
|
|
5254
|
+
sections: {
|
|
5255
|
+
key: string;
|
|
5256
|
+
title: string;
|
|
5257
|
+
order: number;
|
|
5258
|
+
fields: {
|
|
5259
|
+
type: FormFieldType;
|
|
5260
|
+
key: string;
|
|
5261
|
+
required: boolean;
|
|
5262
|
+
order: number;
|
|
5263
|
+
options?: Record<string, any> | undefined;
|
|
5264
|
+
validation?: Record<string, any> | undefined;
|
|
5265
|
+
label?: {
|
|
5266
|
+
en: string;
|
|
5267
|
+
de?: string | undefined;
|
|
5268
|
+
no?: string | undefined;
|
|
5269
|
+
} | undefined;
|
|
5270
|
+
content?: {
|
|
5271
|
+
en: string;
|
|
5272
|
+
de?: string | undefined;
|
|
5273
|
+
no?: string | undefined;
|
|
5274
|
+
} | undefined;
|
|
5275
|
+
col_span?: number | undefined;
|
|
5276
|
+
show_when?: {
|
|
5277
|
+
value: string | number | boolean | string[];
|
|
5278
|
+
field: string;
|
|
5279
|
+
operator: "eq" | "neq" | "in" | "not_in" | "gt" | "lt" | "gte" | "lte";
|
|
5280
|
+
} | undefined;
|
|
5281
|
+
signer_membership_field?: string | undefined;
|
|
5282
|
+
signer_permission?: string | undefined;
|
|
5283
|
+
signer_source?: string | undefined;
|
|
5284
|
+
prefill_source?: string | undefined;
|
|
5285
|
+
}[];
|
|
5286
|
+
}[];
|
|
5287
|
+
};
|
|
5288
|
+
submittable_type: string;
|
|
5289
|
+
submittable_id: number;
|
|
5290
|
+
data_resolved_names: Record<string, string>;
|
|
5291
|
+
submitted_at: string | null;
|
|
5292
|
+
review_comment: string | null;
|
|
5293
|
+
is_final: boolean;
|
|
5294
|
+
is_mutable: boolean;
|
|
5295
|
+
is_signable: boolean;
|
|
5296
|
+
has_signature_fields: boolean;
|
|
5297
|
+
all_signatures_collected: boolean;
|
|
5298
|
+
source: FormSubmissionSource;
|
|
5299
|
+
is_overdue: boolean;
|
|
5300
|
+
notifications_enabled: boolean;
|
|
5301
|
+
is_expired: boolean;
|
|
5302
|
+
expires_at?: string | null | undefined;
|
|
5303
|
+
signatures?: {
|
|
5304
|
+
status: "signed" | "pending" | "revoked";
|
|
5305
|
+
id: number;
|
|
5306
|
+
field_key: string;
|
|
5307
|
+
required_signer_membership_id: number | null;
|
|
5308
|
+
signed_by_user_id: number | null;
|
|
5309
|
+
signed_by_membership_id: number | null;
|
|
5310
|
+
is_current_user_designated: boolean;
|
|
5311
|
+
signed_at: string | null;
|
|
5312
|
+
image: string | null;
|
|
5313
|
+
data_hash: string | null;
|
|
5314
|
+
schema_version: number | null;
|
|
5315
|
+
schema_hash: string | null;
|
|
5316
|
+
consent_text_hash: string | null;
|
|
5317
|
+
auth_method: string | null;
|
|
5318
|
+
auth_verified_at: string | null;
|
|
5319
|
+
ip_address: string | null;
|
|
5320
|
+
user_agent: string | null;
|
|
5321
|
+
geo_country: string | null;
|
|
5322
|
+
signing_event_id: string | null;
|
|
5323
|
+
type?: "signature" | undefined;
|
|
5324
|
+
created_at?: string | undefined;
|
|
5325
|
+
updated_at?: string | undefined;
|
|
5326
|
+
signable_type?: string | undefined;
|
|
5327
|
+
signable_id?: number | undefined;
|
|
5328
|
+
required_signer_name?: string | null | undefined;
|
|
5329
|
+
required_signer_permission?: string | null | undefined;
|
|
5330
|
+
signed_by_name?: string | null | undefined;
|
|
5331
|
+
}[] | undefined;
|
|
5332
|
+
note?: string | null | undefined;
|
|
5333
|
+
form_template?: {
|
|
5334
|
+
name: string;
|
|
5335
|
+
type: "form_template";
|
|
5336
|
+
id: number;
|
|
5337
|
+
created_at: string;
|
|
5338
|
+
updated_at: string;
|
|
5339
|
+
description: string | null;
|
|
5340
|
+
is_active: boolean;
|
|
5341
|
+
company_id: number | null;
|
|
5342
|
+
schema_version: number;
|
|
5343
|
+
created_by: number | null;
|
|
5344
|
+
slug: string;
|
|
5345
|
+
schema: {
|
|
5346
|
+
sections: {
|
|
5347
|
+
key: string;
|
|
5348
|
+
title: string;
|
|
5349
|
+
order: number;
|
|
5350
|
+
fields: {
|
|
5351
|
+
type: FormFieldType;
|
|
5352
|
+
key: string;
|
|
5353
|
+
required: boolean;
|
|
5354
|
+
order: number;
|
|
5355
|
+
options?: Record<string, any> | undefined;
|
|
5356
|
+
validation?: Record<string, any> | undefined;
|
|
5357
|
+
label?: {
|
|
5358
|
+
en: string;
|
|
5359
|
+
de?: string | undefined;
|
|
5360
|
+
no?: string | undefined;
|
|
5361
|
+
} | undefined;
|
|
5362
|
+
content?: {
|
|
5363
|
+
en: string;
|
|
5364
|
+
de?: string | undefined;
|
|
5365
|
+
no?: string | undefined;
|
|
5366
|
+
} | undefined;
|
|
5367
|
+
col_span?: number | undefined;
|
|
5368
|
+
show_when?: {
|
|
5369
|
+
value: string | number | boolean | string[];
|
|
5370
|
+
field: string;
|
|
5371
|
+
operator: "eq" | "neq" | "in" | "not_in" | "gt" | "lt" | "gte" | "lte";
|
|
5372
|
+
} | undefined;
|
|
5373
|
+
signer_membership_field?: string | undefined;
|
|
5374
|
+
signer_permission?: string | undefined;
|
|
5375
|
+
signer_source?: string | undefined;
|
|
5376
|
+
prefill_source?: string | undefined;
|
|
5377
|
+
}[];
|
|
5378
|
+
}[];
|
|
5379
|
+
};
|
|
5380
|
+
pdf_view: string | null;
|
|
5381
|
+
requires_review: boolean;
|
|
5382
|
+
is_singleton: boolean;
|
|
5383
|
+
is_sign_only: boolean;
|
|
5384
|
+
is_requirable: boolean;
|
|
5385
|
+
is_onboarding: boolean;
|
|
5386
|
+
is_system: boolean;
|
|
5387
|
+
has_expiry: boolean;
|
|
5388
|
+
onboarding_role_keys?: string[] | null | undefined;
|
|
5389
|
+
applies_to?: string | null | undefined;
|
|
5390
|
+
default_notification_days?: number | null | undefined;
|
|
5391
|
+
creator?: {
|
|
5392
|
+
name: string;
|
|
5393
|
+
id: number;
|
|
5394
|
+
email?: string | undefined;
|
|
5395
|
+
} | null | undefined;
|
|
5396
|
+
assignments?: any[] | undefined;
|
|
5397
|
+
} | undefined;
|
|
5398
|
+
due_date?: string | null | undefined;
|
|
5399
|
+
submitter?: {
|
|
5400
|
+
name: string;
|
|
5401
|
+
id: number;
|
|
5402
|
+
email?: string | undefined;
|
|
5403
|
+
} | null | undefined;
|
|
5404
|
+
reviewer?: {
|
|
5405
|
+
name: string;
|
|
5406
|
+
id: number;
|
|
5407
|
+
email?: string | undefined;
|
|
5408
|
+
} | null | undefined;
|
|
5409
|
+
submittable_summary?: {
|
|
5410
|
+
name: string | null;
|
|
5411
|
+
email: string | null;
|
|
5412
|
+
type: string;
|
|
5413
|
+
id: number;
|
|
5414
|
+
} | null | undefined;
|
|
5415
|
+
required_signers?: Record<string, number> | null | undefined;
|
|
5416
|
+
requested_by_user_id?: number | null | undefined;
|
|
5417
|
+
days_until_due?: number | null | undefined;
|
|
5418
|
+
notification_days_before?: number | null | undefined;
|
|
5419
|
+
files?: Record<string, {
|
|
5420
|
+
id: number;
|
|
5421
|
+
file_name: string;
|
|
5422
|
+
size: number;
|
|
5423
|
+
conversions?: Record<string, string | null> | undefined;
|
|
5424
|
+
url?: string | null | undefined;
|
|
5425
|
+
mime_type?: string | null | undefined;
|
|
5426
|
+
} | null> | undefined;
|
|
5427
|
+
requester?: {
|
|
5428
|
+
name: string;
|
|
5429
|
+
id: number;
|
|
5430
|
+
email?: string | undefined;
|
|
5431
|
+
} | null | undefined;
|
|
5432
|
+
shares?: {
|
|
5433
|
+
id: number;
|
|
5434
|
+
created_at: string;
|
|
5435
|
+
company_id: number;
|
|
5436
|
+
shared_by: number;
|
|
5437
|
+
form_submission_id: number;
|
|
5438
|
+
company?: {
|
|
5439
|
+
name: string;
|
|
5440
|
+
id: number;
|
|
5441
|
+
} | undefined;
|
|
5442
|
+
type?: "form_submission_share" | undefined;
|
|
5443
|
+
}[] | undefined;
|
|
5444
|
+
}, {
|
|
5445
|
+
type: "form_submission";
|
|
5446
|
+
status: FormSubmissionStatus;
|
|
5447
|
+
id: number;
|
|
5448
|
+
created_at: string;
|
|
5449
|
+
updated_at: string;
|
|
5450
|
+
schema_version: number;
|
|
5451
|
+
data: Record<string, any>;
|
|
5452
|
+
form_template_id: number;
|
|
5453
|
+
submitted_by: number;
|
|
5454
|
+
reviewed_by: number | null;
|
|
5455
|
+
reviewed_at: string | null;
|
|
5456
|
+
schema_snapshot: {
|
|
5457
|
+
sections: {
|
|
5458
|
+
key: string;
|
|
5459
|
+
title: string;
|
|
5460
|
+
order: number;
|
|
5461
|
+
fields: {
|
|
5462
|
+
type: FormFieldType;
|
|
5463
|
+
key: string;
|
|
5464
|
+
order: number;
|
|
5465
|
+
options?: Record<string, any> | undefined;
|
|
5466
|
+
validation?: Record<string, any> | undefined;
|
|
5467
|
+
label?: {
|
|
5468
|
+
en: string;
|
|
5469
|
+
de?: string | undefined;
|
|
5470
|
+
no?: string | undefined;
|
|
5471
|
+
} | undefined;
|
|
5472
|
+
required?: boolean | undefined;
|
|
5473
|
+
content?: {
|
|
5474
|
+
en: string;
|
|
5475
|
+
de?: string | undefined;
|
|
5476
|
+
no?: string | undefined;
|
|
5477
|
+
} | undefined;
|
|
5478
|
+
col_span?: number | undefined;
|
|
5479
|
+
show_when?: {
|
|
5480
|
+
value: string | number | boolean | string[];
|
|
5481
|
+
field: string;
|
|
5482
|
+
operator: "eq" | "neq" | "in" | "not_in" | "gt" | "lt" | "gte" | "lte";
|
|
5483
|
+
} | undefined;
|
|
5484
|
+
signer_membership_field?: string | undefined;
|
|
5485
|
+
signer_permission?: string | undefined;
|
|
5486
|
+
signer_source?: string | undefined;
|
|
5487
|
+
prefill_source?: string | undefined;
|
|
5488
|
+
}[];
|
|
5489
|
+
}[];
|
|
5490
|
+
};
|
|
5491
|
+
submittable_type: string;
|
|
5492
|
+
submittable_id: number;
|
|
5493
|
+
submitted_at: string | null;
|
|
5494
|
+
review_comment: string | null;
|
|
5495
|
+
expires_at?: string | null | undefined;
|
|
5496
|
+
can?: Record<string, boolean | null> | undefined;
|
|
5497
|
+
signatures?: {
|
|
5498
|
+
status: "signed" | "pending" | "revoked";
|
|
5499
|
+
id: number;
|
|
5500
|
+
field_key: string;
|
|
5501
|
+
required_signer_membership_id: number | null;
|
|
5502
|
+
signed_by_user_id: number | null;
|
|
5503
|
+
signed_by_membership_id: number | null;
|
|
5504
|
+
signed_at: string | null;
|
|
5505
|
+
image: string | null;
|
|
5506
|
+
data_hash: string | null;
|
|
5507
|
+
schema_version: number | null;
|
|
5508
|
+
schema_hash: string | null;
|
|
5509
|
+
consent_text_hash: string | null;
|
|
5510
|
+
auth_method: string | null;
|
|
5511
|
+
auth_verified_at: string | null;
|
|
5512
|
+
ip_address: string | null;
|
|
5513
|
+
user_agent: string | null;
|
|
5514
|
+
geo_country: string | null;
|
|
5515
|
+
signing_event_id: string | null;
|
|
5516
|
+
type?: "signature" | undefined;
|
|
5517
|
+
created_at?: string | undefined;
|
|
5518
|
+
updated_at?: string | undefined;
|
|
5519
|
+
signable_type?: string | undefined;
|
|
5520
|
+
signable_id?: number | undefined;
|
|
5521
|
+
required_signer_name?: string | null | undefined;
|
|
5522
|
+
required_signer_permission?: string | null | undefined;
|
|
5523
|
+
signed_by_name?: string | null | undefined;
|
|
5524
|
+
is_current_user_designated?: boolean | undefined;
|
|
5525
|
+
}[] | undefined;
|
|
5526
|
+
note?: string | null | undefined;
|
|
5527
|
+
form_template?: {
|
|
5528
|
+
name: string;
|
|
5529
|
+
type: "form_template";
|
|
5530
|
+
id: number;
|
|
5531
|
+
created_at: string;
|
|
5532
|
+
updated_at: string;
|
|
5533
|
+
description: string | null;
|
|
5534
|
+
is_active: boolean;
|
|
5535
|
+
company_id: number | null;
|
|
5536
|
+
schema_version: number;
|
|
5537
|
+
created_by: number | null;
|
|
5538
|
+
slug: string;
|
|
5539
|
+
schema: {
|
|
5540
|
+
sections: {
|
|
5541
|
+
key: string;
|
|
5542
|
+
title: string;
|
|
5543
|
+
order: number;
|
|
5544
|
+
fields: {
|
|
5545
|
+
type: FormFieldType;
|
|
5546
|
+
key: string;
|
|
5547
|
+
order: number;
|
|
5548
|
+
options?: Record<string, any> | undefined;
|
|
5549
|
+
validation?: Record<string, any> | undefined;
|
|
5550
|
+
label?: {
|
|
5551
|
+
en: string;
|
|
5552
|
+
de?: string | undefined;
|
|
5553
|
+
no?: string | undefined;
|
|
5554
|
+
} | undefined;
|
|
5555
|
+
required?: boolean | undefined;
|
|
5556
|
+
content?: {
|
|
5557
|
+
en: string;
|
|
5558
|
+
de?: string | undefined;
|
|
5559
|
+
no?: string | undefined;
|
|
5560
|
+
} | undefined;
|
|
5561
|
+
col_span?: number | undefined;
|
|
5562
|
+
show_when?: {
|
|
5563
|
+
value: string | number | boolean | string[];
|
|
5564
|
+
field: string;
|
|
5565
|
+
operator: "eq" | "neq" | "in" | "not_in" | "gt" | "lt" | "gte" | "lte";
|
|
5566
|
+
} | undefined;
|
|
5567
|
+
signer_membership_field?: string | undefined;
|
|
5568
|
+
signer_permission?: string | undefined;
|
|
5569
|
+
signer_source?: string | undefined;
|
|
5570
|
+
prefill_source?: string | undefined;
|
|
5571
|
+
}[];
|
|
5572
|
+
}[];
|
|
5573
|
+
};
|
|
5574
|
+
pdf_view: string | null;
|
|
5575
|
+
requires_review: boolean;
|
|
5576
|
+
is_singleton?: boolean | undefined;
|
|
5577
|
+
is_sign_only?: boolean | undefined;
|
|
5578
|
+
is_requirable?: boolean | undefined;
|
|
5579
|
+
is_onboarding?: boolean | undefined;
|
|
5580
|
+
onboarding_role_keys?: string[] | null | undefined;
|
|
5581
|
+
is_system?: boolean | undefined;
|
|
5582
|
+
applies_to?: string | null | undefined;
|
|
5583
|
+
has_expiry?: boolean | undefined;
|
|
5584
|
+
default_notification_days?: number | null | undefined;
|
|
5585
|
+
creator?: {
|
|
5586
|
+
name: string;
|
|
5587
|
+
id: number;
|
|
5588
|
+
email?: string | undefined;
|
|
5589
|
+
} | null | undefined;
|
|
5590
|
+
assignments?: any[] | undefined;
|
|
5591
|
+
} | undefined;
|
|
5592
|
+
due_date?: string | null | undefined;
|
|
5593
|
+
submitter?: {
|
|
5594
|
+
name: string;
|
|
5595
|
+
id: number;
|
|
5596
|
+
email?: string | undefined;
|
|
5597
|
+
} | null | undefined;
|
|
5598
|
+
reviewer?: {
|
|
5599
|
+
name: string;
|
|
5600
|
+
id: number;
|
|
5601
|
+
email?: string | undefined;
|
|
5602
|
+
} | null | undefined;
|
|
5603
|
+
submittable_summary?: {
|
|
5604
|
+
name: string | null;
|
|
5605
|
+
email: string | null;
|
|
5606
|
+
type: string;
|
|
5607
|
+
id: number;
|
|
5608
|
+
} | null | undefined;
|
|
5609
|
+
data_resolved_names?: Record<string, string> | undefined;
|
|
5610
|
+
required_signers?: Record<string, number> | null | undefined;
|
|
5611
|
+
is_final?: boolean | undefined;
|
|
5612
|
+
is_mutable?: boolean | undefined;
|
|
5613
|
+
is_signable?: boolean | undefined;
|
|
5614
|
+
has_signature_fields?: boolean | undefined;
|
|
5615
|
+
all_signatures_collected?: boolean | undefined;
|
|
5616
|
+
source?: FormSubmissionSource | undefined;
|
|
5617
|
+
requested_by_user_id?: number | null | undefined;
|
|
5618
|
+
is_overdue?: boolean | undefined;
|
|
5619
|
+
days_until_due?: number | null | undefined;
|
|
5620
|
+
notification_days_before?: number | null | undefined;
|
|
5621
|
+
notifications_enabled?: boolean | undefined;
|
|
5622
|
+
is_expired?: boolean | undefined;
|
|
5623
|
+
files?: Record<string, {
|
|
5624
|
+
id: number;
|
|
5625
|
+
file_name: string;
|
|
5626
|
+
size: number;
|
|
5627
|
+
conversions?: Record<string, string | null> | undefined;
|
|
5628
|
+
url?: string | null | undefined;
|
|
5629
|
+
mime_type?: string | null | undefined;
|
|
5630
|
+
} | null> | undefined;
|
|
5631
|
+
requester?: {
|
|
5632
|
+
name: string;
|
|
5633
|
+
id: number;
|
|
5634
|
+
email?: string | undefined;
|
|
5635
|
+
} | null | undefined;
|
|
5636
|
+
shares?: {
|
|
5637
|
+
id: number;
|
|
5638
|
+
created_at: string;
|
|
5639
|
+
company_id: number;
|
|
5640
|
+
shared_by: number;
|
|
5641
|
+
form_submission_id: number;
|
|
5642
|
+
company?: {
|
|
5643
|
+
name: string;
|
|
5644
|
+
id: number;
|
|
5645
|
+
} | undefined;
|
|
5646
|
+
type?: "form_submission_share" | undefined;
|
|
5647
|
+
}[] | undefined;
|
|
5648
|
+
}>, "many">;
|
|
5649
|
+
meta: z.ZodObject<{
|
|
5650
|
+
current_versions: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
5651
|
+
}, "strip", z.ZodTypeAny, {
|
|
5652
|
+
current_versions: Record<string, number>;
|
|
5653
|
+
}, {
|
|
5654
|
+
current_versions: Record<string, number>;
|
|
5655
|
+
}>;
|
|
5656
|
+
}, "strip", z.ZodTypeAny, {
|
|
5657
|
+
data: {
|
|
5658
|
+
type: "form_submission";
|
|
5659
|
+
status: FormSubmissionStatus;
|
|
5660
|
+
id: number;
|
|
5661
|
+
created_at: string;
|
|
5662
|
+
updated_at: string;
|
|
5663
|
+
can: Record<string, boolean | null>;
|
|
5664
|
+
schema_version: number;
|
|
5665
|
+
data: Record<string, any>;
|
|
5666
|
+
form_template_id: number;
|
|
5667
|
+
submitted_by: number;
|
|
5668
|
+
reviewed_by: number | null;
|
|
5669
|
+
reviewed_at: string | null;
|
|
5670
|
+
schema_snapshot: {
|
|
5671
|
+
sections: {
|
|
5672
|
+
key: string;
|
|
5673
|
+
title: string;
|
|
5674
|
+
order: number;
|
|
5675
|
+
fields: {
|
|
5676
|
+
type: FormFieldType;
|
|
5677
|
+
key: string;
|
|
5678
|
+
required: boolean;
|
|
5679
|
+
order: number;
|
|
5680
|
+
options?: Record<string, any> | undefined;
|
|
5681
|
+
validation?: Record<string, any> | undefined;
|
|
5682
|
+
label?: {
|
|
5683
|
+
en: string;
|
|
5684
|
+
de?: string | undefined;
|
|
5685
|
+
no?: string | undefined;
|
|
5686
|
+
} | undefined;
|
|
5687
|
+
content?: {
|
|
5688
|
+
en: string;
|
|
5689
|
+
de?: string | undefined;
|
|
5690
|
+
no?: string | undefined;
|
|
5691
|
+
} | undefined;
|
|
5692
|
+
col_span?: number | undefined;
|
|
5693
|
+
show_when?: {
|
|
5694
|
+
value: string | number | boolean | string[];
|
|
5695
|
+
field: string;
|
|
5696
|
+
operator: "eq" | "neq" | "in" | "not_in" | "gt" | "lt" | "gte" | "lte";
|
|
5697
|
+
} | undefined;
|
|
5698
|
+
signer_membership_field?: string | undefined;
|
|
5699
|
+
signer_permission?: string | undefined;
|
|
5700
|
+
signer_source?: string | undefined;
|
|
5701
|
+
prefill_source?: string | undefined;
|
|
5702
|
+
}[];
|
|
5703
|
+
}[];
|
|
5704
|
+
};
|
|
5705
|
+
submittable_type: string;
|
|
5706
|
+
submittable_id: number;
|
|
5707
|
+
data_resolved_names: Record<string, string>;
|
|
5708
|
+
submitted_at: string | null;
|
|
5709
|
+
review_comment: string | null;
|
|
5710
|
+
is_final: boolean;
|
|
5711
|
+
is_mutable: boolean;
|
|
5712
|
+
is_signable: boolean;
|
|
5713
|
+
has_signature_fields: boolean;
|
|
5714
|
+
all_signatures_collected: boolean;
|
|
5715
|
+
source: FormSubmissionSource;
|
|
5716
|
+
is_overdue: boolean;
|
|
5717
|
+
notifications_enabled: boolean;
|
|
5718
|
+
is_expired: boolean;
|
|
5719
|
+
expires_at?: string | null | undefined;
|
|
5720
|
+
signatures?: {
|
|
5721
|
+
status: "signed" | "pending" | "revoked";
|
|
5722
|
+
id: number;
|
|
5723
|
+
field_key: string;
|
|
5724
|
+
required_signer_membership_id: number | null;
|
|
5725
|
+
signed_by_user_id: number | null;
|
|
5726
|
+
signed_by_membership_id: number | null;
|
|
5727
|
+
is_current_user_designated: boolean;
|
|
5728
|
+
signed_at: string | null;
|
|
5729
|
+
image: string | null;
|
|
5730
|
+
data_hash: string | null;
|
|
5731
|
+
schema_version: number | null;
|
|
5732
|
+
schema_hash: string | null;
|
|
5733
|
+
consent_text_hash: string | null;
|
|
5734
|
+
auth_method: string | null;
|
|
5735
|
+
auth_verified_at: string | null;
|
|
5736
|
+
ip_address: string | null;
|
|
5737
|
+
user_agent: string | null;
|
|
5738
|
+
geo_country: string | null;
|
|
5739
|
+
signing_event_id: string | null;
|
|
5740
|
+
type?: "signature" | undefined;
|
|
5741
|
+
created_at?: string | undefined;
|
|
5742
|
+
updated_at?: string | undefined;
|
|
5743
|
+
signable_type?: string | undefined;
|
|
5744
|
+
signable_id?: number | undefined;
|
|
5745
|
+
required_signer_name?: string | null | undefined;
|
|
5746
|
+
required_signer_permission?: string | null | undefined;
|
|
5747
|
+
signed_by_name?: string | null | undefined;
|
|
5748
|
+
}[] | undefined;
|
|
5749
|
+
note?: string | null | undefined;
|
|
5750
|
+
form_template?: {
|
|
5751
|
+
name: string;
|
|
5752
|
+
type: "form_template";
|
|
5753
|
+
id: number;
|
|
5754
|
+
created_at: string;
|
|
5755
|
+
updated_at: string;
|
|
5756
|
+
description: string | null;
|
|
5757
|
+
is_active: boolean;
|
|
5758
|
+
company_id: number | null;
|
|
5759
|
+
schema_version: number;
|
|
5760
|
+
created_by: number | null;
|
|
5761
|
+
slug: string;
|
|
5762
|
+
schema: {
|
|
5763
|
+
sections: {
|
|
5764
|
+
key: string;
|
|
5765
|
+
title: string;
|
|
5766
|
+
order: number;
|
|
5767
|
+
fields: {
|
|
5768
|
+
type: FormFieldType;
|
|
5769
|
+
key: string;
|
|
5770
|
+
required: boolean;
|
|
5771
|
+
order: number;
|
|
5772
|
+
options?: Record<string, any> | undefined;
|
|
5773
|
+
validation?: Record<string, any> | undefined;
|
|
5774
|
+
label?: {
|
|
5775
|
+
en: string;
|
|
5776
|
+
de?: string | undefined;
|
|
5777
|
+
no?: string | undefined;
|
|
5778
|
+
} | undefined;
|
|
5779
|
+
content?: {
|
|
5780
|
+
en: string;
|
|
5781
|
+
de?: string | undefined;
|
|
5782
|
+
no?: string | undefined;
|
|
5783
|
+
} | undefined;
|
|
5784
|
+
col_span?: number | undefined;
|
|
5785
|
+
show_when?: {
|
|
5786
|
+
value: string | number | boolean | string[];
|
|
5787
|
+
field: string;
|
|
5788
|
+
operator: "eq" | "neq" | "in" | "not_in" | "gt" | "lt" | "gte" | "lte";
|
|
5789
|
+
} | undefined;
|
|
5790
|
+
signer_membership_field?: string | undefined;
|
|
5791
|
+
signer_permission?: string | undefined;
|
|
5792
|
+
signer_source?: string | undefined;
|
|
5793
|
+
prefill_source?: string | undefined;
|
|
5794
|
+
}[];
|
|
5795
|
+
}[];
|
|
5796
|
+
};
|
|
5797
|
+
pdf_view: string | null;
|
|
5798
|
+
requires_review: boolean;
|
|
5799
|
+
is_singleton: boolean;
|
|
5800
|
+
is_sign_only: boolean;
|
|
5801
|
+
is_requirable: boolean;
|
|
5802
|
+
is_onboarding: boolean;
|
|
5803
|
+
is_system: boolean;
|
|
5804
|
+
has_expiry: boolean;
|
|
5805
|
+
onboarding_role_keys?: string[] | null | undefined;
|
|
5806
|
+
applies_to?: string | null | undefined;
|
|
5807
|
+
default_notification_days?: number | null | undefined;
|
|
5808
|
+
creator?: {
|
|
5809
|
+
name: string;
|
|
5810
|
+
id: number;
|
|
5811
|
+
email?: string | undefined;
|
|
5812
|
+
} | null | undefined;
|
|
5813
|
+
assignments?: any[] | undefined;
|
|
5814
|
+
} | undefined;
|
|
5815
|
+
due_date?: string | null | undefined;
|
|
5816
|
+
submitter?: {
|
|
5817
|
+
name: string;
|
|
5818
|
+
id: number;
|
|
5819
|
+
email?: string | undefined;
|
|
5820
|
+
} | null | undefined;
|
|
5821
|
+
reviewer?: {
|
|
5822
|
+
name: string;
|
|
5823
|
+
id: number;
|
|
5824
|
+
email?: string | undefined;
|
|
5825
|
+
} | null | undefined;
|
|
5826
|
+
submittable_summary?: {
|
|
5827
|
+
name: string | null;
|
|
5828
|
+
email: string | null;
|
|
5829
|
+
type: string;
|
|
5830
|
+
id: number;
|
|
5831
|
+
} | null | undefined;
|
|
5832
|
+
required_signers?: Record<string, number> | null | undefined;
|
|
5833
|
+
requested_by_user_id?: number | null | undefined;
|
|
5834
|
+
days_until_due?: number | null | undefined;
|
|
5835
|
+
notification_days_before?: number | null | undefined;
|
|
5836
|
+
files?: Record<string, {
|
|
5837
|
+
id: number;
|
|
5838
|
+
file_name: string;
|
|
5839
|
+
size: number;
|
|
5840
|
+
conversions?: Record<string, string | null> | undefined;
|
|
5841
|
+
url?: string | null | undefined;
|
|
5842
|
+
mime_type?: string | null | undefined;
|
|
5843
|
+
} | null> | undefined;
|
|
5844
|
+
requester?: {
|
|
5845
|
+
name: string;
|
|
5846
|
+
id: number;
|
|
5847
|
+
email?: string | undefined;
|
|
5848
|
+
} | null | undefined;
|
|
5849
|
+
shares?: {
|
|
5850
|
+
id: number;
|
|
5851
|
+
created_at: string;
|
|
5852
|
+
company_id: number;
|
|
5853
|
+
shared_by: number;
|
|
5854
|
+
form_submission_id: number;
|
|
5855
|
+
company?: {
|
|
5856
|
+
name: string;
|
|
5857
|
+
id: number;
|
|
5858
|
+
} | undefined;
|
|
5859
|
+
type?: "form_submission_share" | undefined;
|
|
5860
|
+
}[] | undefined;
|
|
5861
|
+
}[];
|
|
5862
|
+
meta: {
|
|
5863
|
+
current_versions: Record<string, number>;
|
|
5864
|
+
};
|
|
5865
|
+
}, {
|
|
5866
|
+
data: {
|
|
5867
|
+
type: "form_submission";
|
|
5868
|
+
status: FormSubmissionStatus;
|
|
5869
|
+
id: number;
|
|
5870
|
+
created_at: string;
|
|
5871
|
+
updated_at: string;
|
|
5872
|
+
schema_version: number;
|
|
5873
|
+
data: Record<string, any>;
|
|
5874
|
+
form_template_id: number;
|
|
5875
|
+
submitted_by: number;
|
|
5876
|
+
reviewed_by: number | null;
|
|
5877
|
+
reviewed_at: string | null;
|
|
5878
|
+
schema_snapshot: {
|
|
5879
|
+
sections: {
|
|
5880
|
+
key: string;
|
|
5881
|
+
title: string;
|
|
5882
|
+
order: number;
|
|
5883
|
+
fields: {
|
|
5884
|
+
type: FormFieldType;
|
|
5885
|
+
key: string;
|
|
5886
|
+
order: number;
|
|
5887
|
+
options?: Record<string, any> | undefined;
|
|
5888
|
+
validation?: Record<string, any> | undefined;
|
|
5889
|
+
label?: {
|
|
5890
|
+
en: string;
|
|
5891
|
+
de?: string | undefined;
|
|
5892
|
+
no?: string | undefined;
|
|
5893
|
+
} | undefined;
|
|
5894
|
+
required?: boolean | undefined;
|
|
5895
|
+
content?: {
|
|
5896
|
+
en: string;
|
|
5897
|
+
de?: string | undefined;
|
|
5898
|
+
no?: string | undefined;
|
|
5899
|
+
} | undefined;
|
|
5900
|
+
col_span?: number | undefined;
|
|
5901
|
+
show_when?: {
|
|
5902
|
+
value: string | number | boolean | string[];
|
|
5903
|
+
field: string;
|
|
5904
|
+
operator: "eq" | "neq" | "in" | "not_in" | "gt" | "lt" | "gte" | "lte";
|
|
5905
|
+
} | undefined;
|
|
5906
|
+
signer_membership_field?: string | undefined;
|
|
5907
|
+
signer_permission?: string | undefined;
|
|
5908
|
+
signer_source?: string | undefined;
|
|
5909
|
+
prefill_source?: string | undefined;
|
|
5910
|
+
}[];
|
|
5911
|
+
}[];
|
|
5912
|
+
};
|
|
5913
|
+
submittable_type: string;
|
|
5914
|
+
submittable_id: number;
|
|
5915
|
+
submitted_at: string | null;
|
|
5916
|
+
review_comment: string | null;
|
|
5917
|
+
expires_at?: string | null | undefined;
|
|
5918
|
+
can?: Record<string, boolean | null> | undefined;
|
|
5919
|
+
signatures?: {
|
|
5920
|
+
status: "signed" | "pending" | "revoked";
|
|
5921
|
+
id: number;
|
|
5922
|
+
field_key: string;
|
|
5923
|
+
required_signer_membership_id: number | null;
|
|
5924
|
+
signed_by_user_id: number | null;
|
|
5925
|
+
signed_by_membership_id: number | null;
|
|
5926
|
+
signed_at: string | null;
|
|
5927
|
+
image: string | null;
|
|
5928
|
+
data_hash: string | null;
|
|
5929
|
+
schema_version: number | null;
|
|
5930
|
+
schema_hash: string | null;
|
|
5931
|
+
consent_text_hash: string | null;
|
|
5932
|
+
auth_method: string | null;
|
|
5933
|
+
auth_verified_at: string | null;
|
|
5934
|
+
ip_address: string | null;
|
|
5935
|
+
user_agent: string | null;
|
|
5936
|
+
geo_country: string | null;
|
|
5937
|
+
signing_event_id: string | null;
|
|
5938
|
+
type?: "signature" | undefined;
|
|
5939
|
+
created_at?: string | undefined;
|
|
5940
|
+
updated_at?: string | undefined;
|
|
5941
|
+
signable_type?: string | undefined;
|
|
5942
|
+
signable_id?: number | undefined;
|
|
5943
|
+
required_signer_name?: string | null | undefined;
|
|
5944
|
+
required_signer_permission?: string | null | undefined;
|
|
5945
|
+
signed_by_name?: string | null | undefined;
|
|
5946
|
+
is_current_user_designated?: boolean | undefined;
|
|
5947
|
+
}[] | undefined;
|
|
5948
|
+
note?: string | null | undefined;
|
|
5949
|
+
form_template?: {
|
|
5950
|
+
name: string;
|
|
5951
|
+
type: "form_template";
|
|
5952
|
+
id: number;
|
|
5953
|
+
created_at: string;
|
|
5954
|
+
updated_at: string;
|
|
5955
|
+
description: string | null;
|
|
5956
|
+
is_active: boolean;
|
|
5957
|
+
company_id: number | null;
|
|
5958
|
+
schema_version: number;
|
|
5959
|
+
created_by: number | null;
|
|
5960
|
+
slug: string;
|
|
5961
|
+
schema: {
|
|
5962
|
+
sections: {
|
|
5963
|
+
key: string;
|
|
5964
|
+
title: string;
|
|
5965
|
+
order: number;
|
|
5966
|
+
fields: {
|
|
5967
|
+
type: FormFieldType;
|
|
5968
|
+
key: string;
|
|
5969
|
+
order: number;
|
|
5970
|
+
options?: Record<string, any> | undefined;
|
|
5971
|
+
validation?: Record<string, any> | undefined;
|
|
5972
|
+
label?: {
|
|
5973
|
+
en: string;
|
|
5974
|
+
de?: string | undefined;
|
|
5975
|
+
no?: string | undefined;
|
|
5976
|
+
} | undefined;
|
|
5977
|
+
required?: boolean | undefined;
|
|
5978
|
+
content?: {
|
|
5979
|
+
en: string;
|
|
5980
|
+
de?: string | undefined;
|
|
5981
|
+
no?: string | undefined;
|
|
5982
|
+
} | undefined;
|
|
5983
|
+
col_span?: number | undefined;
|
|
5984
|
+
show_when?: {
|
|
5985
|
+
value: string | number | boolean | string[];
|
|
5986
|
+
field: string;
|
|
5987
|
+
operator: "eq" | "neq" | "in" | "not_in" | "gt" | "lt" | "gte" | "lte";
|
|
5988
|
+
} | undefined;
|
|
5989
|
+
signer_membership_field?: string | undefined;
|
|
5990
|
+
signer_permission?: string | undefined;
|
|
5991
|
+
signer_source?: string | undefined;
|
|
5992
|
+
prefill_source?: string | undefined;
|
|
5993
|
+
}[];
|
|
5994
|
+
}[];
|
|
5995
|
+
};
|
|
5996
|
+
pdf_view: string | null;
|
|
5997
|
+
requires_review: boolean;
|
|
5998
|
+
is_singleton?: boolean | undefined;
|
|
5999
|
+
is_sign_only?: boolean | undefined;
|
|
6000
|
+
is_requirable?: boolean | undefined;
|
|
6001
|
+
is_onboarding?: boolean | undefined;
|
|
6002
|
+
onboarding_role_keys?: string[] | null | undefined;
|
|
6003
|
+
is_system?: boolean | undefined;
|
|
6004
|
+
applies_to?: string | null | undefined;
|
|
6005
|
+
has_expiry?: boolean | undefined;
|
|
6006
|
+
default_notification_days?: number | null | undefined;
|
|
6007
|
+
creator?: {
|
|
6008
|
+
name: string;
|
|
6009
|
+
id: number;
|
|
6010
|
+
email?: string | undefined;
|
|
6011
|
+
} | null | undefined;
|
|
6012
|
+
assignments?: any[] | undefined;
|
|
6013
|
+
} | undefined;
|
|
6014
|
+
due_date?: string | null | undefined;
|
|
6015
|
+
submitter?: {
|
|
6016
|
+
name: string;
|
|
6017
|
+
id: number;
|
|
6018
|
+
email?: string | undefined;
|
|
6019
|
+
} | null | undefined;
|
|
6020
|
+
reviewer?: {
|
|
6021
|
+
name: string;
|
|
6022
|
+
id: number;
|
|
6023
|
+
email?: string | undefined;
|
|
6024
|
+
} | null | undefined;
|
|
6025
|
+
submittable_summary?: {
|
|
6026
|
+
name: string | null;
|
|
6027
|
+
email: string | null;
|
|
6028
|
+
type: string;
|
|
6029
|
+
id: number;
|
|
6030
|
+
} | null | undefined;
|
|
6031
|
+
data_resolved_names?: Record<string, string> | undefined;
|
|
6032
|
+
required_signers?: Record<string, number> | null | undefined;
|
|
6033
|
+
is_final?: boolean | undefined;
|
|
6034
|
+
is_mutable?: boolean | undefined;
|
|
6035
|
+
is_signable?: boolean | undefined;
|
|
6036
|
+
has_signature_fields?: boolean | undefined;
|
|
6037
|
+
all_signatures_collected?: boolean | undefined;
|
|
6038
|
+
source?: FormSubmissionSource | undefined;
|
|
6039
|
+
requested_by_user_id?: number | null | undefined;
|
|
6040
|
+
is_overdue?: boolean | undefined;
|
|
6041
|
+
days_until_due?: number | null | undefined;
|
|
6042
|
+
notification_days_before?: number | null | undefined;
|
|
6043
|
+
notifications_enabled?: boolean | undefined;
|
|
6044
|
+
is_expired?: boolean | undefined;
|
|
6045
|
+
files?: Record<string, {
|
|
6046
|
+
id: number;
|
|
6047
|
+
file_name: string;
|
|
6048
|
+
size: number;
|
|
6049
|
+
conversions?: Record<string, string | null> | undefined;
|
|
6050
|
+
url?: string | null | undefined;
|
|
6051
|
+
mime_type?: string | null | undefined;
|
|
6052
|
+
} | null> | undefined;
|
|
6053
|
+
requester?: {
|
|
6054
|
+
name: string;
|
|
6055
|
+
id: number;
|
|
6056
|
+
email?: string | undefined;
|
|
6057
|
+
} | null | undefined;
|
|
6058
|
+
shares?: {
|
|
6059
|
+
id: number;
|
|
6060
|
+
created_at: string;
|
|
6061
|
+
company_id: number;
|
|
6062
|
+
shared_by: number;
|
|
6063
|
+
form_submission_id: number;
|
|
6064
|
+
company?: {
|
|
6065
|
+
name: string;
|
|
6066
|
+
id: number;
|
|
6067
|
+
} | undefined;
|
|
6068
|
+
type?: "form_submission_share" | undefined;
|
|
6069
|
+
}[] | undefined;
|
|
6070
|
+
}[];
|
|
6071
|
+
meta: {
|
|
6072
|
+
current_versions: Record<string, number>;
|
|
6073
|
+
};
|
|
6074
|
+
}>;
|
|
6075
|
+
type CompanySystemContractsResponse = z.infer<typeof CompanySystemContractsResponseSchema>;
|
|
6076
|
+
|
|
6077
|
+
export { ALLOWED_GEOMETRY_TYPES, ALLOWED_NEWSLETTER_VARIABLES, type AircraftUtilization, AllUsersBucketSchema, type AllowedGeometryType, type AllowedNewsletterVariable, type AudienceBucket, AudienceBucketSchema, AudienceBucketType, type BookingsData, type ButtonBlock, ButtonBlockSchema, type CompanyDevelopmentReportData, type CompanySystemContractsResponse, CompanySystemContractsResponseSchema, CompanyUsersBucketSchema, type CourseEnrollmentMilestone, type CourseMilestone, type CourseMilestoneForm, CourseMilestoneFormSchema, type CourseMilestoneKind, CourseMilestoneKindEnum, type CreateFaqInput, type CreateLocationMapFeatureInput, CreateLocationMapFeatureSchema, type CreateLocationMapInput, CreateLocationMapSchema, type CreateNewsletterCampaignInput, CreateNewsletterCampaignInputSchema, type CreateNewsletterTemplateInput, CreateNewsletterTemplateInputSchema, type DividerBlock, DividerBlockSchema, type Equipment, type EquipmentEntry, type ExpenseData, type Faq, FaqSchema, FaqStatus, type FinancialReportData, type FinancialSummaryData, type FlightHoursData, FormFieldType, FormSubmissionSource, FormSubmissionStatus, type GeoJsonFeature, type GeoJsonFeatureCollection, type GeoJsonGeometry, GeometrySchema, type HeadingBlock, HeadingBlockSchema, type ImportFeaturesInput, ImportFeaturesSchema, type InstructorData, type InstructorEfficiencyReportData, type InstructorSummaryData, type InvoiceData, type LandingsData, LocationFeatureVisibility, type LocationMap, type LocationMapFeature, type LocationMapFeatureGeoJson, type LocationMapGeoJson, type LocationMapGeoJsonProperties, LocationMapKind, type Media, type MemberActivityData, type NewsletterAudience, NewsletterAudienceSchema, type NewsletterBlock, NewsletterBlockSchema, NewsletterBlockType, type NewsletterCampaign, type NewsletterCampaignRecipient, NewsletterCampaignRecipientSchema, NewsletterCampaignSchema, NewsletterCampaignStatus, type NewsletterCategory, NewsletterCategorySchema, type NewsletterPreferenceRow, NewsletterPreferenceRowSchema, NewsletterRecipientStatus, type NewsletterTemplate, type NewsletterTemplateDoc, NewsletterTemplateSchema, NewsletterTemplateSchemaSchema, type OperationalReportData, type ParagraphBlock, ParagraphBlockSchema, type PeriodData, type PrepaidPackageData, type Report, type ReportData, type ReportGenerationParams, type ReportGenerationResponse, type ReportGranularity, type ReportListItem, type ReportMedia, type ReportMetadata, type ReportParameters, type ReportStatus, type ReportStatusResponse, type ReportType, type RevenueData, type ReviewFaqInput, ReviewFaqSchema, RoleMembersBucketSchema, SAFETY_REPORT_STATUS_COLORS, SAFETY_REPORT_STATUS_LABELS, type SafetyReport, type SafetyReportCategory, type SafetyReportCategoryForm, SafetyReportCategoryFormSchema, SafetyReportCategorySchema, type SafetyReportFilter, SafetyReportFilterSchema, type SafetyReportForm, SafetyReportFormSchema, type SafetyReportListResponse, SafetyReportListResponseSchema, type SafetyReportMedia, SafetyReportMediaSchema, SafetyReportSchema, type SafetyReportStatus, SafetyReportStatusEnum, type SafetyReportSubmissionResponse, SafetyReportSubmissionResponseSchema, type SafetyReportUpdate, SafetyReportUpdateSchema, type SubmitFaqQuestionInput, SubmitFaqQuestionSchema, type SystemContractRegisterEntry, SystemContractRegisterEntrySchema, SystemContractRegisterResponseSchema, type SystemContractRegisterRow, SystemContractRegisterRowSchema, type SystemContractState, SystemContractStateSchema, type TipTapNode, TipTapNodeSchema, type Todo, type TodoAcceptedAlternative, type TodoAction, TodoActionSchema, TodoKey, type TodoPriority, TodoPrioritySchema, TodoSchema, type UpdateFaqInput, type UpdateLocationMapFeatureInput, UpdateLocationMapFeatureSchema, type UpdateLocationMapInput, UpdateLocationMapSchema, type UpdateNewsletterCampaignInput, type UpdateNewsletterTemplateInput, type Viewport, ViewportSchema, companyAudienceInclude, courseEnrollmentMilestoneSchema, courseMilestoneSchema, equipmentSchema };
|