Skip to content

Commit a89b985

Browse files
cloudpdf-sdk-release[bot]cloudpdf-sdk-bot
andauthored
chore: generate CloudPDF Go SDK 3.0.0-next.7 (#9)
Co-authored-by: cloudpdf-sdk-bot <hello@cloudpdf.com>
1 parent d18f3e5 commit a89b985

5 files changed

Lines changed: 56 additions & 35 deletions

File tree

.fern/metadata.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
"version": "1.21"
1010
}
1111
},
12-
"originGitCommit": "32635f40577b214f6a6b3189a2271425c3a574fd",
12+
"originGitCommit": "1345fb7a45ee660a352774d29decce25cb54b8ea",
1313
"originGitCommitIsDirty": false,
1414
"invokedBy": "ci",
15-
"requestedVersion": "3.0.0-next.6",
15+
"requestedVersion": "3.0.0-next.7",
1616
"ciProvider": "github",
17-
"sdkVersion": "v3.0.0-next.6"
17+
"sdkVersion": "v3.0.0-next.7"
1818
}

cloudpdf-generation.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"language": "go",
3-
"canonicalVersion": "3.0.0-next.6",
4-
"sdkVersion": "3.0.0-next.6",
3+
"canonicalVersion": "3.0.0-next.7",
4+
"sdkVersion": "3.0.0-next.7",
55
"source": {
66
"repository": "embedpdf/embed-pdf-viewer",
77
"openapi": "cloudpdf/contract/openapi.json",
8-
"openapiSha256": "b3e236a932673e27e05825352e1bc3675369d7505040bf7d7760e542aae8d38d",
9-
"gitCommit": "32635f40577b214f6a6b3189a2271425c3a574fd",
8+
"openapiSha256": "f6fc610bfd193f278a7e8ec063d9e96b8fef86bdec7ade5e7bc4b19879673147",
9+
"gitCommit": "1345fb7a45ee660a352774d29decce25cb54b8ea",
1010
"gitCommitIsDirty": false
1111
},
1212
"fern": {

core/request_option.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

documents.go

Lines changed: 41 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

reference.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1721,15 +1721,15 @@ client.Documents.ImportFrom(
17211721
<dl>
17221722
<dd>
17231723

1724-
**source:** `*cloudpdf.DocumentsImportFromRequestSource`
1724+
**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.
17251725

17261726
</dd>
17271727
</dl>
17281728

17291729
<dl>
17301730
<dd>
17311731

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

17341734
</dd>
17351735
</dl>
@@ -1745,15 +1745,15 @@ client.Documents.ImportFrom(
17451745
<dl>
17461746
<dd>
17471747

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

17501750
</dd>
17511751
</dl>
17521752

17531753
<dl>
17541754
<dd>
17551755

1756-
**dedupMode:** `*cloudpdf.DocumentsImportFromRequestDedupMode`
1756+
**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.
17571757

17581758
</dd>
17591759
</dl>
@@ -1769,7 +1769,7 @@ client.Documents.ImportFrom(
17691769
<dl>
17701770
<dd>
17711771

1772-
**mode:** `*cloudpdf.DocumentsImportFromRequestMode`
1772+
**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.
17731773

17741774
</dd>
17751775
</dl>
@@ -1857,7 +1857,7 @@ client.Documents.Init(
18571857
<dl>
18581858
<dd>
18591859

1860-
**dedupMode:** `*cloudpdf.DocumentsInitRequestDedupMode`
1860+
**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.
18611861

18621862
</dd>
18631863
</dl>

0 commit comments

Comments
 (0)