Skip to content

Commit

Permalink
Merge pull request #127 from square/release/34.0.1.20240118
Browse files Browse the repository at this point in the history
Generated PR for Release: 34.0.1.20240118
  • Loading branch information
joanc-sq authored Jan 17, 2024
2 parents 29e5823 + a18dcde commit ad8dd22
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 8 deletions.
1 change: 0 additions & 1 deletion doc/models/fulfillment.md
Original file line number Diff line number Diff line change
Expand Up @@ -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<br>fulfillment-related update. The fulfillment version is an internal field only for use<br>between Orders and the Fulfillment service. |

## Example (as JSON)

Expand Down
2 changes: 0 additions & 2 deletions doc/models/order-return-service-charge.md
Original file line number Diff line number Diff line change
Expand Up @@ -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<br>`OrderReturnServiceCharge`. Each `OrderLineItemAppliedTax` has a `tax_uid`<br>that references the `uid` of a top-level `OrderReturnTax` that is being<br>applied to the `OrderReturnServiceCharge`. On reads, the applied amount is<br>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<br>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<br>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<br>`OrderLineItemAppliedServiceCharge` has a `service_charge_id` that references the `uid` of a<br>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.<br>Fields that do not explicitly define whether they are signed or unsigned are<br>considered unsigned and can only hold positive amounts. For signed fields, the<br>sign of the value indicates the purpose of the money transfer. See<br>[Working with Monetary Amounts](https://developer.squareup.com/docs/build-basics/working-with-monetary-amounts)<br>for more information. |

## Example (as JSON)

Expand Down
2 changes: 0 additions & 2 deletions doc/models/order-service-charge.md
Original file line number Diff line number Diff line change
Expand Up @@ -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<br>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<br>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<br>`OrderLineItemAppliedServiceCharge` has a `service_charge_id` that references the `uid` of a<br>top-level `OrderServiceCharge`. On reads, the amount applied is populated.<br><br>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.<br>Fields that do not explicitly define whether they are signed or unsigned are<br>considered unsigned and can only hold positive amounts. For signed fields, the<br>sign of the value indicates the purpose of the money transfer. See<br>[Working with Monetary Amounts](https://developer.squareup.com/docs/build-basics/working-with-monetary-amounts)<br>for more information. |

## Example (as JSON)

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"}]
Expand Down
2 changes: 1 addition & 1 deletion square/api/base_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down
2 changes: 1 addition & 1 deletion square/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down

0 comments on commit ad8dd22

Please sign in to comment.