@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.
Files changed (203) hide show
  1. package/README.md +1 -1
  2. package/bin/mcp-server.js +2271 -487
  3. package/bin/mcp-server.js.map +60 -57
  4. package/examples/package-lock.json +4 -4
  5. package/funcs/documentsCreateV0.d.ts +2 -0
  6. package/funcs/documentsCreateV0.d.ts.map +1 -1
  7. package/funcs/documentsCreateV0.js +2 -0
  8. package/funcs/documentsCreateV0.js.map +1 -1
  9. package/jsr.json +1 -1
  10. package/lib/config.d.ts +3 -3
  11. package/lib/config.js +3 -3
  12. package/mcp-server/mcp-server.js +1 -1
  13. package/mcp-server/server.js +1 -1
  14. package/models/operations/documentcreate.d.ts +52 -0
  15. package/models/operations/documentcreate.d.ts.map +1 -1
  16. package/models/operations/documentcreate.js +76 -4
  17. package/models/operations/documentcreate.js.map +1 -1
  18. package/models/operations/documentcreatedocumenttemporary.d.ts +108 -0
  19. package/models/operations/documentcreatedocumenttemporary.d.ts.map +1 -1
  20. package/models/operations/documentcreatedocumenttemporary.js +162 -6
  21. package/models/operations/documentcreatedocumenttemporary.js.map +1 -1
  22. package/models/operations/documentdistribute.d.ts +2 -0
  23. package/models/operations/documentdistribute.d.ts.map +1 -1
  24. package/models/operations/documentdistribute.js +2 -0
  25. package/models/operations/documentdistribute.js.map +1 -1
  26. package/models/operations/documentfind.d.ts +4 -0
  27. package/models/operations/documentfind.d.ts.map +1 -1
  28. package/models/operations/documentfind.js +4 -0
  29. package/models/operations/documentfind.js.map +1 -1
  30. package/models/operations/documentget.d.ts +56 -0
  31. package/models/operations/documentget.d.ts.map +1 -1
  32. package/models/operations/documentget.js +79 -3
  33. package/models/operations/documentget.js.map +1 -1
  34. package/models/operations/documentgetmany.d.ts +4 -0
  35. package/models/operations/documentgetmany.d.ts.map +1 -1
  36. package/models/operations/documentgetmany.js +4 -0
  37. package/models/operations/documentgetmany.js.map +1 -1
  38. package/models/operations/documentupdate.d.ts +52 -0
  39. package/models/operations/documentupdate.d.ts.map +1 -1
  40. package/models/operations/documentupdate.js +74 -1
  41. package/models/operations/documentupdate.js.map +1 -1
  42. package/models/operations/envelopeauditlogfind.d.ts +52 -4
  43. package/models/operations/envelopeauditlogfind.d.ts.map +1 -1
  44. package/models/operations/envelopeauditlogfind.js +65 -7
  45. package/models/operations/envelopeauditlogfind.js.map +1 -1
  46. package/models/operations/envelopecreate.d.ts +52 -0
  47. package/models/operations/envelopecreate.d.ts.map +1 -1
  48. package/models/operations/envelopecreate.js +76 -4
  49. package/models/operations/envelopecreate.js.map +1 -1
  50. package/models/operations/envelopedistribute.d.ts +2 -0
  51. package/models/operations/envelopedistribute.d.ts.map +1 -1
  52. package/models/operations/envelopedistribute.js +2 -0
  53. package/models/operations/envelopedistribute.js.map +1 -1
  54. package/models/operations/envelopefieldcreatemany.d.ts +1098 -278
  55. package/models/operations/envelopefieldcreatemany.d.ts.map +1 -1
  56. package/models/operations/envelopefieldcreatemany.js +1387 -385
  57. package/models/operations/envelopefieldcreatemany.js.map +1 -1
  58. package/models/operations/envelopefind.d.ts +4 -0
  59. package/models/operations/envelopefind.d.ts.map +1 -1
  60. package/models/operations/envelopefind.js +4 -0
  61. package/models/operations/envelopefind.js.map +1 -1
  62. package/models/operations/envelopeget.d.ts +56 -0
  63. package/models/operations/envelopeget.d.ts.map +1 -1
  64. package/models/operations/envelopeget.js +79 -3
  65. package/models/operations/envelopeget.js.map +1 -1
  66. package/models/operations/envelopegetmany.d.ts +56 -0
  67. package/models/operations/envelopegetmany.d.ts.map +1 -1
  68. package/models/operations/envelopegetmany.js +80 -3
  69. package/models/operations/envelopegetmany.js.map +1 -1
  70. package/models/operations/enveloperecipientcreatemany.d.ts +4 -0
  71. package/models/operations/enveloperecipientcreatemany.d.ts.map +1 -1
  72. package/models/operations/enveloperecipientcreatemany.js +4 -0
  73. package/models/operations/enveloperecipientcreatemany.js.map +1 -1
  74. package/models/operations/enveloperecipientget.d.ts +4 -0
  75. package/models/operations/enveloperecipientget.d.ts.map +1 -1
  76. package/models/operations/enveloperecipientget.js +4 -0
  77. package/models/operations/enveloperecipientget.js.map +1 -1
  78. package/models/operations/enveloperecipientupdatemany.d.ts +4 -0
  79. package/models/operations/enveloperecipientupdatemany.d.ts.map +1 -1
  80. package/models/operations/enveloperecipientupdatemany.js +4 -0
  81. package/models/operations/enveloperecipientupdatemany.js.map +1 -1
  82. package/models/operations/envelopeupdate.d.ts +52 -0
  83. package/models/operations/envelopeupdate.d.ts.map +1 -1
  84. package/models/operations/envelopeupdate.js +74 -2
  85. package/models/operations/envelopeupdate.js.map +1 -1
  86. package/models/operations/envelopeuse.d.ts +52 -0
  87. package/models/operations/envelopeuse.d.ts.map +1 -1
  88. package/models/operations/envelopeuse.js +74 -2
  89. package/models/operations/envelopeuse.js.map +1 -1
  90. package/models/operations/recipientcreatedocumentrecipient.d.ts +4 -0
  91. package/models/operations/recipientcreatedocumentrecipient.d.ts.map +1 -1
  92. package/models/operations/recipientcreatedocumentrecipient.js +4 -0
  93. package/models/operations/recipientcreatedocumentrecipient.js.map +1 -1
  94. package/models/operations/recipientcreatedocumentrecipients.d.ts +4 -0
  95. package/models/operations/recipientcreatedocumentrecipients.d.ts.map +1 -1
  96. package/models/operations/recipientcreatedocumentrecipients.js +4 -0
  97. package/models/operations/recipientcreatedocumentrecipients.js.map +1 -1
  98. package/models/operations/recipientcreatetemplaterecipient.d.ts +4 -0
  99. package/models/operations/recipientcreatetemplaterecipient.d.ts.map +1 -1
  100. package/models/operations/recipientcreatetemplaterecipient.js +4 -0
  101. package/models/operations/recipientcreatetemplaterecipient.js.map +1 -1
  102. package/models/operations/recipientcreatetemplaterecipients.d.ts +4 -0
  103. package/models/operations/recipientcreatetemplaterecipients.d.ts.map +1 -1
  104. package/models/operations/recipientcreatetemplaterecipients.js +4 -0
  105. package/models/operations/recipientcreatetemplaterecipients.js.map +1 -1
  106. package/models/operations/recipientgetdocumentrecipient.d.ts +4 -0
  107. package/models/operations/recipientgetdocumentrecipient.d.ts.map +1 -1
  108. package/models/operations/recipientgetdocumentrecipient.js +4 -0
  109. package/models/operations/recipientgetdocumentrecipient.js.map +1 -1
  110. package/models/operations/recipientgettemplaterecipient.d.ts +4 -0
  111. package/models/operations/recipientgettemplaterecipient.d.ts.map +1 -1
  112. package/models/operations/recipientgettemplaterecipient.js +4 -0
  113. package/models/operations/recipientgettemplaterecipient.js.map +1 -1
  114. package/models/operations/recipientupdatedocumentrecipient.d.ts +4 -0
  115. package/models/operations/recipientupdatedocumentrecipient.d.ts.map +1 -1
  116. package/models/operations/recipientupdatedocumentrecipient.js +4 -0
  117. package/models/operations/recipientupdatedocumentrecipient.js.map +1 -1
  118. package/models/operations/recipientupdatedocumentrecipients.d.ts +4 -0
  119. package/models/operations/recipientupdatedocumentrecipients.d.ts.map +1 -1
  120. package/models/operations/recipientupdatedocumentrecipients.js +4 -0
  121. package/models/operations/recipientupdatedocumentrecipients.js.map +1 -1
  122. package/models/operations/recipientupdatetemplaterecipient.d.ts +4 -0
  123. package/models/operations/recipientupdatetemplaterecipient.d.ts.map +1 -1
  124. package/models/operations/recipientupdatetemplaterecipient.js +4 -0
  125. package/models/operations/recipientupdatetemplaterecipient.js.map +1 -1
  126. package/models/operations/recipientupdatetemplaterecipients.d.ts +4 -0
  127. package/models/operations/recipientupdatetemplaterecipients.d.ts.map +1 -1
  128. package/models/operations/recipientupdatetemplaterecipients.js +4 -0
  129. package/models/operations/recipientupdatetemplaterecipients.js.map +1 -1
  130. package/models/operations/templatecreatedocumentfromtemplate.d.ts +108 -0
  131. package/models/operations/templatecreatedocumentfromtemplate.d.ts.map +1 -1
  132. package/models/operations/templatecreatedocumentfromtemplate.js +166 -4
  133. package/models/operations/templatecreatedocumentfromtemplate.js.map +1 -1
  134. package/models/operations/templatecreatetemplate.d.ts +2 -0
  135. package/models/operations/templatecreatetemplate.d.ts.map +1 -1
  136. package/models/operations/templatecreatetemplate.js +2 -0
  137. package/models/operations/templatecreatetemplate.js.map +1 -1
  138. package/models/operations/templatecreatetemplatetemporary.d.ts +8 -0
  139. package/models/operations/templatecreatetemplatetemporary.d.ts.map +1 -1
  140. package/models/operations/templatecreatetemplatetemporary.js +8 -0
  141. package/models/operations/templatecreatetemplatetemporary.js.map +1 -1
  142. package/models/operations/templatefindtemplates.d.ts +4 -0
  143. package/models/operations/templatefindtemplates.d.ts.map +1 -1
  144. package/models/operations/templatefindtemplates.js +4 -0
  145. package/models/operations/templatefindtemplates.js.map +1 -1
  146. package/models/operations/templategetmany.d.ts +4 -0
  147. package/models/operations/templategetmany.d.ts.map +1 -1
  148. package/models/operations/templategetmany.js +4 -0
  149. package/models/operations/templategetmany.js.map +1 -1
  150. package/models/operations/templategettemplatebyid.d.ts +6 -0
  151. package/models/operations/templategettemplatebyid.d.ts.map +1 -1
  152. package/models/operations/templategettemplatebyid.js +6 -0
  153. package/models/operations/templategettemplatebyid.js.map +1 -1
  154. package/models/operations/templateupdatetemplate.d.ts +2 -0
  155. package/models/operations/templateupdatetemplate.d.ts.map +1 -1
  156. package/models/operations/templateupdatetemplate.js +2 -0
  157. package/models/operations/templateupdatetemplate.js.map +1 -1
  158. package/package.json +4 -4
  159. package/sdk/documents.d.ts +2 -0
  160. package/sdk/documents.d.ts.map +1 -1
  161. package/sdk/documents.js +2 -0
  162. package/sdk/documents.js.map +1 -1
  163. package/src/funcs/documentsCreateV0.ts +2 -0
  164. package/src/lib/config.ts +3 -3
  165. package/src/mcp-server/mcp-server.ts +1 -1
  166. package/src/mcp-server/server.ts +1 -1
  167. package/src/models/operations/documentcreate.ts +207 -0
  168. package/src/models/operations/documentcreatedocumenttemporary.ts +414 -0
  169. package/src/models/operations/documentdistribute.ts +4 -0
  170. package/src/models/operations/documentfind.ts +8 -0
  171. package/src/models/operations/documentget.ts +199 -0
  172. package/src/models/operations/documentgetmany.ts +8 -0
  173. package/src/models/operations/documentupdate.ts +207 -0
  174. package/src/models/operations/envelopeauditlogfind.ts +142 -2
  175. package/src/models/operations/envelopecreate.ts +207 -0
  176. package/src/models/operations/envelopedistribute.ts +4 -0
  177. package/src/models/operations/envelopefieldcreatemany.ts +3393 -859
  178. package/src/models/operations/envelopefind.ts +8 -0
  179. package/src/models/operations/envelopeget.ts +199 -0
  180. package/src/models/operations/envelopegetmany.ts +213 -0
  181. package/src/models/operations/enveloperecipientcreatemany.ts +8 -0
  182. package/src/models/operations/enveloperecipientget.ts +8 -0
  183. package/src/models/operations/enveloperecipientupdatemany.ts +8 -0
  184. package/src/models/operations/envelopeupdate.ts +207 -0
  185. package/src/models/operations/envelopeuse.ts +193 -0
  186. package/src/models/operations/recipientcreatedocumentrecipient.ts +8 -0
  187. package/src/models/operations/recipientcreatedocumentrecipients.ts +8 -0
  188. package/src/models/operations/recipientcreatetemplaterecipient.ts +8 -0
  189. package/src/models/operations/recipientcreatetemplaterecipients.ts +8 -0
  190. package/src/models/operations/recipientgetdocumentrecipient.ts +8 -0
  191. package/src/models/operations/recipientgettemplaterecipient.ts +8 -0
  192. package/src/models/operations/recipientupdatedocumentrecipient.ts +8 -0
  193. package/src/models/operations/recipientupdatedocumentrecipients.ts +8 -0
  194. package/src/models/operations/recipientupdatetemplaterecipient.ts +8 -0
  195. package/src/models/operations/recipientupdatetemplaterecipients.ts +8 -0
  196. package/src/models/operations/templatecreatedocumentfromtemplate.ts +472 -0
  197. package/src/models/operations/templatecreatetemplate.ts +4 -0
  198. package/src/models/operations/templatecreatetemplatetemporary.ts +16 -0
  199. package/src/models/operations/templatefindtemplates.ts +8 -0
  200. package/src/models/operations/templategetmany.ts +8 -0
  201. package/src/models/operations/templategettemplatebyid.ts +12 -0
  202. package/src/models/operations/templateupdatetemplate.ts +4 -0
  203. package/src/sdk/documents.ts +2 -0
