diff --git a/.fern/metadata.json b/.fern/metadata.json
index fe05088..db8011b 100644
--- a/.fern/metadata.json
+++ b/.fern/metadata.json
@@ -10,9 +10,9 @@
"base-exception-class-name": "CloudPDFException",
"base-api-exception-class-name": "CloudPDFApiException"
},
- "originGitCommit": "32635f40577b214f6a6b3189a2271425c3a574fd",
+ "originGitCommit": "1345fb7a45ee660a352774d29decce25cb54b8ea",
"originGitCommitIsDirty": false,
"invokedBy": "ci",
- "requestedVersion": "3.0.0-alpha.6",
+ "requestedVersion": "3.0.0-alpha.7",
"ciProvider": "github"
}
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
index 9f4d9c5..918fdb9 100644
--- a/build.gradle
+++ b/build.gradle
@@ -46,7 +46,7 @@ java {
group = 'com.cloudpdf'
-version = '3.0.0-alpha.6'
+version = '3.0.0-alpha.7'
jar {
dependsOn(":generatePomFileForMavenPublication")
@@ -73,7 +73,7 @@ publishing {
maven(MavenPublication) {
groupId = 'com.cloudpdf'
artifactId = 'sdk'
- version = '3.0.0-alpha.6'
+ version = '3.0.0-alpha.7'
from components.java
pom {
name = 'CloudPDF'
diff --git a/cloudpdf-generation.json b/cloudpdf-generation.json
index 9ce216f..fd3152d 100644
--- a/cloudpdf-generation.json
+++ b/cloudpdf-generation.json
@@ -1,12 +1,12 @@
{
"language": "java",
- "canonicalVersion": "3.0.0-next.6",
- "sdkVersion": "3.0.0-alpha.6",
+ "canonicalVersion": "3.0.0-next.7",
+ "sdkVersion": "3.0.0-alpha.7",
"source": {
"repository": "embedpdf/embed-pdf-viewer",
"openapi": "cloudpdf/contract/openapi.json",
- "openapiSha256": "b3e236a932673e27e05825352e1bc3675369d7505040bf7d7760e542aae8d38d",
- "gitCommit": "32635f40577b214f6a6b3189a2271425c3a574fd",
+ "openapiSha256": "f6fc610bfd193f278a7e8ec063d9e96b8fef86bdec7ade5e7bc4b19879673147",
+ "gitCommit": "1345fb7a45ee660a352774d29decce25cb54b8ea",
"gitCommitIsDirty": false
},
"fern": {
diff --git a/reference.md b/reference.md
index 4026764..028f79c 100644
--- a/reference.md
+++ b/reference.md
@@ -1695,7 +1695,7 @@ client.documents().importFrom(
-
-**source:** `DocumentsImportFromRequestSource`
+**source:** `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.
@@ -1703,7 +1703,7 @@ client.documents().importFrom(
-
-**expected:** `Optional`
+**expected:** `Optional` — Integrity pins, enforced when present. When absent, the server-observed values become authoritative.
@@ -1719,7 +1719,7 @@ client.documents().importFrom(
-
-**idempotencyKey:** `Optional`
+**idempotencyKey:** `Optional` — Retrying with the same key resumes the same document rather than importing a second copy — including after a 502.
@@ -1727,7 +1727,7 @@ client.documents().importFrom(
-
-**dedupMode:** `Optional`
+**dedupMode:** `Optional` — 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.
@@ -1743,7 +1743,7 @@ client.documents().importFrom(
-
-**mode:** `Optional`
+**mode:** `Optional` — 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.
@@ -1830,7 +1830,7 @@ client.documents().init(
-
-**dedupMode:** `Optional`
+**dedupMode:** `Optional` — 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.
diff --git a/src/main/java/api/core/ClientOptions.java b/src/main/java/api/core/ClientOptions.java
index 271062f..336704a 100644
--- a/src/main/java/api/core/ClientOptions.java
+++ b/src/main/java/api/core/ClientOptions.java
@@ -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.6");
+ put("X-Fern-SDK-Version", "3.0.0-alpha.7");
}
});
this.headerSuppliers = headerSuppliers;
diff --git a/src/main/java/api/resources/documents/requests/DocumentsImportFromRequest.java b/src/main/java/api/resources/documents/requests/DocumentsImportFromRequest.java
index a190cdf..521ad7b 100644
--- a/src/main/java/api/resources/documents/requests/DocumentsImportFromRequest.java
+++ b/src/main/java/api/resources/documents/requests/DocumentsImportFromRequest.java
@@ -60,11 +60,17 @@ private DocumentsImportFromRequest(
this.additionalProperties = additionalProperties;
}
+ /**
+ * @return 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.
+ */
@JsonProperty("source")
public DocumentsImportFromRequestSource getSource() {
return source;
}
+ /**
+ * @return Integrity pins, enforced when present. When absent, the server-observed values become authoritative.
+ */
@JsonProperty("expected")
public Optional getExpected() {
return expected;
@@ -75,11 +81,17 @@ public Optional