@zinn-digital/sdk 0.1.1779 → 0.1.1780

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.
@@ -176586,7 +176586,10 @@ export interface operations {
176586
176586
  };
176587
176587
  getDomainDelegation: {
176588
176588
  parameters: {
176589
- query?: never;
176589
+ query?: {
176590
+ /** @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. */
176591
+ not_hosted?: "no_content";
176592
+ };
176590
176593
  header?: never;
176591
176594
  path: {
176592
176595
  /** @description The domain's id. */
@@ -176605,6 +176608,13 @@ export interface operations {
176605
176608
  "application/json": components["schemas"]["Delegation"];
176606
176609
  };
176607
176610
  };
176611
+ /** @description Only with `not_hosted=no_content`: we do not host this domain's DNS, so there is no delegation to report. */
176612
+ 204: {
176613
+ headers: {
176614
+ [name: string]: unknown;
176615
+ };
176616
+ content?: never;
176617
+ };
176608
176618
  401: components["responses"]["Unauthorized"];
176609
176619
  403: components["responses"]["Forbidden"];
176610
176620
  404: components["responses"]["NotFound"];
@@ -207725,7 +207735,10 @@ export interface operations {
207725
207735
  };
207726
207736
  getSiteChatAgent: {
207727
207737
  parameters: {
207728
- query?: never;
207738
+ query?: {
207739
+ /** @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. */
207740
+ absent?: "no_content";
207741
+ };
207729
207742
  header?: never;
207730
207743
  path: {
207731
207744
  /** @description Site ID (UUIDv7). */
@@ -207744,6 +207757,13 @@ export interface operations {
207744
207757
  "application/json": components["schemas"]["ChatAgent"];
207745
207758
  };
207746
207759
  };
207760
+ /** @description Only with `absent=no_content`: this site has no agent yet. */
207761
+ 204: {
207762
+ headers: {
207763
+ [name: string]: unknown;
207764
+ };
207765
+ content?: never;
207766
+ };
207747
207767
  401: components["responses"]["Unauthorized"];
207748
207768
  403: components["responses"]["Forbidden"];
207749
207769
  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.1780",
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>",