@@ -136,6 +136,8 @@ export type EnvelopeRecipientUpdateManyDataResponse = {
136
136
  token: string;
137
137
  documentDeletedAt: string | null;
138
138
  expired: string | null;
139
+ expiresAt: string | null;
140
+ expirationNotifiedAt: string | null;
139
141
  signedAt: string | null;
140
142
  authOptions: EnvelopeRecipientUpdateManyAuthOptions | null;
141
143
  signingOrder: number | null;
@@ -476,6 +478,8 @@ export const EnvelopeRecipientUpdateManyDataResponse$inboundSchema: z.ZodType<
476
478
  token: z.string(),
477
479
  documentDeletedAt: z.nullable(z.string()),
478
480
  expired: z.nullable(z.string()),
481
+ expiresAt: z.nullable(z.string()),
482
+ expirationNotifiedAt: z.nullable(z.string()),
479
483
  signedAt: z.nullable(z.string()),
480
484
  authOptions: z.nullable(
481
485
  z.lazy(() => EnvelopeRecipientUpdateManyAuthOptions$inboundSchema),
@@ -498,6 +502,8 @@ export type EnvelopeRecipientUpdateManyDataResponse$Outbound = {
498
502
  token: string;
499
503
  documentDeletedAt: string | null;
500
504
  expired: string | null;
505
+ expiresAt: string | null;
506
+ expirationNotifiedAt: string | null;
501
507
  signedAt: string | null;
502
508
  authOptions: EnvelopeRecipientUpdateManyAuthOptions$Outbound | null;
503
509
  signingOrder: number | null;
@@ -523,6 +529,8 @@ export const EnvelopeRecipientUpdateManyDataResponse$outboundSchema: z.ZodType<
523
529
  token: z.string(),
524
530
  documentDeletedAt: z.nullable(z.string()),
525
531
  expired: z.nullable(z.string()),
532
+ expiresAt: z.nullable(z.string()),
533
+ expirationNotifiedAt: z.nullable(z.string()),
526
534
  signedAt: z.nullable(z.string()),
527
535
  authOptions: z.nullable(
528
536
  z.lazy(() => EnvelopeRecipientUpdateManyAuthOptions$outboundSchema),
@@ -111,8 +111,30 @@ export type EnvelopeUpdateEmailSettings = {
111
111
  documentCompleted?: boolean | undefined;
112
112
  documentDeleted?: boolean | undefined;
113
113
  ownerDocumentCompleted?: boolean | undefined;
114
+ ownerRecipientExpired?: boolean | undefined;
114
115
  };
115
116
 
117
+ export type EnvelopeUpdateEnvelopeExpirationPeriod2 = {
118
+ disabled: boolean;
119
+ };
120
+
121
+ export const EnvelopeUpdateUnit = {
122
+ Day: "day",
123
+ Week: "week",
124
+ Month: "month",
125
+ Year: "year",
126
+ } as const;
127
+ export type EnvelopeUpdateUnit = ClosedEnum<typeof EnvelopeUpdateUnit>;
128
+
129
+ export type EnvelopeUpdateEnvelopeExpirationPeriod1 = {
130
+ unit: EnvelopeUpdateUnit;
131
+ amount: number;
132
+ };
133
+
134
+ export type EnvelopeUpdateEnvelopeExpirationPeriodUnion =
135
+ | EnvelopeUpdateEnvelopeExpirationPeriod1
136
+ | EnvelopeUpdateEnvelopeExpirationPeriod2;
137
+
116
138
  export type EnvelopeUpdateMeta = {
117
139
  subject?: string | undefined;
118
140
  message?: string | undefined;
@@ -129,6 +151,11 @@ export type EnvelopeUpdateMeta = {
129
151
  emailId?: string | null | undefined;
130
152
  emailReplyTo?: string | null | undefined;
131
153
  emailSettings?: EnvelopeUpdateEmailSettings | null | undefined;
154
+ envelopeExpirationPeriod?:
155
+ | EnvelopeUpdateEnvelopeExpirationPeriod1
156
+ | EnvelopeUpdateEnvelopeExpirationPeriod2
157
+ | null
158
+ | undefined;
132
159
  };
133
160
 
134
161
  export type EnvelopeUpdateRequest = {
@@ -365,6 +392,7 @@ export const EnvelopeUpdateEmailSettings$inboundSchema: z.ZodType<
365
392
  documentCompleted: z.boolean().default(true),
366
393
  documentDeleted: z.boolean().default(true),
367
394
  ownerDocumentCompleted: z.boolean().default(true),
395
+ ownerRecipientExpired: z.boolean().default(true),
368
396
  });
369
397
  /** @internal */
370
398
  export type EnvelopeUpdateEmailSettings$Outbound = {
@@ -375,6 +403,7 @@ export type EnvelopeUpdateEmailSettings$Outbound = {
375
403
  documentCompleted: boolean;
376
404
  documentDeleted: boolean;
377
405
  ownerDocumentCompleted: boolean;
406
+ ownerRecipientExpired: boolean;
378
407
  };
379
408
 
380
409
  /** @internal */
@@ -390,6 +419,7 @@ export const EnvelopeUpdateEmailSettings$outboundSchema: z.ZodType<
390
419
  documentCompleted: z.boolean().default(true),
391
420
  documentDeleted: z.boolean().default(true),
392
421
  ownerDocumentCompleted: z.boolean().default(true),
422
+ ownerRecipientExpired: z.boolean().default(true),
393
423
  });
394
424
 
395
425
  export function envelopeUpdateEmailSettingsToJSON(
@@ -411,6 +441,166 @@ export function envelopeUpdateEmailSettingsFromJSON(
411
441
  );
412
442
  }
413
443
 
444
+ /** @internal */
445
+ export const EnvelopeUpdateEnvelopeExpirationPeriod2$inboundSchema: z.ZodType<
446
+ EnvelopeUpdateEnvelopeExpirationPeriod2,
447
+ z.ZodTypeDef,
448
+ unknown
449
+ > = z.object({
450
+ disabled: z.boolean(),
451
+ });
452
+ /** @internal */
453
+ export type EnvelopeUpdateEnvelopeExpirationPeriod2$Outbound = {
454
+ disabled: boolean;
455
+ };
456
+
457
+ /** @internal */
458
+ export const EnvelopeUpdateEnvelopeExpirationPeriod2$outboundSchema: z.ZodType<
459
+ EnvelopeUpdateEnvelopeExpirationPeriod2$Outbound,
460
+ z.ZodTypeDef,
461
+ EnvelopeUpdateEnvelopeExpirationPeriod2
462
+ > = z.object({
463
+ disabled: z.boolean(),
464
+ });
465
+
466
+ export function envelopeUpdateEnvelopeExpirationPeriod2ToJSON(
467
+ envelopeUpdateEnvelopeExpirationPeriod2:
468
+ EnvelopeUpdateEnvelopeExpirationPeriod2,
469
+ ): string {
470
+ return JSON.stringify(
471
+ EnvelopeUpdateEnvelopeExpirationPeriod2$outboundSchema.parse(
472
+ envelopeUpdateEnvelopeExpirationPeriod2,
473
+ ),
474
+ );
475
+ }
476
+ export function envelopeUpdateEnvelopeExpirationPeriod2FromJSON(
477
+ jsonString: string,
478
+ ): SafeParseResult<
479
+ EnvelopeUpdateEnvelopeExpirationPeriod2,
480
+ SDKValidationError
481
+ > {
482
+ return safeParse(
483
+ jsonString,
484
+ (x) =>
485
+ EnvelopeUpdateEnvelopeExpirationPeriod2$inboundSchema.parse(
486
+ JSON.parse(x),
487
+ ),
488
+ `Failed to parse 'EnvelopeUpdateEnvelopeExpirationPeriod2' from JSON`,
489
+ );
490
+ }
491
+
492
+ /** @internal */
493
+ export const EnvelopeUpdateUnit$inboundSchema: z.ZodNativeEnum<
494
+ typeof EnvelopeUpdateUnit
495
+ > = z.nativeEnum(EnvelopeUpdateUnit);
496
+ /** @internal */
497
+ export const EnvelopeUpdateUnit$outboundSchema: z.ZodNativeEnum<
498
+ typeof EnvelopeUpdateUnit
499
+ > = EnvelopeUpdateUnit$inboundSchema;
500
+
501
+ /** @internal */
502
+ export const EnvelopeUpdateEnvelopeExpirationPeriod1$inboundSchema: z.ZodType<
503
+ EnvelopeUpdateEnvelopeExpirationPeriod1,
504
+ z.ZodTypeDef,
505
+ unknown
506
+ > = z.object({
507
+ unit: EnvelopeUpdateUnit$inboundSchema,
508
+ amount: z.number().int(),
509
+ });
510
+ /** @internal */
511
+ export type EnvelopeUpdateEnvelopeExpirationPeriod1$Outbound = {
512
+ unit: string;
513
+ amount: number;
514
+ };
515
+
516
+ /** @internal */
517
+ export const EnvelopeUpdateEnvelopeExpirationPeriod1$outboundSchema: z.ZodType<
518
+ EnvelopeUpdateEnvelopeExpirationPeriod1$Outbound,
519
+ z.ZodTypeDef,
520
+ EnvelopeUpdateEnvelopeExpirationPeriod1
521
+ > = z.object({
522
+ unit: EnvelopeUpdateUnit$outboundSchema,
523
+ amount: z.number().int(),
524
+ });
525
+
526
+ export function envelopeUpdateEnvelopeExpirationPeriod1ToJSON(
527
+ envelopeUpdateEnvelopeExpirationPeriod1:
528
+ EnvelopeUpdateEnvelopeExpirationPeriod1,
529
+ ): string {
530
+ return JSON.stringify(
531
+ EnvelopeUpdateEnvelopeExpirationPeriod1$outboundSchema.parse(
532
+ envelopeUpdateEnvelopeExpirationPeriod1,
533
+ ),
534
+ );
535
+ }
536
+ export function envelopeUpdateEnvelopeExpirationPeriod1FromJSON(
537
+ jsonString: string,
538
+ ): SafeParseResult<
539
+ EnvelopeUpdateEnvelopeExpirationPeriod1,
540
+ SDKValidationError
541
+ > {
542
+ return safeParse(
543
+ jsonString,
544
+ (x) =>
545
+ EnvelopeUpdateEnvelopeExpirationPeriod1$inboundSchema.parse(
546
+ JSON.parse(x),
547
+ ),
548
+ `Failed to parse 'EnvelopeUpdateEnvelopeExpirationPeriod1' from JSON`,
549
+ );
550
+ }
551
+
552
+ /** @internal */
553
+ export const EnvelopeUpdateEnvelopeExpirationPeriodUnion$inboundSchema:
554
+ z.ZodType<
555
+ EnvelopeUpdateEnvelopeExpirationPeriodUnion,
556
+ z.ZodTypeDef,
557
+ unknown
558
+ > = z.union([
559
+ z.lazy(() => EnvelopeUpdateEnvelopeExpirationPeriod1$inboundSchema),
560
+ z.lazy(() => EnvelopeUpdateEnvelopeExpirationPeriod2$inboundSchema),
561
+ ]);
562
+ /** @internal */
563
+ export type EnvelopeUpdateEnvelopeExpirationPeriodUnion$Outbound =
564
+ | EnvelopeUpdateEnvelopeExpirationPeriod1$Outbound
565
+ | EnvelopeUpdateEnvelopeExpirationPeriod2$Outbound;
566
+
567
+ /** @internal */
568
+ export const EnvelopeUpdateEnvelopeExpirationPeriodUnion$outboundSchema:
569
+ z.ZodType<
570
+ EnvelopeUpdateEnvelopeExpirationPeriodUnion$Outbound,
571
+ z.ZodTypeDef,
572
+ EnvelopeUpdateEnvelopeExpirationPeriodUnion
573
+ > = z.union([
574
+ z.lazy(() => EnvelopeUpdateEnvelopeExpirationPeriod1$outboundSchema),
575
+ z.lazy(() => EnvelopeUpdateEnvelopeExpirationPeriod2$outboundSchema),
576
+ ]);
577
+
578
+ export function envelopeUpdateEnvelopeExpirationPeriodUnionToJSON(
579
+ envelopeUpdateEnvelopeExpirationPeriodUnion:
580
+ EnvelopeUpdateEnvelopeExpirationPeriodUnion,
581
+ ): string {
582
+ return JSON.stringify(
583
+ EnvelopeUpdateEnvelopeExpirationPeriodUnion$outboundSchema.parse(
584
+ envelopeUpdateEnvelopeExpirationPeriodUnion,
585
+ ),
586
+ );
587
+ }
588
+ export function envelopeUpdateEnvelopeExpirationPeriodUnionFromJSON(
589
+ jsonString: string,
590
+ ): SafeParseResult<
591
+ EnvelopeUpdateEnvelopeExpirationPeriodUnion,
592
+ SDKValidationError
593
+ > {
594
+ return safeParse(
595
+ jsonString,
596
+ (x) =>
597
+ EnvelopeUpdateEnvelopeExpirationPeriodUnion$inboundSchema.parse(
598
+ JSON.parse(x),
599
+ ),
600
+ `Failed to parse 'EnvelopeUpdateEnvelopeExpirationPeriodUnion' from JSON`,
601
+ );
602
+ }
603
+
414
604
  /** @internal */
415
605
  export const EnvelopeUpdateMeta$inboundSchema: z.ZodType<
416
606
  EnvelopeUpdateMeta,
@@ -434,6 +624,12 @@ export const EnvelopeUpdateMeta$inboundSchema: z.ZodType<
434
624
  emailSettings: z.nullable(
435
625
  z.lazy(() => EnvelopeUpdateEmailSettings$inboundSchema),
436
626
  ).optional(),
627
+ envelopeExpirationPeriod: z.nullable(
628
+ z.union([
629
+ z.lazy(() => EnvelopeUpdateEnvelopeExpirationPeriod1$inboundSchema),
630
+ z.lazy(() => EnvelopeUpdateEnvelopeExpirationPeriod2$inboundSchema),
631
+ ]),
632
+ ).optional(),
437
633
  });
438
634
  /** @internal */
439
635
  export type EnvelopeUpdateMeta$Outbound = {
@@ -452,6 +648,11 @@ export type EnvelopeUpdateMeta$Outbound = {
452
648
  emailId?: string | null | undefined;
453
649
  emailReplyTo?: string | null | undefined;
454
650
  emailSettings?: EnvelopeUpdateEmailSettings$Outbound | null | undefined;
651
+ envelopeExpirationPeriod?:
652
+ | EnvelopeUpdateEnvelopeExpirationPeriod1$Outbound
653
+ | EnvelopeUpdateEnvelopeExpirationPeriod2$Outbound
654
+ | null
655
+ | undefined;
455
656
  };
456
657
 
457
658
  /** @internal */
@@ -478,6 +679,12 @@ export const EnvelopeUpdateMeta$outboundSchema: z.ZodType<
478
679
  emailSettings: z.nullable(
479
680
  z.lazy(() => EnvelopeUpdateEmailSettings$outboundSchema),
480
681
  ).optional(),
682
+ envelopeExpirationPeriod: z.nullable(
683
+ z.union([
684
+ z.lazy(() => EnvelopeUpdateEnvelopeExpirationPeriod1$outboundSchema),
685
+ z.lazy(() => EnvelopeUpdateEnvelopeExpirationPeriod2$outboundSchema),
686
+ ]),
687
+ ).optional(),
481
688
  });
