@opusdns/api 0.304.0 → 0.306.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/package.json +1 -1
- package/src/helpers/constants.ts +255 -1
- package/src/helpers/keys.ts +454 -0
- package/src/helpers/requests.d.ts +56 -1
- package/src/helpers/responses.d.ts +114 -1
- package/src/helpers/schemas-arrays.d.ts +57 -29
- package/src/helpers/schemas.d.ts +128 -0
- package/src/openapi.yaml +295 -4
- package/src/schema.d.ts +163 -0
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:
|
|
@@ -1304,6 +1348,15 @@ components:
|
|
|
1304
1348
|
- type: 'null'
|
|
1305
1349
|
description: The state of the contact
|
|
1306
1350
|
title: State
|
|
1351
|
+
status_tags:
|
|
1352
|
+
anyOf:
|
|
1353
|
+
- items:
|
|
1354
|
+
$ref: '#/components/schemas/StatusTagResponse'
|
|
1355
|
+
type: array
|
|
1356
|
+
- type: 'null'
|
|
1357
|
+
description: Status tags assigned to this contact. Only included when ?include=tags
|
|
1358
|
+
is specified.
|
|
1359
|
+
title: Status Tags
|
|
1307
1360
|
street:
|
|
1308
1361
|
description: The address of the contact
|
|
1309
1362
|
maxLength: 255
|
|
@@ -1537,6 +1590,15 @@ components:
|
|
|
1537
1590
|
- type
|
|
1538
1591
|
title: ContactVerificationApiResponse
|
|
1539
1592
|
type: object
|
|
1593
|
+
ContactVerificationClaim:
|
|
1594
|
+
enum:
|
|
1595
|
+
- NAME
|
|
1596
|
+
- ADDRESS
|
|
1597
|
+
- EMAIL
|
|
1598
|
+
- PHONE
|
|
1599
|
+
- LEGAL_ENTITY
|
|
1600
|
+
title: ContactVerificationClaim
|
|
1601
|
+
type: string
|
|
1540
1602
|
ContactVerificationEmailResponse:
|
|
1541
1603
|
properties:
|
|
1542
1604
|
canceled_on:
|
|
@@ -1593,6 +1655,40 @@ components:
|
|
|
1593
1655
|
- type
|
|
1594
1656
|
title: ContactVerificationEmailResponse
|
|
1595
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
|
|
1596
1692
|
ContactVerificationResponse:
|
|
1597
1693
|
properties:
|
|
1598
1694
|
canceled_on:
|
|
@@ -1649,6 +1745,50 @@ components:
|
|
|
1649
1745
|
- type
|
|
1650
1746
|
title: ContactVerificationResponse
|
|
1651
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
|
|
1652
1792
|
ContactsBase:
|
|
1653
1793
|
properties:
|
|
1654
1794
|
authinfo_required:
|
|
@@ -11346,7 +11486,7 @@ info:
|
|
|
11346
11486
|
\n\n"
|
|
11347
11487
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
11348
11488
|
title: OpusDNS API
|
|
11349
|
-
version: 2026-05-18-
|
|
11489
|
+
version: 2026-05-18-161414
|
|
11350
11490
|
x-logo:
|
|
11351
11491
|
altText: OpusDNS API Reference
|
|
11352
11492
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
|
@@ -13368,6 +13508,24 @@ paths:
|
|
|
13368
13508
|
schema:
|
|
13369
13509
|
$ref: '#/components/schemas/SortOrder'
|
|
13370
13510
|
default: desc
|
|
13511
|
+
- description: Filter by status tag types. Can be specified multiple times.
|
|
13512
|
+
in: query
|
|
13513
|
+
name: status_tags
|
|
13514
|
+
required: false
|
|
13515
|
+
schema:
|
|
13516
|
+
anyOf:
|
|
13517
|
+
- items:
|
|
13518
|
+
$ref: '#/components/schemas/StatusTagType'
|
|
13519
|
+
type: array
|
|
13520
|
+
- type: 'null'
|
|
13521
|
+
description: Filter by status tag types. Can be specified multiple times.
|
|
13522
|
+
title: Status Tags
|
|
13523
|
+
- in: query
|
|
13524
|
+
name: status_tag_mode
|
|
13525
|
+
required: false
|
|
13526
|
+
schema:
|
|
13527
|
+
$ref: '#/components/schemas/TagFilterMode'
|
|
13528
|
+
default: match_any
|
|
13371
13529
|
- description: Filter by user tag IDs. Can be specified multiple times.
|
|
13372
13530
|
in: query
|
|
13373
13531
|
name: tag_ids
|
|
@@ -14404,6 +14562,87 @@ paths:
|
|
|
14404
14562
|
summary: Complete contact verification by contact ID
|
|
14405
14563
|
tags:
|
|
14406
14564
|
- contact
|
|
14565
|
+
/v1/contacts/{contact_id}/verifications/attest:
|
|
14566
|
+
post:
|
|
14567
|
+
description: Submit one or more contact-verification attestations. Returns the
|
|
14568
|
+
per-claim verification state.
|
|
14569
|
+
operationId: attest_contact_verification_v1_contacts__contact_id__verifications_attest_post
|
|
14570
|
+
parameters:
|
|
14571
|
+
- in: path
|
|
14572
|
+
name: contact_id
|
|
14573
|
+
required: true
|
|
14574
|
+
schema:
|
|
14575
|
+
examples:
|
|
14576
|
+
- contact_01h45ytscbebyvny4gc8cr8ma2
|
|
14577
|
+
format: typeid
|
|
14578
|
+
pattern: ^contact_[0-7][0-9a-hjkmnpq-tv-z]{25}$
|
|
14579
|
+
title: Contact Id
|
|
14580
|
+
type: string
|
|
14581
|
+
x-typeid-prefix: contact
|
|
14582
|
+
requestBody:
|
|
14583
|
+
content:
|
|
14584
|
+
application/json:
|
|
14585
|
+
schema:
|
|
14586
|
+
$ref: '#/components/schemas/ContactAttestReq'
|
|
14587
|
+
required: true
|
|
14588
|
+
responses:
|
|
14589
|
+
'200':
|
|
14590
|
+
content:
|
|
14591
|
+
application/json:
|
|
14592
|
+
schema:
|
|
14593
|
+
$ref: '#/components/schemas/ContactAttestRes'
|
|
14594
|
+
description: Successful Response
|
|
14595
|
+
'400':
|
|
14596
|
+
content:
|
|
14597
|
+
application/problem+json:
|
|
14598
|
+
example:
|
|
14599
|
+
code: ERROR_DOMAIN_VERIFICATION_INCONSISTENT_METHOD_PROOF
|
|
14600
|
+
detail: All attestations in a single submission must share the same
|
|
14601
|
+
method and proof. Submit separate requests if you used different
|
|
14602
|
+
methods or proofs.
|
|
14603
|
+
domain_name: Additional error context.
|
|
14604
|
+
status: 400
|
|
14605
|
+
title: Domain Verification Inconsistent Method/Proof
|
|
14606
|
+
type: domain-verification-inconsistent-method-proof
|
|
14607
|
+
schema:
|
|
14608
|
+
$ref: '#/components/schemas/Problem'
|
|
14609
|
+
description: Bad Request
|
|
14610
|
+
'401':
|
|
14611
|
+
content:
|
|
14612
|
+
application/problem+json:
|
|
14613
|
+
example:
|
|
14614
|
+
code: ERROR_AUTHENTICATION
|
|
14615
|
+
detail: Additional error context.
|
|
14616
|
+
status: 401
|
|
14617
|
+
title: Authentication Error
|
|
14618
|
+
type: authentication
|
|
14619
|
+
schema:
|
|
14620
|
+
$ref: '#/components/schemas/Problem'
|
|
14621
|
+
description: Unauthorized
|
|
14622
|
+
'422':
|
|
14623
|
+
content:
|
|
14624
|
+
application/problem+json:
|
|
14625
|
+
schema:
|
|
14626
|
+
$ref: '#/components/schemas/HTTPValidationError'
|
|
14627
|
+
description: Validation Error
|
|
14628
|
+
'502':
|
|
14629
|
+
content:
|
|
14630
|
+
application/problem+json:
|
|
14631
|
+
example:
|
|
14632
|
+
code: ERROR_CONTACT_VERIFICATION_UPSTREAM_ERROR
|
|
14633
|
+
detail: Additional error context.
|
|
14634
|
+
status: 502
|
|
14635
|
+
title: Contact Verification Service Error
|
|
14636
|
+
type: contact-verification-upstream
|
|
14637
|
+
schema:
|
|
14638
|
+
$ref: '#/components/schemas/Problem'
|
|
14639
|
+
description: Bad Gateway
|
|
14640
|
+
security:
|
|
14641
|
+
- OAuth2PasswordBearer: []
|
|
14642
|
+
- APIKeyHeader: []
|
|
14643
|
+
summary: Attest a contact verification
|
|
14644
|
+
tags:
|
|
14645
|
+
- contact
|
|
14407
14646
|
/v1/dns:
|
|
14408
14647
|
get:
|
|
14409
14648
|
operationId: list_zones_v1_dns_get
|
|
@@ -25317,9 +25556,61 @@ tags:
|
|
|
25317
25556
|
\n }\n }\n ]\n }\n ]\n }\n}\n```\n"
|
|
25318
25557
|
name: jobs
|
|
25319
25558
|
x-displayName: Jobs
|
|
25320
|
-
- description:
|
|
25321
|
-
|
|
25322
|
-
|
|
25559
|
+
- description: "Endpoints for creating and managing contacts.\n\n### Contact Verification\
|
|
25560
|
+
\ Attestation\n\n`POST /v1/contacts/{contact_id}/verifications/attest` submits\
|
|
25561
|
+
\ attestations for a contact. The request is forwarded synchronously to the contact-verification\
|
|
25562
|
+
\ service, which is the source of truth for the response. When DENIC is among\
|
|
25563
|
+
\ the registries that flagged the contact for verification, OpusDNS additionally\
|
|
25564
|
+
\ queues a registry-side attest job behind the scenes.\n\n#### Workflow\n\nWhen\
|
|
25565
|
+
\ a registry signals that a contact requires verification (e.g. DENIC's `contactVerificationRequired`\
|
|
25566
|
+
\ notification), OpusDNS marks each affected domain with the `VERIFICATION_REQUIRED`\
|
|
25567
|
+
\ status tag. Submit attestations via this endpoint and the response reports the\
|
|
25568
|
+
\ resulting per-claim verification state.\n\n#### Request format\n\nThe request\
|
|
25569
|
+
\ body wraps the attestations under `attestations`. Fields are snake_case and\
|
|
25570
|
+
\ enum values are UPPERCASE.\n\n```json\n{\n \"attestations\": [\n {\n \
|
|
25571
|
+
\ \"claim\": \"NAME\",\n \"method\": \"AUTH\",\n \"proof\": \"IDCARD\"\
|
|
25572
|
+
,\n \"attestation_reference\": \"ticket-12345\"\n }\n ]\n}\n```\n\n|\
|
|
25573
|
+
\ Field | Type | Notes |\n|-------|------|-------|\n| `claim` | enum | `NAME`,\
|
|
25574
|
+
\ `ADDRESS`, `EMAIL`, `PHONE`, `LEGAL_ENTITY` |\n| `method` | enum | `AUTH`, `VDIG`,\
|
|
25575
|
+
\ `ELECTRONIC_DOCUMENT`, `PHYSICAL_DOCUMENT`, `BVR`, `PVR`, `DATA`, `REACHABILITY`\
|
|
25576
|
+
\ |\n| `proof` | enum | `IDCARD`, `PASSPORT`, `POPULATION_REGISTER`, `RESIDENCE_PERMIT`,\
|
|
25577
|
+
\ `PROOF_OF_ARRIVAL`, `DRIVERS_LICENCE`, `COMPANY_REGISTER`, `COMPANY_STATEMENT`,\
|
|
25578
|
+
\ `BANK_ACCOUNT`, `ONLINE_PAYMENT_ACCOUNT`, `UTILITY_ACCOUNT`, `BANK_STATEMENT`,\
|
|
25579
|
+
\ `TAX_STATEMENT`, `WRITTEN_ATTESTATION`, `DIGITAL_ATTESTATION`, `POSTAL_VER_TRANSACTION_LOG`,\
|
|
25580
|
+
\ `EMAIL_VER_TRANSACTION_LOG`, `ADDRESS_DATABASE` |\n| `attestation_reference`\
|
|
25581
|
+
\ | string | Caller-supplied reference (e.g. internal ticket ID, document hash).\
|
|
25582
|
+
\ Up to 255 chars. |\n\n**DENIC-only constraint:** when the contact has DENIC\
|
|
25583
|
+
\ verification pending, all items in a single request must share the same `method`,\
|
|
25584
|
+
\ `proof`, and `attestation_reference`. DENIC's `contactUPDATE` carries one verification\
|
|
25585
|
+
\ block per call; the API enforces this only when DENIC is in scope so callers\
|
|
25586
|
+
\ see a synchronous 400 instead of a partial-success. Contacts not pending DENIC\
|
|
25587
|
+
\ verification accept heterogeneous batches.\n\n#### Response\n\nThe endpoint\
|
|
25588
|
+
\ returns **HTTP 200 OK** with an object containing the per-claim verification\
|
|
25589
|
+
\ state from the contact-verification service:\n\n```json\n{\n \"verifications\"\
|
|
25590
|
+
: [\n {\n \"claim\": \"NAME\",\n \"state\": \"VERIFIED\",\n \
|
|
25591
|
+
\ \"method\": \"AUTH\",\n \"proof\": \"IDCARD\",\n \"attestation_reference\"\
|
|
25592
|
+
: \"ticket-12345\",\n \"verified_on\": \"2026-05-15T12:00:00Z\",\n \"\
|
|
25593
|
+
expires_on\": null\n }\n ]\n}\n```\n\n| Field | Type | Notes |\n|-------|------|-------|\n\
|
|
25594
|
+
| `claim` | enum | The claim this entry describes. |\n| `state` | enum | `UNVERIFIED`,\
|
|
25595
|
+
\ `VERIFIED`, `IN_PROGRESS`, `EXPIRED`. |\n| `method` | enum or null | The method\
|
|
25596
|
+
\ that produced the current state. |\n| `proof` | enum or null | The proof that\
|
|
25597
|
+
\ produced the current state. |\n| `attestation_reference` | string or null |\
|
|
25598
|
+
\ Reference recorded with the current state. |\n| `verified_on` | RFC3339 datetime\
|
|
25599
|
+
\ or null | When the claim entered the `VERIFIED` state. |\n| `expires_on` | RFC3339\
|
|
25600
|
+
\ datetime or null | When the current verification expires. |\n\nWhen DENIC verification\
|
|
25601
|
+
\ was pending for the contact, the registry-side `contactUPDATE` is queued behind\
|
|
25602
|
+
\ the scenes and emits a `CONTACT/VERIFICATION/SUCCESS` or `CONTACT/VERIFICATION/FAILURE`\
|
|
25603
|
+
\ poll-message event keyed on `contact_id`. The `VERIFICATION_REQUIRED` status\
|
|
25604
|
+
\ tag on the affected domains is cleared on success.\n\n#### Error codes\n\n|\
|
|
25605
|
+
\ Code | Status | Meaning |\n|------|--------|---------|\n| `ERROR_DOMAIN_VERIFICATION_INCONSISTENT_METHOD_PROOF`\
|
|
25606
|
+
\ | 400 | DENIC verification is pending for this contact and items in the request\
|
|
25607
|
+
\ disagree on `method`, `proof`, or `attestation_reference`. |\n| `ERROR_DOMAIN_VERIFICATION_INVALID_COMBINATION`\
|
|
25608
|
+
\ | (async) | The registry rejected the DENIC attestation as an invalid method/proof/reference\
|
|
25609
|
+
\ combination. Surfaces as a `CONTACT/VERIFICATION/FAILURE` poll-message event.\
|
|
25610
|
+
\ |\n| `ERROR_DOMAIN_VERIFICATION_REGISTRY_REJECTED` | (async) | DENIC accepted\
|
|
25611
|
+
\ the submission at the protocol level but indicated the verification attempt\
|
|
25612
|
+
\ itself was not successful. Surfaces as a `CONTACT/VERIFICATION/FAILURE` poll-message\
|
|
25613
|
+
\ event. |\n"
|
|
25323
25614
|
name: contact
|
|
25324
25615
|
x-displayName: Contacts
|
|
25325
25616
|
- 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.
|
|
@@ -3365,6 +3403,11 @@ export interface components {
|
|
|
3365
3403
|
* @description The state of the contact
|
|
3366
3404
|
*/
|
|
3367
3405
|
state?: string | null;
|
|
3406
|
+
/**
|
|
3407
|
+
* Status Tags
|
|
3408
|
+
* @description Status tags assigned to this contact. Only included when ?include=tags is specified.
|
|
3409
|
+
*/
|
|
3410
|
+
status_tags?: components["schemas"]["StatusTagResponse"][] | null;
|
|
3368
3411
|
/**
|
|
3369
3412
|
* Street
|
|
3370
3413
|
* @description The address of the contact
|
|
@@ -3533,6 +3576,11 @@ export interface components {
|
|
|
3533
3576
|
*/
|
|
3534
3577
|
verified_on?: Date | null;
|
|
3535
3578
|
};
|
|
3579
|
+
/**
|
|
3580
|
+
* ContactVerificationClaim
|
|
3581
|
+
* @enum {string}
|
|
3582
|
+
*/
|
|
3583
|
+
ContactVerificationClaim: "NAME" | "ADDRESS" | "EMAIL" | "PHONE" | "LEGAL_ENTITY";
|
|
3536
3584
|
/** ContactVerificationEmailResponse */
|
|
3537
3585
|
ContactVerificationEmailResponse: {
|
|
3538
3586
|
/**
|
|
@@ -3579,6 +3627,16 @@ export interface components {
|
|
|
3579
3627
|
*/
|
|
3580
3628
|
verified_on?: Date | null;
|
|
3581
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";
|
|
3582
3640
|
/** ContactVerificationResponse */
|
|
3583
3641
|
ContactVerificationResponse: {
|
|
3584
3642
|
/**
|
|
@@ -3625,6 +3683,24 @@ export interface components {
|
|
|
3625
3683
|
*/
|
|
3626
3684
|
verified_on?: Date | null;
|
|
3627
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
|
+
};
|
|
3628
3704
|
/** ContactsBase */
|
|
3629
3705
|
ContactsBase: {
|
|
3630
3706
|
/**
|
|
@@ -11587,6 +11663,9 @@ export interface operations {
|
|
|
11587
11663
|
query?: {
|
|
11588
11664
|
sort_by?: components["schemas"]["ContactSortField"];
|
|
11589
11665
|
sort_order?: components["schemas"]["SortOrder"];
|
|
11666
|
+
/** @description Filter by status tag types. Can be specified multiple times. */
|
|
11667
|
+
status_tags?: components["schemas"]["StatusTagType"][] | null;
|
|
11668
|
+
status_tag_mode?: components["schemas"]["TagFilterMode"];
|
|
11590
11669
|
/** @description Filter by user tag IDs. Can be specified multiple times. */
|
|
11591
11670
|
tag_ids?: TypeId<"tag">[] | null;
|
|
11592
11671
|
tag_mode?: components["schemas"]["TagFilterMode"];
|
|
@@ -12544,6 +12623,90 @@ export interface operations {
|
|
|
12544
12623
|
};
|
|
12545
12624
|
};
|
|
12546
12625
|
};
|
|
12626
|
+
attest_contact_verification_v1_contacts__contact_id__verifications_attest_post: {
|
|
12627
|
+
parameters: {
|
|
12628
|
+
query?: never;
|
|
12629
|
+
header?: never;
|
|
12630
|
+
path: {
|
|
12631
|
+
contact_id: TypeId<"contact">;
|
|
12632
|
+
};
|
|
12633
|
+
cookie?: never;
|
|
12634
|
+
};
|
|
12635
|
+
requestBody: {
|
|
12636
|
+
content: {
|
|
12637
|
+
"application/json": components["schemas"]["ContactAttestReq"];
|
|
12638
|
+
};
|
|
12639
|
+
};
|
|
12640
|
+
responses: {
|
|
12641
|
+
/** @description Successful Response */
|
|
12642
|
+
200: {
|
|
12643
|
+
headers: {
|
|
12644
|
+
[name: string]: unknown;
|
|
12645
|
+
};
|
|
12646
|
+
content: {
|
|
12647
|
+
"application/json": components["schemas"]["ContactAttestRes"];
|
|
12648
|
+
};
|
|
12649
|
+
};
|
|
12650
|
+
/** @description Bad Request */
|
|
12651
|
+
400: {
|
|
12652
|
+
headers: {
|
|
12653
|
+
[name: string]: unknown;
|
|
12654
|
+
};
|
|
12655
|
+
content: {
|
|
12656
|
+
/** @example {
|
|
12657
|
+
* "code": "ERROR_DOMAIN_VERIFICATION_INCONSISTENT_METHOD_PROOF",
|
|
12658
|
+
* "detail": "All attestations in a single submission must share the same method and proof. Submit separate requests if you used different methods or proofs.",
|
|
12659
|
+
* "domain_name": "Additional error context.",
|
|
12660
|
+
* "status": 400,
|
|
12661
|
+
* "title": "Domain Verification Inconsistent Method/Proof",
|
|
12662
|
+
* "type": "domain-verification-inconsistent-method-proof"
|
|
12663
|
+
* } */
|
|
12664
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
12665
|
+
};
|
|
12666
|
+
};
|
|
12667
|
+
/** @description Unauthorized */
|
|
12668
|
+
401: {
|
|
12669
|
+
headers: {
|
|
12670
|
+
[name: string]: unknown;
|
|
12671
|
+
};
|
|
12672
|
+
content: {
|
|
12673
|
+
/** @example {
|
|
12674
|
+
* "code": "ERROR_AUTHENTICATION",
|
|
12675
|
+
* "detail": "Additional error context.",
|
|
12676
|
+
* "status": 401,
|
|
12677
|
+
* "title": "Authentication Error",
|
|
12678
|
+
* "type": "authentication"
|
|
12679
|
+
* } */
|
|
12680
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
12681
|
+
};
|
|
12682
|
+
};
|
|
12683
|
+
/** @description Validation Error */
|
|
12684
|
+
422: {
|
|
12685
|
+
headers: {
|
|
12686
|
+
[name: string]: unknown;
|
|
12687
|
+
};
|
|
12688
|
+
content: {
|
|
12689
|
+
"application/problem+json": components["schemas"]["HTTPValidationError"];
|
|
12690
|
+
};
|
|
12691
|
+
};
|
|
12692
|
+
/** @description Bad Gateway */
|
|
12693
|
+
502: {
|
|
12694
|
+
headers: {
|
|
12695
|
+
[name: string]: unknown;
|
|
12696
|
+
};
|
|
12697
|
+
content: {
|
|
12698
|
+
/** @example {
|
|
12699
|
+
* "code": "ERROR_CONTACT_VERIFICATION_UPSTREAM_ERROR",
|
|
12700
|
+
* "detail": "Additional error context.",
|
|
12701
|
+
* "status": 502,
|
|
12702
|
+
* "title": "Contact Verification Service Error",
|
|
12703
|
+
* "type": "contact-verification-upstream"
|
|
12704
|
+
* } */
|
|
12705
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
12706
|
+
};
|
|
12707
|
+
};
|
|
12708
|
+
};
|
|
12709
|
+
};
|
|
12547
12710
|
list_zones_v1_dns_get: {
|
|
12548
12711
|
parameters: {
|
|
12549
12712
|
query?: {
|