turbodocx-sdk 0.1.3__py3-none-any.whl → 0.1.5__py3-none-any.whl

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: turbodocx-sdk
3
- Version: 0.1.3
3
+ Version: 0.1.5
4
4
  Summary: TurboDocx Python SDK - Digital signatures, document generation, and AI-powered workflows
5
5
  Project-URL: Homepage, https://www.turbodocx.com
6
6
  Project-URL: Documentation, https://www.turbodocx.com/docs
@@ -42,7 +42,7 @@ The most developer-friendly **DocuSign & PandaDoc alternative** for **e-signatur
42
42
  [![Python Versions](https://img.shields.io/pypi/pyversions/turbodocx-sdk)](https://pypi.org/project/turbodocx-sdk/)
43
43
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](./LICENSE)
44
44
 
45
- [Documentation](https://docs.turbodocx.com/docs) • [API Reference](https://docs.turbodocx.com/docs/api) • [Examples](#examples) • [Discord](https://discord.gg/NYKwz4BcpX)
45
+ [Documentation](https://docs.turbodocx.com/docs) • [API Reference](https://docs.turbodocx.com/docs/SDKs/) • [Examples](#examples) • [Discord](https://discord.gg/NYKwz4BcpX)
46
46
 
47
47
  </div>
48
48
 
@@ -316,17 +316,42 @@ Resend signature request emails.
316
316
  await TurboSign.resend_email("doc-uuid-here", recipient_ids=["recipient-uuid-1"])
317
317
  ```
318
318
 
319
+ #### `get_audit_trail()`
320
+
321
+ Get the complete audit trail for a document, including all events and timestamps.
322
+
323
+ ```python
324
+ audit = await TurboSign.get_audit_trail("doc-uuid-here")
325
+
326
+ print(f"Document: {audit['document']['name']}")
327
+
328
+ for entry in audit["auditTrail"]:
329
+ print(f"{entry['actionType']} - {entry['timestamp']}")
330
+ if entry.get("user"):
331
+ print(f" By: {entry['user']['name']} ({entry['user']['email']})")
332
+ if entry.get("recipient"):
333
+ print(f" Recipient: {entry['recipient']['name']}")
334
+ ```
335
+
336
+ The audit trail includes a cryptographic hash chain for tamper-evidence verification.
337
+
319
338
  ---
320
339
 
321
340
  ## Field Types
322
341
 
323
- | Type | Description | Required | Auto-filled |
324
- |:-----|:------------|:---------|:------------|
325
- | `signature` | Signature field (draw or type) | Yes | No |
326
- | `initials` | Initials field | Yes | No |
327
- | `text` | Free-form text input | No | No |
328
- | `date` | Date stamp | No | Yes (signing date) |
329
- | `checkbox` | Checkbox / agreement | No | No |
342
+ | Type | Description |
343
+ |:-----|:------------|
344
+ | `signature` | Signature field (draw or type) |
345
+ | `initials` | Initials field |
346
+ | `text` | Free-form text input |
347
+ | `date` | Date stamp |
348
+ | `checkbox` | Checkbox / agreement |
349
+ | `full_name` | Full name |
350
+ | `first_name` | First name |
351
+ | `last_name` | Last name |
352
+ | `email` | Email address |
353
+ | `title` | Job title |
354
+ | `company` | Company name |
330
355
 
331
356
  ---
332
357
 
@@ -2,7 +2,7 @@ turbodocx_sdk/__init__.py,sha256=pJt6U1PAA8CB6aUo7A3ONKTWiVTU5xYWtcDz_ipPhmU,144
2
2
  turbodocx_sdk/http.py,sha256=WFKgyhEXawwN37pNgQhsuJ2swZuY5Z2-DwnaCyvdkw4,11467
3
3
  turbodocx_sdk/modules/__init__.py,sha256=7hBrfcXIFdI0vQZvVEZeRJvSPb4qpUiRFuWzv414zW4,71
4
4
  turbodocx_sdk/modules/sign.py,sha256=-qC0GYRzNoSXkkQwtcBwqCyroHBABuCAmldS941RE-A,17095
5
- turbodocx_sdk-0.1.3.dist-info/METADATA,sha256=xH9CSdpk9nJKltNTLJX2rtZSNNi8SzdzdQg5Lcd5Sbg,16436
6
- turbodocx_sdk-0.1.3.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
7
- turbodocx_sdk-0.1.3.dist-info/licenses/LICENSE,sha256=jrILGSYvBIS-t0T9oe4iq695wDGUg5979U7SF8su-0s,1066
8
- turbodocx_sdk-0.1.3.dist-info/RECORD,,
5
+ turbodocx_sdk-0.1.5.dist-info/METADATA,sha256=j_10sRGY6q3XLZgchcYj7ZR03Liyoqwr-CH_LNmbgN4,17090
6
+ turbodocx_sdk-0.1.5.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
7
+ turbodocx_sdk-0.1.5.dist-info/licenses/LICENSE,sha256=jrILGSYvBIS-t0T9oe4iq695wDGUg5979U7SF8su-0s,1066
8
+ turbodocx_sdk-0.1.5.dist-info/RECORD,,