@opusdns/api 1.161.0 → 1.162.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 +2 -0
- package/src/openapi.yaml +26 -24
- package/src/schema.d.ts +1 -1
package/package.json
CHANGED
package/src/helpers/constants.ts
CHANGED
|
@@ -437,6 +437,7 @@ export const CONTACT_VERIFICATION_PROOF = {
|
|
|
437
437
|
DIGITAL_ATTESTATION: "DIGITAL_ATTESTATION",
|
|
438
438
|
POSTAL_VER_TRANSACTION_LOG: "POSTAL_VER_TRANSACTION_LOG",
|
|
439
439
|
EMAIL_VER_TRANSACTION_LOG: "EMAIL_VER_TRANSACTION_LOG",
|
|
440
|
+
PHONE_VER_TRANSACTION_LOG: "PHONE_VER_TRANSACTION_LOG",
|
|
440
441
|
ADDRESS_DATABASE: "ADDRESS_DATABASE",
|
|
441
442
|
} as const satisfies Record<string, ContactVerificationProof>;
|
|
442
443
|
|
|
@@ -458,6 +459,7 @@ export const CONTACT_VERIFICATION_PROOF_VALUES = [
|
|
|
458
459
|
'DIGITAL_ATTESTATION',
|
|
459
460
|
'POSTAL_VER_TRANSACTION_LOG',
|
|
460
461
|
'EMAIL_VER_TRANSACTION_LOG',
|
|
462
|
+
'PHONE_VER_TRANSACTION_LOG',
|
|
461
463
|
'ADDRESS_DATABASE',
|
|
462
464
|
] as const satisfies ReadonlyArray<ContactVerificationProof>;
|
|
463
465
|
|
package/src/openapi.yaml
CHANGED
|
@@ -1955,6 +1955,7 @@ components:
|
|
|
1955
1955
|
- DIGITAL_ATTESTATION
|
|
1956
1956
|
- POSTAL_VER_TRANSACTION_LOG
|
|
1957
1957
|
- EMAIL_VER_TRANSACTION_LOG
|
|
1958
|
+
- PHONE_VER_TRANSACTION_LOG
|
|
1958
1959
|
- ADDRESS_DATABASE
|
|
1959
1960
|
title: ContactVerificationProof
|
|
1960
1961
|
type: string
|
|
@@ -16384,7 +16385,7 @@ info:
|
|
|
16384
16385
|
\n\n"
|
|
16385
16386
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
16386
16387
|
title: OpusDNS API
|
|
16387
|
-
version: 2026-09-08-
|
|
16388
|
+
version: 2026-09-08-214430
|
|
16388
16389
|
x-logo:
|
|
16389
16390
|
altText: OpusDNS API Reference
|
|
16390
16391
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
|
@@ -34726,29 +34727,30 @@ tags:
|
|
|
34726
34727
|
\ `PROOF_OF_ARRIVAL`, `DRIVERS_LICENCE`, `COMPANY_REGISTER`, `COMPANY_STATEMENT`,\
|
|
34727
34728
|
\ `BANK_ACCOUNT`, `ONLINE_PAYMENT_ACCOUNT`, `UTILITY_ACCOUNT`, `BANK_STATEMENT`,\
|
|
34728
34729
|
\ `TAX_STATEMENT`, `WRITTEN_ATTESTATION`, `DIGITAL_ATTESTATION`, `POSTAL_VER_TRANSACTION_LOG`,\
|
|
34729
|
-
\ `EMAIL_VER_TRANSACTION_LOG`, `
|
|
34730
|
-
\ | string | Caller-supplied reference (e.g. internal
|
|
34731
|
-
\ Up to 255 chars. |\n\n**DENIC-only constraint
|
|
34732
|
-
\ verification pending, all items in a single request
|
|
34733
|
-
\ `proof`, and `attestation_reference`. DENIC's
|
|
34734
|
-
\ block per call; the API enforces this
|
|
34735
|
-
\ see a synchronous 400 instead of a partial-success
|
|
34736
|
-
\ verification accept heterogeneous batches.\n\n
|
|
34737
|
-
\ returns **HTTP 200 OK** with an object containing the
|
|
34738
|
-
\ state from the contact-verification service:\n\n```json\n
|
|
34739
|
-
: [\n {\n \"claim\": \"NAME\",\n \"state\"
|
|
34740
|
-
|
|
34741
|
-
: \"ticket-12345\",\n \"verified_on\": \"
|
|
34742
|
-
expires_on\": null\n }\n ]\n}\n```\n\n| Field
|
|
34743
|
-
|
|
34744
|
-
\
|
|
34745
|
-
\
|
|
34746
|
-
\
|
|
34747
|
-
\
|
|
34748
|
-
\
|
|
34749
|
-
\
|
|
34750
|
-
\
|
|
34751
|
-
\ the
|
|
34730
|
+
\ `EMAIL_VER_TRANSACTION_LOG`, `PHONE_VER_TRANSACTION_LOG`, `ADDRESS_DATABASE`\
|
|
34731
|
+
\ |\n| `attestation_reference` | string | Caller-supplied reference (e.g. internal\
|
|
34732
|
+
\ ticket ID, document hash). Up to 255 chars. |\n\n**DENIC-only constraint:**\
|
|
34733
|
+
\ when the contact has DENIC verification pending, all items in a single request\
|
|
34734
|
+
\ must share the same `method`, `proof`, and `attestation_reference`. DENIC's\
|
|
34735
|
+
\ `contactUPDATE` carries one verification block per call; the API enforces this\
|
|
34736
|
+
\ only when DENIC is in scope so callers see a synchronous 400 instead of a partial-success.\
|
|
34737
|
+
\ Contacts not pending DENIC verification accept heterogeneous batches.\n\n####\
|
|
34738
|
+
\ Response\n\nThe endpoint returns **HTTP 200 OK** with an object containing the\
|
|
34739
|
+
\ per-claim verification state from the contact-verification service:\n\n```json\n\
|
|
34740
|
+
{\n \"verifications\": [\n {\n \"claim\": \"NAME\",\n \"state\"\
|
|
34741
|
+
: \"VERIFIED\",\n \"method\": \"AUTH\",\n \"proof\": \"IDCARD\",\n \
|
|
34742
|
+
\ \"attestation_reference\": \"ticket-12345\",\n \"verified_on\": \"\
|
|
34743
|
+
2026-05-15T12:00:00Z\",\n \"expires_on\": null\n }\n ]\n}\n```\n\n| Field\
|
|
34744
|
+
\ | Type | Notes |\n|-------|------|-------|\n| `claim` | enum | The claim this\
|
|
34745
|
+
\ entry describes. |\n| `state` | enum | `UNVERIFIED`, `VERIFIED`, `IN_PROGRESS`,\
|
|
34746
|
+
\ `EXPIRED`. |\n| `method` | enum or null | The method that produced the current\
|
|
34747
|
+
\ state. |\n| `proof` | enum or null | The proof that produced the current state.\
|
|
34748
|
+
\ |\n| `attestation_reference` | string or null | Reference recorded with the\
|
|
34749
|
+
\ current state. |\n| `verified_on` | RFC3339 datetime or null | When the claim\
|
|
34750
|
+
\ entered the `VERIFIED` state. |\n| `expires_on` | RFC3339 datetime or null |\
|
|
34751
|
+
\ When the current verification expires. |\n\nWhen DENIC verification was pending\
|
|
34752
|
+
\ for the contact, the registry-side `contactUPDATE` is queued behind the scenes\
|
|
34753
|
+
\ and emits a `CONTACT/VERIFICATION/SUCCESS` or `CONTACT/VERIFICATION/FAILURE`\
|
|
34752
34754
|
\ poll-message event keyed on `contact_id`. The `VERIFICATION_REQUIRED` status\
|
|
34753
34755
|
\ tag on the affected domains is cleared on success.\n\n#### Error codes\n\n|\
|
|
34754
34756
|
\ Code | Status | Meaning |\n|------|--------|---------|\n| `ERROR_DOMAIN_VERIFICATION_INCONSISTENT_METHOD_PROOF`\
|
package/src/schema.d.ts
CHANGED
|
@@ -4499,7 +4499,7 @@ export interface components {
|
|
|
4499
4499
|
* ContactVerificationProof
|
|
4500
4500
|
* @enum {string}
|
|
4501
4501
|
*/
|
|
4502
|
-
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";
|
|
4502
|
+
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" | "PHONE_VER_TRANSACTION_LOG" | "ADDRESS_DATABASE";
|
|
4503
4503
|
/** ContactVerificationResponse */
|
|
4504
4504
|
ContactVerificationResponse: {
|
|
4505
4505
|
/**
|