@zinn-digital/sdk 0.1.1594 → 0.1.1597

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.
@@ -20820,12 +20820,12 @@ export interface paths {
20820
20820
  };
20821
20821
  /**
20822
20822
  * The account's tracking truth check, confidence gate, fix assistant and recovery.
20823
- * @description Gated on `ads.view`. Real outcomes from the customer's own source (the events API below, a connected store, plugin or CRM) against what the network credited over the settled days (`thresholds.days`, the newest `thresholds.processing_days` excluded). `latest.status` `gap` (more than `thresholds.gap_pct` apart, either direction) or `unreadable` (the network's count could not be read — never a pass) sets `hold`: the autopilot judges, cuts and pauses nothing on the network's counts until a check says `ok` again. `latest.diagnoses` are the fix assistant's findings as codes + figures (the dashboard words them). `latest.recovered` / `credited_after` are the before/after of the missed- conversion recovery. `fix_offer` is the paid "Fix it for me" add-on priced from the catalogue, or null when it is not offered. An account on a network other than Google or Microsoft is a `422` `refusal.adsconnect.platformNotSupported` (FIX-189).
20823
+ * @description Gated on `ads.view`. Real outcomes from the customer's own source (the events API below, a connected store, plugin or CRM) against what the network credited over the settled days (`thresholds.days`, the newest `thresholds.processing_days` excluded). `latest.status` `gap` (more than `thresholds.gap_pct` apart, either direction) or `unreadable` (the network's count could not be read — never a pass) sets `hold`: the autopilot judges, cuts and pauses nothing on the network's counts until a check says `ok` again. `latest.diagnoses` are the fix assistant's findings as codes + figures (the dashboard words them). `latest.recovered` / `credited_after` are the before/after of the missed- conversion recovery. `fix_offer` is the paid "Fix it for me" add-on priced from the catalogue, or null when it is not offered. A ChatGPT Ads account (za-320) is checked too: its credits are read through OpenAI's `POST /conversions/insights` (goal conversions by conversion date; a too-big answer is split by date range, never capped), and as it takes no upload from us its `latest.recovery.refused` is `uploadNotSupported`. Every other network is a `422` `refusal.adsconnect.platformNotSupported` (FIX-189); ChatGPT Ads also gets that `422` from the upload-side routes (profit values, conversion setup, CRM, product and checkout sources). Its `refusal.params.networks` names the networks the refusing route serves (registry labels, comma-joined: "Google Ads, Microsoft Advertising" on an upload route, plus "ChatGPT Ads" on a truth-check route).
20824
20824
  */
20825
20825
  get: operations["getAdsTracking"];
20826
20826
  /**
20827
20827
  * Which actions are compared, where missed outcomes upload, recovery on/off.
20828
- * @description Gated on `ads.manage`; audit action `ads.tracking_settings`. A Google action is a resource name of THIS account (`customers/<id>/conversionActions/<id>`); a Microsoft one is the offline goal's name. Giving a kind an upload action re-opens its outcomes that were waiting for one. `recovery_mode` `validate` makes the network check uploads and keep nothing.
20828
+ * @description Gated on `ads.manage`; audit action `ads.tracking_settings`. A Google action is a resource name of THIS account (`customers/<id>/conversionActions/<id>`); a Microsoft one is the offline goal's name; a ChatGPT Ads one is a conversion event setting id (`ces_…`, `GET /tracking/actions`). Giving a kind an upload action re-opens its outcomes that were waiting for one. `recovery_mode` `validate` makes the network check uploads and keep nothing.
20829
20829
  */
20830
20830
  put: operations["updateAdsTracking"];
20831
20831
  post?: never;
@@ -32903,6 +32903,29 @@ export interface paths {
32903
32903
  patch?: never;
32904
32904
  trace?: never;
32905
32905
  };
