@zinn-digital/sdk 0.1.1801 → 0.1.1805
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 +14 -4
- package/package.json +1 -1
|
@@ -10518,7 +10518,7 @@ export interface paths {
|
|
|
10518
10518
|
};
|
|
10519
10519
|
/**
|
|
10520
10520
|
* Every organization, staff ones included (staff).
|
|
10521
|
-
* @description The directory the merge screen picks from. Unlike `GET /v1/admin/customers` this does **not** filter to customer org types — the platform's own `staff` org is the commonest merge destination, and a directory that hid it would be missing the one entry an operator needs. Requires staff + `org.merge`.
|
|
10521
|
+
* @description The directory the merge screen picks from. Unlike `GET /v1/admin/customers` this does **not** filter to customer org types — the platform's own `staff` org is the commonest merge destination, and a directory that hid it would be missing the one entry an operator needs. Requires staff + `org.merge`. Cursor-paginated (keyset): follow `page.next_cursor` until `has_more` is false and every organization is reachable. It was capped at 500 rows with no cursor until ADMINORGS1114 (2026-11-14), so an organization past row 500 looked like one that did not exist.
|
|
10522
10522
|
*/
|
|
10523
10523
|
get: operations["listAdminOrgs"];
|
|
10524
10524
|
put?: never;
|
|
@@ -72301,7 +72301,7 @@ export interface components {
|
|
|
72301
72301
|
/** @description The value in force: the customer's own, else recommended. */
|
|
72302
72302
|
value: number;
|
|
72303
72303
|
};
|
|
72304
|
-
/** @description One reason an ad may not be published (za-162..165) — `brandNotPinned`, `brandMissingHeadline`, `brandMissingDescription`, `competitorInText`, `freeSoftware`, `genericOnly`, ADCOPY1's `duplicateHeadlines` / `topicMissing` / `stitched` / `titleJunk`, za-334's `sameMeaning` (two lines make the same offer about the same thing, by meaning in every language the angle table reads), `angleOverused` (more than `want` lines of one part carry one offer `angle`), `pinnedBeyondBrand` (a pin at `position` other than headline 1), `pinnedSameAngle` (two pinned lines with one offer `angle`), `offerPinned` (an offer pinned while an unpinned line already makes it), `meaningJudgeUnavailable` (za-334 r11: the same-offer judge gave no verdict, so the ad is refused — fail closed — with the reason in `failure`), or on keywords `competitorBareName` / `competitorLandsOnHome`. A `sameMeaning` named by the semantic judge carries `by: judge` and the later line in `drop`. */
|
|
72304
|
+
/** @description One reason an ad may not be published (za-162..165) — `brandNotPinned`, `brandMissingHeadline`, `brandMissingDescription`, `competitorInText`, `freeSoftware`, `genericOnly`, ADCOPY1's `duplicateHeadlines` / `topicMissing` / `stitched` / `titleJunk`, za-334's `sameMeaning` (two lines make the same offer about the same thing, by meaning in every language the angle table reads), `angleOverused` (more than `want` lines of one part carry one offer `angle`), `pinnedBeyondBrand` (a pin at `position` other than headline 1), `pinnedSameAngle` (two pinned lines with one offer `angle`), `offerPinned` (an offer pinned while an unpinned line already makes it), `meaningJudgeUnavailable` (za-334 r11: the same-offer judge gave no verdict, so the ad is refused — fail closed — with the reason in `failure`), `unsupportedUrgency` (za-334 r22: a line claims a deadline, a weekday deadline or a count of what is left that none of the advertiser's own page sentences backs; refused in every ad, offer or not. r23: only an offer sentence on the page that makes the same claim, the same end date, weekday or count, backs it; the build keeps those sentences for the launch and the change gate. r24: the backing sentence must be a current OFFER sentence, its date today or later, re-checked against today at the gate. R25a: a past or expired offer sentence backs nothing, and a weekday or "today" deadline backs only while the page read still holds it), `mixedScript` (za-334 r24: a word mixes alphabets or hides an invisible character, such as "Last Chance" typed with a Cyrillic Es for the C; R25a: a lookalike of any script, Unicode UTS #39, and only when it folds to a different Latin word, so "10kΩ" or "Ωmega" is no disguise), or on keywords `competitorBareName` / `competitorLandsOnHome`. A `sameMeaning` named by the semantic judge carries `by: judge` and the later line in `drop`. */
|
|
72305
72305
|
AdsQualityFinding: {
|
|
72306
72306
|
/**
|
|
72307
72307
|
* @description za-334 — the offer the lines repeat.
|
|
@@ -72315,6 +72315,8 @@ export interface components {
|
|
|
72315
72315
|
drop?: string;
|
|
72316
72316
|
failure?: components["schemas"]["VendorFailure"];
|
|
72317
72317
|
have?: number;
|
|
72318
|
+
/** @description za-334 r16 — every line a multi-line finding (`sameMeaning`, `duplicateHeadlines`, `pinnedSameAngle`) names, one item per ad line; `text` joins them with " / ", which a single line may itself contain ("Monthly / Annual Plans"). */
|
|
72319
|
+
lines?: string[];
|
|
72318
72320
|
/** @enum {string} */
|
|
72319
72321
|
part: "headline" | "description" | "path" | "ad" | "keyword";
|
|
72320
72322
|
/** @description za-334 — the pinned position (`pinnedBeyondBrand`). */
|
|
@@ -127987,7 +127989,7 @@ export interface operations {
|
|
|
127987
127989
|
include_internal?: boolean;
|
|
127988
127990
|
/** @description Maximum items to return (page size). */
|
|
127989
127991
|
limit?: components["parameters"]["Limit"];
|
|
127990
|
-
/** @description Case-insensitive substring over org name
|
|
127992
|
+
/** @description Case-insensitive substring over the org name and the owner's email and name. It does NOT match the org id: fetch one org by id with `GET /v1/admin/customers/{orgId}`. */
|
|
127991
127993
|
search?: string;
|
|
127992
127994
|
/** @description Only customers in this state. `paying` = settled an order and holds something live (plan, domain, site or server); `trial` = on a live trial, never paid; `never_bought` = signed up, never settled an order; `lapsed` = paid once, holds nothing live; `closed` = account closed (the only way to list those). */
|
|
127993
127995
|
state?: "paying" | "trial" | "never_bought" | "lapsed" | "closed";
|
|
@@ -138032,6 +138034,12 @@ export interface operations {
|
|
|
138032
138034
|
listAdminOrgs: {
|
|
138033
138035
|
parameters: {
|
|
138034
138036
|
query?: {
|
|
138037
|
+
/** @description Opaque cursor from a previous page's `page.next_cursor`. */
|
|
138038
|
+
cursor?: components["parameters"]["Cursor"];
|
|
138039
|
+
/** @description Maximum items to return (page size). */
|
|
138040
|
+
limit?: components["parameters"]["Limit"];
|
|
138041
|
+
/** @description Sort key, optionally `-`-prefixed for descending. Defaults to `-created` (newest first). The cursor carries the sort position, so paging a sorted list is exact; a cursor from one ordering is refused in another. An unrecognised key is a 422, never a silent fall back. */
|
|
138042
|
+
ordering?: "created" | "-created" | "name" | "-name";
|
|
138035
138043
|
/** @description Case-insensitive match on the organization name. */
|
|
138036
138044
|
search?: string;
|
|
138037
138045
|
};
|
|
@@ -138041,7 +138049,7 @@ export interface operations {
|
|
|
138041
138049
|
};
|
|
138042
138050
|
requestBody?: never;
|
|
138043
138051
|
responses: {
|
|
138044
|
-
/** @description
|
|
138052
|
+
/** @description A page of organizations. */
|
|
138045
138053
|
200: {
|
|
138046
138054
|
headers: {
|
|
138047
138055
|
"RateLimit-Remaining": components["headers"]["RateLimitRemaining"];
|
|
@@ -138050,11 +138058,13 @@ export interface operations {
|
|
|
138050
138058
|
content: {
|
|
138051
138059
|
"application/json": {
|
|
138052
138060
|
data: components["schemas"]["AdminOrgSummary"][];
|
|
138061
|
+
page: components["schemas"]["PageMeta"];
|
|
138053
138062
|
};
|
|
138054
138063
|
};
|
|
138055
138064
|
};
|
|
138056
138065
|
401: components["responses"]["Unauthorized"];
|
|
138057
138066
|
403: components["responses"]["Forbidden"];
|
|
138067
|
+
422: components["responses"]["UnprocessableEntity"];
|
|
138058
138068
|
429: components["responses"]["TooManyRequests"];
|
|
138059
138069
|
};
|
|
138060
138070
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1805",
|
|
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>",
|