@zinn-digital/sdk 0.1.1678 → 0.1.1680

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.
@@ -17227,7 +17227,7 @@ export interface paths {
17227
17227
  put?: never;
17228
17228
  /**
17229
17229
  * Connect ChatGPT Ads with an Advertiser API key (za-318).
17230
- * @description Gated on `ads.manage`. ChatGPT Ads (OpenAI) has no OAuth app open to us (OpenAI publishes no client registration for its `AdsOAuth` scheme; it is the API-partner path), so the customer pastes an Advertiser API key made at https://ads.openai.com/settings. One key reaches ONE ad account. The key is read against OpenAI's `GET /v1/ad_account` at once and kept in Vault as the grant (never in the database, never echoed); the answer is the grant id the ordinary account picker reads (`listAdsConnectChatGPTAccounts`). A value that cannot be a key is a `422` `netBadKey` before any call. A key OpenAI refuses still answers a grant whose picker carries the §2.57 `failure` (a rejected key links the keys page). Not gated on "Coming soon" (that gates the dashboard's offer). ChatGPT Ads writes (an ad group paused, a campaign's daily spend limit) stay OFF until `ZINN_ADS_CHATGPT_WRITES=on` (an owner decision): an approved change is refused `chatgptWritesOff` and nothing reaches OpenAI.
17230
+ * @description Gated on `ads.manage`. ChatGPT Ads (OpenAI) has no OAuth app open to us (OpenAI publishes no client registration for its `AdsOAuth` scheme; it is the API-partner path), so the customer pastes an Advertiser API key made at https://ads.openai.com/settings. One key reaches ONE ad account. The key is read against OpenAI's `GET /v1/ad_account` at once and kept in Vault as the grant (never in the database, never echoed); the answer is the grant id the ordinary account picker reads (`listAdsConnectChatGPTAccounts`). A value that cannot be a key is a `422` `netBadKey` before any call. A key OpenAI refuses still answers a grant whose picker carries the §2.57 `failure` (a rejected key links the keys page). Not gated on "Coming soon" (that gates the dashboard's offer). ChatGPT Ads writes (an ad group paused or resumed, a campaign's daily spend limit) are ON for a customer's own connection (owner 2026-11-09): an approved change goes through the approve-first queue, ceilings and Undo. The emergency switch `ZINN_ADS_CHATGPT_WRITES` set to anything but `on` (or unset) refuses every write `chatgptWritesOff`, and a house connection (the platform org or a staff org) is always refused the same way; nothing reaches OpenAI when refused.
17231
17231
  */
17232
17232
  post: operations["connectAdsChatGPTKey"];
17233
17233
  delete?: never;
@@ -68047,16 +68047,19 @@ export interface components {
68047
68047
  ceiling_minor: number | null;
68048
68048
  /** Format: uuid */
68049
68049
  connection_id: string;
68050
- /** @description Conversions x 1000. */
68050
+ /** @description RECORDED conversions x 1000 (MSALLCONV): every conversion the network recorded, biddable goal or not. Not the same noun as `value_minor`. */
68051
68051
  conversions_milli: number;
68052
68052
  cost_minor: number;
68053
+ /** @description Cost per RECORDED conversion. */
68053
68054
  cost_per_conversion_minor: number | null;
68054
68055
  currency: string;
68055
68056
  label: string;
68056
68057
  platform: string;
68057
68058
  /** @enum {string} */
68058
68059
  reason: "" | "otherCurrency" | "held" | "unreadable" | "noReturn";
68060
+ /** @description Biddable value per unit spent */
68059
68061
  roas_pct: number | null;
68062
+ /** @description Conversion value on the goals used for BIDDING only (Google `conversions_value`; 0 for a network whose value is not read). `roas_pct` is over this value; never divide it by `conversions_milli`. */
68060
68063
  value_minor: number;
68061
68064
  };
68062
68065
  /** @description One budget test (za-193): its pending or applied change and, once applied, its dated review. Budgets are the account's integer micros in `currency`. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.1678",
3
+ "version": "0.1.1680",
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>",