From a18dcde4df71f40d82678b31ae7ec07797bb3aaf Mon Sep 17 00:00:00 2001 From: autobot Date: Wed, 17 Jan 2024 20:01:02 +0000 Subject: [PATCH] Generated PR for Release: 34.0.1.20240118 --- doc/models/fulfillment.md | 1 - doc/models/order-return-service-charge.md | 2 -- doc/models/order-service-charge.md | 2 -- pyproject.toml | 2 +- square/api/base_api.py | 2 +- square/client.py | 2 +- 6 files changed, 3 insertions(+), 8 deletions(-) diff --git a/doc/models/fulfillment.md b/doc/models/fulfillment.md index a064b080..88a8f552 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 | `pickup_details` | [`Fulfillment Pickup Details`](../../doc/models/fulfillment-pickup-details.md) | Optional | Contains details necessary to fulfill a pickup order. | | `shipment_details` | [`Fulfillment Shipment Details`](../../doc/models/fulfillment-shipment-details.md) | Optional | Contains the details necessary to fulfill a shipment order. | | `delivery_details` | [`Fulfillment Delivery Details`](../../doc/models/fulfillment-delivery-details.md) | Optional | Describes delivery details of an order fulfillment. | -| `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. | ## Example (as JSON) diff --git a/doc/models/order-return-service-charge.md b/doc/models/order-return-service-charge.md index eda252ad..e82fbfcb 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. | `applied_taxes` | [`List Order Line Item Applied Tax`](../../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. | | `treatment_type` | [`str (Order Service Charge Treatment Type)`](../../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. | | `scope` | [`str (Order Service Charge Scope)`](../../doc/models/order-service-charge-scope.md) | Optional | Indicates whether this is a line-item or order-level apportioned
service charge. | -| `applied_service_charges` | [`List Order Line Item Applied Service Charge`](../../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. | -| `total_service_charge_money` | [`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. | ## Example (as JSON) diff --git a/doc/models/order-service-charge.md b/doc/models/order-service-charge.md index 6d8badc6..27c0da3a 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` | [`str (Order Service Charge Type)`](../../doc/models/order-service-charge-type.md) | Optional | - | | `treatment_type` | [`str (Order Service Charge Treatment Type)`](../../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. | | `scope` | [`str (Order Service Charge Scope)`](../../doc/models/order-service-charge-scope.md) | Optional | Indicates whether this is a line-item or order-level apportioned
service charge. | -| `applied_service_charges` | [`List Order Line Item Applied Service Charge`](../../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. | -| `total_service_charge_money` | [`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. | ## Example (as JSON) diff --git a/pyproject.toml b/pyproject.toml index 1a9c838c..fcda1978 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ requires = ["setuptools>=61.0"] [project] name = "squareup" 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" readme = "README.md" requires-python = ">=3.7" authors = [{name = "Square Developer Platform", email = "developers@squareup.com"}] diff --git a/square/api/base_api.py b/square/api/base_api.py index b46a078e..e1271ae0 100644 --- a/square/api/base_api.py +++ b/square/api/base_api.py @@ -23,7 +23,7 @@ class BaseApi(object): @staticmethod def user_agent(): - return 'Square-Python-SDK/34.0.0.20240118 ({api-version}) {engine}/{engine-version} ({os-info}) {detail}' + return 'Square-Python-SDK/34.0.1.20240118 ({api-version}) {engine}/{engine-version} ({os-info}) {detail}' @staticmethod def user_agent_parameters(): diff --git a/square/client.py b/square/client.py index fb4cef69..1afdfb7e 100644 --- a/square/client.py +++ b/square/client.py @@ -55,7 +55,7 @@ class Client(object): @staticmethod def sdk_version(): - return '34.0.0.20240118' + return '34.0.1.20240118' @staticmethod def square_version():