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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .fern/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
"version": "1.21"
}
},
"originGitCommit": "32635f40577b214f6a6b3189a2271425c3a574fd",
"originGitCommit": "1345fb7a45ee660a352774d29decce25cb54b8ea",
"originGitCommitIsDirty": false,
"invokedBy": "ci",
"requestedVersion": "3.0.0-next.6",
"requestedVersion": "3.0.0-next.7",
"ciProvider": "github",
"sdkVersion": "v3.0.0-next.6"
"sdkVersion": "v3.0.0-next.7"
}
8 changes: 4 additions & 4 deletions cloudpdf-generation.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"language": "go",
"canonicalVersion": "3.0.0-next.6",
"sdkVersion": "3.0.0-next.6",
"canonicalVersion": "3.0.0-next.7",
"sdkVersion": "3.0.0-next.7",
"source": {
"repository": "embedpdf/embed-pdf-viewer",
"openapi": "cloudpdf/contract/openapi.json",
"openapiSha256": "b3e236a932673e27e05825352e1bc3675369d7505040bf7d7760e542aae8d38d",
"gitCommit": "32635f40577b214f6a6b3189a2271425c3a574fd",
"openapiSha256": "f6fc610bfd193f278a7e8ec063d9e96b8fef86bdec7ade5e7bc4b19879673147",
"gitCommit": "1345fb7a45ee660a352774d29decce25cb54b8ea",
"gitCommitIsDirty": false
},
"fern": {
Expand Down
4 changes: 2 additions & 2 deletions core/request_option.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

61 changes: 41 additions & 20 deletions documents.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -1721,15 +1721,15 @@ client.Documents.ImportFrom(
<dl>
<dd>

**source:** `*cloudpdf.DocumentsImportFromRequestSource`
**source:** `*cloudpdf.DocumentsImportFromRequestSource` — Where CloudPDF pulls the bytes from. The two shapes differ in WHO supplies the authority to read, not in which storage vendor holds the file.

</dd>
</dl>

<dl>
<dd>

**expected:** `*cloudpdf.DocumentsImportFromRequestExpected`
**expected:** `*cloudpdf.DocumentsImportFromRequestExpected` — Integrity pins, enforced when present. When absent, the server-observed values become authoritative.

</dd>
</dl>
Expand All @@ -1745,15 +1745,15 @@ client.Documents.ImportFrom(
<dl>
<dd>

**idempotencyKey:** `*string`
**idempotencyKey:** `*string` — Retrying with the same key resumes the same document rather than importing a second copy — including after a 502.

</dd>
</dl>

<dl>
<dd>

**dedupMode:** `*cloudpdf.DocumentsImportFromRequestDedupMode`
**dedupMode:** `*cloudpdf.DocumentsImportFromRequestDedupMode` — always-create (default) creates a new document every time. reuse-existing returns a document that already holds the same content instead of storing it twice.

</dd>
</dl>
Expand All @@ -1769,7 +1769,7 @@ client.Documents.ImportFrom(
<dl>
<dd>

**mode:** `*cloudpdf.DocumentsImportFromRequestMode`
**mode:** `*cloudpdf.DocumentsImportFromRequestMode` — sync (default) holds the response open for the whole transfer. async answers 202 with the document pending and transfers in the background; it requires a connection source, and filesystem connections additionally require expected.sha256.

</dd>
</dl>
Expand Down Expand Up @@ -1857,7 +1857,7 @@ client.Documents.Init(
<dl>
<dd>

**dedupMode:** `*cloudpdf.DocumentsInitRequestDedupMode`
**dedupMode:** `*cloudpdf.DocumentsInitRequestDedupMode` — always-create (default) creates a new document every time. reuse-existing returns a document that already holds the same content instead of storing it twice.

</dd>
</dl>
Expand Down
Loading