@zinn-digital/sdk 0.1.1693 → 0.1.1695
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 +42 -4
- package/package.json +1 -1
|
@@ -33989,7 +33989,7 @@ export interface paths {
|
|
|
33989
33989
|
get?: never;
|
|
33990
33990
|
/**
|
|
33991
33991
|
* Override the Cold Outreach rule for one country, after the warning.
|
|
33992
|
-
* @description Gated on `email_marketing.manage`. Any rule other than the default needs `acknowledged: true`: the screen shows a warning that the default reflects the country's law and the organisation is responsible for sending there. The override is audited as `email_marketing.cold.country_override` (country, rule, default, who, when). Setting the default rule again removes the override.
|
|
33992
|
+
* @description Gated on `email_marketing.manage`. Any rule other than the default needs `acknowledged: true`: the screen shows a warning that the default reflects the country's law and the organisation is responsible for sending there. The override is audited as `email_marketing.cold.country_override` (country, rule, default, who, when). Setting the default rule again removes the override. `404` (`refusal.campaigns.gone`) when the caller has no acting organisation.
|
|
33993
33993
|
*/
|
|
33994
33994
|
put: operations["setEmailMarketingColdCountry"];
|
|
33995
33995
|
post?: never;
|
|
@@ -34014,7 +34014,7 @@ export interface paths {
|
|
|
34014
34014
|
put?: never;
|
|
34015
34015
|
/**
|
|
34016
34016
|
* Import business leads for Cold Outreach (checked in the background).
|
|
34017
|
-
* @description Gated on `email_marketing.manage`. `attested` must be `true`: the caller confirms the statement in `attestation` on `GET /v1/email-marketing/cold` (business contacts, a legitimate interest, published or provided business addresses); it is stored word for word with who confirmed it. Answers `202` at once; a durable workflow then checks every row (syntax, duplicates, the country rule from the `country` column or else the country-code domain, business addresses, the organisation's suppression list and the platform complaint list, then MX). Read `GET imports/{id}` for progress and the verdict of every refused row. At most `max_import_rows` rows per request: send a bigger file as several imports.
|
|
34017
|
+
* @description Gated on `email_marketing.manage`. `attested` must be `true`: the caller confirms the statement in `attestation` on `GET /v1/email-marketing/cold` (business contacts, a legitimate interest, published or provided business addresses); it is stored word for word with who confirmed it. Answers `202` at once; a durable workflow then checks every row (syntax, duplicates, the country rule from the `country` column or else the country-code domain, business addresses, the organisation's suppression list and the platform complaint list, then MX). Read `GET imports/{id}` for progress and the verdict of every refused row. At most `max_import_rows` rows per request: send a bigger file as several imports. `404` (`refusal.campaigns.gone`) when the caller has no acting organisation.
|
|
34018
34018
|
*/
|
|
34019
34019
|
post: operations["createEmailMarketingColdImport"];
|
|
34020
34020
|
delete?: never;
|
|
@@ -34078,7 +34078,7 @@ export interface paths {
|
|
|
34078
34078
|
put?: never;
|
|
34079
34079
|
/**
|
|
34080
34080
|
* Connect a mailbox (SMTP to send, IMAP to read replies) for Cold Outreach.
|
|
34081
|
-
* @description Gated on `email_marketing.manage`. The mailbox must be the customer's own: a domain we host, a domain whose mail we receive, one of our own domains, or a domain the organisation already sends opted-in campaigns from is refused (`refusal.campaigns.cold*`), so cold mail never shares reputation with marketing or hosted mail. The password goes to the secret store and is never returned. The mailbox is checked in the background at once (`verifying`). `403` while the mode is not open to the organisation; `409` when the address is already connected.
|
|
34081
|
+
* @description Gated on `email_marketing.manage`. The mailbox must be the customer's own: a domain we host, a domain whose mail we receive, one of our own domains, or a domain the organisation already sends opted-in campaigns from is refused (`refusal.campaigns.cold*`), so cold mail never shares reputation with marketing or hosted mail. The password goes to the secret store and is never returned. The mailbox is checked in the background at once (`verifying`). `403` while the mode is not open to the organisation; `409` when the address is already connected. `404` (`refusal.campaigns.gone`) when the caller has no acting organisation.
|
|
34082
34082
|
*/
|
|
34083
34083
|
post: operations["createEmailMarketingColdMailbox"];
|
|
34084
34084
|
delete?: never;
|
|
@@ -66886,6 +66886,41 @@ export interface components {
|
|
|
66886
66886
|
learning_held?: {
|
|
66887
66887
|
[key: string]: number;
|
|
66888
66888
|
};
|
|
66889
|
+
/** @description za-331: the placement review on a network that serves ads on placements outside its own surface — the LinkedIn Audience Network per campaign, X Audience Platform per line item, every Meta placement per ad set. A placement that spent, recorded no conversion and has had the clicks or the spend the account's maturity says should have bought one is a finding; below that it is `learning`; one whose conversions the network could not report is `unread`, never judged. Judged per (campaign, placement), summed across the campaign's groups; a group's only spending placement is left to the audience rule. ⛔ Nothing is sent: every finding is a person's call in the network's own screen. `status`: `checked`; `unavailable` with `reason` (`notRead`: no reader for this network yet; `noConversionTag` (X) / `noConversionTracking` (Meta): the network counts no conversion, so no placement can be judged) — "could not see", never a 0; `guard`: the placement guard reviews them (`reason: placement_guard`, Microsoft); `error`: the read was refused, the rest of the audit stands. Absent on a network with no placements. Zero counts are omitted. */
|
|
66890
|
+
placements?: {
|
|
66891
|
+
clicks_needed?: number;
|
|
66892
|
+
currency?: string;
|
|
66893
|
+
findings?: {
|
|
66894
|
+
campaign_id: string;
|
|
66895
|
+
clicks: number;
|
|
66896
|
+
/** Format: int64 */
|
|
66897
|
+
cost_micros: number;
|
|
66898
|
+
group: string;
|
|
66899
|
+
group_id: string;
|
|
66900
|
+
groups: {
|
|
66901
|
+
id: string;
|
|
66902
|
+
name: string;
|
|
66903
|
+
}[];
|
|
66904
|
+
impressions?: number;
|
|
66905
|
+
/** @description The network's own name for the placement (never translated). */
|
|
66906
|
+
label: string;
|
|
66907
|
+
/** @description Stable code: `linkedin_audience_network`, `x_audience_platform`, or Meta's `<publisher_platform>:<platform_position>`. */
|
|
66908
|
+
placement: string;
|
|
66909
|
+
}[];
|
|
66910
|
+
groups?: number;
|
|
66911
|
+
judged?: number;
|
|
66912
|
+
learning?: number;
|
|
66913
|
+
network: string;
|
|
66914
|
+
placements?: number;
|
|
66915
|
+
proposed: number;
|
|
66916
|
+
reason?: string;
|
|
66917
|
+
source?: string;
|
|
66918
|
+
/** @enum {string} */
|
|
66919
|
+
status: "checked" | "unavailable" | "guard" | "error";
|
|
66920
|
+
unread?: number;
|
|
66921
|
+
/** Format: int64 */
|
|
66922
|
+
waste_micros?: number;
|
|
66923
|
+
};
|
|
66889
66924
|
proposed?: number;
|
|
66890
66925
|
read?: {
|
|
66891
66926
|
[key: string]: number;
|
|
@@ -68950,7 +68985,7 @@ export interface components {
|
|
|
68950
68985
|
AdsInsightReading: {
|
|
68951
68986
|
/** Format: date */
|
|
68952
68987
|
day: string;
|
|
68953
|
-
/** @description pacing: `spent_minor`, `forecast_minor`, `target_minor`, `target_source` (`target`/`budgets`/`ceiling`), `off_by_pct`, `deviation_pct`, `daily_rate_minor`, `needed_daily_minor`, `days_left`, `monthly_ceiling_minor`, `note` (`notBudget`), `corrections` [{campaign, campaign_id, budget_resource, from_micros, to_micros, outcome (applied/queued/recent/weekly/undone/pending/ceiling/refused:*\/failed), change_id}]; tracking: `judged`, `actions`, `broken` [{action, name, type, kind (tag/upload/ga4/call/app/other), primary, code (stopped/dropped), expected, recorded, recent_clicks, window_start, window_end, last_seen}]; missed: `days`, `count`, `total_clicks`, `total_conversions`, `total_value`, `total_budget_cost_micros`, `campaigns` [{campaign_id, campaign, impressions, clicks, conversions, share, lost_budget, lost_rank, missed_clicks_budget, missed_clicks_rank, missed_conversions_budget, missed_conversions_rank, missed_value, budget_cost_micros, budget_micros, cap_micros, fix (raiseBudget/raiseCap/improveRank), flag_id}]; ladder (BUILDL2, docs/1006 §34): `business_type`, `currency`, `at_risk` [campaign_id], `chosen`, `wait_days`, `window_start`, `window_end`, `stages` [{stage, signal (signup/activation/paid), truth (proven/silent/missing/broken), alert, recorded, per_1000_clicks, actions [{resource, name, category, recorded, broken}]}], `unassigned` [{resource, name, category}], `counts` {"1","2","3"}, `campaigns` [{campaign_id, campaign, stage, judged_on, age_days, clicks, cost_micros, signals {signup, activation, paid}, cost_per_signal_micros, paid_value, value_bidding, next {stage, reason (signalNotProven/tooEarly/notEnoughData), truth, need_days, need_signals, signal, need_clicks} | null, allowed, not_allowed, at_risk {signal, signals, deeper, deeper_recorded, days, cost_micros, truth, recommend (bidOnDeeper/recordDeeper), actions} | null}]; share (ZWASTE3, za-179, docs/1006 §36): `window_days`, `window_start`, `window_end`, `currency`, `splits` [{campaign_id, campaign, dominant, dominant_share, starved [{country, share, impressions}], impressions, lost_budget, lost_rank, fix (splitCountry)}], `new_lost` [{campaign_id, campaign, age_days, lost_budget, lost_rank, fix (raiseBudget/improveRank)}], `cheap` (ZWASTE5, za-216: Maximize clicks buying the cheapest countries; state `cheap` when no split) [{campaign_id, campaign, countries [{country, click_share, cpc_micros, cost_micros}], click_share, cost_micros, other_cpc_micros, clicks, fix (excludeOrBidOnConversions)}]. */
|
|
68988
|
+
/** @description pacing: `spent_minor`, `forecast_minor`, `target_minor`, `target_source` (`target`/`budgets`/`ceiling`), `off_by_pct`, `deviation_pct`, `daily_rate_minor`, `needed_daily_minor`, `days_left`, `monthly_ceiling_minor`, `note` (`notBudget`), `corrections` [{campaign, campaign_id, budget_resource, from_micros, to_micros, outcome (applied/queued/recent/weekly/undone/pending/ceiling/refused:*\/failed), change_id}]; tracking: `judged`, `actions`, `broken` [{action, name, type, kind (tag/upload/ga4/call/app/other), primary, code (stopped/dropped), expected, recorded, recent_clicks, window_start, window_end, last_seen}]; missed: `days`, `count`, `total_clicks`, `total_conversions`, `total_value`, `total_budget_cost_micros`, `campaigns` [{campaign_id, campaign, impressions, clicks, conversions, share, lost_budget, lost_rank, missed_clicks_budget, missed_clicks_rank, missed_conversions_budget, missed_conversions_rank, missed_value, budget_cost_micros, budget_micros, cap_micros, fix (raiseBudget/raiseCap/improveRank), flag_id}]; ladder (BUILDL2, docs/1006 §34): `business_type`, `currency`, `at_risk` [campaign_id], `chosen`, `wait_days`, `window_start`, `window_end`, `stages` [{stage, signal (signup/activation/paid), truth (proven/silent/missing/broken), alert, recorded, per_1000_clicks, actions [{resource, name, category, recorded, broken}]}], `unassigned` [{resource, name, category}], `counts` {"1","2","3"}, `campaigns` [{campaign_id, campaign, stage, judged_on, age_days, clicks, cost_micros, signals {signup, activation, paid}, cost_per_signal_micros, paid_value, value_bidding, next {stage, reason (signalNotProven/tooEarly/notEnoughData), truth, need_days, need_signals, signal, need_clicks} | null, allowed, not_allowed, at_risk {signal, signals, deeper, deeper_recorded, days, cost_micros, truth, recommend (bidOnDeeper/recordDeeper), actions} | null}]; share (ZWASTE3, za-179, docs/1006 §36): `window_days`, `window_start`, `window_end`, `currency`, `splits` [{campaign_id, campaign, dominant, dominant_share, starved [{country, share, impressions}], impressions, lost_budget, lost_rank, fix (splitCountry)}], `new_lost` [{campaign_id, campaign, age_days, lost_budget, lost_rank, fix (raiseBudget/improveRank)}], `cheap` (ZWASTE5, za-216: Maximize clicks buying the cheapest countries; state `cheap` when no split) [{campaign_id, campaign, countries [{country, click_share, cpc_micros, cost_micros}], click_share, cost_micros, other_cpc_micros, clicks, fix (excludeOrBidOnConversions)}]; campaign feed (za-40, za-54): `currency`, `since`, `until`, `spend_micros`, `campaigns`, and (za-331) `placements` — the placement review read with the same reading, shaped as `AdsAuditRun.summary.placements` (LinkedIn Audience Network, Meta placements; every finding a person's call, nothing sent). */
|
|
68954
68989
|
figures: {
|
|
68955
68990
|
[key: string]: unknown;
|
|
68956
68991
|
};
|
|
@@ -174955,6 +174990,7 @@ export interface operations {
|
|
|
174955
174990
|
400: components["responses"]["UnprocessableEntity"];
|
|
174956
174991
|
401: components["responses"]["Unauthorized"];
|
|
174957
174992
|
403: components["responses"]["Forbidden"];
|
|
174993
|
+
404: components["responses"]["NotFound"];
|
|
174958
174994
|
};
|
|
174959
174995
|
};
|
|
174960
174996
|
listEmailMarketingColdImports: {
|
|
@@ -175012,6 +175048,7 @@ export interface operations {
|
|
|
175012
175048
|
400: components["responses"]["UnprocessableEntity"];
|
|
175013
175049
|
401: components["responses"]["Unauthorized"];
|
|
175014
175050
|
403: components["responses"]["Forbidden"];
|
|
175051
|
+
404: components["responses"]["NotFound"];
|
|
175015
175052
|
413: components["responses"]["PayloadTooLarge"];
|
|
175016
175053
|
503: components["responses"]["ServiceUnavailable"];
|
|
175017
175054
|
};
|
|
@@ -175127,6 +175164,7 @@ export interface operations {
|
|
|
175127
175164
|
400: components["responses"]["UnprocessableEntity"];
|
|
175128
175165
|
401: components["responses"]["Unauthorized"];
|
|
175129
175166
|
403: components["responses"]["Forbidden"];
|
|
175167
|
+
404: components["responses"]["NotFound"];
|
|
175130
175168
|
409: components["responses"]["Conflict"];
|
|
175131
175169
|
503: components["responses"]["ServiceUnavailable"];
|
|
175132
175170
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1695",
|
|
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>",
|