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(internal): add type construction helper #328

Merged
merged 1 commit into from
Jul 29, 2024

Conversation

stainless-app[bot]
Copy link
Contributor

@stainless-app stainless-app bot commented Jul 29, 2024

No description provided.

@stainless-app stainless-app bot merged commit a3f8ba9 into generated Jul 29, 2024
@stainless-app stainless-app bot deleted the chore-internal-add-type-construc branch July 29, 2024 14:58
@stainless-app stainless-app bot mentioned this pull request Jul 29, 2024
stainless-app bot added a commit that referenced this pull request Aug 2, 2024
* feat(api)!: add semi_annual cadence and remove metadata from update items (#288)

* docs: small updates (#290)

* feat(api): updates (#291)

* chore(internal): add a `default_query` method (#292)

* chore(docs): improve Coupon description (#293)

* fix(client/async): avoid blocking io call for platform headers (#294)

* feat(api): add support for adding allocation price to subscription (#295)

* feat(api): external connections made optional when updating items (#296)

* fix(api)!: endpoint expects amount of new allocation price to be a string, not a number (#297)

# Migration
This change is fixing the SDK to use the correct `string` type expected by the API. The spec was incorrectly specifying a type `number` but the endpoint expected a string.
While this change is technically an SDK breaking change the previous types weren't accurately representing the API behaviour.
To migrate, be sure to use a string representation of the new allocation price amount.

* fix(docs): fix link to advanced python httpx docs (#298)

* fix: temporarily patch upstream version to fix broken release flow (#299)

* fix(build): include more files in sdist builds (#300)

* feat(api): add support for query param include_all_blocks (#301)

* chore(docs): updates price intervals docs (#302)

* chore(deps): bump anyio to v4.4.0 (#303)

* chore(internal): add reflection helper function (#304)

* chore: gitignore test server logs (#305)

* chore(internal): add rich as a dev dependency (#306)

it's often very helpful when writing demo scripts

* chore(internal): add helper method for constructing `BaseModel`s (#307)

* fix(client): always respect content-type multipart/form-data if provided (#308)

* chore(ci): update rye to v0.35.0 (#309)

* feat(api): add 'status' to plan creation params (#310)

* chore(internal): minor request options handling changes (#311)

* chore(internal): add helper function (#312)

* chore(internal): update mypy (#313)

* chore(ci): also run workflows for PRs targeting `next` (#314)

* chore(internal): minor import restructuring (#315)

* docs(examples): use named params more (#316)

* chore(internal): minor options / compat functions updates (#317)

* chore(docs): minor update to formatting of API link in README (#318)

* chore(internal): update formatting (#319)

* chore(internal): update formatting (#320)

* feat(api): add methods to prices and invoices (#321)

* chore(docs): document how to do per-request http client customization (#322)

* chore(ci): limit release doctor target branches (#323)

* docs(readme): fix example snippet imports (#324)

* chore(tests): update prism version (#325)

* chore: fix error message import example (#326)

* feat(api): add cadence enum value 'custom' (#327)

* chore(internal): add type construction helper (#328)

* feat(api): deprecate methods 'customers.usage.create' and 'customers.usage.update_by_external_id' (#329)

Please use the 'events.backfills.create' instead.
See https://docs.withorb.com/reference/create-backfill for more details.

* feat(api)!: remove methods 'customers.usage.create' and 'customers.usage.update_by_external_id' (#330)

## Migration
The two methods `customers.usage.create` and `customers.usage.update_by_external_id` have been removed from the SDK and the API.
Please use 'events.backfills.create' instead.
More details for this endpoint can be found at https://docs.withorb.com/reference/create-backfill

* release: 2.0.0

---------

Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant