diff --git a/.fern/metadata.json b/.fern/metadata.json index fb527ba..048ce62 100644 --- a/.fern/metadata.json +++ b/.fern/metadata.json @@ -11,10 +11,10 @@ "homepage": "https://www.cloudpdf.com" } }, - "originGitCommit": "3f7f3c650bb91d9c5a4277c920bbd6fab7142f98", + "originGitCommit": "af7d3403e384b397d49fca3bcf3e8afd5f869325", "originGitCommitIsDirty": false, "invokedBy": "ci", - "requestedVersion": "3.0.0-alpha.23", + "requestedVersion": "3.0.0", "ciProvider": "github", - "sdkVersion": "3.0.0-alpha.23" + "sdkVersion": "3.0.0" } \ No newline at end of file diff --git a/cloudpdf-generation.json b/cloudpdf-generation.json index 8a7d1e0..dcdd4bf 100644 --- a/cloudpdf-generation.json +++ b/cloudpdf-generation.json @@ -1,12 +1,12 @@ { "language": "php", - "canonicalVersion": "3.0.0-next.23", - "sdkVersion": "3.0.0-alpha.23", + "canonicalVersion": "3.0.0", + "sdkVersion": "3.0.0", "source": { "repository": "embedpdf/embed-pdf-viewer", "openapi": "cloudpdf/contract/openapi.json", - "openapiSha256": "82488f8cc7c2cd27aee3dc6000d59164467f7dd3899074e309f0574a027e4524", - "gitCommit": "3f7f3c650bb91d9c5a4277c920bbd6fab7142f98", + "openapiSha256": "824b5b739971d3e536e9e5db28a67562867e3900df006fc2e77eb15bcb23cd8d", + "gitCommit": "af7d3403e384b397d49fca3bcf3e8afd5f869325", "gitCommitIsDirty": false }, "fern": { diff --git a/src/CloudPDFClient.php b/src/CloudPDFClient.php index b0d5547..55148b8 100644 --- a/src/CloudPDFClient.php +++ b/src/CloudPDFClient.php @@ -85,8 +85,8 @@ public function __construct( 'EmbedPDF-Version' => '3.0', 'X-Fern-Language' => 'PHP', 'X-Fern-SDK-Name' => 'CloudPDF', - 'X-Fern-SDK-Version' => '3.0.0-alpha.23', - 'User-Agent' => 'cloudpdf/sdk/3.0.0-alpha.23', + 'X-Fern-SDK-Version' => '3.0.0', + 'User-Agent' => 'cloudpdf/sdk/3.0.0', ]; if ($token != null) { $defaultHeaders['Authorization'] = "Bearer $token"; diff --git a/src/Types/Font.php b/src/Types/Font.php index 751980b..49b2ae8 100644 --- a/src/Types/Font.php +++ b/src/Types/Font.php @@ -20,6 +20,12 @@ class Font extends JsonSerializableType #[JsonProperty('source')] public string $source; + /** + * @var bool $builtIn + */ + #[JsonProperty('builtIn')] + public bool $builtIn; + /** * @var string $familyName */ @@ -66,6 +72,7 @@ class Font extends JsonSerializableType * @param array{ * name: string, * source: value-of, + * builtIn: bool, * familyName: string, * weight: int, * italic: bool, @@ -80,6 +87,7 @@ public function __construct( ) { $this->name = $values['name']; $this->source = $values['source']; + $this->builtIn = $values['builtIn']; $this->familyName = $values['familyName']; $this->weight = $values['weight']; $this->italic = $values['italic'];