diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 37d774d..0b97f75 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.52.0" + ".": "1.53.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index 1f41e32..e572dc2 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 126 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-6017828d1287c194d4d7759dc5b5410225ab58af66ff8605315f70f5e623b82d.yml -openapi_spec_hash: 4390eaf377258fcd7db1dbc073a2c23f +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-9f1a41612765cb08d100b2c9e85080e93306e8d0942d535f16052c3eb18d9b8b.yml +openapi_spec_hash: 6dd28f36adc7e7d6a9245585eaf9b9c1 config_hash: bcf82bddb691f6be773ac6cae8c03b9a diff --git a/CHANGELOG.md b/CHANGELOG.md index 33912ce..e815360 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 1.53.0 (2026-01-23) + +Full Changelog: [v1.52.0...v1.53.0](https://github.com/orbcorp/orb-go/compare/v1.52.0...v1.53.0) + +### Features + +* **api:** api update ([710823c](https://github.com/orbcorp/orb-go/commit/710823ce3d38ea4ce45c9e87197a38b96659d40b)) + ## 1.52.0 (2026-01-21) Full Changelog: [v1.51.0...v1.52.0](https://github.com/orbcorp/orb-go/compare/v1.51.0...v1.52.0) diff --git a/README.md b/README.md index e8fc76e..03f63ec 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ Or to pin the version: ```sh -go get -u 'github.com/orbcorp/orb-go@v1.52.0' +go get -u 'github.com/orbcorp/orb-go@v1.53.0' ``` diff --git a/aliases.go b/aliases.go index d300ab4..149080a 100644 --- a/aliases.go +++ b/aliases.go @@ -598,6 +598,7 @@ type CustomerMinified = shared.CustomerMinified // | Peru | `pe_ruc` | Peruvian RUC Number | // | Philippines | `ph_tin` | Philippines Tax Identification Number | // | Poland | `eu_vat` | European VAT Number | +// | Poland | `pl_nip` | Polish Tax ID Number | // | Portugal | `eu_vat` | European VAT Number | // | Romania | `eu_vat` | European VAT Number | // | Romania | `ro_tin` | Romanian Tax ID Number | @@ -1231,6 +1232,9 @@ const CustomerTaxIDTypePeRuc = shared.CustomerTaxIDTypePeRuc // This is an alias to an internal value. const CustomerTaxIDTypePhTin = shared.CustomerTaxIDTypePhTin +// This is an alias to an internal value. +const CustomerTaxIDTypePlNip = shared.CustomerTaxIDTypePlNip + // This is an alias to an internal value. const CustomerTaxIDTypeRoTin = shared.CustomerTaxIDTypeRoTin @@ -1418,6 +1422,7 @@ const CustomerTaxIDTypeZwTin = shared.CustomerTaxIDTypeZwTin // | Peru | `pe_ruc` | Peruvian RUC Number | // | Philippines | `ph_tin` | Philippines Tax Identification Number | // | Poland | `eu_vat` | European VAT Number | +// | Poland | `pl_nip` | Polish Tax ID Number | // | Portugal | `eu_vat` | European VAT Number | // | Romania | `eu_vat` | European VAT Number | // | Romania | `ro_tin` | Romanian Tax ID Number | diff --git a/customer.go b/customer.go index d2e9918..93a9c17 100644 --- a/customer.go +++ b/customer.go @@ -408,6 +408,7 @@ type Customer struct { // | Peru | `pe_ruc` | Peruvian RUC Number | // | Philippines | `ph_tin` | Philippines Tax Identification Number | // | Poland | `eu_vat` | European VAT Number | + // | Poland | `pl_nip` | Polish Tax ID Number | // | Portugal | `eu_vat` | European VAT Number | // | Romania | `eu_vat` | European VAT Number | // | Romania | `ro_tin` | Romanian Tax ID Number | @@ -981,6 +982,7 @@ type CustomerNewParams struct { // | Peru | `pe_ruc` | Peruvian RUC Number | // | Philippines | `ph_tin` | Philippines Tax Identification Number | // | Poland | `eu_vat` | European VAT Number | + // | Poland | `pl_nip` | Polish Tax ID Number | // | Portugal | `eu_vat` | European VAT Number | // | Romania | `eu_vat` | European VAT Number | // | Romania | `ro_tin` | Romanian Tax ID Number | @@ -1382,6 +1384,7 @@ type CustomerUpdateParams struct { // | Peru | `pe_ruc` | Peruvian RUC Number | // | Philippines | `ph_tin` | Philippines Tax Identification Number | // | Poland | `eu_vat` | European VAT Number | + // | Poland | `pl_nip` | Polish Tax ID Number | // | Portugal | `eu_vat` | European VAT Number | // | Romania | `eu_vat` | European VAT Number | // | Romania | `ro_tin` | Romanian Tax ID Number | @@ -1803,6 +1806,7 @@ type CustomerUpdateByExternalIDParams struct { // | Peru | `pe_ruc` | Peruvian RUC Number | // | Philippines | `ph_tin` | Philippines Tax Identification Number | // | Poland | `eu_vat` | European VAT Number | + // | Poland | `pl_nip` | Polish Tax ID Number | // | Portugal | `eu_vat` | European VAT Number | // | Romania | `eu_vat` | European VAT Number | // | Romania | `ro_tin` | Romanian Tax ID Number | diff --git a/internal/version.go b/internal/version.go index 1f0153f..7f10a09 100644 --- a/internal/version.go +++ b/internal/version.go @@ -2,4 +2,4 @@ package internal -const PackageVersion = "1.52.0" // x-release-please-version +const PackageVersion = "1.53.0" // x-release-please-version diff --git a/invoice.go b/invoice.go index 65ed76a..098b9fe 100644 --- a/invoice.go +++ b/invoice.go @@ -397,6 +397,7 @@ type InvoiceFetchUpcomingResponse struct { // | Peru | `pe_ruc` | Peruvian RUC Number | // | Philippines | `ph_tin` | Philippines Tax Identification Number | // | Poland | `eu_vat` | European VAT Number | + // | Poland | `pl_nip` | Polish Tax ID Number | // | Portugal | `eu_vat` | European VAT Number | // | Romania | `eu_vat` | European VAT Number | // | Romania | `ro_tin` | Romanian Tax ID Number | @@ -1274,6 +1275,7 @@ type InvoiceListSummaryResponse struct { // | Peru | `pe_ruc` | Peruvian RUC Number | // | Philippines | `ph_tin` | Philippines Tax Identification Number | // | Poland | `eu_vat` | European VAT Number | + // | Poland | `pl_nip` | Polish Tax ID Number | // | Portugal | `eu_vat` | European VAT Number | // | Romania | `eu_vat` | European VAT Number | // | Romania | `ro_tin` | Romanian Tax ID Number | diff --git a/shared/shared.go b/shared/shared.go index 0d21985..6b04e78 100644 --- a/shared/shared.go +++ b/shared/shared.go @@ -966,6 +966,7 @@ type ChangedSubscriptionResourcesCreatedInvoice struct { // | Peru | `pe_ruc` | Peruvian RUC Number | // | Philippines | `ph_tin` | Philippines Tax Identification Number | // | Poland | `eu_vat` | European VAT Number | + // | Poland | `pl_nip` | Polish Tax ID Number | // | Portugal | `eu_vat` | European VAT Number | // | Romania | `eu_vat` | European VAT Number | // | Romania | `ro_tin` | Romanian Tax ID Number | @@ -2378,6 +2379,7 @@ func (r customerMinifiedJSON) RawJSON() string { // | Peru | `pe_ruc` | Peruvian RUC Number | // | Philippines | `ph_tin` | Philippines Tax Identification Number | // | Poland | `eu_vat` | European VAT Number | +// | Poland | `pl_nip` | Polish Tax ID Number | // | Portugal | `eu_vat` | European VAT Number | // | Romania | `eu_vat` | European VAT Number | // | Romania | `ro_tin` | Romanian Tax ID Number | @@ -2651,6 +2653,7 @@ const ( CustomerTaxIDTypeOmVat CustomerTaxIDType = "om_vat" CustomerTaxIDTypePeRuc CustomerTaxIDType = "pe_ruc" CustomerTaxIDTypePhTin CustomerTaxIDType = "ph_tin" + CustomerTaxIDTypePlNip CustomerTaxIDType = "pl_nip" CustomerTaxIDTypeRoTin CustomerTaxIDType = "ro_tin" CustomerTaxIDTypeRsPib CustomerTaxIDType = "rs_pib" CustomerTaxIDTypeRuInn CustomerTaxIDType = "ru_inn" @@ -2682,7 +2685,7 @@ const ( func (r CustomerTaxIDType) IsKnown() bool { switch r { - case CustomerTaxIDTypeAdNrt, CustomerTaxIDTypeAeTrn, CustomerTaxIDTypeAlTin, CustomerTaxIDTypeAmTin, CustomerTaxIDTypeAoTin, CustomerTaxIDTypeArCuit, CustomerTaxIDTypeEuVat, CustomerTaxIDTypeAuAbn, CustomerTaxIDTypeAuArn, CustomerTaxIDTypeAwTin, CustomerTaxIDTypeAzTin, CustomerTaxIDTypeBaTin, CustomerTaxIDTypeBbTin, CustomerTaxIDTypeBdBin, CustomerTaxIDTypeBfIfu, CustomerTaxIDTypeBgUic, CustomerTaxIDTypeBhVat, CustomerTaxIDTypeBjIfu, CustomerTaxIDTypeBoTin, CustomerTaxIDTypeBrCnpj, CustomerTaxIDTypeBrCpf, CustomerTaxIDTypeBsTin, CustomerTaxIDTypeByTin, CustomerTaxIDTypeCaBn, CustomerTaxIDTypeCaGstHst, CustomerTaxIDTypeCaPstBc, CustomerTaxIDTypeCaPstMB, CustomerTaxIDTypeCaPstSk, CustomerTaxIDTypeCaQst, CustomerTaxIDTypeCdNif, CustomerTaxIDTypeChUid, CustomerTaxIDTypeChVat, CustomerTaxIDTypeClTin, CustomerTaxIDTypeCmNiu, CustomerTaxIDTypeCnTin, CustomerTaxIDTypeCoNit, CustomerTaxIDTypeCrTin, CustomerTaxIDTypeCvNif, CustomerTaxIDTypeDeStn, CustomerTaxIDTypeDoRcn, CustomerTaxIDTypeEcRuc, CustomerTaxIDTypeEgTin, CustomerTaxIDTypeEsCif, CustomerTaxIDTypeEtTin, CustomerTaxIDTypeEuOssVat, CustomerTaxIDTypeGBVat, CustomerTaxIDTypeGeVat, CustomerTaxIDTypeGnNif, CustomerTaxIDTypeHkBr, CustomerTaxIDTypeHrOib, CustomerTaxIDTypeHuTin, CustomerTaxIDTypeIDNpwp, CustomerTaxIDTypeIlVat, CustomerTaxIDTypeInGst, CustomerTaxIDTypeIsVat, CustomerTaxIDTypeJpCn, CustomerTaxIDTypeJpRn, CustomerTaxIDTypeJpTrn, CustomerTaxIDTypeKePin, CustomerTaxIDTypeKgTin, CustomerTaxIDTypeKhTin, CustomerTaxIDTypeKrBrn, CustomerTaxIDTypeKzBin, CustomerTaxIDTypeLaTin, CustomerTaxIDTypeLiUid, CustomerTaxIDTypeLiVat, CustomerTaxIDTypeMaVat, CustomerTaxIDTypeMdVat, CustomerTaxIDTypeMePib, CustomerTaxIDTypeMkVat, CustomerTaxIDTypeMrNif, CustomerTaxIDTypeMxRfc, CustomerTaxIDTypeMyFrp, CustomerTaxIDTypeMyItn, CustomerTaxIDTypeMySst, CustomerTaxIDTypeNgTin, CustomerTaxIDTypeNoVat, CustomerTaxIDTypeNoVoec, CustomerTaxIDTypeNpPan, CustomerTaxIDTypeNzGst, CustomerTaxIDTypeOmVat, CustomerTaxIDTypePeRuc, CustomerTaxIDTypePhTin, CustomerTaxIDTypeRoTin, CustomerTaxIDTypeRsPib, CustomerTaxIDTypeRuInn, CustomerTaxIDTypeRuKpp, CustomerTaxIDTypeSaVat, CustomerTaxIDTypeSgGst, CustomerTaxIDTypeSgUen, CustomerTaxIDTypeSiTin, CustomerTaxIDTypeSnNinea, CustomerTaxIDTypeSrFin, CustomerTaxIDTypeSvNit, CustomerTaxIDTypeThVat, CustomerTaxIDTypeTjTin, CustomerTaxIDTypeTrTin, CustomerTaxIDTypeTwVat, CustomerTaxIDTypeTzVat, CustomerTaxIDTypeUaVat, CustomerTaxIDTypeUgTin, CustomerTaxIDTypeUsEin, CustomerTaxIDTypeUyRuc, CustomerTaxIDTypeUzTin, CustomerTaxIDTypeUzVat, CustomerTaxIDTypeVeRif, CustomerTaxIDTypeVnTin, CustomerTaxIDTypeZaVat, CustomerTaxIDTypeZmTin, CustomerTaxIDTypeZwTin: + case CustomerTaxIDTypeAdNrt, CustomerTaxIDTypeAeTrn, CustomerTaxIDTypeAlTin, CustomerTaxIDTypeAmTin, CustomerTaxIDTypeAoTin, CustomerTaxIDTypeArCuit, CustomerTaxIDTypeEuVat, CustomerTaxIDTypeAuAbn, CustomerTaxIDTypeAuArn, CustomerTaxIDTypeAwTin, CustomerTaxIDTypeAzTin, CustomerTaxIDTypeBaTin, CustomerTaxIDTypeBbTin, CustomerTaxIDTypeBdBin, CustomerTaxIDTypeBfIfu, CustomerTaxIDTypeBgUic, CustomerTaxIDTypeBhVat, CustomerTaxIDTypeBjIfu, CustomerTaxIDTypeBoTin, CustomerTaxIDTypeBrCnpj, CustomerTaxIDTypeBrCpf, CustomerTaxIDTypeBsTin, CustomerTaxIDTypeByTin, CustomerTaxIDTypeCaBn, CustomerTaxIDTypeCaGstHst, CustomerTaxIDTypeCaPstBc, CustomerTaxIDTypeCaPstMB, CustomerTaxIDTypeCaPstSk, CustomerTaxIDTypeCaQst, CustomerTaxIDTypeCdNif, CustomerTaxIDTypeChUid, CustomerTaxIDTypeChVat, CustomerTaxIDTypeClTin, CustomerTaxIDTypeCmNiu, CustomerTaxIDTypeCnTin, CustomerTaxIDTypeCoNit, CustomerTaxIDTypeCrTin, CustomerTaxIDTypeCvNif, CustomerTaxIDTypeDeStn, CustomerTaxIDTypeDoRcn, CustomerTaxIDTypeEcRuc, CustomerTaxIDTypeEgTin, CustomerTaxIDTypeEsCif, CustomerTaxIDTypeEtTin, CustomerTaxIDTypeEuOssVat, CustomerTaxIDTypeGBVat, CustomerTaxIDTypeGeVat, CustomerTaxIDTypeGnNif, CustomerTaxIDTypeHkBr, CustomerTaxIDTypeHrOib, CustomerTaxIDTypeHuTin, CustomerTaxIDTypeIDNpwp, CustomerTaxIDTypeIlVat, CustomerTaxIDTypeInGst, CustomerTaxIDTypeIsVat, CustomerTaxIDTypeJpCn, CustomerTaxIDTypeJpRn, CustomerTaxIDTypeJpTrn, CustomerTaxIDTypeKePin, CustomerTaxIDTypeKgTin, CustomerTaxIDTypeKhTin, CustomerTaxIDTypeKrBrn, CustomerTaxIDTypeKzBin, CustomerTaxIDTypeLaTin, CustomerTaxIDTypeLiUid, CustomerTaxIDTypeLiVat, CustomerTaxIDTypeMaVat, CustomerTaxIDTypeMdVat, CustomerTaxIDTypeMePib, CustomerTaxIDTypeMkVat, CustomerTaxIDTypeMrNif, CustomerTaxIDTypeMxRfc, CustomerTaxIDTypeMyFrp, CustomerTaxIDTypeMyItn, CustomerTaxIDTypeMySst, CustomerTaxIDTypeNgTin, CustomerTaxIDTypeNoVat, CustomerTaxIDTypeNoVoec, CustomerTaxIDTypeNpPan, CustomerTaxIDTypeNzGst, CustomerTaxIDTypeOmVat, CustomerTaxIDTypePeRuc, CustomerTaxIDTypePhTin, CustomerTaxIDTypePlNip, CustomerTaxIDTypeRoTin, CustomerTaxIDTypeRsPib, CustomerTaxIDTypeRuInn, CustomerTaxIDTypeRuKpp, CustomerTaxIDTypeSaVat, CustomerTaxIDTypeSgGst, CustomerTaxIDTypeSgUen, CustomerTaxIDTypeSiTin, CustomerTaxIDTypeSnNinea, CustomerTaxIDTypeSrFin, CustomerTaxIDTypeSvNit, CustomerTaxIDTypeThVat, CustomerTaxIDTypeTjTin, CustomerTaxIDTypeTrTin, CustomerTaxIDTypeTwVat, CustomerTaxIDTypeTzVat, CustomerTaxIDTypeUaVat, CustomerTaxIDTypeUgTin, CustomerTaxIDTypeUsEin, CustomerTaxIDTypeUyRuc, CustomerTaxIDTypeUzTin, CustomerTaxIDTypeUzVat, CustomerTaxIDTypeVeRif, CustomerTaxIDTypeVnTin, CustomerTaxIDTypeZaVat, CustomerTaxIDTypeZmTin, CustomerTaxIDTypeZwTin: return true } return false @@ -2794,6 +2797,7 @@ func (r CustomerTaxIDType) IsKnown() bool { // | Peru | `pe_ruc` | Peruvian RUC Number | // | Philippines | `ph_tin` | Philippines Tax Identification Number | // | Poland | `eu_vat` | European VAT Number | +// | Poland | `pl_nip` | Polish Tax ID Number | // | Portugal | `eu_vat` | European VAT Number | // | Romania | `eu_vat` | European VAT Number | // | Romania | `ro_tin` | Romanian Tax ID Number | @@ -3185,6 +3189,7 @@ type Invoice struct { // | Peru | `pe_ruc` | Peruvian RUC Number | // | Philippines | `ph_tin` | Philippines Tax Identification Number | // | Poland | `eu_vat` | European VAT Number | + // | Poland | `pl_nip` | Polish Tax ID Number | // | Portugal | `eu_vat` | European VAT Number | // | Romania | `eu_vat` | European VAT Number | // | Romania | `ro_tin` | Romanian Tax ID Number |