Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.env
.env.local
**/__pycache__/
**/.speakeasy/temp/
**/.speakeasy/logs/
Expand Down
2,757 changes: 2,536 additions & 221 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

9 changes: 8 additions & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,23 @@ generation:
auth:
oAuth2ClientCredentialsEnabled: false
oAuth2PasswordEnabled: false
hoistGlobalSecurity: true
schemas:
allOfMergeStrategy: shallowMerge
requestBodyFieldName: ""
tests:
generateTests: true
generateNewTests: false
skipResponseBodyAssertions: false
python:
version: 0.3.0
version: 0.4.0
additionalDependencies:
dev: {}
main: {}
allowedRedefinedBuiltins:
- id
- object
asyncMode: both
authors:
- Speakeasy
baseErrorName: DocumensoError
Expand All @@ -54,6 +59,7 @@ python:
shared: ""
webhooks: ""
inputModelSuffix: input
legacyPyright: true
maxMethodParams: 999
methodArguments: infer-optional-args
moduleName: ""
Expand All @@ -63,4 +69,5 @@ python:
pytestFilterWarnings: []
pytestTimeout: 0
responseFormat: flat
sseFlatResponse: false
templateVersion: v2
14 changes: 7 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
speakeasyVersion: 1.606.10
speakeasyVersion: 1.654.0
sources:
documenso-OAS:
sourceNamespace: documenso-v-2-beta-api
sourceRevisionDigest: sha256:edad9cc20eb56ca39753b7a96c8c75f876e716df520da392bd8aab9dac31f0f9
sourceBlobDigest: sha256:03b086614aed59a736a1a84f96e719f587b3fe7c599647320f711b19c6e7a586
sourceRevisionDigest: sha256:a1aff63b3508ca901e6fb813d3c6e33f105e2bbe7e8f861864c3ea0614d16db8
sourceBlobDigest: sha256:74cf4e37b5f6518d424d3d6023016935fa0bdbfd71e0bad8453dba473f30b75d
tags:
- latest
- speakeasy-sdk-regen-1751415201
- speakeasy-sdk-regen-1761013204
targets:
documenso:
source: documenso-OAS
sourceNamespace: documenso-v-2-beta-api
sourceRevisionDigest: sha256:edad9cc20eb56ca39753b7a96c8c75f876e716df520da392bd8aab9dac31f0f9
sourceBlobDigest: sha256:03b086614aed59a736a1a84f96e719f587b3fe7c599647320f711b19c6e7a586
sourceRevisionDigest: sha256:a1aff63b3508ca901e6fb813d3c6e33f105e2bbe7e8f861864c3ea0614d16db8
sourceBlobDigest: sha256:74cf4e37b5f6518d424d3d6023016935fa0bdbfd71e0bad8453dba473f30b75d
codeSamplesNamespace: documenso-oas-python-code-samples
codeSamplesRevisionDigest: sha256:db0a037286d8310ff53552a5aae4c5f7b9cd7a833eac6b4a19c3fd9c4cb4de26
codeSamplesRevisionDigest: sha256:5d3cc785dbce7dfa881e7042efb9ddf3a61d4876618f623d6e650fac427021d8
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
549 changes: 443 additions & 106 deletions README-PYPI.md

Large diffs are not rendered by default.

549 changes: 443 additions & 106 deletions README.md

Large diffs are not rendered by default.

12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,14 @@ Based on:
### Generated
- [python v0.3.0] .
### Releases
- [PyPI v0.3.0] https://pypi.org/project/documenso_sdk/0.3.0 - .
- [PyPI v0.3.0] https://pypi.org/project/documenso_sdk/0.3.0 - .

## 2025-11-12 08:54:36
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.654.0 (2.750.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v0.4.0] .
### Releases
- [PyPI v0.4.0] https://pypi.org/project/documenso_sdk/0.4.0 - .
5 changes: 3 additions & 2 deletions USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ with Documenso(
api_key=os.getenv("DOCUMENSO_API_KEY", ""),
) as documenso:

res = documenso.documents.update(document_id=9701.92)
res = documenso.envelopes.get(envelope_id="<id>")

# Handle response
print(res)
Expand All @@ -18,6 +18,7 @@ with Documenso(
</br>

The same SDK client can also be used to make asynchronous requests by importing asyncio.

```python
# Asynchronous Example
import asyncio
Expand All @@ -30,7 +31,7 @@ async def main():
api_key=os.getenv("DOCUMENSO_API_KEY", ""),
) as documenso:

res = await documenso.documents.update_async(document_id=9701.92)
res = await documenso.envelopes.get_async(envelope_id="<id>")

# Handle response
print(res)
Expand Down
29 changes: 0 additions & 29 deletions docs/models/document.md

This file was deleted.

9 changes: 4 additions & 5 deletions docs/models/documentaccessauth.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
# DocumentAccessAuth

The type of authentication required for the recipient to access the document.


## Values

| Name | Value |
| --------- | --------- |
| `ACCOUNT` | ACCOUNT |
| Name | Value |
| ----------------- | ----------------- |
| `ACCOUNT` | ACCOUNT |
| `TWO_FACTOR_AUTH` | TWO_FACTOR_AUTH |
2 changes: 0 additions & 2 deletions docs/models/documentactionauth.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# DocumentActionAuth

The type of authentication required for the recipient to sign the document.


## Values

Expand Down
12 changes: 12 additions & 0 deletions docs/models/documentattachmentcreatebadrequesterror.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# DocumentAttachmentCreateBadRequestError

Invalid input data


## Fields

| Field | Type | Required | Description |
| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ |
| `message` | *str* | :heavy_check_mark: | N/A |
| `code` | *str* | :heavy_check_mark: | N/A |
| `issues` | List[[models.DocumentAttachmentCreateBadRequestIssue](../models/documentattachmentcreatebadrequestissue.md)] | :heavy_minus_sign: | N/A |
8 changes: 8 additions & 0 deletions docs/models/documentattachmentcreatebadrequestissue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# DocumentAttachmentCreateBadRequestIssue


## Fields

| Field | Type | Required | Description |
| ------------------ | ------------------ | ------------------ | ------------------ |
| `message` | *str* | :heavy_check_mark: | N/A |
9 changes: 9 additions & 0 deletions docs/models/documentattachmentcreatedata.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# DocumentAttachmentCreateData


## Fields

| Field | Type | Required | Description |
| ------------------ | ------------------ | ------------------ | ------------------ |
| `label` | *str* | :heavy_check_mark: | N/A |
| `data` | *str* | :heavy_check_mark: | N/A |
Loading