Skip to content
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
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "1.36.0"
".": "1.37.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 118
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-d74790c0b5540235e8387ccad7b806c11bcbb968fbdf99ea7dfbfc004bceb9dc.yml
openapi_spec_hash: eae212fa0114d8c3b4293c35f6ed7f7f
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-5b9152241ebdd0d2f3fd536784f33721d24a5c4a59e75cab366a3dcb36552d3d.yml
openapi_spec_hash: b40061d10bbe1ebab8998bddd1827cf8
config_hash: dd4343ce95871032ef6e0735a4ca038c
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 1.37.0 (2025-11-04)

Full Changelog: [v1.36.0...v1.37.0](https://github.com/orbcorp/orb-go/compare/v1.36.0...v1.37.0)

### Features

* **api:** api update ([e5fa77c](https://github.com/orbcorp/orb-go/commit/e5fa77c03e2be2ed62979241096d341639ab9519))

## 1.36.0 (2025-11-03)

Full Changelog: [v1.35.0...v1.36.0](https://github.com/orbcorp/orb-go/compare/v1.35.0...v1.36.0)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Or to pin the version:
<!-- x-release-please-start-version -->

```sh
go get -u 'github.com/orbcorp/orb-go@v1.36.0'
go get -u 'github.com/orbcorp/orb-go@v1.37.0'
```

<!-- x-release-please-end -->
Expand Down
16 changes: 4 additions & 12 deletions customer.go
Original file line number Diff line number Diff line change
Expand Up @@ -1090,12 +1090,8 @@ type CustomerUpdateParams struct {
// true, invoices will be automatically issued. If false, invoices will require
// manual approval.If `null` is specified, the customer's auto issuance setting
// will be inherited from the account-level setting.
AutoIssuance param.Field[bool] `json:"auto_issuance"`
// Whether automatic tax calculation is enabled for this customer. When null,
// inherits from account-level setting. When true or false, overrides the account
// setting.
AutomaticTaxEnabled param.Field[bool] `json:"automatic_tax_enabled"`
BillingAddress param.Field[AddressInputParam] `json:"billing_address"`
AutoIssuance param.Field[bool] `json:"auto_issuance"`
BillingAddress param.Field[AddressInputParam] `json:"billing_address"`
// An ISO 4217 currency string used for the customer's invoices and balance. If not
// set at creation time, will be set at subscription creation time.
Currency param.Field[string] `json:"currency"`
Expand Down Expand Up @@ -1440,12 +1436,8 @@ type CustomerUpdateByExternalIDParams struct {
// true, invoices will be automatically issued. If false, invoices will require
// manual approval.If `null` is specified, the customer's auto issuance setting
// will be inherited from the account-level setting.
AutoIssuance param.Field[bool] `json:"auto_issuance"`
// Whether automatic tax calculation is enabled for this customer. When null,
// inherits from account-level setting. When true or false, overrides the account
// setting.
AutomaticTaxEnabled param.Field[bool] `json:"automatic_tax_enabled"`
BillingAddress param.Field[AddressInputParam] `json:"billing_address"`
AutoIssuance param.Field[bool] `json:"auto_issuance"`
BillingAddress param.Field[AddressInputParam] `json:"billing_address"`
// An ISO 4217 currency string used for the customer's invoices and balance. If not
// set at creation time, will be set at subscription creation time.
Currency param.Field[string] `json:"currency"`
Expand Down
14 changes: 6 additions & 8 deletions customer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,9 @@ func TestCustomerUpdateWithOptionalParams(t *testing.T) {
}}),
Excluded: orb.F(true),
}),
AdditionalEmails: orb.F([]string{"string"}),
AutoCollection: orb.F(true),
AutoIssuance: orb.F(true),
AutomaticTaxEnabled: orb.F(true),
AdditionalEmails: orb.F([]string{"string"}),
AutoCollection: orb.F(true),
AutoIssuance: orb.F(true),
BillingAddress: orb.F(orb.AddressInputParam{
City: orb.F("city"),
Country: orb.F("country"),
Expand Down Expand Up @@ -337,10 +336,9 @@ func TestCustomerUpdateByExternalIDWithOptionalParams(t *testing.T) {
}}),
Excluded: orb.F(true),
}),
AdditionalEmails: orb.F([]string{"string"}),
AutoCollection: orb.F(true),
AutoIssuance: orb.F(true),
AutomaticTaxEnabled: orb.F(true),
AdditionalEmails: orb.F([]string{"string"}),
AutoCollection: orb.F(true),
AutoIssuance: orb.F(true),
BillingAddress: orb.F(orb.AddressInputParam{
City: orb.F("city"),
Country: orb.F("country"),
Expand Down
2 changes: 1 addition & 1 deletion internal/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

package internal

const PackageVersion = "1.36.0" // x-release-please-version
const PackageVersion = "1.37.0" // x-release-please-version