@zinn-digital/sdk 0.1.1779 → 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"];
@@ -176586,7 +176608,10 @@ export interface operations {
176586
176608
  };
176587
176609
  getDomainDelegation: {
176588
176610
  parameters: {
176589
- query?: never;
176611
+ query?: {
176612
+ /** @description `no_content` answers a domain whose DNS we do not host with a `204` instead of the `DNS_NOT_HOSTED` 404. A domain outside the caller's scope is still a 404. */
176613
+ not_hosted?: "no_content";
176614
+ };
176590
176615
  header?: never;
176591
176616
  path: {
176592
176617
  /** @description The domain's id. */
@@ -176605,6 +176630,13 @@ export interface operations {
176605
176630
  "application/json": components["schemas"]["Delegation"];
176606
176631
  };
176607
176632
  };
176633
+ /** @description Only with `not_hosted=no_content`: we do not host this domain's DNS, so there is no delegation to report. */
176634
+ 204: {
176635
+ headers: {
176636
+ [name: string]: unknown;
176637
+ };
176638
+ content?: never;
176639
+ };
176608
176640
  401: components["responses"]["Unauthorized"];
176609
176641
  403: components["responses"]["Forbidden"];
176610
176642
  404: components["responses"]["NotFound"];
@@ -187755,6 +187787,37 @@ export interface operations {
187755
187787
  422: components["responses"]["UnprocessableEntity"];
187756
187788
  };
187757
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
+ };
187758
187821
  submitMarketplaceVendorVerification: {
187759
187822
  parameters: {
187760
187823
  query?: never;
@@ -207725,7 +207788,10 @@ export interface operations {
207725
207788
  };
207726
207789
  getSiteChatAgent: {
207727
207790
  parameters: {
207728
- query?: never;
207791
+ query?: {
207792
+ /** @description `no_content` answers a site with no agent yet with a `204` instead of the 404. A site outside the caller's scope is still a 404. */
207793
+ absent?: "no_content";
207794
+ };
207729
207795
  header?: never;
207730
207796
  path: {
207731
207797
  /** @description Site ID (UUIDv7). */
@@ -207744,6 +207810,13 @@ export interface operations {
207744
207810
  "application/json": components["schemas"]["ChatAgent"];
207745
207811
  };
207746
207812
  };
207813
+ /** @description Only with `absent=no_content`: this site has no agent yet. */
207814
+ 204: {
207815
+ headers: {
207816
+ [name: string]: unknown;
207817
+ };
207818
+ content?: never;
207819
+ };
207747
207820
  401: components["responses"]["Unauthorized"];
207748
207821
  403: components["responses"]["Forbidden"];
207749
207822
  404: components["responses"]["NotFound"];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.1779",
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>",