@zinn-digital/sdk 0.1.1440 → 0.1.1442
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.
|
@@ -41695,8 +41695,8 @@ export interface paths {
|
|
|
41695
41695
|
get?: never;
|
|
41696
41696
|
put?: never;
|
|
41697
41697
|
/**
|
|
41698
|
-
* The plugin sends the site's paid orders
|
|
41699
|
-
* @description Site token only. The same outcome shape and store as the events API (`POST /v1/ads/connections/{connection_id}/outcomes`), for every connection of the site's organisation that is not disconnected, then pushed to the networks within minutes. Only `purchase` and `
|
|
41698
|
+
* The plugin sends the site's paid orders, free trials and sent forms to the outcome pipeline.
|
|
41699
|
+
* @description Site token only. The same outcome shape and store as the events API (`POST /v1/ads/connections/{connection_id}/outcomes`), for every connection of the site's organisation that is not disconnected, then pushed to the networks within minutes. Only `purchase`, `trial` and `lead` (a 422 otherwise). A `lead` is a form sent, reported from the form plugin's own server hook with the reference the browser tag sends for it (`<ref_prefix>-lead-<form plugin>-<random id>`), so the network counts it once; it carries no value, no e-mail, no referrer and no page (dropped whatever the request says: nothing a visitor typed leaves the site), and at most 300 a site per hour are stored (the rest are counted in `rate_limited`). The reference is forced into the site's own namespace (`<ref_prefix>-<order number>`, the same transaction id the browser tag sends, so the network counts a sale once), the host is the connected site's whatever `outcome_url` says, and the source is `store`. Click ids and the e-mail are stored and forwarded only when an outcome's `consent` is `GRANTED` (the order page's own consent); otherwise they are dropped, whatever the request carries. Idempotent per order: a re-sent order stores nothing new. Audit action `ads.outcomes_received` when something was stored.
|
|
41700
41700
|
*/
|
|
41701
41701
|
post: operations["sendAdsWordPressOutcomes"];
|
|
41702
41702
|
delete?: never;
|
|
@@ -65835,6 +65835,8 @@ export interface components {
|
|
|
65835
65835
|
};
|
|
65836
65836
|
AdsOutcomesIngested: {
|
|
65837
65837
|
created: number;
|
|
65838
|
+
/** @description WordPress plugin only, present when above 0: leads dropped because the site sent more than 300 in this hour (a spam run against its form). Not retried. */
|
|
65839
|
+
rate_limited?: number;
|
|
65838
65840
|
unchanged: number;
|
|
65839
65841
|
updated: number;
|
|
65840
65842
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1442",
|
|
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>",
|