@zinn-digital/sdk 0.1.1596 → 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.
@@ -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;
@@ -98316,6 +98359,45 @@ export interface components {
98316
98359
  state?: string;
98317
98360
  street: string[];
98318
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
+ };
98319
98401
  RegistrarAccount: {
98320
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. */
98321
98403
  account_login?: string;
@@ -170604,6 +170686,36 @@ export interface operations {
170604
170686
  429: components["responses"]["TooManyRequests"];
170605
170687
  };
170606
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
+ };
170607
170719
  getDomainRegistrarGuide: {
170608
170720
  parameters: {
170609
170721
  query?: never;
@@ -171184,6 +171296,32 @@ export interface operations {
171184
171296
  429: components["responses"]["TooManyRequests"];
171185
171297
  };
171186
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
+ };
171187
171325
  listRegistrationRoutes: {
171188
171326
  parameters: {
171189
171327
  query?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.1596",
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>",