@zinn-digital/sdk 0.1.1772 → 0.1.1773

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -180839,16 +180839,25 @@ export interface operations {
180839
180839
  "application/json": {
180840
180840
  brand: {
180841
180841
  city: string;
180842
- /** @description The legal name exactly as on the IRS record of the EIN. */
180842
+ /** @description The legal name exactly as on the IRS record of the EIN (US), or as on the country's company register (any other country). */
180843
180843
  company_name: string;
180844
+ /**
180845
+ * @description ISO 3166-1 alpha-2 country where the business is registered. A business outside the US registers too. For `US` the EIN, phone, state and ZIP keep their US shapes (400 per field otherwise); elsewhere `ein` is the company registration or tax number, `phone` any E.164 number, and `state` and `postal_code` free text.
180846
+ * @default US
180847
+ */
180848
+ country?: string;
180844
180849
  display_name: string;
180850
+ /** @description US - the 9-digit EIN (`12-3456789` or `123456789`). Elsewhere - the company registration or tax number. */
180845
180851
  ein: string;
180846
180852
  /** Format: email */
180847
180853
  email: string;
180848
180854
  /** @enum {string} */
180849
180855
  entity_type: "PRIVATE_PROFIT" | "PUBLIC_PROFIT" | "NON_PROFIT" | "GOVERNMENT";
180856
+ /** @description E.164. A US brand needs a US number (`+1` then 10 digits). */
180850
180857
  phone: string;
180858
+ /** @description US - a ZIP code. Elsewhere - the postcode. */
180851
180859
  postal_code: string;
180860
+ /** @description US - the 2-letter state. Elsewhere - the region or county. */
180852
180861
  state: string;
180853
180862
  stock_exchange?: string;
180854
180863
  stock_symbol?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.1772",
3
+ "version": "0.1.1773",
4
4
  "description": "Typed TypeScript client for the Zinn Digital Platform API, generated from its OpenAPI spec.",
5
5
  "license": "MIT",
6
6
  "author": "Neil Lock \u2014 CEO, Zinn Digital\u00ae Ltd <office@zinndigital.com>",