@zinn-digital/sdk 0.1.1904 → 0.1.1906
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.
- package/dist/generated/schema.d.ts +21 -1
- package/package.json +1 -1
|
@@ -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;
|
|
@@ -121625,7 +121627,7 @@ export interface components {
|
|
|
121625
121627
|
/**
|
|
121626
121628
|
* @description `RAIL:CURRENCY` → the Xero **AccountID** each rail's money is paid into when a finalised period is settled (docs/311). ⛔ An AccountID, never a name: three apps post into one Xero organisation, and a name pick put another app's crypto into V2's account (ZH-4323). An absent key means that rail+currency is not settled by code; a configured id that is missing, archived or in another currency refuses that payment.
|
|
121627
121629
|
* @example {
|
|
121628
|
-
* "NOWPAYMENTS:USD": "
|
|
121630
|
+
* "NOWPAYMENTS:USD": "96ade7e4-bb78-4fb7-8996-4f915bd9661f"
|
|
121629
121631
|
* }
|
|
121630
121632
|
*/
|
|
121631
121633
|
clearing_account_ids: {
|
|
@@ -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.
|
|
3
|
+
"version": "0.1.1906",
|
|
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>",
|