482
689
 
483
690
  export function envelopeUpdateMetaToJSON(
@@ -122,6 +122,7 @@ export type EnvelopeUseEmailSettings = {
122
122
  documentCompleted?: boolean | undefined;
123
123
  documentDeleted?: boolean | undefined;
124
124
  ownerDocumentCompleted?: boolean | undefined;
125
+ ownerRecipientExpired?: boolean | undefined;
125
126
  };
126
127
 
127
128
  export const EnvelopeUseLanguage = {
@@ -139,6 +140,27 @@ export const EnvelopeUseLanguage = {
139
140
  } as const;
140
141
  export type EnvelopeUseLanguage = ClosedEnum<typeof EnvelopeUseLanguage>;
141
142
 
143
+ export type EnvelopeUseEnvelopeExpirationPeriod2 = {
144
+ disabled: boolean;
145
+ };
146
+
147
+ export const EnvelopeUseUnit = {
148
+ Day: "day",
149
+ Week: "week",
150
+ Month: "month",
151
+ Year: "year",
152
+ } as const;
153
+ export type EnvelopeUseUnit = ClosedEnum<typeof EnvelopeUseUnit>;
154
+
155
+ export type EnvelopeUseEnvelopeExpirationPeriod1 = {
156
+ unit: EnvelopeUseUnit;
157
+ amount: number;
158
+ };
159
+
160
+ export type EnvelopeUseEnvelopeExpirationPeriodUnion =
161
+ | EnvelopeUseEnvelopeExpirationPeriod1
162
+ | EnvelopeUseEnvelopeExpirationPeriod2;
163
+
142
164
  export type EnvelopeUseOverride = {
143
165
  title?: string | undefined;
144
166
  subject?: string | undefined;
@@ -153,6 +175,11 @@ export type EnvelopeUseOverride = {
153
175
  uploadSignatureEnabled?: boolean | undefined;
154
176
  drawSignatureEnabled?: boolean | undefined;
155
177
  allowDictateNextSigner?: boolean | undefined;
178
+ envelopeExpirationPeriod?:
179
+ | EnvelopeUseEnvelopeExpirationPeriod1
180
+ | EnvelopeUseEnvelopeExpirationPeriod2
181
+ | null
182
+ | undefined;
156
183
  };
157
184
 
158
185
  export const EnvelopeUseTypeLink = {
@@ -785,6 +812,7 @@ export const EnvelopeUseEmailSettings$inboundSchema: z.ZodType<
785
812
  documentCompleted: z.boolean().default(true),
786
813
  documentDeleted: z.boolean().default(true),
787
814
  ownerDocumentCompleted: z.boolean().default(true),
815
+ ownerRecipientExpired: z.boolean().default(true),
788
816
  });
789
817
  /** @internal */
790
818
  export type EnvelopeUseEmailSettings$Outbound = {
@@ -795,6 +823,7 @@ export type EnvelopeUseEmailSettings$Outbound = {
795
823
  documentCompleted: boolean;
796
824
  documentDeleted: boolean;
797
825
  ownerDocumentCompleted: boolean;
826
+ ownerRecipientExpired: boolean;
798
827
  };
799
828
 
800
829
  /** @internal */
@@ -810,6 +839,7 @@ export const EnvelopeUseEmailSettings$outboundSchema: z.ZodType<
810
839
  documentCompleted: z.boolean().default(true),
811
840
  documentDeleted: z.boolean().default(true),
812
841
  ownerDocumentCompleted: z.boolean().default(true),
842
+ ownerRecipientExpired: z.boolean().default(true),
813
843
  });
814
844
 
815
845
  export function envelopeUseEmailSettingsToJSON(
@@ -838,6 +868,152 @@ export const EnvelopeUseLanguage$outboundSchema: z.ZodNativeEnum<
838
868
  typeof EnvelopeUseLanguage
839
869
  > = EnvelopeUseLanguage$inboundSchema;
840
870
 
871
+ /** @internal */
872
+ export const EnvelopeUseEnvelopeExpirationPeriod2$inboundSchema: z.ZodType<
873
+ EnvelopeUseEnvelopeExpirationPeriod2,
874
+ z.ZodTypeDef,
875
+ unknown
876
+ > = z.object({
877
+ disabled: z.boolean(),
878
+ });
879
+ /** @internal */
880
+ export type EnvelopeUseEnvelopeExpirationPeriod2$Outbound = {
881
+ disabled: boolean;
882
+ };
883
+
884
+ /** @internal */
885
+ export const EnvelopeUseEnvelopeExpirationPeriod2$outboundSchema: z.ZodType<
886
+ EnvelopeUseEnvelopeExpirationPeriod2$Outbound,
887
+ z.ZodTypeDef,
888
+ EnvelopeUseEnvelopeExpirationPeriod2
889
+ > = z.object({
890
+ disabled: z.boolean(),
891
+ });
892
+
893
+ export function envelopeUseEnvelopeExpirationPeriod2ToJSON(
894
+ envelopeUseEnvelopeExpirationPeriod2: EnvelopeUseEnvelopeExpirationPeriod2,
895
+ ): string {
896
+ return JSON.stringify(
897
+ EnvelopeUseEnvelopeExpirationPeriod2$outboundSchema.parse(
898
+ envelopeUseEnvelopeExpirationPeriod2,
899
+ ),
900
+ );
901
+ }
902
+ export function envelopeUseEnvelopeExpirationPeriod2FromJSON(
903
+ jsonString: string,
904
+ ): SafeParseResult<EnvelopeUseEnvelopeExpirationPeriod2, SDKValidationError> {
905
+ return safeParse(
906
+ jsonString,
907
+ (x) =>
908
+ EnvelopeUseEnvelopeExpirationPeriod2$inboundSchema.parse(JSON.parse(x)),
909
+ `Failed to parse 'EnvelopeUseEnvelopeExpirationPeriod2' from JSON`,
910
+ );
911
+ }
912
+
913
+ /** @internal */
914
+ export const EnvelopeUseUnit$inboundSchema: z.ZodNativeEnum<
915
+ typeof EnvelopeUseUnit
916
+ > = z.nativeEnum(EnvelopeUseUnit);
917
+ /** @internal */
918
+ export const EnvelopeUseUnit$outboundSchema: z.ZodNativeEnum<
919
+ typeof EnvelopeUseUnit
920
+ > = EnvelopeUseUnit$inboundSchema;
921
+
922
+ /** @internal */
923
+ export const EnvelopeUseEnvelopeExpirationPeriod1$inboundSchema: z.ZodType<
924
+ EnvelopeUseEnvelopeExpirationPeriod1,
925
+ z.ZodTypeDef,
926
+ unknown
927
+ > = z.object({
928
+ unit: EnvelopeUseUnit$inboundSchema,
929
+ amount: z.number().int(),
930
+ });
931
+ /** @internal */
932
+ export type EnvelopeUseEnvelopeExpirationPeriod1$Outbound = {
933
+ unit: string;
934
+ amount: number;
935
+ };
936
+
937
+ /** @internal */
938
+ export const EnvelopeUseEnvelopeExpirationPeriod1$outboundSchema: z.ZodType<
939
+ EnvelopeUseEnvelopeExpirationPeriod1$Outbound,
940
+ z.ZodTypeDef,
941
+ EnvelopeUseEnvelopeExpirationPeriod1
942
+ > = z.object({
943
+ unit: EnvelopeUseUnit$outboundSchema,
944
+ amount: z.number().int(),
945
+ });
946
+
947
+ export function envelopeUseEnvelopeExpirationPeriod1ToJSON(
948
+ envelopeUseEnvelopeExpirationPeriod1: EnvelopeUseEnvelopeExpirationPeriod1,
949
+ ): string {
950
+ return JSON.stringify(
951
+ EnvelopeUseEnvelopeExpirationPeriod1$outboundSchema.parse(
952
+ envelopeUseEnvelopeExpirationPeriod1,
953
+ ),
954
+ );
955
+ }
956
+ export function envelopeUseEnvelopeExpirationPeriod1FromJSON(
957
+ jsonString: string,
958
+ ): SafeParseResult<EnvelopeUseEnvelopeExpirationPeriod1, SDKValidationError> {
959
+ return safeParse(
960
+ jsonString,
961
+ (x) =>
962
+ EnvelopeUseEnvelopeExpirationPeriod1$inboundSchema.parse(JSON.parse(x)),
963
+ `Failed to parse 'EnvelopeUseEnvelopeExpirationPeriod1' from JSON`,
964
+ );
965
+ }
966
+
967
+ /** @internal */
968
+ export const EnvelopeUseEnvelopeExpirationPeriodUnion$inboundSchema: z.ZodType<
969
+ EnvelopeUseEnvelopeExpirationPeriodUnion,
970
+ z.ZodTypeDef,
971
+ unknown
972
+ > = z.union([
973
+ z.lazy(() => EnvelopeUseEnvelopeExpirationPeriod1$inboundSchema),
974
+ z.lazy(() => EnvelopeUseEnvelopeExpirationPeriod2$inboundSchema),
975
+ ]);
976
+ /** @internal */
977
+ export type EnvelopeUseEnvelopeExpirationPeriodUnion$Outbound =
978
+ | EnvelopeUseEnvelopeExpirationPeriod1$Outbound
979
+ | EnvelopeUseEnvelopeExpirationPeriod2$Outbound;
980
+
981
+ /** @internal */
982
+ export const EnvelopeUseEnvelopeExpirationPeriodUnion$outboundSchema: z.ZodType<
983
+ EnvelopeUseEnvelopeExpirationPeriodUnion$Outbound,
984
+ z.ZodTypeDef,
985
+ EnvelopeUseEnvelopeExpirationPeriodUnion
986
+ > = z.union([
987
+ z.lazy(() => EnvelopeUseEnvelopeExpirationPeriod1$outboundSchema),
988
+ z.lazy(() => EnvelopeUseEnvelopeExpirationPeriod2$outboundSchema),
989
+ ]);
990
+
991
+ export function envelopeUseEnvelopeExpirationPeriodUnionToJSON(
992
+ envelopeUseEnvelopeExpirationPeriodUnion:
993
+ EnvelopeUseEnvelopeExpirationPeriodUnion,
994
+ ): string {
995
+ return JSON.stringify(
996
+ EnvelopeUseEnvelopeExpirationPeriodUnion$outboundSchema.parse(
997
+ envelopeUseEnvelopeExpirationPeriodUnion,
998
+ ),
999
+ );
1000
+ }
1001
+ export function envelopeUseEnvelopeExpirationPeriodUnionFromJSON(
1002
+ jsonString: string,
1003
+ ): SafeParseResult<
1004
+ EnvelopeUseEnvelopeExpirationPeriodUnion,
1005
+ SDKValidationError
1006
+ > {
1007
+ return safeParse(
1008
+ jsonString,
1009
+ (x) =>
1010
+ EnvelopeUseEnvelopeExpirationPeriodUnion$inboundSchema.parse(
1011
+ JSON.parse(x),
1012
+ ),
1013
+ `Failed to parse 'EnvelopeUseEnvelopeExpirationPeriodUnion' from JSON`,
1014
+ );
1015
+ }
1016
+
841
1017
  /** @internal */
842
1018
  export const EnvelopeUseOverride$inboundSchema: z.ZodType<
843
1019
  EnvelopeUseOverride,
@@ -858,6 +1034,12 @@ export const EnvelopeUseOverride$inboundSchema: z.ZodType<
858
1034
  uploadSignatureEnabled: z.boolean().optional(),
859
1035
  drawSignatureEnabled: z.boolean().optional(),
860
1036
  allowDictateNextSigner: z.boolean().optional(),
1037
+ envelopeExpirationPeriod: z.nullable(
1038
+ z.union([
1039
+ z.lazy(() => EnvelopeUseEnvelopeExpirationPeriod1$inboundSchema),
1040
+ z.lazy(() => EnvelopeUseEnvelopeExpirationPeriod2$inboundSchema),
1041
+ ]),
1042
+ ).optional(),
861
1043
  });
