@zinn-digital/sdk 0.1.1793 → 0.1.1795

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.
@@ -67107,10 +67107,14 @@ export interface components {
67107
67107
  /** Format: uuid */
67108
67108
  org_id: string;
67109
67109
  payout: components["schemas"]["MarketplacePayoutReadiness"];
67110
+ /** @description ISO-3166-1 alpha-2. */
67111
+ payout_bank_country?: string;
67110
67112
  registered_address?: string;
67111
67113
  rejection_reason?: string;
67112
67114
  /** Format: date-time */
67113
67115
  relationship_ended_at?: string | null;
67116
+ /** @description ISO-3166-1 alpha-2; empty means `country`. */
67117
+ residence_country?: string;
67114
67118
  /**
67115
67119
  * Format: date
67116
67120
  * @description Ten years from the end of the relationship, not from upload — so an active seller's file is never deleted mid-relationship and a closed one ages out on a date a scheduled job can compute.
@@ -67177,7 +67181,11 @@ export interface components {
67177
67181
  /** @description The outstanding DAC7 items in plain words, empty when complete. ⛔ Carried alongside the boolean because *"incomplete"* without *"incomplete how"* is not something a staff member chasing a seller can act on. */
67178
67182
  dac7_missing: string[];
67179
67183
  display_name: string;
67184
+ /** @description The items behind `needs_information`, in plain words. */
67185
+ information_missing?: string[];
67180
67186
  legal_name: string;
67187
+ /** @description The seller still owes a DATA item: a DAC7 item or a KYC country item (residence or payout-bank country missing or not a country). The approval stands and the seller chase asks for it; the payout waits (`country_details_incomplete` or `dac7_data_incomplete`). */
67188
+ needs_information?: boolean;
67181
67189
  /** Format: uuid */
67182
67190
  org_id: string;
67183
67191
  /** Format: date-time */
@@ -87358,6 +87366,7 @@ export interface components {
87358
87366
  status: "pending" | "approved" | "rejected";
87359
87367
  };
87360
87368
  EmailMarketingSms: {
87369
+ /** @description The Zinn® credit a text can spend now (bought credit; plan-included AI credit is excluded), the same number the send is gated on and the US registration shows. */
87361
87370
  credit_balance_usd_micros: number;
87362
87371
  max_characters: number;
87363
87372
  open: boolean;
@@ -94316,7 +94325,7 @@ export interface components {
94316
94325
  MarketplacePayoutReadiness: {
94317
94326
  permitted: boolean;
94318
94327
  /** @description Every reason at once, not the first — a seller told one problem at a time makes one round trip per problem. */
94319
- reasons: ("no_verification" | "verification_not_approved" | "document_expired" | "document_missing" | "subject_not_approved" | "sanctions_not_screened" | "sanctions_not_clear" | "document_request_holds_payouts" | "vendor_not_approved" | "no_destination" | "destination_cooling_off" | "dac7_data_incomplete" | "identity_unverified")[];
94328
+ reasons: ("no_verification" | "verification_not_approved" | "document_expired" | "document_missing" | "subject_not_approved" | "sanctions_not_screened" | "sanctions_not_clear" | "document_request_holds_payouts" | "vendor_not_approved" | "no_destination" | "destination_cooling_off" | "dac7_data_incomplete" | "country_details_incomplete" | "identity_unverified")[];
94320
94329
  };
94321
94330
  MarketplacePayoutSchedule: {
94322
94331
  currency: components["schemas"]["CurrencyCode"];
@@ -95098,9 +95107,13 @@ export interface components {
95098
95107
  /** Format: uuid */
95099
95108
  id: string;
95100
95109
  legal_name: string;
95110
+ /** @description ISO-3166-1 alpha-2 country your payout bank is in. */
95111
+ payout_bank_country?: string;
95101
95112
  registered_address?: string;
95102
95113
  /** @description Shown to the seller verbatim. A rejection with no reason is repeated. */
95103
95114
  rejection_reason?: string;
95115
+ /** @description ISO-3166-1 alpha-2 country you live in; empty means the same as `country`. */
95116
+ residence_country?: string;
95104
95117
  /** @description The individual seller's primary residence. Individual track only. */
95105
95118
  residential_address?: string;
95106
95119
  /** Format: date-time */
@@ -95164,6 +95177,8 @@ export interface components {
95164
95177
  /** @description What the file still needs, computed from the track. ⭐ Published so a screen renders the checklist rather than re-implementing the track rules and drifting from them. */
95165
95178
  MarketplaceVerificationRequirements: {
95166
95179
  can_submit: boolean;
95180
+ /** @description The DATA tokens still owed (DAC7 items such as `dac7:tin`, and the country items `dac7:country_invalid`, `dac7:tin_issued_in_invalid`, `kyc:payout_bank_country`, `kyc:payout_bank_country_invalid`, `kyc:residence_country_invalid`). Never documents. On an approved file these hold the payout until supplied. */
95181
+ information_needed?: string[];
95167
95182
  /** @description Machine-readable tokens — `photo_id:missing:<subject_id>` for a person's document, `certificate_of_incorporation:missing` for a company-level one, `authorised_person:missing` when no one is named as able to act. */
95168
95183
  missing: string[];
95169
95184
  };
@@ -95175,7 +95190,11 @@ export interface components {
95175
95190
  country?: string;
95176
95191
  /** @description The name exactly as it appears on the documents — a person's on the individual track, the company's on the company track. Not the storefront name: a storefront name is chosen and a legal name is given, and screening the wrong one screens nothing. */
95177
95192
  legal_name: string;
95193
+ /** @description ISO-3166-1 alpha-2 country the seller's payout bank is in (KYC, `docs/82` §7a). Required before a payout: a file without it reads `information_needed` and the payout is held with `country_details_incomplete`. Refused (422 `PAYOUT_BANK_COUNTRY_INVALID`) when it is not a country. ⭐ On an APPROVED file that owes information, this endpoint accepts the data items (country, residence and payout-bank country, TIN and its country, the residential address) and nothing else; the approval stands. `country` and `tin_issued_in` are refused the same way (`COUNTRY_INVALID`, `TIN_ISSUED_IN_INVALID`); a newly declared restricted country is refused with `COUNTRY_RESTRICTED`. */
95194
+ payout_bank_country?: string;
95178
95195
  registered_address?: string;
95196
+ /** @description ISO-3166-1 alpha-2 country the seller LIVES in (KYC, `docs/82` §7a). Empty means the same as `country`. Refused (422 `RESIDENCE_COUNTRY_INVALID`) when it is not a country on the ISO list; omit the key to leave the stored value alone. */
95197
+ residence_country?: string;
95179
95198
  /** @description The individual seller's primary residence, as DAC7 asks for it. Individual track only — on the company track the primary address is `registered_address`, and a second column would be one address in two places free to disagree. */
95180
95199
  residential_address?: string;
95181
95200
  /** @description Your VAT registration number. Required when `self_billing_vat_status` is `registered`: an invoice we raise in your name must show it, or neither of us can account for the tax on it. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.1793",
3
+ "version": "0.1.1795",
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>",