@zinn-digital/sdk 0.1.1439 → 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.
- package/dist/generated/schema.d.ts +19 -3
- package/package.json +1 -1
|
@@ -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
|
};
|
|
@@ -110745,15 +110747,29 @@ export interface components {
|
|
|
110745
110747
|
};
|
|
110746
110748
|
/** @description One published vulnerability affecting the installed version. */
|
|
110747
110749
|
WordPressAdvisory: {
|
|
110750
|
+
/** @description ⛔ The copyright notices the record's licence requires to be shown with it. Wordfence Intelligence licenses its data on condition that a copy shows a link to the record (`link`), Defiant's copyright designation and the licence; MITRE requires the same of its CVE notice. A client showing the advisory MUST show these. Empty for feeds that ask for none. */
|
|
110751
|
+
attribution: {
|
|
110752
|
+
/** @description The licence text itself, verbatim from the feed. Its grant reads "reproduce … this license in any such copy", so it is shown, not only linked. May be blank. */
|
|
110753
|
+
license: string;
|
|
110754
|
+
/** @description Where the licence text is published. May be blank. */
|
|
110755
|
+
license_url: string;
|
|
110756
|
+
/** @example Copyright 2012-2026 Defiant Inc. */
|
|
110757
|
+
notice: string;
|
|
110758
|
+
}[];
|
|
110748
110759
|
/** @description The lowest version known to carry the fix, or `""`. ⛔ Blank is **not** "no fix exists": an advisory reading "affected at or below X" does not name a fixed version, and reporting X would send a customer to a version still vulnerable. */
|
|
110749
110760
|
fixed_in: string;
|
|
110750
|
-
/** @description The best public reference, usually a CVE record. May be blank. */
|
|
110761
|
+
/** @description The best public reference — the Wordfence record for a `wordfence` advisory (its licence requires the link), usually a CVE record otherwise. May be blank. */
|
|
110751
110762
|
link: string;
|
|
110752
110763
|
/**
|
|
110753
110764
|
* @description CVSS severity — `none`, `low`, `medium`, `high`, `critical`, or `""`.
|
|
110754
110765
|
* @example critical
|
|
110755
110766
|
*/
|
|
110756
110767
|
severity: string;
|
|
110768
|
+
/**
|
|
110769
|
+
* @description Which feed made this claim — `wpvulnerability` (wpvulnerability.net, public) or `wordfence` (Wordfence Intelligence, used when the platform holds a key).
|
|
110770
|
+
* @example wordfence
|
|
110771
|
+
*/
|
|
110772
|
+
source: string;
|
|
110757
110773
|
/** @description The advisory's title, or its best public reference's. */
|
|
110758
110774
|
title: string;
|
|
110759
110775
|
/** @description The feed's stable identifier for this advisory. */
|
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>",
|