Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.468.2
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed Jan 13, 2025
1 parent e72229d commit 6bf3c9f
Show file tree
Hide file tree
Showing 26 changed files with 70 additions and 217 deletions.
28 changes: 16 additions & 12 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ generation:
oAuth2ClientCredentialsEnabled: true
oAuth2PasswordEnabled: false
python:
version: 3.9.0
version: 3.9.1
additionalDependencies:
dependencies: {}
extraDependencies:
Expand Down
18 changes: 9 additions & 9 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
speakeasyVersion: 1.447.0
speakeasyVersion: 1.468.2
sources:
openapi:
sourceNamespace: openapi
sourceRevisionDigest: sha256:e8ab98342833888dbc4dd20f683ee5fb7791107d8574b8dfabce743bc3675cd0
sourceBlobDigest: sha256:8c66d55b10c00886e8fd1f2b6ea6b233bccf17f622fed046dcf302d5da3f91f5
sourceRevisionDigest: sha256:25061c3c53b3b66293dd257c1459afe05edeb280aa78a5426bf1ed9f9f4db8d4
sourceBlobDigest: sha256:cd9da3407a166b3f3649622b362cd9710086eee23be01fef701736f0c030f6ed
tags:
- latest
- speakeasy-sdk-regen-1732493299
- speakeasy-sdk-regen-1733098125
- "2018-02-08"
targets:
first-target:
source: openapi
sourceNamespace: openapi
sourceRevisionDigest: sha256:e8ab98342833888dbc4dd20f683ee5fb7791107d8574b8dfabce743bc3675cd0
sourceBlobDigest: sha256:8c66d55b10c00886e8fd1f2b6ea6b233bccf17f622fed046dcf302d5da3f91f5
codeSamplesNamespace: openapi-code-samples
codeSamplesRevisionDigest: sha256:4d98db29bd18b7b3669055823e761d8c64c5c63c3c282521be4a1c6f56ca69bb
sourceRevisionDigest: sha256:25061c3c53b3b66293dd257c1459afe05edeb280aa78a5426bf1ed9f9f4db8d4
sourceBlobDigest: sha256:cd9da3407a166b3f3649622b362cd9710086eee23be01fef701736f0c030f6ed
codeSamplesNamespace: openapi-python-code-samples
codeSamplesRevisionDigest: sha256:fc397e8514308569fda056c4ebd6009f62bfdffb0f719f9c19ccbc3e6156c46a
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand All @@ -34,5 +34,5 @@ workflow:
token: $pypi_token
codeSamples:
registry:
location: registry.speakeasyapi.dev/shippo/shippo/openapi-code-samples
location: registry.speakeasyapi.dev/shippo/shippo/openapi-python-code-samples
blocking: false
2 changes: 1 addition & 1 deletion .speakeasy/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ targets:
token: $pypi_token
codeSamples:
registry:
location: registry.speakeasyapi.dev/shippo/shippo/openapi-code-samples
location: registry.speakeasyapi.dev/shippo/shippo/openapi-python-code-samples
blocking: false
26 changes: 0 additions & 26 deletions CONTRIBUTING.md

This file was deleted.

19 changes: 12 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,19 @@ Shippo external API.: Use this API to integrate with the Shippo service

