@opusdns/api 0.305.0 → 0.307.0

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.
package/src/openapi.yaml CHANGED
@@ -468,6 +468,50 @@ components:
468
468
  - not_in
469
469
  title: ConditionOperator
470
470
  type: string
471
+ ContactAttestReq:
472
+ properties:
473
+ attestations:
474
+ items:
475
+ $ref: '#/components/schemas/ContactAttestVerificationReq'
476
+ maxItems: 50
477
+ minItems: 0
478
+ title: Attestations
479
+ type: array
480
+ required:
481
+ - attestations
482
+ title: ContactAttestReq
483
+ type: object
484
+ ContactAttestRes:
485
+ properties:
486
+ verifications:
487
+ items:
488
+ $ref: '#/components/schemas/ContactVerificationStatus'
489
+ title: Verifications
490
+ type: array
491
+ required:
492
+ - verifications
493
+ title: ContactAttestRes
494
+ type: object
495
+ ContactAttestVerificationReq:
496
+ properties:
497
+ attestation_reference:
498
+ maxLength: 255
499
+ minLength: 0
500
+ title: Attestation Reference
501
+ type: string
502
+ claim:
503
+ $ref: '#/components/schemas/ContactVerificationClaim'
504
+ method:
505
+ $ref: '#/components/schemas/ContactVerificationMethod'
506
+ proof:
507
+ $ref: '#/components/schemas/ContactVerificationProof'
508
+ required:
509
+ - claim
510
+ - method
511
+ - proof
512
+ - attestation_reference
513
+ title: ContactAttestVerificationReq
514
+ type: object
471
515
  ContactAttributeDefinition:
472
516
  description: Definition of a possible attribute for a TLD.
473
517
  properties:
@@ -1546,6 +1590,15 @@ components:
1546
1590
  - type
1547
1591
  title: ContactVerificationApiResponse
1548
1592
  type: object
1593
+ ContactVerificationClaim:
1594
+ enum:
1595
+ - NAME
1596
+ - ADDRESS
1597
+ - EMAIL
1598
+ - PHONE
1599
+ - LEGAL_ENTITY
1600
+ title: ContactVerificationClaim
1601
+ type: string
1549
1602
  ContactVerificationEmailResponse:
1550
1603
  properties:
1551
1604
  canceled_on:
@@ -1602,6 +1655,40 @@ components:
1602
1655
  - type
1603
1656
  title: ContactVerificationEmailResponse
1604
1657
  type: object
1658
+ ContactVerificationMethod:
1659
+ enum:
1660
+ - AUTH
1661
+ - VDIG
1662
+ - ELECTRONIC_DOCUMENT
1663
+ - PHYSICAL_DOCUMENT
1664
+ - BVR
1665
+ - PVR
1666
+ - DATA
1667
+ - REACHABILITY
1668
+ title: ContactVerificationMethod
1669
+ type: string
1670
+ ContactVerificationProof:
1671
+ enum:
1672
+ - IDCARD
1673
+ - PASSPORT
1674
+ - POPULATION_REGISTER
1675
+ - RESIDENCE_PERMIT
1676
+ - PROOF_OF_ARRIVAL
1677
+ - DRIVERS_LICENCE
1678
+ - COMPANY_REGISTER
1679
+ - COMPANY_STATEMENT
1680
+ - BANK_ACCOUNT
1681
+ - ONLINE_PAYMENT_ACCOUNT
1682
+ - UTILITY_ACCOUNT
1683
+ - BANK_STATEMENT
1684
+ - TAX_STATEMENT
1685
+ - WRITTEN_ATTESTATION
1686
+ - DIGITAL_ATTESTATION
1687
+ - POSTAL_VER_TRANSACTION_LOG
1688
+ - EMAIL_VER_TRANSACTION_LOG
1689
+ - ADDRESS_DATABASE
1690
+ title: ContactVerificationProof
1691
+ type: string
1605
1692
  ContactVerificationResponse:
1606
1693
  properties:
1607
1694
  canceled_on:
@@ -1658,6 +1745,50 @@ components:
1658
1745
  - type
