@zinn-digital/sdk 0.1.1747 → 0.1.1749
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 +13 -4
- package/package.json +1 -1
|
@@ -22313,7 +22313,7 @@ export interface paths {
|
|
|
22313
22313
|
};
|
|
22314
22314
|
/**
|
|
22315
22315
|
* The social-network autopilot on this org's X, Meta and TikTok accounts.
|
|
22316
|
-
* @description Gated on `ads.view`. Read from our own rows (no network call). Per X and Meta account: `levers` says what the autopilot judges there (`audiences` and `creatives` are judged by the scheduled audit; Meta `placements` by the placement guard and `budgets` by the cross-network budget, `elsewhere` with the screen in `where`; X offers no placement change on a running line item, `not_offered`). `review` is the latest audit: audiences (X line items, Meta ad sets) and creatives (X promoted Tweets, Meta ads) judged, the spend found wasted (`waste_micros`, micros of the account currency: spend with no conversion), what was proposed or applied and `findings` (at most 50). A creative is stopped only while its audience keeps another creative that is not waste. `needs_permission` means Meta has not granted Zinn® Ads `ads_management`, or (TTFULL) TikTok answered that this grant cannot write (measured, `vendor_grants.writes` false): judged, nothing proposed. TikTok audiences are ad groups and
|
|
22316
|
+
* @description Gated on `ads.view`. Read from our own rows (no network call). Per X and Meta account: `levers` says what the autopilot judges there (`audiences` and `creatives` are judged by the scheduled audit; Meta `placements` by the placement guard and `budgets` by the cross-network budget, `elsewhere` with the screen in `where`; X offers no placement change on a running line item, `not_offered`). `review` is the latest audit: audiences (X line items, Meta ad sets) and creatives (X promoted Tweets, Meta ads) judged, the spend found wasted (`waste_micros`, micros of the account currency: spend with no conversion), what was proposed or applied and `findings` (at most 50). A creative is stopped only while its audience keeps another creative that is not waste. `needs_permission` means Meta has not granted Zinn® Ads `ads_management` (Pinterest: `ads:write`, PINFULL), or (TTFULL) TikTok answered that this grant cannot write (measured, `vendor_grants.writes` false): judged, nothing proposed. TikTok and Pinterest audiences are ad groups and their creatives are ads (Pinterest: promoted Pins), and only SERVING ones are judged. `pending` counts the pauses waiting for a person (docs/1006 §121, za-55).
|
|
22317
22317
|
*/
|
|
22318
22318
|
get: operations["getAdsSocial"];
|
|
22319
22319
|
put?: never;
|
|
@@ -40532,7 +40532,7 @@ export interface paths {
|
|
|
40532
40532
|
put?: never;
|
|
40533
40533
|
/**
|
|
40534
40534
|
* Text a six-digit code to my number.
|
|
40535
|
-
* @description Sends one code to the number by text message (and on WhatsApp when only WhatsApp is asked for). `consent` must be true: it records that I agreed to receive alert texts on this number (the wording version is `consent_text_version`). Refused when the channel is unavailable, the number's country is not open, the organisation is white-label or not in good standing, or too many codes were asked for (429). No topic is switched on by this: every topic stays off for texts until I turn it on in the routing grid.
|
|
40535
|
+
* @description Sends one code to the number by text message (and on WhatsApp when only WhatsApp is asked for). `consent` must be true: it records that I agreed to receive alert texts on this number (the wording version is `consent_text_version`). Refused when the channel is unavailable, the number's country is not open, the organisation is white-label or not in good standing, or too many codes were asked for (429). No topic is switched on by this: every topic stays off for texts until I turn it on in the routing grid. A +1 (US/Canada) number is single opt-in: no code is sent; the number is connected at once, one confirmation text is sent, and `confirmed` is true (skip the confirm step). A +1 number is texted only account notices (payments, orders, mail DNS action needed); its connection carries `us_ca_limited`.
|
|
40536
40536
|
*/
|
|
40537
40537
|
post: operations["startNotificationPhone"];
|
|
40538
40538
|
delete?: never;
|
|
@@ -66963,6 +66963,11 @@ export interface components {
|
|
|
66963
66963
|
*/
|
|
66964
66964
|
pacing_target_minor: number | null;
|
|
66965
66965
|
pending_changes: number;
|
|
66966
|
+
/** @description PINFULL: on a Pinterest connection, whether its sign-in granted `ads:write` (read from Pinterest's own token answer, never typed) so approved changes can be sent, and whether the card offers "Reconnect Pinterest Ads" to add it. On Trial access Pinterest lets only the app creator's own account grant it. `null` for every other network. */
|
|
66967
|
+
pinterest_write?: {
|
|
66968
|
+
granted: boolean;
|
|
66969
|
+
needs_reconnect: boolean;
|
|
66970
|
+
} | null;
|
|
66966
66971
|
platform: components["schemas"]["AdsPlatform"];
|
|
66967
66972
|
/** @description PUSHTESTS (za-16, docs/1006 §82) — the confidence a budget test's result needs: a test is called worse only when its results per click moved with p below 1 - this/100. Recommended 90 (`push_test_confidence_recommended`). */
|
|
66968
66973
|
push_test_confidence_pct: number;
|
|
@@ -72762,7 +72767,7 @@ export interface components {
|
|
|
72762
72767
|
}[];
|
|
72763
72768
|
pending: number;
|
|
72764
72769
|
/** @enum {string} */
|
|
72765
|
-
platform: "x" | "meta" | "tiktok";
|
|
72770
|
+
platform: "x" | "meta" | "tiktok" | "pinterest";
|
|
72766
72771
|
review: {
|
|
72767
72772
|
applied: number;
|
|
72768
72773
|
/** Format: date-time */
|
|
@@ -95378,6 +95383,8 @@ export interface components {
|
|
|
95378
95383
|
signing_secret?: string;
|
|
95379
95384
|
signing_secret_notice?: string;
|
|
95380
95385
|
target?: string;
|
|
95386
|
+
/** @description An SMS/WhatsApp destination on a +1 (US/Canada) number. Its grid lists only the account-notice topics (payments, orders, mail DNS action needed); SEO, uptime and marketplace texts are not sent to it (they still come by e-mail and in the app). */
|
|
95387
|
+
us_ca_limited?: boolean;
|
|
95381
95388
|
/** @description Until this is true nothing is routed here. For a machine destination it becomes true when a real test message has been delivered; for an e-mail address it becomes true only when the RECIPIENT clicks the confirmation link, because any address we can type will accept our mail and that proves nothing about consent. */
|
|
95382
95389
|
verified?: boolean;
|
|
95383
95390
|
/** Format: date-time */
|
|
@@ -188048,13 +188055,15 @@ export interface operations {
|
|
|
188048
188055
|
};
|
|
188049
188056
|
};
|
|
188050
188057
|
responses: {
|
|
188051
|
-
/** @description The code was sent. */
|
|
188058
|
+
/** @description The code was sent, or (a +1 number) the number is connected. */
|
|
188052
188059
|
201: {
|
|
188053
188060
|
headers: {
|
|
188054
188061
|
[name: string]: unknown;
|
|
188055
188062
|
};
|
|
188056
188063
|
content: {
|
|
188057
188064
|
"application/json": {
|
|
188065
|
+
/** @description True for a +1 number (single opt-in): it is already connected, there is no code to confirm. */
|
|
188066
|
+
confirmed: boolean;
|
|
188058
188067
|
/** Format: date-time */
|
|
188059
188068
|
expires_at: string;
|
|
188060
188069
|
/** Format: uuid */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1749",
|
|
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>",
|