@zinn-digital/sdk 0.1.1539 → 0.1.1542
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
|
@@ -18880,7 +18880,7 @@ export interface paths {
|
|
|
18880
18880
|
};
|
|
18881
18881
|
/**
|
|
18882
18882
|
* Matching landing pages — the connection's pages and candidate ad groups (za-N6).
|
|
18883
|
-
* @description Gated on `ads.view`. Every open page of the connection (a `candidate` ad group found by the scan, a page being written, ready to preview, publishing, live or being unpublished) and the 20 most recent closed ones. Read from our own rows — never a network call (docs/1006 §94).
|
|
18883
|
+
* @description Gated on `ads.view`. Every open page of the connection (a `candidate` ad group found by the scan, a page being written, ready to preview, publishing, live or being unpublished) and the 20 most recent closed ones. Read from our own rows — never a network call (docs/1006 §94). `alternatives_only=true` keeps only competitor alternative pages (za-109, a non-empty `rival`), as the MCP `ads_matching_pages` tool does.
|
|
18884
18884
|
*/
|
|
18885
18885
|
get: operations["listAdsMatchingPages"];
|
|
18886
18886
|
put?: never;
|
|
@@ -48571,7 +48571,7 @@ export interface paths {
|
|
|
48571
48571
|
put?: never;
|
|
48572
48572
|
/**
|
|
48573
48573
|
* One-click sign-in to the application installed on a site.
|
|
48574
|
-
* @description Mints a single-use, ~2-minute sign-in link for the site's application administrator (AbanteCart, Concrete CMS, Craft, Dolibarr, Drupal, Joomla, Matomo, Mautic, MediaWiki, MODX, Moodle, Nextcloud, OpenCart, osTicket, ownCloud, phpBB, Piwigo, Silverstripe, SuiteCRM and Zenphoto; `can_sign_in` on `getSiteApplicationAccess` says which, and docs/139 §6a says why the others have none
|
|
48574
|
+
* @description Mints a single-use, ~2-minute sign-in link for the site's application administrator (AbanteCart, Concrete CMS, Craft, Dolibarr, Drupal, Joomla, Matomo, Mautic, MediaWiki, MODX, Moodle, Nextcloud, OpenCart, osTicket, ownCloud, Payload, phpBB, Piwigo, PrestaShop, Silverstripe, Strapi, SuiteCRM, TYPO3 and Zenphoto; `can_sign_in` on `getSiteApplicationAccess` says which, and docs/139 §6a says why the others have none). The token is signed with a key derived for this site alone and is checked, spent and exchanged for the application's own session by `zinn-login.php` on the site (docs/139 §"One-click sign-in"). For a Node application (Strapi, Payload) the URL is `https://<domain>/zinn-login#t=<token>`: the token is in the fragment, which the browser never sends to a server, and the page at `/zinn-login` posts it. A Node site deployed before that page existed has its managed startup file brought up to date and its application restarted by this call (only when the file changed; never by the hourly converge), so the first click on such a site can take a little longer. Before minting, the platform makes sure that file and the site's key are on the server (idempotent). Requires `sites.view` and `sites.panel_access` in the site's organisation, like the password reveal. Each link is audit-logged as `site.application_sign_in` with the real actor, before it is returned. Refusals carry a `code` in `details[].code` (field `site`): `APP_SSO_UNSUPPORTED` (409, no sign-in for this application), `SITE_NOT_SERVING` (409), `PLATFORM_CANNOT_SSO` (422, the hosting platform has no shell), `REPAIR_FAILED` (503, the sign-in could not be prepared on the server); none of them writes an audit row.
|
|
48575
48575
|
*/
|
|
48576
48576
|
post: operations["signInSiteApplication"];
|
|
48577
48577
|
delete?: never;
|
|
@@ -67067,6 +67067,15 @@ export interface components {
|
|
|
67067
67067
|
dropped: number;
|
|
67068
67068
|
/** @description The last problem's code, e.g. landingNotBacked, landingNoText, landingNotServing. */
|
|
67069
67069
|
error: string;
|
|
67070
|
+
/** @description za-109: what the rival's OWN public page says, word for word, with that page's address and the date it was read. Empty when we do not know the rival's address (never guessed). */
|
|
67071
|
+
facts: {
|
|
67072
|
+
language: string;
|
|
67073
|
+
quote: string;
|
|
67074
|
+
/** Format: date */
|
|
67075
|
+
read_on: string;
|
|
67076
|
+
/** Format: uri */
|
|
67077
|
+
source_url: string;
|
|
67078
|
+
}[];
|
|
67070
67079
|
/** Format: uuid */
|
|
67071
67080
|
id: string;
|
|
67072
67081
|
keywords: string[];
|
|
@@ -67077,6 +67086,10 @@ export interface components {
|
|
|
67077
67086
|
page_url: string;
|
|
67078
67087
|
/** Format: date-time */
|
|
67079
67088
|
published_at: string | null;
|
|
67089
|
+
/** @description za-109 (docs/1006.d/features/za-109-alternative-pages.md): the competitor this ad group is named after, from the org's competitor registry; "" for a plain matching page. A rival's page is an "alternative to <rival>" page: its headline names the rival in text only, and no line compares. */
|
|
67090
|
+
rival: string;
|
|
67091
|
+
/** @description The rival's name as written on the page ("" for a plain page). */
|
|
67092
|
+
rival_name: string;
|
|
67080
67093
|
/** Format: uuid */
|
|
67081
67094
|
site_id: string;
|
|
67082
67095
|
slug: string;
|
|
@@ -73655,6 +73668,7 @@ export interface components {
|
|
|
73655
73668
|
expires_at: string;
|
|
73656
73669
|
/**
|
|
73657
73670
|
* Format: uri
|
|
73671
|
+
* @description `https://<domain>/zinn-login.php?t=<token>` for a PHP application; `https://<domain>/zinn-login#t=<token>` (fragment) for Strapi and Payload.
|
|
73658
73672
|
* @example https://cloud.example.com/zinn-login.php?t=eyJ2IjoxfQ.c2ln
|
|
73659
73673
|
*/
|
|
73660
73674
|
url: string;
|
|
@@ -145651,7 +145665,9 @@ export interface operations {
|
|
|
145651
145665
|
};
|
|
145652
145666
|
listAdsMatchingPages: {
|
|
145653
145667
|
parameters: {
|
|
145654
|
-
query?:
|
|
145668
|
+
query?: {
|
|
145669
|
+
alternatives_only?: boolean;
|
|
145670
|
+
};
|
|
145655
145671
|
header?: never;
|
|
145656
145672
|
path: {
|
|
145657
145673
|
connection_id: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1542",
|
|
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>",
|