32906
+ "/v1/domains/{domainId}/registrant-email-verification/resend": {
32907
+ parameters: {
32908
+ query?: never;
32909
+ header?: never;
32910
+ path: {
32911
+ /** @description The domain's id. */
32912
+ domainId: components["parameters"]["DomainId"];
32913
+ };
32914
+ cookie?: never;
32915
+ };
32916
+ get?: never;
32917
+ put?: never;
32918
+ /**
32919
+ * Ask the registrar to send the registrant verification email again.
32920
+ * @description Sends the registrar's confirmation email again to the address shown in `listRegistrantEmailVerifications`. The registrar restarts the check for that ADDRESS, so every pending domain on it is covered, and the registrar may move the deadline (the new one shows at its next check). Rate limited per domain and per address: one resend per 15 minutes and at most 3 per 24 hours (`429` with `Retry-After`). Audit-logged. `409` when the domain has no pending verification; `422` when the registrar declines to resend for this address (contact support); `503` when the registrar could not be reached (try again later). Requires `domains.dns.manage`.
32921
+ */
32922
+ post: operations["resendRegistrantEmailVerification"];
32923
+ delete?: never;
32924
+ options?: never;
32925
+ head?: never;
32926
+ patch?: never;
32927
+ trace?: never;
32928
+ };
32906
32929
  "/v1/domains/{domainId}/registrar-guide": {
32907
32930
  parameters: {
32908
32931
  query?: never;
@@ -33344,6 +33367,26 @@ export interface paths {
33344
33367
  patch?: never;
33345
33368
  trace?: never;
33346
33369
  };
33370
+ "/v1/domains/registrant-email-verifications": {
33371
+ parameters: {
33372
+ query?: never;
33373
+ header?: never;
33374
+ path?: never;
33375
+ cookie?: never;
33376
+ };
33377
+ /**
33378
+ * The caller's domains whose registrant email address is not yet confirmed.
33379
+ * @description ICANN requires the registrar to confirm a generic-TLD registrant's email address: it mails the registrant a link, and a name whose address is not confirmed by the deadline is suspended by the registry. Each item is one of your domains still waiting, with the address the link went to and the deadline. Read from what the registrar reported at its last check (every 6 hours, `checked_at`), soonest deadline first, at most 200 items. A confirmed address leaves the list at the next check. Requires `sites.view`.
33380
+ */
33381
+ get: operations["listRegistrantEmailVerifications"];
33382
+ put?: never;
33383
+ post?: never;
33384
+ delete?: never;
33385
+ options?: never;
33386
+ head?: never;
33387
+ patch?: never;
33388
+ trace?: never;
33389
+ };
33347
33390
  "/v1/domains/routes": {
33348
33391
  parameters: {
33349
33392
  query?: never;
@@ -70282,6 +70325,7 @@ export interface components {
70282
70325
  };
70283
70326
  };
70284
70327
  AdsTrackingCheck: {
70328
+ /** @description What the network credited per compared action. On ChatGPT Ads (za-320) with no action chosen the one key is `all_goals` (every goal conversion of the account); otherwise the keys are the chosen conversion event setting ids. */
70285
70329
  by_action: {
70286
70330
  [key: string]: number;
70287
70331
  };
@@ -98315,6 +98359,45 @@ export interface components {
98315
98359
  state?: string;
98316
98360
  street: string[];
98317
98361
  };
98362
+ /** @description One domain whose registrant email address the registrar has not confirmed. */
98363
+ RegistrantEmailVerification: {
98364
+ /**
98365
+ * Format: date-time
98366
+ * @description When the registrar was last asked.
98367
+ */
98368
+ checked_at: string;
98369
+ /**
98370
+ * Format: date-time
98371
+ * @description When the registry suspends the name if the address is still unconfirmed.
98372
+ */
98373
+ deadline_at: string | null;
98374
+ domain_id: components["schemas"]["Uuid"];
98375
+ /**
98376
+ * Format: email
98377
+ * @description The address the registrar sent its confirmation link to.
98378
+ */
98379
+ email: string;
98380
+ fqdn: string;
98381
+ /**
98382
+ * Format: date-time
98383
+ * @description When the next resend is allowed; `null` when it is allowed now.
98384
+ */
98385
+ resend_available_at: string | null;
98386
+ /**
98387
+ * Format: date-time
98388
+ * @description When you last asked for the email again, if you have.
98389
+ */
98390
+ resent_at: string | null;
98391
+ /**
98392
+ * @description `suspended`: the deadline passed and the registry has suspended the name.
98393
+ * @enum {string}
98394
+ */
98395
+ state: "pending" | "suspended";
98396
+ };
98397
+ RegistrantEmailVerificationList: {
98398
+ count: number;
98399
+ items: components["schemas"]["RegistrantEmailVerification"][];
98400
+ };
98318
98401
  RegistrarAccount: {
98319
98402
  /** @description What the registrar reported about the account when it was connected — a domain count at GoDaddy, the account name at Namecheap, the egress address Porkbun saw. Empty when the vendor exposes nothing useful. */
98320
98403
  account_login?: string;
@@ -170603,6 +170686,36 @@ export interface operations {
170603
170686
  429: components["responses"]["TooManyRequests"];
170604
170687
  };
170605
170688
  };
170689
+ resendRegistrantEmailVerification: {
170690
+ parameters: {
170691
+ query?: never;
170692
+ header?: never;
170693
+ path: {
170694
+ /** @description The domain's id. */
170695
+ domainId: components["parameters"]["DomainId"];
170696
+ };
170697
+ cookie?: never;
170698
+ };
170699
+ requestBody?: never;
170700
+ responses: {
170701
+ /** @description The resend was accepted; the verification as it now stands. */
170702
+ 200: {
170703
+ headers: {
170704
+ [name: string]: unknown;
170705
+ };
170706
+ content: {
170707
+ "application/json": components["schemas"]["RegistrantEmailVerification"];
170708
+ };
170709
+ };
170710
+ 401: components["responses"]["Unauthorized"];
170711
+ 403: components["responses"]["Forbidden"];
170712
+ 404: components["responses"]["NotFound"];
170713
+ 409: components["responses"]["Conflict"];
170714
+ 422: components["responses"]["UnprocessableEntity"];
170715
+ 429: components["responses"]["TooManyRequests"];
170716
+ 503: components["responses"]["ServiceUnavailable"];
170717
+ };
170718
+ };
170606
170719
  getDomainRegistrarGuide: {
170607
170720
  parameters: {
170608
170721
  query?: never;
@@ -171183,6 +171296,32 @@ export interface operations {
171183
171296
  429: components["responses"]["TooManyRequests"];
171184
171297
  };
171185
171298
  };
171299
+ listRegistrantEmailVerifications: {
171300
+ parameters: {
171301
+ query?: {
171302
+ domain_id?: components["schemas"]["Uuid"];
171303
+ };
171304
+ header?: never;
171305
+ path?: never;
171306
+ cookie?: never;
171307
+ };
171308
+ requestBody?: never;
171309
+ responses: {
171310
+ /** @description The pending verifications. */
171311
+ 200: {
171312
+ headers: {
171313
+ [name: string]: unknown;
171314
+ };
171315
+ content: {
171316
+ "application/json": components["schemas"]["RegistrantEmailVerificationList"];
171317
+ };
171318
+ };
171319
+ 401: components["responses"]["Unauthorized"];
171320
+ 403: components["responses"]["Forbidden"];
171321
+ 422: components["responses"]["UnprocessableEntity"];
171322
+ 429: components["responses"]["TooManyRequests"];
171323
+ };
171324
+ };
171186
171325
  listRegistrationRoutes: {
171187
171326
  parameters: {
171188
171327
  query?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.1594",
3
+ "version": "0.1.1597",
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>",