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
4 changes: 2 additions & 2 deletions .fern/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
"base-exception-class-name": "CloudPDFException",
"base-api-exception-class-name": "CloudPDFApiException"
},
"originGitCommit": "08782e4eef6cd6ccce4b6a6883408d9915a2d7c4",
"originGitCommit": "b0888bd6ca83627cb07ea05c440e35c183cebbd0",
"originGitCommitIsDirty": false,
"invokedBy": "ci",
"requestedVersion": "3.0.0-alpha.11",
"requestedVersion": "3.0.0-alpha.12",
"ciProvider": "github"
}
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ java {

group = 'com.cloudpdf'

version = '3.0.0-alpha.11'
version = '3.0.0-alpha.12'

jar {
dependsOn(":generatePomFileForMavenPublication")
Expand All @@ -73,7 +73,7 @@ publishing {
maven(MavenPublication) {
groupId = 'com.cloudpdf'
artifactId = 'sdk'
version = '3.0.0-alpha.11'
version = '3.0.0-alpha.12'
from components.java
pom {
name = 'CloudPDF'
Expand Down
8 changes: 4 additions & 4 deletions cloudpdf-generation.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"language": "java",
"canonicalVersion": "3.0.0-next.11",
"sdkVersion": "3.0.0-alpha.11",
"canonicalVersion": "3.0.0-next.12",
"sdkVersion": "3.0.0-alpha.12",
"source": {
"repository": "embedpdf/embed-pdf-viewer",
"openapi": "cloudpdf/contract/openapi.json",
"openapiSha256": "7bc0eea37724b3e359b0437edc3102b137e3d3f499293c89bb2b3293c6e3b614",
"gitCommit": "08782e4eef6cd6ccce4b6a6883408d9915a2d7c4",
"openapiSha256": "501ec54f2f28089dc8a3cf3a8d2ff3ade44c6c35d47977a3dfa47465fb83a049",
"gitCommit": "b0888bd6ca83627cb07ea05c440e35c183cebbd0",
"gitCommitIsDirty": false
},
"fern": {
Expand Down
320 changes: 320 additions & 0 deletions reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -2446,6 +2446,176 @@ client.doc().annotations().update(
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.doc.annotations.exportAppearance(docId, layerName, pon, request) -> InputStream</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```java
client.doc().annotations().exportAppearance(
"docId",
"layerName",
1,
ExportAppearanceAnnotationsRequest
.builder()
.body(
new HashMap<String, Object>() {{
put("string", new
HashMap<String, Object>() {{put("key", "value");
}});
}}
)
.build()
);
```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**docId:** `String`

</dd>
</dl>

<dl>
<dd>

**layerName:** `String`

</dd>
</dl>

<dl>
<dd>

**pon:** `Integer`

</dd>
</dl>

<dl>
<dd>

**documentPassword:** `Optional<String>` — Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead.

</dd>
</dl>

<dl>
<dd>

**request:** `Map<String, Object>`

</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.doc.annotations.flatten(docId, layerName, pon, request) -> DocAnnotationsFlatten200Response</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```java
client.doc().annotations().flatten(
"docId",
"layerName",
1,
FlattenAnnotationsRequest
.builder()
.body(
new HashMap<String, Object>() {{
put("key", "value");
}}
)
.build()
);
```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**docId:** `String`

</dd>
</dl>

<dl>
<dd>

**layerName:** `String`

</dd>
</dl>

<dl>
<dd>

**pon:** `Integer`

</dd>
</dl>

<dl>
<dd>

**documentPassword:** `Optional<String>` — Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead.

</dd>
</dl>

<dl>
<dd>

**request:** `Map<String, Object>`

</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>
Expand Down Expand Up @@ -3355,6 +3525,156 @@ client.doc().pages().move(
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.doc.pages.setName(docId, layerName, request) -> DocPagesSetName200Response</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```java
client.doc().pages().setName(
"docId",
"layerName",
SetNamePagesRequest
.builder()
.body(
new HashMap<String, Object>() {{
put("key", "value");
}}
)
.build()
);
```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**docId:** `String`

</dd>
</dl>

<dl>
<dd>

**layerName:** `String`

</dd>
</dl>

<dl>
<dd>

**documentPassword:** `Optional<String>` — Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead.

</dd>
</dl>

<dl>
<dd>

**request:** `Map<String, Object>`

</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.doc.pages.removeName(docId, layerName, request) -> DocPagesRemoveName200Response</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```java
client.doc().pages().removeName(
"docId",
"layerName",
RemoveNamePagesRequest
.builder()
.body(
new HashMap<String, Object>() {{
put("key", "value");
}}
)
.build()
);
```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**docId:** `String`

</dd>
</dl>

<dl>
<dd>

**layerName:** `String`

</dd>
</dl>

<dl>
<dd>

**documentPassword:** `Optional<String>` — Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead.

</dd>
</dl>

<dl>
<dd>

**request:** `Map<String, Object>`

</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/api/core/ClientOptions.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ private ClientOptions(
{
put("X-Fern-Language", "JAVA");
put("X-Fern-SDK-Name", "com.cloudpdf:sdk");
put("X-Fern-SDK-Version", "3.0.0-alpha.11");
put("X-Fern-SDK-Version", "3.0.0-alpha.12");
}
});
this.headerSuppliers = headerSuppliers;
Expand Down
Loading
Loading