@zinn-digital/sdk 0.1.1864 → 0.1.1866
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.
|
@@ -69628,7 +69628,7 @@ export interface components {
|
|
|
69628
69628
|
launched_at?: string | null;
|
|
69629
69629
|
/** @enum {string} */
|
|
69630
69630
|
network: "google" | "microsoft" | "x";
|
|
69631
|
-
/** @description `campaigns` (name, countries, language, daily_budget_micros, keywords, keyword_count, ad_groups, and `headlines`/`descriptions` or, on X, `tweets`), `daily_budget_micros`, `campaign_count`, `requests`, and `skipped` (ADBRAND: each campaign the plan cannot launch: `name`, `skipped` = noBudget | adIncomplete | adBelowGood, `guards` [{code, part}] and `reasons` [{code, have, want}], so an empty plan says why). */
|
|
69631
|
+
/** @description `campaigns` (name, countries, language, daily_budget_micros, keywords, keyword_count, ad_groups, and `headlines`/`descriptions` or, on X, `tweets`), `daily_budget_micros`, `campaign_count`, `requests`, and `skipped` (ADBRAND: each campaign the plan cannot launch: `name`, `skipped` = noBudget | adIncomplete | adBelowGood | offerMissing (za-328), `guards` [{code, part}] and `reasons` [{code, have, want}], so an empty plan says why). */
|
|
69632
69632
|
preview: {
|
|
69633
69633
|
[key: string]: unknown;
|
|
69634
69634
|
};
|
|
@@ -69822,11 +69822,11 @@ export interface components {
|
|
|
69822
69822
|
offers_free: boolean;
|
|
69823
69823
|
/** Format: uuid */
|
|
69824
69824
|
org_id: string;
|
|
69825
|
-
/** @description The plan (full reads only): campaigns, ads, dropped_lines, policy, competitors, forecast, assumptions, tracking, extensions, unallocated_minor. NEGPLAN: each campaign's `negatives` are the negatives it starts with, every one replayed against the plan's own keywords; `starter_negatives` lists them as `{text, class, narrowed_from}` (`narrowed_from` names the broad word a narrow phrase replaced because the word would have blocked one of the campaign's keywords). za-251: `free` is `{offers_free, free_searches: allowed|blocked}`, the review's "Free searches" line. za-26: `ai` is `{model, funding}` — who paid for the writing (`byo` the organisation's own key, `credits` Zinn® AI credits, `included` the free allowance). */
|
|
69825
|
+
/** @description The plan (full reads only): campaigns, ads, dropped_lines, policy, competitors, forecast, assumptions, tracking, extensions, unallocated_minor. NEGPLAN: each campaign's `negatives` are the negatives it starts with, every one replayed against the plan's own keywords; `starter_negatives` lists them as `{text, class, narrowed_from}` (`narrowed_from` names the broad word a narrow phrase replaced because the word would have blocked one of the campaign's keywords). za-251: `free` is `{offers_free, free_searches: allowed|blocked}`, the review's "Free searches" line. za-26: `ai` is `{model, funding}` — who paid for the writing (`byo` the organisation's own key, `credits` Zinn® AI credits, `included` the free allowance). za-328: each ad (`ads[lang][set]`) carries `offer` `{kinds, line, refused}` — the offer the page or brief makes (`trial` · `noCard` · `moneyBack`), the ONE unpinned headline that leads with it, and `refused` = `""` | offerMissing | offerRepeated | offerTooLong (a refused ad is not `launchable`; its campaign is `skipped` offerMissing). */
|
|
69826
69826
|
plan?: {
|
|
69827
69827
|
[key: string]: unknown;
|
|
69828
69828
|
};
|
|
69829
|
-
/** @description The AI's pre-fill (offer, brand, products, sitelinks, callouts). Full reads only. */
|
|
69829
|
+
/** @description The AI's pre-fill (offer, brand, products, sitelinks, callouts). Full reads only. za-328: `offer_seeded` is true when the pre-fill's `offer` seeded an empty brief; a clause of it the customer leaves unchanged backs no offer line unless the page states it. */
|
|
69830
69830
|
prefill?: {
|
|
69831
69831
|
[key: string]: unknown;
|
|
69832
69832
|
};
|
|
@@ -113690,9 +113690,10 @@ export interface components {
|
|
|
113690
113690
|
* @description Why a site is in its current status, as a **code the client localises** — never a sentence (#546). A failed site's dashboard card used to ask the customer to quote a reference that carried no reason, so they could not tell "retry" from "this is ours".
|
|
113691
113691
|
* ⛔ The operator text is deliberately NOT here: the reaper's own strings name our infrastructure, and a driver's exception message in a customer response is the leak #518 identified. That detail stays in the `site.provisioning_timed_out` audit row, which staff already read. It is also what makes the reason translatable into all 58 locales (CLAUDE.md §2.19) — a sentence composed in the engine would be English for ever.
|
|
113692
113692
|
* `provisioning_not_started` — nothing ever picked the site up; `provisioning_timed_out` — a run started and stopped existing; `provisioning_failed` — the build itself failed and was rolled back. All three are retryable by the customer.
|
|
113693
|
+
* `waiting_for_room` is NOT a failure and appears on a site whose `status` is still `provisioning`: there is no free space for the site yet, it is held ("being prepared"), and it is built automatically, oldest first, the moment space is free. No retry is offered or needed, nothing is cancelled or refunded, and the customer is e-mailed when the site is live.
|
|
113693
113694
|
* @enum {string}
|
|
113694
113695
|
*/
|
|
113695
|
-
SiteStatusReason: "provisioning_not_started" | "provisioning_timed_out" | "provisioning_failed";
|
|
113696
|
+
SiteStatusReason: "provisioning_not_started" | "provisioning_timed_out" | "provisioning_failed" | "waiting_for_room";
|
|
113696
113697
|
/** @description Extra storage for one site (s1014 STORAGE, docs/157 §S). */
|
|
113697
113698
|
SiteStorage: {
|
|
113698
113699
|
disk: components["schemas"]["SiteStorageUsage"];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1866",
|
|
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>",
|