@documenso/sdk-typescript 0.5.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/mcp-server.js +1994 -1746
- package/bin/mcp-server.js.map +43 -43
- package/examples/package-lock.json +2 -10
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/encodings.d.ts.map +1 -1
- package/lib/encodings.js +3 -1
- package/lib/encodings.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/operations/documentcreate.d.ts +96 -4
- package/models/operations/documentcreate.d.ts.map +1 -1
- package/models/operations/documentcreate.js +48 -44
- package/models/operations/documentcreate.js.map +1 -1
- package/models/operations/documentcreatedocumenttemporary.d.ts +180 -8
- package/models/operations/documentcreatedocumenttemporary.d.ts.map +1 -1
- package/models/operations/documentcreatedocumenttemporary.js +108 -84
- package/models/operations/documentcreatedocumenttemporary.js.map +1 -1
- package/models/operations/documentdistribute.d.ts +4 -0
- package/models/operations/documentdistribute.d.ts.map +1 -1
- package/models/operations/documentdistribute.js +4 -0
- package/models/operations/documentdistribute.js.map +1 -1
- package/models/operations/documentget.d.ts +84 -4
- package/models/operations/documentget.d.ts.map +1 -1
- package/models/operations/documentget.js +40 -40
- package/models/operations/documentget.js.map +1 -1
- package/models/operations/documentupdate.d.ts +4 -0
- package/models/operations/documentupdate.d.ts.map +1 -1
- package/models/operations/documentupdate.js +4 -0
- package/models/operations/documentupdate.js.map +1 -1
- package/models/operations/envelopecreate.d.ts +96 -4
- package/models/operations/envelopecreate.d.ts.map +1 -1
- package/models/operations/envelopecreate.js +48 -44
- package/models/operations/envelopecreate.js.map +1 -1
- package/models/operations/envelopedistribute.d.ts +45 -0
- package/models/operations/envelopedistribute.d.ts.map +1 -1
- package/models/operations/envelopedistribute.js +48 -1
- package/models/operations/envelopedistribute.js.map +1 -1
- package/models/operations/envelopefieldcreatemany.d.ts +176 -8
- package/models/operations/envelopefieldcreatemany.d.ts.map +1 -1
- package/models/operations/envelopefieldcreatemany.js +107 -84
- package/models/operations/envelopefieldcreatemany.js.map +1 -1
- package/models/operations/envelopefieldget.d.ts +84 -4
- package/models/operations/envelopefieldget.d.ts.map +1 -1
- package/models/operations/envelopefieldget.js +40 -40
- package/models/operations/envelopefieldget.js.map +1 -1
- package/models/operations/envelopefieldupdatemany.d.ts +176 -8
- package/models/operations/envelopefieldupdatemany.d.ts.map +1 -1
- package/models/operations/envelopefieldupdatemany.js +107 -84
- package/models/operations/envelopefieldupdatemany.js.map +1 -1
- package/models/operations/envelopeget.d.ts +84 -4
- package/models/operations/envelopeget.d.ts.map +1 -1
- package/models/operations/envelopeget.js +40 -40
- package/models/operations/envelopeget.js.map +1 -1
- package/models/operations/enveloperecipientget.d.ts +84 -4
- package/models/operations/enveloperecipientget.d.ts.map +1 -1
- package/models/operations/enveloperecipientget.js +40 -40
- package/models/operations/enveloperecipientget.js.map +1 -1
- package/models/operations/enveloperedistribute.d.ts +42 -0
- package/models/operations/enveloperedistribute.d.ts.map +1 -1
- package/models/operations/enveloperedistribute.js +44 -1
- package/models/operations/enveloperedistribute.js.map +1 -1
- package/models/operations/envelopeupdate.d.ts +4 -0
- package/models/operations/envelopeupdate.d.ts.map +1 -1
- package/models/operations/envelopeupdate.js +4 -0
- package/models/operations/envelopeupdate.js.map +1 -1
- package/models/operations/envelopeuse.d.ts +111 -20
- package/models/operations/envelopeuse.d.ts.map +1 -1
- package/models/operations/envelopeuse.js +93 -46
- package/models/operations/envelopeuse.js.map +1 -1
- package/models/operations/fieldcreatedocumentfield.d.ts +176 -8
- package/models/operations/fieldcreatedocumentfield.d.ts.map +1 -1
- package/models/operations/fieldcreatedocumentfield.js +108 -84
- package/models/operations/fieldcreatedocumentfield.js.map +1 -1
- package/models/operations/fieldcreatedocumentfields.d.ts +176 -8
- package/models/operations/fieldcreatedocumentfields.d.ts.map +1 -1
- package/models/operations/fieldcreatedocumentfields.js +104 -84
- package/models/operations/fieldcreatedocumentfields.js.map +1 -1
- package/models/operations/fieldcreatetemplatefield.d.ts +176 -8
- package/models/operations/fieldcreatetemplatefield.d.ts.map +1 -1
- package/models/operations/fieldcreatetemplatefield.js +108 -84
- package/models/operations/fieldcreatetemplatefield.js.map +1 -1
- package/models/operations/fieldcreatetemplatefields.d.ts +176 -8
- package/models/operations/fieldcreatetemplatefields.d.ts.map +1 -1
- package/models/operations/fieldcreatetemplatefields.js +104 -84
- package/models/operations/fieldcreatetemplatefields.js.map +1 -1
- package/models/operations/fieldgetdocumentfield.d.ts +84 -4
- package/models/operations/fieldgetdocumentfield.d.ts.map +1 -1
- package/models/operations/fieldgetdocumentfield.js +40 -40
- package/models/operations/fieldgetdocumentfield.js.map +1 -1
- package/models/operations/fieldgettemplatefield.d.ts +84 -4
- package/models/operations/fieldgettemplatefield.d.ts.map +1 -1
- package/models/operations/fieldgettemplatefield.js +40 -40
- package/models/operations/fieldgettemplatefield.js.map +1 -1
- package/models/operations/fieldupdatedocumentfield.d.ts +176 -8
- package/models/operations/fieldupdatedocumentfield.d.ts.map +1 -1
- package/models/operations/fieldupdatedocumentfield.js +108 -84
- package/models/operations/fieldupdatedocumentfield.js.map +1 -1
- package/models/operations/fieldupdatedocumentfields.d.ts +176 -8
- package/models/operations/fieldupdatedocumentfields.d.ts.map +1 -1
- package/models/operations/fieldupdatedocumentfields.js +104 -84
- package/models/operations/fieldupdatedocumentfields.js.map +1 -1
- package/models/operations/fieldupdatetemplatefield.d.ts +176 -8
- package/models/operations/fieldupdatetemplatefield.d.ts.map +1 -1
- package/models/operations/fieldupdatetemplatefield.js +108 -84
- package/models/operations/fieldupdatetemplatefield.js.map +1 -1
- package/models/operations/fieldupdatetemplatefields.d.ts +176 -8
- package/models/operations/fieldupdatetemplatefields.d.ts.map +1 -1
- package/models/operations/fieldupdatetemplatefields.js +104 -84
- package/models/operations/fieldupdatetemplatefields.js.map +1 -1
- package/models/operations/recipientgetdocumentrecipient.d.ts +84 -4
- package/models/operations/recipientgetdocumentrecipient.d.ts.map +1 -1
- package/models/operations/recipientgetdocumentrecipient.js +67 -40
- package/models/operations/recipientgetdocumentrecipient.js.map +1 -1
- package/models/operations/recipientgettemplaterecipient.d.ts +84 -4
- package/models/operations/recipientgettemplaterecipient.d.ts.map +1 -1
- package/models/operations/recipientgettemplaterecipient.js +67 -40
- package/models/operations/recipientgettemplaterecipient.js.map +1 -1
- package/models/operations/recipientupdatedocumentrecipient.d.ts +84 -4
- package/models/operations/recipientupdatedocumentrecipient.d.ts.map +1 -1
- package/models/operations/recipientupdatedocumentrecipient.js +60 -40
- package/models/operations/recipientupdatedocumentrecipient.js.map +1 -1
- package/models/operations/recipientupdatedocumentrecipients.d.ts +84 -4
- package/models/operations/recipientupdatedocumentrecipients.d.ts.map +1 -1
- package/models/operations/recipientupdatedocumentrecipients.js +54 -40
- package/models/operations/recipientupdatedocumentrecipients.js.map +1 -1
- package/models/operations/recipientupdatetemplaterecipient.d.ts +84 -4
- package/models/operations/recipientupdatetemplaterecipient.d.ts.map +1 -1
- package/models/operations/recipientupdatetemplaterecipient.js +60 -40
- package/models/operations/recipientupdatetemplaterecipient.js.map +1 -1
- package/models/operations/recipientupdatetemplaterecipients.d.ts +84 -4
- package/models/operations/recipientupdatetemplaterecipients.d.ts.map +1 -1
- package/models/operations/recipientupdatetemplaterecipients.js +54 -40
- package/models/operations/recipientupdatetemplaterecipients.js.map +1 -1
- package/models/operations/templatecreatedocumentfromtemplate.d.ts +295 -21
- package/models/operations/templatecreatedocumentfromtemplate.d.ts.map +1 -1
- package/models/operations/templatecreatedocumentfromtemplate.js +256 -83
- package/models/operations/templatecreatedocumentfromtemplate.js.map +1 -1
- package/models/operations/templatecreatetemplate.d.ts +4 -0
- package/models/operations/templatecreatetemplate.d.ts.map +1 -1
- package/models/operations/templatecreatetemplate.js +4 -0
- package/models/operations/templatecreatetemplate.js.map +1 -1
- package/models/operations/templatecreatetemplatetemporary.d.ts +88 -4
- package/models/operations/templatecreatetemplatetemporary.d.ts.map +1 -1
- package/models/operations/templatecreatetemplatetemporary.js +70 -40
- package/models/operations/templatecreatetemplatetemporary.js.map +1 -1
- package/models/operations/templatefindtemplates.d.ts +84 -4
- package/models/operations/templatefindtemplates.d.ts.map +1 -1
- package/models/operations/templatefindtemplates.js +40 -40
- package/models/operations/templatefindtemplates.js.map +1 -1
- package/models/operations/templategettemplatebyid.d.ts +84 -4
- package/models/operations/templategettemplatebyid.d.ts.map +1 -1
- package/models/operations/templategettemplatebyid.js +41 -40
- package/models/operations/templategettemplatebyid.js.map +1 -1
- package/models/operations/templateupdatetemplate.d.ts +4 -0
- package/models/operations/templateupdatetemplate.d.ts.map +1 -1
- package/models/operations/templateupdatetemplate.js +4 -0
- package/models/operations/templateupdatetemplate.js.map +1 -1
- package/package.json +3 -6
- package/src/lib/config.ts +3 -3
- package/src/lib/encodings.ts +4 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/operations/documentcreate.ts +180 -88
- package/src/models/operations/documentcreatedocumenttemporary.ts +329 -173
- package/src/models/operations/documentdistribute.ts +4 -0
- package/src/models/operations/documentget.ts +160 -80
- package/src/models/operations/documentupdate.ts +4 -0
- package/src/models/operations/envelopecreate.ts +180 -88
- package/src/models/operations/envelopedistribute.ts +99 -0
- package/src/models/operations/envelopefieldcreatemany.ts +324 -175
- package/src/models/operations/envelopefieldget.ts +160 -80
- package/src/models/operations/envelopefieldupdatemany.ts +324 -175
- package/src/models/operations/envelopeget.ts +160 -80
- package/src/models/operations/enveloperecipientget.ts +160 -80
- package/src/models/operations/enveloperedistribute.ts +102 -0
- package/src/models/operations/envelopeupdate.ts +4 -0
- package/src/models/operations/envelopeuse.ts +236 -83
- package/src/models/operations/fieldcreatedocumentfield.ts +325 -185
- package/src/models/operations/fieldcreatedocumentfields.ts +320 -180
- package/src/models/operations/fieldcreatetemplatefield.ts +325 -185
- package/src/models/operations/fieldcreatetemplatefields.ts +320 -180
- package/src/models/operations/fieldgetdocumentfield.ts +160 -80
- package/src/models/operations/fieldgettemplatefield.ts +160 -80
- package/src/models/operations/fieldupdatedocumentfield.ts +325 -185
- package/src/models/operations/fieldupdatedocumentfields.ts +320 -180
- package/src/models/operations/fieldupdatetemplatefield.ts +325 -185
- package/src/models/operations/fieldupdatetemplatefields.ts +320 -180
- package/src/models/operations/recipientgetdocumentrecipient.ts +140 -87
- package/src/models/operations/recipientgettemplaterecipient.ts +140 -87
- package/src/models/operations/recipientupdatedocumentrecipient.ts +136 -92
- package/src/models/operations/recipientupdatedocumentrecipients.ts +138 -92
- package/src/models/operations/recipientupdatetemplaterecipient.ts +136 -92
- package/src/models/operations/recipientupdatetemplaterecipients.ts +138 -92
- package/src/models/operations/templatecreatedocumentfromtemplate.ts +658 -185
- package/src/models/operations/templatecreatetemplate.ts +4 -0
- package/src/models/operations/templatecreatetemplatetemporary.ts +136 -92
- package/src/models/operations/templatefindtemplates.ts +160 -80
- package/src/models/operations/templategettemplatebyid.ts +161 -80
- package/src/models/operations/templateupdatetemplate.ts +4 -0
- package/src/types/enums.ts +1 -21
- package/src/types/index.ts +2 -1
- package/src/types/unrecognized.ts +27 -0
- package/types/enums.d.ts +1 -8
- package/types/enums.d.ts.map +1 -1
- package/types/enums.js +3 -21
- package/types/enums.js.map +1 -1
- package/types/index.d.ts +2 -1
- package/types/index.d.ts.map +1 -1
- package/types/index.js +15 -0
- package/types/index.js.map +1 -1
- package/types/unrecognized.d.ts +10 -0
- package/types/unrecognized.d.ts.map +1 -0
- package/types/unrecognized.js +26 -0
- package/types/unrecognized.js.map +1 -0
|
@@ -567,17 +567,19 @@ export type DocumentCreateDocumentTemporaryFieldSignature = {
|
|
|
567
567
|
};
|
|
568
568
|
|
|
569
569
|
export type DocumentCreateDocumentTemporaryFieldUnion =
|
|
570
|
-
| DocumentCreateDocumentTemporaryFieldSignature
|
|
571
|
-
| DocumentCreateDocumentTemporaryFieldFreeSignature
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
|
575
|
-
|
|
|
576
|
-
|
|
|
577
|
-
|
|
|
578
|
-
|
|
|
579
|
-
|
|
|
580
|
-
|
|
|
570
|
+
| (DocumentCreateDocumentTemporaryFieldSignature & { type: "SIGNATURE" })
|
|
571
|
+
| (DocumentCreateDocumentTemporaryFieldFreeSignature & {
|
|
572
|
+
type: "FREE_SIGNATURE";
|
|
573
|
+
})
|
|
574
|
+
| (DocumentCreateDocumentTemporaryFieldInitials & { type: "INITIALS" })
|
|
575
|
+
| (DocumentCreateDocumentTemporaryFieldName & { type: "NAME" })
|
|
576
|
+
| (DocumentCreateDocumentTemporaryFieldEmail & { type: "EMAIL" })
|
|
577
|
+
| (DocumentCreateDocumentTemporaryFieldDate & { type: "DATE" })
|
|
578
|
+
| (DocumentCreateDocumentTemporaryFieldText & { type: "TEXT" })
|
|
579
|
+
| (DocumentCreateDocumentTemporaryFieldNumber & { type: "NUMBER" })
|
|
580
|
+
| (DocumentCreateDocumentTemporaryFieldRadio & { type: "RADIO" })
|
|
581
|
+
| (DocumentCreateDocumentTemporaryFieldCheckbox & { type: "CHECKBOX" })
|
|
582
|
+
| (DocumentCreateDocumentTemporaryFieldDropdown & { type: "DROPDOWN" });
|
|
581
583
|
|
|
582
584
|
export type DocumentCreateDocumentTemporaryRecipientRequest = {
|
|
583
585
|
email: string;
|
|
@@ -592,17 +594,19 @@ export type DocumentCreateDocumentTemporaryRecipientRequest = {
|
|
|
592
594
|
| undefined;
|
|
593
595
|
fields?:
|
|
594
596
|
| Array<
|
|
595
|
-
| DocumentCreateDocumentTemporaryFieldSignature
|
|
596
|
-
| DocumentCreateDocumentTemporaryFieldFreeSignature
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
|
600
|
-
|
|
|
601
|
-
|
|
|
602
|
-
|
|
|
603
|
-
|
|
|
604
|
-
|
|
|
605
|
-
|
|
|
597
|
+
| (DocumentCreateDocumentTemporaryFieldSignature & { type: "SIGNATURE" })
|
|
598
|
+
| (DocumentCreateDocumentTemporaryFieldFreeSignature & {
|
|
599
|
+
type: "FREE_SIGNATURE";
|
|
600
|
+
})
|
|
601
|
+
| (DocumentCreateDocumentTemporaryFieldInitials & { type: "INITIALS" })
|
|
602
|
+
| (DocumentCreateDocumentTemporaryFieldName & { type: "NAME" })
|
|
603
|
+
| (DocumentCreateDocumentTemporaryFieldEmail & { type: "EMAIL" })
|
|
604
|
+
| (DocumentCreateDocumentTemporaryFieldDate & { type: "DATE" })
|
|
605
|
+
| (DocumentCreateDocumentTemporaryFieldText & { type: "TEXT" })
|
|
606
|
+
| (DocumentCreateDocumentTemporaryFieldNumber & { type: "NUMBER" })
|
|
607
|
+
| (DocumentCreateDocumentTemporaryFieldRadio & { type: "RADIO" })
|
|
608
|
+
| (DocumentCreateDocumentTemporaryFieldCheckbox & { type: "CHECKBOX" })
|
|
609
|
+
| (DocumentCreateDocumentTemporaryFieldDropdown & { type: "DROPDOWN" })
|
|
606
610
|
>
|
|
607
611
|
| undefined;
|
|
608
612
|
};
|
|
@@ -671,6 +675,10 @@ export const DocumentCreateDocumentTemporaryLanguage = {
|
|
|
671
675
|
Es: "es",
|
|
672
676
|
It: "it",
|
|
673
677
|
Pl: "pl",
|
|
678
|
+
PtBR: "pt-BR",
|
|
679
|
+
Ja: "ja",
|
|
680
|
+
Ko: "ko",
|
|
681
|
+
Zh: "zh",
|
|
674
682
|
} as const;
|
|
675
683
|
export type DocumentCreateDocumentTemporaryLanguage = ClosedEnum<
|
|
676
684
|
typeof DocumentCreateDocumentTemporaryLanguage
|
|
@@ -1214,16 +1222,16 @@ export type FieldMetaDocumentSignature = {
|
|
|
1214
1222
|
};
|
|
1215
1223
|
|
|
1216
1224
|
export type DocumentFieldMetaUnion =
|
|
1217
|
-
| FieldMetaDocumentSignature
|
|
1218
|
-
| FieldMetaDocumentInitials
|
|
1219
|
-
| FieldMetaDocumentName
|
|
1220
|
-
| FieldMetaDocumentEmail
|
|
1221
|
-
| FieldMetaDocumentDate
|
|
1222
|
-
| FieldMetaDocumentText
|
|
1223
|
-
| FieldMetaDocumentNumber
|
|
1224
|
-
| FieldMetaDocumentRadio
|
|
1225
|
-
| FieldMetaDocumentCheckbox
|
|
1226
|
-
| FieldMetaDocumentDropdown;
|
|
1225
|
+
| (FieldMetaDocumentSignature & { type: "signature" })
|
|
1226
|
+
| (FieldMetaDocumentInitials & { type: "initials" })
|
|
1227
|
+
| (FieldMetaDocumentName & { type: "name" })
|
|
1228
|
+
| (FieldMetaDocumentEmail & { type: "email" })
|
|
1229
|
+
| (FieldMetaDocumentDate & { type: "date" })
|
|
1230
|
+
| (FieldMetaDocumentText & { type: "text" })
|
|
1231
|
+
| (FieldMetaDocumentNumber & { type: "number" })
|
|
1232
|
+
| (FieldMetaDocumentRadio & { type: "radio" })
|
|
1233
|
+
| (FieldMetaDocumentCheckbox & { type: "checkbox" })
|
|
1234
|
+
| (FieldMetaDocumentDropdown & { type: "dropdown" });
|
|
1227
1235
|
|
|
1228
1236
|
export type DocumentField = {
|
|
1229
1237
|
envelopeId: string;
|
|
@@ -1240,16 +1248,16 @@ export type DocumentField = {
|
|
|
1240
1248
|
customText: string;
|
|
1241
1249
|
inserted: boolean;
|
|
1242
1250
|
fieldMeta:
|
|
1243
|
-
| FieldMetaDocumentSignature
|
|
1244
|
-
| FieldMetaDocumentInitials
|
|
1245
|
-
| FieldMetaDocumentName
|
|
1246
|
-
| FieldMetaDocumentEmail
|
|
1247
|
-
| FieldMetaDocumentDate
|
|
1248
|
-
| FieldMetaDocumentText
|
|
1249
|
-
| FieldMetaDocumentNumber
|
|
1250
|
-
| FieldMetaDocumentRadio
|
|
1251
|
-
| FieldMetaDocumentCheckbox
|
|
1252
|
-
| FieldMetaDocumentDropdown
|
|
1251
|
+
| (FieldMetaDocumentSignature & { type: "signature" })
|
|
1252
|
+
| (FieldMetaDocumentInitials & { type: "initials" })
|
|
1253
|
+
| (FieldMetaDocumentName & { type: "name" })
|
|
1254
|
+
| (FieldMetaDocumentEmail & { type: "email" })
|
|
1255
|
+
| (FieldMetaDocumentDate & { type: "date" })
|
|
1256
|
+
| (FieldMetaDocumentText & { type: "text" })
|
|
1257
|
+
| (FieldMetaDocumentNumber & { type: "number" })
|
|
1258
|
+
| (FieldMetaDocumentRadio & { type: "radio" })
|
|
1259
|
+
| (FieldMetaDocumentCheckbox & { type: "checkbox" })
|
|
1260
|
+
| (FieldMetaDocumentDropdown & { type: "dropdown" })
|
|
1253
1261
|
| null;
|
|
1254
1262
|
documentId?: number | null | undefined;
|
|
1255
1263
|
templateId?: number | null | undefined;
|
|
@@ -3414,31 +3422,62 @@ export const DocumentCreateDocumentTemporaryFieldUnion$inboundSchema: z.ZodType<
|
|
|
3414
3422
|
z.ZodTypeDef,
|
|
3415
3423
|
unknown
|
|
3416
3424
|
> = z.union([
|
|
3417
|
-
z.lazy(() => DocumentCreateDocumentTemporaryFieldSignature$inboundSchema)
|
|
3418
|
-
|
|
3419
|
-
|
|
3420
|
-
z.lazy(() =>
|
|
3421
|
-
|
|
3422
|
-
z.lazy(() =>
|
|
3423
|
-
|
|
3424
|
-
|
|
3425
|
-
z.lazy(() =>
|
|
3426
|
-
|
|
3427
|
-
|
|
3425
|
+
z.lazy(() => DocumentCreateDocumentTemporaryFieldSignature$inboundSchema).and(
|
|
3426
|
+
z.object({ type: z.literal("SIGNATURE") }),
|
|
3427
|
+
),
|
|
3428
|
+
z.lazy(() => DocumentCreateDocumentTemporaryFieldFreeSignature$inboundSchema)
|
|
3429
|
+
.and(z.object({ type: z.literal("FREE_SIGNATURE") })),
|
|
3430
|
+
z.lazy(() => DocumentCreateDocumentTemporaryFieldInitials$inboundSchema).and(
|
|
3431
|
+
z.object({ type: z.literal("INITIALS") }),
|
|
3432
|
+
),
|
|
3433
|
+
z.lazy(() => DocumentCreateDocumentTemporaryFieldName$inboundSchema).and(
|
|
3434
|
+
z.object({ type: z.literal("NAME") }),
|
|
3435
|
+
),
|
|
3436
|
+
z.lazy(() => DocumentCreateDocumentTemporaryFieldEmail$inboundSchema).and(
|
|
3437
|
+
z.object({ type: z.literal("EMAIL") }),
|
|
3438
|
+
),
|
|
3439
|
+
z.lazy(() => DocumentCreateDocumentTemporaryFieldDate$inboundSchema).and(
|
|
3440
|
+
z.object({ type: z.literal("DATE") }),
|
|
3441
|
+
),
|
|
3442
|
+
z.lazy(() => DocumentCreateDocumentTemporaryFieldText$inboundSchema).and(
|
|
3443
|
+
z.object({ type: z.literal("TEXT") }),
|
|
3444
|
+
),
|
|
3445
|
+
z.lazy(() => DocumentCreateDocumentTemporaryFieldNumber$inboundSchema).and(
|
|
3446
|
+
z.object({ type: z.literal("NUMBER") }),
|
|
3447
|
+
),
|
|
3448
|
+
z.lazy(() => DocumentCreateDocumentTemporaryFieldRadio$inboundSchema).and(
|
|
3449
|
+
z.object({ type: z.literal("RADIO") }),
|
|
3450
|
+
),
|
|
3451
|
+
z.lazy(() => DocumentCreateDocumentTemporaryFieldCheckbox$inboundSchema).and(
|
|
3452
|
+
z.object({ type: z.literal("CHECKBOX") }),
|
|
3453
|
+
),
|
|
3454
|
+
z.lazy(() => DocumentCreateDocumentTemporaryFieldDropdown$inboundSchema).and(
|
|
3455
|
+
z.object({ type: z.literal("DROPDOWN") }),
|
|
3456
|
+
),
|
|
3428
3457
|
]);
|
|
3429
3458
|
/** @internal */
|
|
3430
3459
|
export type DocumentCreateDocumentTemporaryFieldUnion$Outbound =
|
|
3431
|
-
| DocumentCreateDocumentTemporaryFieldSignature$Outbound
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
|
|
|
3435
|
-
|
|
3436
|
-
|
|
3437
|
-
|
|
|
3438
|
-
|
|
3439
|
-
|
|
3440
|
-
|
|
|
3441
|
-
|
|
|
3460
|
+
| (DocumentCreateDocumentTemporaryFieldSignature$Outbound & {
|
|
3461
|
+
type: "SIGNATURE";
|
|
3462
|
+
})
|
|
3463
|
+
| (DocumentCreateDocumentTemporaryFieldFreeSignature$Outbound & {
|
|
3464
|
+
type: "FREE_SIGNATURE";
|
|
3465
|
+
})
|
|
3466
|
+
| (DocumentCreateDocumentTemporaryFieldInitials$Outbound & {
|
|
3467
|
+
type: "INITIALS";
|
|
3468
|
+
})
|
|
3469
|
+
| (DocumentCreateDocumentTemporaryFieldName$Outbound & { type: "NAME" })
|
|
3470
|
+
| (DocumentCreateDocumentTemporaryFieldEmail$Outbound & { type: "EMAIL" })
|
|
3471
|
+
| (DocumentCreateDocumentTemporaryFieldDate$Outbound & { type: "DATE" })
|
|
3472
|
+
| (DocumentCreateDocumentTemporaryFieldText$Outbound & { type: "TEXT" })
|
|
3473
|
+
| (DocumentCreateDocumentTemporaryFieldNumber$Outbound & { type: "NUMBER" })
|
|
3474
|
+
| (DocumentCreateDocumentTemporaryFieldRadio$Outbound & { type: "RADIO" })
|
|
3475
|
+
| (DocumentCreateDocumentTemporaryFieldCheckbox$Outbound & {
|
|
3476
|
+
type: "CHECKBOX";
|
|
3477
|
+
})
|
|
3478
|
+
| (DocumentCreateDocumentTemporaryFieldDropdown$Outbound & {
|
|
3479
|
+
type: "DROPDOWN";
|
|
3480
|
+
});
|
|
3442
3481
|
|
|
3443
3482
|
/** @internal */
|
|
3444
3483
|
export const DocumentCreateDocumentTemporaryFieldUnion$outboundSchema:
|
|
@@ -3447,19 +3486,35 @@ export const DocumentCreateDocumentTemporaryFieldUnion$outboundSchema:
|
|
|
3447
3486
|
z.ZodTypeDef,
|
|
3448
3487
|
DocumentCreateDocumentTemporaryFieldUnion
|
|
3449
3488
|
> = z.union([
|
|
3450
|
-
z.lazy(() => DocumentCreateDocumentTemporaryFieldSignature$outboundSchema)
|
|
3489
|
+
z.lazy(() => DocumentCreateDocumentTemporaryFieldSignature$outboundSchema)
|
|
3490
|
+
.and(z.object({ type: z.literal("SIGNATURE") })),
|
|
3451
3491
|
z.lazy(() =>
|
|
3452
3492
|
DocumentCreateDocumentTemporaryFieldFreeSignature$outboundSchema
|
|
3493
|
+
).and(z.object({ type: z.literal("FREE_SIGNATURE") })),
|
|
3494
|
+
z.lazy(() => DocumentCreateDocumentTemporaryFieldInitials$outboundSchema)
|
|
3495
|
+
.and(z.object({ type: z.literal("INITIALS") })),
|
|
3496
|
+
z.lazy(() => DocumentCreateDocumentTemporaryFieldName$outboundSchema).and(
|
|
3497
|
+
z.object({ type: z.literal("NAME") }),
|
|
3498
|
+
),
|
|
3499
|
+
z.lazy(() => DocumentCreateDocumentTemporaryFieldEmail$outboundSchema).and(
|
|
3500
|
+
z.object({ type: z.literal("EMAIL") }),
|
|
3501
|
+
),
|
|
3502
|
+
z.lazy(() => DocumentCreateDocumentTemporaryFieldDate$outboundSchema).and(
|
|
3503
|
+
z.object({ type: z.literal("DATE") }),
|
|
3504
|
+
),
|
|
3505
|
+
z.lazy(() => DocumentCreateDocumentTemporaryFieldText$outboundSchema).and(
|
|
3506
|
+
z.object({ type: z.literal("TEXT") }),
|
|
3507
|
+
),
|
|
3508
|
+
z.lazy(() => DocumentCreateDocumentTemporaryFieldNumber$outboundSchema).and(
|
|
3509
|
+
z.object({ type: z.literal("NUMBER") }),
|
|
3453
3510
|
),
|
|
3454
|
-
z.lazy(() =>
|
|
3455
|
-
|
|
3456
|
-
|
|
3457
|
-
z.lazy(() =>
|
|
3458
|
-
|
|
3459
|
-
z.lazy(() =>
|
|
3460
|
-
|
|
3461
|
-
z.lazy(() => DocumentCreateDocumentTemporaryFieldCheckbox$outboundSchema),
|
|
3462
|
-
z.lazy(() => DocumentCreateDocumentTemporaryFieldDropdown$outboundSchema),
|
|
3511
|
+
z.lazy(() => DocumentCreateDocumentTemporaryFieldRadio$outboundSchema).and(
|
|
3512
|
+
z.object({ type: z.literal("RADIO") }),
|
|
3513
|
+
),
|
|
3514
|
+
z.lazy(() => DocumentCreateDocumentTemporaryFieldCheckbox$outboundSchema)
|
|
3515
|
+
.and(z.object({ type: z.literal("CHECKBOX") })),
|
|
3516
|
+
z.lazy(() => DocumentCreateDocumentTemporaryFieldDropdown$outboundSchema)
|
|
3517
|
+
.and(z.object({ type: z.literal("DROPDOWN") })),
|
|
3463
3518
|
]);
|
|
3464
3519
|
|
|
3465
3520
|
export function documentCreateDocumentTemporaryFieldUnionToJSON(
|
|
@@ -3509,25 +3564,28 @@ export const DocumentCreateDocumentTemporaryRecipientRequest$inboundSchema:
|
|
|
3509
3564
|
z.union([
|
|
3510
3565
|
z.lazy(() =>
|
|
3511
3566
|
DocumentCreateDocumentTemporaryFieldSignature$inboundSchema
|
|
3512
|
-
),
|
|
3567
|
+
).and(z.object({ type: z.literal("SIGNATURE") })),
|
|
3513
3568
|
z.lazy(() =>
|
|
3514
3569
|
DocumentCreateDocumentTemporaryFieldFreeSignature$inboundSchema
|
|
3515
|
-
),
|
|
3516
|
-
z.lazy(() =>
|
|
3517
|
-
|
|
3518
|
-
)
|
|
3519
|
-
|
|
3520
|
-
z.lazy(() => DocumentCreateDocumentTemporaryFieldEmail$inboundSchema)
|
|
3521
|
-
|
|
3522
|
-
z.lazy(() =>
|
|
3523
|
-
|
|
3524
|
-
z.lazy(() =>
|
|
3525
|
-
|
|
3526
|
-
|
|
3527
|
-
|
|
3528
|
-
z.lazy(() =>
|
|
3529
|
-
|
|
3530
|
-
)
|
|
3570
|
+
).and(z.object({ type: z.literal("FREE_SIGNATURE") })),
|
|
3571
|
+
z.lazy(() => DocumentCreateDocumentTemporaryFieldInitials$inboundSchema)
|
|
3572
|
+
.and(z.object({ type: z.literal("INITIALS") })),
|
|
3573
|
+
z.lazy(() => DocumentCreateDocumentTemporaryFieldName$inboundSchema)
|
|
3574
|
+
.and(z.object({ type: z.literal("NAME") })),
|
|
3575
|
+
z.lazy(() => DocumentCreateDocumentTemporaryFieldEmail$inboundSchema)
|
|
3576
|
+
.and(z.object({ type: z.literal("EMAIL") })),
|
|
3577
|
+
z.lazy(() => DocumentCreateDocumentTemporaryFieldDate$inboundSchema)
|
|
3578
|
+
.and(z.object({ type: z.literal("DATE") })),
|
|
3579
|
+
z.lazy(() => DocumentCreateDocumentTemporaryFieldText$inboundSchema)
|
|
3580
|
+
.and(z.object({ type: z.literal("TEXT") })),
|
|
3581
|
+
z.lazy(() => DocumentCreateDocumentTemporaryFieldNumber$inboundSchema)
|
|
3582
|
+
.and(z.object({ type: z.literal("NUMBER") })),
|
|
3583
|
+
z.lazy(() => DocumentCreateDocumentTemporaryFieldRadio$inboundSchema)
|
|
3584
|
+
.and(z.object({ type: z.literal("RADIO") })),
|
|
3585
|
+
z.lazy(() => DocumentCreateDocumentTemporaryFieldCheckbox$inboundSchema)
|
|
3586
|
+
.and(z.object({ type: z.literal("CHECKBOX") })),
|
|
3587
|
+
z.lazy(() => DocumentCreateDocumentTemporaryFieldDropdown$inboundSchema)
|
|
3588
|
+
.and(z.object({ type: z.literal("DROPDOWN") })),
|
|
3531
3589
|
]),
|
|
3532
3590
|
).optional(),
|
|
3533
3591
|
});
|
|
@@ -3541,17 +3599,29 @@ export type DocumentCreateDocumentTemporaryRecipientRequest$Outbound = {
|
|
|
3541
3599
|
actionAuth?: Array<string> | undefined;
|
|
3542
3600
|
fields?:
|
|
3543
3601
|
| Array<
|
|
3544
|
-
| DocumentCreateDocumentTemporaryFieldSignature$Outbound
|
|
3545
|
-
|
|
3546
|
-
|
|
3547
|
-
|
|
|
3548
|
-
|
|
3549
|
-
|
|
3550
|
-
|
|
|
3551
|
-
|
|
3552
|
-
|
|
3553
|
-
|
|
|
3554
|
-
|
|
|
3602
|
+
| (DocumentCreateDocumentTemporaryFieldSignature$Outbound & {
|
|
3603
|
+
type: "SIGNATURE";
|
|
3604
|
+
})
|
|
3605
|
+
| (DocumentCreateDocumentTemporaryFieldFreeSignature$Outbound & {
|
|
3606
|
+
type: "FREE_SIGNATURE";
|
|
3607
|
+
})
|
|
3608
|
+
| (DocumentCreateDocumentTemporaryFieldInitials$Outbound & {
|
|
3609
|
+
type: "INITIALS";
|
|
3610
|
+
})
|
|
3611
|
+
| (DocumentCreateDocumentTemporaryFieldName$Outbound & { type: "NAME" })
|
|
3612
|
+
| (DocumentCreateDocumentTemporaryFieldEmail$Outbound & { type: "EMAIL" })
|
|
3613
|
+
| (DocumentCreateDocumentTemporaryFieldDate$Outbound & { type: "DATE" })
|
|
3614
|
+
| (DocumentCreateDocumentTemporaryFieldText$Outbound & { type: "TEXT" })
|
|
3615
|
+
| (DocumentCreateDocumentTemporaryFieldNumber$Outbound & {
|
|
3616
|
+
type: "NUMBER";
|
|
3617
|
+
})
|
|
3618
|
+
| (DocumentCreateDocumentTemporaryFieldRadio$Outbound & { type: "RADIO" })
|
|
3619
|
+
| (DocumentCreateDocumentTemporaryFieldCheckbox$Outbound & {
|
|
3620
|
+
type: "CHECKBOX";
|
|
3621
|
+
})
|
|
3622
|
+
| (DocumentCreateDocumentTemporaryFieldDropdown$Outbound & {
|
|
3623
|
+
type: "DROPDOWN";
|
|
3624
|
+
})
|
|
3555
3625
|
>
|
|
3556
3626
|
| undefined;
|
|
3557
3627
|
};
|
|
@@ -3577,25 +3647,31 @@ export const DocumentCreateDocumentTemporaryRecipientRequest$outboundSchema:
|
|
|
3577
3647
|
z.union([
|
|
3578
3648
|
z.lazy(() =>
|
|
3579
3649
|
DocumentCreateDocumentTemporaryFieldSignature$outboundSchema
|
|
3580
|
-
),
|
|
3650
|
+
).and(z.object({ type: z.literal("SIGNATURE") })),
|
|
3581
3651
|
z.lazy(() =>
|
|
3582
3652
|
DocumentCreateDocumentTemporaryFieldFreeSignature$outboundSchema
|
|
3583
|
-
),
|
|
3653
|
+
).and(z.object({ type: z.literal("FREE_SIGNATURE") })),
|
|
3584
3654
|
z.lazy(() =>
|
|
3585
3655
|
DocumentCreateDocumentTemporaryFieldInitials$outboundSchema
|
|
3586
|
-
),
|
|
3587
|
-
z.lazy(() => DocumentCreateDocumentTemporaryFieldName$outboundSchema)
|
|
3588
|
-
|
|
3589
|
-
z.lazy(() =>
|
|
3590
|
-
|
|
3591
|
-
z.lazy(() =>
|
|
3592
|
-
|
|
3656
|
+
).and(z.object({ type: z.literal("INITIALS") })),
|
|
3657
|
+
z.lazy(() => DocumentCreateDocumentTemporaryFieldName$outboundSchema)
|
|
3658
|
+
.and(z.object({ type: z.literal("NAME") })),
|
|
3659
|
+
z.lazy(() => DocumentCreateDocumentTemporaryFieldEmail$outboundSchema)
|
|
3660
|
+
.and(z.object({ type: z.literal("EMAIL") })),
|
|
3661
|
+
z.lazy(() => DocumentCreateDocumentTemporaryFieldDate$outboundSchema)
|
|
3662
|
+
.and(z.object({ type: z.literal("DATE") })),
|
|
3663
|
+
z.lazy(() => DocumentCreateDocumentTemporaryFieldText$outboundSchema)
|
|
3664
|
+
.and(z.object({ type: z.literal("TEXT") })),
|
|
3665
|
+
z.lazy(() => DocumentCreateDocumentTemporaryFieldNumber$outboundSchema)
|
|
3666
|
+
.and(z.object({ type: z.literal("NUMBER") })),
|
|
3667
|
+
z.lazy(() => DocumentCreateDocumentTemporaryFieldRadio$outboundSchema)
|
|
3668
|
+
.and(z.object({ type: z.literal("RADIO") })),
|
|
3593
3669
|
z.lazy(() =>
|
|
3594
3670
|
DocumentCreateDocumentTemporaryFieldCheckbox$outboundSchema
|
|
3595
|
-
),
|
|
3671
|
+
).and(z.object({ type: z.literal("CHECKBOX") })),
|
|
3596
3672
|
z.lazy(() =>
|
|
3597
3673
|
DocumentCreateDocumentTemporaryFieldDropdown$outboundSchema
|
|
3598
|
-
),
|
|
3674
|
+
).and(z.object({ type: z.literal("DROPDOWN") })),
|
|
3599
3675
|
]),
|
|
3600
3676
|
).optional(),
|
|
3601
3677
|
});
|
|
@@ -5653,29 +5729,49 @@ export const DocumentFieldMetaUnion$inboundSchema: z.ZodType<
|
|
|
5653
5729
|
z.ZodTypeDef,
|
|
5654
5730
|
unknown
|
|
5655
5731
|
> = z.union([
|
|
5656
|
-
z.lazy(() => FieldMetaDocumentSignature$inboundSchema)
|
|
5657
|
-
|
|
5658
|
-
|
|
5659
|
-
z.lazy(() =>
|
|
5660
|
-
|
|
5661
|
-
|
|
5662
|
-
z.lazy(() =>
|
|
5663
|
-
|
|
5664
|
-
|
|
5665
|
-
z.lazy(() =>
|
|
5732
|
+
z.lazy(() => FieldMetaDocumentSignature$inboundSchema).and(
|
|
5733
|
+
z.object({ type: z.literal("signature") }),
|
|
5734
|
+
),
|
|
5735
|
+
z.lazy(() => FieldMetaDocumentInitials$inboundSchema).and(
|
|
5736
|
+
z.object({ type: z.literal("initials") }),
|
|
5737
|
+
),
|
|
5738
|
+
z.lazy(() => FieldMetaDocumentName$inboundSchema).and(
|
|
5739
|
+
z.object({ type: z.literal("name") }),
|
|
5740
|
+
),
|
|
5741
|
+
z.lazy(() => FieldMetaDocumentEmail$inboundSchema).and(
|
|
5742
|
+
z.object({ type: z.literal("email") }),
|
|
5743
|
+
),
|
|
5744
|
+
z.lazy(() => FieldMetaDocumentDate$inboundSchema).and(
|
|
5745
|
+
z.object({ type: z.literal("date") }),
|
|
5746
|
+
),
|
|
5747
|
+
z.lazy(() => FieldMetaDocumentText$inboundSchema).and(
|
|
5748
|
+
z.object({ type: z.literal("text") }),
|
|
5749
|
+
),
|
|
5750
|
+
z.lazy(() => FieldMetaDocumentNumber$inboundSchema).and(
|
|
5751
|
+
z.object({ type: z.literal("number") }),
|
|
5752
|
+
),
|
|
5753
|
+
z.lazy(() => FieldMetaDocumentRadio$inboundSchema).and(
|
|
5754
|
+
z.object({ type: z.literal("radio") }),
|
|
5755
|
+
),
|
|
5756
|
+
z.lazy(() => FieldMetaDocumentCheckbox$inboundSchema).and(
|
|
5757
|
+
z.object({ type: z.literal("checkbox") }),
|
|
5758
|
+
),
|
|
5759
|
+
z.lazy(() => FieldMetaDocumentDropdown$inboundSchema).and(
|
|
5760
|
+
z.object({ type: z.literal("dropdown") }),
|
|
5761
|
+
),
|
|
5666
5762
|
]);
|
|
5667
5763
|
/** @internal */
|
|
5668
5764
|
export type DocumentFieldMetaUnion$Outbound =
|
|
5669
|
-
| FieldMetaDocumentSignature$Outbound
|
|
5670
|
-
| FieldMetaDocumentInitials$Outbound
|
|
5671
|
-
| FieldMetaDocumentName$Outbound
|
|
5672
|
-
| FieldMetaDocumentEmail$Outbound
|
|
5673
|
-
| FieldMetaDocumentDate$Outbound
|
|
5674
|
-
| FieldMetaDocumentText$Outbound
|
|
5675
|
-
| FieldMetaDocumentNumber$Outbound
|
|
5676
|
-
| FieldMetaDocumentRadio$Outbound
|
|
5677
|
-
| FieldMetaDocumentCheckbox$Outbound
|
|
5678
|
-
| FieldMetaDocumentDropdown$Outbound;
|
|
5765
|
+
| (FieldMetaDocumentSignature$Outbound & { type: "signature" })
|
|
5766
|
+
| (FieldMetaDocumentInitials$Outbound & { type: "initials" })
|
|
5767
|
+
| (FieldMetaDocumentName$Outbound & { type: "name" })
|
|
5768
|
+
| (FieldMetaDocumentEmail$Outbound & { type: "email" })
|
|
5769
|
+
| (FieldMetaDocumentDate$Outbound & { type: "date" })
|
|
5770
|
+
| (FieldMetaDocumentText$Outbound & { type: "text" })
|
|
5771
|
+
| (FieldMetaDocumentNumber$Outbound & { type: "number" })
|
|
5772
|
+
| (FieldMetaDocumentRadio$Outbound & { type: "radio" })
|
|
5773
|
+
| (FieldMetaDocumentCheckbox$Outbound & { type: "checkbox" })
|
|
5774
|
+
| (FieldMetaDocumentDropdown$Outbound & { type: "dropdown" });
|
|
5679
5775
|
|
|
5680
5776
|
/** @internal */
|
|
5681
5777
|
export const DocumentFieldMetaUnion$outboundSchema: z.ZodType<
|
|
@@ -5683,16 +5779,36 @@ export const DocumentFieldMetaUnion$outboundSchema: z.ZodType<
|
|
|
5683
5779
|
z.ZodTypeDef,
|
|
5684
5780
|
DocumentFieldMetaUnion
|
|
5685
5781
|
> = z.union([
|
|
5686
|
-
z.lazy(() => FieldMetaDocumentSignature$outboundSchema)
|
|
5687
|
-
|
|
5688
|
-
|
|
5689
|
-
z.lazy(() =>
|
|
5690
|
-
|
|
5691
|
-
|
|
5692
|
-
z.lazy(() =>
|
|
5693
|
-
|
|
5694
|
-
|
|
5695
|
-
z.lazy(() =>
|
|
5782
|
+
z.lazy(() => FieldMetaDocumentSignature$outboundSchema).and(
|
|
5783
|
+
z.object({ type: z.literal("signature") }),
|
|
5784
|
+
),
|
|
5785
|
+
z.lazy(() => FieldMetaDocumentInitials$outboundSchema).and(
|
|
5786
|
+
z.object({ type: z.literal("initials") }),
|
|
5787
|
+
),
|
|
5788
|
+
z.lazy(() => FieldMetaDocumentName$outboundSchema).and(
|
|
5789
|
+
z.object({ type: z.literal("name") }),
|
|
5790
|
+
),
|
|
5791
|
+
z.lazy(() => FieldMetaDocumentEmail$outboundSchema).and(
|
|
5792
|
+
z.object({ type: z.literal("email") }),
|
|
5793
|
+
),
|
|
5794
|
+
z.lazy(() => FieldMetaDocumentDate$outboundSchema).and(
|
|
5795
|
+
z.object({ type: z.literal("date") }),
|
|
5796
|
+
),
|
|
5797
|
+
z.lazy(() => FieldMetaDocumentText$outboundSchema).and(
|
|
5798
|
+
z.object({ type: z.literal("text") }),
|
|
5799
|
+
),
|
|
5800
|
+
z.lazy(() => FieldMetaDocumentNumber$outboundSchema).and(
|
|
5801
|
+
z.object({ type: z.literal("number") }),
|
|
5802
|
+
),
|
|
5803
|
+
z.lazy(() => FieldMetaDocumentRadio$outboundSchema).and(
|
|
5804
|
+
z.object({ type: z.literal("radio") }),
|
|
5805
|
+
),
|
|
5806
|
+
z.lazy(() => FieldMetaDocumentCheckbox$outboundSchema).and(
|
|
5807
|
+
z.object({ type: z.literal("checkbox") }),
|
|
5808
|
+
),
|
|
5809
|
+
z.lazy(() => FieldMetaDocumentDropdown$outboundSchema).and(
|
|
5810
|
+
z.object({ type: z.literal("dropdown") }),
|
|
5811
|
+
),
|
|
5696
5812
|
]);
|
|
5697
5813
|
|
|
5698
5814
|
export function documentFieldMetaUnionToJSON(
|
|
@@ -5733,16 +5849,36 @@ export const DocumentField$inboundSchema: z.ZodType<
|
|
|
5733
5849
|
inserted: z.boolean(),
|
|
5734
5850
|
fieldMeta: z.nullable(
|
|
5735
5851
|
z.union([
|
|
5736
|
-
z.lazy(() => FieldMetaDocumentSignature$inboundSchema)
|
|
5737
|
-
|
|
5738
|
-
|
|
5739
|
-
z.lazy(() =>
|
|
5740
|
-
|
|
5741
|
-
|
|
5742
|
-
z.lazy(() =>
|
|
5743
|
-
|
|
5744
|
-
|
|
5745
|
-
z.lazy(() =>
|
|
5852
|
+
z.lazy(() => FieldMetaDocumentSignature$inboundSchema).and(
|
|
5853
|
+
z.object({ type: z.literal("signature") }),
|
|
5854
|
+
),
|
|
5855
|
+
z.lazy(() => FieldMetaDocumentInitials$inboundSchema).and(
|
|
5856
|
+
z.object({ type: z.literal("initials") }),
|
|
5857
|
+
),
|
|
5858
|
+
z.lazy(() => FieldMetaDocumentName$inboundSchema).and(
|
|
5859
|
+
z.object({ type: z.literal("name") }),
|
|
5860
|
+
),
|
|
5861
|
+
z.lazy(() => FieldMetaDocumentEmail$inboundSchema).and(
|
|
5862
|
+
z.object({ type: z.literal("email") }),
|
|
5863
|
+
),
|
|
5864
|
+
z.lazy(() => FieldMetaDocumentDate$inboundSchema).and(
|
|
5865
|
+
z.object({ type: z.literal("date") }),
|
|
5866
|
+
),
|
|
5867
|
+
z.lazy(() => FieldMetaDocumentText$inboundSchema).and(
|
|
5868
|
+
z.object({ type: z.literal("text") }),
|
|
5869
|
+
),
|
|
5870
|
+
z.lazy(() => FieldMetaDocumentNumber$inboundSchema).and(
|
|
5871
|
+
z.object({ type: z.literal("number") }),
|
|
5872
|
+
),
|
|
5873
|
+
z.lazy(() => FieldMetaDocumentRadio$inboundSchema).and(
|
|
5874
|
+
z.object({ type: z.literal("radio") }),
|
|
5875
|
+
),
|
|
5876
|
+
z.lazy(() => FieldMetaDocumentCheckbox$inboundSchema).and(
|
|
5877
|
+
z.object({ type: z.literal("checkbox") }),
|
|
5878
|
+
),
|
|
5879
|
+
z.lazy(() => FieldMetaDocumentDropdown$inboundSchema).and(
|
|
5880
|
+
z.object({ type: z.literal("dropdown") }),
|
|
5881
|
+
),
|
|
5746
5882
|
]),
|
|
5747
5883
|
),
|
|
5748
5884
|
documentId: z.nullable(z.number()).optional(),
|
|
@@ -5764,16 +5900,16 @@ export type DocumentField$Outbound = {
|
|
|
5764
5900
|
customText: string;
|
|
5765
5901
|
inserted: boolean;
|
|
5766
5902
|
fieldMeta:
|
|
5767
|
-
| FieldMetaDocumentSignature$Outbound
|
|
5768
|
-
| FieldMetaDocumentInitials$Outbound
|
|
5769
|
-
| FieldMetaDocumentName$Outbound
|
|
5770
|
-
| FieldMetaDocumentEmail$Outbound
|
|
5771
|
-
| FieldMetaDocumentDate$Outbound
|
|
5772
|
-
| FieldMetaDocumentText$Outbound
|
|
5773
|
-
| FieldMetaDocumentNumber$Outbound
|
|
5774
|
-
| FieldMetaDocumentRadio$Outbound
|
|
5775
|
-
| FieldMetaDocumentCheckbox$Outbound
|
|
5776
|
-
| FieldMetaDocumentDropdown$Outbound
|
|
5903
|
+
| (FieldMetaDocumentSignature$Outbound & { type: "signature" })
|
|
5904
|
+
| (FieldMetaDocumentInitials$Outbound & { type: "initials" })
|
|
5905
|
+
| (FieldMetaDocumentName$Outbound & { type: "name" })
|
|
5906
|
+
| (FieldMetaDocumentEmail$Outbound & { type: "email" })
|
|
5907
|
+
| (FieldMetaDocumentDate$Outbound & { type: "date" })
|
|
5908
|
+
| (FieldMetaDocumentText$Outbound & { type: "text" })
|
|
5909
|
+
| (FieldMetaDocumentNumber$Outbound & { type: "number" })
|
|
5910
|
+
| (FieldMetaDocumentRadio$Outbound & { type: "radio" })
|
|
5911
|
+
| (FieldMetaDocumentCheckbox$Outbound & { type: "checkbox" })
|
|
5912
|
+
| (FieldMetaDocumentDropdown$Outbound & { type: "dropdown" })
|
|
5777
5913
|
| null;
|
|
5778
5914
|
documentId?: number | null | undefined;
|
|
5779
5915
|
templateId?: number | null | undefined;
|
|
@@ -5800,16 +5936,36 @@ export const DocumentField$outboundSchema: z.ZodType<
|
|
|
5800
5936
|
inserted: z.boolean(),
|
|
5801
5937
|
fieldMeta: z.nullable(
|
|
5802
5938
|
z.union([
|
|
5803
|
-
z.lazy(() => FieldMetaDocumentSignature$outboundSchema)
|
|
5804
|
-
|
|
5805
|
-
|
|
5806
|
-
z.lazy(() =>
|
|
5807
|
-
|
|
5808
|
-
|
|
5809
|
-
z.lazy(() =>
|
|
5810
|
-
|
|
5811
|
-
|
|
5812
|
-
z.lazy(() =>
|
|
5939
|
+
z.lazy(() => FieldMetaDocumentSignature$outboundSchema).and(
|
|
5940
|
+
z.object({ type: z.literal("signature") }),
|
|
5941
|
+
),
|
|
5942
|
+
z.lazy(() => FieldMetaDocumentInitials$outboundSchema).and(
|
|
5943
|
+
z.object({ type: z.literal("initials") }),
|
|
5944
|
+
),
|
|
5945
|
+
z.lazy(() => FieldMetaDocumentName$outboundSchema).and(
|
|
5946
|
+
z.object({ type: z.literal("name") }),
|
|
5947
|
+
),
|
|
5948
|
+
z.lazy(() => FieldMetaDocumentEmail$outboundSchema).and(
|
|
5949
|
+
z.object({ type: z.literal("email") }),
|
|
5950
|
+
),
|
|
5951
|
+
z.lazy(() => FieldMetaDocumentDate$outboundSchema).and(
|
|
5952
|
+
z.object({ type: z.literal("date") }),
|
|
5953
|
+
),
|
|
5954
|
+
z.lazy(() => FieldMetaDocumentText$outboundSchema).and(
|
|
5955
|
+
z.object({ type: z.literal("text") }),
|
|
5956
|
+
),
|
|
5957
|
+
z.lazy(() => FieldMetaDocumentNumber$outboundSchema).and(
|
|
5958
|
+
z.object({ type: z.literal("number") }),
|
|
5959
|
+
),
|
|
5960
|
+
z.lazy(() => FieldMetaDocumentRadio$outboundSchema).and(
|
|
5961
|
+
z.object({ type: z.literal("radio") }),
|
|
5962
|
+
),
|
|
5963
|
+
z.lazy(() => FieldMetaDocumentCheckbox$outboundSchema).and(
|
|
5964
|
+
z.object({ type: z.literal("checkbox") }),
|
|
5965
|
+
),
|
|
5966
|
+
z.lazy(() => FieldMetaDocumentDropdown$outboundSchema).and(
|
|
5967
|
+
z.object({ type: z.literal("dropdown") }),
|
|
5968
|
+
),
|
|
5813
5969
|
]),
|
|
5814
5970
|
),
|
|
5815
5971
|
documentId: z.nullable(z.number()).optional(),
|