@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
|
@@ -431,16 +431,16 @@ export type RecipientUpdateTemplateRecipientFieldMetaSignature = {
|
|
|
431
431
|
};
|
|
432
432
|
|
|
433
433
|
export type RecipientUpdateTemplateRecipientFieldMetaUnion =
|
|
434
|
-
| RecipientUpdateTemplateRecipientFieldMetaSignature
|
|
435
|
-
| RecipientUpdateTemplateRecipientFieldMetaInitials
|
|
436
|
-
| RecipientUpdateTemplateRecipientFieldMetaName
|
|
437
|
-
| RecipientUpdateTemplateRecipientFieldMetaEmail
|
|
438
|
-
| RecipientUpdateTemplateRecipientFieldMetaDate
|
|
439
|
-
| RecipientUpdateTemplateRecipientFieldMetaText
|
|
440
|
-
| RecipientUpdateTemplateRecipientFieldMetaNumber
|
|
441
|
-
| RecipientUpdateTemplateRecipientFieldMetaRadio
|
|
442
|
-
| RecipientUpdateTemplateRecipientFieldMetaCheckbox
|
|
443
|
-
| RecipientUpdateTemplateRecipientFieldMetaDropdown;
|
|
434
|
+
| (RecipientUpdateTemplateRecipientFieldMetaSignature & { type: "signature" })
|
|
435
|
+
| (RecipientUpdateTemplateRecipientFieldMetaInitials & { type: "initials" })
|
|
436
|
+
| (RecipientUpdateTemplateRecipientFieldMetaName & { type: "name" })
|
|
437
|
+
| (RecipientUpdateTemplateRecipientFieldMetaEmail & { type: "email" })
|
|
438
|
+
| (RecipientUpdateTemplateRecipientFieldMetaDate & { type: "date" })
|
|
439
|
+
| (RecipientUpdateTemplateRecipientFieldMetaText & { type: "text" })
|
|
440
|
+
| (RecipientUpdateTemplateRecipientFieldMetaNumber & { type: "number" })
|
|
441
|
+
| (RecipientUpdateTemplateRecipientFieldMetaRadio & { type: "radio" })
|
|
442
|
+
| (RecipientUpdateTemplateRecipientFieldMetaCheckbox & { type: "checkbox" })
|
|
443
|
+
| (RecipientUpdateTemplateRecipientFieldMetaDropdown & { type: "dropdown" });
|
|
444
444
|
|
|
445
445
|
export type RecipientUpdateTemplateRecipientField = {
|
|
446
446
|
envelopeId: string;
|
|
@@ -457,16 +457,18 @@ export type RecipientUpdateTemplateRecipientField = {
|
|
|
457
457
|
customText: string;
|
|
458
458
|
inserted: boolean;
|
|
459
459
|
fieldMeta:
|
|
460
|
-
| RecipientUpdateTemplateRecipientFieldMetaSignature
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
|
464
|
-
|
|
|
465
|
-
|
|
|
466
|
-
|
|
|
467
|
-
|
|
|
468
|
-
|
|
|
469
|
-
|
|
|
460
|
+
| (RecipientUpdateTemplateRecipientFieldMetaSignature & {
|
|
461
|
+
type: "signature";
|
|
462
|
+
})
|
|
463
|
+
| (RecipientUpdateTemplateRecipientFieldMetaInitials & { type: "initials" })
|
|
464
|
+
| (RecipientUpdateTemplateRecipientFieldMetaName & { type: "name" })
|
|
465
|
+
| (RecipientUpdateTemplateRecipientFieldMetaEmail & { type: "email" })
|
|
466
|
+
| (RecipientUpdateTemplateRecipientFieldMetaDate & { type: "date" })
|
|
467
|
+
| (RecipientUpdateTemplateRecipientFieldMetaText & { type: "text" })
|
|
468
|
+
| (RecipientUpdateTemplateRecipientFieldMetaNumber & { type: "number" })
|
|
469
|
+
| (RecipientUpdateTemplateRecipientFieldMetaRadio & { type: "radio" })
|
|
470
|
+
| (RecipientUpdateTemplateRecipientFieldMetaCheckbox & { type: "checkbox" })
|
|
471
|
+
| (RecipientUpdateTemplateRecipientFieldMetaDropdown & { type: "dropdown" })
|
|
470
472
|
| null;
|
|
471
473
|
documentId?: number | null | undefined;
|
|
472
474
|
templateId?: number | null | undefined;
|
|
@@ -1874,35 +1876,55 @@ export const RecipientUpdateTemplateRecipientFieldMetaUnion$inboundSchema:
|
|
|
1874
1876
|
> = z.union([
|
|
1875
1877
|
z.lazy(() =>
|
|
1876
1878
|
RecipientUpdateTemplateRecipientFieldMetaSignature$inboundSchema
|
|
1877
|
-
),
|
|
1879
|
+
).and(z.object({ type: z.literal("signature") })),
|
|
1878
1880
|
z.lazy(() =>
|
|
1879
1881
|
RecipientUpdateTemplateRecipientFieldMetaInitials$inboundSchema
|
|
1880
|
-
),
|
|
1881
|
-
z.lazy(() => RecipientUpdateTemplateRecipientFieldMetaName$inboundSchema)
|
|
1882
|
-
|
|
1883
|
-
z.lazy(() =>
|
|
1884
|
-
|
|
1885
|
-
z.lazy(() =>
|
|
1886
|
-
|
|
1882
|
+
).and(z.object({ type: z.literal("initials") })),
|
|
1883
|
+
z.lazy(() => RecipientUpdateTemplateRecipientFieldMetaName$inboundSchema)
|
|
1884
|
+
.and(z.object({ type: z.literal("name") })),
|
|
1885
|
+
z.lazy(() => RecipientUpdateTemplateRecipientFieldMetaEmail$inboundSchema)
|
|
1886
|
+
.and(z.object({ type: z.literal("email") })),
|
|
1887
|
+
z.lazy(() => RecipientUpdateTemplateRecipientFieldMetaDate$inboundSchema)
|
|
1888
|
+
.and(z.object({ type: z.literal("date") })),
|
|
1889
|
+
z.lazy(() => RecipientUpdateTemplateRecipientFieldMetaText$inboundSchema)
|
|
1890
|
+
.and(z.object({ type: z.literal("text") })),
|
|
1891
|
+
z.lazy(() => RecipientUpdateTemplateRecipientFieldMetaNumber$inboundSchema)
|
|
1892
|
+
.and(z.object({ type: z.literal("number") })),
|
|
1893
|
+
z.lazy(() => RecipientUpdateTemplateRecipientFieldMetaRadio$inboundSchema)
|
|
1894
|
+
.and(z.object({ type: z.literal("radio") })),
|
|
1887
1895
|
z.lazy(() =>
|
|
1888
1896
|
RecipientUpdateTemplateRecipientFieldMetaCheckbox$inboundSchema
|
|
1889
|
-
),
|
|
1897
|
+
).and(z.object({ type: z.literal("checkbox") })),
|
|
1890
1898
|
z.lazy(() =>
|
|
1891
1899
|
RecipientUpdateTemplateRecipientFieldMetaDropdown$inboundSchema
|
|
1892
|
-
),
|
|
1900
|
+
).and(z.object({ type: z.literal("dropdown") })),
|
|
1893
1901
|
]);
|
|
1894
1902
|
/** @internal */
|
|
1895
1903
|
export type RecipientUpdateTemplateRecipientFieldMetaUnion$Outbound =
|
|
1896
|
-
| RecipientUpdateTemplateRecipientFieldMetaSignature$Outbound
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
|
1903
|
-
|
|
|
1904
|
-
|
|
1905
|
-
|
|
1904
|
+
| (RecipientUpdateTemplateRecipientFieldMetaSignature$Outbound & {
|
|
1905
|
+
type: "signature";
|
|
1906
|
+
})
|
|
1907
|
+
| (RecipientUpdateTemplateRecipientFieldMetaInitials$Outbound & {
|
|
1908
|
+
type: "initials";
|
|
1909
|
+
})
|
|
1910
|
+
| (RecipientUpdateTemplateRecipientFieldMetaName$Outbound & { type: "name" })
|
|
1911
|
+
| (RecipientUpdateTemplateRecipientFieldMetaEmail$Outbound & {
|
|
1912
|
+
type: "email";
|
|
1913
|
+
})
|
|
1914
|
+
| (RecipientUpdateTemplateRecipientFieldMetaDate$Outbound & { type: "date" })
|
|
1915
|
+
| (RecipientUpdateTemplateRecipientFieldMetaText$Outbound & { type: "text" })
|
|
1916
|
+
| (RecipientUpdateTemplateRecipientFieldMetaNumber$Outbound & {
|
|
1917
|
+
type: "number";
|
|
1918
|
+
})
|
|
1919
|
+
| (RecipientUpdateTemplateRecipientFieldMetaRadio$Outbound & {
|
|
1920
|
+
type: "radio";
|
|
1921
|
+
})
|
|
1922
|
+
| (RecipientUpdateTemplateRecipientFieldMetaCheckbox$Outbound & {
|
|
1923
|
+
type: "checkbox";
|
|
1924
|
+
})
|
|
1925
|
+
| (RecipientUpdateTemplateRecipientFieldMetaDropdown$Outbound & {
|
|
1926
|
+
type: "dropdown";
|
|
1927
|
+
});
|
|
1906
1928
|
|
|
1907
1929
|
/** @internal */
|
|
1908
1930
|
export const RecipientUpdateTemplateRecipientFieldMetaUnion$outboundSchema:
|
|
@@ -1913,24 +1935,28 @@ export const RecipientUpdateTemplateRecipientFieldMetaUnion$outboundSchema:
|
|
|
1913
1935
|
> = z.union([
|
|
1914
1936
|
z.lazy(() =>
|
|
1915
1937
|
RecipientUpdateTemplateRecipientFieldMetaSignature$outboundSchema
|
|
1916
|
-
),
|
|
1938
|
+
).and(z.object({ type: z.literal("signature") })),
|
|
1917
1939
|
z.lazy(() =>
|
|
1918
1940
|
RecipientUpdateTemplateRecipientFieldMetaInitials$outboundSchema
|
|
1919
|
-
),
|
|
1920
|
-
z.lazy(() => RecipientUpdateTemplateRecipientFieldMetaName$outboundSchema)
|
|
1921
|
-
|
|
1922
|
-
z.lazy(() =>
|
|
1923
|
-
|
|
1924
|
-
z.lazy(() =>
|
|
1925
|
-
|
|
1926
|
-
)
|
|
1927
|
-
|
|
1941
|
+
).and(z.object({ type: z.literal("initials") })),
|
|
1942
|
+
z.lazy(() => RecipientUpdateTemplateRecipientFieldMetaName$outboundSchema)
|
|
1943
|
+
.and(z.object({ type: z.literal("name") })),
|
|
1944
|
+
z.lazy(() => RecipientUpdateTemplateRecipientFieldMetaEmail$outboundSchema)
|
|
1945
|
+
.and(z.object({ type: z.literal("email") })),
|
|
1946
|
+
z.lazy(() => RecipientUpdateTemplateRecipientFieldMetaDate$outboundSchema)
|
|
1947
|
+
.and(z.object({ type: z.literal("date") })),
|
|
1948
|
+
z.lazy(() => RecipientUpdateTemplateRecipientFieldMetaText$outboundSchema)
|
|
1949
|
+
.and(z.object({ type: z.literal("text") })),
|
|
1950
|
+
z.lazy(() => RecipientUpdateTemplateRecipientFieldMetaNumber$outboundSchema)
|
|
1951
|
+
.and(z.object({ type: z.literal("number") })),
|
|
1952
|
+
z.lazy(() => RecipientUpdateTemplateRecipientFieldMetaRadio$outboundSchema)
|
|
1953
|
+
.and(z.object({ type: z.literal("radio") })),
|
|
1928
1954
|
z.lazy(() =>
|
|
1929
1955
|
RecipientUpdateTemplateRecipientFieldMetaCheckbox$outboundSchema
|
|
1930
|
-
),
|
|
1956
|
+
).and(z.object({ type: z.literal("checkbox") })),
|
|
1931
1957
|
z.lazy(() =>
|
|
1932
1958
|
RecipientUpdateTemplateRecipientFieldMetaDropdown$outboundSchema
|
|
1933
|
-
),
|
|
1959
|
+
).and(z.object({ type: z.literal("dropdown") })),
|
|
1934
1960
|
]);
|
|
1935
1961
|
|
|
1936
1962
|
export function recipientUpdateTemplateRecipientFieldMetaUnionToJSON(
|
|
@@ -1982,28 +2008,29 @@ export const RecipientUpdateTemplateRecipientField$inboundSchema: z.ZodType<
|
|
|
1982
2008
|
z.union([
|
|
1983
2009
|
z.lazy(() =>
|
|
1984
2010
|
RecipientUpdateTemplateRecipientFieldMetaSignature$inboundSchema
|
|
1985
|
-
),
|
|
2011
|
+
).and(z.object({ type: z.literal("signature") })),
|
|
1986
2012
|
z.lazy(() =>
|
|
1987
2013
|
RecipientUpdateTemplateRecipientFieldMetaInitials$inboundSchema
|
|
1988
|
-
),
|
|
1989
|
-
z.lazy(() => RecipientUpdateTemplateRecipientFieldMetaName$inboundSchema)
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
z.lazy(() => RecipientUpdateTemplateRecipientFieldMetaDate$inboundSchema)
|
|
1994
|
-
|
|
2014
|
+
).and(z.object({ type: z.literal("initials") })),
|
|
2015
|
+
z.lazy(() => RecipientUpdateTemplateRecipientFieldMetaName$inboundSchema)
|
|
2016
|
+
.and(z.object({ type: z.literal("name") })),
|
|
2017
|
+
z.lazy(() => RecipientUpdateTemplateRecipientFieldMetaEmail$inboundSchema)
|
|
2018
|
+
.and(z.object({ type: z.literal("email") })),
|
|
2019
|
+
z.lazy(() => RecipientUpdateTemplateRecipientFieldMetaDate$inboundSchema)
|
|
2020
|
+
.and(z.object({ type: z.literal("date") })),
|
|
2021
|
+
z.lazy(() => RecipientUpdateTemplateRecipientFieldMetaText$inboundSchema)
|
|
2022
|
+
.and(z.object({ type: z.literal("text") })),
|
|
1995
2023
|
z.lazy(() =>
|
|
1996
2024
|
RecipientUpdateTemplateRecipientFieldMetaNumber$inboundSchema
|
|
1997
|
-
),
|
|
1998
|
-
z.lazy(() =>
|
|
1999
|
-
|
|
2000
|
-
),
|
|
2025
|
+
).and(z.object({ type: z.literal("number") })),
|
|
2026
|
+
z.lazy(() => RecipientUpdateTemplateRecipientFieldMetaRadio$inboundSchema)
|
|
2027
|
+
.and(z.object({ type: z.literal("radio") })),
|
|
2001
2028
|
z.lazy(() =>
|
|
2002
2029
|
RecipientUpdateTemplateRecipientFieldMetaCheckbox$inboundSchema
|
|
2003
|
-
),
|
|
2030
|
+
).and(z.object({ type: z.literal("checkbox") })),
|
|
2004
2031
|
z.lazy(() =>
|
|
2005
2032
|
RecipientUpdateTemplateRecipientFieldMetaDropdown$inboundSchema
|
|
2006
|
-
),
|
|
2033
|
+
).and(z.object({ type: z.literal("dropdown") })),
|
|
2007
2034
|
]),
|
|
2008
2035
|
),
|
|
2009
2036
|
documentId: z.nullable(z.number()).optional(),
|
|
@@ -2025,16 +2052,36 @@ export type RecipientUpdateTemplateRecipientField$Outbound = {
|
|
|
2025
2052
|
customText: string;
|
|
2026
2053
|
inserted: boolean;
|
|
2027
2054
|
fieldMeta:
|
|
2028
|
-
| RecipientUpdateTemplateRecipientFieldMetaSignature$Outbound
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
|
2055
|
+
| (RecipientUpdateTemplateRecipientFieldMetaSignature$Outbound & {
|
|
2056
|
+
type: "signature";
|
|
2057
|
+
})
|
|
2058
|
+
| (RecipientUpdateTemplateRecipientFieldMetaInitials$Outbound & {
|
|
2059
|
+
type: "initials";
|
|
2060
|
+
})
|
|
2061
|
+
| (RecipientUpdateTemplateRecipientFieldMetaName$Outbound & {
|
|
2062
|
+
type: "name";
|
|
2063
|
+
})
|
|
2064
|
+
| (RecipientUpdateTemplateRecipientFieldMetaEmail$Outbound & {
|
|
2065
|
+
type: "email";
|
|
2066
|
+
})
|
|
2067
|
+
| (RecipientUpdateTemplateRecipientFieldMetaDate$Outbound & {
|
|
2068
|
+
type: "date";
|
|
2069
|
+
})
|
|
2070
|
+
| (RecipientUpdateTemplateRecipientFieldMetaText$Outbound & {
|
|
2071
|
+
type: "text";
|
|
2072
|
+
})
|
|
2073
|
+
| (RecipientUpdateTemplateRecipientFieldMetaNumber$Outbound & {
|
|
2074
|
+
type: "number";
|
|
2075
|
+
})
|
|
2076
|
+
| (RecipientUpdateTemplateRecipientFieldMetaRadio$Outbound & {
|
|
2077
|
+
type: "radio";
|
|
2078
|
+
})
|
|
2079
|
+
| (RecipientUpdateTemplateRecipientFieldMetaCheckbox$Outbound & {
|
|
2080
|
+
type: "checkbox";
|
|
2081
|
+
})
|
|
2082
|
+
| (RecipientUpdateTemplateRecipientFieldMetaDropdown$Outbound & {
|
|
2083
|
+
type: "dropdown";
|
|
2084
|
+
})
|
|
2038
2085
|
| null;
|
|
2039
2086
|
documentId?: number | null | undefined;
|
|
2040
2087
|
templateId?: number | null | undefined;
|
|
@@ -2063,34 +2110,31 @@ export const RecipientUpdateTemplateRecipientField$outboundSchema: z.ZodType<
|
|
|
2063
2110
|
z.union([
|
|
2064
2111
|
z.lazy(() =>
|
|
2065
2112
|
RecipientUpdateTemplateRecipientFieldMetaSignature$outboundSchema
|
|
2066
|
-
),
|
|
2113
|
+
).and(z.object({ type: z.literal("signature") })),
|
|
2067
2114
|
z.lazy(() =>
|
|
2068
2115
|
RecipientUpdateTemplateRecipientFieldMetaInitials$outboundSchema
|
|
2069
|
-
),
|
|
2070
|
-
z.lazy(() =>
|
|
2071
|
-
|
|
2072
|
-
),
|
|
2116
|
+
).and(z.object({ type: z.literal("initials") })),
|
|
2117
|
+
z.lazy(() => RecipientUpdateTemplateRecipientFieldMetaName$outboundSchema)
|
|
2118
|
+
.and(z.object({ type: z.literal("name") })),
|
|
2073
2119
|
z.lazy(() =>
|
|
2074
2120
|
RecipientUpdateTemplateRecipientFieldMetaEmail$outboundSchema
|
|
2075
|
-
),
|
|
2076
|
-
z.lazy(() =>
|
|
2077
|
-
|
|
2078
|
-
)
|
|
2079
|
-
|
|
2080
|
-
RecipientUpdateTemplateRecipientFieldMetaText$outboundSchema
|
|
2081
|
-
),
|
|
2121
|
+
).and(z.object({ type: z.literal("email") })),
|
|
2122
|
+
z.lazy(() => RecipientUpdateTemplateRecipientFieldMetaDate$outboundSchema)
|
|
2123
|
+
.and(z.object({ type: z.literal("date") })),
|
|
2124
|
+
z.lazy(() => RecipientUpdateTemplateRecipientFieldMetaText$outboundSchema)
|
|
2125
|
+
.and(z.object({ type: z.literal("text") })),
|
|
2082
2126
|
z.lazy(() =>
|
|
2083
2127
|
RecipientUpdateTemplateRecipientFieldMetaNumber$outboundSchema
|
|
2084
|
-
),
|
|
2128
|
+
).and(z.object({ type: z.literal("number") })),
|
|
2085
2129
|
z.lazy(() =>
|
|
2086
2130
|
RecipientUpdateTemplateRecipientFieldMetaRadio$outboundSchema
|
|
2087
|
-
),
|
|
2131
|
+
).and(z.object({ type: z.literal("radio") })),
|
|
2088
2132
|
z.lazy(() =>
|
|
2089
2133
|
RecipientUpdateTemplateRecipientFieldMetaCheckbox$outboundSchema
|
|
2090
|
-
),
|
|
2134
|
+
).and(z.object({ type: z.literal("checkbox") })),
|
|
2091
2135
|
z.lazy(() =>
|
|
2092
2136
|
RecipientUpdateTemplateRecipientFieldMetaDropdown$outboundSchema
|
|
2093
|
-
),
|
|
2137
|
+
).and(z.object({ type: z.literal("dropdown") })),
|
|
2094
2138
|
]),
|
|
2095
2139
|
),
|
|
2096
2140
|
documentId: z.nullable(z.number()).optional(),
|
|
@@ -431,16 +431,18 @@ export type RecipientUpdateTemplateRecipientsFieldMetaSignature = {
|
|
|
431
431
|
};
|
|
432
432
|
|
|
433
433
|
export type RecipientUpdateTemplateRecipientsFieldMetaUnion =
|
|
434
|
-
| RecipientUpdateTemplateRecipientsFieldMetaSignature
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
|
438
|
-
|
|
|
439
|
-
|
|
|
440
|
-
|
|
|
441
|
-
|
|
|
442
|
-
|
|
|
443
|
-
|
|
|
434
|
+
| (RecipientUpdateTemplateRecipientsFieldMetaSignature & {
|
|
435
|
+
type: "signature";
|
|
436
|
+
})
|
|
437
|
+
| (RecipientUpdateTemplateRecipientsFieldMetaInitials & { type: "initials" })
|
|
438
|
+
| (RecipientUpdateTemplateRecipientsFieldMetaName & { type: "name" })
|
|
439
|
+
| (RecipientUpdateTemplateRecipientsFieldMetaEmail & { type: "email" })
|
|
440
|
+
| (RecipientUpdateTemplateRecipientsFieldMetaDate & { type: "date" })
|
|
441
|
+
| (RecipientUpdateTemplateRecipientsFieldMetaText & { type: "text" })
|
|
442
|
+
| (RecipientUpdateTemplateRecipientsFieldMetaNumber & { type: "number" })
|
|
443
|
+
| (RecipientUpdateTemplateRecipientsFieldMetaRadio & { type: "radio" })
|
|
444
|
+
| (RecipientUpdateTemplateRecipientsFieldMetaCheckbox & { type: "checkbox" })
|
|
445
|
+
| (RecipientUpdateTemplateRecipientsFieldMetaDropdown & { type: "dropdown" });
|
|
444
446
|
|
|
445
447
|
export type RecipientUpdateTemplateRecipientsField = {
|
|
446
448
|
envelopeId: string;
|
|
@@ -457,16 +459,24 @@ export type RecipientUpdateTemplateRecipientsField = {
|
|
|
457
459
|
customText: string;
|
|
458
460
|
inserted: boolean;
|
|
459
461
|
fieldMeta:
|
|
460
|
-
| RecipientUpdateTemplateRecipientsFieldMetaSignature
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
|
467
|
-
|
|
|
468
|
-
|
|
|
469
|
-
|
|
|
462
|
+
| (RecipientUpdateTemplateRecipientsFieldMetaSignature & {
|
|
463
|
+
type: "signature";
|
|
464
|
+
})
|
|
465
|
+
| (RecipientUpdateTemplateRecipientsFieldMetaInitials & {
|
|
466
|
+
type: "initials";
|
|
467
|
+
})
|
|
468
|
+
| (RecipientUpdateTemplateRecipientsFieldMetaName & { type: "name" })
|
|
469
|
+
| (RecipientUpdateTemplateRecipientsFieldMetaEmail & { type: "email" })
|
|
470
|
+
| (RecipientUpdateTemplateRecipientsFieldMetaDate & { type: "date" })
|
|
471
|
+
| (RecipientUpdateTemplateRecipientsFieldMetaText & { type: "text" })
|
|
472
|
+
| (RecipientUpdateTemplateRecipientsFieldMetaNumber & { type: "number" })
|
|
473
|
+
| (RecipientUpdateTemplateRecipientsFieldMetaRadio & { type: "radio" })
|
|
474
|
+
| (RecipientUpdateTemplateRecipientsFieldMetaCheckbox & {
|
|
475
|
+
type: "checkbox";
|
|
476
|
+
})
|
|
477
|
+
| (RecipientUpdateTemplateRecipientsFieldMetaDropdown & {
|
|
478
|
+
type: "dropdown";
|
|
479
|
+
})
|
|
470
480
|
| null;
|
|
471
481
|
documentId?: number | null | undefined;
|
|
472
482
|
templateId?: number | null | undefined;
|
|
@@ -1897,37 +1907,55 @@ export const RecipientUpdateTemplateRecipientsFieldMetaUnion$inboundSchema:
|
|
|
1897
1907
|
> = z.union([
|
|
1898
1908
|
z.lazy(() =>
|
|
1899
1909
|
RecipientUpdateTemplateRecipientsFieldMetaSignature$inboundSchema
|
|
1900
|
-
),
|
|
1910
|
+
).and(z.object({ type: z.literal("signature") })),
|
|
1901
1911
|
z.lazy(() =>
|
|
1902
1912
|
RecipientUpdateTemplateRecipientsFieldMetaInitials$inboundSchema
|
|
1903
|
-
),
|
|
1904
|
-
z.lazy(() => RecipientUpdateTemplateRecipientsFieldMetaName$inboundSchema)
|
|
1905
|
-
|
|
1906
|
-
z.lazy(() =>
|
|
1907
|
-
|
|
1908
|
-
z.lazy(() =>
|
|
1909
|
-
|
|
1910
|
-
)
|
|
1911
|
-
|
|
1913
|
+
).and(z.object({ type: z.literal("initials") })),
|
|
1914
|
+
z.lazy(() => RecipientUpdateTemplateRecipientsFieldMetaName$inboundSchema)
|
|
1915
|
+
.and(z.object({ type: z.literal("name") })),
|
|
1916
|
+
z.lazy(() => RecipientUpdateTemplateRecipientsFieldMetaEmail$inboundSchema)
|
|
1917
|
+
.and(z.object({ type: z.literal("email") })),
|
|
1918
|
+
z.lazy(() => RecipientUpdateTemplateRecipientsFieldMetaDate$inboundSchema)
|
|
1919
|
+
.and(z.object({ type: z.literal("date") })),
|
|
1920
|
+
z.lazy(() => RecipientUpdateTemplateRecipientsFieldMetaText$inboundSchema)
|
|
1921
|
+
.and(z.object({ type: z.literal("text") })),
|
|
1922
|
+
z.lazy(() => RecipientUpdateTemplateRecipientsFieldMetaNumber$inboundSchema)
|
|
1923
|
+
.and(z.object({ type: z.literal("number") })),
|
|
1924
|
+
z.lazy(() => RecipientUpdateTemplateRecipientsFieldMetaRadio$inboundSchema)
|
|
1925
|
+
.and(z.object({ type: z.literal("radio") })),
|
|
1912
1926
|
z.lazy(() =>
|
|
1913
1927
|
RecipientUpdateTemplateRecipientsFieldMetaCheckbox$inboundSchema
|
|
1914
|
-
),
|
|
1928
|
+
).and(z.object({ type: z.literal("checkbox") })),
|
|
1915
1929
|
z.lazy(() =>
|
|
1916
1930
|
RecipientUpdateTemplateRecipientsFieldMetaDropdown$inboundSchema
|
|
1917
|
-
),
|
|
1931
|
+
).and(z.object({ type: z.literal("dropdown") })),
|
|
1918
1932
|
]);
|
|
1919
1933
|
/** @internal */
|
|
1920
1934
|
export type RecipientUpdateTemplateRecipientsFieldMetaUnion$Outbound =
|
|
1921
|
-
| RecipientUpdateTemplateRecipientsFieldMetaSignature$Outbound
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
|
1928
|
-
|
|
|
1929
|
-
|
|
1930
|
-
|
|
1935
|
+
| (RecipientUpdateTemplateRecipientsFieldMetaSignature$Outbound & {
|
|
1936
|
+
type: "signature";
|
|
1937
|
+
})
|
|
1938
|
+
| (RecipientUpdateTemplateRecipientsFieldMetaInitials$Outbound & {
|
|
1939
|
+
type: "initials";
|
|
1940
|
+
})
|
|
1941
|
+
| (RecipientUpdateTemplateRecipientsFieldMetaName$Outbound & { type: "name" })
|
|
1942
|
+
| (RecipientUpdateTemplateRecipientsFieldMetaEmail$Outbound & {
|
|
1943
|
+
type: "email";
|
|
1944
|
+
})
|
|
1945
|
+
| (RecipientUpdateTemplateRecipientsFieldMetaDate$Outbound & { type: "date" })
|
|
1946
|
+
| (RecipientUpdateTemplateRecipientsFieldMetaText$Outbound & { type: "text" })
|
|
1947
|
+
| (RecipientUpdateTemplateRecipientsFieldMetaNumber$Outbound & {
|
|
1948
|
+
type: "number";
|
|
1949
|
+
})
|
|
1950
|
+
| (RecipientUpdateTemplateRecipientsFieldMetaRadio$Outbound & {
|
|
1951
|
+
type: "radio";
|
|
1952
|
+
})
|
|
1953
|
+
| (RecipientUpdateTemplateRecipientsFieldMetaCheckbox$Outbound & {
|
|
1954
|
+
type: "checkbox";
|
|
1955
|
+
})
|
|
1956
|
+
| (RecipientUpdateTemplateRecipientsFieldMetaDropdown$Outbound & {
|
|
1957
|
+
type: "dropdown";
|
|
1958
|
+
});
|
|
1931
1959
|
|
|
1932
1960
|
/** @internal */
|
|
1933
1961
|
export const RecipientUpdateTemplateRecipientsFieldMetaUnion$outboundSchema:
|
|
@@ -1938,28 +1966,29 @@ export const RecipientUpdateTemplateRecipientsFieldMetaUnion$outboundSchema:
|
|
|
1938
1966
|
> = z.union([
|
|
1939
1967
|
z.lazy(() =>
|
|
1940
1968
|
RecipientUpdateTemplateRecipientsFieldMetaSignature$outboundSchema
|
|
1941
|
-
),
|
|
1969
|
+
).and(z.object({ type: z.literal("signature") })),
|
|
1942
1970
|
z.lazy(() =>
|
|
1943
1971
|
RecipientUpdateTemplateRecipientsFieldMetaInitials$outboundSchema
|
|
1944
|
-
),
|
|
1945
|
-
z.lazy(() => RecipientUpdateTemplateRecipientsFieldMetaName$outboundSchema)
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
z.lazy(() => RecipientUpdateTemplateRecipientsFieldMetaDate$outboundSchema)
|
|
1950
|
-
|
|
1972
|
+
).and(z.object({ type: z.literal("initials") })),
|
|
1973
|
+
z.lazy(() => RecipientUpdateTemplateRecipientsFieldMetaName$outboundSchema)
|
|
1974
|
+
.and(z.object({ type: z.literal("name") })),
|
|
1975
|
+
z.lazy(() => RecipientUpdateTemplateRecipientsFieldMetaEmail$outboundSchema)
|
|
1976
|
+
.and(z.object({ type: z.literal("email") })),
|
|
1977
|
+
z.lazy(() => RecipientUpdateTemplateRecipientsFieldMetaDate$outboundSchema)
|
|
1978
|
+
.and(z.object({ type: z.literal("date") })),
|
|
1979
|
+
z.lazy(() => RecipientUpdateTemplateRecipientsFieldMetaText$outboundSchema)
|
|
1980
|
+
.and(z.object({ type: z.literal("text") })),
|
|
1951
1981
|
z.lazy(() =>
|
|
1952
1982
|
RecipientUpdateTemplateRecipientsFieldMetaNumber$outboundSchema
|
|
1953
|
-
),
|
|
1954
|
-
z.lazy(() =>
|
|
1955
|
-
|
|
1956
|
-
),
|
|
1983
|
+
).and(z.object({ type: z.literal("number") })),
|
|
1984
|
+
z.lazy(() => RecipientUpdateTemplateRecipientsFieldMetaRadio$outboundSchema)
|
|
1985
|
+
.and(z.object({ type: z.literal("radio") })),
|
|
1957
1986
|
z.lazy(() =>
|
|
1958
1987
|
RecipientUpdateTemplateRecipientsFieldMetaCheckbox$outboundSchema
|
|
1959
|
-
),
|
|
1988
|
+
).and(z.object({ type: z.literal("checkbox") })),
|
|
1960
1989
|
z.lazy(() =>
|
|
1961
1990
|
RecipientUpdateTemplateRecipientsFieldMetaDropdown$outboundSchema
|
|
1962
|
-
),
|
|
1991
|
+
).and(z.object({ type: z.literal("dropdown") })),
|
|
1963
1992
|
]);
|
|
1964
1993
|
|
|
1965
1994
|
export function recipientUpdateTemplateRecipientsFieldMetaUnionToJSON(
|
|
@@ -2011,34 +2040,31 @@ export const RecipientUpdateTemplateRecipientsField$inboundSchema: z.ZodType<
|
|
|
2011
2040
|
z.union([
|
|
2012
2041
|
z.lazy(() =>
|
|
2013
2042
|
RecipientUpdateTemplateRecipientsFieldMetaSignature$inboundSchema
|
|
2014
|
-
),
|
|
2043
|
+
).and(z.object({ type: z.literal("signature") })),
|
|
2015
2044
|
z.lazy(() =>
|
|
2016
2045
|
RecipientUpdateTemplateRecipientsFieldMetaInitials$inboundSchema
|
|
2017
|
-
),
|
|
2018
|
-
z.lazy(() =>
|
|
2019
|
-
|
|
2020
|
-
),
|
|
2046
|
+
).and(z.object({ type: z.literal("initials") })),
|
|
2047
|
+
z.lazy(() => RecipientUpdateTemplateRecipientsFieldMetaName$inboundSchema)
|
|
2048
|
+
.and(z.object({ type: z.literal("name") })),
|
|
2021
2049
|
z.lazy(() =>
|
|
2022
2050
|
RecipientUpdateTemplateRecipientsFieldMetaEmail$inboundSchema
|
|
2023
|
-
),
|
|
2024
|
-
z.lazy(() =>
|
|
2025
|
-
|
|
2026
|
-
)
|
|
2027
|
-
|
|
2028
|
-
RecipientUpdateTemplateRecipientsFieldMetaText$inboundSchema
|
|
2029
|
-
),
|
|
2051
|
+
).and(z.object({ type: z.literal("email") })),
|
|
2052
|
+
z.lazy(() => RecipientUpdateTemplateRecipientsFieldMetaDate$inboundSchema)
|
|
2053
|
+
.and(z.object({ type: z.literal("date") })),
|
|
2054
|
+
z.lazy(() => RecipientUpdateTemplateRecipientsFieldMetaText$inboundSchema)
|
|
2055
|
+
.and(z.object({ type: z.literal("text") })),
|
|
2030
2056
|
z.lazy(() =>
|
|
2031
2057
|
RecipientUpdateTemplateRecipientsFieldMetaNumber$inboundSchema
|
|
2032
|
-
),
|
|
2058
|
+
).and(z.object({ type: z.literal("number") })),
|
|
2033
2059
|
z.lazy(() =>
|
|
2034
2060
|
RecipientUpdateTemplateRecipientsFieldMetaRadio$inboundSchema
|
|
2035
|
-
),
|
|
2061
|
+
).and(z.object({ type: z.literal("radio") })),
|
|
2036
2062
|
z.lazy(() =>
|
|
2037
2063
|
RecipientUpdateTemplateRecipientsFieldMetaCheckbox$inboundSchema
|
|
2038
|
-
),
|
|
2064
|
+
).and(z.object({ type: z.literal("checkbox") })),
|
|
2039
2065
|
z.lazy(() =>
|
|
2040
2066
|
RecipientUpdateTemplateRecipientsFieldMetaDropdown$inboundSchema
|
|
2041
|
-
),
|
|
2067
|
+
).and(z.object({ type: z.literal("dropdown") })),
|
|
2042
2068
|
]),
|
|
2043
2069
|
),
|
|
2044
2070
|
documentId: z.nullable(z.number()).optional(),
|
|
@@ -2060,16 +2086,36 @@ export type RecipientUpdateTemplateRecipientsField$Outbound = {
|
|
|
2060
2086
|
customText: string;
|
|
2061
2087
|
inserted: boolean;
|
|
2062
2088
|
fieldMeta:
|
|
2063
|
-
| RecipientUpdateTemplateRecipientsFieldMetaSignature$Outbound
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
|
2089
|
+
| (RecipientUpdateTemplateRecipientsFieldMetaSignature$Outbound & {
|
|
2090
|
+
type: "signature";
|
|
2091
|
+
})
|
|
2092
|
+
| (RecipientUpdateTemplateRecipientsFieldMetaInitials$Outbound & {
|
|
2093
|
+
type: "initials";
|
|
2094
|
+
})
|
|
2095
|
+
| (RecipientUpdateTemplateRecipientsFieldMetaName$Outbound & {
|
|
2096
|
+
type: "name";
|
|
2097
|
+
})
|
|
2098
|
+
| (RecipientUpdateTemplateRecipientsFieldMetaEmail$Outbound & {
|
|
2099
|
+
type: "email";
|
|
2100
|
+
})
|
|
2101
|
+
| (RecipientUpdateTemplateRecipientsFieldMetaDate$Outbound & {
|
|
2102
|
+
type: "date";
|
|
2103
|
+
})
|
|
2104
|
+
| (RecipientUpdateTemplateRecipientsFieldMetaText$Outbound & {
|
|
2105
|
+
type: "text";
|
|
2106
|
+
})
|
|
2107
|
+
| (RecipientUpdateTemplateRecipientsFieldMetaNumber$Outbound & {
|
|
2108
|
+
type: "number";
|
|
2109
|
+
})
|
|
2110
|
+
| (RecipientUpdateTemplateRecipientsFieldMetaRadio$Outbound & {
|
|
2111
|
+
type: "radio";
|
|
2112
|
+
})
|
|
2113
|
+
| (RecipientUpdateTemplateRecipientsFieldMetaCheckbox$Outbound & {
|
|
2114
|
+
type: "checkbox";
|
|
2115
|
+
})
|
|
2116
|
+
| (RecipientUpdateTemplateRecipientsFieldMetaDropdown$Outbound & {
|
|
2117
|
+
type: "dropdown";
|
|
2118
|
+
})
|
|
2073
2119
|
| null;
|
|
2074
2120
|
documentId?: number | null | undefined;
|
|
2075
2121
|
templateId?: number | null | undefined;
|
|
@@ -2098,34 +2144,34 @@ export const RecipientUpdateTemplateRecipientsField$outboundSchema: z.ZodType<
|
|
|
2098
2144
|
z.union([
|
|
2099
2145
|
z.lazy(() =>
|
|
2100
2146
|
RecipientUpdateTemplateRecipientsFieldMetaSignature$outboundSchema
|
|
2101
|
-
),
|
|
2147
|
+
).and(z.object({ type: z.literal("signature") })),
|
|
2102
2148
|
z.lazy(() =>
|
|
2103
2149
|
RecipientUpdateTemplateRecipientsFieldMetaInitials$outboundSchema
|
|
2104
|
-
),
|
|
2150
|
+
).and(z.object({ type: z.literal("initials") })),
|
|
2105
2151
|
z.lazy(() =>
|
|
2106
2152
|
RecipientUpdateTemplateRecipientsFieldMetaName$outboundSchema
|
|
2107
|
-
),
|
|
2153
|
+
).and(z.object({ type: z.literal("name") })),
|
|
2108
2154
|
z.lazy(() =>
|
|
2109
2155
|
RecipientUpdateTemplateRecipientsFieldMetaEmail$outboundSchema
|
|
2110
|
-
),
|
|
2156
|
+
).and(z.object({ type: z.literal("email") })),
|
|
2111
2157
|
z.lazy(() =>
|
|
2112
2158
|
RecipientUpdateTemplateRecipientsFieldMetaDate$outboundSchema
|
|
2113
|
-
),
|
|
2159
|
+
).and(z.object({ type: z.literal("date") })),
|
|
2114
2160
|
z.lazy(() =>
|
|
2115
2161
|
RecipientUpdateTemplateRecipientsFieldMetaText$outboundSchema
|
|
2116
|
-
),
|
|
2162
|
+
).and(z.object({ type: z.literal("text") })),
|
|
2117
2163
|
z.lazy(() =>
|
|
2118
2164
|
RecipientUpdateTemplateRecipientsFieldMetaNumber$outboundSchema
|
|
2119
|
-
),
|
|
2165
|
+
).and(z.object({ type: z.literal("number") })),
|
|
2120
2166
|
z.lazy(() =>
|
|
2121
2167
|
RecipientUpdateTemplateRecipientsFieldMetaRadio$outboundSchema
|
|
2122
|
-
),
|
|
2168
|
+
).and(z.object({ type: z.literal("radio") })),
|
|
2123
2169
|
z.lazy(() =>
|
|
2124
2170
|
RecipientUpdateTemplateRecipientsFieldMetaCheckbox$outboundSchema
|
|
2125
|
-
),
|
|
2171
|
+
).and(z.object({ type: z.literal("checkbox") })),
|
|
2126
2172
|
z.lazy(() =>
|
|
2127
2173
|
RecipientUpdateTemplateRecipientsFieldMetaDropdown$outboundSchema
|
|
2128
|
-
),
|
|
2174
|
+
).and(z.object({ type: z.literal("dropdown") })),
|
|
2129
2175
|
]),
|
|
2130
2176
|
),
|
|
2131
2177
|
documentId: z.nullable(z.number()).optional(),
|