Repository navigation
feat: add EU regulatory customs item IDs and tax identifier address - #602
Merged
Justin Hammond (Justintime50) merged 6 commits intoOct 29, 2026
Merged
Conversation
Justin Hammond (Justintime50)
marked this pull request as ready for review
October 29, 2026 19:23
Stephen Watkins (stephenjwatkins)
approved these changes
Oct 29, 2026
Justin Hammond (Justintime50)
deleted the
DOCS-947-eu-regulatory-fields
branch
October 29, 2026 21:35
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Exposes the new EU regulatory fields in the Node typings for DOCS-947 and bumps the version to v9.1.0.
manufacturer_product_id(NS-PID) andstandardized_product_id(S-PID such as a GTIN/EAN)declares to theCustomsItemmodel and toCustomsItemCreateParameters, and types thecustoms_itemsnested inCustomsInfoCreateParametersasCustomsItemCreateParameters | CustomsItem.CustomsInfo.customs_itemson the model is now typed asCustomsItem[].addressto the shipmentShipmentTaxIdentifiercreate params, typed asAddressCreateParameters | Address(inline fields or an{ id: 'adr_...' }reference; the API rejects a bare string).TaxIdentifiermodel (entity,tax_id,tax_id_type,issuing_country,address) following theSurchargeprecedent, and declarestax_identifierson theShipmentmodel, matching the C#, Go and Java models.optionsis alreadyRecord<string, unknown>-loose, so UPScarrier_options.shipper_type/consignee_typealready passes through.src/services/shipment_service.ts: removes a straystatic async createAndBuyLuma(params: ShipmentCreateParameters): Promise<unknown> {line that a bad merge in TSM-06: convert Group A services to TypeScript #563 left inside the JSDoc abovecreate(), and restores the originalCreate a {@link Shipment shipment}.summary it replaced. No code changes.package.jsonand the two top-levelversionfields ofpackage-lock.json(no dependency changes), and adds the CHANGELOG entry.Testing
No new tests or cassettes. This only adds model and parameter typings and changes a comment.
tsc -p tsconfig.build.json --noEmit,eslintandprettier --checkon the changed files pass locally. CI covers the rest.Pull Request Type
Please select the option(s) that are relevant to this PR.