@zinn-digital/sdk 0.1.1780 → 0.1.1782

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"];
@@ -187765,6 +187787,37 @@ export interface operations {
187765
187787
  422: components["responses"]["UnprocessableEntity"];
187766
187788
  };
187767
187789
  };
187790
+ startMarketplaceVendorIdentityCheck: {
187791
+ parameters: {
187792
+ query?: never;
187793
+ header?: never;
187794
+ path: {
187795
+ subject_id: string;
187796
+ };
187797
+ cookie?: never;
187798
+ };
187799
+ requestBody?: never;
187800
+ responses: {
187801
+ /** @description Where to send the seller, and the check's state. */
187802
+ 200: {
187803
+ headers: {
187804
+ [name: string]: unknown;
187805
+ };
187806
+ content: {
187807
+ "application/json": {
187808
+ /** @enum {string} */
187809
+ state: "created" | "requires_input" | "processing" | "verified" | "canceled";
187810
+ /** Format: uri */
187811
+ url: string | null;
187812
+ };
187813
+ };
187814
+ };
187815
+ 401: components["responses"]["Unauthorized"];
187816
+ 404: components["responses"]["NotFound"];
187817
+ 422: components["responses"]["UnprocessableEntity"];
187818
+ 503: components["responses"]["ServiceUnavailable"];
187819
+ };
187820
+ };
187768
187821
  submitMarketplaceVendorVerification: {
187769
187822
  parameters: {
187770
187823
  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.1782",
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>",