cloudpdf 3.0.0.alpha.6 → 3.0.0.alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.fern/metadata.json +2 -2
- data/lib/CloudPDF/documents/types/documents_import_from_request_expected.rb +1 -0
- data/lib/CloudPDF/documents/types/documents_import_from_request_source.rb +2 -0
- data/lib/CloudPDF/documents/types/documents_import_from_request_source_connection.rb +2 -0
- data/lib/CloudPDF/documents/types/documents_import_from_request_source_url.rb +3 -0
- data/lib/CloudPDF/version.rb +1 -1
- data/reference.md +6 -6
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3b5d667e02d713992d73f05628e284f88296a6ba5074f4a7a3ba39973a508bd4
|
|
4
|
+
data.tar.gz: 31ca047a8eb76373d2364fef4849a249f88734866c5c42b40ed3bc02177b0973
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f7dc2d0efc8f66899706f4d643d87efeefd2115d3114bde0f672a2f3bd4a9fe5fa35cc2655e9e6e18cfd67bf8bf308d7ce51255a2a06b028a2d20de4490ec91e
|
|
7
|
+
data.tar.gz: 12477c22fa854372c21584dbfb83931e2e318497ee761988c0f8e5baef7aad6a098e59baf465bb5da433475713dea1fd831c68df79dcdb7c04a803f2105d9665
|
data/.fern/metadata.json
CHANGED
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
"generatorConfig": {
|
|
6
6
|
"moduleName": "CloudPDF"
|
|
7
7
|
},
|
|
8
|
-
"originGitCommit": "
|
|
8
|
+
"originGitCommit": "1345fb7a45ee660a352774d29decce25cb54b8ea",
|
|
9
9
|
"originGitCommitIsDirty": false,
|
|
10
10
|
"invokedBy": "ci",
|
|
11
|
-
"requestedVersion": "3.0.0.alpha.
|
|
11
|
+
"requestedVersion": "3.0.0.alpha.7",
|
|
12
12
|
"ciProvider": "github"
|
|
13
13
|
}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
module CloudPDF
|
|
4
4
|
module Documents
|
|
5
5
|
module Types
|
|
6
|
+
# Integrity pins, enforced when present. When absent, the server-observed values become authoritative.
|
|
6
7
|
class DocumentsImportFromRequestExpected < Internal::Types::Model
|
|
7
8
|
field :size_bytes, -> { Integer }, optional: true, nullable: false, api_name: "sizeBytes"
|
|
8
9
|
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
module CloudPDF
|
|
4
4
|
module Documents
|
|
5
5
|
module Types
|
|
6
|
+
# Where CloudPDF pulls the bytes from. The two shapes differ in WHO supplies the authority to read, not in which
|
|
7
|
+
# storage vendor holds the file.
|
|
6
8
|
class DocumentsImportFromRequestSource < Internal::Types::Model
|
|
7
9
|
extend CloudPDF::Internal::Types::Union
|
|
8
10
|
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
module CloudPDF
|
|
4
4
|
module Documents
|
|
5
5
|
module Types
|
|
6
|
+
# The operator pre-registered the authority: the request names a connection and a key inside it. Which provider
|
|
7
|
+
# backs the connection (S3, GCS, Azure Blob, filesystem, ...) is deployment configuration, never wire surface.
|
|
6
8
|
class DocumentsImportFromRequestSourceConnection < Internal::Types::Model
|
|
7
9
|
field :connection_id, -> { String }, optional: false, nullable: false, api_name: "connectionId"
|
|
8
10
|
|
|
@@ -3,6 +3,9 @@
|
|
|
3
3
|
module CloudPDF
|
|
4
4
|
module Documents
|
|
5
5
|
module Types
|
|
6
|
+
# The caller supplies the authority: a presigned S3/GCS/Azure/R2/MinIO GET, or any HTTPS endpoint the deployment
|
|
7
|
+
# import policy allows. The URL is a capability — treat it as a secret. CloudPDF never echoes its query string
|
|
8
|
+
# back in errors, logs, or stored failure reasons.
|
|
6
9
|
class DocumentsImportFromRequestSourceURL < Internal::Types::Model
|
|
7
10
|
field :url, -> { String }, optional: false, nullable: false
|
|
8
11
|
end
|
data/lib/CloudPDF/version.rb
CHANGED
data/reference.md
CHANGED
|
@@ -1801,7 +1801,7 @@ client.documents.import_from(tenant_id: "tenantId")
|
|
|
1801
1801
|
<dl>
|
|
1802
1802
|
<dd>
|
|
1803
1803
|
|
|
1804
|
-
**source:** `CloudPDF::Documents::Types::DocumentsImportFromRequestSource`
|
|
1804
|
+
**source:** `CloudPDF::Documents::Types::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.
|
|
1805
1805
|
|
|
1806
1806
|
</dd>
|
|
1807
1807
|
</dl>
|
|
@@ -1809,7 +1809,7 @@ client.documents.import_from(tenant_id: "tenantId")
|
|
|
1809
1809
|
<dl>
|
|
1810
1810
|
<dd>
|
|
1811
1811
|
|
|
1812
|
-
**expected:** `CloudPDF::Documents::Types::DocumentsImportFromRequestExpected`
|
|
1812
|
+
**expected:** `CloudPDF::Documents::Types::DocumentsImportFromRequestExpected` — Integrity pins, enforced when present. When absent, the server-observed values become authoritative.
|
|
1813
1813
|
|
|
1814
1814
|
</dd>
|
|
1815
1815
|
</dl>
|
|
@@ -1825,7 +1825,7 @@ client.documents.import_from(tenant_id: "tenantId")
|
|
|
1825
1825
|
<dl>
|
|
1826
1826
|
<dd>
|
|
1827
1827
|
|
|
1828
|
-
**idempotency_key:** `String`
|
|
1828
|
+
**idempotency_key:** `String` — Retrying with the same key resumes the same document rather than importing a second copy — including after a 502.
|
|
1829
1829
|
|
|
1830
1830
|
</dd>
|
|
1831
1831
|
</dl>
|
|
@@ -1833,7 +1833,7 @@ client.documents.import_from(tenant_id: "tenantId")
|
|
|
1833
1833
|
<dl>
|
|
1834
1834
|
<dd>
|
|
1835
1835
|
|
|
1836
|
-
**dedup_mode:** `CloudPDF::Documents::Types::DocumentsImportFromRequestDedupMode`
|
|
1836
|
+
**dedup_mode:** `CloudPDF::Documents::Types::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.
|
|
1837
1837
|
|
|
1838
1838
|
</dd>
|
|
1839
1839
|
</dl>
|
|
@@ -1849,7 +1849,7 @@ client.documents.import_from(tenant_id: "tenantId")
|
|
|
1849
1849
|
<dl>
|
|
1850
1850
|
<dd>
|
|
1851
1851
|
|
|
1852
|
-
**mode:** `CloudPDF::Documents::Types::DocumentsImportFromRequestMode`
|
|
1852
|
+
**mode:** `CloudPDF::Documents::Types::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.
|
|
1853
1853
|
|
|
1854
1854
|
</dd>
|
|
1855
1855
|
</dl>
|
|
@@ -1941,7 +1941,7 @@ client.documents.init(
|
|
|
1941
1941
|
<dl>
|
|
1942
1942
|
<dd>
|
|
1943
1943
|
|
|
1944
|
-
**dedup_mode:** `CloudPDF::Documents::Types::DocumentsInitRequestDedupMode`
|
|
1944
|
+
**dedup_mode:** `CloudPDF::Documents::Types::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.
|
|
1945
1945
|
|
|
1946
1946
|
</dd>
|
|
1947
1947
|
</dl>
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cloudpdf
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.0.alpha.
|
|
4
|
+
version: 3.0.0.alpha.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- CloudPDF
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-08-
|
|
11
|
+
date: 2026-08-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: A typed Ruby client for deployment, tenant, and document operations in
|
|
14
14
|
the CloudPDF API.
|