Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: 🐝 Update SDK - Generate 3.9.0 #101

Merged
merged 3 commits into from
Nov 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 15 additions & 13 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.8.1
version: 3.9.0
additionalDependencies:
dependencies: {}
extraDependencies:
Expand Down
15 changes: 8 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
speakeasyVersion: 1.441.0
speakeasyVersion: 1.447.0
sources:
openapi:
sourceNamespace: openapi
sourceRevisionDigest: sha256:62de5eafa727cb0f50ccec494bcba6a7b4d6b452c574c107d202dc91b245e955
sourceBlobDigest: sha256:481f6638b89baad7d8f2c108f74fc028b9999cc9708a00e72688330c720262e7
sourceRevisionDigest: sha256:e8ab98342833888dbc4dd20f683ee5fb7791107d8574b8dfabce743bc3675cd0
sourceBlobDigest: sha256:8c66d55b10c00886e8fd1f2b6ea6b233bccf17f622fed046dcf302d5da3f91f5
tags:
- latest
- speakeasy-sdk-regen-1731542695
- speakeasy-sdk-regen-1732493299
- "2018-02-08"
targets:
first-target:
source: openapi
sourceNamespace: openapi
sourceRevisionDigest: sha256:62de5eafa727cb0f50ccec494bcba6a7b4d6b452c574c107d202dc91b245e955
sourceBlobDigest: sha256:481f6638b89baad7d8f2c108f74fc028b9999cc9708a00e72688330c720262e7
sourceRevisionDigest: sha256:e8ab98342833888dbc4dd20f683ee5fb7791107d8574b8dfabce743bc3675cd0
sourceBlobDigest: sha256:8c66d55b10c00886e8fd1f2b6ea6b233bccf17f622fed046dcf302d5da3f91f5
codeSamplesNamespace: openapi-code-samples
codeSamplesRevisionDigest: sha256:d1cce0262c44335b7a5d490a1845a0b65c0ccc79d225d2d55a1b080c4a0db614
codeSamplesRevisionDigest: sha256:4d98db29bd18b7b3669055823e761d8c64c5c63c3c282521be4a1c6f56ca69bb
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -388,4 +388,14 @@ Based on:
### Generated
- [python v3.8.1] .
### Releases
- [PyPI v3.8.1] https://pypi.org/project/shippo/3.8.1 - .
- [PyPI v3.8.1] https://pypi.org/project/shippo/3.8.1 - .

## 2024-11-26 15:59:37
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.447.0 (2.463.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v3.9.0] .
### Releases
- [PyPI v3.9.0] https://pypi.org/project/shippo/3.9.0 - .
2 changes: 1 addition & 1 deletion USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import shippo

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

Expand Down
2 changes: 1 addition & 1 deletion docs/models/components/order.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@
| `object_id` | *Optional[str]* | :heavy_minus_sign: | Unique identifier of the order object. | adcfdddf8ec64b84ad22772bce3ea37a |
| `object_owner` | *Optional[str]* | :heavy_minus_sign: | Username of the user who created the object. | [email protected] |
| `shop_app` | [Optional[components.OrderShopAppEnum]](../../models/components/ordershopappenum.md) | :heavy_minus_sign: | Platform the order was created on and, if applicable, imported from. <br/>Orders created via the Shippo API or dashboard will have the value "Shippo". | Shippo |
| `transactions` | List[*str*] | :heavy_minus_sign: | Array of <a href="#tag/Transactions">transaction</a> objects representing all shipping labels purchased for this order.<br/>All objects are returned expanded with a limited number of fields by default. | |
| `transactions` | List[[components.Transactions](../../models/components/transactions.md)] | :heavy_minus_sign: | Array of <a href="#tag/Transactions">transaction</a> objects representing all shipping labels purchased for this order.<br/>All objects are returned expanded with a limited number of fields by default. | |
7 changes: 7 additions & 0 deletions docs/models/components/transactions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Transactions


## Fields

| Field | Type | Required | Description |
| ----------- | ----------- | ----------- | ----------- |
8 changes: 5 additions & 3 deletions docs/models/operations/getbatchrequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

## Fields

| Field | Type | Required | Description |
| ---------------------- | ---------------------- | ---------------------- | ---------------------- |
| `batch_id` | *str* | :heavy_check_mark: | Object ID of the batch |
| Field | Type | Required | Description |
| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- |
| `batch_id` | *str* | :heavy_check_mark: | Object ID of the batch |
| `page` | *Optional[int]* | :heavy_minus_sign: | The page number you want to select |
| `results` | *Optional[int]* | :heavy_minus_sign: | The number of results to return per page (max 100, default 5) |
1 change: 1 addition & 0 deletions docs/models/operations/listshipmentsrequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

