@zinn-digital/sdk 0.1.1903 → 0.1.1905

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.
@@ -61053,6 +61053,8 @@ export interface paths {
61053
61053
  * A run a metered SEO allowance pays for — a site audit, a backlink refresh, a keyword list, a domain report, or a link-watch check — spends that allowance and **no credit**; once the month's allowance is used it is refused with `422` naming the allowance and the day it resets (see `VisibilityPlan.allowances`).
61054
61054
  *
61055
61055
  * Keyword research with no `page_url` reports the phrases the whole site is found for; with a `page_url` on the watched domain it reports the phrases that one page is found for (the audit summary's `basis` is `site` or `page`). A page on another host, or a `page_url` on any other kind, is refused with `422` before anything is spent.
61056
+ *
61057
+ * A domain report or competitors run that repeats a question answered by a complete run in the last 14 days (same market and rival) answers `200` with that run instead of starting a new one, so asking twice never pays the data supplier twice.
61056
61058
  */
61057
61059
  post: operations["runVisibilityAudit"];
61058
61060
  delete?: never;
@@ -118590,7 +118592,7 @@ export interface components {
118590
118592
  fqdn: string;
118591
118593
  /** @description Whether the registry adds a year to the term when the transfer completes. ⛔ `null` means **unknown, not "no"** — true for every gTLD under ICANN's transfer policy, but country registries differ and we hold no source for most of them. Show the "+1 year" line only on `true`. */
118592
118594
  grants_year: boolean | null;
118593
- /** @description Why this name cannot be transferred. `TLD_NOT_OFFERED` — we do not sell that extension, or the name is not registrable (a sub-domain). `NOT_REGISTERED` — the name is available, so it is a registration, not a transfer. `CHECK_FAILED` — the registrar could not be asked, so the answer is "try again", **not** "you can buy it instead"; those are different facts and the customer's next action differs. `ALREADY_ON_PLATFORM` — this organisation already holds it. `NOT_PRICED` — we sell the TLD but hold no transfer price in this currency. Read from the registry's own record (RDAP), before payment (P6d-017): `LOCKED` — a client or server transfer lock is on; unlock it at the current registrar and check again. `TOO_NEW` — registered under 60 days ago, and `RECENTLY_TRANSFERRED` — transferred under 60 days ago; both carry `eligible_from`. `REDEMPTION` — in redemption or pending delete; the current registrar must restore it first. */
118595
+ /** @description Why this name cannot be transferred. `TLD_NOT_OFFERED` — we do not sell that extension, or the name is not registrable (a sub-domain). `NOT_REGISTERED` — the name is available, so it is a registration, not a transfer. `CHECK_FAILED` — the registrar could not be asked, so the answer is "try again", **not** "you can buy it instead"; those are different facts and the customer's next action differs. `ALREADY_ON_PLATFORM` — this organisation already holds it. `NOT_PRICED` — we sell the TLD but hold no transfer price in this currency. Read from the registry's own record (RDAP), before payment (P6d-017): `LOCKED` — a client or server transfer lock is on; unlock it at the current registrar and check again. `TOO_NEW` — registered under 60 days ago, and `RECENTLY_TRANSFERRED` — transferred under 60 days ago; both carry `eligible_from`. `REDEMPTION` — in redemption or pending delete; the current registrar must restore it first. `PREMIUM_NAME` — the registrar prices this name at a registry premium (P6d-003); the cart refuses it on add with the same code, so it is refused here before anybody pays. */
118594
118596
  reason: string | null;
118595
118597
  /** @description Whether the registry's own record (RDAP) was read for this name. `false` on an eligible row means nothing we could see blocks it but the lock state could not be read (some country registries publish no RDAP): show "could not check the lock", never a plain "ready". `null` where the check was not reached (the row was refused earlier). */
118596
118598
  registry_checked?: boolean | null;
@@ -223045,6 +223047,8 @@ export interface operations {
223045
223047
  language?: string;
223046
223048
  /** @description Research kinds only (`keyword_research`, `competitors`, `domain_score`) — the market the question is asked in, in the customer's own words ("Germany", "de"), as on a tracked keyword. Ignored for any other kind. An unresolved market is reported on the audit summary (`market.resolved: false`), never guessed. */
223047
223049
  location?: string;
223050
+ /** @description `domain_score` and `competitors` only — one of the twenty vetting markets by its location code (e.g. `2752` Sweden), asked in that market's language. It wins over `location` / `language`. Absent means worldwide for a domain report and the United States for competitors. Any other code is refused with `422` before anything is spent. */
223051
+ location_code?: number | null;
223048
223052
  /** @description Keyword research only — one page of the watched site to research instead of the whole site, e.g. `https://example.com/pricing/`. Blank means the whole site. */
223049
223053
  page_url?: string;
223050
223054
  /** @description Keyword research only — suggestions around one phrase, e.g. `blue widgets`. Blank means the site (or `page_url`) is the basis. */
@@ -223053,6 +223057,22 @@ export interface operations {
223053
223057
  };
223054
223058
  };
223055
223059
  responses: {
223060
+ /** @description The same question (target, kind, market, rival) was answered by a complete run inside the 14-day reuse window: that run is handed back, nothing is started and nothing is spent. Read it with `getVisibilityAudit`. */
223061
+ 200: {
223062
+ headers: {
223063
+ [name: string]: unknown;
223064
+ };
223065
+ content: {
223066
+ "application/json": {
223067
+ /** Format: uuid */
223068
+ audit_id: string;
223069
+ kind: components["schemas"]["VisibilityAuditKind"];
223070
+ reused: boolean;
223071
+ /** Format: uuid */
223072
+ target_id: string;
223073
+ };
223074
+ };
223075
+ };
223056
223076
  /** @description The audit has been started. */
223057
223077
  202: {
223058
223078
  headers: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.1903",
3
+ "version": "0.1.1905",
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>",