862
1044
  /** @internal */
863
1045
  export type EnvelopeUseOverride$Outbound = {
@@ -874,6 +1056,11 @@ export type EnvelopeUseOverride$Outbound = {
874
1056
  uploadSignatureEnabled?: boolean | undefined;
875
1057
  drawSignatureEnabled?: boolean | undefined;
876
1058
  allowDictateNextSigner?: boolean | undefined;
1059
+ envelopeExpirationPeriod?:
1060
+ | EnvelopeUseEnvelopeExpirationPeriod1$Outbound
1061
+ | EnvelopeUseEnvelopeExpirationPeriod2$Outbound
1062
+ | null
1063
+ | undefined;
877
1064
  };
878
1065
 
879
1066
  /** @internal */
@@ -896,6 +1083,12 @@ export const EnvelopeUseOverride$outboundSchema: z.ZodType<
896
1083
  uploadSignatureEnabled: z.boolean().optional(),
897
1084
  drawSignatureEnabled: z.boolean().optional(),
898
1085
  allowDictateNextSigner: z.boolean().optional(),
1086
+ envelopeExpirationPeriod: z.nullable(
1087
+ z.union([
1088
+ z.lazy(() => EnvelopeUseEnvelopeExpirationPeriod1$outboundSchema),
1089
+ z.lazy(() => EnvelopeUseEnvelopeExpirationPeriod2$outboundSchema),
1090
+ ]),
1091
+ ).optional(),
899
1092
  });
