@documenso/sdk-typescript 0.7.0 → 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/bin/mcp-server.js +3176 -794
- package/bin/mcp-server.js.map +60 -57
- package/examples/package-lock.json +4 -4
- 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 +1824 -228
- package/models/operations/envelopefieldcreatemany.d.ts.map +1 -1
- package/models/operations/envelopefieldcreatemany.js +2142 -255
- package/models/operations/envelopefieldcreatemany.js.map +1 -1
- package/models/operations/envelopefieldupdatemany.d.ts +70 -70
- package/models/operations/envelopefieldupdatemany.d.ts.map +1 -1
- package/models/operations/envelopefieldupdatemany.js +135 -135
- package/models/operations/envelopefieldupdatemany.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/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 +5659 -803
- package/src/models/operations/envelopefieldupdatemany.ts +305 -232
- 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
|
@@ -243,6 +243,8 @@ export type EnvelopeFindRecipient = {
|
|
|
243
243
|
token: string;
|
|
244
244
|
documentDeletedAt: string | null;
|
|
245
245
|
expired: string | null;
|
|
246
|
+
expiresAt: string | null;
|
|
247
|
+
expirationNotifiedAt: string | null;
|
|
246
248
|
signedAt: string | null;
|
|
247
249
|
authOptions: EnvelopeFindRecipientAuthOptions | null;
|
|
248
250
|
signingOrder: number | null;
|
|
@@ -702,6 +704,8 @@ export const EnvelopeFindRecipient$inboundSchema: z.ZodType<
|
|
|
702
704
|
token: z.string(),
|
|
703
705
|
documentDeletedAt: z.nullable(z.string()),
|
|
704
706
|
expired: z.nullable(z.string()),
|
|
707
|
+
expiresAt: z.nullable(z.string()),
|
|
708
|
+
expirationNotifiedAt: z.nullable(z.string()),
|
|
705
709
|
signedAt: z.nullable(z.string()),
|
|
706
710
|
authOptions: z.nullable(
|
|
707
711
|
z.lazy(() => EnvelopeFindRecipientAuthOptions$inboundSchema),
|
|
@@ -722,6 +726,8 @@ export type EnvelopeFindRecipient$Outbound = {
|
|
|
722
726
|
token: string;
|
|
723
727
|
documentDeletedAt: string | null;
|
|
724
728
|
expired: string | null;
|
|
729
|
+
expiresAt: string | null;
|
|
730
|
+
expirationNotifiedAt: string | null;
|
|
725
731
|
signedAt: string | null;
|
|
726
732
|
authOptions: EnvelopeFindRecipientAuthOptions$Outbound | null;
|
|
727
733
|
signingOrder: number | null;
|
|
@@ -745,6 +751,8 @@ export const EnvelopeFindRecipient$outboundSchema: z.ZodType<
|
|
|
745
751
|
token: z.string(),
|
|
746
752
|
documentDeletedAt: z.nullable(z.string()),
|
|
747
753
|
expired: z.nullable(z.string()),
|
|
754
|
+
expiresAt: z.nullable(z.string()),
|
|
755
|
+
expirationNotifiedAt: z.nullable(z.string()),
|
|
748
756
|
signedAt: z.nullable(z.string()),
|
|
749
757
|
authOptions: z.nullable(
|
|
750
758
|
z.lazy(() => EnvelopeFindRecipientAuthOptions$outboundSchema),
|
|
@@ -97,8 +97,30 @@ export type EnvelopeGetEmailSettings = {
|
|
|
97
97
|
documentCompleted?: boolean | undefined;
|
|
98
98
|
documentDeleted?: boolean | undefined;
|
|
99
99
|
ownerDocumentCompleted?: boolean | undefined;
|
|
100
|
+
ownerRecipientExpired?: boolean | undefined;
|
|
100
101
|
};
|
|
101
102
|
|
|
103
|
+
export type EnvelopeGetEnvelopeExpirationPeriod2 = {
|
|
104
|
+
disabled: boolean;
|
|
105
|
+
};
|
|
106
|
+
|
|
107
|
+
export const EnvelopeGetUnit = {
|
|
108
|
+
Day: "day",
|
|
109
|
+
Week: "week",
|
|
110
|
+
Month: "month",
|
|
111
|
+
Year: "year",
|
|
112
|
+
} as const;
|
|
113
|
+
export type EnvelopeGetUnit = ClosedEnum<typeof EnvelopeGetUnit>;
|
|
114
|
+
|
|
115
|
+
export type EnvelopeGetEnvelopeExpirationPeriod1 = {
|
|
116
|
+
unit: EnvelopeGetUnit;
|
|
117
|
+
amount: number;
|
|
118
|
+
};
|
|
119
|
+
|
|
120
|
+
export type EnvelopeGetEnvelopeExpirationPeriodUnion =
|
|
121
|
+
| EnvelopeGetEnvelopeExpirationPeriod1
|
|
122
|
+
| EnvelopeGetEnvelopeExpirationPeriod2;
|
|
123
|
+
|
|
102
124
|
export type EnvelopeGetDocumentMeta = {
|
|
103
125
|
signingOrder: EnvelopeGetSigningOrder;
|
|
104
126
|
distributionMethod: EnvelopeGetDistributionMethod;
|
|
@@ -116,6 +138,10 @@ export type EnvelopeGetDocumentMeta = {
|
|
|
116
138
|
emailSettings: EnvelopeGetEmailSettings | null;
|
|
117
139
|
emailId: string | null;
|
|
118
140
|
emailReplyTo: string | null;
|
|
141
|
+
envelopeExpirationPeriod:
|
|
142
|
+
| EnvelopeGetEnvelopeExpirationPeriod1
|
|
143
|
+
| EnvelopeGetEnvelopeExpirationPeriod2
|
|
144
|
+
| null;
|
|
119
145
|
};
|
|
120
146
|
|
|
121
147
|
export const EnvelopeGetRole = {
|
|
@@ -180,6 +206,8 @@ export type EnvelopeGetRecipient = {
|
|
|
180
206
|
token: string;
|
|
181
207
|
documentDeletedAt: string | null;
|
|
182
208
|
expired: string | null;
|
|
209
|
+
expiresAt: string | null;
|
|
210
|
+
expirationNotifiedAt: string | null;
|
|
183
211
|
signedAt: string | null;
|
|
184
212
|
authOptions: EnvelopeGetRecipientAuthOptions | null;
|
|
185
213
|
signingOrder: number | null;
|
|
@@ -715,6 +743,7 @@ export const EnvelopeGetEmailSettings$inboundSchema: z.ZodType<
|
|
|
715
743
|
documentCompleted: z.boolean().default(true),
|
|
716
744
|
documentDeleted: z.boolean().default(true),
|
|
717
745
|
ownerDocumentCompleted: z.boolean().default(true),
|
|
746
|
+
ownerRecipientExpired: z.boolean().default(true),
|
|
718
747
|
});
|
|
719
748
|
/** @internal */
|
|
720
749
|
export type EnvelopeGetEmailSettings$Outbound = {
|
|
@@ -725,6 +754,7 @@ export type EnvelopeGetEmailSettings$Outbound = {
|
|
|
725
754
|
documentCompleted: boolean;
|
|
726
755
|
documentDeleted: boolean;
|
|
727
756
|
ownerDocumentCompleted: boolean;
|
|
757
|
+
ownerRecipientExpired: boolean;
|
|
728
758
|
};
|
|
729
759
|
|
|
730
760
|
/** @internal */
|
|
@@ -740,6 +770,7 @@ export const EnvelopeGetEmailSettings$outboundSchema: z.ZodType<
|
|
|
740
770
|
documentCompleted: z.boolean().default(true),
|
|
741
771
|
documentDeleted: z.boolean().default(true),
|
|
742
772
|
ownerDocumentCompleted: z.boolean().default(true),
|
|
773
|
+
ownerRecipientExpired: z.boolean().default(true),
|
|
743
774
|
});
|
|
744
775
|
|
|
745
776
|
export function envelopeGetEmailSettingsToJSON(
|
|
@@ -759,6 +790,152 @@ export function envelopeGetEmailSettingsFromJSON(
|
|
|
759
790
|
);
|
|
760
791
|
}
|
|
761
792
|
|
|
793
|
+
/** @internal */
|
|
794
|
+
export const EnvelopeGetEnvelopeExpirationPeriod2$inboundSchema: z.ZodType<
|
|
795
|
+
EnvelopeGetEnvelopeExpirationPeriod2,
|
|
796
|
+
z.ZodTypeDef,
|
|
797
|
+
unknown
|
|
798
|
+
> = z.object({
|
|
799
|
+
disabled: z.boolean(),
|
|
800
|
+
});
|
|
801
|
+
/** @internal */
|
|
802
|
+
export type EnvelopeGetEnvelopeExpirationPeriod2$Outbound = {
|
|
803
|
+
disabled: boolean;
|
|
804
|
+
};
|
|
805
|
+
|
|
806
|
+
/** @internal */
|
|
807
|
+
export const EnvelopeGetEnvelopeExpirationPeriod2$outboundSchema: z.ZodType<
|
|
808
|
+
EnvelopeGetEnvelopeExpirationPeriod2$Outbound,
|
|
809
|
+
z.ZodTypeDef,
|
|
810
|
+
EnvelopeGetEnvelopeExpirationPeriod2
|
|
811
|
+
> = z.object({
|
|
812
|
+
disabled: z.boolean(),
|
|
813
|
+
});
|
|
814
|
+
|
|
815
|
+
export function envelopeGetEnvelopeExpirationPeriod2ToJSON(
|
|
816
|
+
envelopeGetEnvelopeExpirationPeriod2: EnvelopeGetEnvelopeExpirationPeriod2,
|
|
817
|
+
): string {
|
|
818
|
+
return JSON.stringify(
|
|
819
|
+
EnvelopeGetEnvelopeExpirationPeriod2$outboundSchema.parse(
|
|
820
|
+
envelopeGetEnvelopeExpirationPeriod2,
|
|
821
|
+
),
|
|
822
|
+
);
|
|
823
|
+
}
|
|
824
|
+
export function envelopeGetEnvelopeExpirationPeriod2FromJSON(
|
|
825
|
+
jsonString: string,
|
|
826
|
+
): SafeParseResult<EnvelopeGetEnvelopeExpirationPeriod2, SDKValidationError> {
|
|
827
|
+
return safeParse(
|
|
828
|
+
jsonString,
|
|
829
|
+
(x) =>
|
|
830
|
+
EnvelopeGetEnvelopeExpirationPeriod2$inboundSchema.parse(JSON.parse(x)),
|
|
831
|
+
`Failed to parse 'EnvelopeGetEnvelopeExpirationPeriod2' from JSON`,
|
|
832
|
+
);
|
|
833
|
+
}
|
|
834
|
+
|
|
835
|
+
/** @internal */
|
|
836
|
+
export const EnvelopeGetUnit$inboundSchema: z.ZodNativeEnum<
|
|
837
|
+
typeof EnvelopeGetUnit
|
|
838
|
+
> = z.nativeEnum(EnvelopeGetUnit);
|
|
839
|
+
/** @internal */
|
|
840
|
+
export const EnvelopeGetUnit$outboundSchema: z.ZodNativeEnum<
|
|
841
|
+
typeof EnvelopeGetUnit
|
|
842
|
+
> = EnvelopeGetUnit$inboundSchema;
|
|
843
|
+
|
|
844
|
+
/** @internal */
|
|
845
|
+
export const EnvelopeGetEnvelopeExpirationPeriod1$inboundSchema: z.ZodType<
|
|
846
|
+
EnvelopeGetEnvelopeExpirationPeriod1,
|
|
847
|
+
z.ZodTypeDef,
|
|
848
|
+
unknown
|
|
849
|
+
> = z.object({
|
|
850
|
+
unit: EnvelopeGetUnit$inboundSchema,
|
|
851
|
+
amount: z.number().int(),
|
|
852
|
+
});
|
|
853
|
+
/** @internal */
|
|
854
|
+
export type EnvelopeGetEnvelopeExpirationPeriod1$Outbound = {
|
|
855
|
+
unit: string;
|
|
856
|
+
amount: number;
|
|
857
|
+
};
|
|
858
|
+
|
|
859
|
+
/** @internal */
|
|
860
|
+
export const EnvelopeGetEnvelopeExpirationPeriod1$outboundSchema: z.ZodType<
|
|
861
|
+
EnvelopeGetEnvelopeExpirationPeriod1$Outbound,
|
|
862
|
+
z.ZodTypeDef,
|
|
863
|
+
EnvelopeGetEnvelopeExpirationPeriod1
|
|
864
|
+
> = z.object({
|
|
865
|
+
unit: EnvelopeGetUnit$outboundSchema,
|
|
866
|
+
amount: z.number().int(),
|
|
867
|
+
});
|
|
868
|
+
|
|
869
|
+
export function envelopeGetEnvelopeExpirationPeriod1ToJSON(
|
|
870
|
+
envelopeGetEnvelopeExpirationPeriod1: EnvelopeGetEnvelopeExpirationPeriod1,
|
|
871
|
+
): string {
|
|
872
|
+
return JSON.stringify(
|
|
873
|
+
EnvelopeGetEnvelopeExpirationPeriod1$outboundSchema.parse(
|
|
874
|
+
envelopeGetEnvelopeExpirationPeriod1,
|
|
875
|
+
),
|
|
876
|
+
);
|
|
877
|
+
}
|
|
878
|
+
export function envelopeGetEnvelopeExpirationPeriod1FromJSON(
|
|
879
|
+
jsonString: string,
|
|
880
|
+
): SafeParseResult<EnvelopeGetEnvelopeExpirationPeriod1, SDKValidationError> {
|
|
881
|
+
return safeParse(
|
|
882
|
+
jsonString,
|
|
883
|
+
(x) =>
|
|
884
|
+
EnvelopeGetEnvelopeExpirationPeriod1$inboundSchema.parse(JSON.parse(x)),
|
|
885
|
+
`Failed to parse 'EnvelopeGetEnvelopeExpirationPeriod1' from JSON`,
|
|
886
|
+
);
|
|
887
|
+
}
|
|
888
|
+
|
|
889
|
+
/** @internal */
|
|
890
|
+
export const EnvelopeGetEnvelopeExpirationPeriodUnion$inboundSchema: z.ZodType<
|
|
891
|
+
EnvelopeGetEnvelopeExpirationPeriodUnion,
|
|
892
|
+
z.ZodTypeDef,
|
|
893
|
+
unknown
|
|
894
|
+
> = z.union([
|
|
895
|
+
z.lazy(() => EnvelopeGetEnvelopeExpirationPeriod1$inboundSchema),
|
|
896
|
+
z.lazy(() => EnvelopeGetEnvelopeExpirationPeriod2$inboundSchema),
|
|
897
|
+
]);
|
|
898
|
+
/** @internal */
|
|
899
|
+
export type EnvelopeGetEnvelopeExpirationPeriodUnion$Outbound =
|
|
900
|
+
| EnvelopeGetEnvelopeExpirationPeriod1$Outbound
|
|
901
|
+
| EnvelopeGetEnvelopeExpirationPeriod2$Outbound;
|
|
902
|
+
|
|
903
|
+
/** @internal */
|
|
904
|
+
export const EnvelopeGetEnvelopeExpirationPeriodUnion$outboundSchema: z.ZodType<
|
|
905
|
+
EnvelopeGetEnvelopeExpirationPeriodUnion$Outbound,
|
|
906
|
+
z.ZodTypeDef,
|
|
907
|
+
EnvelopeGetEnvelopeExpirationPeriodUnion
|
|
908
|
+
> = z.union([
|
|
909
|
+
z.lazy(() => EnvelopeGetEnvelopeExpirationPeriod1$outboundSchema),
|
|
910
|
+
z.lazy(() => EnvelopeGetEnvelopeExpirationPeriod2$outboundSchema),
|
|
911
|
+
]);
|
|
912
|
+
|
|
913
|
+
export function envelopeGetEnvelopeExpirationPeriodUnionToJSON(
|
|
914
|
+
envelopeGetEnvelopeExpirationPeriodUnion:
|
|
915
|
+
EnvelopeGetEnvelopeExpirationPeriodUnion,
|
|
916
|
+
): string {
|
|
917
|
+
return JSON.stringify(
|
|
918
|
+
EnvelopeGetEnvelopeExpirationPeriodUnion$outboundSchema.parse(
|
|
919
|
+
envelopeGetEnvelopeExpirationPeriodUnion,
|
|
920
|
+
),
|
|
921
|
+
);
|
|
922
|
+
}
|
|
923
|
+
export function envelopeGetEnvelopeExpirationPeriodUnionFromJSON(
|
|
924
|
+
jsonString: string,
|
|
925
|
+
): SafeParseResult<
|
|
926
|
+
EnvelopeGetEnvelopeExpirationPeriodUnion,
|
|
927
|
+
SDKValidationError
|
|
928
|
+
> {
|
|
929
|
+
return safeParse(
|
|
930
|
+
jsonString,
|
|
931
|
+
(x) =>
|
|
932
|
+
EnvelopeGetEnvelopeExpirationPeriodUnion$inboundSchema.parse(
|
|
933
|
+
JSON.parse(x),
|
|
934
|
+
),
|
|
935
|
+
`Failed to parse 'EnvelopeGetEnvelopeExpirationPeriodUnion' from JSON`,
|
|
936
|
+
);
|
|
937
|
+
}
|
|
938
|
+
|
|
762
939
|
/** @internal */
|
|
763
940
|
export const EnvelopeGetDocumentMeta$inboundSchema: z.ZodType<
|
|
764
941
|
EnvelopeGetDocumentMeta,
|
|
@@ -783,6 +960,12 @@ export const EnvelopeGetDocumentMeta$inboundSchema: z.ZodType<
|
|
|
783
960
|
),
|
|
784
961
|
emailId: z.nullable(z.string()),
|
|
785
962
|
emailReplyTo: z.nullable(z.string()),
|
|
963
|
+
envelopeExpirationPeriod: z.nullable(
|
|
964
|
+
z.union([
|
|
965
|
+
z.lazy(() => EnvelopeGetEnvelopeExpirationPeriod1$inboundSchema),
|
|
966
|
+
z.lazy(() => EnvelopeGetEnvelopeExpirationPeriod2$inboundSchema),
|
|
967
|
+
]),
|
|
968
|
+
),
|
|
786
969
|
});
|
|
787
970
|
/** @internal */
|
|
788
971
|
export type EnvelopeGetDocumentMeta$Outbound = {
|
|
@@ -802,6 +985,10 @@ export type EnvelopeGetDocumentMeta$Outbound = {
|
|
|
802
985
|
emailSettings: EnvelopeGetEmailSettings$Outbound | null;
|
|
803
986
|
emailId: string | null;
|
|
804
987
|
emailReplyTo: string | null;
|
|
988
|
+
envelopeExpirationPeriod:
|
|
989
|
+
| EnvelopeGetEnvelopeExpirationPeriod1$Outbound
|
|
990
|
+
| EnvelopeGetEnvelopeExpirationPeriod2$Outbound
|
|
991
|
+
| null;
|
|
805
992
|
};
|
|
806
993
|
|
|
807
994
|
/** @internal */
|
|
@@ -828,6 +1015,12 @@ export const EnvelopeGetDocumentMeta$outboundSchema: z.ZodType<
|
|
|
828
1015
|
),
|
|
829
1016
|
emailId: z.nullable(z.string()),
|
|
830
1017
|
emailReplyTo: z.nullable(z.string()),
|
|
1018
|
+
envelopeExpirationPeriod: z.nullable(
|
|
1019
|
+
z.union([
|
|
1020
|
+
z.lazy(() => EnvelopeGetEnvelopeExpirationPeriod1$outboundSchema),
|
|
1021
|
+
z.lazy(() => EnvelopeGetEnvelopeExpirationPeriod2$outboundSchema),
|
|
1022
|
+
]),
|
|
1023
|
+
),
|
|
831
1024
|
});
|
|
832
1025
|
|
|
833
1026
|
export function envelopeGetDocumentMetaToJSON(
|
|
@@ -962,6 +1155,8 @@ export const EnvelopeGetRecipient$inboundSchema: z.ZodType<
|
|
|
962
1155
|
token: z.string(),
|
|
963
1156
|
documentDeletedAt: z.nullable(z.string()),
|
|
964
1157
|
expired: z.nullable(z.string()),
|
|
1158
|
+
expiresAt: z.nullable(z.string()),
|
|
1159
|
+
expirationNotifiedAt: z.nullable(z.string()),
|
|
965
1160
|
signedAt: z.nullable(z.string()),
|
|
966
1161
|
authOptions: z.nullable(
|
|
967
1162
|
z.lazy(() => EnvelopeGetRecipientAuthOptions$inboundSchema),
|
|
@@ -982,6 +1177,8 @@ export type EnvelopeGetRecipient$Outbound = {
|
|
|
982
1177
|
token: string;
|
|
983
1178
|
documentDeletedAt: string | null;
|
|
984
1179
|
expired: string | null;
|
|
1180
|
+
expiresAt: string | null;
|
|
1181
|
+
expirationNotifiedAt: string | null;
|
|
985
1182
|
signedAt: string | null;
|
|
986
1183
|
authOptions: EnvelopeGetRecipientAuthOptions$Outbound | null;
|
|
987
1184
|
signingOrder: number | null;
|
|
@@ -1005,6 +1202,8 @@ export const EnvelopeGetRecipient$outboundSchema: z.ZodType<
|
|
|
1005
1202
|
token: z.string(),
|
|
1006
1203
|
documentDeletedAt: z.nullable(z.string()),
|
|
1007
1204
|
expired: z.nullable(z.string()),
|
|
1205
|
+
expiresAt: z.nullable(z.string()),
|
|
1206
|
+
expirationNotifiedAt: z.nullable(z.string()),
|
|
1008
1207
|
signedAt: z.nullable(z.string()),
|
|
1009
1208
|
authOptions: z.nullable(
|
|
1010
1209
|
z.lazy(() => EnvelopeGetRecipientAuthOptions$outboundSchema),
|
|
@@ -118,8 +118,30 @@ export type EnvelopeGetManyEmailSettings = {
|
|
|
118
118
|
documentCompleted?: boolean | undefined;
|
|
119
119
|
documentDeleted?: boolean | undefined;
|
|
120
120
|
ownerDocumentCompleted?: boolean | undefined;
|
|
121
|
+
ownerRecipientExpired?: boolean | undefined;
|
|
121
122
|
};
|
|
122
123
|
|
|
124
|
+
export type EnvelopeGetManyEnvelopeExpirationPeriod2 = {
|
|
125
|
+
disabled: boolean;
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
export const EnvelopeGetManyUnit = {
|
|
129
|
+
Day: "day",
|
|
130
|
+
Week: "week",
|
|
131
|
+
Month: "month",
|
|
132
|
+
Year: "year",
|
|
133
|
+
} as const;
|
|
134
|
+
export type EnvelopeGetManyUnit = ClosedEnum<typeof EnvelopeGetManyUnit>;
|
|
135
|
+
|
|
136
|
+
export type EnvelopeGetManyEnvelopeExpirationPeriod1 = {
|
|
137
|
+
unit: EnvelopeGetManyUnit;
|
|
138
|
+
amount: number;
|
|
139
|
+
};
|
|
140
|
+
|
|
141
|
+
export type EnvelopeGetManyEnvelopeExpirationPeriodUnion =
|
|
142
|
+
| EnvelopeGetManyEnvelopeExpirationPeriod1
|
|
143
|
+
| EnvelopeGetManyEnvelopeExpirationPeriod2;
|
|
144
|
+
|
|
123
145
|
export type EnvelopeGetManyDocumentMeta = {
|
|
124
146
|
signingOrder: EnvelopeGetManySigningOrder;
|
|
125
147
|
distributionMethod: EnvelopeGetManyDistributionMethod;
|
|
@@ -137,6 +159,10 @@ export type EnvelopeGetManyDocumentMeta = {
|
|
|
137
159
|
emailSettings: EnvelopeGetManyEmailSettings | null;
|
|
138
160
|
emailId: string | null;
|
|
139
161
|
emailReplyTo: string | null;
|
|
162
|
+
envelopeExpirationPeriod:
|
|
163
|
+
| EnvelopeGetManyEnvelopeExpirationPeriod1
|
|
164
|
+
| EnvelopeGetManyEnvelopeExpirationPeriod2
|
|
165
|
+
| null;
|
|
140
166
|
};
|
|
141
167
|
|
|
142
168
|
export const EnvelopeGetManyRole = {
|
|
@@ -209,6 +235,8 @@ export type EnvelopeGetManyRecipient = {
|
|
|
209
235
|
token: string;
|
|
210
236
|
documentDeletedAt: string | null;
|
|
211
237
|
expired: string | null;
|
|
238
|
+
expiresAt: string | null;
|
|
239
|
+
expirationNotifiedAt: string | null;
|
|
212
240
|
signedAt: string | null;
|
|
213
241
|
authOptions: EnvelopeGetManyRecipientAuthOptions | null;
|
|
214
242
|
signingOrder: number | null;
|
|
@@ -921,6 +949,7 @@ export const EnvelopeGetManyEmailSettings$inboundSchema: z.ZodType<
|
|
|
921
949
|
documentCompleted: z.boolean().default(true),
|
|
922
950
|
documentDeleted: z.boolean().default(true),
|
|
923
951
|
ownerDocumentCompleted: z.boolean().default(true),
|
|
952
|
+
ownerRecipientExpired: z.boolean().default(true),
|
|
924
953
|
});
|
|
925
954
|
/** @internal */
|
|
926
955
|
export type EnvelopeGetManyEmailSettings$Outbound = {
|
|
@@ -931,6 +960,7 @@ export type EnvelopeGetManyEmailSettings$Outbound = {
|
|
|
931
960
|
documentCompleted: boolean;
|
|
932
961
|
documentDeleted: boolean;
|
|
933
962
|
ownerDocumentCompleted: boolean;
|
|
963
|
+
ownerRecipientExpired: boolean;
|
|
934
964
|
};
|
|
935
965
|
|
|
936
966
|
/** @internal */
|
|
@@ -946,6 +976,7 @@ export const EnvelopeGetManyEmailSettings$outboundSchema: z.ZodType<
|
|
|
946
976
|
documentCompleted: z.boolean().default(true),
|
|
947
977
|
documentDeleted: z.boolean().default(true),
|
|
948
978
|
ownerDocumentCompleted: z.boolean().default(true),
|
|
979
|
+
ownerRecipientExpired: z.boolean().default(true),
|
|
949
980
|
});
|
|
950
981
|
|
|
951
982
|
export function envelopeGetManyEmailSettingsToJSON(
|
|
@@ -967,6 +998,166 @@ export function envelopeGetManyEmailSettingsFromJSON(
|
|
|
967
998
|
);
|
|
968
999
|
}
|
|
969
1000
|
|
|
1001
|
+
/** @internal */
|
|
1002
|
+
export const EnvelopeGetManyEnvelopeExpirationPeriod2$inboundSchema: z.ZodType<
|
|
1003
|
+
EnvelopeGetManyEnvelopeExpirationPeriod2,
|
|
1004
|
+
z.ZodTypeDef,
|
|
1005
|
+
unknown
|
|
1006
|
+
> = z.object({
|
|
1007
|
+
disabled: z.boolean(),
|
|
1008
|
+
});
|
|
1009
|
+
/** @internal */
|
|
1010
|
+
export type EnvelopeGetManyEnvelopeExpirationPeriod2$Outbound = {
|
|
1011
|
+
disabled: boolean;
|
|
1012
|
+
};
|
|
1013
|
+
|
|
1014
|
+
/** @internal */
|
|
1015
|
+
export const EnvelopeGetManyEnvelopeExpirationPeriod2$outboundSchema: z.ZodType<
|
|
1016
|
+
EnvelopeGetManyEnvelopeExpirationPeriod2$Outbound,
|
|
1017
|
+
z.ZodTypeDef,
|
|
1018
|
+
EnvelopeGetManyEnvelopeExpirationPeriod2
|
|
1019
|
+
> = z.object({
|
|
1020
|
+
disabled: z.boolean(),
|
|
1021
|
+
});
|
|
1022
|
+
|
|
1023
|
+
export function envelopeGetManyEnvelopeExpirationPeriod2ToJSON(
|
|
1024
|
+
envelopeGetManyEnvelopeExpirationPeriod2:
|
|
1025
|
+
EnvelopeGetManyEnvelopeExpirationPeriod2,
|
|
1026
|
+
): string {
|
|
1027
|
+
return JSON.stringify(
|
|
1028
|
+
EnvelopeGetManyEnvelopeExpirationPeriod2$outboundSchema.parse(
|
|
1029
|
+
envelopeGetManyEnvelopeExpirationPeriod2,
|
|
1030
|
+
),
|
|
1031
|
+
);
|
|
1032
|
+
}
|
|
1033
|
+
export function envelopeGetManyEnvelopeExpirationPeriod2FromJSON(
|
|
1034
|
+
jsonString: string,
|
|
1035
|
+
): SafeParseResult<
|
|
1036
|
+
EnvelopeGetManyEnvelopeExpirationPeriod2,
|
|
1037
|
+
SDKValidationError
|
|
1038
|
+
> {
|
|
1039
|
+
return safeParse(
|
|
1040
|
+
jsonString,
|
|
1041
|
+
(x) =>
|
|
1042
|
+
EnvelopeGetManyEnvelopeExpirationPeriod2$inboundSchema.parse(
|
|
1043
|
+
JSON.parse(x),
|
|
1044
|
+
),
|
|
1045
|
+
`Failed to parse 'EnvelopeGetManyEnvelopeExpirationPeriod2' from JSON`,
|
|
1046
|
+
);
|
|
1047
|
+
}
|
|
1048
|
+
|
|
1049
|
+
/** @internal */
|
|
1050
|
+
export const EnvelopeGetManyUnit$inboundSchema: z.ZodNativeEnum<
|
|
1051
|
+
typeof EnvelopeGetManyUnit
|
|
1052
|
+
> = z.nativeEnum(EnvelopeGetManyUnit);
|
|
1053
|
+
/** @internal */
|
|
1054
|
+
export const EnvelopeGetManyUnit$outboundSchema: z.ZodNativeEnum<
|
|
1055
|
+
typeof EnvelopeGetManyUnit
|
|
1056
|
+
> = EnvelopeGetManyUnit$inboundSchema;
|
|
1057
|
+
|
|
1058
|
+
/** @internal */
|
|
1059
|
+
export const EnvelopeGetManyEnvelopeExpirationPeriod1$inboundSchema: z.ZodType<
|
|
1060
|
+
EnvelopeGetManyEnvelopeExpirationPeriod1,
|
|
1061
|
+
z.ZodTypeDef,
|
|
1062
|
+
unknown
|
|
1063
|
+
> = z.object({
|
|
1064
|
+
unit: EnvelopeGetManyUnit$inboundSchema,
|
|
1065
|
+
amount: z.number().int(),
|
|
1066
|
+
});
|
|
1067
|
+
/** @internal */
|
|
1068
|
+
export type EnvelopeGetManyEnvelopeExpirationPeriod1$Outbound = {
|
|
1069
|
+
unit: string;
|
|
1070
|
+
amount: number;
|
|
1071
|
+
};
|
|
1072
|
+
|
|
1073
|
+
/** @internal */
|
|
1074
|
+
export const EnvelopeGetManyEnvelopeExpirationPeriod1$outboundSchema: z.ZodType<
|
|
1075
|
+
EnvelopeGetManyEnvelopeExpirationPeriod1$Outbound,
|
|
1076
|
+
z.ZodTypeDef,
|
|
1077
|
+
EnvelopeGetManyEnvelopeExpirationPeriod1
|
|
1078
|
+
> = z.object({
|
|
1079
|
+
unit: EnvelopeGetManyUnit$outboundSchema,
|
|
1080
|
+
amount: z.number().int(),
|
|
1081
|
+
});
|
|
1082
|
+
|
|
1083
|
+
export function envelopeGetManyEnvelopeExpirationPeriod1ToJSON(
|
|
1084
|
+
envelopeGetManyEnvelopeExpirationPeriod1:
|
|
1085
|
+
EnvelopeGetManyEnvelopeExpirationPeriod1,
|
|
1086
|
+
): string {
|
|
1087
|
+
return JSON.stringify(
|
|
1088
|
+
EnvelopeGetManyEnvelopeExpirationPeriod1$outboundSchema.parse(
|
|
1089
|
+
envelopeGetManyEnvelopeExpirationPeriod1,
|
|
1090
|
+
),
|
|
1091
|
+
);
|
|
1092
|
+
}
|
|
1093
|
+
export function envelopeGetManyEnvelopeExpirationPeriod1FromJSON(
|
|
1094
|
+
jsonString: string,
|
|
1095
|
+
): SafeParseResult<
|
|
1096
|
+
EnvelopeGetManyEnvelopeExpirationPeriod1,
|
|
1097
|
+
SDKValidationError
|
|
1098
|
+
> {
|
|
1099
|
+
return safeParse(
|
|
1100
|
+
jsonString,
|
|
1101
|
+
(x) =>
|
|
1102
|
+
EnvelopeGetManyEnvelopeExpirationPeriod1$inboundSchema.parse(
|
|
1103
|
+
JSON.parse(x),
|
|
1104
|
+
),
|
|
1105
|
+
`Failed to parse 'EnvelopeGetManyEnvelopeExpirationPeriod1' from JSON`,
|
|
1106
|
+
);
|
|
1107
|
+
}
|
|
1108
|
+
|
|
1109
|
+
/** @internal */
|
|
1110
|
+
export const EnvelopeGetManyEnvelopeExpirationPeriodUnion$inboundSchema:
|
|
1111
|
+
z.ZodType<
|
|
1112
|
+
EnvelopeGetManyEnvelopeExpirationPeriodUnion,
|
|
1113
|
+
z.ZodTypeDef,
|
|
1114
|
+
unknown
|
|
1115
|
+
> = z.union([
|
|
1116
|
+
z.lazy(() => EnvelopeGetManyEnvelopeExpirationPeriod1$inboundSchema),
|
|
1117
|
+
z.lazy(() => EnvelopeGetManyEnvelopeExpirationPeriod2$inboundSchema),
|
|
1118
|
+
]);
|
|
1119
|
+
/** @internal */
|
|
1120
|
+
export type EnvelopeGetManyEnvelopeExpirationPeriodUnion$Outbound =
|
|
1121
|
+
| EnvelopeGetManyEnvelopeExpirationPeriod1$Outbound
|
|
1122
|
+
| EnvelopeGetManyEnvelopeExpirationPeriod2$Outbound;
|
|
1123
|
+
|
|
1124
|
+
/** @internal */
|
|
1125
|
+
export const EnvelopeGetManyEnvelopeExpirationPeriodUnion$outboundSchema:
|
|
1126
|
+
z.ZodType<
|
|
1127
|
+
EnvelopeGetManyEnvelopeExpirationPeriodUnion$Outbound,
|
|
1128
|
+
z.ZodTypeDef,
|
|
1129
|
+
EnvelopeGetManyEnvelopeExpirationPeriodUnion
|
|
1130
|
+
> = z.union([
|
|
1131
|
+
z.lazy(() => EnvelopeGetManyEnvelopeExpirationPeriod1$outboundSchema),
|
|
1132
|
+
z.lazy(() => EnvelopeGetManyEnvelopeExpirationPeriod2$outboundSchema),
|
|
1133
|
+
]);
|
|
1134
|
+
|
|
1135
|
+
export function envelopeGetManyEnvelopeExpirationPeriodUnionToJSON(
|
|
1136
|
+
envelopeGetManyEnvelopeExpirationPeriodUnion:
|
|
1137
|
+
EnvelopeGetManyEnvelopeExpirationPeriodUnion,
|
|
1138
|
+
): string {
|
|
1139
|
+
return JSON.stringify(
|
|
1140
|
+
EnvelopeGetManyEnvelopeExpirationPeriodUnion$outboundSchema.parse(
|
|
1141
|
+
envelopeGetManyEnvelopeExpirationPeriodUnion,
|
|
1142
|
+
),
|
|
1143
|
+
);
|
|
1144
|
+
}
|
|
1145
|
+
export function envelopeGetManyEnvelopeExpirationPeriodUnionFromJSON(
|
|
1146
|
+
jsonString: string,
|
|
1147
|
+
): SafeParseResult<
|
|
1148
|
+
EnvelopeGetManyEnvelopeExpirationPeriodUnion,
|
|
1149
|
+
SDKValidationError
|
|
1150
|
+
> {
|
|
1151
|
+
return safeParse(
|
|
1152
|
+
jsonString,
|
|
1153
|
+
(x) =>
|
|
1154
|
+
EnvelopeGetManyEnvelopeExpirationPeriodUnion$inboundSchema.parse(
|
|
1155
|
+
JSON.parse(x),
|
|
1156
|
+
),
|
|
1157
|
+
`Failed to parse 'EnvelopeGetManyEnvelopeExpirationPeriodUnion' from JSON`,
|
|
1158
|
+
);
|
|
1159
|
+
}
|
|
1160
|
+
|
|
970
1161
|
/** @internal */
|
|
971
1162
|
export const EnvelopeGetManyDocumentMeta$inboundSchema: z.ZodType<
|
|
972
1163
|
EnvelopeGetManyDocumentMeta,
|
|
@@ -991,6 +1182,12 @@ export const EnvelopeGetManyDocumentMeta$inboundSchema: z.ZodType<
|
|
|
991
1182
|
),
|
|
992
1183
|
emailId: z.nullable(z.string()),
|
|
993
1184
|
emailReplyTo: z.nullable(z.string()),
|
|
1185
|
+
envelopeExpirationPeriod: z.nullable(
|
|
1186
|
+
z.union([
|
|
1187
|
+
z.lazy(() => EnvelopeGetManyEnvelopeExpirationPeriod1$inboundSchema),
|
|
1188
|
+
z.lazy(() => EnvelopeGetManyEnvelopeExpirationPeriod2$inboundSchema),
|
|
1189
|
+
]),
|
|
1190
|
+
),
|
|
994
1191
|
});
|
|
995
1192
|
/** @internal */
|
|
996
1193
|
export type EnvelopeGetManyDocumentMeta$Outbound = {
|
|
@@ -1010,6 +1207,10 @@ export type EnvelopeGetManyDocumentMeta$Outbound = {
|
|
|
1010
1207
|
emailSettings: EnvelopeGetManyEmailSettings$Outbound | null;
|
|
1011
1208
|
emailId: string | null;
|
|
1012
1209
|
emailReplyTo: string | null;
|
|
1210
|
+
envelopeExpirationPeriod:
|
|
1211
|
+
| EnvelopeGetManyEnvelopeExpirationPeriod1$Outbound
|
|
1212
|
+
| EnvelopeGetManyEnvelopeExpirationPeriod2$Outbound
|
|
1213
|
+
| null;
|
|
1013
1214
|
};
|
|
1014
1215
|
|
|
1015
1216
|
/** @internal */
|
|
@@ -1036,6 +1237,12 @@ export const EnvelopeGetManyDocumentMeta$outboundSchema: z.ZodType<
|
|
|
1036
1237
|
),
|
|
1037
1238
|
emailId: z.nullable(z.string()),
|
|
1038
1239
|
emailReplyTo: z.nullable(z.string()),
|
|
1240
|
+
envelopeExpirationPeriod: z.nullable(
|
|
1241
|
+
z.union([
|
|
1242
|
+
z.lazy(() => EnvelopeGetManyEnvelopeExpirationPeriod1$outboundSchema),
|
|
1243
|
+
z.lazy(() => EnvelopeGetManyEnvelopeExpirationPeriod2$outboundSchema),
|
|
1244
|
+
]),
|
|
1245
|
+
),
|
|
1039
1246
|
});
|
|
1040
1247
|
|
|
1041
1248
|
export function envelopeGetManyDocumentMetaToJSON(
|
|
@@ -1173,6 +1380,8 @@ export const EnvelopeGetManyRecipient$inboundSchema: z.ZodType<
|
|
|
1173
1380
|
token: z.string(),
|
|
1174
1381
|
documentDeletedAt: z.nullable(z.string()),
|
|
1175
1382
|
expired: z.nullable(z.string()),
|
|
1383
|
+
expiresAt: z.nullable(z.string()),
|
|
1384
|
+
expirationNotifiedAt: z.nullable(z.string()),
|
|
1176
1385
|
signedAt: z.nullable(z.string()),
|
|
1177
1386
|
authOptions: z.nullable(
|
|
1178
1387
|
z.lazy(() => EnvelopeGetManyRecipientAuthOptions$inboundSchema),
|
|
@@ -1193,6 +1402,8 @@ export type EnvelopeGetManyRecipient$Outbound = {
|
|
|
1193
1402
|
token: string;
|
|
1194
1403
|
documentDeletedAt: string | null;
|
|
1195
1404
|
expired: string | null;
|
|
1405
|
+
expiresAt: string | null;
|
|
1406
|
+
expirationNotifiedAt: string | null;
|
|
1196
1407
|
signedAt: string | null;
|
|
1197
1408
|
authOptions: EnvelopeGetManyRecipientAuthOptions$Outbound | null;
|
|
1198
1409
|
signingOrder: number | null;
|
|
@@ -1216,6 +1427,8 @@ export const EnvelopeGetManyRecipient$outboundSchema: z.ZodType<
|
|
|
1216
1427
|
token: z.string(),
|
|
1217
1428
|
documentDeletedAt: z.nullable(z.string()),
|
|
1218
1429
|
expired: z.nullable(z.string()),
|
|
1430
|
+
expiresAt: z.nullable(z.string()),
|
|
1431
|
+
expirationNotifiedAt: z.nullable(z.string()),
|
|
1219
1432
|
signedAt: z.nullable(z.string()),
|
|
1220
1433
|
authOptions: z.nullable(
|
|
1221
1434
|
z.lazy(() => EnvelopeGetManyRecipientAuthOptions$outboundSchema),
|
|
@@ -135,6 +135,8 @@ export type EnvelopeRecipientCreateManyDataResponse = {
|
|
|
135
135
|
token: string;
|
|
136
136
|
documentDeletedAt: string | null;
|
|
137
137
|
expired: string | null;
|
|
138
|
+
expiresAt: string | null;
|
|
139
|
+
expirationNotifiedAt: string | null;
|
|
138
140
|
signedAt: string | null;
|
|
139
141
|
authOptions: EnvelopeRecipientCreateManyAuthOptions | null;
|
|
140
142
|
signingOrder: number | null;
|
|
@@ -470,6 +472,8 @@ export const EnvelopeRecipientCreateManyDataResponse$inboundSchema: z.ZodType<
|
|
|
470
472
|
token: z.string(),
|
|
471
473
|
documentDeletedAt: z.nullable(z.string()),
|
|
472
474
|
expired: z.nullable(z.string()),
|
|
475
|
+
expiresAt: z.nullable(z.string()),
|
|
476
|
+
expirationNotifiedAt: z.nullable(z.string()),
|
|
473
477
|
signedAt: z.nullable(z.string()),
|
|
474
478
|
authOptions: z.nullable(
|
|
475
479
|
z.lazy(() => EnvelopeRecipientCreateManyAuthOptions$inboundSchema),
|
|
@@ -490,6 +494,8 @@ export type EnvelopeRecipientCreateManyDataResponse$Outbound = {
|
|
|
490
494
|
token: string;
|
|
491
495
|
documentDeletedAt: string | null;
|
|
492
496
|
expired: string | null;
|
|
497
|
+
expiresAt: string | null;
|
|
498
|
+
expirationNotifiedAt: string | null;
|
|
493
499
|
signedAt: string | null;
|
|
494
500
|
authOptions: EnvelopeRecipientCreateManyAuthOptions$Outbound | null;
|
|
495
501
|
signingOrder: number | null;
|
|
@@ -513,6 +519,8 @@ export const EnvelopeRecipientCreateManyDataResponse$outboundSchema: z.ZodType<
|
|
|
513
519
|
token: z.string(),
|
|
514
520
|
documentDeletedAt: z.nullable(z.string()),
|
|
515
521
|
expired: z.nullable(z.string()),
|
|
522
|
+
expiresAt: z.nullable(z.string()),
|
|
523
|
+
expirationNotifiedAt: z.nullable(z.string()),
|
|
516
524
|
signedAt: z.nullable(z.string()),
|
|
517
525
|
authOptions: z.nullable(
|
|
518
526
|
z.lazy(() => EnvelopeRecipientCreateManyAuthOptions$outboundSchema),
|
|
@@ -366,6 +366,8 @@ export type EnvelopeRecipientGetResponse = {
|
|
|
366
366
|
token: string;
|
|
367
367
|
documentDeletedAt: string | null;
|
|
368
368
|
expired: string | null;
|
|
369
|
+
expiresAt: string | null;
|
|
370
|
+
expirationNotifiedAt: string | null;
|
|
369
371
|
signedAt: string | null;
|
|
370
372
|
authOptions: EnvelopeRecipientGetAuthOptions | null;
|
|
371
373
|
signingOrder: number | null;
|
|
@@ -1602,6 +1604,8 @@ export const EnvelopeRecipientGetResponse$inboundSchema: z.ZodType<
|
|
|
1602
1604
|
token: z.string(),
|
|
1603
1605
|
documentDeletedAt: z.nullable(z.string()),
|
|
1604
1606
|
expired: z.nullable(z.string()),
|
|
1607
|
+
expiresAt: z.nullable(z.string()),
|
|
1608
|
+
expirationNotifiedAt: z.nullable(z.string()),
|
|
1605
1609
|
signedAt: z.nullable(z.string()),
|
|
1606
1610
|
authOptions: z.nullable(
|
|
1607
1611
|
z.lazy(() => EnvelopeRecipientGetAuthOptions$inboundSchema),
|
|
@@ -1623,6 +1627,8 @@ export type EnvelopeRecipientGetResponse$Outbound = {
|
|
|
1623
1627
|
token: string;
|
|
1624
1628
|
documentDeletedAt: string | null;
|
|
1625
1629
|
expired: string | null;
|
|
1630
|
+
expiresAt: string | null;
|
|
1631
|
+
expirationNotifiedAt: string | null;
|
|
1626
1632
|
signedAt: string | null;
|
|
1627
1633
|
authOptions: EnvelopeRecipientGetAuthOptions$Outbound | null;
|
|
1628
1634
|
signingOrder: number | null;
|
|
@@ -1647,6 +1653,8 @@ export const EnvelopeRecipientGetResponse$outboundSchema: z.ZodType<
|
|
|
1647
1653
|
token: z.string(),
|
|
1648
1654
|
documentDeletedAt: z.nullable(z.string()),
|
|
1649
1655
|
expired: z.nullable(z.string()),
|
|
1656
|
+
expiresAt: z.nullable(z.string()),
|
|
1657
|
+
expirationNotifiedAt: z.nullable(z.string()),
|
|
1650
1658
|
signedAt: z.nullable(z.string()),
|
|
1651
1659
|
authOptions: z.nullable(
|
|
1652
1660
|
z.lazy(() => EnvelopeRecipientGetAuthOptions$outboundSchema),
|