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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
303 changes: 294 additions & 9 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ generation:
generateNewTests: false
skipResponseBodyAssertions: false
typescript:
version: 0.4.0
version: 0.5.0
acceptHeaderEnum: true
additionalDependencies:
dependencies: {}
Expand Down Expand Up @@ -65,3 +65,4 @@ typescript:
templateVersion: v2
usageSDKInitImports: []
useIndexModules: true
zodVersion: v3
14 changes: 7 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
speakeasyVersion: 1.637.3
speakeasyVersion: 1.642.2
sources:
Documenso v2 beta API:
sourceNamespace: documenso-v-2-beta-api
sourceRevisionDigest: sha256:5655c327963c859a6b2690d2f07ff5a14c557dae975710c55e1e94a3a8ca03c5
sourceBlobDigest: sha256:628fee4fefdec824deaa24deaf158a9f7e61fea8a997f4e39e47dca425903deb
sourceRevisionDigest: sha256:ff4f48fc34f6b881f9424ef5c267b89f81add5e839bf87d61d8835e1471a2fa8
sourceBlobDigest: sha256:e8b274adf5bf519ed165ef35fa746e25170cadd0fa60656a99fbf0b410a74fbe
tags:
- latest
- speakeasy-sdk-regen-1761011807
- speakeasy-sdk-regen-1761265298
- 0.0.0
targets:
documenso:
source: Documenso v2 beta API
sourceNamespace: documenso-v-2-beta-api
sourceRevisionDigest: sha256:5655c327963c859a6b2690d2f07ff5a14c557dae975710c55e1e94a3a8ca03c5
sourceBlobDigest: sha256:628fee4fefdec824deaa24deaf158a9f7e61fea8a997f4e39e47dca425903deb
sourceRevisionDigest: sha256:ff4f48fc34f6b881f9424ef5c267b89f81add5e839bf87d61d8835e1471a2fa8
sourceBlobDigest: sha256:e8b274adf5bf519ed165ef35fa746e25170cadd0fa60656a99fbf0b410a74fbe
codeSamplesNamespace: documenso-v-2-beta-api-typescript-code-samples
codeSamplesRevisionDigest: sha256:37b05993bb40943f140a099b917322a9f24e727e5a3c86f6caa5551e4cb41b68
codeSamplesRevisionDigest: sha256:b4ea1e19e075d1174a01a68125c0b6a9ce17a1ae79184aa64bce1d2fe290465d
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
8 changes: 4 additions & 4 deletions FUNCTIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ specific category of applications.

```typescript
import { DocumensoCore } from "@documenso/sdk-typescript/core.js";
import { documentsGet } from "@documenso/sdk-typescript/funcs/documentsGet.js";
import { envelopeEnvelopeAttachmentFind } from "@documenso/sdk-typescript/funcs/envelopeEnvelopeAttachmentFind.js";

// Use `DocumensoCore` for best tree-shaking performance.
// You can create one instance of it to use across an application.
Expand All @@ -29,14 +29,14 @@ const documenso = new DocumensoCore({
});

async function run() {
const res = await documentsGet(documenso, {
documentId: 6150.61,
const res = await envelopeEnvelopeAttachmentFind(documenso, {
envelopeId: "<id>",
});
if (res.ok) {
const { value: result } = res;
console.log(result);
} else {
console.log("documentsGet failed:", res.error);
console.log("envelopeEnvelopeAttachmentFind failed:", res.error);
}
}

Expand Down
265 changes: 155 additions & 110 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 @@ -68,4 +68,14 @@ Based on:
### Generated
- [typescript v0.4.0] .
### Releases
- [NPM v0.4.0] https://www.npmjs.com/package/@documenso/sdk-typescript/v/0.4.0 - .
- [NPM v0.4.0] https://www.npmjs.com/package/@documenso/sdk-typescript/v/0.4.0 - .

## 2025-10-30 00:24:35
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.642.2 (2.731.6) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v0.5.0] .
### Releases
- [NPM v0.5.0] https://www.npmjs.com/package/@documenso/sdk-typescript/v/0.5.0 - .
4 changes: 2 additions & 2 deletions USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ const documenso = new Documenso({
});

async function run() {
const result = await documenso.documents.get({
documentId: 6150.61,
const result = await documenso.envelope.envelopeAttachmentFind({
envelopeId: "<id>",
});

console.log(result);
Expand Down
19 changes: 19 additions & 0 deletions docs/models/errors/documentattachmentcreatebadrequesterror.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# DocumentAttachmentCreateBadRequestError

Invalid input data

## Example Usage

```typescript
import { DocumentAttachmentCreateBadRequestError } from "@documenso/sdk-typescript/models/errors";

