From 9df9d4b79320b56573f2505f6feb3d1a355865ba Mon Sep 17 00:00:00 2001 From: autobot Date: Wed, 17 Jan 2024 20:01:00 +0000 Subject: [PATCH] Generated PR for Release: 34.0.1.20240118 --- composer.json | 2 +- doc/models/fulfillment.md | 1 - doc/models/order-return-service-charge.md | 2 - doc/models/order-service-charge.md | 2 - src/Exceptions/ApiException.php | 3 +- src/Models/Builders/FulfillmentBuilder.php | 9 -- .../OrderReturnServiceChargeBuilder.php | 27 ---- .../Builders/OrderServiceChargeBuilder.php | 27 ---- src/Models/Fulfillment.php | 32 ----- src/Models/OrderReturnServiceCharge.php | 120 ++-------------- src/Models/OrderServiceCharge.php | 128 +++--------------- src/SquareClient.php | 4 +- 12 files changed, 36 insertions(+), 321 deletions(-) diff --git a/composer.json b/composer.json index fc772c78..d5d58c11 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "square/square", "description": "Use Square APIs to manage and run business including payment, customer, product, inventory, and employee management.", - "version": "34.0.0.20240118", + "version": "34.0.1.20240118", "type": "library", "keywords": [ "Square", diff --git a/doc/models/fulfillment.md b/doc/models/fulfillment.md index 5f8f0c41..fe5f709e 100644 --- a/doc/models/fulfillment.md +++ b/doc/models/fulfillment.md @@ -22,7 +22,6 @@ However, orders returned by the Orders API might contain multiple fulfillments b | `pickupDetails` | [`?FulfillmentPickupDetails`](../../doc/models/fulfillment-pickup-details.md) | Optional | Contains details necessary to fulfill a pickup order. | getPickupDetails(): ?FulfillmentPickupDetails | setPickupDetails(?FulfillmentPickupDetails pickupDetails): void | | `shipmentDetails` | [`?FulfillmentShipmentDetails`](../../doc/models/fulfillment-shipment-details.md) | Optional | Contains the details necessary to fulfill a shipment order. | getShipmentDetails(): ?FulfillmentShipmentDetails | setShipmentDetails(?FulfillmentShipmentDetails shipmentDetails): void | | `deliveryDetails` | [`?FulfillmentDeliveryDetails`](../../doc/models/fulfillment-delivery-details.md) | Optional | Describes delivery details of an order fulfillment. | getDeliveryDetails(): ?FulfillmentDeliveryDetails | setDeliveryDetails(?FulfillmentDeliveryDetails deliveryDetails): void | -| `version` | `?int` | Optional | The version number attributed to the fulfillment and incremented every time there is a
fulfillment-related update. The fulfillment version is an internal field only for use
between Orders and the Fulfillment service. | getVersion(): ?int | setVersion(?int version): void | ## Example (as JSON) diff --git a/doc/models/order-return-service-charge.md b/doc/models/order-return-service-charge.md index 7ecc9e9a..13ca452a 100644 --- a/doc/models/order-return-service-charge.md +++ b/doc/models/order-return-service-charge.md @@ -26,8 +26,6 @@ Represents the service charge applied to the original order. | `appliedTaxes` | [`?(OrderLineItemAppliedTax[])`](../../doc/models/order-line-item-applied-tax.md) | Optional | The list of references to `OrderReturnTax` entities applied to the
`OrderReturnServiceCharge`. Each `OrderLineItemAppliedTax` has a `tax_uid`
that references the `uid` of a top-level `OrderReturnTax` that is being
applied to the `OrderReturnServiceCharge`. On reads, the applied amount is
populated. | getAppliedTaxes(): ?array | setAppliedTaxes(?array appliedTaxes): void | | `treatmentType` | [`?string(OrderServiceChargeTreatmentType)`](../../doc/models/order-service-charge-treatment-type.md) | Optional | Indicates whether the service charge will be treated as a value-holding line item or
apportioned toward a line item. | getTreatmentType(): ?string | setTreatmentType(?string treatmentType): void | | `scope` | [`?string(OrderServiceChargeScope)`](../../doc/models/order-service-charge-scope.md) | Optional | Indicates whether this is a line-item or order-level apportioned
service charge. | getScope(): ?string | setScope(?string scope): void | -| `appliedServiceCharges` | [`?(OrderLineItemAppliedServiceCharge[])`](../../doc/models/order-line-item-applied-service-charge.md) | Optional | The list of references to service charges applied to the`OrderReturnServiceCharge`. Each
`OrderLineItemAppliedServiceCharge` has a `service_charge_id` that references the `uid` of a
top-level `OrderReturnServiceCharge`. On reads, the amount applied is populated. | getAppliedServiceCharges(): ?array | setAppliedServiceCharges(?array appliedServiceCharges): void | -| `totalServiceChargeMoney` | [`?Money`](../../doc/models/money.md) | Optional | Represents an amount of money. `Money` fields can be signed or unsigned.
Fields that do not explicitly define whether they are signed or unsigned are
considered unsigned and can only hold positive amounts. For signed fields, the
sign of the value indicates the purpose of the money transfer. See
[Working with Monetary Amounts](https://developer.squareup.com/docs/build-basics/working-with-monetary-amounts)
for more information. | getTotalServiceChargeMoney(): ?Money | setTotalServiceChargeMoney(?Money totalServiceChargeMoney): void | ## Example (as JSON) diff --git a/doc/models/order-service-charge.md b/doc/models/order-service-charge.md index 5df66da4..df4b3561 100644 --- a/doc/models/order-service-charge.md +++ b/doc/models/order-service-charge.md @@ -27,8 +27,6 @@ Represents a service charge applied to an order. | `type` | [`?string(OrderServiceChargeType)`](../../doc/models/order-service-charge-type.md) | Optional | - | getType(): ?string | setType(?string type): void | | `treatmentType` | [`?string(OrderServiceChargeTreatmentType)`](../../doc/models/order-service-charge-treatment-type.md) | Optional | Indicates whether the service charge will be treated as a value-holding line item or
apportioned toward a line item. | getTreatmentType(): ?string | setTreatmentType(?string treatmentType): void | | `scope` | [`?string(OrderServiceChargeScope)`](../../doc/models/order-service-charge-scope.md) | Optional | Indicates whether this is a line-item or order-level apportioned
service charge. | getScope(): ?string | setScope(?string scope): void | -| `appliedServiceCharges` | [`?(OrderLineItemAppliedServiceCharge[])`](../../doc/models/order-line-item-applied-service-charge.md) | Optional | The list of references to service charges applied to this service charge. Each
`OrderLineItemAppliedServiceCharge` has a `service_charge_id` that references the `uid` of a
top-level `OrderServiceCharge`. On reads, the amount applied is populated.

To change the amount of a service charge, modify the referenced top-level service charge. | getAppliedServiceCharges(): ?array | setAppliedServiceCharges(?array appliedServiceCharges): void | -| `totalServiceChargeMoney` | [`?Money`](../../doc/models/money.md) | Optional | Represents an amount of money. `Money` fields can be signed or unsigned.
Fields that do not explicitly define whether they are signed or unsigned are
considered unsigned and can only hold positive amounts. For signed fields, the
sign of the value indicates the purpose of the money transfer. See
[Working with Monetary Amounts](https://developer.squareup.com/docs/build-basics/working-with-monetary-amounts)
for more information. | getTotalServiceChargeMoney(): ?Money | setTotalServiceChargeMoney(?Money totalServiceChargeMoney): void | ## Example (as JSON) diff --git a/src/Exceptions/ApiException.php b/src/Exceptions/ApiException.php index 2c846413..b44fe13a 100644 --- a/src/Exceptions/ApiException.php +++ b/src/Exceptions/ApiException.php @@ -30,8 +30,9 @@ class ApiException extends \Exception implements ExceptionInterface /** * @param string $reason the reason for raising an exception * @param HttpRequest $request + * @param HttpResponse|null $response */ - public function __construct(string $reason, HttpRequest $request, ?HttpResponse $response = null) + public function __construct(string $reason, HttpRequest $request, ?HttpResponse $response) { parent::__construct($reason, \is_null($response) ? 0 : $response->getStatusCode()); $this->request = $request; diff --git a/src/Models/Builders/FulfillmentBuilder.php b/src/Models/Builders/FulfillmentBuilder.php index cc10c9a3..5469b533 100644 --- a/src/Models/Builders/FulfillmentBuilder.php +++ b/src/Models/Builders/FulfillmentBuilder.php @@ -134,15 +134,6 @@ public function deliveryDetails(?FulfillmentDeliveryDetails $value): self return $this; } - /** - * Sets version field. - */ - public function version(?int $value): self - { - $this->instance->setVersion($value); - return $this; - } - /** * Initializes a new fulfillment object. */ diff --git a/src/Models/Builders/OrderReturnServiceChargeBuilder.php b/src/Models/Builders/OrderReturnServiceChargeBuilder.php index 036b3995..dc7eaef2 100644 --- a/src/Models/Builders/OrderReturnServiceChargeBuilder.php +++ b/src/Models/Builders/OrderReturnServiceChargeBuilder.php @@ -240,33 +240,6 @@ public function scope(?string $value): self return $this; } - /** - * Sets applied service charges field. - */ - public function appliedServiceCharges(?array $value): self - { - $this->instance->setAppliedServiceCharges($value); - return $this; - } - - /** - * Unsets applied service charges field. - */ - public function unsetAppliedServiceCharges(): self - { - $this->instance->unsetAppliedServiceCharges(); - return $this; - } - - /** - * Sets total service charge money field. - */ - public function totalServiceChargeMoney(?Money $value): self - { - $this->instance->setTotalServiceChargeMoney($value); - return $this; - } - /** * Initializes a new order return service charge object. */ diff --git a/src/Models/Builders/OrderServiceChargeBuilder.php b/src/Models/Builders/OrderServiceChargeBuilder.php index e8c2dcfe..c7fff2bb 100644 --- a/src/Models/Builders/OrderServiceChargeBuilder.php +++ b/src/Models/Builders/OrderServiceChargeBuilder.php @@ -249,33 +249,6 @@ public function scope(?string $value): self return $this; } - /** - * Sets applied service charges field. - */ - public function appliedServiceCharges(?array $value): self - { - $this->instance->setAppliedServiceCharges($value); - return $this; - } - - /** - * Unsets applied service charges field. - */ - public function unsetAppliedServiceCharges(): self - { - $this->instance->unsetAppliedServiceCharges(); - return $this; - } - - /** - * Sets total service charge money field. - */ - public function totalServiceChargeMoney(?Money $value): self - { - $this->instance->setTotalServiceChargeMoney($value); - return $this; - } - /** * Initializes a new order service charge object. */ diff --git a/src/Models/Fulfillment.php b/src/Models/Fulfillment.php index b42f1481..a7c771ab 100644 --- a/src/Models/Fulfillment.php +++ b/src/Models/Fulfillment.php @@ -59,11 +59,6 @@ class Fulfillment implements \JsonSerializable */ private $deliveryDetails; - /** - * @var int|null - */ - private $version; - /** * Returns Uid. * A unique ID that identifies the fulfillment only within this order. @@ -349,30 +344,6 @@ public function setDeliveryDetails(?FulfillmentDeliveryDetails $deliveryDetails) $this->deliveryDetails = $deliveryDetails; } - /** - * Returns Version. - * The version number attributed to the fulfillment and incremented every time there is a - * fulfillment-related update. The fulfillment version is an internal field only for use - * between Orders and the Fulfillment service. - */ - public function getVersion(): ?int - { - return $this->version; - } - - /** - * Sets Version. - * The version number attributed to the fulfillment and incremented every time there is a - * fulfillment-related update. The fulfillment version is an internal field only for use - * between Orders and the Fulfillment service. - * - * @maps version - */ - public function setVersion(?int $version): void - { - $this->version = $version; - } - /** * Encode this object to JSON * @@ -412,9 +383,6 @@ public function jsonSerialize(bool $asArrayWhenEmpty = false) if (isset($this->deliveryDetails)) { $json['delivery_details'] = $this->deliveryDetails; } - if (isset($this->version)) { - $json['version'] = $this->version; - } $json = array_filter($json, function ($val) { return $val !== null; }); diff --git a/src/Models/OrderReturnServiceCharge.php b/src/Models/OrderReturnServiceCharge.php index df37b900..5c0e05cd 100644 --- a/src/Models/OrderReturnServiceCharge.php +++ b/src/Models/OrderReturnServiceCharge.php @@ -86,16 +86,6 @@ class OrderReturnServiceCharge implements \JsonSerializable */ private $scope; - /** - * @var array - */ - private $appliedServiceCharges = []; - - /** - * @var Money|null - */ - private $totalServiceChargeMoney; - /** * Returns Uid. * A unique ID that identifies the return service charge only within this order. @@ -589,80 +579,6 @@ public function setScope(?string $scope): void $this->scope = $scope; } - /** - * Returns Applied Service Charges. - * The list of references to service charges applied to the`OrderReturnServiceCharge`. Each - * `OrderLineItemAppliedServiceCharge` has a `service_charge_id` that references the `uid` of a - * top-level `OrderReturnServiceCharge`. On reads, the amount applied is populated. - * - * @return OrderLineItemAppliedServiceCharge[]|null - */ - public function getAppliedServiceCharges(): ?array - { - if (count($this->appliedServiceCharges) == 0) { - return null; - } - return $this->appliedServiceCharges['value']; - } - - /** - * Sets Applied Service Charges. - * The list of references to service charges applied to the`OrderReturnServiceCharge`. Each - * `OrderLineItemAppliedServiceCharge` has a `service_charge_id` that references the `uid` of a - * top-level `OrderReturnServiceCharge`. On reads, the amount applied is populated. - * - * @maps applied_service_charges - * - * @param OrderLineItemAppliedServiceCharge[]|null $appliedServiceCharges - */ - public function setAppliedServiceCharges(?array $appliedServiceCharges): void - { - $this->appliedServiceCharges['value'] = $appliedServiceCharges; - } - - /** - * Unsets Applied Service Charges. - * The list of references to service charges applied to the`OrderReturnServiceCharge`. Each - * `OrderLineItemAppliedServiceCharge` has a `service_charge_id` that references the `uid` of a - * top-level `OrderReturnServiceCharge`. On reads, the amount applied is populated. - */ - public function unsetAppliedServiceCharges(): void - { - $this->appliedServiceCharges = []; - } - - /** - * Returns Total Service Charge Money. - * Represents an amount of money. `Money` fields can be signed or unsigned. - * Fields that do not explicitly define whether they are signed or unsigned are - * considered unsigned and can only hold positive amounts. For signed fields, the - * sign of the value indicates the purpose of the money transfer. See - * [Working with Monetary Amounts](https://developer.squareup.com/docs/build-basics/working-with- - * monetary-amounts) - * for more information. - */ - public function getTotalServiceChargeMoney(): ?Money - { - return $this->totalServiceChargeMoney; - } - - /** - * Sets Total Service Charge Money. - * Represents an amount of money. `Money` fields can be signed or unsigned. - * Fields that do not explicitly define whether they are signed or unsigned are - * considered unsigned and can only hold positive amounts. For signed fields, the - * sign of the value indicates the purpose of the money transfer. See - * [Working with Monetary Amounts](https://developer.squareup.com/docs/build-basics/working-with- - * monetary-amounts) - * for more information. - * - * @maps total_service_charge_money - */ - public function setTotalServiceChargeMoney(?Money $totalServiceChargeMoney): void - { - $this->totalServiceChargeMoney = $totalServiceChargeMoney; - } - /** * Encode this object to JSON * @@ -676,55 +592,49 @@ public function jsonSerialize(bool $asArrayWhenEmpty = false) { $json = []; if (!empty($this->uid)) { - $json['uid'] = $this->uid['value']; + $json['uid'] = $this->uid['value']; } if (!empty($this->sourceServiceChargeUid)) { - $json['source_service_charge_uid'] = $this->sourceServiceChargeUid['value']; + $json['source_service_charge_uid'] = $this->sourceServiceChargeUid['value']; } if (!empty($this->name)) { - $json['name'] = $this->name['value']; + $json['name'] = $this->name['value']; } if (!empty($this->catalogObjectId)) { - $json['catalog_object_id'] = $this->catalogObjectId['value']; + $json['catalog_object_id'] = $this->catalogObjectId['value']; } if (!empty($this->catalogVersion)) { - $json['catalog_version'] = $this->catalogVersion['value']; + $json['catalog_version'] = $this->catalogVersion['value']; } if (!empty($this->percentage)) { - $json['percentage'] = $this->percentage['value']; + $json['percentage'] = $this->percentage['value']; } if (isset($this->amountMoney)) { - $json['amount_money'] = $this->amountMoney; + $json['amount_money'] = $this->amountMoney; } if (isset($this->appliedMoney)) { - $json['applied_money'] = $this->appliedMoney; + $json['applied_money'] = $this->appliedMoney; } if (isset($this->totalMoney)) { - $json['total_money'] = $this->totalMoney; + $json['total_money'] = $this->totalMoney; } if (isset($this->totalTaxMoney)) { - $json['total_tax_money'] = $this->totalTaxMoney; + $json['total_tax_money'] = $this->totalTaxMoney; } if (isset($this->calculationPhase)) { - $json['calculation_phase'] = $this->calculationPhase; + $json['calculation_phase'] = $this->calculationPhase; } if (!empty($this->taxable)) { - $json['taxable'] = $this->taxable['value']; + $json['taxable'] = $this->taxable['value']; } if (!empty($this->appliedTaxes)) { - $json['applied_taxes'] = $this->appliedTaxes['value']; + $json['applied_taxes'] = $this->appliedTaxes['value']; } if (isset($this->treatmentType)) { - $json['treatment_type'] = $this->treatmentType; + $json['treatment_type'] = $this->treatmentType; } if (isset($this->scope)) { - $json['scope'] = $this->scope; - } - if (!empty($this->appliedServiceCharges)) { - $json['applied_service_charges'] = $this->appliedServiceCharges['value']; - } - if (isset($this->totalServiceChargeMoney)) { - $json['total_service_charge_money'] = $this->totalServiceChargeMoney; + $json['scope'] = $this->scope; } $json = array_filter($json, function ($val) { return $val !== null; diff --git a/src/Models/OrderServiceCharge.php b/src/Models/OrderServiceCharge.php index 78e3c2f3..2ded4726 100644 --- a/src/Models/OrderServiceCharge.php +++ b/src/Models/OrderServiceCharge.php @@ -91,16 +91,6 @@ class OrderServiceCharge implements \JsonSerializable */ private $scope; - /** - * @var array - */ - private $appliedServiceCharges = []; - - /** - * @var Money|null - */ - private $totalServiceChargeMoney; - /** * Returns Uid. * A unique ID that identifies the service charge only within this order. @@ -682,86 +672,6 @@ public function setScope(?string $scope): void $this->scope = $scope; } - /** - * Returns Applied Service Charges. - * The list of references to service charges applied to this service charge. Each - * `OrderLineItemAppliedServiceCharge` has a `service_charge_id` that references the `uid` of a - * top-level `OrderServiceCharge`. On reads, the amount applied is populated. - * - * To change the amount of a service charge, modify the referenced top-level service charge. - * - * @return OrderLineItemAppliedServiceCharge[]|null - */ - public function getAppliedServiceCharges(): ?array - { - if (count($this->appliedServiceCharges) == 0) { - return null; - } - return $this->appliedServiceCharges['value']; - } - - /** - * Sets Applied Service Charges. - * The list of references to service charges applied to this service charge. Each - * `OrderLineItemAppliedServiceCharge` has a `service_charge_id` that references the `uid` of a - * top-level `OrderServiceCharge`. On reads, the amount applied is populated. - * - * To change the amount of a service charge, modify the referenced top-level service charge. - * - * @maps applied_service_charges - * - * @param OrderLineItemAppliedServiceCharge[]|null $appliedServiceCharges - */ - public function setAppliedServiceCharges(?array $appliedServiceCharges): void - { - $this->appliedServiceCharges['value'] = $appliedServiceCharges; - } - - /** - * Unsets Applied Service Charges. - * The list of references to service charges applied to this service charge. Each - * `OrderLineItemAppliedServiceCharge` has a `service_charge_id` that references the `uid` of a - * top-level `OrderServiceCharge`. On reads, the amount applied is populated. - * - * To change the amount of a service charge, modify the referenced top-level service charge. - */ - public function unsetAppliedServiceCharges(): void - { - $this->appliedServiceCharges = []; - } - - /** - * Returns Total Service Charge Money. - * Represents an amount of money. `Money` fields can be signed or unsigned. - * Fields that do not explicitly define whether they are signed or unsigned are - * considered unsigned and can only hold positive amounts. For signed fields, the - * sign of the value indicates the purpose of the money transfer. See - * [Working with Monetary Amounts](https://developer.squareup.com/docs/build-basics/working-with- - * monetary-amounts) - * for more information. - */ - public function getTotalServiceChargeMoney(): ?Money - { - return $this->totalServiceChargeMoney; - } - - /** - * Sets Total Service Charge Money. - * Represents an amount of money. `Money` fields can be signed or unsigned. - * Fields that do not explicitly define whether they are signed or unsigned are - * considered unsigned and can only hold positive amounts. For signed fields, the - * sign of the value indicates the purpose of the money transfer. See - * [Working with Monetary Amounts](https://developer.squareup.com/docs/build-basics/working-with- - * monetary-amounts) - * for more information. - * - * @maps total_service_charge_money - */ - public function setTotalServiceChargeMoney(?Money $totalServiceChargeMoney): void - { - $this->totalServiceChargeMoney = $totalServiceChargeMoney; - } - /** * Encode this object to JSON * @@ -775,58 +685,52 @@ public function jsonSerialize(bool $asArrayWhenEmpty = false) { $json = []; if (!empty($this->uid)) { - $json['uid'] = $this->uid['value']; + $json['uid'] = $this->uid['value']; } if (!empty($this->name)) { - $json['name'] = $this->name['value']; + $json['name'] = $this->name['value']; } if (!empty($this->catalogObjectId)) { - $json['catalog_object_id'] = $this->catalogObjectId['value']; + $json['catalog_object_id'] = $this->catalogObjectId['value']; } if (!empty($this->catalogVersion)) { - $json['catalog_version'] = $this->catalogVersion['value']; + $json['catalog_version'] = $this->catalogVersion['value']; } if (!empty($this->percentage)) { - $json['percentage'] = $this->percentage['value']; + $json['percentage'] = $this->percentage['value']; } if (isset($this->amountMoney)) { - $json['amount_money'] = $this->amountMoney; + $json['amount_money'] = $this->amountMoney; } if (isset($this->appliedMoney)) { - $json['applied_money'] = $this->appliedMoney; + $json['applied_money'] = $this->appliedMoney; } if (isset($this->totalMoney)) { - $json['total_money'] = $this->totalMoney; + $json['total_money'] = $this->totalMoney; } if (isset($this->totalTaxMoney)) { - $json['total_tax_money'] = $this->totalTaxMoney; + $json['total_tax_money'] = $this->totalTaxMoney; } if (isset($this->calculationPhase)) { - $json['calculation_phase'] = $this->calculationPhase; + $json['calculation_phase'] = $this->calculationPhase; } if (!empty($this->taxable)) { - $json['taxable'] = $this->taxable['value']; + $json['taxable'] = $this->taxable['value']; } if (!empty($this->appliedTaxes)) { - $json['applied_taxes'] = $this->appliedTaxes['value']; + $json['applied_taxes'] = $this->appliedTaxes['value']; } if (!empty($this->metadata)) { - $json['metadata'] = $this->metadata['value']; + $json['metadata'] = $this->metadata['value']; } if (isset($this->type)) { - $json['type'] = $this->type; + $json['type'] = $this->type; } if (isset($this->treatmentType)) { - $json['treatment_type'] = $this->treatmentType; + $json['treatment_type'] = $this->treatmentType; } if (isset($this->scope)) { - $json['scope'] = $this->scope; - } - if (!empty($this->appliedServiceCharges)) { - $json['applied_service_charges'] = $this->appliedServiceCharges['value']; - } - if (isset($this->totalServiceChargeMoney)) { - $json['total_service_charge_money'] = $this->totalServiceChargeMoney; + $json['scope'] = $this->scope; } $json = array_filter($json, function ($val) { return $val !== null; diff --git a/src/SquareClient.php b/src/SquareClient.php index 4b1e6abf..cced9241 100644 --- a/src/SquareClient.php +++ b/src/SquareClient.php @@ -162,7 +162,7 @@ public function __construct(array $config = []) ->jsonHelper(ApiHelper::getJsonHelper()) ->apiCallback($this->config['httpCallback'] ?? null) ->userAgent( - 'Square-PHP-SDK/34.0.0.20240118 ({api-version}) {engine}/{engine-version} ({os-' . + 'Square-PHP-SDK/34.0.1.20240118 ({api-version}) {engine}/{engine-version} ({os-' . 'info}) {detail}' ) ->userAgentConfig( @@ -304,7 +304,7 @@ public function withConfiguration(array $config): self */ public function getSdkVersion(): string { - return '34.0.0.20240118'; + return '34.0.1.20240118'; } /**