Repository navigation
Commit 09bddf7
committed
Update to version 4.4.0 on 2026-11-01
- New: list_email_actions, create_email_action, get_email_action, update_email_action and delete_email_action manage a
template's email actions (`EmailAction`), which email each processed submission's files as attachments or a download
link. `to`, `cc` and `bcc` take addresses, and tags for an address in the submission's fields
(`{{ data.client_email }}`) or metadata (`{{ metadata.agent_email }}`). `send_when` sends only for the submissions
that meet its conditions. `file_name` names the attached files, and `file_formats` chooses them: a Word template's
Word document (`docx`), OpenDocument file (`odt`) or PDF (`pdf`), or every file the submission made (`all`). Attached
files over `max_attachment_mb` together (7 MB unless you raise it, up to 25) go as a link instead.
send_email_action_test_email sends one to you to check how it looks (`EmailActionTestEmail`). Without a paid plan
(Starter or higher), email actions only email your team: test emails, and test submissions' emails.
- New: list_account_email_actions, create_account_email_action, get_account_email_action, update_account_email_action
and delete_account_email_action manage your account's email actions, which send for every template, or for the
templates and folders they list (`template_ids`, `folder_ids`). send_account_email_action_test_email sends one to you
for one of its templates.
- New: list_email_actions also lists your account's email actions that send for the template, with the template's
changes in `customization` (`EmailActionCustomization`). update_email_action_customization changes one for that
template only, or turns it off there (`enabled`), and delete_email_action_customization removes the template's
changes.
- New: list_email_domains, create_email_domain, get_email_domain, verify_email_domain and delete_email_domain manage the
domains your email actions send from (`EmailDomain`), with the DNS records to add to each one (`EmailDomainDnsRecord`).
- A submission's `actions` include the emails its email actions sent (its template's and your account's), with each
recipient and what happened to their email, and a new `email_action_id`.
- New: a field's `string_condition_type` can be `not_equals`, `not_contains`, `not_starts_with`, `not_ends_with`,
`not_regex`, `blank` or `not_blank`, and a `regex` condition uses RE2 syntax (no lookarounds or backreferences).
- create_submission: DocSpring now emails the signers of a submission's `signature_requests` a link to sign, any
reminders, and the signed PDF once everyone has signed. Set `send_email` to false, for the submission or for one
signature request, when you send the links yourself or show the signing form in your app. A signature request that
DocSpring emails needs an `email`, and its `auth_type` is optional (`email_link`). Before anyone is emailed, the
request can be refused with a 402 (`insufficient_credits_to_send`), a 403 or a 429 (`daily_email_limit_reached`), and
nothing is saved.
- New create_submission properties for these emails: `signing_order` (`SigningOrder`) with each signature request's
`signing_step`, `email_subject`, `email_message`, `cc`, `reply_to`, `notification_emails`, `notify_when_signed` and
`reminders` (`SignatureRequestReminders`).
- A signature request has `send_email`, `signing_step`, `sent_at` and `email_status` (`SignatureRequestEmailStatus`),
and a submission has `signing_order`.
- Templates have new settings for these emails: `signature_request_from_name`, `signature_request_from_address`,
`signature_request_signing_url`, `signature_request_include_signing_token`, `signature_request_reply_to`,
`signature_request_notification_emails` and `signature_request_email_attachments`
(`SignatureRequestEmailAttachments`).
- New webhook event types: `signature_request.sent` and `signature_request.email_bounced`.
- New: page designs (`template_type` `page_designer`), PDFs designed in the Page Designer from a JSON layout, with no
document to start from. create_template makes one from its `layout`, or with an empty page when `layout` is left
out, and update_template replaces its layout. DocSpring adds a field for each value the layout reads. A template's
`layout` is in the [Page Designer layout format](https://docspring.com/docs/page-designer/layout-format/) (its
[JSON Schema](https://docspring.com/schemas/page-designer/layout.v1.json)), and is null for other templates.
- New: every method that creates, changes or deletes something takes an `Idempotency-Key` header, as its last argument
before `cancellationToken`, `idempotencyKey`. Send the same key when you send a request again after a timeout or a
network error: within 24 hours, DocSpring returns the first response instead of running the request twice. Arguments
you already pass keep their places.
- Changed: the request validator checks what API v2 now refuses: an ID, a query value or a template name that's blank or
only whitespace, an update with nothing to change, a version with a leading zero (`01`), a `filename` with a slash, a
signer `email` that isn't an email address, and an HTML template's `scale` outside 0.1 to 2.
- New: get_template_model_code takes `rust` as its `lang`, for Rust structs that serde reads and writes.1 parent edc72f0 commit 09bddf7
163 files changed
Lines changed: 43499 additions & 8615 deletions
File tree
- .github/workflows
- .openapi-generator
- api
- docs
- apis
- models
- src
- DocSpring.Client.Test
- Api
- Model
- DocSpring.Client
- Api
- Client
- Model
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
| 25 | + | |
| 26 | + | |
24 | 27 | | |
25 | 28 | | |
26 | 29 | | |
| |||
32 | 35 | | |
33 | 36 | | |
34 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
35 | 55 | | |
36 | 56 | | |
37 | 57 | | |
| |||
84 | 104 | | |
85 | 105 | | |
86 | 106 | | |
| 107 | + | |
87 | 108 | | |
88 | 109 | | |
89 | 110 | | |
90 | 111 | | |
| 112 | + | |
| 113 | + | |
91 | 114 | | |
92 | 115 | | |
93 | 116 | | |
94 | 117 | | |
| 118 | + | |
95 | 119 | | |
96 | 120 | | |
97 | 121 | | |
| 122 | + | |
98 | 123 | | |
99 | 124 | | |
100 | 125 | | |
| |||
152 | 177 | | |
153 | 178 | | |
154 | 179 | | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
155 | 183 | | |
156 | 184 | | |
157 | 185 | | |
| |||
186 | 214 | | |
187 | 215 | | |
188 | 216 | | |
| 217 | + | |
189 | 218 | | |
190 | 219 | | |
| 220 | + | |
| 221 | + | |
191 | 222 | | |
192 | 223 | | |
193 | 224 | | |
| |||
199 | 230 | | |
200 | 231 | | |
201 | 232 | | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
202 | 250 | | |
203 | 251 | | |
204 | 252 | | |
| |||
251 | 299 | | |
252 | 300 | | |
253 | 301 | | |
| 302 | + | |
254 | 303 | | |
255 | 304 | | |
256 | 305 | | |
| 306 | + | |
| 307 | + | |
257 | 308 | | |
258 | 309 | | |
259 | 310 | | |
260 | 311 | | |
| 312 | + | |
261 | 313 | | |
262 | 314 | | |
263 | 315 | | |
264 | 316 | | |
| 317 | + | |
265 | 318 | | |
266 | 319 | | |
267 | 320 | | |
| |||
319 | 372 | | |
320 | 373 | | |
321 | 374 | | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
322 | 378 | | |
323 | 379 | | |
324 | 380 | | |
| |||
373 | 429 | | |
374 | 430 | | |
375 | 431 | | |
| 432 | + | |
376 | 433 | | |
377 | 434 | | |
| 435 | + | |
| 436 | + | |
378 | 437 | | |
379 | 438 | | |
380 | 439 | | |
| |||
386 | 445 | | |
387 | 446 | | |
388 | 447 | | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
389 | 465 | | |
390 | 466 | | |
391 | 467 | | |
| |||
438 | 514 | | |
439 | 515 | | |
440 | 516 | | |
| 517 | + | |
441 | 518 | | |
442 | 519 | | |
443 | 520 | | |
444 | 521 | | |
| 522 | + | |
| 523 | + | |
445 | 524 | | |
446 | 525 | | |
447 | 526 | | |
448 | 527 | | |
| 528 | + | |
449 | 529 | | |
450 | 530 | | |
451 | 531 | | |
| 532 | + | |
452 | 533 | | |
453 | 534 | | |
454 | 535 | | |
| |||
506 | 587 | | |
507 | 588 | | |
508 | 589 | | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
509 | 593 | | |
510 | 594 | | |
511 | 595 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
1 | 56 | | |
2 | 57 | | |
3 | 58 | | |
| |||
0 commit comments