1659
1746
  title: ContactVerificationResponse
1660
1747
  type: object
1748
+ ContactVerificationState:
1749
+ enum:
1750
+ - UNVERIFIED
1751
+ - VERIFIED
1752
+ - IN_PROGRESS
1753
+ - EXPIRED
1754
+ title: ContactVerificationState
1755
+ type: string
1756
+ ContactVerificationStatus:
1757
+ properties:
1758
+ attestation_reference:
1759
+ anyOf:
1760
+ - type: string
1761
+ - type: 'null'
1762
+ title: Attestation Reference
1763
+ claim:
1764
+ $ref: '#/components/schemas/ContactVerificationClaim'
1765
+ expires_on:
1766
+ anyOf:
1767
+ - format: date-time
1768
+ type: string
1769
+ - type: 'null'
1770
+ title: Expires On
1771
+ method:
1772
+ anyOf:
1773
+ - $ref: '#/components/schemas/ContactVerificationMethod'
1774
+ - type: 'null'
1775
+ proof:
1776
+ anyOf:
1777
+ - $ref: '#/components/schemas/ContactVerificationProof'
1778
+ - type: 'null'
1779
+ state:
1780
+ $ref: '#/components/schemas/ContactVerificationState'
1781
+ verified_on:
1782
+ anyOf:
1783
+ - format: date-time
1784
+ type: string
1785
+ - type: 'null'
1786
+ title: Verified On
1787
+ required:
1788
+ - claim
1789
+ - state
1790
+ title: ContactVerificationStatus
1791
+ type: object
1661
1792
  ContactsBase:
1662
1793
  properties:
1663
1794
  authinfo_required:
@@ -6589,6 +6720,25 @@ components:
6589
6720
  - type: 'null'
6590
6721
  description: Error type if the job failed (e.g., ValidationError, TimeoutError)
6591
6722
  title: Error Class
6723
+ error_code:
6724
+ anyOf:
6725
+ - type: string
6726
+ - type: 'null'
6727
+ description: Stable semantic error code propagated verbatim from the failing
6728
+ upstream service (e.g. 'ERROR_DOMAIN_TRANSFER_INVALID_AUTH_CODE'). Suitable
6729
+ for i18n / per-error UI branching. Null when the job did not fail or the
6730
+ upstream error did not carry a code.
6731
+ title: Error Code
6732
+ error_details:
6733
+ anyOf:
6734
+ - additionalProperties: true
6735
+ type: object
6736
+ - type: 'null'
6737
+ description: "Full upstream problem-details payload (RFC 9457) preserved\
6738
+ \ verbatim \u2014 e.g. type/title/status/code/detail plus service-specific\
6739
+ \ extras like domain_name, reason. Null when the failure didn't originate\
6740
+ \ from a typed upstream response."
6741
+ title: Error Details
6592
6742
  error_message:
6593
6743
  anyOf:
6594
6744
  - type: string
@@ -11355,7 +11505,7 @@ info:
11355
11505
  \n\n"
11356
11506
  summary: OpusDNS - your gateway to a seamless domain management experience.
11357
11507
  title: OpusDNS API
11358
- version: 2026-05-18-155947
11508
+ version: 2026-05-18-215758
11359
11509
  x-logo:
11360
11510
  altText: OpusDNS API Reference
11361
11511
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
@@ -14431,6 +14581,87 @@ paths:
14431
14581
  summary: Complete contact verification by contact ID
14432
14582
  tags:
14433
14583
  - contact
