@zinn-digital/sdk 0.1.1347 → 0.1.1351
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 +26 -3
- package/package.json +1 -1
|
@@ -56263,6 +56263,8 @@ export interface components {
|
|
|
56263
56263
|
updated_at: string;
|
|
56264
56264
|
};
|
|
56265
56265
|
AdminBoardActivity: {
|
|
56266
|
+
/** @description The member of staff behind an act done from an impersonated session (`user:<staff id>`, the audit log's ref); null for an ordinary act. Staff-only: customer payloads read `support` instead (VERIFY-ACTORS6). */
|
|
56267
|
+
acting_ref?: string | null;
|
|
56266
56268
|
actor_id: components["schemas"]["Uuid"] | null;
|
|
56267
56269
|
actor_is_client: boolean;
|
|
56268
56270
|
/**
|
|
@@ -61178,10 +61180,22 @@ export interface components {
|
|
|
61178
61180
|
basis?: string;
|
|
61179
61181
|
/** Format: date-time */
|
|
61180
61182
|
recorded_at?: string | null;
|
|
61183
|
+
/** @description Who last recorded the consent, by name (else e-mail) — set ONLY when `recorded_by_kind` is `person` (a current member of this org); empty otherwise. Never a raw `user:<id>` (VERIFY-ADSACTOR). */
|
|
61181
61184
|
recorded_by?: string;
|
|
61185
|
+
/**
|
|
61186
|
+
* @description Who recorded the consent, as a kind the screen translates — the same kinds as `AdsBudgetDecision.decided_by_kind` (`support` = our staff, including while impersonating). `null` when nobody has.
|
|
61187
|
+
* @enum {string|null}
|
|
61188
|
+
*/
|
|
61189
|
+
recorded_by_kind?: "person" | "support" | "agency" | "former_member" | "assistant" | "automatic" | "integration" | "other" | null;
|
|
61182
61190
|
/** Format: date-time */
|
|
61183
61191
|
terms_accepted_at?: string | null;
|
|
61192
|
+
/** @description Who accepted the Customer Match terms — the same rule as `recorded_by`. */
|
|
61184
61193
|
terms_accepted_by?: string;
|
|
61194
|
+
/**
|
|
61195
|
+
* @description Who accepted the terms, as a kind (as `recorded_by_kind`); `null` when nobody has.
|
|
61196
|
+
* @enum {string|null}
|
|
61197
|
+
*/
|
|
61198
|
+
terms_accepted_by_kind?: "person" | "support" | "agency" | "former_member" | "assistant" | "automatic" | "integration" | "other" | null;
|
|
61185
61199
|
};
|
|
61186
61200
|
/** Format: date-time */
|
|
61187
61201
|
created_at: string;
|
|
@@ -61489,7 +61503,7 @@ export interface components {
|
|
|
61489
61503
|
/** @description The person who decided, by name (else e-mail) — set ONLY when `decided_by_kind` is `person`, i.e. a current member of this org; empty for every other kind. Never a raw `user:<id>` or `mcp:<id>`: the audit trail keeps the stored actor. */
|
|
61490
61504
|
decided_by: string;
|
|
61491
61505
|
/**
|
|
61492
|
-
* @description Who decided, as a kind the screen translates: `person` (a current member, named in `decided_by`), `support` (our staff), `agency` (a member of the parent org), `former_member` (removed, deleted or not of this org), `assistant` (the AI assistant over MCP), `automatic` (the autopilot), `integration` (an API key), `other`.
|
|
61506
|
+
* @description Who decided, as a kind the screen translates: `person` (a current member, named in `decided_by`), `support` (our staff — including a decision made while our staff were signed in to this account on the customer's behalf (impersonation): it is recorded as the staff member, never the customer), `agency` (a member of the parent org), `former_member` (removed, deleted or not of this org), `assistant` (the AI assistant over MCP), `automatic` (the autopilot), `integration` (an API key, stored as `apikey:<id>`), `other`.
|
|
61493
61507
|
* @enum {string}
|
|
61494
61508
|
*/
|
|
61495
61509
|
decided_by_kind: "person" | "support" | "agency" | "former_member" | "assistant" | "automatic" | "integration" | "other";
|
|
@@ -61822,6 +61836,7 @@ export interface components {
|
|
|
61822
61836
|
connection_id: string;
|
|
61823
61837
|
/** Format: date-time */
|
|
61824
61838
|
decided_at: string | null;
|
|
61839
|
+
/** @description Who approved or declined it: who stored it (`user:<id>`, `autopilot`, `mcp:<id>`, `apikey:<id>`, …) — except a member of our staff, who reads `support` and never their id (VERIFY-ADSACTOR: an impersonated write is recorded as the staff member). */
|
|
61825
61840
|
decided_by: string;
|
|
61826
61841
|
/** @description Why the change was not sent, its CODE leading (`ceiling`, `killed`, `paused`, `disconnected`, `standing: …`, `needsReconnect`, `adBelowGood`, `xWritesOff`, za-70 `collides` — the collision simulator found what `summary.collision` names — or `collisionUnread` — the account could not be read for the replay — and za-10 `convertingSearch: …` — a negative keyword that would block a search with a conversion in the last 30 days, refused at the send even when a person approved it; SERVEWATCH `strategyStarves` — a bid-strategy switch whose ceiling or bids cannot win most of the campaign's searches against Google's own top-of-page estimates, refused whoever asked, its figures in `summary.serving_check`; UNDOSTRAT, on an APPLIED change whose Undo puts a bid strategy back: `killed` · `paused` · `standing` · `strategyStarves` followed by `: undo refused` — the restore passes the kill switch, good standing and the same simulation — and `undoReadBackDiffers: <campaigns>`, the strategy Google read back after the Undo is not `summary.bidding_before`, so the change stays applied and its Undo can be sent again); otherwise the network's own sentence. Empty when nothing went wrong. */
|
|
61827
61842
|
error: string;
|
|
@@ -61831,6 +61846,7 @@ export interface components {
|
|
|
61831
61846
|
org_id: string;
|
|
61832
61847
|
/** Format: date-time */
|
|
61833
61848
|
proposed_at: string;
|
|
61849
|
+
/** @description Who proposed the change: who stored it (`user:<id>`, `autopilot`, `mcp:<id>`, `apikey:<id>`, …) — except a member of our staff, who reads `support` and never their id (VERIFY-ADSACTOR: an impersonated write is recorded as the staff member). */
|
|
61834
61850
|
proposed_by: string;
|
|
61835
61851
|
status: components["schemas"]["AdsChangeStatus"];
|
|
61836
61852
|
/** @description What the change does, for the card. SERVEWATCH adds `serving_check` (a bid-strategy switch simulated before the send: `verdict` ok · unknown · starves, `strategy`, `reason`, `ceiling_micros`, `need_micros`, `reach_pct` of the searches the ceiling can win, `raise_to_micros`, `fix`), `restores_served` (a serving-watch revert of the change that stopped a campaign) and `converting_removal` (a removal of campaigns that produced `share_pct`% of the account's results in 30 days: `campaigns`, `share_pct`, `conversions` — an automatic one waits for a person). UNDOSTRAT adds `bidding_before` on a change that alters a campaign's bidding: one entry per campaign (`resource`, `type` the bidding strategy type, `portfolio` a portfolio strategy's resource or `settings` the strategy's own values — `location`, `locationFractionMicros`, `cpcBidCeilingMicros`, `cpcBidFloorMicros`, `targetCpaMicros`, `targetRoas`, `enhancedCpcEnabled`), read before the send. Its Undo restores exactly that, and is marked undone only when Google reads it back. */
|
|
@@ -63861,7 +63877,13 @@ export interface components {
|
|
|
63861
63877
|
created_by: string;
|
|
63862
63878
|
/** Format: date-time */
|
|
63863
63879
|
decided_at: string | null;
|
|
63880
|
+
/** @description Who decided, by name (else e-mail) — set ONLY when `decided_by_kind` is `person`, a current member of this org; empty otherwise. Never the stored `user:<id>` (ADSACTOR r2): the audit trail keeps it. */
|
|
63864
63881
|
decided_by: string;
|
|
63882
|
+
/**
|
|
63883
|
+
* @description Who decided, as a kind the screen translates — the same rule as a budget decision's `decided_by_kind` (`automatic` also covers a review settled by the autopilot's own test). `null` while nothing is decided.
|
|
63884
|
+
* @enum {string|null}
|
|
63885
|
+
*/
|
|
63886
|
+
decided_by_kind: "person" | "support" | "agency" | "former_member" | "assistant" | "automatic" | "integration" | "other" | null;
|
|
63865
63887
|
/** @enum {string} */
|
|
63866
63888
|
decision: "" | "keep" | "pause" | "revert" | "extend";
|
|
63867
63889
|
/** Format: date */
|
|
@@ -65375,8 +65397,9 @@ export interface components {
|
|
|
65375
65397
|
/** @description One person, resolved to something a human recognises. ⛔ Every `*_by` field on the AGENCY's side of this API carries one of these rather than a bare id — the People drawer rendered a raw UUID at a colleague's name until 2026-09-01, and an object with no id-shaped field to reach for is what stops that recurring. */
|
|
65376
65398
|
AgencyBoardActor: {
|
|
65377
65399
|
email?: string;
|
|
65378
|
-
|
|
65379
|
-
|
|
65400
|
+
/** @description Null when a member of staff did this from an impersonated session — `name` is then `support` and no person is named (VERIFY-ACTORS6). */
|
|
65401
|
+
id: components["schemas"]["Uuid"] | null;
|
|
65402
|
+
/** @description Display name, falling back to the email address when the account has never set one. Never blank. `support` for an act a member of staff did while impersonating. */
|
|
65380
65403
|
name: string;
|
|
65381
65404
|
};
|
|
65382
65405
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1351",
|
|
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>",
|