@zinn-digital/sdk 0.1.1852 → 0.1.1853
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 +14 -2
- package/package.json +1 -1
|
@@ -48547,7 +48547,7 @@ export interface paths {
|
|
|
48547
48547
|
};
|
|
48548
48548
|
/**
|
|
48549
48549
|
* The Pro-plugin affiliate programmes a reseller can earn commission from.
|
|
48550
|
-
* @description Every active, visible Freemius affiliation programme across our Pro plugins, with the commission Freemius holds today (never a typed figure) and where to apply. Licences sold through these programmes are sold under the Zinn® brand; the reseller earns the commission (owner ruling 2026-11-13, "A: affiliate link"). `complete` is false when
|
|
48550
|
+
* @description Every active, visible Freemius affiliation programme across our Pro plugins, with the commission Freemius holds today (never a typed figure) and where to apply. Licences sold through these programmes are sold under the Zinn® brand; the reseller earns the commission (owner ruling 2026-11-13, "A: affiliate link"). `complete` is false only when Freemius was asked and could not answer, so a short list is never read as "none". A product Freemius says has no programme is in `without_programme`; one that cannot be checked (no key pair, e.g. a bundle) is in `skipped` with its reason. Neither makes the list incomplete. Cached for an hour. 404 when the org has no reseller programme. Requires `reseller.view`.
|
|
48551
48551
|
*/
|
|
48552
48552
|
get: operations["listResellerPluginAffiliates"];
|
|
48553
48553
|
put?: never;
|
|
@@ -104950,11 +104950,23 @@ export interface components {
|
|
|
104950
104950
|
product_title: string;
|
|
104951
104951
|
};
|
|
104952
104952
|
ResellerPluginAffiliates: {
|
|
104953
|
-
/** @description False when
|
|
104953
|
+
/** @description False only when Freemius was asked about a product and could not answer (an HTTP error or no connection); the list may be short and a retry may help. No programme, or a product that cannot be checked, never makes it false. */
|
|
104954
104954
|
complete: boolean;
|
|
104955
104955
|
/** @description False when Zinn® staff turned the Pro-plugin affiliate programmes off for this reseller (then `programmes` is empty). Commission already earned is never clawed back. */
|
|
104956
104956
|
enabled: boolean;
|
|
104957
104957
|
programmes: components["schemas"]["ResellerPluginAffiliateProgramme"][];
|
|
104958
|
+
/** @description Products that were not asked, with why (`no_keys`, no key pair on the platform, e.g. a bundle). */
|
|
104959
|
+
skipped: {
|
|
104960
|
+
product_slug: string;
|
|
104961
|
+
product_title: string;
|
|
104962
|
+
/** @enum {string} */
|
|
104963
|
+
reason: "no_keys";
|
|
104964
|
+
}[];
|
|
104965
|
+
/** @description Products Freemius answered for with no active, visible affiliate programme. */
|
|
104966
|
+
without_programme: {
|
|
104967
|
+
product_slug: string;
|
|
104968
|
+
product_title: string;
|
|
104969
|
+
}[];
|
|
104958
104970
|
};
|
|
104959
104971
|
ResellerPrice: {
|
|
104960
104972
|
/** @description What YOUR client pays, in minor units. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1853",
|
|
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>",
|