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.8.1 #98

Merged
merged 4 commits into from
Nov 19, 2024
Merged

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Nov 14, 2024

SDK update

Based on:

OpenAPI Change Summary

├─┬Paths
│ ├─┬/batches/{BatchId}/purchase
│ │ └─┬POST
│ │   └─┬Extensions
│ │     └──[🔀] x-codesamples (2692:9)
│ ├─┬/parcel-templates
│ │ └─┬GET
│ │   └─┬Extensions
│ │     └──[🔀] x-codesamples (6650:9)
│ ├─┬/carrier_accounts/{CarrierAccountObjectId}/signin/initiate
│ │ └─┬GET
│ │   └─┬Extensions
│ │     └──[🔀] x-codesamples (3736:9)
│ ├─┬/batches/{BatchId}/remove_shipments
│ │ └─┬POST
│ │   └─┬Extensions
│ │     └──[🔀] x-codesamples (2804:9)
│ ├─┬/carrier_accounts/reg-status
│ │ └─┬GET
│ │   └─┬Extensions
│ │     └──[🔀] x-codesamples (3996:9)
│ ├─┬/batches
│ │ └─┬POST
│ │   └─┬Extensions
│ │     └──[🔀] x-codesamples (771:9)
│ ├─┬/addresses/{AddressId}/validate
│ │ └─┬GET
│ │   └─┬Extensions
│ │     └──[🔀] x-codesamples (662:9)
│ ├─┬/carrier_accounts/register/new
│ │ └─┬POST
│ │   └─┬Extensions
│ │     └──[🔀] x-codesamples (3861:9)
│ ├─┬/shippo-accounts/{ShippoAccountId}
│ │ ├─┬GET
│ │ │ └─┬Extensions
│ │ │   └──[🔀] x-codesamples (11344:9)
│ │ └─┬PUT
│ │   └─┬Extensions
│ │     └──[🔀] x-codesamples (11440:9)
│ ├─┬/tracks
│ │ └─┬POST
│ │   └─┬Extensions
│ │     └──[🔀] x-codesamples (9867:9)
│ ├─┬/refunds/
│ │ └─┬GET
│ │   └─┬Extensions
│ │     └──[🔀] x-codesamples (7752:9)
│ ├─┬/parcel-templates/{CarrierParcelTemplateToken}
│ │ └─┬GET
│ │   └─┬Extensions
│ │     └──[🔀] x-codesamples (6757:9)
│ ├─┬/addresses
│ │ ├─┬GET
│ │ │ └─┬Extensions
│ │ │   └──[🔀] x-codesamples (253:9)
│ │ └─┬POST
│ │   └─┬Extensions
│ │     └──[🔀] x-codesamples (362:9)
│ ├─┬/customs/declarations/{CustomsDeclarationId}
│ │ └─┬GET
│ │   └─┬Extensions
│ │     └──[🔀] x-codesamples (4542:9)
│ ├─┬/manifests
│ │ ├─┬GET
│ │ │ └─┬Extensions
│ │ │   └──[🔀] x-codesamples (5571:9)
│ │ └─┬POST
│ │   └─┬Extensions
│ │     └──[🔀] x-codesamples (5680:9)
│ ├─┬/customs/items/{CustomsItemId}
│ │ └─┬GET
│ │   └─┬Extensions
│ │     └──[🔀] x-codesamples (4914:9)
│ ├─┬/webhooks/{webhookId}
│ │ ├─┬GET
│ │ │ └─┬Extensions
│ │ │   └──[🔀] x-codesamples (11754:9)
│ │ ├─┬PUT
│ │ │ └─┬Extensions
│ │ │   └──[🔀] x-codesamples (11850:9)
│ │ └─┬DELETE
│ │   └─┬Extensions
│ │     └──[🔀] x-codesamples (11965:9)
│ ├─┬/parcels/{ParcelId}
│ │ └─┬GET
│ │   └─┬Extensions
│ │     └──[🔀] x-codesamples (7177:9)
│ ├─┬/transactions/{TransactionId}
│ │ └─┬GET
│ │   └─┬Extensions
│ │     └──[🔀] x-codesamples (10449:9)
│ ├─┬/refunds/{RefundId}
│ │ └─┬GET
│ │   └─┬Extensions
│ │     └──[🔀] x-codesamples (7855:9)
│ ├─┬/shipments/{ShipmentId}/rates/{CurrencyCode}
│ │ └─┬GET
│ │   └─┬Extensions
│ │     └──[🔀] x-codesamples (9758:9)
│ ├─┬/carrier_accounts/{CarrierAccountId}
│ │ ├─┬GET
│ │ │ └─┬Extensions
│ │ │   └──[🔀] x-codesamples (3332:9)
│ │ └─┬PUT
│ │   └─┬Extensions
│ │     └──[🔀] x-codesamples (3453:9)
│ ├─┬/live-rates
│ │ └─┬POST
│ │   └─┬Extensions
│ │     └──[🔀] x-codesamples (5028:9)
│ ├─┬/batches/{BatchId}
│ │ └─┬GET
│ │   └─┬Extensions
│ │     └──[🔀] x-codesamples (1762:9)
│ ├─┬/pickups
│ │ └─┬POST
│ │   └─┬Extensions
│ │     └──[🔀] x-codesamples (7285:9)
│ ├─┬/batches/{BatchId}/add_shipments
│ │ └─┬POST
│ │   └─┬Extensions
│ │     └──[🔀] x-codesamples (1876:9)
│ ├─┬/addresses/{AddressId}
│ │ └─┬GET
│ │   └─┬Extensions
│ │     └──[🔀] x-codesamples (555:9)
│ ├─┬/webhooks
│ │ ├─┬GET
│ │ │ └─┬Extensions
│ │ │   └──[🔀] x-codesamples (11664:9)
│ │ └─┬POST
│ │   └─┬Extensions
│ │     └──[🔀] x-codesamples (11558:9)
│ ├─┬/shipments
│ │ ├─┬GET
│ │ │ └─┬Extensions
│ │ │   └──[🔀] x-codesamples (8544:9)
│ │ └─┬POST
│ │   └─┬Extensions
│ │     └──[🔀] x-codesamples (8651:9)
│ ├─┬/shipments/{ShipmentId}/rates
│ │ └─┬GET
│ │   └─┬Extensions
│ │     └──[🔀] x-codesamples (9630:9)
│ ├─┬/service-groups
│ │ ├─┬GET
│ │ │ └─┬Extensions
│ │ │   └──[🔀] x-codesamples (7956:9)
│ │ ├─┬PUT
│ │ │ └─┬Extensions
│ │ │   └──[🔀] x-codesamples (8236:9)
│ │ └─┬POST
│ │   └─┬Extensions
│ │     └──[🔀] x-codesamples (8054:9)
│ ├─┬/user-parcel-templates/{UserParcelTemplateObjectId}
│ │ ├─┬GET
│ │ │ └─┬Extensions
│ │ │   └──[🔀] x-codesamples (10881:9)
│ │ ├─┬PUT
│ │ │ └─┬Extensions
│ │ │   └──[🔀] x-codesamples (10988:9)
│ │ └─┬DELETE
│ │   └─┬Extensions
│ │     └──[🔀] x-codesamples (10783:9)
│ ├─┬/live-rates/settings/parcel-template
│ │ ├─┬GET
│ │ │ └─┬Extensions
│ │ │   └──[🔀] x-codesamples (5277:9)
│ │ ├─┬PUT
│ │ │ └─┬Extensions
│ │ │   └──[🔀] x-codesamples (5375:9)
│ │ └─┬DELETE
│ │   └─┬Extensions
│ │     └──[🔀] x-codesamples (5481:9)
│ ├─┬/parcels
│ │ ├─┬GET
│ │ │ └─┬Extensions
│ │ │   └──[🔀] x-codesamples (6856:9)
│ │ └─┬POST
│ │   └─┬Extensions
│ │     └──[🔀] x-codesamples (6967:9)
│ ├─┬/shippo-accounts
│ │ ├─┬GET
│ │ │ └─┬Extensions
│ │ │   └──[🔀] x-codesamples (11132:9)
│ │ └─┬POST
│ │   └─┬Extensions
│ │     └──[🔀] x-codesamples (11230:9)
│ ├─┬/customs/items
│ │ ├─┬GET
│ │ │ └─┬Extensions
│ │ │   └──[🔀] x-codesamples (4647:9)
│ │ └─┬POST
│ │   └─┬Extensions
│ │     └──[🔀] x-codesamples (4756:9)
│ ├─┬/service-groups/{ServiceGroupId}
│ │ └─┬DELETE
│ │   └─┬Extensions
│ │     └──[🔀] x-codesamples (8429:9)
│ ├─┬/tracks/{Carrier}/{TrackingNumber}
│ │ └─┬GET
│ │   └─┬Extensions
│ │     └──[🔀] x-codesamples (9987:9)
│ ├─┬/rates/{RateId}
│ │ └─┬GET
│ │   └─┬Extensions
│ │     └──[🔀] x-codesamples (7529:9)
│ ├─┬/refunds
│ │ └─┬POST
│ │   └─┬Extensions
│ │     └──[🔀] x-codesamples (7645:9)
│ ├─┬/transactions
│ │ ├─┬GET
│ │ │ └─┬Extensions
│ │ │   └──[🔀] x-codesamples (10102:9)
│ │ └─┬POST
│ │   └─┬Extensions
│ │     └──[🔀] x-codesamples (10292:9)
│ ├─┬/carrier_accounts
│ │ ├─┬GET
│ │ │ └─┬Extensions
│ │ │   └──[🔀] x-codesamples (2944:9)
│ │ └─┬POST
│ │   └─┬Extensions
│ │     └──[🔀] x-codesamples (3129:9)
│ ├─┬/manifests/{ManifestId}
│ │ └─┬GET
│ │   └─┬Extensions
│ │     └──[🔀] x-codesamples (5888:9)
│ ├─┬/orders/{OrderId}
│ │ └─┬GET
│ │   └─┬Extensions
│ │     └──[🔀] x-codesamples (6532:9)
│ ├─┬/shipments/{ShipmentId}
│ │ └─┬GET
│ │   └─┬Extensions
│ │     └──[🔀] x-codesamples (9521:9)
│ ├─┬/user-parcel-templates
│ │ ├─┬GET
│ │ │ └─┬Extensions
│ │ │   └──[🔀] x-codesamples (10550:9)
│ │ └─┬POST
│ │   └─┬Extensions
│ │     └──[🔀] x-codesamples (10655:9)
│ ├─┬/customs/declarations
│ │ ├─┬GET
│ │ │ └─┬Extensions
│ │ │   └──[🔀] x-codesamples (4091:9)
│ │ └─┬POST
│ │   └─┬Extensions
│ │     └──[🔀] x-codesamples (4200:9)
│ └─┬/orders
│   ├─┬GET
│   │ └─┬Extensions
│   │   └──[🔀] x-codesamples (6021:9)
│   └─┬POST
│     └─┬Extensions
│       └──[🔀] x-codesamples (6145:9)
└─┬Components
  ├─┬ServiceGroup
  │ ├─┬ALLOF
  │ │ └──[🔀] $ref (14927:9)❌ 
  │ └─┬ALLOF
  │   └──[🔀] $ref (14982:11)❌ 
  └─┬ServiceLevelCanadaPostEnum
    ├──[➕] enum (17074:11)
    ├──[➕] enum (17076:11)
    ├──[➕] enum (17075:11)
    └──[🔀] description (17077:20)