14584
+ /v1/contacts/{contact_id}/verifications/attest:
14585
+ post:
14586
+ description: Submit one or more contact-verification attestations. Returns the
14587
+ per-claim verification state.
14588
+ operationId: attest_contact_verification_v1_contacts__contact_id__verifications_attest_post
14589
+ parameters:
14590
+ - in: path
14591
+ name: contact_id
14592
+ required: true
14593
+ schema:
14594
+ examples:
14595
+ - contact_01h45ytscbebyvny4gc8cr8ma2
14596
+ format: typeid
14597
+ pattern: ^contact_[0-7][0-9a-hjkmnpq-tv-z]{25}$
14598
+ title: Contact Id
14599
+ type: string
14600
+ x-typeid-prefix: contact
14601
+ requestBody:
14602
+ content:
14603
+ application/json:
14604
+ schema:
14605
+ $ref: '#/components/schemas/ContactAttestReq'
14606
+ required: true
14607
+ responses:
14608
+ '200':
14609
+ content:
14610
+ application/json:
14611
+ schema:
14612
+ $ref: '#/components/schemas/ContactAttestRes'
14613
+ description: Successful Response
14614
+ '400':
14615
+ content:
14616
+ application/problem+json:
14617
+ example:
14618
+ code: ERROR_DOMAIN_VERIFICATION_INCONSISTENT_METHOD_PROOF
14619
+ detail: All attestations in a single submission must share the same
14620
+ method and proof. Submit separate requests if you used different
14621
+ methods or proofs.
14622
+ domain_name: Additional error context.
14623
+ status: 400
14624
+ title: Domain Verification Inconsistent Method/Proof
14625
+ type: domain-verification-inconsistent-method-proof
14626
+ schema:
14627
+ $ref: '#/components/schemas/Problem'
14628
+ description: Bad Request
14629
+ '401':
14630
+ content:
14631
+ application/problem+json:
14632
+ example:
14633
+ code: ERROR_AUTHENTICATION
14634
+ detail: Additional error context.
14635
+ status: 401
14636
+ title: Authentication Error
14637
+ type: authentication
14638
+ schema:
14639
+ $ref: '#/components/schemas/Problem'
14640
+ description: Unauthorized
14641
+ '422':
14642
+ content:
14643
+ application/problem+json:
14644
+ schema:
14645
+ $ref: '#/components/schemas/HTTPValidationError'
14646
+ description: Validation Error
14647
+ '502':
14648
+ content:
14649
+ application/problem+json:
14650
+ example:
14651
+ code: ERROR_CONTACT_VERIFICATION_UPSTREAM_ERROR
14652
+ detail: Additional error context.
14653
+ status: 502
14654
+ title: Contact Verification Service Error
14655
+ type: contact-verification-upstream
14656
+ schema:
14657
+ $ref: '#/components/schemas/Problem'
14658
+ description: Bad Gateway
14659
+ security:
14660
+ - OAuth2PasswordBearer: []
14661
+ - APIKeyHeader: []
14662
+ summary: Attest a contact verification
14663
+ tags:
14664
+ - contact
14434
14665
  /v1/dns:
14435
14666
  get:
14436
14667
  operationId: list_zones_v1_dns_get
@@ -22007,8 +22238,18 @@ paths:
22007
22238
  created_on: '2025-01-15T10:00:00Z'
22008
22239
  display: Update Domain 'flaky-domain.com'
22009
22240
  domain_name: flaky-domain.com
22010
- error_class: RegistryError
22011
- error_message: Registry unavailable after 5 retry attempts
22241
+ error_class: DomainsClientError
22242
+ error_code: ERROR_DOMAIN_TRANSFER_INVALID_AUTH_CODE
22243
+ error_details:
22244
+ code: ERROR_DOMAIN_TRANSFER_INVALID_AUTH_CODE
22245
+ detail: There was an error transferring the domain
22246
+ domain_name: flaky-domain.com
22247
+ reason: Domain transfer failed, invalid auth code provided
22248
+ status: 403
22249
+ title: Domain Transfer Error
22250
+ type: domain-transfer-invalid-auth
22251
+ error_message: 'Domains service error: There was an error transferring
22252
+ the domain'
22012
22253
  finished_at: '2025-01-15T10:15:30Z'
22013
22254
  job_id: job_01h45ytscbebyvny4gc8cr8ma7
22014
22255
  operation: update
