@zinn-digital/sdk 0.1.1548 → 0.1.1551
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 +97 -3
- package/package.json +1 -1
|
@@ -20724,6 +20724,28 @@ export interface paths {
|
|
|
20724
20724
|
patch?: never;
|
|
20725
20725
|
trace?: never;
|
|
20726
20726
|
};
|
|
20727
|
+
"/v1/ads/connections/{connection_id}/universal-negatives": {
|
|
20728
|
+
parameters: {
|
|
20729
|
+
query?: never;
|
|
20730
|
+
header?: never;
|
|
20731
|
+
path: {
|
|
20732
|
+
connection_id: string;
|
|
20733
|
+
};
|
|
20734
|
+
cookie?: never;
|
|
20735
|
+
};
|
|
20736
|
+
/**
|
|
20737
|
+
* The ad account's one list of universal negative keywords and its sync state.
|
|
20738
|
+
* @description za-333. Gated on `ads.view`. The za-217 junk set (searches for a free host or a free blog platform) kept as ONE account-level negative keyword list on Google (at most 1,000 entries; an existing account-level list is used) and ONE shared negative keyword list associated with every campaign on Microsoft (at most 5,000), instead of a copy on every campaign. Each audit reads the account, adds what is missing through the change queue (approve-first, kill switches, good standing, the collision replay), reads the list back, and only then removes the per-campaign copies it covers, each with its Undo. `sync` is what the latest audit read and did (null before the first); read from the stored audit, never from the network in this request.
|
|
20739
|
+
*/
|
|
20740
|
+
get: operations["getAdsUniversalNegatives"];
|
|
20741
|
+
put?: never;
|
|
20742
|
+
post?: never;
|
|
20743
|
+
delete?: never;
|
|
20744
|
+
options?: never;
|
|
20745
|
+
head?: never;
|
|
20746
|
+
patch?: never;
|
|
20747
|
+
trace?: never;
|
|
20748
|
+
};
|
|
20727
20749
|
"/v1/ads/connections/{connection_id}/video": {
|
|
20728
20750
|
parameters: {
|
|
20729
20751
|
query?: never;
|
|
@@ -48397,7 +48419,7 @@ export interface paths {
|
|
|
48397
48419
|
};
|
|
48398
48420
|
/**
|
|
48399
48421
|
* Read a site's automatic app updates add-on and its window.
|
|
48400
|
-
* @description The paid automatic-updates add-on for the app the site runs (`wordpress_auto_updates`, `woocommerce_auto_updates`, `joomla_auto_updates`, `drupal_auto_updates`, `mediawiki_auto_updates`, `phpbb_auto_updates`, `matomo_auto_updates`, `typo3_auto_updates`, `concretecms_auto_updates`, `strapi_auto_updates` or `
|
|
48422
|
+
* @description The paid automatic-updates add-on for the app the site runs (`wordpress_auto_updates`, `woocommerce_auto_updates`, `joomla_auto_updates`, `drupal_auto_updates`, `mediawiki_auto_updates`, `phpbb_auto_updates`, `matomo_auto_updates`, `typo3_auto_updates`, `concretecms_auto_updates`, `strapi_auto_updates`, `payload_auto_updates` or `dolibarr_auto_updates`, USD 29 a year per site; `nextcloud_auto_updates`, `owncloud_auto_updates`, `prestashop_auto_updates`, `magento_auto_updates` or `oscommerce_auto_updates`, USD 50 a year per site; s1014 row 41): whether it is on sale and on, its price in the caller's currency, the renewal, the quiet window and the last run. Each run takes a safety backup first and rolls back to it when the homepage breaks. WordPress: core, plugins and themes (a held plugin version is never applied). Joomla!: the core only, through Joomla's own console; extensions and templates are not updated. Nextcloud: the server through its own updater, then every app with an update. Drupal: the core only (the newest release of the installed major version, then its database updates); contributed modules and themes are not updated. MediaWiki: the newest stable release with its bundled extensions and skins, then its own update script; extensions the customer added are not updated. phpBB: the newest release of the installed branch with its bundled style, language and extension, then its own `db:migrate`; styles, language packs and extensions the customer added are not updated. ownCloud: the newest release of the installed major version (the complete build, with its bundled apps), then its own `occ upgrade`; apps from the ownCloud marketplace are not updated. PrestaShop: the newest stable release of the installed major version through PrestaShop's own Update Assistant (files, database and native modules); modules the customer added are kept, never uninstalled, and are not updated. Magento: the newest security patch of the installed 2.x.y line (the source release's code, its Composer lock and `setup:upgrade`); modules and themes the customer added are kept and not updated, and a store that added Composer packages is refused with nothing changed. Strapi and Payload: the newest release of the installed major from npm (every package of the app's own family on the core's version moves together), then the app's own build (`strapi build`; for Payload a schema migration when the release needs one, `payload migrate` and `next build`) and a process restart; other npm packages the customer added are kept and not updated. osCommerce: the vendor's newest osCommerce 4 build (its code over the store's, then its own database migrations and cache rebuild); the store's configuration, images and uploads are kept, and extensions and themes the customer added are kept and not updated. Dolibarr: the newest release of the installed major version (the tag's `htdocs`), then its own CLI upgrade (`install/upgrade.php`, `upgrade2.php`, `step5.php`) until the database records the new version; modules the customer added in `custom/` are kept and not updated. Buy it through `purchaseExtra` with `site_id`. Requires `sites.view`.
|
|
48401
48423
|
*/
|
|
48402
48424
|
get: operations["getSiteAppAutoUpdate"];
|
|
48403
48425
|
/**
|
|
@@ -70005,6 +70027,52 @@ export interface components {
|
|
|
70005
70027
|
[key: string]: string;
|
|
70006
70028
|
};
|
|
70007
70029
|
};
|
|
70030
|
+
/** @description za-333 — the account's one list of universal negatives. */
|
|
70031
|
+
AdsUniversalNegatives: {
|
|
70032
|
+
/** @description The most entries the network allows on the list. */
|
|
70033
|
+
cap: number;
|
|
70034
|
+
/** Format: date-time */
|
|
70035
|
+
checked_at: string | null;
|
|
70036
|
+
/** Format: uuid */
|
|
70037
|
+
connection_id: string;
|
|
70038
|
+
/** @description The name the list is made with. */
|
|
70039
|
+
list_name: string;
|
|
70040
|
+
platform: string;
|
|
70041
|
+
/** @description Google and Microsoft keep the list. */
|
|
70042
|
+
supported: boolean;
|
|
70043
|
+
sync: null | components["schemas"]["AdsUniversalNegativesSync"];
|
|
70044
|
+
/** @description The za-217 junk set, each added as a PHRASE negative. */
|
|
70045
|
+
terms: string[];
|
|
70046
|
+
};
|
|
70047
|
+
AdsUniversalNegativesSync: {
|
|
70048
|
+
cap?: number;
|
|
70049
|
+
change_ids?: string[];
|
|
70050
|
+
/** @description Per-campaign copies the list covers, as read by this run. `null` when this run did not read them (Microsoft skips the per-campaign read on a quiet synced account for at most 7 days); never 0 for an unread figure. */
|
|
70051
|
+
copies?: number | null;
|
|
70052
|
+
/** @description When the per-campaign copies were last actually read (ISO 8601; empty if never). */
|
|
70053
|
+
copies_read_at?: string;
|
|
70054
|
+
copies_removed?: number;
|
|
70055
|
+
/** @description Entries on the list as read */
|
|
70056
|
+
entries?: number;
|
|
70057
|
+
/** @description Linked to the account (Google) or every campaign (Microsoft). */
|
|
70058
|
+
linked?: boolean;
|
|
70059
|
+
list_name?: string;
|
|
70060
|
+
missing?: string[];
|
|
70061
|
+
/** @enum {string} */
|
|
70062
|
+
network: "google" | "microsoft";
|
|
70063
|
+
present?: string[];
|
|
70064
|
+
/** @description Why a step did not go out — `accountListFull`, a refusal code such as `notInGoodStanding`, `killed` or `notAutomatic`, `unreadBack`, or `vendor`. */
|
|
70065
|
+
reason?: string;
|
|
70066
|
+
/** @description Terms left off because they would block a keyword (or a search that converted). */
|
|
70067
|
+
skipped?: {
|
|
70068
|
+
blocks?: string;
|
|
70069
|
+
text?: string;
|
|
70070
|
+
}[];
|
|
70071
|
+
/** @enum {string} */
|
|
70072
|
+
state: "planned" | "waiting_approval" | "refused" | "full" | "synced" | "error";
|
|
70073
|
+
terms?: number;
|
|
70074
|
+
unlinked_campaigns?: number;
|
|
70075
|
+
};
|
|
70008
70076
|
/** @description za-201 (docs/1006 §80): the Video and Demand Gen reading, or null before the first audit. `state`: `ok` · `attention` (a placement that spends and never converts, a frequency over 6 a person, mostly view-through conversions, more claimed than real sales, or no YouTube channel saved) · `noVideo`. Money is integer micros of `figures.currency`. */
|
|
70009
70077
|
AdsVideoReading: {
|
|
70010
70078
|
/** Format: date */
|
|
@@ -101393,7 +101461,7 @@ export interface components {
|
|
|
101393
101461
|
total_ms: number;
|
|
101394
101462
|
transaction: string;
|
|
101395
101463
|
};
|
|
101396
|
-
/** @description The paid automatic app updates add-on for one site (s1014 row 41): the code that applies (`wordpress_auto_updates`, `woocommerce_auto_updates`, `joomla_auto_updates`, `nextcloud_auto_updates`, `drupal_auto_updates`, `mediawiki_auto_updates`, `phpbb_auto_updates`, `owncloud_auto_updates`, `matomo_auto_updates`, `typo3_auto_updates`, `concretecms_auto_updates`, `prestashop_auto_updates`, `magento_auto_updates`, `strapi_auto_updates`, `payload_auto_updates` or `
|
|
101464
|
+
/** @description The paid automatic app updates add-on for one site (s1014 row 41): the code that applies (`wordpress_auto_updates`, `woocommerce_auto_updates`, `joomla_auto_updates`, `nextcloud_auto_updates`, `drupal_auto_updates`, `mediawiki_auto_updates`, `phpbb_auto_updates`, `owncloud_auto_updates`, `matomo_auto_updates`, `typo3_auto_updates`, `concretecms_auto_updates`, `prestashop_auto_updates`, `magento_auto_updates`, `strapi_auto_updates`, `payload_auto_updates`, `oscommerce_auto_updates` or `dolibarr_auto_updates`), the window and the last run's outcome. */
|
|
101397
101465
|
SiteAppAutoUpdate: {
|
|
101398
101466
|
/** @description Whether the add-on is on and in good standing now. */
|
|
101399
101467
|
active: boolean;
|
|
@@ -101401,7 +101469,7 @@ export interface components {
|
|
|
101401
101469
|
* @description The app the add-on serves on this site, or null when none is sold for it.
|
|
101402
101470
|
* @enum {string|null}
|
|
101403
101471
|
*/
|
|
101404
|
-
app_key: "wordpress" | "woocommerce" | "joomla" | "nextcloud" | "phpbb" | "owncloud" | "mediawiki" | "drupal" | "matomo" | "typo3" | "concretecms" | "prestashop" | "magento" | "strapi" | "payload" | "oscommerce" | null;
|
|
101472
|
+
app_key: "wordpress" | "woocommerce" | "joomla" | "nextcloud" | "phpbb" | "owncloud" | "mediawiki" | "drupal" | "matomo" | "typo3" | "concretecms" | "prestashop" | "magento" | "strapi" | "payload" | "oscommerce" | "dolibarr" | null;
|
|
101405
101473
|
can_buy: boolean;
|
|
101406
101474
|
/** @description The catalogue code to buy (`<app_key>_auto_updates`). */
|
|
101407
101475
|
code: string | null;
|
|
@@ -149198,6 +149266,32 @@ export interface operations {
|
|
|
149198
149266
|
};
|
|
149199
149267
|
};
|
|
149200
149268
|
};
|
|
149269
|
+
getAdsUniversalNegatives: {
|
|
149270
|
+
parameters: {
|
|
149271
|
+
query?: never;
|
|
149272
|
+
header?: never;
|
|
149273
|
+
path: {
|
|
149274
|
+
connection_id: string;
|
|
149275
|
+
};
|
|
149276
|
+
cookie?: never;
|
|
149277
|
+
};
|
|
149278
|
+
requestBody?: never;
|
|
149279
|
+
responses: {
|
|
149280
|
+
/** @description The terms, the cap and the latest sync state. */
|
|
149281
|
+
200: {
|
|
149282
|
+
headers: {
|
|
149283
|
+
[name: string]: unknown;
|
|
149284
|
+
};
|
|
149285
|
+
content: {
|
|
149286
|
+
"application/json": components["schemas"]["AdsUniversalNegatives"];
|
|
149287
|
+
};
|
|
149288
|
+
};
|
|
149289
|
+
401: components["responses"]["Unauthorized"];
|
|
149290
|
+
403: components["responses"]["Forbidden"];
|
|
149291
|
+
404: components["responses"]["NotFound"];
|
|
149292
|
+
429: components["responses"]["TooManyRequests"];
|
|
149293
|
+
};
|
|
149294
|
+
};
|
|
149201
149295
|
getAdsVideo: {
|
|
149202
149296
|
parameters: {
|
|
149203
149297
|
query?: never;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1551",
|
|
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>",
|