<!-- Start Table of Contents [toc] -->
## Table of Contents
<!-- $toc-max-depth=2 -->
* [<img src="https://docs.goshippo.com/images/Logo.png" width="30" alt="Shippo logo"> Shippo Python SDK](#img-srchttpsdocsgoshippocomimageslogopng-width30-altshippo-logo-shippo-python-sdk)
* [SDK Installation](#sdk-installation)
* [SDK Reinstallation to a specific version](#sdk-reinstallation-to-a-specific-version)
* [SDK Example Usage](#sdk-example-usage)
* [Custom HTTP Client](#custom-http-client)
* [Debug HTTP Client](#debug-http-client)
* [Documentation](#documentation)
* [Available Resources and Operations](#available-resources-and-operations)
* [Maturity](#maturity)
* [Contributions](#contributions)
* [About Shippo](#about-shippo)

* [SDK Installation](#sdk-installation)
* [SDK Example Usage](#sdk-example-usage)
* [Available Resources and Operations](#available-resources-and-operations)
* [Error Handling](#error-handling)
* [Server Selection](#server-selection)
* [Custom HTTP Client](#custom-http-client)
* [Authentication](#authentication)
<!-- End Table of Contents [toc] -->

<!-- Start SDK Installation [installation] -->
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -398,4 +398,14 @@ Based on:
### Generated
- [python v3.9.0] .
### Releases
- [PyPI v3.9.0] https://pypi.org/project/shippo/3.9.0 - .
- [PyPI v3.9.0] https://pypi.org/project/shippo/3.9.0 - .

## 2025-01-13 00:08:21
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.468.2 (2.493.4) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v3.9.1] .
### Releases
- [PyPI v3.9.1] https://pypi.org/project/shippo/3.9.1 - .
4 changes: 0 additions & 4 deletions docs/models/components/carriersenum.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
| collect_plus | CollectPlus|
| correios_br | CorreiosBR|
| correos_espana | Correos España |
| couriersplease | Couriers Please|
| colissimo | Colissimo|
| deutsche_post | Deutsche Post|
| dhl_benelux | DHL Benelux|
Expand All @@ -45,7 +44,6 @@
| new_zealand_post | New Zealand Post (also used for Pace and CourierPost)|
| nippon_express | Nippon Express|
| ontrac | OnTrac|
| orangeds | OrangeDS|
| parcelforce | Parcelforce|
| passport | Passport|
| pcf | PCF|
Expand Down Expand Up @@ -87,7 +85,6 @@
| `COLLECT_PLUS` | collect_plus |
| `CORREIOS_BR` | correios_br |
| `CORREOS_ESPANA` | correos_espana |
| `COURIERSPLEASE` | couriersplease |
| `COLISSIMO` | colissimo |
| `DEUTSCHE_POST` | deutsche_post |
| `DHL_BENELUX` | dhl_benelux |
Expand All @@ -113,7 +110,6 @@
| `NEW_ZEALAND_POST` | new_zealand_post |
| `NIPPON_EXPRESS` | nippon_express |
| `ONTRAC` | ontrac |
| `ORANGEDS` | orangeds |
| `PARCELFORCE` | parcelforce |
| `PASSPORT` | passport |
| `PCF` | pcf |
Expand Down
19 changes: 0 additions & 19 deletions docs/models/components/parceltemplatecourierspleaseenum.md

This file was deleted.

6 changes: 0 additions & 6 deletions docs/models/components/parceltemplateenumset.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,6 @@ value: components.ParcelTemplateDHLeCommerceEnum = /* values here */
value: components.ParcelTemplateDPDUKEnum = /* values here */
```

### `components.ParcelTemplateCouriersPleaseEnum`

```python
value: components.ParcelTemplateCouriersPleaseEnum = /* values here */
```

### `components.ParcelTemplateAramexAustraliaEnum`

```python
Expand Down
33 changes: 0 additions & 33 deletions docs/models/components/servicelevelcourierspleaseenum.md

This file was deleted.

6 changes: 0 additions & 6 deletions docs/models/components/servicelevelenumset.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,6 @@ value: components.ServiceLevelCDLEnum = /* values here */
value: components.ServiceLevelChronopostEnum = /* values here */
```

### `components.ServiceLevelCouriersPleaseEnum`

```python
value: components.ServiceLevelCouriersPleaseEnum = /* values here */
```

### `components.ServiceLevelCorreosEspanaEnum`

```python
Expand Down
20 changes: 1 addition & 19 deletions docs/sdks/batches/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -632,25 +632,7 @@ res = s.batches.add_shipments(request_body=[
validate=True,
),
parcels=[
components.ParcelCreateFromTemplateRequest(
mass_unit=components.WeightUnitEnum.LB,
weight='1',
template=components.ParcelTemplateCouriersPleaseEnum.COURIERSPLEASE_1KG_SATCHEL,
extra=components.ParcelExtra(
cod=components.Cod(
amount='5.5',
currency='USD',
payment_method=components.PaymentMethod.CASH,
),
insurance=components.ParcelInsurance(
amount='5.5',
content='Laptop',
currency='USD',
provider=components.ParcelInsuranceProvider.UPS,
),
),
metadata='Customer ID 123456',
),
'<value>',
components.ParcelCreateFromTemplateRequest(
mass_unit=components.WeightUnitEnum.LB,
weight='1',
Expand Down
6 changes: 4 additions & 2 deletions docs/sdks/ratesatcheckout/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,14 +107,15 @@ Retrieve and display the currently configured default parcel template for live r

```python
import shippo
from shippo.models import operations

s = shippo.Shippo(
api_key_header='<YOUR_API_KEY_HERE>',
shippo_api_version='2018-02-08',
)


res = s.rates_at_checkout.get_default_parcel_template()
res = s.rates_at_checkout.get_default_parcel_template(request=operations.GetDefaultParcelTemplateRequest())

if res is not None:
# handle response
Expand Down Expand Up @@ -182,14 +183,15 @@ Clears the currently configured default parcel template for live rates.

```python
import shippo
from shippo.models import operations

s = shippo.Shippo(
api_key_header='<YOUR_API_KEY_HERE>',
shippo_api_version='2018-02-08',
)


s.rates_at_checkout.delete_default_parcel_template()
s.rates_at_checkout.delete_default_parcel_template(request=operations.DeleteDefaultParcelTemplateRequest())

# Use the SDK ...

Expand Down
3 changes: 2 additions & 1 deletion docs/sdks/refunds/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,15 @@ Returns a list all refund objects.

```python
import shippo
from shippo.models import operations

s = shippo.Shippo(
api_key_header='<YOUR_API_KEY_HERE>',
shippo_api_version='2018-02-08',
)


res = s.refunds.list()
res = s.refunds.list(request=operations.ListRefundsRequest())

if res is not None:
# handle response
Expand Down
3 changes: 2 additions & 1 deletion docs/sdks/servicegroups/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,15 @@ Returns a list of service group objects.

```python
import shippo
from shippo.models import operations

s = shippo.Shippo(
api_key_header='<YOUR_API_KEY_HERE>',
shippo_api_version='2018-02-08',
)


res = s.service_groups.list()
res = s.service_groups.list(request=operations.ListServiceGroupsRequest())

if res is not None:
# handle response
Expand Down
3 changes: 2 additions & 1 deletion docs/sdks/userparceltemplates/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,15 @@ Returns a list all of all user parcel template objects.

```python
import shippo
from shippo.models import operations

s = shippo.Shippo(
api_key_header='<YOUR_API_KEY_HERE>',
shippo_api_version='2018-02-08',
)


res = s.user_parcel_templates.list()
res = s.user_parcel_templates.list(request=operations.ListUserParcelTemplatesRequest())

if res is not None:
# handle response
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

setuptools.setup(
name='shippo',
version='3.9.0',
version='3.9.1',
author='Shippo',
description='Shipping API Python library (USPS, FedEx, UPS and more)',
license = 'MIT License',
Expand Down
Loading

0 comments on commit 6bf3c9f

Please sign in to comment.