@zinn-digital/sdk 0.1.1724 → 0.1.1726

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.
@@ -22127,7 +22127,7 @@ export interface paths {
22127
22127
  };
22128
22128
  header?: never;
22129
22129
  path: {
22130
- kind: "meta_capi" | "tiktok_events" | "ga4_mp" | "linkedin_capi" | "pinterest_capi";
22130
+ kind: "meta_capi" | "tiktok_events" | "ga4_mp" | "linkedin_capi" | "pinterest_capi" | "openai_capi";
22131
22131
  };
22132
22132
  cookie?: never;
22133
22133
  };
@@ -72424,7 +72424,7 @@ export interface components {
72424
72424
  /** @description The key's last four characters (blank when not set). */
72425
72425
  hint: string;
72426
72426
  /** @enum {string} */
72427
- kind: "meta_capi" | "tiktok_events" | "ga4_mp" | "linkedin_capi" | "pinterest_capi";
72427
+ kind: "meta_capi" | "tiktok_events" | "ga4_mp" | "linkedin_capi" | "pinterest_capi" | "openai_capi";
72428
72428
  network: string;
72429
72429
  set: boolean;
72430
72430
  /** Format: date-time */
@@ -72474,7 +72474,7 @@ export interface components {
72474
72474
  test_mode: boolean;
72475
72475
  };
72476
72476
  };
72477
- /** @description Network -> its browser tag id (google_ads, ga4, microsoft_uet, meta_pixel, tiktok_pixel, linkedin_insight, x_pixel, pinterest_tag, amazon_tag). */
72477
+ /** @description Network -> its browser tag id (google_ads, ga4, microsoft_uet, meta_pixel, tiktok_pixel, linkedin_insight, x_pixel, pinterest_tag, amazon_tag, chatgpt_pixel). */
72478
72478
  tags: {
72479
72479
  [key: string]: string;
72480
72480
  };
@@ -118265,6 +118265,19 @@ export interface components {
118265
118265
  };
118266
118266
  /** @description docs/76 §3.3 — the account codes and tax-rate mapping used by the Xero export. */
118267
118267
  XeroSettings: {
118268
+ /** @description The Xero `TrackingCategoryID` that tags every posted line with the app it came from (the `App` category). Matched by id, so a category with the same name is never adopted. Empty, with `app_tracking_option` empty, means no app tag. */
118269
+ app_tracking_category_id: string;
118270
+ /** @description The option set on every line in that category (`V2`). */
118271
+ app_tracking_option: string;
118272
+ /**
118273
+ * @description `RAIL:CURRENCY` → the Xero **AccountID** each rail's money is paid into when a finalised period is settled (docs/311). ⛔ An AccountID, never a name: three apps post into one Xero organisation, and a name pick put another app's crypto into V2's account (ZH-4323). An absent key means that rail+currency is not settled by code; a configured id that is missing, archived or in another currency refuses that payment.
118274
+ * @example {
118275
+ * "NOWPAYMENTS:USD": "779be0ea-45c1-4e18-8ebc-40929e97f605"
118276
+ * }
118277
+ */
118278
+ clearing_account_ids: {
118279
+ [key: string]: string;
118280
+ };
118268
118281
  /** @description Where a crypto **settlement variance** posts — the fiat value at the tax point less what actually settled (docs/313). ⚖️ **Empty means "the same account as fees"**, which is the owner's own answer of 2026-08-30 (*"we already have them set up in our export … send to same one"*) and is the configured state today — not an unset field. Set it to split crypto variance into its own nominal account. */
118269
118282
  crypto_variance_account_code: string;
118270
118283
  /** @description Where gateway fees post. `404` (Bank Fees) — an **expense**, which is why fees can never be a sales-invoice line. */
@@ -118290,6 +118303,13 @@ export interface components {
118290
118303
  };
118291
118304
  /** @description Partial update. Omitted fields are unchanged. */
118292
118305
  XeroSettingsUpdate: {
118306
+ /** @description A `TrackingCategoryID` (UUID). Set with `app_tracking_option`, or both empty. */
118307
+ app_tracking_category_id?: string;
118308
+ app_tracking_option?: string;
118309
+ /** @description Replaces the whole map. Keys are normalised to `RAIL:CURRENCY` (upper case); a value that is not an AccountID (UUID), or a key without a rail and an ISO 4217 code, is refused with 422 and nothing changes. */
118310
+ clearing_account_ids?: {
118311
+ [key: string]: string;
118312
+ };
118293
118313
  /** @description ⭐ An empty string is a real edit, not a no-op: it clears an override and returns the variance to following `fee_account_code`. */
118294
118314
  crypto_variance_account_code?: string;
118295
118315
  fee_account_code?: string;
@@ -156001,7 +156021,7 @@ export interface operations {
156001
156021
  };
156002
156022
  header?: never;
156003
156023
  path: {
156004
- kind: "meta_capi" | "tiktok_events" | "ga4_mp" | "linkedin_capi" | "pinterest_capi";
156024
+ kind: "meta_capi" | "tiktok_events" | "ga4_mp" | "linkedin_capi" | "pinterest_capi" | "openai_capi";
156005
156025
  };
156006
156026
  cookie?: never;
156007
156027
  };
@@ -156011,7 +156031,7 @@ export interface operations {
156011
156031
  /** @description pinterest_capi only, and required there: the numeric Pinterest ad account id the conversion token belongs to (the Conversions API posts to /ad_accounts/{id}/events). Any other kind refuses it (badAccount). */
156012
156032
  account_id?: string;
156013
156033
  key: string;
156014
- /** @description Optional network test code (docs/1006 §122): Meta / TikTok test_event_code, Pinterest test=true, GA4's validation server. Events sent with it appear in the network's test view only and are not counted as conversions. LinkedIn has no test mode and refuses it (badTestCode). */
156034
+ /** @description Optional network test code (docs/1006 §122): Meta / TikTok test_event_code, Pinterest test=true, GA4's validation server, OpenAI validate_only for openai_capi (za-335: any value; OpenAI checks each event and saves none). Events sent with it appear in the network's test view only and are not counted as conversions. LinkedIn has no test mode and refuses it (badTestCode). */
156015
156035
  test_code?: string;
156016
156036
  };
156017
156037
  };
@@ -156041,7 +156061,7 @@ export interface operations {
156041
156061
  };
156042
156062
  header?: never;
156043
156063
  path: {
156044
- kind: "meta_capi" | "tiktok_events" | "ga4_mp" | "linkedin_capi" | "pinterest_capi";
156064
+ kind: "meta_capi" | "tiktok_events" | "ga4_mp" | "linkedin_capi" | "pinterest_capi" | "openai_capi";
156045
156065
  };
156046
156066
  cookie?: never;
156047
156067
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.1724",
3
+ "version": "0.1.1726",
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>",