@opusdns/api 1.95.0 → 1.97.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 CHANGED
@@ -3,7 +3,7 @@
3
3
  "@opusdns/api-spec-ts-generator": "^1.2.0"
4
4
  },
5
5
  "name": "@opusdns/api",
6
- "version": "1.95.0",
6
+ "version": "1.97.0",
7
7
  "description": "TypeScript types for the OpusDNS OpenAPI specification",
8
8
  "main": "./src/index.ts",
9
9
  "module": "./src/index.ts",
@@ -1429,6 +1429,7 @@ export const PROTOCOL_VALUES = [
1429
1429
  export const PUBLIC_RESOURCE = {
1430
1430
  ORGANIZATION: "organization",
1431
1431
  DOMAINS: "domains",
1432
+ DOMAIN_AUTH_CODES: "domain_auth_codes",
1432
1433
  CONTACTS: "contacts",
1433
1434
  DNS: "dns",
1434
1435
  HOSTS: "hosts",
@@ -1451,6 +1452,7 @@ export const PUBLIC_RESOURCE = {
1451
1452
  export const PUBLIC_RESOURCE_VALUES = [
1452
1453
  'organization',
1453
1454
  'domains',
1455
+ 'domain_auth_codes',
1454
1456
  'contacts',
1455
1457
  'dns',
1456
1458
  'hosts',
package/src/openapi.yaml CHANGED
@@ -11810,6 +11810,7 @@ components:
11810
11810
  enum:
11811
11811
  - organization
11812
11812
  - domains
11813
+ - domain_auth_codes
11813
11814
  - contacts
11814
11815
  - dns
11815
11816
  - hosts
@@ -14989,7 +14990,7 @@ info:
14989
14990
  \n\n"
14990
14991
  summary: OpusDNS - your gateway to a seamless domain management experience.
14991
14992
  title: OpusDNS API
14992
- version: 2026-08-03-232757
14993
+ version: 2026-08-04-122306
14993
14994
  x-logo:
14994
14995
  altText: OpusDNS API Reference
14995
14996
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
@@ -32142,21 +32143,28 @@ tags:
32142
32143
  \ in the zone |\n| `PATCH /v1/dns/{zone_name}/rrsets` | RRset-level | Upserts\
32143
32144
  \ or removes entire rrsets by `(name, type)` |\n| `PATCH /v1/dns/{zone_name}/records`\
32144
32145
  \ | Record-level | Upserts or removes individual rdata values inside an rrset\
32145
- \ |\n\n### `PUT /v1/dns/{zone_name}/rrsets` \u2014 Replace all rrsets\n\nSupply\
32146
- \ the complete set of rrsets the zone should contain. Any existing user-managed\
32147
- \ rrset **not** in the request is removed. System-managed record types (SOA, DNSKEY,\
32148
- \ DS) are managed by OpusDNS and cannot be set or removed via this endpoint.\n\
32149
- \nUse this when you have authoritative, end-state data for a zone and want to\
32150
- \ reset it to that state.\n\n### `PATCH /v1/dns/{zone_name}/rrsets` \u2014 Upsert\
32151
- \ or remove whole rrsets\n\nSubmit an `ops[]` array where each op targets an rrset\
32152
- \ by `(name, type)`:\n\n- `op: \"upsert\"` \u2014 create or **replace** the rrset\
32153
- \ at `(name, type)` with the records you provide. Any records that previously\
32154
- \ existed at that `(name, type)` are discarded.\n- `op: \"remove\"` \u2014 delete\
32155
- \ the entire rrset at `(name, type)` (pass `records: []`).\n\n```json\n{\n \"\
32156
- ops\": [\n {\n \"op\": \"upsert\",\n \"rrset\": {\n \"name\"\
32157
- : \"www\",\n \"type\": \"A\",\n \"ttl\": 300,\n \"records\"\
32158
- : [\n {\"rdata\": \"203.0.113.10\"},\n {\"rdata\": \"203.0.113.11\"\
32159
- }\n ]\n }\n },\n {\n \"op\": \"remove\",\n \"rrset\"\
32146
+ \ |\n\nAll three endpoints refuse writes targeting rrsets you cannot manage. SOA,\
32147
+ \ DNSKEY, DS, and the NS rrset at the zone apex are system-managed by OpusDNS:\
32148
+ \ a payload rrset or patch op targeting one \u2014 upsert **or** remove \u2014\
32149
+ \ is rejected with a `409` protected-rrset error (these rrsets are reported with\
32150
+ \ `\"protected\": true` in zone responses). NS records below the apex (sub-zone\
32151
+ \ delegation) are not supported and are rejected with a `400` validation error.\
32152
+ \ To change the nameservers a domain delegates to, update the nameservers on the\
32153
+ \ domain instead.\n\n### `PUT /v1/dns/{zone_name}/rrsets` \u2014 Replace all rrsets\n\
32154
+ \nSupply the complete set of rrsets the zone should contain. Any existing user-managed\
32155
+ \ rrset **not** in the request is removed. System-managed rrsets cannot be set\
32156
+ \ or removed via this endpoint; omit them from the payload.\n\nUse this when you\
32157
+ \ have authoritative, end-state data for a zone and want to reset it to that state.\n\
32158
+ \n### `PATCH /v1/dns/{zone_name}/rrsets` \u2014 Upsert or remove whole rrsets\n\
32159
+ \nSubmit an `ops[]` array where each op targets an rrset by `(name, type)`:\n\n\
32160
+ - `op: \"upsert\"` \u2014 create or **replace** the rrset at `(name, type)` with\
32161
+ \ the records you provide. Any records that previously existed at that `(name,\
32162
+ \ type)` are discarded.\n- `op: \"remove\"` \u2014 delete the entire rrset at\
32163
+ \ `(name, type)` (pass `records: []`).\n\n```json\n{\n \"ops\": [\n {\n \
32164
+ \ \"op\": \"upsert\",\n \"rrset\": {\n \"name\": \"www\",\n \
32165
+ \ \"type\": \"A\",\n \"ttl\": 300,\n \"records\": [\n \
32166
+ \ {\"rdata\": \"203.0.113.10\"},\n {\"rdata\": \"203.0.113.11\"}\n\
32167
+ \ ]\n }\n },\n {\n \"op\": \"remove\",\n \"rrset\"\
32160
32168
  : {\"name\": \"old\", \"type\": \"CNAME\", \"ttl\": 300, \"records\": []}\n \
32161
32169
  \ }\n ]\n}\n```\n\nUse this when you want to define the complete set of records\
32162
32170
  \ for a given `(name, type)` \u2014 e.g., \"`www` should have exactly these two\
package/src/schema.d.ts CHANGED
@@ -10679,7 +10679,7 @@ export interface components {
10679
10679
  * PublicResource
10680
10680
  * @enum {string}
10681
10681
  */
10682
- PublicResource: "organization" | "domains" | "contacts" | "dns" | "hosts" | "email_forwards" | "domain_forwards" | "parking" | "events" | "jobs" | "billing" | "users" | "api_keys" | "registrar_credentials" | "tags" | "audit_logs" | "vanity_ns" | "whitelabel_branding" | "ai_concierge";
10682
+ PublicResource: "organization" | "domains" | "domain_auth_codes" | "contacts" | "dns" | "hosts" | "email_forwards" | "domain_forwards" | "parking" | "events" | "jobs" | "billing" | "users" | "api_keys" | "registrar_credentials" | "tags" | "audit_logs" | "vanity_ns" | "whitelabel_branding" | "ai_concierge";
10683
10683
  /**
10684
10684
  * PublicRole
10685
10685
  * @enum {string}