Skip to content

Commit

Permalink
chore: šŸ Update SDK - Generate (#27)
Browse files Browse the repository at this point in the history
* ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.234.0

* update tests

---------

Co-authored-by: speakeasybot <[email protected]>
Co-authored-by: Mike Lueders <[email protected]>
  • Loading branch information
3 people authored Apr 2, 2024
1 parent 7543363 commit 08dca3a
Show file tree
Hide file tree
Showing 80 changed files with 1,018 additions and 1,103 deletions.
28 changes: 13 additions & 15 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
lockVersion: 2.0.0
id: 986026b6-d725-4b86-9c4d-67f6e6904a30
management:
docChecksum: aca3a63b6749e3b713cb0c95f1e09457
docChecksum: e240e27a9d6acb009884e70a11e9ee3e
docVersion: "2018-02-08"
speakeasyVersion: 1.228.1
generationVersion: 2.292.0
releaseVersion: 3.0.0
configChecksum: d46cb2777c6c5993e1a1dc3c7f0b2021
speakeasyVersion: 1.234.0
generationVersion: 2.298.0
releaseVersion: 3.1.0
configChecksum: 1754b12f688d2a6d73ce40ef13360df7
repoURL: https://github.com/goshippo/shippo-python-sdk.git
installationURL: https://github.com/goshippo/shippo-python-sdk.git
published: true
features:
python:
constsAndDefaults: 0.1.3
core: 4.5.2
core: 4.6.0
flattening: 2.81.1
globalSecurity: 2.83.5
globalServerURLs: 2.82.2
includes: 2.81.1
nameOverrides: 2.81.1
nameOverrides: 2.81.2
responseFormat: 0.1.0
unions: 2.82.6
generatedFiles:
Expand Down Expand Up @@ -65,7 +65,7 @@ generatedFiles:
- src/shippo/models/components/parcelcreaterequest.py
- src/shippo/models/components/parceltemplateenumset.py
- src/shippo/models/components/weightunit.py
- src/shippo/models/components/distanceunittemplate.py
- src/shippo/models/components/distanceunit.py
- src/shippo/models/components/shipmentextra.py
- src/shippo/models/components/rmanumber.py
- src/shippo/models/components/ponumber.py
Expand Down Expand Up @@ -128,8 +128,6 @@ generatedFiles:
- src/shippo/models/components/defaultparceltemplate.py
- src/shippo/models/components/userparceltemplate.py
- src/shippo/models/components/carrierparceltemplate.py
- src/shippo/models/components/distanceunit.py
- src/shippo/models/components/distanceunitusertemplate.py
- src/shippo/models/components/defaultparceltemplateupdaterequest.py
- src/shippo/models/components/manifestpaginatedlist.py
- src/shippo/models/components/manifest.py
Expand Down Expand Up @@ -160,10 +158,12 @@ generatedFiles:
- src/shippo/models/components/track.py
- src/shippo/models/components/trackingstatus.py
- src/shippo/models/components/trackingstatussubstatus.py
- src/shippo/models/components/trackingstatusenum.py
- src/shippo/models/components/trackingstatuslocationbase.py
- src/shippo/models/components/tracksrequest.py
- src/shippo/models/components/transactionpaginatedlist.py
- src/shippo/models/components/transaction.py
- src/shippo/models/components/transactionstatusenum.py
- src/shippo/models/components/transactioncreaterequest.py
- src/shippo/models/components/instanttransactionrequestbody.py
- src/shippo/models/components/userparceltemplatewithcarriertemplatecreaterequest.py
Expand Down Expand Up @@ -273,7 +273,7 @@ generatedFiles:
- docs/models/components/parceltemplatefedex.md
- docs/models/components/parceltemplateenumset.md
- docs/models/components/weightunit.md
- docs/models/components/distanceunittemplate.md
- docs/models/components/distanceunit.md
- docs/models/components/ancillaryendorsement.md
- docs/models/components/dangerousgoodscode.md
- docs/models/components/lasershipattrs.md
Expand Down Expand Up @@ -372,8 +372,6 @@ generatedFiles:
- docs/models/components/defaultparceltemplate.md
- docs/models/components/userparceltemplate.md
- docs/models/components/carrierparceltemplate.md
- docs/models/components/distanceunit.md
- docs/models/components/distanceunitusertemplate.md
- docs/models/components/defaultparceltemplateupdaterequest.md
- docs/models/components/manifestpaginatedlist.md
- docs/models/components/manifeststatus.md
Expand Down Expand Up @@ -414,15 +412,15 @@ generatedFiles:
- docs/models/components/shipmentstatus.md
- docs/models/components/shipment.md
- docs/models/components/track.md
- docs/models/components/trackingstatusstatus.md
- docs/models/components/trackingstatus.md
- docs/models/components/trackingstatussubstatus.md
- docs/models/components/trackingstatusenum.md
- docs/models/components/trackingstatuslocationbase.md
- docs/models/components/tracksrequest.md
- docs/models/components/transactionpaginatedlist.md
- docs/models/components/transactionmessages.md
- docs/models/components/transactionstatus.md
- docs/models/components/transaction.md
- docs/models/components/transactionstatusenum.md
- docs/models/components/transactioncreaterequest.md
- docs/models/components/instanttransactionrequestbodylabelfiletype.md
- docs/models/components/instanttransactionrequestbody.md
Expand Down
3 changes: 2 additions & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ generation:
auth:
oAuth2ClientCredentialsEnabled: true
python:
version: 3.0.0
version: 3.1.0
additionalDependencies:
dependencies: {}
extraDependencies:
Expand All @@ -34,4 +34,5 @@ python:
maxMethodParams: 4
outputModelSuffix: output
packageName: shippo
projectUrls: {}
responseFormat: flat
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ import requests

http_client = requests.Session()
http_client.headers.update({'x-custom-header': 'someValue'})
s = shippo.Shippo(client: http_client)
s = shippo.Shippo(client=http_client)
```
<!-- End Custom HTTP Client [http-client] -->

Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,14 @@ Based on:
### Generated
- [python v3.0.0] .
### Releases
- [PyPI v3.0.0] https://pypi.org/project/shippo/3.0.0 - .
- [PyPI v3.0.0] https://pypi.org/project/shippo/3.0.0 - .

## 2024-04-02 18:22:30
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.234.0 (2.298.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v3.1.0] .
### Releases
- [PyPI v3.1.0] https://pypi.org/project/shippo/3.1.0 - .
15 changes: 0 additions & 15 deletions docs/models/components/distanceunittemplate.md

This file was deleted.

15 changes: 0 additions & 15 deletions docs/models/components/distanceunitusertemplate.md

This file was deleted.

2 changes: 1 addition & 1 deletion docs/models/components/parcel.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

| Field | Type | Required | Description | Example |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `distance_unit` | [components.DistanceUnitTemplate](../../models/components/distanceunittemplate.md) | :heavy_check_mark: | The measure unit used for length, width and height. Required if template is not specified. | in |
| `distance_unit` | [components.DistanceUnit](../../models/components/distanceunit.md) | :heavy_check_mark: | The measure unit used for length, width and height. | in |
| `height` | *str* | :heavy_check_mark: | **Required if template is not specified**<br><br/>Height of the parcel. Up to six digits in front and four digits after the decimal separator are accepted. | 1 |
| `length` | *str* | :heavy_check_mark: | **Required if template is not specified**<br><br/>Length of the Parcel. Up to six digits in front and four digits after the decimal separator are accepted. | 1 |
| `mass_unit` | [components.WeightUnit](../../models/components/weightunit.md) | :heavy_check_mark: | The unit used for weight. | lb |
Expand Down
Loading

0 comments on commit 08dca3a

Please sign in to comment.