| Field | Type | Required | Description |
| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- |
| `page_token` | *Optional[str]* | :heavy_minus_sign: | The page token for paginated results |
| `page` | *Optional[int]* | :heavy_minus_sign: | The page number you want to select |
| `results` | *Optional[int]* | :heavy_minus_sign: | The number of results to return per page (max 100) |
| `object_created_gt` | *Optional[str]* | :heavy_minus_sign: | Object(s) created greater than a provided date and time. |
Expand Down
8 changes: 4 additions & 4 deletions docs/sdks/addresses/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Returns a list of all address objects that have been created in this account.
import shippo

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

Expand Down Expand Up @@ -64,7 +64,7 @@ import shippo
from shippo.models import components

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

Expand Down Expand Up @@ -118,7 +118,7 @@ Returns an existing address using an object ID.
import shippo

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

Expand Down Expand Up @@ -157,7 +157,7 @@ Validates an existing address using an object ID
import shippo

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

Expand Down
18 changes: 10 additions & 8 deletions docs/sdks/batches/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import shippo
from shippo.models import components

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

Expand Down Expand Up @@ -378,7 +378,7 @@ For more details on filtering results, see our guide on <a href="https://docs.go
import shippo

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

Expand All @@ -393,9 +393,11 @@ if res is not None:

### Parameters

| Parameter | Type | Required | Description |
| ---------------------- | ---------------------- | ---------------------- | ---------------------- |
| `batch_id` | *str* | :heavy_check_mark: | Object ID of the batch |
| Parameter | Type | Required | Description |
| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- |
| `batch_id` | *str* | :heavy_check_mark: | Object ID of the batch |
| `page` | *Optional[int]* | :heavy_minus_sign: | The page number you want to select |
| `results` | *Optional[int]* | :heavy_minus_sign: | The number of results to return per page (max 100, default 5) |

### Response

Expand All @@ -418,7 +420,7 @@ import shippo
from shippo.models import components

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

Expand Down Expand Up @@ -1110,7 +1112,7 @@ When all the shipments are purchased, the status will change to `PURCHASED` and
import shippo

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

Expand Down Expand Up @@ -1149,7 +1151,7 @@ Removes shipments from an existing batch shipment.
import shippo

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

Expand Down
14 changes: 7 additions & 7 deletions docs/sdks/carrieraccounts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import shippo
from shippo.models import operations

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

Expand Down Expand Up @@ -72,7 +72,7 @@ import shippo
from shippo.models import components

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

Expand Down Expand Up @@ -126,7 +126,7 @@ Returns an existing carrier account using an object ID.
import shippo

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

Expand Down Expand Up @@ -166,7 +166,7 @@ import shippo
from shippo.models import components

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

Expand Down Expand Up @@ -233,7 +233,7 @@ Used by client applications to setup or reconnect an existing carrier account wi
import shippo

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

Expand Down Expand Up @@ -278,7 +278,7 @@ import shippo
from shippo.models import components

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

Expand Down Expand Up @@ -340,7 +340,7 @@ import shippo
from shippo.models import operations

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

Expand Down
4 changes: 2 additions & 2 deletions docs/sdks/carrierparceltemplates/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ List all carrier parcel template objects. <br> Use the following query string pa
import shippo

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

Expand Down Expand Up @@ -68,7 +68,7 @@ Fetches the parcel template information for a specific carrier parcel template,
import shippo

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

Expand Down
6 changes: 3 additions & 3 deletions docs/sdks/customsdeclarations/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Returns a a list of all customs declaration objects
import shippo

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

Expand Down Expand Up @@ -64,7 +64,7 @@ import shippo
from shippo.models import components

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

Expand Down Expand Up @@ -159,7 +159,7 @@ Returns an existing customs declaration using an object ID
import shippo

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

Expand Down
6 changes: 3 additions & 3 deletions docs/sdks/customsitems/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Returns a list all customs items objects.
import shippo

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

Expand Down Expand Up @@ -63,7 +63,7 @@ import shippo
from shippo.models import components

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

Expand Down Expand Up @@ -113,7 +113,7 @@ Returns an existing customs item using an object ID
import shippo

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

Expand Down
6 changes: 3 additions & 3 deletions docs/sdks/manifests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Returns a list of all manifest objects.
import shippo

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

Expand Down Expand Up @@ -69,7 +69,7 @@ import shippo
from shippo.models import components

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

Expand Down Expand Up @@ -130,7 +130,7 @@ Returns an existing manifest using an object ID.
import shippo

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

Expand Down
6 changes: 3 additions & 3 deletions docs/sdks/orders/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import shippo
from shippo.models import components, operations

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

Expand Down Expand Up @@ -80,7 +80,7 @@ import shippo
from shippo.models import components

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

Expand Down Expand Up @@ -180,7 +180,7 @@ Retrieves an existing order using an object ID.
import shippo

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

Expand Down
Loading