Document Element Total Changes Breaking Changes
paths 70 0
components 6 4

PYTHON CHANGELOG

core: 4.8.16 - 2024-11-12

🐛 Bug Fixes

core: 5.6.4 - 2024-11-05

🐛 Bug Fixes

  • Prevent compilation errors with missing response schemas (commit by @bflad)

core: 5.6.3 - 2024-11-04

🐛 Bug Fixes

  • Prevent compilation errors on macOS and if the source code directory changes (commit by @bflad)

core: 5.6.2 - 2024-10-31

🐛 Bug Fixes

  • Prevent panic with invalid implicit discriminator mappings with propertyName within allOf object (commit by @bflad)

Version Bump Type: [patch] - 🤖 (automated)

@github-actions github-actions bot added the patch Patch version bump label Nov 14, 2024
@github-actions github-actions bot requested a review from a team as a code owner November 14, 2024 00:05
@github-actions github-actions bot force-pushed the speakeasy-sdk-regen-1731542695 branch 5 times, most recently from 09032ba to 7fe4fda Compare November 18, 2024 18:25
@github-actions github-actions bot force-pushed the speakeasy-sdk-regen-1731542695 branch from 7fe4fda to 9519696 Compare November 19, 2024 13:22
@rkeur7 rkeur7 closed this Nov 19, 2024
@rkeur7 rkeur7 reopened this Nov 19, 2024
Copy link
Contributor Author

