turbodocx-sdk 0.1.3__tar.gz → 0.1.5__tar.gz
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.
- {turbodocx_sdk-0.1.3 → turbodocx_sdk-0.1.5}/PKG-INFO +34 -9
- {turbodocx_sdk-0.1.3 → turbodocx_sdk-0.1.5}/README.md +33 -8
- {turbodocx_sdk-0.1.3 → turbodocx_sdk-0.1.5}/pyproject.toml +1 -1
- {turbodocx_sdk-0.1.3 → turbodocx_sdk-0.1.5}/.gitignore +0 -0
- {turbodocx_sdk-0.1.3 → turbodocx_sdk-0.1.5}/LICENSE +0 -0
- {turbodocx_sdk-0.1.3 → turbodocx_sdk-0.1.5}/banner.png +0 -0
- {turbodocx_sdk-0.1.3 → turbodocx_sdk-0.1.5}/examples/turbosign_advanced.py +0 -0
- {turbodocx_sdk-0.1.3 → turbodocx_sdk-0.1.5}/examples/turbosign_basic.py +0 -0
- {turbodocx_sdk-0.1.3 → turbodocx_sdk-0.1.5}/examples/turbosign_send_simple.py +0 -0
- {turbodocx_sdk-0.1.3 → turbodocx_sdk-0.1.5}/footer.png +0 -0
- {turbodocx_sdk-0.1.3 → turbodocx_sdk-0.1.5}/manual_test.py +0 -0
- {turbodocx_sdk-0.1.3 → turbodocx_sdk-0.1.5}/pytest.ini +0 -0
- {turbodocx_sdk-0.1.3 → turbodocx_sdk-0.1.5}/src/turbodocx_sdk/__init__.py +0 -0
- {turbodocx_sdk-0.1.3 → turbodocx_sdk-0.1.5}/src/turbodocx_sdk/http.py +0 -0
- {turbodocx_sdk-0.1.3 → turbodocx_sdk-0.1.5}/src/turbodocx_sdk/modules/__init__.py +0 -0
- {turbodocx_sdk-0.1.3 → turbodocx_sdk-0.1.5}/src/turbodocx_sdk/modules/sign.py +0 -0
- {turbodocx_sdk-0.1.3 → turbodocx_sdk-0.1.5}/tests/__init__.py +0 -0
- {turbodocx_sdk-0.1.3 → turbodocx_sdk-0.1.5}/tests/test_http_config.py +0 -0
- {turbodocx_sdk-0.1.3 → turbodocx_sdk-0.1.5}/tests/test_turbosign.py +0 -0
- {turbodocx_sdk-0.1.3 → turbodocx_sdk-0.1.5}/tests/test_turbosign_sender_config.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: turbodocx-sdk
|
|
3
|
-
Version: 0.1.
|
|
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
|
[](https://pypi.org/project/turbodocx-sdk/)
|
|
43
43
|
[](./LICENSE)
|
|
44
44
|
|
|
45
|
-
[Documentation](https://docs.turbodocx.com/docs) • [API Reference](https://docs.turbodocx.com/docs/
|
|
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 |
|
|
324
|
-
|
|
325
|
-
| `signature` | Signature field (draw or type) |
|
|
326
|
-
| `initials` | Initials field |
|
|
327
|
-
| `text` | Free-form text input |
|
|
328
|
-
| `date` | Date stamp |
|
|
329
|
-
| `checkbox` | Checkbox / agreement |
|
|
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
|
|
|
@@ -13,7 +13,7 @@ The most developer-friendly **DocuSign & PandaDoc alternative** for **e-signatur
|
|
|
13
13
|
[](https://pypi.org/project/turbodocx-sdk/)
|
|
14
14
|
[](./LICENSE)
|
|
15
15
|
|
|
16
|
-
[Documentation](https://docs.turbodocx.com/docs) • [API Reference](https://docs.turbodocx.com/docs/
|
|
16
|
+
[Documentation](https://docs.turbodocx.com/docs) • [API Reference](https://docs.turbodocx.com/docs/SDKs/) • [Examples](#examples) • [Discord](https://discord.gg/NYKwz4BcpX)
|
|
17
17
|
|
|
18
18
|
</div>
|
|
19
19
|
|
|
@@ -287,17 +287,42 @@ Resend signature request emails.
|
|
|
287
287
|
await TurboSign.resend_email("doc-uuid-here", recipient_ids=["recipient-uuid-1"])
|
|
288
288
|
```
|
|
289
289
|
|
|
290
|
+
#### `get_audit_trail()`
|
|
291
|
+
|
|
292
|
+
Get the complete audit trail for a document, including all events and timestamps.
|
|
293
|
+
|
|
294
|
+
```python
|
|
295
|
+
audit = await TurboSign.get_audit_trail("doc-uuid-here")
|
|
296
|
+
|
|
297
|
+
print(f"Document: {audit['document']['name']}")
|
|
298
|
+
|
|
299
|
+
for entry in audit["auditTrail"]:
|
|
300
|
+
print(f"{entry['actionType']} - {entry['timestamp']}")
|
|
301
|
+
if entry.get("user"):
|
|
302
|
+
print(f" By: {entry['user']['name']} ({entry['user']['email']})")
|
|
303
|
+
if entry.get("recipient"):
|
|
304
|
+
print(f" Recipient: {entry['recipient']['name']}")
|
|
305
|
+
```
|
|
306
|
+
|
|
307
|
+
The audit trail includes a cryptographic hash chain for tamper-evidence verification.
|
|
308
|
+
|
|
290
309
|
---
|
|
291
310
|
|
|
292
311
|
## Field Types
|
|
293
312
|
|
|
294
|
-
| Type | Description |
|
|
295
|
-
|
|
296
|
-
| `signature` | Signature field (draw or type) |
|
|
297
|
-
| `initials` | Initials field |
|
|
298
|
-
| `text` | Free-form text input |
|
|
299
|
-
| `date` | Date stamp |
|
|
300
|
-
| `checkbox` | Checkbox / agreement |
|
|
313
|
+
| Type | Description |
|
|
314
|
+
|:-----|:------------|
|
|
315
|
+
| `signature` | Signature field (draw or type) |
|
|
316
|
+
| `initials` | Initials field |
|
|
317
|
+
| `text` | Free-form text input |
|
|
318
|
+
| `date` | Date stamp |
|
|
319
|
+
| `checkbox` | Checkbox / agreement |
|
|
320
|
+
| `full_name` | Full name |
|
|
321
|
+
| `first_name` | First name |
|
|
322
|
+
| `last_name` | Last name |
|
|
323
|
+
| `email` | Email address |
|
|
324
|
+
| `title` | Job title |
|
|
325
|
+
| `company` | Company name |
|
|
301
326
|
|
|
302
327
|
---
|
|
303
328
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|