@documenso/sdk-typescript 0.6.2 → 0.8.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/README.md +1 -1
- package/bin/mcp-server.js +2271 -487
- package/bin/mcp-server.js.map +60 -57
- package/examples/package-lock.json +4 -4
- package/funcs/documentsCreateV0.d.ts +2 -0
- package/funcs/documentsCreateV0.d.ts.map +1 -1
- package/funcs/documentsCreateV0.js +2 -0
- package/funcs/documentsCreateV0.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/operations/documentcreate.d.ts +52 -0
- package/models/operations/documentcreate.d.ts.map +1 -1
- package/models/operations/documentcreate.js +76 -4
- package/models/operations/documentcreate.js.map +1 -1
- package/models/operations/documentcreatedocumenttemporary.d.ts +108 -0
- package/models/operations/documentcreatedocumenttemporary.d.ts.map +1 -1
- package/models/operations/documentcreatedocumenttemporary.js +162 -6
- package/models/operations/documentcreatedocumenttemporary.js.map +1 -1
- package/models/operations/documentdistribute.d.ts +2 -0
- package/models/operations/documentdistribute.d.ts.map +1 -1
- package/models/operations/documentdistribute.js +2 -0
- package/models/operations/documentdistribute.js.map +1 -1
- package/models/operations/documentfind.d.ts +4 -0
- package/models/operations/documentfind.d.ts.map +1 -1
- package/models/operations/documentfind.js +4 -0
- package/models/operations/documentfind.js.map +1 -1
- package/models/operations/documentget.d.ts +56 -0
- package/models/operations/documentget.d.ts.map +1 -1
- package/models/operations/documentget.js +79 -3
- package/models/operations/documentget.js.map +1 -1
- package/models/operations/documentgetmany.d.ts +4 -0
- package/models/operations/documentgetmany.d.ts.map +1 -1
- package/models/operations/documentgetmany.js +4 -0
- package/models/operations/documentgetmany.js.map +1 -1
- package/models/operations/documentupdate.d.ts +52 -0
- package/models/operations/documentupdate.d.ts.map +1 -1
- package/models/operations/documentupdate.js +74 -1
- package/models/operations/documentupdate.js.map +1 -1
- package/models/operations/envelopeauditlogfind.d.ts +52 -4
- package/models/operations/envelopeauditlogfind.d.ts.map +1 -1
- package/models/operations/envelopeauditlogfind.js +65 -7
- package/models/operations/envelopeauditlogfind.js.map +1 -1
- package/models/operations/envelopecreate.d.ts +52 -0
- package/models/operations/envelopecreate.d.ts.map +1 -1
- package/models/operations/envelopecreate.js +76 -4
- package/models/operations/envelopecreate.js.map +1 -1
- package/models/operations/envelopedistribute.d.ts +2 -0
- package/models/operations/envelopedistribute.d.ts.map +1 -1
- package/models/operations/envelopedistribute.js +2 -0
- package/models/operations/envelopedistribute.js.map +1 -1
- package/models/operations/envelopefieldcreatemany.d.ts +1098 -278
- package/models/operations/envelopefieldcreatemany.d.ts.map +1 -1
- package/models/operations/envelopefieldcreatemany.js +1387 -385
- package/models/operations/envelopefieldcreatemany.js.map +1 -1
- package/models/operations/envelopefind.d.ts +4 -0
- package/models/operations/envelopefind.d.ts.map +1 -1
- package/models/operations/envelopefind.js +4 -0
- package/models/operations/envelopefind.js.map +1 -1
- package/models/operations/envelopeget.d.ts +56 -0
- package/models/operations/envelopeget.d.ts.map +1 -1
- package/models/operations/envelopeget.js +79 -3
- package/models/operations/envelopeget.js.map +1 -1
- package/models/operations/envelopegetmany.d.ts +56 -0
- package/models/operations/envelopegetmany.d.ts.map +1 -1
- package/models/operations/envelopegetmany.js +80 -3
- package/models/operations/envelopegetmany.js.map +1 -1
- package/models/operations/enveloperecipientcreatemany.d.ts +4 -0
- package/models/operations/enveloperecipientcreatemany.d.ts.map +1 -1
- package/models/operations/enveloperecipientcreatemany.js +4 -0
- package/models/operations/enveloperecipientcreatemany.js.map +1 -1
- package/models/operations/enveloperecipientget.d.ts +4 -0
- package/models/operations/enveloperecipientget.d.ts.map +1 -1
- package/models/operations/enveloperecipientget.js +4 -0
- package/models/operations/enveloperecipientget.js.map +1 -1
- package/models/operations/enveloperecipientupdatemany.d.ts +4 -0
- package/models/operations/enveloperecipientupdatemany.d.ts.map +1 -1
- package/models/operations/enveloperecipientupdatemany.js +4 -0
- package/models/operations/enveloperecipientupdatemany.js.map +1 -1
- package/models/operations/envelopeupdate.d.ts +52 -0
- package/models/operations/envelopeupdate.d.ts.map +1 -1
- package/models/operations/envelopeupdate.js +74 -2
- package/models/operations/envelopeupdate.js.map +1 -1
- package/models/operations/envelopeuse.d.ts +52 -0
- package/models/operations/envelopeuse.d.ts.map +1 -1
- package/models/operations/envelopeuse.js +74 -2
- package/models/operations/envelopeuse.js.map +1 -1
- package/models/operations/recipientcreatedocumentrecipient.d.ts +4 -0
- package/models/operations/recipientcreatedocumentrecipient.d.ts.map +1 -1
- package/models/operations/recipientcreatedocumentrecipient.js +4 -0
- package/models/operations/recipientcreatedocumentrecipient.js.map +1 -1
- package/models/operations/recipientcreatedocumentrecipients.d.ts +4 -0
- package/models/operations/recipientcreatedocumentrecipients.d.ts.map +1 -1
- package/models/operations/recipientcreatedocumentrecipients.js +4 -0
- package/models/operations/recipientcreatedocumentrecipients.js.map +1 -1
- package/models/operations/recipientcreatetemplaterecipient.d.ts +4 -0
- package/models/operations/recipientcreatetemplaterecipient.d.ts.map +1 -1
- package/models/operations/recipientcreatetemplaterecipient.js +4 -0
- package/models/operations/recipientcreatetemplaterecipient.js.map +1 -1
- package/models/operations/recipientcreatetemplaterecipients.d.ts +4 -0
- package/models/operations/recipientcreatetemplaterecipients.d.ts.map +1 -1
- package/models/operations/recipientcreatetemplaterecipients.js +4 -0
- package/models/operations/recipientcreatetemplaterecipients.js.map +1 -1
- package/models/operations/recipientgetdocumentrecipient.d.ts +4 -0
- package/models/operations/recipientgetdocumentrecipient.d.ts.map +1 -1
- package/models/operations/recipientgetdocumentrecipient.js +4 -0
- package/models/operations/recipientgetdocumentrecipient.js.map +1 -1
- package/models/operations/recipientgettemplaterecipient.d.ts +4 -0
- package/models/operations/recipientgettemplaterecipient.d.ts.map +1 -1
- package/models/operations/recipientgettemplaterecipient.js +4 -0
- package/models/operations/recipientgettemplaterecipient.js.map +1 -1
- package/models/operations/recipientupdatedocumentrecipient.d.ts +4 -0
- package/models/operations/recipientupdatedocumentrecipient.d.ts.map +1 -1
- package/models/operations/recipientupdatedocumentrecipient.js +4 -0
- package/models/operations/recipientupdatedocumentrecipient.js.map +1 -1
- package/models/operations/recipientupdatedocumentrecipients.d.ts +4 -0
- package/models/operations/recipientupdatedocumentrecipients.d.ts.map +1 -1
- package/models/operations/recipientupdatedocumentrecipients.js +4 -0
- package/models/operations/recipientupdatedocumentrecipients.js.map +1 -1
- package/models/operations/recipientupdatetemplaterecipient.d.ts +4 -0
- package/models/operations/recipientupdatetemplaterecipient.d.ts.map +1 -1
- package/models/operations/recipientupdatetemplaterecipient.js +4 -0
- package/models/operations/recipientupdatetemplaterecipient.js.map +1 -1
- package/models/operations/recipientupdatetemplaterecipients.d.ts +4 -0
- package/models/operations/recipientupdatetemplaterecipients.d.ts.map +1 -1
- package/models/operations/recipientupdatetemplaterecipients.js +4 -0
- package/models/operations/recipientupdatetemplaterecipients.js.map +1 -1
- package/models/operations/templatecreatedocumentfromtemplate.d.ts +108 -0
- package/models/operations/templatecreatedocumentfromtemplate.d.ts.map +1 -1
- package/models/operations/templatecreatedocumentfromtemplate.js +166 -4
- package/models/operations/templatecreatedocumentfromtemplate.js.map +1 -1
- package/models/operations/templatecreatetemplate.d.ts +2 -0
- package/models/operations/templatecreatetemplate.d.ts.map +1 -1
- package/models/operations/templatecreatetemplate.js +2 -0
- package/models/operations/templatecreatetemplate.js.map +1 -1
- package/models/operations/templatecreatetemplatetemporary.d.ts +8 -0
- package/models/operations/templatecreatetemplatetemporary.d.ts.map +1 -1
- package/models/operations/templatecreatetemplatetemporary.js +8 -0
- package/models/operations/templatecreatetemplatetemporary.js.map +1 -1
- package/models/operations/templatefindtemplates.d.ts +4 -0
- package/models/operations/templatefindtemplates.d.ts.map +1 -1
- package/models/operations/templatefindtemplates.js +4 -0
- package/models/operations/templatefindtemplates.js.map +1 -1
- package/models/operations/templategetmany.d.ts +4 -0
- package/models/operations/templategetmany.d.ts.map +1 -1
- package/models/operations/templategetmany.js +4 -0
- package/models/operations/templategetmany.js.map +1 -1
- package/models/operations/templategettemplatebyid.d.ts +6 -0
- package/models/operations/templategettemplatebyid.d.ts.map +1 -1
- package/models/operations/templategettemplatebyid.js +6 -0
- package/models/operations/templategettemplatebyid.js.map +1 -1
- package/models/operations/templateupdatetemplate.d.ts +2 -0
- package/models/operations/templateupdatetemplate.d.ts.map +1 -1
- package/models/operations/templateupdatetemplate.js +2 -0
- package/models/operations/templateupdatetemplate.js.map +1 -1
- package/package.json +4 -4
- package/sdk/documents.d.ts +2 -0
- package/sdk/documents.d.ts.map +1 -1
- package/sdk/documents.js +2 -0
- package/sdk/documents.js.map +1 -1
- package/src/funcs/documentsCreateV0.ts +2 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/operations/documentcreate.ts +207 -0
- package/src/models/operations/documentcreatedocumenttemporary.ts +414 -0
- package/src/models/operations/documentdistribute.ts +4 -0
- package/src/models/operations/documentfind.ts +8 -0
- package/src/models/operations/documentget.ts +199 -0
- package/src/models/operations/documentgetmany.ts +8 -0
- package/src/models/operations/documentupdate.ts +207 -0
- package/src/models/operations/envelopeauditlogfind.ts +142 -2
- package/src/models/operations/envelopecreate.ts +207 -0
- package/src/models/operations/envelopedistribute.ts +4 -0
- package/src/models/operations/envelopefieldcreatemany.ts +3393 -859
- package/src/models/operations/envelopefind.ts +8 -0
- package/src/models/operations/envelopeget.ts +199 -0
- package/src/models/operations/envelopegetmany.ts +213 -0
- package/src/models/operations/enveloperecipientcreatemany.ts +8 -0
- package/src/models/operations/enveloperecipientget.ts +8 -0
- package/src/models/operations/enveloperecipientupdatemany.ts +8 -0
- package/src/models/operations/envelopeupdate.ts +207 -0
- package/src/models/operations/envelopeuse.ts +193 -0
- package/src/models/operations/recipientcreatedocumentrecipient.ts +8 -0
- package/src/models/operations/recipientcreatedocumentrecipients.ts +8 -0
- package/src/models/operations/recipientcreatetemplaterecipient.ts +8 -0
- package/src/models/operations/recipientcreatetemplaterecipients.ts +8 -0
- package/src/models/operations/recipientgetdocumentrecipient.ts +8 -0
- package/src/models/operations/recipientgettemplaterecipient.ts +8 -0
- package/src/models/operations/recipientupdatedocumentrecipient.ts +8 -0
- package/src/models/operations/recipientupdatedocumentrecipients.ts +8 -0
- package/src/models/operations/recipientupdatetemplaterecipient.ts +8 -0
- package/src/models/operations/recipientupdatetemplaterecipients.ts +8 -0
- package/src/models/operations/templatecreatedocumentfromtemplate.ts +472 -0
- package/src/models/operations/templatecreatetemplate.ts +4 -0
- package/src/models/operations/templatecreatetemplatetemporary.ts +16 -0
- package/src/models/operations/templatefindtemplates.ts +8 -0
- package/src/models/operations/templategetmany.ts +8 -0
- package/src/models/operations/templategettemplatebyid.ts +12 -0
- package/src/models/operations/templateupdatetemplate.ts +4 -0
- package/src/sdk/documents.ts +2 -0
|
@@ -100,8 +100,30 @@ export type DocumentGetEmailSettings = {
|
|
|
100
100
|
documentCompleted?: boolean | undefined;
|
|
101
101
|
documentDeleted?: boolean | undefined;
|
|
102
102
|
ownerDocumentCompleted?: boolean | undefined;
|
|
103
|
+
ownerRecipientExpired?: boolean | undefined;
|
|
103
104
|
};
|
|
104
105
|
|
|
106
|
+
export type DocumentGetEnvelopeExpirationPeriod2 = {
|
|
107
|
+
disabled: boolean;
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
export const DocumentGetUnit = {
|
|
111
|
+
Day: "day",
|
|
112
|
+
Week: "week",
|
|
113
|
+
Month: "month",
|
|
114
|
+
Year: "year",
|
|
115
|
+
} as const;
|
|
116
|
+
export type DocumentGetUnit = ClosedEnum<typeof DocumentGetUnit>;
|
|
117
|
+
|
|
118
|
+
export type DocumentGetEnvelopeExpirationPeriod1 = {
|
|
119
|
+
unit: DocumentGetUnit;
|
|
120
|
+
amount: number;
|
|
121
|
+
};
|
|
122
|
+
|
|
123
|
+
export type DocumentGetEnvelopeExpirationPeriodUnion =
|
|
124
|
+
| DocumentGetEnvelopeExpirationPeriod1
|
|
125
|
+
| DocumentGetEnvelopeExpirationPeriod2;
|
|
126
|
+
|
|
105
127
|
export type DocumentGetDocumentMeta = {
|
|
106
128
|
signingOrder: DocumentGetSigningOrder;
|
|
107
129
|
distributionMethod: DocumentGetDistributionMethod;
|
|
@@ -119,6 +141,10 @@ export type DocumentGetDocumentMeta = {
|
|
|
119
141
|
emailSettings: DocumentGetEmailSettings | null;
|
|
120
142
|
emailId: string | null;
|
|
121
143
|
emailReplyTo: string | null;
|
|
144
|
+
envelopeExpirationPeriod:
|
|
145
|
+
| DocumentGetEnvelopeExpirationPeriod1
|
|
146
|
+
| DocumentGetEnvelopeExpirationPeriod2
|
|
147
|
+
| null;
|
|
122
148
|
password?: string | null | undefined;
|
|
123
149
|
documentId?: number | undefined;
|
|
124
150
|
};
|
|
@@ -218,6 +244,8 @@ export type DocumentGetRecipient = {
|
|
|
218
244
|
token: string;
|
|
219
245
|
documentDeletedAt: string | null;
|
|
220
246
|
expired: string | null;
|
|
247
|
+
expiresAt: string | null;
|
|
248
|
+
expirationNotifiedAt: string | null;
|
|
221
249
|
signedAt: string | null;
|
|
222
250
|
authOptions: DocumentGetRecipientAuthOptions | null;
|
|
223
251
|
signingOrder: number | null;
|
|
@@ -770,6 +798,7 @@ export const DocumentGetEmailSettings$inboundSchema: z.ZodType<
|
|
|
770
798
|
documentCompleted: z.boolean().default(true),
|
|
771
799
|
documentDeleted: z.boolean().default(true),
|
|
772
800
|
ownerDocumentCompleted: z.boolean().default(true),
|
|
801
|
+
ownerRecipientExpired: z.boolean().default(true),
|
|
773
802
|
});
|
|
774
803
|
/** @internal */
|
|
775
804
|
export type DocumentGetEmailSettings$Outbound = {
|
|
@@ -780,6 +809,7 @@ export type DocumentGetEmailSettings$Outbound = {
|
|
|
780
809
|
documentCompleted: boolean;
|
|
781
810
|
documentDeleted: boolean;
|
|
782
811
|
ownerDocumentCompleted: boolean;
|
|
812
|
+
ownerRecipientExpired: boolean;
|
|
783
813
|
};
|
|
784
814
|
|
|
785
815
|
/** @internal */
|
|
@@ -795,6 +825,7 @@ export const DocumentGetEmailSettings$outboundSchema: z.ZodType<
|
|
|
795
825
|
documentCompleted: z.boolean().default(true),
|
|
796
826
|
documentDeleted: z.boolean().default(true),
|
|
797
827
|
ownerDocumentCompleted: z.boolean().default(true),
|
|
828
|
+
ownerRecipientExpired: z.boolean().default(true),
|
|
798
829
|
});
|
|
799
830
|
|
|
800
831
|
export function documentGetEmailSettingsToJSON(
|
|
@@ -814,6 +845,152 @@ export function documentGetEmailSettingsFromJSON(
|
|
|
814
845
|
);
|
|
815
846
|
}
|
|
816
847
|
|
|
848
|
+
/** @internal */
|
|
849
|
+
export const DocumentGetEnvelopeExpirationPeriod2$inboundSchema: z.ZodType<
|
|
850
|
+
DocumentGetEnvelopeExpirationPeriod2,
|
|
851
|
+
z.ZodTypeDef,
|
|
852
|
+
unknown
|
|
853
|
+
> = z.object({
|
|
854
|
+
disabled: z.boolean(),
|
|
855
|
+
});
|
|
856
|
+
/** @internal */
|
|
857
|
+
export type DocumentGetEnvelopeExpirationPeriod2$Outbound = {
|
|
858
|
+
disabled: boolean;
|
|
859
|
+
};
|
|
860
|
+
|
|
861
|
+
/** @internal */
|
|
862
|
+
export const DocumentGetEnvelopeExpirationPeriod2$outboundSchema: z.ZodType<
|
|
863
|
+
DocumentGetEnvelopeExpirationPeriod2$Outbound,
|
|
864
|
+
z.ZodTypeDef,
|
|
865
|
+
DocumentGetEnvelopeExpirationPeriod2
|
|
866
|
+
> = z.object({
|
|
867
|
+
disabled: z.boolean(),
|
|
868
|
+
});
|
|
869
|
+
|
|
870
|
+
export function documentGetEnvelopeExpirationPeriod2ToJSON(
|
|
871
|
+
documentGetEnvelopeExpirationPeriod2: DocumentGetEnvelopeExpirationPeriod2,
|
|
872
|
+
): string {
|
|
873
|
+
return JSON.stringify(
|
|
874
|
+
DocumentGetEnvelopeExpirationPeriod2$outboundSchema.parse(
|
|
875
|
+
documentGetEnvelopeExpirationPeriod2,
|
|
876
|
+
),
|
|
877
|
+
);
|
|
878
|
+
}
|
|
879
|
+
export function documentGetEnvelopeExpirationPeriod2FromJSON(
|
|
880
|
+
jsonString: string,
|
|
881
|
+
): SafeParseResult<DocumentGetEnvelopeExpirationPeriod2, SDKValidationError> {
|
|
882
|
+
return safeParse(
|
|
883
|
+
jsonString,
|
|
884
|
+
(x) =>
|
|
885
|
+
DocumentGetEnvelopeExpirationPeriod2$inboundSchema.parse(JSON.parse(x)),
|
|
886
|
+
`Failed to parse 'DocumentGetEnvelopeExpirationPeriod2' from JSON`,
|
|
887
|
+
);
|
|
888
|
+
}
|
|
889
|
+
|
|
890
|
+
/** @internal */
|
|
891
|
+
export const DocumentGetUnit$inboundSchema: z.ZodNativeEnum<
|
|
892
|
+
typeof DocumentGetUnit
|
|
893
|
+
> = z.nativeEnum(DocumentGetUnit);
|
|
894
|
+
/** @internal */
|
|
895
|
+
export const DocumentGetUnit$outboundSchema: z.ZodNativeEnum<
|
|
896
|
+
typeof DocumentGetUnit
|
|
897
|
+
> = DocumentGetUnit$inboundSchema;
|
|
898
|
+
|
|
899
|
+
/** @internal */
|
|
900
|
+
export const DocumentGetEnvelopeExpirationPeriod1$inboundSchema: z.ZodType<
|
|
901
|
+
DocumentGetEnvelopeExpirationPeriod1,
|
|
902
|
+
z.ZodTypeDef,
|
|
903
|
+
unknown
|
|
904
|
+
> = z.object({
|
|
905
|
+
unit: DocumentGetUnit$inboundSchema,
|
|
906
|
+
amount: z.number().int(),
|
|
907
|
+
});
|
|
908
|
+
/** @internal */
|
|
909
|
+
export type DocumentGetEnvelopeExpirationPeriod1$Outbound = {
|
|
910
|
+
unit: string;
|
|
911
|
+
amount: number;
|
|
912
|
+
};
|
|
913
|
+
|
|
914
|
+
/** @internal */
|
|
915
|
+
export const DocumentGetEnvelopeExpirationPeriod1$outboundSchema: z.ZodType<
|
|
916
|
+
DocumentGetEnvelopeExpirationPeriod1$Outbound,
|
|
917
|
+
z.ZodTypeDef,
|
|
918
|
+
DocumentGetEnvelopeExpirationPeriod1
|
|
919
|
+
> = z.object({
|
|
920
|
+
unit: DocumentGetUnit$outboundSchema,
|
|
921
|
+
amount: z.number().int(),
|
|
922
|
+
});
|
|
923
|
+
|
|
924
|
+
export function documentGetEnvelopeExpirationPeriod1ToJSON(
|
|
925
|
+
documentGetEnvelopeExpirationPeriod1: DocumentGetEnvelopeExpirationPeriod1,
|
|
926
|
+
): string {
|
|
927
|
+
return JSON.stringify(
|
|
928
|
+
DocumentGetEnvelopeExpirationPeriod1$outboundSchema.parse(
|
|
929
|
+
documentGetEnvelopeExpirationPeriod1,
|
|
930
|
+
),
|
|
931
|
+
);
|
|
932
|
+
}
|
|
933
|
+
export function documentGetEnvelopeExpirationPeriod1FromJSON(
|
|
934
|
+
jsonString: string,
|
|
935
|
+
): SafeParseResult<DocumentGetEnvelopeExpirationPeriod1, SDKValidationError> {
|
|
936
|
+
return safeParse(
|
|
937
|
+
jsonString,
|
|
938
|
+
(x) =>
|
|
939
|
+
DocumentGetEnvelopeExpirationPeriod1$inboundSchema.parse(JSON.parse(x)),
|
|
940
|
+
`Failed to parse 'DocumentGetEnvelopeExpirationPeriod1' from JSON`,
|
|
941
|
+
);
|
|
942
|
+
}
|
|
943
|
+
|
|
944
|
+
/** @internal */
|
|
945
|
+
export const DocumentGetEnvelopeExpirationPeriodUnion$inboundSchema: z.ZodType<
|
|
946
|
+
DocumentGetEnvelopeExpirationPeriodUnion,
|
|
947
|
+
z.ZodTypeDef,
|
|
948
|
+
unknown
|
|
949
|
+
> = z.union([
|
|
950
|
+
z.lazy(() => DocumentGetEnvelopeExpirationPeriod1$inboundSchema),
|
|
951
|
+
z.lazy(() => DocumentGetEnvelopeExpirationPeriod2$inboundSchema),
|
|
952
|
+
]);
|
|
953
|
+
/** @internal */
|
|
954
|
+
export type DocumentGetEnvelopeExpirationPeriodUnion$Outbound =
|
|
955
|
+
| DocumentGetEnvelopeExpirationPeriod1$Outbound
|
|
956
|
+
| DocumentGetEnvelopeExpirationPeriod2$Outbound;
|
|
957
|
+
|
|
958
|
+
/** @internal */
|
|
959
|
+
export const DocumentGetEnvelopeExpirationPeriodUnion$outboundSchema: z.ZodType<
|
|
960
|
+
DocumentGetEnvelopeExpirationPeriodUnion$Outbound,
|
|
961
|
+
z.ZodTypeDef,
|
|
962
|
+
DocumentGetEnvelopeExpirationPeriodUnion
|
|
963
|
+
> = z.union([
|
|
964
|
+
z.lazy(() => DocumentGetEnvelopeExpirationPeriod1$outboundSchema),
|
|
965
|
+
z.lazy(() => DocumentGetEnvelopeExpirationPeriod2$outboundSchema),
|
|
966
|
+
]);
|
|
967
|
+
|
|
968
|
+
export function documentGetEnvelopeExpirationPeriodUnionToJSON(
|
|
969
|
+
documentGetEnvelopeExpirationPeriodUnion:
|
|
970
|
+
DocumentGetEnvelopeExpirationPeriodUnion,
|
|
971
|
+
): string {
|
|
972
|
+
return JSON.stringify(
|
|
973
|
+
DocumentGetEnvelopeExpirationPeriodUnion$outboundSchema.parse(
|
|
974
|
+
documentGetEnvelopeExpirationPeriodUnion,
|
|
975
|
+
),
|
|
976
|
+
);
|
|
977
|
+
}
|
|
978
|
+
export function documentGetEnvelopeExpirationPeriodUnionFromJSON(
|
|
979
|
+
jsonString: string,
|
|
980
|
+
): SafeParseResult<
|
|
981
|
+
DocumentGetEnvelopeExpirationPeriodUnion,
|
|
982
|
+
SDKValidationError
|
|
983
|
+
> {
|
|
984
|
+
return safeParse(
|
|
985
|
+
jsonString,
|
|
986
|
+
(x) =>
|
|
987
|
+
DocumentGetEnvelopeExpirationPeriodUnion$inboundSchema.parse(
|
|
988
|
+
JSON.parse(x),
|
|
989
|
+
),
|
|
990
|
+
`Failed to parse 'DocumentGetEnvelopeExpirationPeriodUnion' from JSON`,
|
|
991
|
+
);
|
|
992
|
+
}
|
|
993
|
+
|
|
817
994
|
/** @internal */
|
|
818
995
|
export const DocumentGetDocumentMeta$inboundSchema: z.ZodType<
|
|
819
996
|
DocumentGetDocumentMeta,
|
|
@@ -838,6 +1015,12 @@ export const DocumentGetDocumentMeta$inboundSchema: z.ZodType<
|
|
|
838
1015
|
),
|
|
839
1016
|
emailId: z.nullable(z.string()),
|
|
840
1017
|
emailReplyTo: z.nullable(z.string()),
|
|
1018
|
+
envelopeExpirationPeriod: z.nullable(
|
|
1019
|
+
z.union([
|
|
1020
|
+
z.lazy(() => DocumentGetEnvelopeExpirationPeriod1$inboundSchema),
|
|
1021
|
+
z.lazy(() => DocumentGetEnvelopeExpirationPeriod2$inboundSchema),
|
|
1022
|
+
]),
|
|
1023
|
+
),
|
|
841
1024
|
password: z.nullable(z.string()).default(null),
|
|
842
1025
|
documentId: z.number().default(-1),
|
|
843
1026
|
});
|
|
@@ -859,6 +1042,10 @@ export type DocumentGetDocumentMeta$Outbound = {
|
|
|
859
1042
|
emailSettings: DocumentGetEmailSettings$Outbound | null;
|
|
860
1043
|
emailId: string | null;
|
|
861
1044
|
emailReplyTo: string | null;
|
|
1045
|
+
envelopeExpirationPeriod:
|
|
1046
|
+
| DocumentGetEnvelopeExpirationPeriod1$Outbound
|
|
1047
|
+
| DocumentGetEnvelopeExpirationPeriod2$Outbound
|
|
1048
|
+
| null;
|
|
862
1049
|
password: string | null;
|
|
863
1050
|
documentId: number;
|
|
864
1051
|
};
|
|
@@ -887,6 +1074,12 @@ export const DocumentGetDocumentMeta$outboundSchema: z.ZodType<
|
|
|
887
1074
|
),
|
|
888
1075
|
emailId: z.nullable(z.string()),
|
|
889
1076
|
emailReplyTo: z.nullable(z.string()),
|
|
1077
|
+
envelopeExpirationPeriod: z.nullable(
|
|
1078
|
+
z.union([
|
|
1079
|
+
z.lazy(() => DocumentGetEnvelopeExpirationPeriod1$outboundSchema),
|
|
1080
|
+
z.lazy(() => DocumentGetEnvelopeExpirationPeriod2$outboundSchema),
|
|
1081
|
+
]),
|
|
1082
|
+
),
|
|
890
1083
|
password: z.nullable(z.string()).default(null),
|
|
891
1084
|
documentId: z.number().default(-1),
|
|
892
1085
|
});
|
|
@@ -1149,6 +1342,8 @@ export const DocumentGetRecipient$inboundSchema: z.ZodType<
|
|
|
1149
1342
|
token: z.string(),
|
|
1150
1343
|
documentDeletedAt: z.nullable(z.string()),
|
|
1151
1344
|
expired: z.nullable(z.string()),
|
|
1345
|
+
expiresAt: z.nullable(z.string()),
|
|
1346
|
+
expirationNotifiedAt: z.nullable(z.string()),
|
|
1152
1347
|
signedAt: z.nullable(z.string()),
|
|
1153
1348
|
authOptions: z.nullable(
|
|
1154
1349
|
z.lazy(() => DocumentGetRecipientAuthOptions$inboundSchema),
|
|
@@ -1171,6 +1366,8 @@ export type DocumentGetRecipient$Outbound = {
|
|
|
1171
1366
|
token: string;
|
|
1172
1367
|
documentDeletedAt: string | null;
|
|
1173
1368
|
expired: string | null;
|
|
1369
|
+
expiresAt: string | null;
|
|
1370
|
+
expirationNotifiedAt: string | null;
|
|
1174
1371
|
signedAt: string | null;
|
|
1175
1372
|
authOptions: DocumentGetRecipientAuthOptions$Outbound | null;
|
|
1176
1373
|
signingOrder: number | null;
|
|
@@ -1196,6 +1393,8 @@ export const DocumentGetRecipient$outboundSchema: z.ZodType<
|
|
|
1196
1393
|
token: z.string(),
|
|
1197
1394
|
documentDeletedAt: z.nullable(z.string()),
|
|
1198
1395
|
expired: z.nullable(z.string()),
|
|
1396
|
+
expiresAt: z.nullable(z.string()),
|
|
1397
|
+
expirationNotifiedAt: z.nullable(z.string()),
|
|
1199
1398
|
signedAt: z.nullable(z.string()),
|
|
1200
1399
|
authOptions: z.nullable(
|
|
1201
1400
|
z.lazy(() => DocumentGetRecipientAuthOptions$outboundSchema),
|
|
@@ -137,6 +137,8 @@ export type DocumentGetManyRecipient = {
|
|
|
137
137
|
token: string;
|
|
138
138
|
documentDeletedAt: string | null;
|
|
139
139
|
expired: string | null;
|
|
140
|
+
expiresAt: string | null;
|
|
141
|
+
expirationNotifiedAt: string | null;
|
|
140
142
|
signedAt: string | null;
|
|
141
143
|
authOptions: DocumentGetManyRecipientAuthOptions | null;
|
|
142
144
|
signingOrder: number | null;
|
|
@@ -503,6 +505,8 @@ export const DocumentGetManyRecipient$inboundSchema: z.ZodType<
|
|
|
503
505
|
token: z.string(),
|
|
504
506
|
documentDeletedAt: z.nullable(z.string()),
|
|
505
507
|
expired: z.nullable(z.string()),
|
|
508
|
+
expiresAt: z.nullable(z.string()),
|
|
509
|
+
expirationNotifiedAt: z.nullable(z.string()),
|
|
506
510
|
signedAt: z.nullable(z.string()),
|
|
507
511
|
authOptions: z.nullable(
|
|
508
512
|
z.lazy(() => DocumentGetManyRecipientAuthOptions$inboundSchema),
|
|
@@ -525,6 +529,8 @@ export type DocumentGetManyRecipient$Outbound = {
|
|
|
525
529
|
token: string;
|
|
526
530
|
documentDeletedAt: string | null;
|
|
527
531
|
expired: string | null;
|
|
532
|
+
expiresAt: string | null;
|
|
533
|
+
expirationNotifiedAt: string | null;
|
|
528
534
|
signedAt: string | null;
|
|
529
535
|
authOptions: DocumentGetManyRecipientAuthOptions$Outbound | null;
|
|
530
536
|
signingOrder: number | null;
|
|
@@ -550,6 +556,8 @@ export const DocumentGetManyRecipient$outboundSchema: z.ZodType<
|
|
|
550
556
|
token: z.string(),
|
|
551
557
|
documentDeletedAt: z.nullable(z.string()),
|
|
552
558
|
expired: z.nullable(z.string()),
|
|
559
|
+
expiresAt: z.nullable(z.string()),
|
|
560
|
+
expirationNotifiedAt: z.nullable(z.string()),
|
|
553
561
|
signedAt: z.nullable(z.string()),
|
|
554
562
|
authOptions: z.nullable(
|
|
555
563
|
z.lazy(() => DocumentGetManyRecipientAuthOptions$outboundSchema),
|
|
@@ -112,8 +112,30 @@ export type DocumentUpdateEmailSettings = {
|
|
|
112
112
|
documentCompleted?: boolean | undefined;
|
|
113
113
|
documentDeleted?: boolean | undefined;
|
|
114
114
|
ownerDocumentCompleted?: boolean | undefined;
|
|
115
|
+
ownerRecipientExpired?: boolean | undefined;
|
|
115
116
|
};
|
|
116
117
|
|
|
118
|
+
export type DocumentUpdateEnvelopeExpirationPeriod2 = {
|
|
119
|
+
disabled: boolean;
|
|
120
|
+
};
|
|
121
|
+
|
|
122
|
+
export const DocumentUpdateUnit = {
|
|
123
|
+
Day: "day",
|
|
124
|
+
Week: "week",
|
|
125
|
+
Month: "month",
|
|
126
|
+
Year: "year",
|
|
127
|
+
} as const;
|
|
128
|
+
export type DocumentUpdateUnit = ClosedEnum<typeof DocumentUpdateUnit>;
|
|
129
|
+
|
|
130
|
+
export type DocumentUpdateEnvelopeExpirationPeriod1 = {
|
|
131
|
+
unit: DocumentUpdateUnit;
|
|
132
|
+
amount: number;
|
|
133
|
+
};
|
|
134
|
+
|
|
135
|
+
export type DocumentUpdateEnvelopeExpirationPeriodUnion =
|
|
136
|
+
| DocumentUpdateEnvelopeExpirationPeriod1
|
|
137
|
+
| DocumentUpdateEnvelopeExpirationPeriod2;
|
|
138
|
+
|
|
117
139
|
export type DocumentUpdateMeta = {
|
|
118
140
|
subject?: string | undefined;
|
|
119
141
|
message?: string | undefined;
|
|
@@ -130,6 +152,11 @@ export type DocumentUpdateMeta = {
|
|
|
130
152
|
emailId?: string | null | undefined;
|
|
131
153
|
emailReplyTo?: string | null | undefined;
|
|
132
154
|
emailSettings?: DocumentUpdateEmailSettings | null | undefined;
|
|
155
|
+
envelopeExpirationPeriod?:
|
|
156
|
+
| DocumentUpdateEnvelopeExpirationPeriod1
|
|
157
|
+
| DocumentUpdateEnvelopeExpirationPeriod2
|
|
158
|
+
| null
|
|
159
|
+
| undefined;
|
|
133
160
|
};
|
|
134
161
|
|
|
135
162
|
export type DocumentUpdateRequest = {
|
|
@@ -354,6 +381,7 @@ export const DocumentUpdateEmailSettings$inboundSchema: z.ZodType<
|
|
|
354
381
|
documentCompleted: z.boolean().default(true),
|
|
355
382
|
documentDeleted: z.boolean().default(true),
|
|
356
383
|
ownerDocumentCompleted: z.boolean().default(true),
|
|
384
|
+
ownerRecipientExpired: z.boolean().default(true),
|
|
357
385
|
});
|
|
358
386
|
/** @internal */
|
|
359
387
|
export type DocumentUpdateEmailSettings$Outbound = {
|
|
@@ -364,6 +392,7 @@ export type DocumentUpdateEmailSettings$Outbound = {
|
|
|
364
392
|
documentCompleted: boolean;
|
|
365
393
|
documentDeleted: boolean;
|
|
366
394
|
ownerDocumentCompleted: boolean;
|
|
395
|
+
ownerRecipientExpired: boolean;
|
|
367
396
|
};
|
|
368
397
|
|
|
369
398
|
/** @internal */
|
|
@@ -379,6 +408,7 @@ export const DocumentUpdateEmailSettings$outboundSchema: z.ZodType<
|
|
|
379
408
|
documentCompleted: z.boolean().default(true),
|
|
380
409
|
documentDeleted: z.boolean().default(true),
|
|
381
410
|
ownerDocumentCompleted: z.boolean().default(true),
|
|
411
|
+
ownerRecipientExpired: z.boolean().default(true),
|
|
382
412
|
});
|
|
383
413
|
|
|
384
414
|
export function documentUpdateEmailSettingsToJSON(
|
|
@@ -400,6 +430,166 @@ export function documentUpdateEmailSettingsFromJSON(
|
|
|
400
430
|
);
|
|
401
431
|
}
|
|
402
432
|
|
|
433
|
+
/** @internal */
|
|
434
|
+
export const DocumentUpdateEnvelopeExpirationPeriod2$inboundSchema: z.ZodType<
|
|
435
|
+
DocumentUpdateEnvelopeExpirationPeriod2,
|
|
436
|
+
z.ZodTypeDef,
|
|
437
|
+
unknown
|
|
438
|
+
> = z.object({
|
|
439
|
+
disabled: z.boolean(),
|
|
440
|
+
});
|
|
441
|
+
/** @internal */
|
|
442
|
+
export type DocumentUpdateEnvelopeExpirationPeriod2$Outbound = {
|
|
443
|
+
disabled: boolean;
|
|
444
|
+
};
|
|
445
|
+
|
|
446
|
+
/** @internal */
|
|
447
|
+
export const DocumentUpdateEnvelopeExpirationPeriod2$outboundSchema: z.ZodType<
|
|
448
|
+
DocumentUpdateEnvelopeExpirationPeriod2$Outbound,
|
|
449
|
+
z.ZodTypeDef,
|
|
450
|
+
DocumentUpdateEnvelopeExpirationPeriod2
|
|
451
|
+
> = z.object({
|
|
452
|
+
disabled: z.boolean(),
|
|
453
|
+
});
|
|
454
|
+
|
|
455
|
+
export function documentUpdateEnvelopeExpirationPeriod2ToJSON(
|
|
456
|
+
documentUpdateEnvelopeExpirationPeriod2:
|
|
457
|
+
DocumentUpdateEnvelopeExpirationPeriod2,
|
|
458
|
+
): string {
|
|
459
|
+
return JSON.stringify(
|
|
460
|
+
DocumentUpdateEnvelopeExpirationPeriod2$outboundSchema.parse(
|
|
461
|
+
documentUpdateEnvelopeExpirationPeriod2,
|
|
462
|
+
),
|
|
463
|
+
);
|
|
464
|
+
}
|
|
465
|
+
export function documentUpdateEnvelopeExpirationPeriod2FromJSON(
|
|
466
|
+
jsonString: string,
|
|
467
|
+
): SafeParseResult<
|
|
468
|
+
DocumentUpdateEnvelopeExpirationPeriod2,
|
|
469
|
+
SDKValidationError
|
|
470
|
+
> {
|
|
471
|
+
return safeParse(
|
|
472
|
+
jsonString,
|
|
473
|
+
(x) =>
|
|
474
|
+
DocumentUpdateEnvelopeExpirationPeriod2$inboundSchema.parse(
|
|
475
|
+
JSON.parse(x),
|
|
476
|
+
),
|
|
477
|
+
`Failed to parse 'DocumentUpdateEnvelopeExpirationPeriod2' from JSON`,
|
|
478
|
+
);
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
/** @internal */
|
|
482
|
+
export const DocumentUpdateUnit$inboundSchema: z.ZodNativeEnum<
|
|
483
|
+
typeof DocumentUpdateUnit
|
|
484
|
+
> = z.nativeEnum(DocumentUpdateUnit);
|
|
485
|
+
/** @internal */
|
|
486
|
+
export const DocumentUpdateUnit$outboundSchema: z.ZodNativeEnum<
|
|
487
|
+
typeof DocumentUpdateUnit
|
|
488
|
+
> = DocumentUpdateUnit$inboundSchema;
|
|
489
|
+
|
|
490
|
+
/** @internal */
|
|
491
|
+
export const DocumentUpdateEnvelopeExpirationPeriod1$inboundSchema: z.ZodType<
|
|
492
|
+
DocumentUpdateEnvelopeExpirationPeriod1,
|
|
493
|
+
z.ZodTypeDef,
|
|
494
|
+
unknown
|
|
495
|
+
> = z.object({
|
|
496
|
+
unit: DocumentUpdateUnit$inboundSchema,
|
|
497
|
+
amount: z.number().int(),
|
|
498
|
+
});
|
|
499
|
+
/** @internal */
|
|
500
|
+
export type DocumentUpdateEnvelopeExpirationPeriod1$Outbound = {
|
|
501
|
+
unit: string;
|
|
502
|
+
amount: number;
|
|
503
|
+
};
|
|
504
|
+
|
|
505
|
+
/** @internal */
|
|
506
|
+
export const DocumentUpdateEnvelopeExpirationPeriod1$outboundSchema: z.ZodType<
|
|
507
|
+
DocumentUpdateEnvelopeExpirationPeriod1$Outbound,
|
|
508
|
+
z.ZodTypeDef,
|
|
509
|
+
DocumentUpdateEnvelopeExpirationPeriod1
|
|
510
|
+
> = z.object({
|
|
511
|
+
unit: DocumentUpdateUnit$outboundSchema,
|
|
512
|
+
amount: z.number().int(),
|
|
513
|
+
});
|
|
514
|
+
|
|
515
|
+
export function documentUpdateEnvelopeExpirationPeriod1ToJSON(
|
|
516
|
+
documentUpdateEnvelopeExpirationPeriod1:
|
|
517
|
+
DocumentUpdateEnvelopeExpirationPeriod1,
|
|
518
|
+
): string {
|
|
519
|
+
return JSON.stringify(
|
|
520
|
+
DocumentUpdateEnvelopeExpirationPeriod1$outboundSchema.parse(
|
|
521
|
+
documentUpdateEnvelopeExpirationPeriod1,
|
|
522
|
+
),
|
|
523
|
+
);
|
|
524
|
+
}
|
|
525
|
+
export function documentUpdateEnvelopeExpirationPeriod1FromJSON(
|
|
526
|
+
jsonString: string,
|
|
527
|
+
): SafeParseResult<
|
|
528
|
+
DocumentUpdateEnvelopeExpirationPeriod1,
|
|
529
|
+
SDKValidationError
|
|
530
|
+
> {
|
|
531
|
+
return safeParse(
|
|
532
|
+
jsonString,
|
|
533
|
+
(x) =>
|
|
534
|
+
DocumentUpdateEnvelopeExpirationPeriod1$inboundSchema.parse(
|
|
535
|
+
JSON.parse(x),
|
|
536
|
+
),
|
|
537
|
+
`Failed to parse 'DocumentUpdateEnvelopeExpirationPeriod1' from JSON`,
|
|
538
|
+
);
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
/** @internal */
|
|
542
|
+
export const DocumentUpdateEnvelopeExpirationPeriodUnion$inboundSchema:
|
|
543
|
+
z.ZodType<
|
|
544
|
+
DocumentUpdateEnvelopeExpirationPeriodUnion,
|
|
545
|
+
z.ZodTypeDef,
|
|
546
|
+
unknown
|
|
547
|
+
> = z.union([
|
|
548
|
+
z.lazy(() => DocumentUpdateEnvelopeExpirationPeriod1$inboundSchema),
|
|
549
|
+
z.lazy(() => DocumentUpdateEnvelopeExpirationPeriod2$inboundSchema),
|
|
550
|
+
]);
|
|
551
|
+
/** @internal */
|
|
552
|
+
export type DocumentUpdateEnvelopeExpirationPeriodUnion$Outbound =
|
|
553
|
+
| DocumentUpdateEnvelopeExpirationPeriod1$Outbound
|
|
554
|
+
| DocumentUpdateEnvelopeExpirationPeriod2$Outbound;
|
|
555
|
+
|
|
556
|
+
/** @internal */
|
|
557
|
+
export const DocumentUpdateEnvelopeExpirationPeriodUnion$outboundSchema:
|
|
558
|
+
z.ZodType<
|
|
559
|
+
DocumentUpdateEnvelopeExpirationPeriodUnion$Outbound,
|
|
560
|
+
z.ZodTypeDef,
|
|
561
|
+
DocumentUpdateEnvelopeExpirationPeriodUnion
|
|
562
|
+
> = z.union([
|
|
563
|
+
z.lazy(() => DocumentUpdateEnvelopeExpirationPeriod1$outboundSchema),
|
|
564
|
+
z.lazy(() => DocumentUpdateEnvelopeExpirationPeriod2$outboundSchema),
|
|
565
|
+
]);
|
|
566
|
+
|
|
567
|
+
export function documentUpdateEnvelopeExpirationPeriodUnionToJSON(
|
|
568
|
+
documentUpdateEnvelopeExpirationPeriodUnion:
|
|
569
|
+
DocumentUpdateEnvelopeExpirationPeriodUnion,
|
|
570
|
+
): string {
|
|
571
|
+
return JSON.stringify(
|
|
572
|
+
DocumentUpdateEnvelopeExpirationPeriodUnion$outboundSchema.parse(
|
|
573
|
+
documentUpdateEnvelopeExpirationPeriodUnion,
|
|
574
|
+
),
|
|
575
|
+
);
|
|
576
|
+
}
|
|
577
|
+
export function documentUpdateEnvelopeExpirationPeriodUnionFromJSON(
|
|
578
|
+
jsonString: string,
|
|
579
|
+
): SafeParseResult<
|
|
580
|
+
DocumentUpdateEnvelopeExpirationPeriodUnion,
|
|
581
|
+
SDKValidationError
|
|
582
|
+
> {
|
|
583
|
+
return safeParse(
|
|
584
|
+
jsonString,
|
|
585
|
+
(x) =>
|
|
586
|
+
DocumentUpdateEnvelopeExpirationPeriodUnion$inboundSchema.parse(
|
|
587
|
+
JSON.parse(x),
|
|
588
|
+
),
|
|
589
|
+
`Failed to parse 'DocumentUpdateEnvelopeExpirationPeriodUnion' from JSON`,
|
|
590
|
+
);
|
|
591
|
+
}
|
|
592
|
+
|
|
403
593
|
/** @internal */
|
|
404
594
|
export const DocumentUpdateMeta$inboundSchema: z.ZodType<
|
|
405
595
|
DocumentUpdateMeta,
|
|
@@ -423,6 +613,12 @@ export const DocumentUpdateMeta$inboundSchema: z.ZodType<
|
|
|
423
613
|
emailSettings: z.nullable(
|
|
424
614
|
z.lazy(() => DocumentUpdateEmailSettings$inboundSchema),
|
|
425
615
|
).optional(),
|
|
616
|
+
envelopeExpirationPeriod: z.nullable(
|
|
617
|
+
z.union([
|
|
618
|
+
z.lazy(() => DocumentUpdateEnvelopeExpirationPeriod1$inboundSchema),
|
|
619
|
+
z.lazy(() => DocumentUpdateEnvelopeExpirationPeriod2$inboundSchema),
|
|
620
|
+
]),
|
|
621
|
+
).optional(),
|
|
426
622
|
});
|
|
427
623
|
/** @internal */
|
|
428
624
|
export type DocumentUpdateMeta$Outbound = {
|
|
@@ -441,6 +637,11 @@ export type DocumentUpdateMeta$Outbound = {
|
|
|
441
637
|
emailId?: string | null | undefined;
|
|
442
638
|
emailReplyTo?: string | null | undefined;
|
|
443
639
|
emailSettings?: DocumentUpdateEmailSettings$Outbound | null | undefined;
|
|
640
|
+
envelopeExpirationPeriod?:
|
|
641
|
+
| DocumentUpdateEnvelopeExpirationPeriod1$Outbound
|
|
642
|
+
| DocumentUpdateEnvelopeExpirationPeriod2$Outbound
|
|
643
|
+
| null
|
|
644
|
+
| undefined;
|
|
444
645
|
};
|
|
445
646
|
|
|
446
647
|
/** @internal */
|
|
@@ -467,6 +668,12 @@ export const DocumentUpdateMeta$outboundSchema: z.ZodType<
|
|
|
467
668
|
emailSettings: z.nullable(
|
|
468
669
|
z.lazy(() => DocumentUpdateEmailSettings$outboundSchema),
|
|
469
670
|
).optional(),
|
|
671
|
+
envelopeExpirationPeriod: z.nullable(
|
|
672
|
+
z.union([
|
|
673
|
+
z.lazy(() => DocumentUpdateEnvelopeExpirationPeriod1$outboundSchema),
|
|
674
|
+
z.lazy(() => DocumentUpdateEnvelopeExpirationPeriod2$outboundSchema),
|
|
675
|
+
]),
|
|
676
|
+
).optional(),
|
|
470
677
|
});
|
|
471
678
|
|
|
472
679
|
export function documentUpdateMetaToJSON(
|