Skip to content

Commit bd7b5d0

Browse files
author
cloudpdf-sdk-bot
committed
chore: generate CloudPDF Python SDK 3.0.0a14
1 parent 5b66902 commit bd7b5d0

246 files changed

Lines changed: 8001 additions & 9 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.fern/metadata.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
"client_class_name": "CloudPDFClient",
88
"environment_class_name": "CloudPDFEnvironment"
99
},
10-
"originGitCommit": "5f2d480665034420df58c19fd1328b0823104e0f",
10+
"originGitCommit": "b7dddfba5011349a40db7878b5cbc8685b2d42cf",
1111
"originGitCommitIsDirty": false,
1212
"invokedBy": "ci",
13-
"requestedVersion": "3.0.0a13",
13+
"requestedVersion": "3.0.0a14",
1414
"ciProvider": "github"
1515
}

‎cloudpdf-generation.json‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"language": "python",
3-
"canonicalVersion": "3.0.0-next.13",
4-
"sdkVersion": "3.0.0a13",
3+
"canonicalVersion": "3.0.0-next.14",
4+
"sdkVersion": "3.0.0a14",
55
"source": {
66
"repository": "embedpdf/embed-pdf-viewer",
77
"openapi": "cloudpdf/contract/openapi.json",
8-
"openapiSha256": "a472da9c7aed5db7f2b6b1f67f1b6268a9407afe9e7cf879ac04b878b4fc9dc7",
9-
"gitCommit": "5f2d480665034420df58c19fd1328b0823104e0f",
8+
"openapiSha256": "188ea071e3534971638ee3d1fb1f19c77f36e04b2a783f5eefdbe67326527ea6",
9+
"gitCommit": "b7dddfba5011349a40db7878b5cbc8685b2d42cf",
1010
"gitCommitIsDirty": false
1111
},
1212
"fern": {

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ dynamic = ["version"]
44

55
[tool.poetry]
66
name = "cloudpdf"
7-
version = "3.0.0a13"
7+
version = "3.0.0a14"
88
description = "The official Python SDK for the CloudPDF API."
99
readme = "README.md"
1010
authors = ["CloudPDF <hello@cloudpdf.com>"]

‎reference.md‎

Lines changed: 176 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3600,6 +3600,182 @@ client.doc.metadata.get(
36003600
</details>
36013601

36023602
## Doc Pages
3603+
<details><summary><code>client.doc.pages.<a href="src/cloudpdf/doc/pages/client.py">set_scale</a>(...) -> DocPagesSetScale200Response</code></summary>
3604+
<dl>
3605+
<dd>
3606+
3607+
#### 🔌 Usage
3608+
3609+
<dl>
3610+
<dd>
3611+
3612+
<dl>
3613+
<dd>
3614+
3615+
```python
3616+
from cloudpdf import CloudPDFClient
3617+
3618+
client = CloudPDFClient(
3619+
token="<token>",
3620+
base_url="https://yourhost.com/path/to/api",
3621+
)
3622+
3623+
client.doc.pages.set_scale(
3624+
doc_id="docId",
3625+
layer_name="layerName",
3626+
pon=1,
3627+
)
3628+
3629+
```
3630+
</dd>
3631+
</dl>
3632+
</dd>
3633+
</dl>
3634+
3635+
#### ⚙️ Parameters
3636+
3637+
<dl>
3638+
<dd>
3639+
3640+
<dl>
3641+
<dd>
3642+
3643+
**doc_id:** `str`
3644+
3645+
</dd>
3646+
</dl>
3647+
3648+
<dl>
3649+
<dd>
3650+
3651+
**layer_name:** `str`
3652+
3653+
</dd>
3654+
</dl>
3655+
3656+
<dl>
3657+
<dd>
3658+
3659+
**pon:** `int`
3660+
3661+
</dd>
3662+
</dl>
3663+
3664+
<dl>
3665+
<dd>
3666+
3667+
**document_password:** `typing.Optional[str]` — 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.
3668+
3669+
</dd>
3670+
</dl>
3671+
3672+
<dl>
3673+
<dd>
3674+
3675+
**measure:** `typing.Optional[DocPagesSetScaleRequestMeasure]`
3676+
3677+
</dd>
3678+
</dl>
3679+
3680+
<dl>
3681+
<dd>
3682+
3683+
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
3684+
3685+
</dd>
3686+
</dl>
3687+
</dd>
3688+
</dl>
3689+
3690+
3691+
</dd>
3692+
</dl>
3693+
</details>
3694+
3695+
<details><summary><code>client.doc.pages.<a href="src/cloudpdf/doc/pages/client.py">viewports</a>(...) -> DocPagesViewports200Response</code></summary>
3696+
<dl>
3697+
<dd>
3698+
3699+
#### 🔌 Usage
3700+
3701+
<dl>
3702+
<dd>
3703+
3704+
<dl>
3705+
<dd>
3706+
3707+
```python
3708+
from cloudpdf import CloudPDFClient
3709+
3710+
client = CloudPDFClient(
3711+
token="<token>",
3712+
base_url="https://yourhost.com/path/to/api",
3713+
)
3714+
3715+
client.doc.pages.viewports(
3716+
doc_id="docId",
3717+
layer_name="layerName",
3718+
pon=1,
3719+
)
3720+
3721+
```
3722+
</dd>
3723+
</dl>
3724+
</dd>
3725+
</dl>
3726+
3727+
#### ⚙️ Parameters
3728+
3729+
<dl>
3730+
<dd>
3731+
3732+
<dl>
3733+
<dd>
3734+
3735+
**doc_id:** `str`
3736+
3737+
</dd>
3738+
</dl>
3739+
3740+
<dl>
3741+
<dd>
3742+
3743+
**layer_name:** `str`
3744+
3745+
</dd>
3746+
</dl>
3747+
3748+
<dl>
3749+
<dd>
3750+
3751+
**pon:** `int`
3752+
3753+
</dd>
3754+
</dl>
3755+
3756+
<dl>
3757+
<dd>
3758+
3759+
**document_password:** `typing.Optional[str]` — 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.
3760+
3761+
</dd>
3762+
</dl>
3763+
3764+
<dl>
3765+
<dd>
3766+
3767+
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
3768+
3769+
</dd>
3770+
</dl>
3771+
</dd>
3772+
</dl>
3773+
3774+
3775+
</dd>
3776+
</dl>
3777+
</details>
3778+
36033779
<details><summary><code>client.doc.pages.<a href="src/cloudpdf/doc/pages/client.py">delete</a>(...) -> DocPagesDelete200Response</code></summary>
36043780
<dl>
36053781
<dd>

0 commit comments

Comments
 (0)