@zinn-digital/sdk 0.1.1453 → 0.1.1457

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.
@@ -16023,7 +16023,7 @@ export interface paths {
16023
16023
  cookie?: never;
16024
16024
  };
16025
16025
  /**
16026
- * Zinn® Ads analytics leaderboard by network, account, campaign, country or product/site (za-280).
16026
+ * Zinn® Ads analytics leaderboard by network, account, campaign, country, device or product/site (za-280, za-282).
16027
16027
  * @description Rows sorted by spend, paged with `offset` and `limit` (`total` counts every row), each with its comparison figures and a spend sparkline. Gated on `ads.view` over the organisations the person can view; `org_id` narrows to that organisation and its client organisations. Stored rows only (the daily audit's figures), never a network call. Money is integer micros of the reporting `currency`: each account's currency is converted at the CURRENT stored rate, named in `fx`; a currency with no rate is left out of the blended figures and listed in `unconverted`. Conversions are thousandths; ROAS, CTR and conversion rate are basis points; CPA and CPC are micros; a ratio with no denominator is null (za-280).
16028
16028
  */
16029
16029
  get: operations["getAdsAnalyticsBreakdown"];
@@ -59561,6 +59561,10 @@ export interface components {
59561
59561
  waste_min_cost_micros?: number;
59562
59562
  };