@@ -25344,9 +25585,61 @@ tags:
25344
25585
  \n }\n }\n ]\n }\n ]\n }\n}\n```\n"
25345
25586
  name: jobs
25346
25587
  x-displayName: Jobs
25347
- - description: 'Endpoints for creating and managing contacts.
25348
-
25349
- '
25588
+ - description: "Endpoints for creating and managing contacts.\n\n### Contact Verification\
25589
+ \ Attestation\n\n`POST /v1/contacts/{contact_id}/verifications/attest` submits\
25590
+ \ attestations for a contact. The request is forwarded synchronously to the contact-verification\
25591
+ \ service, which is the source of truth for the response. When DENIC is among\
25592
+ \ the registries that flagged the contact for verification, OpusDNS additionally\
25593
+ \ queues a registry-side attest job behind the scenes.\n\n#### Workflow\n\nWhen\
25594
+ \ a registry signals that a contact requires verification (e.g. DENIC's `contactVerificationRequired`\
25595
+ \ notification), OpusDNS marks each affected domain with the `VERIFICATION_REQUIRED`\
25596
+ \ status tag. Submit attestations via this endpoint and the response reports the\
25597
+ \ resulting per-claim verification state.\n\n#### Request format\n\nThe request\
25598
+ \ body wraps the attestations under `attestations`. Fields are snake_case and\
25599
+ \ enum values are UPPERCASE.\n\n```json\n{\n \"attestations\": [\n {\n \
25600
+ \ \"claim\": \"NAME\",\n \"method\": \"AUTH\",\n \"proof\": \"IDCARD\"\
25601
+ ,\n \"attestation_reference\": \"ticket-12345\"\n }\n ]\n}\n```\n\n|\
25602
+ \ Field | Type | Notes |\n|-------|------|-------|\n| `claim` | enum | `NAME`,\
25603
+ \ `ADDRESS`, `EMAIL`, `PHONE`, `LEGAL_ENTITY` |\n| `method` | enum | `AUTH`, `VDIG`,\
25604
+ \ `ELECTRONIC_DOCUMENT`, `PHYSICAL_DOCUMENT`, `BVR`, `PVR`, `DATA`, `REACHABILITY`\
25605
+ \ |\n| `proof` | enum | `IDCARD`, `PASSPORT`, `POPULATION_REGISTER`, `RESIDENCE_PERMIT`,\
25606
+ \ `PROOF_OF_ARRIVAL`, `DRIVERS_LICENCE`, `COMPANY_REGISTER`, `COMPANY_STATEMENT`,\
25607
+ \ `BANK_ACCOUNT`, `ONLINE_PAYMENT_ACCOUNT`, `UTILITY_ACCOUNT`, `BANK_STATEMENT`,\
25608
+ \ `TAX_STATEMENT`, `WRITTEN_ATTESTATION`, `DIGITAL_ATTESTATION`, `POSTAL_VER_TRANSACTION_LOG`,\
25609
+ \ `EMAIL_VER_TRANSACTION_LOG`, `ADDRESS_DATABASE` |\n| `attestation_reference`\
25610
+ \ | string | Caller-supplied reference (e.g. internal ticket ID, document hash).\
25611
+ \ Up to 255 chars. |\n\n**DENIC-only constraint:** when the contact has DENIC\
25612
+ \ verification pending, all items in a single request must share the same `method`,\
25613
+ \ `proof`, and `attestation_reference`. DENIC's `contactUPDATE` carries one verification\
25614
+ \ block per call; the API enforces this only when DENIC is in scope so callers\
25615
+ \ see a synchronous 400 instead of a partial-success. Contacts not pending DENIC\
25616
+ \ verification accept heterogeneous batches.\n\n#### Response\n\nThe endpoint\
25617
+ \ returns **HTTP 200 OK** with an object containing the per-claim verification\
25618
+ \ state from the contact-verification service:\n\n```json\n{\n \"verifications\"\
25619
+ : [\n {\n \"claim\": \"NAME\",\n \"state\": \"VERIFIED\",\n \
25620
+ \ \"method\": \"AUTH\",\n \"proof\": \"IDCARD\",\n \"attestation_reference\"\
25621
+ : \"ticket-12345\",\n \"verified_on\": \"2026-05-15T12:00:00Z\",\n \"\
25622
+ expires_on\": null\n }\n ]\n}\n```\n\n| Field | Type | Notes |\n|-------|------|-------|\n\
25623
+ | `claim` | enum | The claim this entry describes. |\n| `state` | enum | `UNVERIFIED`,\
25624
+ \ `VERIFIED`, `IN_PROGRESS`, `EXPIRED`. |\n| `method` | enum or null | The method\
25625
+ \ that produced the current state. |\n| `proof` | enum or null | The proof that\
25626
+ \ produced the current state. |\n| `attestation_reference` | string or null |\
25627
+ \ Reference recorded with the current state. |\n| `verified_on` | RFC3339 datetime\
25628
+ \ or null | When the claim entered the `VERIFIED` state. |\n| `expires_on` | RFC3339\
25629
+ \ datetime or null | When the current verification expires. |\n\nWhen DENIC verification\
25630
+ \ was pending for the contact, the registry-side `contactUPDATE` is queued behind\
25631
+ \ the scenes and emits a `CONTACT/VERIFICATION/SUCCESS` or `CONTACT/VERIFICATION/FAILURE`\
25632
+ \ poll-message event keyed on `contact_id`. The `VERIFICATION_REQUIRED` status\
25633
+ \ tag on the affected domains is cleared on success.\n\n#### Error codes\n\n|\
25634
+ \ Code | Status | Meaning |\n|------|--------|---------|\n| `ERROR_DOMAIN_VERIFICATION_INCONSISTENT_METHOD_PROOF`\
25635
+ \ | 400 | DENIC verification is pending for this contact and items in the request\
25636
+ \ disagree on `method`, `proof`, or `attestation_reference`. |\n| `ERROR_DOMAIN_VERIFICATION_INVALID_COMBINATION`\
25637
+ \ | (async) | The registry rejected the DENIC attestation as an invalid method/proof/reference\
25638
+ \ combination. Surfaces as a `CONTACT/VERIFICATION/FAILURE` poll-message event.\
25639
+ \ |\n| `ERROR_DOMAIN_VERIFICATION_REGISTRY_REJECTED` | (async) | DENIC accepted\
25640
+ \ the submission at the protocol level but indicated the verification attempt\
25641
+ \ itself was not successful. Surfaces as a `CONTACT/VERIFICATION/FAILURE` poll-message\
25642
+ \ event. |\n"
25350
25643
  name: contact
25351
25644
  x-displayName: Contacts
25352
25645
  - description: "Endpoints for managing DNS zones and records.\n\n### Zone, RRset,\
package/src/schema.d.ts CHANGED
@@ -471,6 +471,26 @@ export interface paths {
471
471
  patch?: never;
472
472
  trace?: never;
473
473
  };
474
+ "/v1/contacts/{contact_id}/verifications/attest": {
475
+ parameters: {
476
+ query?: never;
477
+ header?: never;
478
+ path?: never;
479
+ cookie?: never;
480
+ };
481
+ get?: never;
482
+ put?: never;
483
+ /**
484
+ * Attest a contact verification
485
+ * @description Submit one or more contact-verification attestations. Returns the per-claim verification state.
486
+ */
487
+ post: operations["attest_contact_verification_v1_contacts__contact_id__verifications_attest_post"];
488
+ delete?: never;
489
+ options?: never;
490
+ head?: never;
491
+ patch?: never;
492
+ trace?: never;
493
+ };
474
494
  "/v1/dns": {
475
495
  parameters: {
476
496
  query?: never;
@@ -2748,6 +2768,24 @@ export interface components {
2748
2768
  * @enum {string}
2749
2769
  */
2750
2770
  ConditionOperator: "equals" | "not_equals" | "in" | "not_in";
2771
+ /** ContactAttestReq */
2772
+ ContactAttestReq: {
2773
+ /** Attestations */
2774
+ attestations: components["schemas"]["ContactAttestVerificationReq"][];
2775
+ };
2776
+ /** ContactAttestRes */
2777
+ ContactAttestRes: {
2778
+ /** Verifications */
2779
+ verifications: components["schemas"]["ContactVerificationStatus"][];
2780
+ };
2781
+ /** ContactAttestVerificationReq */
2782
+ ContactAttestVerificationReq: {
2783
+ /** Attestation Reference */
2784
+ attestation_reference: string;
2785
+ claim: components["schemas"]["ContactVerificationClaim"];
2786
+ method: components["schemas"]["ContactVerificationMethod"];
2787
+ proof: components["schemas"]["ContactVerificationProof"];
2788
+ };
2751
2789
  /**
2752
2790
  * ContactAttributeDefinition
2753
2791
  * @description Definition of a possible attribute for a TLD.
@@ -3538,6 +3576,11 @@ export interface components {
3538
3576
  */
3539
3577
  verified_on?: Date | null;
3540
3578
  };
3579
+ /**
3580
+ * ContactVerificationClaim
3581
+ * @enum {string}
3582
+ */
3583
+ ContactVerificationClaim: "NAME" | "ADDRESS" | "EMAIL" | "PHONE" | "LEGAL_ENTITY";
3541
3584
  /** ContactVerificationEmailResponse */
3542
3585
  ContactVerificationEmailResponse: {
3543
3586
  /**
@@ -3584,6 +3627,16 @@ export interface components {
3584
3627
  */
3585
3628
  verified_on?: Date | null;
3586
3629
  };
3630
+ /**
3631
+ * ContactVerificationMethod
3632
+ * @enum {string}
3633
+ */
3634
+ ContactVerificationMethod: "AUTH" | "VDIG" | "ELECTRONIC_DOCUMENT" | "PHYSICAL_DOCUMENT" | "BVR" | "PVR" | "DATA" | "REACHABILITY";
3635
+ /**
3636
+ * ContactVerificationProof
3637
+ * @enum {string}
3638
+ */
3639
+ ContactVerificationProof: "IDCARD" | "PASSPORT" | "POPULATION_REGISTER" | "RESIDENCE_PERMIT" | "PROOF_OF_ARRIVAL" | "DRIVERS_LICENCE" | "COMPANY_REGISTER" | "COMPANY_STATEMENT" | "BANK_ACCOUNT" | "ONLINE_PAYMENT_ACCOUNT" | "UTILITY_ACCOUNT" | "BANK_STATEMENT" | "TAX_STATEMENT" | "WRITTEN_ATTESTATION" | "DIGITAL_ATTESTATION" | "POSTAL_VER_TRANSACTION_LOG" | "EMAIL_VER_TRANSACTION_LOG" | "ADDRESS_DATABASE";
3587
3640
  /** ContactVerificationResponse */
3588
3641
  ContactVerificationResponse: {
3589
3642
  /**
@@ -3630,6 +3683,24 @@ export interface components {
3630
3683
  */
3631
3684
  verified_on?: Date | null;
3632
3685
  };
3686
+ /**
3687
+ * ContactVerificationState
3688
+ * @enum {string}
3689
+ */
3690
+ ContactVerificationState: "UNVERIFIED" | "VERIFIED" | "IN_PROGRESS" | "EXPIRED";
3691
+ /** ContactVerificationStatus */
3692
+ ContactVerificationStatus: {
3693
+ /** Attestation Reference */
3694
+ attestation_reference?: string | null;
3695
+ claim: components["schemas"]["ContactVerificationClaim"];
3696
+ /** Expires On */
3697
+ expires_on?: Date | null;
3698
+ method?: components["schemas"]["ContactVerificationMethod"] | null;
3699
+ proof?: components["schemas"]["ContactVerificationProof"] | null;
3700
+ state: components["schemas"]["ContactVerificationState"];
3701
+ /** Verified On */
3702
+ verified_on?: Date | null;
3703
+ };
3633
3704
  /** ContactsBase */
3634
3705
  ContactsBase: {
3635
3706
  /**
@@ -6883,6 +6954,18 @@ export interface components {
6883
6954
  * @description Error type if the job failed (e.g., ValidationError, TimeoutError)
6884
6955
  */
6885
6956
  error_class?: string | null;
6957
+ /**
6958
+ * Error Code
6959
+ * @description Stable semantic error code propagated verbatim from the failing upstream service (e.g. 'ERROR_DOMAIN_TRANSFER_INVALID_AUTH_CODE'). Suitable for i18n / per-error UI branching. Null when the job did not fail or the upstream error did not carry a code.
6960
+ */
6961
+ error_code?: string | null;
6962
+ /**
6963
+ * Error Details
6964
+ * @description Full upstream problem-details payload (RFC 9457) preserved verbatim — e.g. type/title/status/code/detail plus service-specific extras like domain_name, reason. Null when the failure didn't originate from a typed upstream response.
6965
+ */
6966
+ error_details?: {
6967
+ [key: string]: unknown;
6968
+ } | null;
6886
6969
  /**
6887
6970
  * Error Message
6888
6971
  * @description Detailed error message if the job failed
@@ -12552,6 +12635,90 @@ export interface operations {
12552
12635
  };
12553
12636
  };
12554
12637
  };
12638
+ attest_contact_verification_v1_contacts__contact_id__verifications_attest_post: {
12639
+ parameters: {
12640
+ query?: never;
12641
+ header?: never;
12642
+ path: {
12643
+ contact_id: TypeId<"contact">;
12644
+ };
12645
+ cookie?: never;
12646
+ };
12647
+ requestBody: {
12648
+ content: {
12649
+ "application/json": components["schemas"]["ContactAttestReq"];
12650
+ };
12651
+ };
12652
+ responses: {
12653
+ /** @description Successful Response */
12654
+ 200: {
12655
+ headers: {
12656
+ [name: string]: unknown;
12657
+ };
12658
+ content: {
12659
+ "application/json": components["schemas"]["ContactAttestRes"];
12660
+ };
12661
+ };
12662
+ /** @description Bad Request */
12663
+ 400: {
12664
+ headers: {
12665
+ [name: string]: unknown;
12666
+ };
12667
+ content: {
12668
+ /** @example {
12669
+ * "code": "ERROR_DOMAIN_VERIFICATION_INCONSISTENT_METHOD_PROOF",
12670
+ * "detail": "All attestations in a single submission must share the same method and proof. Submit separate requests if you used different methods or proofs.",
12671
+ * "domain_name": "Additional error context.",
12672
+ * "status": 400,
12673
+ * "title": "Domain Verification Inconsistent Method/Proof",
12674
+ * "type": "domain-verification-inconsistent-method-proof"
12675
+ * } */
12676
+ "application/problem+json": components["schemas"]["Problem"];
12677
+ };
12678
+ };
12679
+ /** @description Unauthorized */
12680
+ 401: {
12681
+ headers: {
12682
+ [name: string]: unknown;
12683
+ };
12684
+ content: {
12685
+ /** @example {
12686
+ * "code": "ERROR_AUTHENTICATION",
12687
+ * "detail": "Additional error context.",
12688
+ * "status": 401,
12689
+ * "title": "Authentication Error",
12690
+ * "type": "authentication"
12691
+ * } */
12692
+ "application/problem+json": components["schemas"]["Problem"];
12693
+ };
12694
+ };
12695
+ /** @description Validation Error */
12696
+ 422: {
12697
+ headers: {
12698
+ [name: string]: unknown;
12699
+ };
12700
+ content: {
12701
+ "application/problem+json": components["schemas"]["HTTPValidationError"];
12702
+ };
12703
+ };
12704
+ /** @description Bad Gateway */
12705
+ 502: {
12706
+ headers: {
12707
+ [name: string]: unknown;
12708
+ };
12709
+ content: {
12710
+ /** @example {
12711
+ * "code": "ERROR_CONTACT_VERIFICATION_UPSTREAM_ERROR",
12712
+ * "detail": "Additional error context.",
12713
+ * "status": 502,
12714
+ * "title": "Contact Verification Service Error",
12715
+ * "type": "contact-verification-upstream"
12716
+ * } */
12717
+ "application/problem+json": components["schemas"]["Problem"];
12718
+ };
12719
+ };
12720
+ };
12721
+ };
12555
12722
  list_zones_v1_dns_get: {
12556
12723
  parameters: {
12557
12724
  query?: {