900
1093
 
901
1094
  export function envelopeUseOverrideToJSON(
@@ -131,6 +131,8 @@ export type RecipientCreateDocumentRecipientResponse = {
131
131
  token: string;
132
132
  documentDeletedAt: string | null;
133
133
  expired: string | null;
134
+ expiresAt: string | null;
135
+ expirationNotifiedAt: string | null;
134
136
  signedAt: string | null;
135
137
  authOptions: RecipientCreateDocumentRecipientAuthOptions | null;
136
138
  signingOrder: number | null;
@@ -429,6 +431,8 @@ export const RecipientCreateDocumentRecipientResponse$inboundSchema: z.ZodType<
429
431
  token: z.string(),
430
432
  documentDeletedAt: z.nullable(z.string()),
431
433
  expired: z.nullable(z.string()),
434
+ expiresAt: z.nullable(z.string()),
435
+ expirationNotifiedAt: z.nullable(z.string()),
432
436
  signedAt: z.nullable(z.string()),
433
437
  authOptions: z.nullable(
434
438
  z.lazy(() => RecipientCreateDocumentRecipientAuthOptions$inboundSchema),
@@ -451,6 +455,8 @@ export type RecipientCreateDocumentRecipientResponse$Outbound = {
451
455
  token: string;
452
456
  documentDeletedAt: string | null;
453
457
  expired: string | null;
458
+ expiresAt: string | null;
459
+ expirationNotifiedAt: string | null;
454
460
  signedAt: string | null;
455
461
  authOptions: RecipientCreateDocumentRecipientAuthOptions$Outbound | null;
456
462
  signingOrder: number | null;
@@ -476,6 +482,8 @@ export const RecipientCreateDocumentRecipientResponse$outboundSchema: z.ZodType<
476
482
  token: z.string(),
477
483
  documentDeletedAt: z.nullable(z.string()),
478
484
  expired: z.nullable(z.string()),
485
+ expiresAt: z.nullable(z.string()),
486
+ expirationNotifiedAt: z.nullable(z.string()),
479
487
  signedAt: z.nullable(z.string()),
480
488
  authOptions: z.nullable(
481
489
  z.lazy(() => RecipientCreateDocumentRecipientAuthOptions$outboundSchema),
@@ -128,6 +128,8 @@ export type RecipientCreateDocumentRecipientsRecipientResponse = {
128
128
  token: string;
129
129
  documentDeletedAt: string | null;
130
130
  expired: string | null;
131
+ expiresAt: string | null;
132
+ expirationNotifiedAt: string | null;
131
133
  signedAt: string | null;
132
134
  authOptions: RecipientCreateDocumentRecipientsAuthOptions | null;
133
135
  signingOrder: number | null;
@@ -439,6 +441,8 @@ export const RecipientCreateDocumentRecipientsRecipientResponse$inboundSchema:
439
441
  token: z.string(),
440
442
  documentDeletedAt: z.nullable(z.string()),
441
443
  expired: z.nullable(z.string()),
444
+ expiresAt: z.nullable(z.string()),
445
+ expirationNotifiedAt: z.nullable(z.string()),
442
446
  signedAt: z.nullable(z.string()),
443
447
  authOptions: z.nullable(
444
448
  z.lazy(() => RecipientCreateDocumentRecipientsAuthOptions$inboundSchema),
@@ -461,6 +465,8 @@ export type RecipientCreateDocumentRecipientsRecipientResponse$Outbound = {
461
465
  token: string;
462
466
  documentDeletedAt: string | null;
463
467
  expired: string | null;
468
+ expiresAt: string | null;
469
+ expirationNotifiedAt: string | null;
464
470
  signedAt: string | null;
465
471
  authOptions: RecipientCreateDocumentRecipientsAuthOptions$Outbound | null;
466
472
  signingOrder: number | null;
@@ -488,6 +494,8 @@ export const RecipientCreateDocumentRecipientsRecipientResponse$outboundSchema:
488
494
  token: z.string(),
489
495
  documentDeletedAt: z.nullable(z.string()),
490
496
  expired: z.nullable(z.string()),
497
+ expiresAt: z.nullable(z.string()),
498
+ expirationNotifiedAt: z.nullable(z.string()),
491
499
  signedAt: z.nullable(z.string()),
492
500
  authOptions: z.nullable(
493
501
  z.lazy(() => RecipientCreateDocumentRecipientsAuthOptions$outboundSchema),
@@ -131,6 +131,8 @@ export type RecipientCreateTemplateRecipientResponse = {
131
131
  token: string;
132
132
  documentDeletedAt: string | null;
133
133
  expired: string | null;
134
+ expiresAt: string | null;
135
+ expirationNotifiedAt: string | null;
134
136
  signedAt: string | null;
135
137
  authOptions: RecipientCreateTemplateRecipientAuthOptions | null;
136
138
  signingOrder: number | null;
@@ -429,6 +431,8 @@ export const RecipientCreateTemplateRecipientResponse$inboundSchema: z.ZodType<
429
431
  token: z.string(),
430
432
  documentDeletedAt: z.nullable(z.string()),
431
433
  expired: z.nullable(z.string()),
434
+ expiresAt: z.nullable(z.string()),
435
+ expirationNotifiedAt: z.nullable(z.string()),
432
436
  signedAt: z.nullable(z.string()),
433
437
  authOptions: z.nullable(
434
438
  z.lazy(() => RecipientCreateTemplateRecipientAuthOptions$inboundSchema),
@@ -451,6 +455,8 @@ export type RecipientCreateTemplateRecipientResponse$Outbound = {
451
455
  token: string;
452
456
  documentDeletedAt: string | null;
453
457
  expired: string | null;
458
+ expiresAt: string | null;
459
+ expirationNotifiedAt: string | null;
454
460
  signedAt: string | null;
455
461
  authOptions: RecipientCreateTemplateRecipientAuthOptions$Outbound | null;
456
462
  signingOrder: number | null;
@@ -476,6 +482,8 @@ export const RecipientCreateTemplateRecipientResponse$outboundSchema: z.ZodType<
476
482
  token: z.string(),
477
483
  documentDeletedAt: z.nullable(z.string()),
478
484
  expired: z.nullable(z.string()),
485
+ expiresAt: z.nullable(z.string()),
486
+ expirationNotifiedAt: z.nullable(z.string()),
479
487
  signedAt: z.nullable(z.string()),
480
488
  authOptions: z.nullable(
481
489
  z.lazy(() => RecipientCreateTemplateRecipientAuthOptions$outboundSchema),
@@ -128,6 +128,8 @@ export type RecipientCreateTemplateRecipientsRecipientResponse = {
128
128
  token: string;
129
129
  documentDeletedAt: string | null;
130
130
  expired: string | null;
131
+ expiresAt: string | null;
132
+ expirationNotifiedAt: string | null;
131
133
  signedAt: string | null;
132
134
  authOptions: RecipientCreateTemplateRecipientsAuthOptions | null;
133
135
  signingOrder: number | null;
@@ -439,6 +441,8 @@ export const RecipientCreateTemplateRecipientsRecipientResponse$inboundSchema:
439
441
  token: z.string(),
440
442
  documentDeletedAt: z.nullable(z.string()),
441
443
  expired: z.nullable(z.string()),
444
+ expiresAt: z.nullable(z.string()),
445
+ expirationNotifiedAt: z.nullable(z.string()),
442
446
  signedAt: z.nullable(z.string()),
443
447
  authOptions: z.nullable(
444
448
  z.lazy(() => RecipientCreateTemplateRecipientsAuthOptions$inboundSchema),
@@ -461,6 +465,8 @@ export type RecipientCreateTemplateRecipientsRecipientResponse$Outbound = {
461
465
  token: string;
462
466
  documentDeletedAt: string | null;
463
467
  expired: string | null;
468
+ expiresAt: string | null;
469
+ expirationNotifiedAt: string | null;
464
470
  signedAt: string | null;
465
471
  authOptions: RecipientCreateTemplateRecipientsAuthOptions$Outbound | null;
466
472
  signingOrder: number | null;
@@ -488,6 +494,8 @@ export const RecipientCreateTemplateRecipientsRecipientResponse$outboundSchema:
488
494
  token: z.string(),
489
495
  documentDeletedAt: z.nullable(z.string()),
490
496
  expired: z.nullable(z.string()),
497
+ expiresAt: z.nullable(z.string()),
498
+ expirationNotifiedAt: z.nullable(z.string()),
491
499
  signedAt: z.nullable(z.string()),
492
500
  authOptions: z.nullable(
493
501
  z.lazy(() => RecipientCreateTemplateRecipientsAuthOptions$outboundSchema),