Skip to content
Closed
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,412 changes: 2,314 additions & 98 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

7 changes: 6 additions & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,21 @@ generation:
hoistGlobalSecurity: true
schemas:
allOfMergeStrategy: shallowMerge
requestBodyFieldName: ""
tests:
generateTests: true
generateNewTests: false
skipResponseBodyAssertions: false
typescript:
version: 0.4.0
version: 0.5.0
acceptHeaderEnum: true
additionalDependencies:
dependencies: {}
devDependencies: {}
peerDependencies: {}
additionalPackageJSON: {}
additionalScripts: {}
alwaysIncludeInboundAndOutbound: false
author: Speakeasy
baseErrorName: DocumensoError
clientServerStatusCodesAsErrors: true
Expand All @@ -41,6 +44,7 @@ typescript:
enableReactQuery: false
enumFormat: union
envVarPrefix: DOCUMENSO
exportZodModelNamespace: false
flattenGlobalSecurity: true
flatteningOrder: parameters-first
generateExamples: true
Expand All @@ -65,3 +69,4 @@ typescript:
templateVersion: v2
usageSDKInitImports: []
useIndexModules: true
zodVersion: v3
16 changes: 8 additions & 8 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
speakeasyVersion: 1.637.3
speakeasyVersion: 1.653.2
sources:
Documenso v2 beta API:
sourceNamespace: documenso-v-2-beta-api
sourceRevisionDigest: sha256:5655c327963c859a6b2690d2f07ff5a14c557dae975710c55e1e94a3a8ca03c5
sourceBlobDigest: sha256:628fee4fefdec824deaa24deaf158a9f7e61fea8a997f4e39e47dca425903deb
sourceRevisionDigest: sha256:c36148dc6a0d25c25549617f8ff7ae19d3c3dd69895c1e84a1bbfa5b024a4de5
sourceBlobDigest: sha256:6c1c804f34e607dafffefca65879e359438c0757200f6101ac1cf906bffe010f
tags:
- latest
- speakeasy-sdk-regen-1761011807
- 0.0.0
- speakeasy-sdk-regen-1761265298
- 1.0.0
targets:
documenso:
source: Documenso v2 beta API
sourceNamespace: documenso-v-2-beta-api
sourceRevisionDigest: sha256:5655c327963c859a6b2690d2f07ff5a14c557dae975710c55e1e94a3a8ca03c5
sourceBlobDigest: sha256:628fee4fefdec824deaa24deaf158a9f7e61fea8a997f4e39e47dca425903deb
sourceRevisionDigest: sha256:c36148dc6a0d25c25549617f8ff7ae19d3c3dd69895c1e84a1bbfa5b024a4de5
sourceBlobDigest: sha256:6c1c804f34e607dafffefca65879e359438c0757200f6101ac1cf906bffe010f
codeSamplesNamespace: documenso-v-2-beta-api-typescript-code-samples
codeSamplesRevisionDigest: sha256:37b05993bb40943f140a099b917322a9f24e727e5a3c86f6caa5551e4cb41b68
codeSamplesRevisionDigest: sha256:91c412fdfcda558cb9b3e23ac93ad32fa9a9c605314ae53452f1b3e8674cbc2c
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 { envelopeAttachmentsEnvelopeAttachmentFind } from "@documenso/sdk-typescript/funcs/envelopeAttachmentsEnvelopeAttachmentFind.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 envelopeAttachmentsEnvelopeAttachmentFind(documenso, {
envelopeId: "<id>",
});
if (res.ok) {
const { value: result } = res;
console.log(result);
} else {
console.log("documentsGet failed:", res.error);
console.log("envelopeAttachmentsEnvelopeAttachmentFind failed:", res.error);
}
}

Expand Down
514 changes: 402 additions & 112 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-11-12 00:24:31
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.653.2 (2.748.4) 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.envelopeAttachments.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/documentattachmentcreateforbiddenerror.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# DocumentAttachmentCreateForbiddenError

Insufficient access

## Example Usage

```typescript
import { DocumentAttachmentCreateForbiddenError } 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.DocumentAttachmentCreateForbiddenIssue](../../models/errors/documentattachmentcreateforbiddenissue.md)[] | :heavy_minus_sign: | N/A |
17 changes: 17 additions & 0 deletions docs/models/errors/documentattachmentcreateforbiddenissue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# DocumentAttachmentCreateForbiddenIssue

## Example Usage

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

let value: DocumentAttachmentCreateForbiddenIssue = {
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/documentattachmentcreateunauthorizederror.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# DocumentAttachmentCreateUnauthorizedError

Authorization not provided

## Example Usage

```typescript
import { DocumentAttachmentCreateUnauthorizedError } 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.DocumentAttachmentCreateUnauthorizedIssue](../../models/errors/documentattachmentcreateunauthorizedissue.md)[] | :heavy_minus_sign: | N/A |
17 changes: 17 additions & 0 deletions docs/models/errors/documentattachmentcreateunauthorizedissue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# DocumentAttachmentCreateUnauthorizedIssue

## Example Usage

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

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

## Fields

| Field | Type | Required | Description |
| ------------------ | ------------------ | ------------------ | ------------------ |
| `message` | *string* | :heavy_check_mark: | N/A |
Loading