@zinn-digital/sdk 0.1.1780 → 0.1.1784

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.
@@ -39645,6 +39645,26 @@ export interface paths {
39645
39645
  patch: operations["updateMarketplaceVerificationSubject"];
39646
39646
  trace?: never;
39647
39647
  };
39648
+ "/v1/marketplace/vendor/verification/subjects/{subject_id}/identity-check": {
39649
+ parameters: {
39650
+ query?: never;
39651
+ header?: never;
39652
+ path?: never;
39653
+ cookie?: never;
39654
+ };
39655
+ get?: never;
39656
+ put?: never;
39657
+ /**
39658
+ * Start (or resume) this person's Stripe Identity check.
39659
+ * @description The identity check is the payout gate (owner, 2026-11-13): a seller approved to sell verifies the identity of each person on the file once their first payout is due. Returns the provider's hosted page to send the seller to; `url` is null when the check is already with the provider and nothing is left for the seller to do. The return URL is built by the server, never taken from the request. Refusals (422, `details[].code`): `NOT_SUBMITTED` (no submitted or automatically approved file), `PAYOUT_NOT_DUE`, `NOT_IN_GOOD_STANDING`, `ALREADY_VERIFIED`; none of them opens a paid session. An open session is resumed, never paid for twice.
39660
+ */
39661
+ post: operations["startMarketplaceVendorIdentityCheck"];
39662
+ delete?: never;
39663
+ options?: never;
39664
+ head?: never;
39665
+ patch?: never;
39666
+ trace?: never;
39667
+ };
39648
39668
  "/v1/marketplace/vendor/verification/submit": {
39649
39669
  parameters: {
39650
39670
  query?: never;
@@ -95052,6 +95072,8 @@ export interface components {
95052
95072
  full_name: string;
95053
95073
  /** Format: uuid */
95054
95074
  id: string;
95075
+ /** @description This person holds a valid identity check (verified, document not expired). The screen offers "Verify your ID" only to a person for whom this is false. */
95076
+ identity_verified?: boolean;
95055
95077
  /** @description The person authorised to act. An individual is trivially that person. */
95056
95078
  is_authorised: boolean;
95057
95079
  kind: components["schemas"]["MarketplaceVerificationSubjectKind"];
@@ -111750,6 +111772,8 @@ export interface components {
111750
111772
  domain_state?: components["schemas"]["DomainAttachState"] | null;
111751
111773
  /** @description Set when the site's latest domain change ended without moving the site (its primary domain is still the current one; the saga's undo is best effort); null otherwise. `reason` is a machine key the client explains: `dns_never_pointed` (the new name was not pointed at the site within the waiting period: the customer can fix their DNS and try again), `certificate_not_issued` (no certificate for the new name could be issued, so the site never switched: the customer can check the name's DNS and try again), `domain_in_other_dns_account` (the domain is held in a DNS account that is not ours and its nameservers do not point at us: the customer keeps their own DNS, adds `failed.dns_record` there and tries again; not a platform fault) or `our_side` (any other failure: contact support). */
111752
111774
  failed: components["schemas"]["SiteRenameFailure"] | null;
111775
+ /** @description True when the platform writes `dns_record` itself once the domain's delegation is live: the domain is registered with us, we hold its DNS zone, its DNS is not managed externally, and it is delegated to that zone (or its registrar nameservers are already our expected pair while the delegation goes live). False for a name whose DNS is hosted elsewhere (for example its own Cloudflare account) even when it is registered with us: the customer adds the record there. Always false when nothing is waiting. */
111776
+ pointed_by_us?: boolean;
111753
111777
  site_id: components["schemas"]["Uuid"];
111754
111778
  /** @description The domain the change is waiting for, or null. */
111755
111779
  waiting_for: components["schemas"]["Hostname"] | null;
@@ -187765,6 +187789,37 @@ export interface operations {
187765
187789
  422: components["responses"]["UnprocessableEntity"];
187766
187790
  };
187767
187791
  };
187792
+ startMarketplaceVendorIdentityCheck: {
187793
+ parameters: {
187794
+ query?: never;
187795
+ header?: never;
187796
+ path: {
187797
+ subject_id: string;
187798
+ };
187799
+ cookie?: never;
187800
+ };
187801
+ requestBody?: never;
187802
+ responses: {
187803
+ /** @description Where to send the seller, and the check's state. */
187804
+ 200: {
187805
+ headers: {
187806
+ [name: string]: unknown;
187807
+ };
187808
+ content: {
187809
+ "application/json": {
187810
+ /** @enum {string} */
187811
+ state: "created" | "requires_input" | "processing" | "verified" | "canceled";
187812
+ /** Format: uri */
187813
+ url: string | null;
187814
+ };
187815
+ };
187816
+ };
187817
+ 401: components["responses"]["Unauthorized"];
187818
+ 404: components["responses"]["NotFound"];
187819
+ 422: components["responses"]["UnprocessableEntity"];
187820
+ 503: components["responses"]["ServiceUnavailable"];
187821
+ };
187822
+ };
187768
187823
  submitMarketplaceVendorVerification: {
187769
187824
  parameters: {
187770
187825
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.1780",
3
+ "version": "0.1.1784",
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>",