github-actions bot commented Nov 19, 2024

Tests Skipped Failures Errors Time
13 0 💤 0 ❌ 0 🔥 12.774 ⏱

Comment on lines +1 to +27
from shippo.models.components import ServiceGroup, ServiceGroupAccountAndServiceLevel

import shippo


class TestServiceGroups:

def test_service_groups(self, api: shippo.Shippo):
service_groups = api.service_groups.list()

assert service_groups is not None
assert isinstance(service_groups, list)
assert len(service_groups) > 0

first_service_group = service_groups[0]
assert first_service_group is not None
assert isinstance(first_service_group, ServiceGroup)
assert first_service_group.object_id is not None
assert first_service_group.name is not None
assert first_service_group.description is not None
assert first_service_group.flat_rate_currency == 'USD'

first_service_level = first_service_group.service_levels[0]
assert first_service_level is not None
assert isinstance(first_service_level, ServiceGroupAccountAndServiceLevel)
assert first_service_level.account_object_id is not None
assert first_service_level.service_level_token is not None
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

test to cover updates to servicegroup.py

Copy link
Contributor

@AdrianCollinsShippo AdrianCollinsShippo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think it's ok

@rkeur7 rkeur7 merged commit 051f1f7 into main Nov 19, 2024
4 checks passed
@rkeur7 rkeur7 deleted the speakeasy-sdk-regen-1731542695 branch November 19, 2024 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Patch version bump
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants