Skip to content

feat: add EU legal forms to business entity type - #781

Closed
ls-bolt[bot] wants to merge 1 commit into
mainfrom
07-31-entity-type-eu-legal-forms
Closed

feat: add EU legal forms to business entity type#781
ls-bolt[bot] wants to merge 1 commit into
mainfrom
07-31-entity-type-eu-legal-forms

Conversation

@ls-bolt

@ls-bolt ls-bolt Bot commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

This PR has been claimed. The active PR is now #782.

Summary

Adds four legal entity types to EntityType so businesses incorporated outside the US can be described faithfully:

  • PUBLICLY_LISTED_COMPANY
  • TRUST
  • PRIVATE_FOUNDATION
  • CHARITY

The existing members are US-shaped (LLC, S_CORPORATION, SOLE_PROPRIETORSHIP), so a publicly listed company, trust, foundation or charity could previously only be recorded as OTHER. Downstream verification providers distinguish these forms, and OTHER is not always accepted in their place — so the imprecision could block business verification rather than merely lose detail.

OTHER is retained for genuinely unlisted forms.

Compatibility

Additive only — no existing value changes meaning, and no field becomes required.

oasdiff breaking reports 0 errors, 40 warnings (all response-property-enum-value-added), so info.version is unchanged per the repo's convention of bumping only for breaking changes.

Clients that exhaustively switch on entityType should handle unknown values, as with any enum in this spec.

Test plan

  • make build — spec rebundled (openapi.yaml + mintlify/openapi.yaml)
  • make lint-openapi — passes, 0 errors
  • oasdiff breaking <base> <head> --fail-on ERR — exit 0

Requested by @jklein24

@ls-bolt ls-bolt Bot added the bolt label Jul 31, 2026
@vercel

vercel Bot commented Jul 31, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

2 Skipped Deployments
Project Deployment Actions Updated (UTC)
grid-flow-builder Ignored Ignored Preview Jul 31, 2026 7:12am
grid-wallet-demo Ignored Ignored Preview Jul 31, 2026 7:12am

Request Review

@github-actions

github-actions Bot commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

✱ Stainless preview builds for grid

This PR will update the grid SDKs with the following commit messages.

cli

chore(internal): regenerate SDK with no functional changes

go

feat(api): add entity type values to business customer business_info

kotlin

feat(api): add 4 entity type values to BusinessCustomer

openapi

feat(api): add trust/foundation/charity/public company to legal entity type enum

php

feat(api): add entity type values to BusinessInfo EntityType enum

python

feat(api): add entity_type values to business_customer

ruby

feat(api): add entity type enum values to business_customer models

typescript

feat(api): add business type enum values to customers

Edit this comment to update them. They will appear in their respective SDK's changelogs.

grid-typescript studio · code · diff

Your SDK build had at least one "note" diagnostic, but this did not represent a regression.
generate ✅build ✅lint ❗test ✅

npm install https://pkg.stainless.com/s/grid-typescript/431cbf28d730af83a6d355fd23334127fec93280/dist.tar.gz
grid-openapi studio · code · diff

Your SDK build had at least one "warning" diagnostic, but this did not represent a regression.
generate ⚠️

grid-ruby studio · code · diff

Your SDK build had at least one "note" diagnostic, but this did not represent a regression.
generate ✅build ✅lint ✅test ✅

grid-go studio · code · diff

Your SDK build had at least one "note" diagnostic, but this did not represent a regression.
generate ✅build ✅lint ❗test ❗

go get github.com/stainless-sdks/grid-go@a0b6a2213afca98e78f7c3a9dc4c0cbbc8bf1c92
grid-kotlin studio · code · diff

Your SDK build had at least one "warning" diagnostic, but this did not represent a regression.
generate ⚠️build ✅lint ✅test ❗

grid-python studio · code · diff

Your SDK build had at least one "note" diagnostic, but this did not represent a regression.
generate ✅build ✅lint ❗test ❗

pip install https://pkg.stainless.com/s/grid-python/5201b119406c17b13ce6430fd8e970d64629aa47/grid-0.0.1-py3-none-any.whl
grid-php studio · code · diff

Your SDK build had at least one "note" diagnostic, but this did not represent a regression.
generate ✅lint ✅test ✅

grid-cli studio · code · diff

Your SDK build had at least one "warning" diagnostic, but this did not represent a regression.
generate ⚠️build ❗lint ❗test ❗


This comment is auto-generated by GitHub Actions and is automatically kept up to date as you push.
If you push custom code to the preview branch, re-run this workflow to update the comment.
Last updated: 2026-07-31 07:17:17 UTC

@mintlify

mintlify Bot commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
Grid 🟢 Ready View Preview Jul 31, 2026, 7:13 AM

@mintlify

mintlify Bot commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
Grid 🟡 Building Jul 31, 2026, 7:12 AM

@ls-bolt

ls-bolt Bot commented Jul 31, 2026

Copy link
Copy Markdown
Contributor Author

📌 Bolt Status

2026-07-31 10:03:10 UTC — ⚡ Agent pulsing-corona-2(#2) started


Feedback

@jklein24 jklein24 closed this Jul 31, 2026
jklein24 added a commit that referenced this pull request Jul 31, 2026
## Summary

Adds four legal entity types to `EntityType` so businesses incorporated
outside the US can be described faithfully:

- `PUBLICLY_LISTED_COMPANY`
- `TRUST`
- `PRIVATE_FOUNDATION`
- `CHARITY`

The existing members are US-shaped (`LLC`, `S_CORPORATION`,
`SOLE_PROPRIETORSHIP`), so a publicly listed company, trust, foundation
or charity could previously only be recorded as `OTHER`. Downstream
verification providers distinguish these forms, and `OTHER` is not
always accepted in their place — so the imprecision could block business
verification rather than merely lose detail.

`OTHER` is retained for genuinely unlisted forms.

## Compatibility

Additive only — no existing value changes meaning, and no field becomes
required.

`oasdiff breaking` reports **0 errors, 40 warnings** (all
`response-property-enum-value-added`), so `info.version` is unchanged
per the repo's convention of bumping only for breaking changes.

Clients that exhaustively switch on `entityType` should handle unknown
values, as with any enum in this spec.

## Test plan

- `make build` — spec rebundled (`openapi.yaml` +
`mintlify/openapi.yaml`)
- `make lint-openapi` — passes, 0 errors
- `oasdiff breaking <base> <head> --fail-on ERR` — exit 0

Requested by @jklein24

Original PR: #781
@jklein24
jklein24 deleted the 07-31-entity-type-eu-legal-forms branch July 31, 2026 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant