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
6 changes: 3 additions & 3 deletions .fern/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
"homepage": "https://www.cloudpdf.com"
}
},
"originGitCommit": "08782e4eef6cd6ccce4b6a6883408d9915a2d7c4",
"originGitCommit": "b0888bd6ca83627cb07ea05c440e35c183cebbd0",
"originGitCommitIsDirty": false,
"invokedBy": "ci",
"requestedVersion": "3.0.0-alpha.11",
"requestedVersion": "3.0.0-alpha.12",
"ciProvider": "github",
"sdkVersion": "3.0.0-alpha.11"
"sdkVersion": "3.0.0-alpha.12"
}
8 changes: 4 additions & 4 deletions cloudpdf-generation.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"language": "php",
"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
308 changes: 308 additions & 0 deletions reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -2365,6 +2365,170 @@ $client->doc->annotations->update(
</dl>


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

<details><summary><code>$client-&gt;doc-&gt;annotations-&gt;exportAppearance($docId, $layerName, $pon, $request) -> string</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```php
$client->doc->annotations->exportAppearance(
'docId',
'layerName',
1,
new ExportAppearanceAnnotationsRequest([
'body' => [
'string' => [
'key' => "value",
],
],
]),
);
```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**$docId:** `string`

</dd>
</dl>

<dl>
<dd>

**$layerName:** `string`

</dd>
</dl>

<dl>
<dd>

**$pon:** `int`

</dd>
</dl>

<dl>
<dd>

**$documentPassword:** `?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:** `array`

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


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

<details><summary><code>$client-&gt;doc-&gt;annotations-&gt;flatten($docId, $layerName, $pon, $request) -> ?DocAnnotationsFlatten200Response</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```php
$client->doc->annotations->flatten(
'docId',
'layerName',
1,
new FlattenAnnotationsRequest([
'body' => [
'key' => "value",
],
]),
);
```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**$docId:** `string`

</dd>
</dl>

<dl>
<dd>

**$layerName:** `string`

</dd>
</dl>

<dl>
<dd>

**$pon:** `int`

</dd>
</dl>

<dl>
<dd>

**$documentPassword:** `?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:** `array`

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


</dd>
</dl>
</details>
Expand Down Expand Up @@ -3244,6 +3408,150 @@ $client->doc->pages->move(
</dl>


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

<details><summary><code>$client-&gt;doc-&gt;pages-&gt;setName($docId, $layerName, $request) -> ?DocPagesSetName200Response</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```php
$client->doc->pages->setName(
'docId',
'layerName',
new SetNamePagesRequest([
'body' => [
'key' => "value",
],
]),
);
```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**$docId:** `string`

</dd>
</dl>

<dl>
<dd>

**$layerName:** `string`

</dd>
</dl>

<dl>
<dd>

**$documentPassword:** `?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:** `array`

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


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

<details><summary><code>$client-&gt;doc-&gt;pages-&gt;removeName($docId, $layerName, $request) -> ?DocPagesRemoveName200Response</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```php
$client->doc->pages->removeName(
'docId',
'layerName',
new RemoveNamePagesRequest([
'body' => [
'key' => "value",
],
]),
);
```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**$docId:** `string`

</dd>
</dl>

<dl>
<dd>

**$layerName:** `string`

</dd>
</dl>

<dl>
<dd>

**$documentPassword:** `?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:** `array`

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


</dd>
</dl>
</details>
Expand Down
4 changes: 2 additions & 2 deletions src/CloudPDFClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ public function __construct(
$defaultHeaders = [
'X-Fern-Language' => 'PHP',
'X-Fern-SDK-Name' => 'CloudPDF',
'X-Fern-SDK-Version' => '3.0.0-alpha.11',
'User-Agent' => 'cloudpdf/sdk/3.0.0-alpha.11',
'X-Fern-SDK-Version' => '3.0.0-alpha.12',
'User-Agent' => 'cloudpdf/sdk/3.0.0-alpha.12',
];
if ($token != null) {
$defaultHeaders['Authorization'] = "Bearer $token";
Expand Down
Loading
Loading