// No examples available for this model
```

## Fields

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

## Example Usage

```typescript
import { DocumentAttachmentCreateBadRequestIssue } from "@documenso/sdk-typescript/models/errors";

let value: DocumentAttachmentCreateBadRequestIssue = {
message: "<value>",
};
```

## Fields

| Field | Type | Required | Description |
| ------------------ | ------------------ | ------------------ | ------------------ |
| `message` | *string* | :heavy_check_mark: | N/A |
19 changes: 19 additions & 0 deletions docs/models/errors/documentattachmentcreateinternalservererror.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# DocumentAttachmentCreateInternalServerError

Internal server error

## Example Usage

```typescript
import { DocumentAttachmentCreateInternalServerError } from "@documenso/sdk-typescript/models/errors";

// No examples available for this model
```

## Fields

| Field | Type | Required | Description |
| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ |
| `message` | *string* | :heavy_check_mark: | N/A |
| `code` | *string* | :heavy_check_mark: | N/A |
| `issues` | [errors.DocumentAttachmentCreateInternalServerErrorIssue](../../models/errors/documentattachmentcreateinternalservererrorissue.md)[] | :heavy_minus_sign: | N/A |
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# DocumentAttachmentCreateInternalServerErrorIssue

## Example Usage

```typescript
import { DocumentAttachmentCreateInternalServerErrorIssue } from "@documenso/sdk-typescript/models/errors";

let value: DocumentAttachmentCreateInternalServerErrorIssue = {
message: "<value>",
};
```

## Fields

| Field | Type | Required | Description |
| ------------------ | ------------------ | ------------------ | ------------------ |
| `message` | *string* | :heavy_check_mark: | N/A |
19 changes: 19 additions & 0 deletions docs/models/errors/documentattachmentdeletebadrequesterror.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# DocumentAttachmentDeleteBadRequestError

Invalid input data

## Example Usage

```typescript
import { DocumentAttachmentDeleteBadRequestError } from "@documenso/sdk-typescript/models/errors";

// No examples available for this model
```

## Fields

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

## Example Usage

```typescript
import { DocumentAttachmentDeleteBadRequestIssue } from "@documenso/sdk-typescript/models/errors";

let value: DocumentAttachmentDeleteBadRequestIssue = {
message: "<value>",
};
```

## Fields

| Field | Type | Required | Description |
| ------------------ | ------------------ | ------------------ | ------------------ |
| `message` | *string* | :heavy_check_mark: | N/A |
19 changes: 19 additions & 0 deletions docs/models/errors/documentattachmentdeleteinternalservererror.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# DocumentAttachmentDeleteInternalServerError

Internal server error

## Example Usage

```typescript
import { DocumentAttachmentDeleteInternalServerError } from "@documenso/sdk-typescript/models/errors";

// No examples available for this model
```

## Fields

| Field | Type | Required | Description |
| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ |
| `message` | *string* | :heavy_check_mark: | N/A |
| `code` | *string* | :heavy_check_mark: | N/A |
| `issues` | [errors.DocumentAttachmentDeleteInternalServerErrorIssue](../../models/errors/documentattachmentdeleteinternalservererrorissue.md)[] | :heavy_minus_sign: | N/A |
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# DocumentAttachmentDeleteInternalServerErrorIssue

## Example Usage

```typescript
import { DocumentAttachmentDeleteInternalServerErrorIssue } from "@documenso/sdk-typescript/models/errors";

let value: DocumentAttachmentDeleteInternalServerErrorIssue = {
message: "<value>",
};
```

## Fields

| Field | Type | Required | Description |
| ------------------ | ------------------ | ------------------ | ------------------ |
| `message` | *string* | :heavy_check_mark: | N/A |
19 changes: 19 additions & 0 deletions docs/models/errors/documentattachmentfindbadrequesterror.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# DocumentAttachmentFindBadRequestError

Invalid input data

## Example Usage

```typescript
import { DocumentAttachmentFindBadRequestError } from "@documenso/sdk-typescript/models/errors";

// No examples available for this model
```

## Fields

| Field | Type | Required | Description |
| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- |
| `message` | *string* | :heavy_check_mark: | N/A |
| `code` | *string* | :heavy_check_mark: | N/A |
| `issues` | [errors.DocumentAttachmentFindBadRequestIssue](../../models/errors/documentattachmentfindbadrequestissue.md)[] | :heavy_minus_sign: | N/A |
Loading