59563
59563
  AdminGoogleAdsUpdate: {
59564
+ /** @description za-300 — secondary UPLOAD_CLICKS action "Zinn® Ads trial converted" — the org's Zinn® Ads trial became a paid plan, once per org, valued at its first paid invoice net of tax (integer minor units + currency); withdrawn by a RETRACTION when that invoice is refunded. Blank = not sent yet. */
59565
+ ads_paid_conversion_action?: string;
59566
+ /** @description za-300 — PRIMARY UPLOAD_CLICKS action "Zinn® Ads trial started" (owner ruling 2026-11-03) — the org started the Zinn® Ads 14-day free trial, once per org, from our own data. A one-click proposal swaps it with the converted action at ~15 paid a month; never automatic. Blank = not sent yet. */
59567
+ ads_trial_conversion_action?: string;
59564
59568
  /** @description docs/1124 — secondary UPLOAD_CLICKS action "Zinn® Cloud first server built" (the Cloud trial funnel), once per org, from our own data. Blank = not sent yet. */
59565
59569
  cloud_deploy_conversion_action?: string;
59566
59570
  /** @description docs/1124 — secondary UPLOAD_CLICKS action "Zinn® Cloud first payment" (the Cloud trial funnel), once per org, from our own data. Blank = not sent yet. */
@@ -63145,7 +63149,7 @@ export interface components {
63145
63149
  };
63146
63150
  AdsAnalyticsBreakdown: components["schemas"]["AdsAnalyticsFrame"] & {
63147
63151
  /** @enum {string} */
63148
- by: "network" | "connection" | "campaign" | "country" | "offering";
63152
+ by: "network" | "connection" | "campaign" | "country" | "device" | "offering";
63149
63153
  limit: number;
63150
63154
  offset: number;
63151
63155
  rows: components["schemas"]["AdsAnalyticsRow"][];
@@ -63324,6 +63328,11 @@ export interface components {
63324
63328
  connection_id?: string;
63325
63329
  country?: string;
63326
63330
  currencies: string[];
63331
+ /**
63332
+ * @description za-282: the device of a `by=device` row.
63333
+ * @enum {string}
63334
+ */
63335
+ device?: "mobile" | "desktop" | "tablet" | "tv" | "other";
63327
63336
  key: string;
63328
63337
  kind?: string;
63329
63338
  label: string;
@@ -66292,13 +66301,25 @@ export interface components {
66292
66301
  };
66293
66302
  plan_code: string | null;
66294
66303
  plan_name: string | null;
66295
- /** @enum {string} */
66296
- source: "plan" | "staff" | "none";
66304
+ /**
66305
+ * @description `trial` = the tier comes from a live 14-day Zinn® Ads trial (za-295; `trial` says until when). A trial that ended unpaid reads `plan` on the Free plan with `trial_ended: true`.
66306
+ * @enum {string}
66307
+ */
66308
+ source: "plan" | "trial" | "staff" | "none";
66297
66309
  /**
66298
66310
  * Format: uuid
66299
66311
  * @description The subscription that names the tier, when this org holds it itself. Moving to another Zinn® Ads plan CHANGES this subscription pro rata (`changeSubscriptionPlan`); it is never bought again beside it. Null for a staff plan, a plan held by a parent organisation, or no plan.
66300
66312
  */
66301
66313
  subscription_id?: string | null;
66314
+ /** @description The live Zinn® Ads trial folded into this plan, or null. */
66315
+ trial?: {
66316
+ /** Format: date-time */
66317
+ ends_at: string;
66318
+ /** Format: uuid */
66319
+ id: string;
66320
+ } | null;
66321
+ /** @description The org's Zinn® Ads trial ended unpaid, so it runs on the Free plan's limits (nothing deleted; automatic changes wait for approval). Buying any plan restores everything. */
66322
+ trial_ended?: boolean;
66302
66323
  };
66303
66324
  /**
66304
66325
  * @description An advertising platform (docs/1006 §4.1).
@@ -112306,6 +112327,8 @@ export interface components {
112306
112327
  AdsAnalyticsCountry: string;
112307
112328
  /** @description Reporting currency (ISO 4217). Default the one currency in play, else the organisation's. */
112308
112329
  AdsAnalyticsCurrency: string;
112330
+ /** @description Comma-separated devices: `mobile`, `desktop`, `tablet`, `tv`, `other` (za-282). Reads the device-level figures (Google Ads accounts, campaign grain). No stored level is split by both country and device, so `device` with `country` is refused (422, field `device`). */
112331
+ AdsAnalyticsDevice: string;
112309
112332
  AdsAnalyticsFrom: string;
112310
112333
  /** @description Bucket size. Default day up to 92 days, week up to 366, month beyond. */
112311
112334
  AdsAnalyticsGrain: "day" | "week" | "month";
@@ -137669,7 +137692,7 @@ export interface operations {
137669
137692
  getAdsAnalyticsBreakdown: {
137670
137693
  parameters: {
137671
137694
  query?: {
137672
- by?: "network" | "connection" | "campaign" | "country" | "offering";
137695
+ by?: "network" | "connection" | "campaign" | "country" | "device" | "offering";
137673
137696
  /** @description Comma-separated `<connection_id>:<campaign_id>` tokens. */
137674
137697
  campaign?: components["parameters"]["AdsAnalyticsCampaign"];
137675
137698
  compare?: components["parameters"]["AdsAnalyticsCompare"];
@@ -137679,6 +137702,8 @@ export interface operations {
137679
137702
  country?: components["parameters"]["AdsAnalyticsCountry"];
137680
137703
  /** @description Reporting currency (ISO 4217). Default the one currency in play, else the organisation's. */
137681
137704
  currency?: components["parameters"]["AdsAnalyticsCurrency"];
137705
+ /** @description Comma-separated devices: `mobile`, `desktop`, `tablet`, `tv`, `other` (za-282). Reads the device-level figures (Google Ads accounts, campaign grain). No stored level is split by both country and device, so `device` with `country` is refused (422, field `device`). */
137706
+ device?: components["parameters"]["AdsAnalyticsDevice"];
137682
137707
  from?: components["parameters"]["AdsAnalyticsFrom"];
137683
137708
  /** @description Bucket size. Default day up to 92 days, week up to 366, month beyond. */
137684
137709
  grain?: components["parameters"]["AdsAnalyticsGrain"];
@@ -137729,6 +137754,8 @@ export interface operations {
137729
137754
  country?: components["parameters"]["AdsAnalyticsCountry"];
137730
137755
  /** @description Reporting currency (ISO 4217). Default the one currency in play, else the organisation's. */
137731
137756
  currency?: components["parameters"]["AdsAnalyticsCurrency"];
137757
+ /** @description Comma-separated devices: `mobile`, `desktop`, `tablet`, `tv`, `other` (za-282). Reads the device-level figures (Google Ads accounts, campaign grain). No stored level is split by both country and device, so `device` with `country` is refused (422, field `device`). */
137758
+ device?: components["parameters"]["AdsAnalyticsDevice"];
137732
137759
  from?: components["parameters"]["AdsAnalyticsFrom"];
137733
137760
  /** @description Bucket size. Default day up to 92 days, week up to 366, month beyond. */
137734
137761
  grain?: components["parameters"]["AdsAnalyticsGrain"];
@@ -137777,6 +137804,8 @@ export interface operations {
137777
137804
  country?: components["parameters"]["AdsAnalyticsCountry"];
137778
137805
  /** @description Reporting currency (ISO 4217). Default the one currency in play, else the organisation's. */
137779
137806
  currency?: components["parameters"]["AdsAnalyticsCurrency"];
137807
+ /** @description Comma-separated devices: `mobile`, `desktop`, `tablet`, `tv`, `other` (za-282). Reads the device-level figures (Google Ads accounts, campaign grain). No stored level is split by both country and device, so `device` with `country` is refused (422, field `device`). */
137808
+ device?: components["parameters"]["AdsAnalyticsDevice"];
137780
137809
  from?: components["parameters"]["AdsAnalyticsFrom"];
137781
137810
  /** @description Bucket size. Default day up to 92 days, week up to 366, month beyond. */
137782
137811
  grain?: components["parameters"]["AdsAnalyticsGrain"];
@@ -137825,6 +137854,8 @@ export interface operations {
137825
137854
  country?: components["parameters"]["AdsAnalyticsCountry"];
137826
137855
  /** @description Reporting currency (ISO 4217). Default the one currency in play, else the organisation's. */
137827
137856
  currency?: components["parameters"]["AdsAnalyticsCurrency"];
137857
+ /** @description Comma-separated devices: `mobile`, `desktop`, `tablet`, `tv`, `other` (za-282). Reads the device-level figures (Google Ads accounts, campaign grain). No stored level is split by both country and device, so `device` with `country` is refused (422, field `device`). */
137858
+ device?: components["parameters"]["AdsAnalyticsDevice"];
137828
137859
  from?: components["parameters"]["AdsAnalyticsFrom"];
137829
137860
  /** @description Bucket size. Default day up to 92 days, week up to 366, month beyond. */
137830
137861
  grain?: components["parameters"]["AdsAnalyticsGrain"];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.1453",
3
+ "version": "0.1.1457",
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>",