@opusdns/api 1.155.0 → 1.157.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/keys.ts +4 -0
- package/src/helpers/responses.d.ts +3 -3
- package/src/openapi.yaml +135 -25
- package/src/schema.d.ts +115 -16
package/package.json
CHANGED
package/src/helpers/keys.ts
CHANGED
|
@@ -5990,6 +5990,8 @@ export const KEYS_WHITELABEL_BRANDING_RECHECK = [
|
|
|
5990
5990
|
] as const satisfies (keyof WhitelabelBrandingRecheck)[];
|
|
5991
5991
|
|
|
5992
5992
|
export const KEY_WHITELABEL_BRANDING_AUTH_HOSTNAME = 'auth_hostname' satisfies keyof WhitelabelBranding;
|
|
5993
|
+
export const KEY_WHITELABEL_BRANDING_BASE_AUTH_HOSTNAME = 'base_auth_hostname' satisfies keyof WhitelabelBranding;
|
|
5994
|
+
export const KEY_WHITELABEL_BRANDING_BASE_HOSTNAME = 'base_hostname' satisfies keyof WhitelabelBranding;
|
|
5993
5995
|
export const KEY_WHITELABEL_BRANDING_BASE_LABEL = 'base_label' satisfies keyof WhitelabelBranding;
|
|
5994
5996
|
export const KEY_WHITELABEL_BRANDING_CREATED_ON = 'created_on' satisfies keyof WhitelabelBranding;
|
|
5995
5997
|
export const KEY_WHITELABEL_BRANDING_ENABLED = 'enabled' satisfies keyof WhitelabelBranding;
|
|
@@ -6008,6 +6010,8 @@ export const KEY_WHITELABEL_BRANDING_WHITELABEL_BRANDING_ID = 'whitelabel_brandi
|
|
|
6008
6010
|
|
|
6009
6011
|
export const KEYS_WHITELABEL_BRANDING = [
|
|
6010
6012
|
KEY_WHITELABEL_BRANDING_AUTH_HOSTNAME,
|
|
6013
|
+
KEY_WHITELABEL_BRANDING_BASE_AUTH_HOSTNAME,
|
|
6014
|
+
KEY_WHITELABEL_BRANDING_BASE_HOSTNAME,
|
|
6011
6015
|
KEY_WHITELABEL_BRANDING_BASE_LABEL,
|
|
6012
6016
|
KEY_WHITELABEL_BRANDING_CREATED_ON,
|
|
6013
6017
|
KEY_WHITELABEL_BRANDING_ENABLED,
|
|
@@ -913,12 +913,12 @@ export type PATCH_ContactsByContactIdLinkByContactAttributeSetId_Response_422 =
|
|
|
913
913
|
export type PATCH_DnsByZoneNameRecords_Response = PATCH_DnsByZoneNameRecords_Response_400 | PATCH_DnsByZoneNameRecords_Response_422;
|
|
914
914
|
|
|
915
915
|
export type PATCH_DnsByZoneNameRecords_Response_400 = Problem;
|
|
916
|
-
export type PATCH_DnsByZoneNameRecords_Response_422 =
|
|
916
|
+
export type PATCH_DnsByZoneNameRecords_Response_422 = Problem;
|
|
917
917
|
|
|
918
918
|
export type PATCH_DnsByZoneNameRrsets_Response = PATCH_DnsByZoneNameRrsets_Response_400 | PATCH_DnsByZoneNameRrsets_Response_422;
|
|
919
919
|
|
|
920
920
|
export type PATCH_DnsByZoneNameRrsets_Response_400 = Problem;
|
|
921
|
-
export type PATCH_DnsByZoneNameRrsets_Response_422 =
|
|
921
|
+
export type PATCH_DnsByZoneNameRrsets_Response_422 = Problem;
|
|
922
922
|
|
|
923
923
|
export type PATCH_DnsByZoneNameVanitySet_Response = PATCH_DnsByZoneNameVanitySet_Response_200 | PATCH_DnsByZoneNameVanitySet_Response_400 | PATCH_DnsByZoneNameVanitySet_Response_422;
|
|
924
924
|
|
|
@@ -1484,7 +1484,7 @@ export type PUT_ContactsVerification_Response_422 = HTTPValidationError;
|
|
|
1484
1484
|
export type PUT_DnsByZoneNameRrsets_Response = PUT_DnsByZoneNameRrsets_Response_400 | PUT_DnsByZoneNameRrsets_Response_422;
|
|
1485
1485
|
|
|
1486
1486
|
export type PUT_DnsByZoneNameRrsets_Response_400 = Problem;
|
|
1487
|
-
export type PUT_DnsByZoneNameRrsets_Response_422 =
|
|
1487
|
+
export type PUT_DnsByZoneNameRrsets_Response_422 = Problem;
|
|
1488
1488
|
|
|
1489
1489
|
export type PUT_DomainForwardsByHostnameByProtocol_Response = PUT_DomainForwardsByHostnameByProtocol_Response_200 | PUT_DomainForwardsByHostnameByProtocol_Response_401 | PUT_DomainForwardsByHostnameByProtocol_Response_403 | PUT_DomainForwardsByHostnameByProtocol_Response_404 | PUT_DomainForwardsByHostnameByProtocol_Response_422;
|
|
1490
1490
|
|
package/src/openapi.yaml
CHANGED
|
@@ -15239,20 +15239,20 @@ components:
|
|
|
15239
15239
|
title: WhitelabelBaseCreate
|
|
15240
15240
|
type: object
|
|
15241
15241
|
WhitelabelBrandingPatch:
|
|
15242
|
-
description: 'Public patch body. `label` moves the base subdomain to
|
|
15243
|
-
label (
|
|
15242
|
+
description: 'Public patch body. `label` moves the managed base subdomain to
|
|
15243
|
+
a different label (on plus the
|
|
15244
15244
|
|
|
15245
|
-
|
|
15246
|
-
|
|
15245
|
+
custom domain is untouched - it is re-pointed by its hostnames through recheck)
|
|
15246
|
+
and `enabled`
|
|
15247
15247
|
|
|
15248
|
-
serving
|
|
15249
|
-
purchase.
|
|
15248
|
+
starts or stops serving - both applied asynchronously via the reconcile job,
|
|
15249
|
+
neither a purchase.
|
|
15250
15250
|
|
|
15251
|
-
sets the subscription''s auto-renew intent synchronously (EXPIRE
|
|
15252
|
-
at period
|
|
15251
|
+
`renewal_mode` sets the subscription''s auto-renew intent synchronously (EXPIRE
|
|
15252
|
+
= cancel at period
|
|
15253
15253
|
|
|
15254
|
-
un-cancel); it is not a purchase either - no price change. At
|
|
15255
|
-
be given.'
|
|
15254
|
+
end, RENEW = un-cancel); it is not a purchase either - no price change. At
|
|
15255
|
+
least one must be given.'
|
|
15256
15256
|
properties:
|
|
15257
15257
|
enabled:
|
|
15258
15258
|
anyOf:
|
|
@@ -15266,8 +15266,8 @@ components:
|
|
|
15266
15266
|
minLength: 1
|
|
15267
15267
|
type: string
|
|
15268
15268
|
- type: 'null'
|
|
15269
|
-
description: New
|
|
15270
|
-
/ auth.<label>.<suffix>.
|
|
15269
|
+
description: New managed-subdomain label; the base hosts become app.<label>.<suffix>
|
|
15270
|
+
/ auth.<label>.<suffix>. On plus the custom domain keeps serving unchanged.
|
|
15271
15271
|
title: Label
|
|
15272
15272
|
renewal_mode:
|
|
15273
15273
|
anyOf:
|
|
@@ -15336,9 +15336,28 @@ components:
|
|
|
15336
15336
|
minLength: 1
|
|
15337
15337
|
title: Auth Hostname
|
|
15338
15338
|
type: string
|
|
15339
|
+
base_auth_hostname:
|
|
15340
|
+
anyOf:
|
|
15341
|
+
- maxLength: 255
|
|
15342
|
+
minLength: 1
|
|
15343
|
+
type: string
|
|
15344
|
+
- type: 'null'
|
|
15345
|
+
description: Managed base auth host (auth.<base_label>.<suffix>); null until
|
|
15346
|
+
first published
|
|
15347
|
+
title: Base Auth Hostname
|
|
15348
|
+
base_hostname:
|
|
15349
|
+
anyOf:
|
|
15350
|
+
- maxLength: 255
|
|
15351
|
+
minLength: 1
|
|
15352
|
+
type: string
|
|
15353
|
+
- type: 'null'
|
|
15354
|
+
description: Managed base dashboard host (app.<base_label>.<suffix>); on
|
|
15355
|
+
plus a backup address served alongside the custom domain, null until first
|
|
15356
|
+
published
|
|
15357
|
+
title: Base Hostname
|
|
15339
15358
|
base_label:
|
|
15340
|
-
description: Managed-subdomain label;
|
|
15341
|
-
on plus
|
|
15359
|
+
description: Managed-subdomain label; the composed pair is the served pair
|
|
15360
|
+
on base, the backup pair on plus
|
|
15342
15361
|
maxLength: 255
|
|
15343
15362
|
minLength: 1
|
|
15344
15363
|
title: Base Label
|
|
@@ -15498,10 +15517,10 @@ components:
|
|
|
15498
15517
|
type: string
|
|
15499
15518
|
WhitelabelPlusCreate:
|
|
15500
15519
|
additionalProperties: false
|
|
15501
|
-
description: 'Create the plus tier: served on the customer''s own domain
|
|
15502
|
-
|
|
15520
|
+
description: 'Create the plus tier: served on the customer''s own domain, with
|
|
15521
|
+
the managed base subdomain
|
|
15503
15522
|
|
|
15504
|
-
|
|
15523
|
+
composed from `label` served alongside it as a backup address.'
|
|
15505
15524
|
properties:
|
|
15506
15525
|
auth_subdomain:
|
|
15507
15526
|
description: Subdomain the login is served on (e.g. auth -> auth.customer.com)
|
|
@@ -15534,7 +15553,8 @@ components:
|
|
|
15534
15553
|
title: Hostname
|
|
15535
15554
|
type: string
|
|
15536
15555
|
label:
|
|
15537
|
-
description: Managed-subdomain label
|
|
15556
|
+
description: Managed-subdomain label; the composed pair is served alongside
|
|
15557
|
+
the custom domain as a backup
|
|
15538
15558
|
maxLength: 63
|
|
15539
15559
|
minLength: 1
|
|
15540
15560
|
title: Label
|
|
@@ -16176,7 +16196,7 @@ info:
|
|
|
16176
16196
|
\n\n"
|
|
16177
16197
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
16178
16198
|
title: OpusDNS API
|
|
16179
|
-
version: 2026-09-
|
|
16199
|
+
version: 2026-09-07-115957
|
|
16180
16200
|
x-logo:
|
|
16181
16201
|
altText: OpusDNS API Reference
|
|
16182
16202
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
|
@@ -20203,6 +20223,32 @@ paths:
|
|
|
20203
20223
|
status: 422
|
|
20204
20224
|
title: Request validation error.
|
|
20205
20225
|
type: request-validation-failed
|
|
20226
|
+
zone_validation_failed:
|
|
20227
|
+
description: The payload parsed but describes a zone that cannot
|
|
20228
|
+
be served; each entry names the offending element via `loc` and
|
|
20229
|
+
echoes it in `input`
|
|
20230
|
+
summary: Zone rules rejected the rrsets
|
|
20231
|
+
value:
|
|
20232
|
+
code: ERROR_ZONE_VALIDATION_FAILED
|
|
20233
|
+
detail: Zone validation failed
|
|
20234
|
+
errors:
|
|
20235
|
+
- input:
|
|
20236
|
+
name: www.example.com.
|
|
20237
|
+
records:
|
|
20238
|
+
- rdata: example.com.
|
|
20239
|
+
ttl: 3600
|
|
20240
|
+
type: CNAME
|
|
20241
|
+
loc:
|
|
20242
|
+
- body
|
|
20243
|
+
- rrsets
|
|
20244
|
+
- 0
|
|
20245
|
+
msg: 'CNAME record cannot coexist with other record types at
|
|
20246
|
+
''www.example.com.''. Found: CNAME and A'
|
|
20247
|
+
type: cname_conflict
|
|
20248
|
+
status: 422
|
|
20249
|
+
title: DNS Error
|
|
20250
|
+
type: dns-zone-validation
|
|
20251
|
+
zone_name: example.com.
|
|
20206
20252
|
schema:
|
|
20207
20253
|
$ref: '#/components/schemas/HTTPValidationError'
|
|
20208
20254
|
description: Invalid request parameters
|
|
@@ -21034,9 +21080,30 @@ paths:
|
|
|
21034
21080
|
'422':
|
|
21035
21081
|
content:
|
|
21036
21082
|
application/problem+json:
|
|
21083
|
+
example:
|
|
21084
|
+
code: ERROR_ZONE_VALIDATION_FAILED
|
|
21085
|
+
detail: Zone validation failed
|
|
21086
|
+
errors:
|
|
21087
|
+
- input:
|
|
21088
|
+
op: upsert
|
|
21089
|
+
record:
|
|
21090
|
+
name: www.example.com.
|
|
21091
|
+
rdata: target.invalid-tld.
|
|
21092
|
+
ttl: 3600
|
|
21093
|
+
type: CNAME
|
|
21094
|
+
loc:
|
|
21095
|
+
- body
|
|
21096
|
+
- ops
|
|
21097
|
+
- 0
|
|
21098
|
+
msg: Unrecognized TLD
|
|
21099
|
+
type: invalid_rdata
|
|
21100
|
+
status: 422
|
|
21101
|
+
title: DNS Error
|
|
21102
|
+
type: dns-zone-validation
|
|
21103
|
+
zone_name: example.com.
|
|
21037
21104
|
schema:
|
|
21038
|
-
$ref: '#/components/schemas/
|
|
21039
|
-
description:
|
|
21105
|
+
$ref: '#/components/schemas/Problem'
|
|
21106
|
+
description: Unprocessable Content
|
|
21040
21107
|
security:
|
|
21041
21108
|
- OAuth2PasswordBearer: []
|
|
21042
21109
|
- APIKeyHeader: []
|
|
@@ -21198,9 +21265,31 @@ paths:
|
|
|
21198
21265
|
'422':
|
|
21199
21266
|
content:
|
|
21200
21267
|
application/problem+json:
|
|
21268
|
+
example:
|
|
21269
|
+
code: ERROR_ZONE_VALIDATION_FAILED
|
|
21270
|
+
detail: Zone validation failed
|
|
21271
|
+
errors:
|
|
21272
|
+
- input:
|
|
21273
|
+
op: upsert
|
|
21274
|
+
rrset:
|
|
21275
|
+
name: www.example.com.
|
|
21276
|
+
records:
|
|
21277
|
+
- rdata: target.invalid-tld.
|
|
21278
|
+
ttl: 3600
|
|
21279
|
+
type: CNAME
|
|
21280
|
+
loc:
|
|
21281
|
+
- body
|
|
21282
|
+
- ops
|
|
21283
|
+
- 0
|
|
21284
|
+
msg: Unrecognized TLD
|
|
21285
|
+
type: invalid_rdata
|
|
21286
|
+
status: 422
|
|
21287
|
+
title: DNS Error
|
|
21288
|
+
type: dns-zone-validation
|
|
21289
|
+
zone_name: example.com.
|
|
21201
21290
|
schema:
|
|
21202
|
-
$ref: '#/components/schemas/
|
|
21203
|
-
description:
|
|
21291
|
+
$ref: '#/components/schemas/Problem'
|
|
21292
|
+
description: Unprocessable Content
|
|
21204
21293
|
security:
|
|
21205
21294
|
- OAuth2PasswordBearer: []
|
|
21206
21295
|
- APIKeyHeader: []
|
|
@@ -21333,9 +21422,30 @@ paths:
|
|
|
21333
21422
|
'422':
|
|
21334
21423
|
content:
|
|
21335
21424
|
application/problem+json:
|
|
21425
|
+
example:
|
|
21426
|
+
code: ERROR_ZONE_VALIDATION_FAILED
|
|
21427
|
+
detail: Zone validation failed
|
|
21428
|
+
errors:
|
|
21429
|
+
- input:
|
|
21430
|
+
name: www.example.com.
|
|
21431
|
+
records:
|
|
21432
|
+
- rdata: example.com.
|
|
21433
|
+
ttl: 3600
|
|
21434
|
+
type: CNAME
|
|
21435
|
+
loc:
|
|
21436
|
+
- body
|
|
21437
|
+
- rrsets
|
|
21438
|
+
- 0
|
|
21439
|
+
msg: 'CNAME record cannot coexist with other record types at ''www.example.com.''.
|
|
21440
|
+
Found: CNAME and A'
|
|
21441
|
+
type: cname_conflict
|
|
21442
|
+
status: 422
|
|
21443
|
+
title: DNS Error
|
|
21444
|
+
type: dns-zone-validation
|
|
21445
|
+
zone_name: example.com.
|
|
21336
21446
|
schema:
|
|
21337
|
-
$ref: '#/components/schemas/
|
|
21338
|
-
description:
|
|
21447
|
+
$ref: '#/components/schemas/Problem'
|
|
21448
|
+
description: Unprocessable Content
|
|
21339
21449
|
security:
|
|
21340
21450
|
- OAuth2PasswordBearer: []
|
|
21341
21451
|
- APIKeyHeader: []
|
package/src/schema.d.ts
CHANGED
|
@@ -13224,11 +13224,11 @@ export interface components {
|
|
|
13224
13224
|
};
|
|
13225
13225
|
/**
|
|
13226
13226
|
* WhitelabelBrandingPatch
|
|
13227
|
-
* @description Public patch body. `label` moves the base subdomain to a different label (
|
|
13228
|
-
*
|
|
13229
|
-
* serving
|
|
13230
|
-
* sets the subscription's auto-renew intent synchronously (EXPIRE = cancel at period
|
|
13231
|
-
* un-cancel); it is not a purchase either - no price change. At least one must be given.
|
|
13227
|
+
* @description Public patch body. `label` moves the managed base subdomain to a different label (on plus the
|
|
13228
|
+
* custom domain is untouched - it is re-pointed by its hostnames through recheck) and `enabled`
|
|
13229
|
+
* starts or stops serving - both applied asynchronously via the reconcile job, neither a purchase.
|
|
13230
|
+
* `renewal_mode` sets the subscription's auto-renew intent synchronously (EXPIRE = cancel at period
|
|
13231
|
+
* end, RENEW = un-cancel); it is not a purchase either - no price change. At least one must be given.
|
|
13232
13232
|
*/
|
|
13233
13233
|
WhitelabelBrandingPatch: {
|
|
13234
13234
|
/**
|
|
@@ -13238,7 +13238,7 @@ export interface components {
|
|
|
13238
13238
|
enabled?: boolean | null;
|
|
13239
13239
|
/**
|
|
13240
13240
|
* Label
|
|
13241
|
-
* @description New
|
|
13241
|
+
* @description New managed-subdomain label; the base hosts become app.<label>.<suffix> / auth.<label>.<suffix>. On plus the custom domain keeps serving unchanged.
|
|
13242
13242
|
*/
|
|
13243
13243
|
label?: string | null;
|
|
13244
13244
|
/** @description Set auto-renew intent: expire cancels at period end (serves out the term), renew un-cancels */
|
|
@@ -13283,9 +13283,19 @@ export interface components {
|
|
|
13283
13283
|
* @description Auth/login hostname served by the authentication system (e.g. auth.customer.com)
|
|
13284
13284
|
*/
|
|
13285
13285
|
auth_hostname: string;
|
|
13286
|
+
/**
|
|
13287
|
+
* Base Auth Hostname
|
|
13288
|
+
* @description Managed base auth host (auth.<base_label>.<suffix>); null until first published
|
|
13289
|
+
*/
|
|
13290
|
+
base_auth_hostname?: string | null;
|
|
13291
|
+
/**
|
|
13292
|
+
* Base Hostname
|
|
13293
|
+
* @description Managed base dashboard host (app.<base_label>.<suffix>); on plus a backup address served alongside the custom domain, null until first published
|
|
13294
|
+
*/
|
|
13295
|
+
base_hostname?: string | null;
|
|
13286
13296
|
/**
|
|
13287
13297
|
* Base Label
|
|
13288
|
-
* @description Managed-subdomain label; served on the
|
|
13298
|
+
* @description Managed-subdomain label; the composed pair is the served pair on base, the backup pair on plus
|
|
13289
13299
|
*/
|
|
13290
13300
|
base_label: string;
|
|
13291
13301
|
/**
|
|
@@ -13377,8 +13387,8 @@ export interface components {
|
|
|
13377
13387
|
WhitelabelOnboardingStatus: "pending_domain_verification" | "verifying" | "provisioning" | "active" | "failed" | "terminated";
|
|
13378
13388
|
/**
|
|
13379
13389
|
* WhitelabelPlusCreate
|
|
13380
|
-
* @description Create the plus tier: served on the customer's own domain
|
|
13381
|
-
*
|
|
13390
|
+
* @description Create the plus tier: served on the customer's own domain, with the managed base subdomain
|
|
13391
|
+
* composed from `label` served alongside it as a backup address.
|
|
13382
13392
|
*/
|
|
13383
13393
|
WhitelabelPlusCreate: {
|
|
13384
13394
|
/**
|
|
@@ -13404,7 +13414,7 @@ export interface components {
|
|
|
13404
13414
|
hostname: string;
|
|
13405
13415
|
/**
|
|
13406
13416
|
* Label
|
|
13407
|
-
* @description Managed-subdomain label
|
|
13417
|
+
* @description Managed-subdomain label; the composed pair is served alongside the custom domain as a backup
|
|
13408
13418
|
*/
|
|
13409
13419
|
label: string;
|
|
13410
13420
|
/** @description Billing period; offered: 1 month or 1 year */
|
|
@@ -17690,13 +17700,41 @@ export interface operations {
|
|
|
17690
17700
|
"application/problem+json": components["schemas"]["Problem"];
|
|
17691
17701
|
};
|
|
17692
17702
|
};
|
|
17693
|
-
/** @description
|
|
17703
|
+
/** @description Unprocessable Content */
|
|
17694
17704
|
422: {
|
|
17695
17705
|
headers: {
|
|
17696
17706
|
[name: string]: unknown;
|
|
17697
17707
|
};
|
|
17698
17708
|
content: {
|
|
17699
|
-
|
|
17709
|
+
/** @example {
|
|
17710
|
+
* "code": "ERROR_ZONE_VALIDATION_FAILED",
|
|
17711
|
+
* "detail": "Zone validation failed",
|
|
17712
|
+
* "errors": [
|
|
17713
|
+
* {
|
|
17714
|
+
* "input": {
|
|
17715
|
+
* "op": "upsert",
|
|
17716
|
+
* "record": {
|
|
17717
|
+
* "name": "www.example.com.",
|
|
17718
|
+
* "rdata": "target.invalid-tld.",
|
|
17719
|
+
* "ttl": 3600,
|
|
17720
|
+
* "type": "CNAME"
|
|
17721
|
+
* }
|
|
17722
|
+
* },
|
|
17723
|
+
* "loc": [
|
|
17724
|
+
* "body",
|
|
17725
|
+
* "ops",
|
|
17726
|
+
* 0
|
|
17727
|
+
* ],
|
|
17728
|
+
* "msg": "Unrecognized TLD",
|
|
17729
|
+
* "type": "invalid_rdata"
|
|
17730
|
+
* }
|
|
17731
|
+
* ],
|
|
17732
|
+
* "status": 422,
|
|
17733
|
+
* "title": "DNS Error",
|
|
17734
|
+
* "type": "dns-zone-validation",
|
|
17735
|
+
* "zone_name": "example.com."
|
|
17736
|
+
* } */
|
|
17737
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
17700
17738
|
};
|
|
17701
17739
|
};
|
|
17702
17740
|
};
|
|
@@ -17746,13 +17784,42 @@ export interface operations {
|
|
|
17746
17784
|
"application/problem+json": components["schemas"]["Problem"];
|
|
17747
17785
|
};
|
|
17748
17786
|
};
|
|
17749
|
-
/** @description
|
|
17787
|
+
/** @description Unprocessable Content */
|
|
17750
17788
|
422: {
|
|
17751
17789
|
headers: {
|
|
17752
17790
|
[name: string]: unknown;
|
|
17753
17791
|
};
|
|
17754
17792
|
content: {
|
|
17755
|
-
|
|
17793
|
+
/** @example {
|
|
17794
|
+
* "code": "ERROR_ZONE_VALIDATION_FAILED",
|
|
17795
|
+
* "detail": "Zone validation failed",
|
|
17796
|
+
* "errors": [
|
|
17797
|
+
* {
|
|
17798
|
+
* "input": {
|
|
17799
|
+
* "name": "www.example.com.",
|
|
17800
|
+
* "records": [
|
|
17801
|
+
* {
|
|
17802
|
+
* "rdata": "example.com."
|
|
17803
|
+
* }
|
|
17804
|
+
* ],
|
|
17805
|
+
* "ttl": 3600,
|
|
17806
|
+
* "type": "CNAME"
|
|
17807
|
+
* },
|
|
17808
|
+
* "loc": [
|
|
17809
|
+
* "body",
|
|
17810
|
+
* "rrsets",
|
|
17811
|
+
* 0
|
|
17812
|
+
* ],
|
|
17813
|
+
* "msg": "CNAME record cannot coexist with other record types at 'www.example.com.'. Found: CNAME and A",
|
|
17814
|
+
* "type": "cname_conflict"
|
|
17815
|
+
* }
|
|
17816
|
+
* ],
|
|
17817
|
+
* "status": 422,
|
|
17818
|
+
* "title": "DNS Error",
|
|
17819
|
+
* "type": "dns-zone-validation",
|
|
17820
|
+
* "zone_name": "example.com."
|
|
17821
|
+
* } */
|
|
17822
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
17756
17823
|
};
|
|
17757
17824
|
};
|
|
17758
17825
|
};
|
|
@@ -17802,13 +17869,45 @@ export interface operations {
|
|
|
17802
17869
|
"application/problem+json": components["schemas"]["Problem"];
|
|
17803
17870
|
};
|
|
17804
17871
|
};
|
|
17805
|
-
/** @description
|
|
17872
|
+
/** @description Unprocessable Content */
|
|
17806
17873
|
422: {
|
|
17807
17874
|
headers: {
|
|
17808
17875
|
[name: string]: unknown;
|
|
17809
17876
|
};
|
|
17810
17877
|
content: {
|
|
17811
|
-
|
|
17878
|
+
/** @example {
|
|
17879
|
+
* "code": "ERROR_ZONE_VALIDATION_FAILED",
|
|
17880
|
+
* "detail": "Zone validation failed",
|
|
17881
|
+
* "errors": [
|
|
17882
|
+
* {
|
|
17883
|
+
* "input": {
|
|
17884
|
+
* "op": "upsert",
|
|
17885
|
+
* "rrset": {
|
|
17886
|
+
* "name": "www.example.com.",
|
|
17887
|
+
* "records": [
|
|
17888
|
+
* {
|
|
17889
|
+
* "rdata": "target.invalid-tld."
|
|
17890
|
+
* }
|
|
17891
|
+
* ],
|
|
17892
|
+
* "ttl": 3600,
|
|
17893
|
+
* "type": "CNAME"
|
|
17894
|
+
* }
|
|
17895
|
+
* },
|
|
17896
|
+
* "loc": [
|
|
17897
|
+
* "body",
|
|
17898
|
+
* "ops",
|
|
17899
|
+
* 0
|
|
17900
|
+
* ],
|
|
17901
|
+
* "msg": "Unrecognized TLD",
|
|
17902
|
+
* "type": "invalid_rdata"
|
|
17903
|
+
* }
|
|
17904
|
+
* ],
|
|
17905
|
+
* "status": 422,
|
|
17906
|
+
* "title": "DNS Error",
|
|
17907
|
+
* "type": "dns-zone-validation",
|
|
17908
|
+
* "zone_name": "example.com."
|
|
17909
|
+
* } */
|
|
17910
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
17812
17911
|
};
|
|
17813
17912
|
};
|
|
17814
17913
|
};
|