@zinn-digital/sdk 0.1.1863 → 0.1.1865
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
|
};
|
|
@@ -122209,7 +122209,7 @@ export interface components {
|
|
|
122209
122209
|
headers: {
|
|
122210
122210
|
/** @description Requests remaining in the current rate-limit window. */
|
|
122211
122211
|
RateLimitRemaining: number;
|
|
122212
|
-
/** @description Present only on an ANONYMOUS GET of a route the public read cache covers (PUBCACHE, `docs/16` §12.6). `HIT` — answered from the shared cache, before the rate limiter and the database, so no `RateLimit-Remaining` is sent; `MISS` — computed now and stored for up to 60 s. Absent when the request carried a credential (`Authorization`, `Cookie`, `X-Api-Key`), which is never served from nor stored into the cache. Also absent when the request carried any query parameter other than a supported `locale`, an enabled `currency` (upper case), a known `product_line` or the knowledge-base `limit=200`, a repeated parameter, or a value outside those sets,
|
|
122212
|
+
/** @description Present only on an ANONYMOUS GET of a route the public read cache covers (PUBCACHE, `docs/16` §12.6). `HIT` — answered from the shared cache, before the rate limiter and the database, so no `RateLimit-Remaining` is sent; `MISS` — computed now and stored for up to 60 s. Absent when the request carried a credential (`Authorization`, `Cookie`, `X-Api-Key`), which is never served from nor stored into the cache. Also absent when the request carried any query parameter other than a supported `locale`, an enabled `currency` (upper case), a known `product_line` or the knowledge-base `limit=200`, a repeated parameter, or a value outside those sets, when the `Accept` header asks for anything but plain JSON (a media type other than `application/json`, `text/plain` or a wildcard, or a media-type parameter such as `; indent=4`), when the answer is too large to store, and for a few seconds after the cache itself failed: those requests are answered normally and never cached. */
|
|
122213
122213
|
ZinnApiCache: "HIT" | "MISS";
|
|
122214
122214
|
};
|
|
122215
122215
|
pathItems: never;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1865",
|
|
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>",
|