Skip to content
Open
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
610 changes: 419 additions & 191 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

8 changes: 7 additions & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,22 @@ generation:
auth:
oAuth2ClientCredentialsEnabled: false
oAuth2PasswordEnabled: false
hoistGlobalSecurity: true
schemas:
allOfMergeStrategy: shallowMerge
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 +58,7 @@ python:
shared: ""
webhooks: ""
inputModelSuffix: input
legacyPyright: true
maxMethodParams: 999
methodArguments: infer-optional-args
moduleName: ""
Expand All @@ -63,4 +68,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.649.0
sources:
documenso-OAS:
sourceNamespace: documenso-v-2-beta-api
sourceRevisionDigest: sha256:edad9cc20eb56ca39753b7a96c8c75f876e716df520da392bd8aab9dac31f0f9
sourceBlobDigest: sha256:03b086614aed59a736a1a84f96e719f587b3fe7c599647320f711b19c6e7a586
sourceRevisionDigest: sha256:5655c327963c859a6b2690d2f07ff5a14c557dae975710c55e1e94a3a8ca03c5
sourceBlobDigest: sha256:628fee4fefdec824deaa24deaf158a9f7e61fea8a997f4e39e47dca425903deb
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:5655c327963c859a6b2690d2f07ff5a14c557dae975710c55e1e94a3a8ca03c5
sourceBlobDigest: sha256:628fee4fefdec824deaa24deaf158a9f7e61fea8a997f4e39e47dca425903deb
codeSamplesNamespace: documenso-oas-python-code-samples
codeSamplesRevisionDigest: sha256:db0a037286d8310ff53552a5aae4c5f7b9cd7a833eac6b4a19c3fd9c4cb4de26
codeSamplesRevisionDigest: sha256:53f618cc489932a12c726e56679c21857f6fcf990eb82978223a629e9a5f9b68
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
222 changes: 117 additions & 105 deletions README-PYPI.md

Large diffs are not rendered by default.

222 changes: 117 additions & 105 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-06 00:13:11
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.649.0 (2.739.1) 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.documents.get(document_id=6150.61)

# 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.documents.get_async(document_id=6150.61)

# Handle response
print(res)
Expand Down
9 changes: 9 additions & 0 deletions docs/models/customdocumentdatum.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# CustomDocumentDatum


## Fields

| Field | Type | Required | Description |
| ------------------ | ------------------ | ------------------ | ------------------ |
| `document_data_id` | *str* | :heavy_check_mark: | N/A |
| `envelope_item_id` | *str* | :heavy_check_mark: | N/A |
29 changes: 0 additions & 29 deletions docs/models/document.md

This file was deleted.

7 changes: 4 additions & 3 deletions docs/models/documentaccessauth.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ 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 |
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ 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 |
36 changes: 24 additions & 12 deletions docs/models/documentcreatedocumenttemporarydateformat.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,27 @@ The date format to use for date fields and signing the document.

## Values

| Name | Value |
| ------------------------------ | ------------------------------ |
| `YYYY_MM_DD_HH_MM_A` | yyyy-MM-dd hh:mm a |
| `YYYY_MM_DD` | yyyy-MM-dd |
| `DD_MM_YYYY_HH_MM_A` | dd/MM/yyyy hh:mm a |
| `MM_DD_YYYY_HH_MM_A` | MM/dd/yyyy hh:mm a |
| `YYYY_MM_DD_HH_MM` | yyyy-MM-dd HH:mm |
| `YY_MM_DD_HH_MM_A` | yy-MM-dd hh:mm a |
| `YYYY_MM_DD_HH_MM_SS` | yyyy-MM-dd HH:mm:ss |
| `MMMM_DD_YYYY_HH_MM_A` | MMMM dd, yyyy hh:mm a |
| `EEEE_MMMM_DD_YYYY_HH_MM_A` | EEEE, MMMM dd, yyyy hh:mm a |
| `YYYY_MM_DD_T_HH_MM_SS_SSSXXX` | yyyy-MM-dd'T'HH:mm:ss.SSSXXX |
| Name | Value |
| --------------------------------- | --------------------------------- |
| `YYYY_M_MDD_HH_MM_A` | yyyy-MM-dd hh:mm a |
| `YYYY_M_MDD` | yyyy-MM-dd |
| `DD_MM_SLASH_YYYY` | dd/MM/yyyy |
| `MM_DD_SLASH_YYYY` | MM/dd/yyyy |
| `YY_M_MDD` | yy-MM-dd |
| `MMMM_DD_COMMA_YYYY` | MMMM dd, yyyy |
| `EEEE_MMMM_DD_COMMA_YYYY` | EEEE, MMMM dd, yyyy |
| `DD_MM_SLASH_YYYY_HH_MM_A` | dd/MM/yyyy hh:mm a |
| `DD_MM_SLASH_YYYY_H_HMM` | dd/MM/yyyy HH:mm |
| `MM_DD_SLASH_YYYY_HH_MM_A` | MM/dd/yyyy hh:mm a |
| `MM_DD_SLASH_YYYY_H_HMM` | MM/dd/yyyy HH:mm |
| `DD_DOT_MM_DOT_YYYY` | dd.MM.yyyy |
| `DD_DOT_MM_DOT_YYYY_H_HMM` | dd.MM.yyyy HH:mm |
| `YYYY_M_MDD_H_HMM` | yyyy-MM-dd HH:mm |
| `YY_M_MDD_HH_MM_A` | yy-MM-dd hh:mm a |
| `YY_M_MDD_H_HMM` | yy-MM-dd HH:mm |
| `YYYY_M_MDD_H_HMMSS` | yyyy-MM-dd HH:mm:ss |
| `MMMM_DD_COMMA_YYYY_HH_MM_A` | MMMM dd, yyyy hh:mm a |
| `MMMM_DD_COMMA_YYYY_H_HMM` | MMMM dd, yyyy HH:mm |
| `EEEE_MMMM_DD_COMMA_YYYY_HH_MM_A` | EEEE, MMMM dd, yyyy hh:mm a |
| `EEEE_MMMM_DD_COMMA_YYYY_H_HMM` | EEEE, MMMM dd, yyyy HH:mm |
| `ISO8601_FULL` | yyyy-MM-dd'T'HH:mm:ss.SSSXXX |
Loading