@zinn-digital/sdk 0.1.1716 → 0.1.1719
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 +70 -1
- package/package.json +1 -1
|
@@ -34549,6 +34549,26 @@ export interface paths {
|
|
|
34549
34549
|
patch?: never;
|
|
34550
34550
|
trace?: never;
|
|
34551
34551
|
};
|
|
34552
|
+
"/v1/email-marketing/managed-delivery/price": {
|
|
34553
|
+
parameters: {
|
|
34554
|
+
query?: never;
|
|
34555
|
+
header?: never;
|
|
34556
|
+
path?: never;
|
|
34557
|
+
cookie?: never;
|
|
34558
|
+
};
|
|
34559
|
+
/**
|
|
34560
|
+
* The public price of Zinn® managed e-mail delivery.
|
|
34561
|
+
* @description **Public** reference data (no auth, no tenant scope), for the server-rendered marketing pages. `price_usd_micros_per_1000` is the live row the send charges with (`CampaignsSettings.managed_delivery_price_usd_micros_per_1000`, metered from prepaid credit), never a typed copy. `data_locations` lists only the locations whose delivery provider is configured today (`global` = the Telnyx route, `eu` = Amazon SES eu-west-1), so a page never offers the EU location before it exists. `dedicated_ip_price_usd_minor_per_month` is the `campaigns_dedicated_ip` Extra. Cacheable exactly like `listCatalogPlans` (strong `ETag` + `max-age=60`). `docs/1052` §10 F47/F48.
|
|
34562
|
+
*/
|
|
34563
|
+
get: operations["getEmailMarketingManagedDeliveryPrice"];
|
|
34564
|
+
put?: never;
|
|
34565
|
+
post?: never;
|
|
34566
|
+
delete?: never;
|
|
34567
|
+
options?: never;
|
|
34568
|
+
head?: never;
|
|
34569
|
+
patch?: never;
|
|
34570
|
+
trace?: never;
|
|
34571
|
+
};
|
|
34552
34572
|
"/v1/email-marketing/messages": {
|
|
34553
34573
|
parameters: {
|
|
34554
34574
|
query?: never;
|
|
@@ -45629,7 +45649,7 @@ export interface paths {
|
|
|
45629
45649
|
put?: never;
|
|
45630
45650
|
/**
|
|
45631
45651
|
* A visitor on one of our sites clicked a plugin-store checkout or a free download.
|
|
45632
|
-
* @description docs/1002 §4 — the beacon our product sites send (`navigator.sendBeacon`, so the body may arrive as `text/plain`; it is read as JSON either way, at most 8 KiB). The engine records the click so the store's sale, which happens on a checkout we cannot tag, can be joined back to the advert and site that produced it. Kept: the store product and plan named by `href
|
|
45652
|
+
* @description docs/1002 §4 — the beacon our product sites send (`navigator.sendBeacon`, so the body may arrive as `text/plain`; it is read as JSON either way, at most 8 KiB). The engine records the click so the store's sale, which happens on a checkout we cannot tag, can be joined back to the advert and site that produced it. Kept: the store product and plan named by `href` (a store checkout, a free download on wordpress.org, GitHub or our own `api.zinndigital.com/v1/plugins/<slug>/download`), the site (from `Origin`), the ad networks' click ids (Google's, `msclkid`, `twclid` and ChatGPT Ads' `oppref`), UTM source/medium/campaign, the landing page (host + path, never a query) and GA4's own client/session id. ⛔ The visitor's IP is kept ONLY as a keyed hash, and only when the engine can establish the real client address. Always answers `204` with no body, whether or not anything was recorded. Anonymous; throttled per source address (`plugin_click`).
|
|
45633
45653
|
*/
|
|
45634
45654
|
post: operations["recordPublicPluginClick"];
|
|
45635
45655
|
delete?: never;
|
|
@@ -98318,6 +98338,8 @@ export interface components {
|
|
|
98318
98338
|
PluginClick: {
|
|
98319
98339
|
ga_client_id?: string;
|
|
98320
98340
|
ga_session_id?: string;
|
|
98341
|
+
/** @description VOAIHOUSEWP2 — `true` when the link opens one of our plugins' own download pages (`tranzly.io/download/`, `pagebuildersandwich.com/download/`) from another of our sites: the click is stored as a hand-off (kind `handoff`), not a download, because that page's own button is the download. Ignored on any other link. */
|
|
98342
|
+
handoff?: boolean;
|
|
98321
98343
|
/** @description The link clicked — a `checkout.freemius.com` checkout, a wordpress.org plugin page or a GitHub zip. */
|
|
98322
98344
|
href: string;
|
|
98323
98345
|
/** @description Fallback when the request has no `Origin`. */
|
|
@@ -176674,6 +176696,53 @@ export interface operations {
|
|
|
176674
176696
|
404: components["responses"]["NotFound"];
|
|
176675
176697
|
};
|
|
176676
176698
|
};
|
|
176699
|
+
getEmailMarketingManagedDeliveryPrice: {
|
|
176700
|
+
parameters: {
|
|
176701
|
+
query?: never;
|
|
176702
|
+
header?: {
|
|
176703
|
+
/** @description A previously returned `ETag`; a match responds `304`. */
|
|
176704
|
+
"If-None-Match"?: string;
|
|
176705
|
+
};
|
|
176706
|
+
path?: never;
|
|
176707
|
+
cookie?: never;
|
|
176708
|
+
};
|
|
176709
|
+
requestBody?: never;
|
|
176710
|
+
responses: {
|
|
176711
|
+
/** @description The managed-delivery price. */
|
|
176712
|
+
200: {
|
|
176713
|
+
headers: {
|
|
176714
|
+
/** @description Always `public, max-age=60`. */
|
|
176715
|
+
"Cache-Control"?: string;
|
|
176716
|
+
/** @description Strong validator over the response body. */
|
|
176717
|
+
ETag?: string;
|
|
176718
|
+
"RateLimit-Remaining": components["headers"]["RateLimitRemaining"];
|
|
176719
|
+
[name: string]: unknown;
|
|
176720
|
+
};
|
|
176721
|
+
content: {
|
|
176722
|
+
"application/json": {
|
|
176723
|
+
/** @enum {string} */
|
|
176724
|
+
currency: "USD";
|
|
176725
|
+
/** @description The data locations offered today. */
|
|
176726
|
+
data_locations: ("eu" | "global")[];
|
|
176727
|
+
/** @description The dedicated-IP add-on price, USD minor units per month (4900 = $49). */
|
|
176728
|
+
dedicated_ip_price_usd_minor_per_month: number;
|
|
176729
|
+
/** @description Price per 1,000 accepted recipients in USD micros (1200000 = $1.20). */
|
|
176730
|
+
price_usd_micros_per_1000: number;
|
|
176731
|
+
};
|
|
176732
|
+
};
|
|
176733
|
+
};
|
|
176734
|
+
/** @description Unchanged since the supplied `If-None-Match`. */
|
|
176735
|
+
304: {
|
|
176736
|
+
headers: {
|
|
176737
|
+
/** @description The unchanged validator. */
|
|
176738
|
+
ETag?: string;
|
|
176739
|
+
[name: string]: unknown;
|
|
176740
|
+
};
|
|
176741
|
+
content?: never;
|
|
176742
|
+
};
|
|
176743
|
+
429: components["responses"]["TooManyRequests"];
|
|
176744
|
+
};
|
|
176745
|
+
};
|
|
176677
176746
|
listEmailMarketingMessages: {
|
|
176678
176747
|
parameters: {
|
|
176679
176748
|
query?: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1719",
|
|
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>",
|