@opusdns/api 1.128.0 → 1.130.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.5.0"
4
4
  },
5
5
  "name": "@opusdns/api",
6
- "version": "1.128.0",
6
+ "version": "1.130.0",
7
7
  "description": "TypeScript types for the OpusDNS OpenAPI specification",
8
8
  "main": "./src/index.ts",
9
9
  "module": "./src/index.ts",
@@ -88,6 +88,7 @@ import type {
88
88
  RedirectCode,
89
89
  RegistrantChangeType,
90
90
  RegistryHandleAttributeType,
91
+ RegistryServiceBackend,
91
92
  RenewalMode,
92
93
  RenewalModeDTO,
93
94
  ReportStatus,
@@ -1705,6 +1706,132 @@ export const REGISTRY_HANDLE_ATTRIBUTE_TYPE_VALUES = [
1705
1706
  'INTERNET_EE_IDENT_VALUE',
1706
1707
  ] as const satisfies ReadonlyArray<RegistryHandleAttributeType>;
1707
1708
 
1709
+ export const REGISTRY_SERVICE_BACKEND = {
1710
+ AFNIC: "afnic",
1711
+ CENTRALNIC: "centralnic",
1712
+ CIRA: "cira",
1713
+ SWITCH: "switch",
1714
+ NICAT: "nicat",
1715
+ VERISIGN: "verisign",
1716
+ PIR: "pir",
1717
+ GMO: "gmo",
1718
+ GOOGLE: "google",
1719
+ DENIC: "denic",
1720
+ IDENTITY_DIGITAL: "identity_digital",
1721
+ GODADDY: "godaddy",
1722
+ DNS_BELGIUM: "dns_belgium",
1723
+ EURID: "eurid",
1724
+ ROTLD: "rotld",
1725
+ NOMINET_UK: "nominet_uk",
1726
+ RADIX: "radix",
1727
+ SIDN: "sidn",
1728
+ SIDN_HELLO: "sidn_hello",
1729
+ TUCOWS: "tucows",
1730
+ DOT_UA: "dot_ua",
1731
+ NIC_IT: "nic_it",
1732
+ DNS_LU: "dns_lu",
1733
+ RESTENA_LU: "restena_lu",
1734
+ CZ_NIC: "cz_nic",
1735
+ RAS_MANUAL: "ras_manual",
1736
+ RAS_EXTERNAL: "ras_external",
1737
+ REGISTER_SI: "register_si",
1738
+ SK_NIC: "sk_nic",
1739
+ DOT_BLOG: "dot_blog",
1740
+ NIC_LV: "nic_lv",
1741
+ DOMREG_LT: "domreg_lt",
1742
+ NOR_ID: "nor_id",
1743
+ WEBSITE_WS: "website_ws",
1744
+ DNS_PT: "dns_pt",
1745
+ PUNKTUM_DK: "punktum_dk",
1746
+ NIC_MEXICO: "nic_mexico",
1747
+ INTERNET_EE: "internet_ee",
1748
+ CHANNEL_ISLES: "channel_isles",
1749
+ REGISTRY_SE: "registry_se",
1750
+ NASK: "nask",
1751
+ DNS_BELGIUM_GTLD: "dns_belgium_gtld",
1752
+ NOMINET_DRAGON: "nominet_dragon",
1753
+ RED_ES: "red_es",
1754
+ INTERNET_NZ: "internet_nz",
1755
+ ZACR: "zacr",
1756
+ TRAFICOM: "traficom",
1757
+ IE_REGISTRY: "ie_registry",
1758
+ NIC_IM: "nic_im",
1759
+ CN_NIC: "cn_nic",
1760
+ FORTH: "forth",
1761
+ DNS_HR: "dns_hr",
1762
+ NIXI: "nixi",
1763
+ IS_NIC: "is_nic",
1764
+ SG_NIC: "sg_nic",
1765
+ KE_NIC: "ke_nic",
1766
+ TLD_BOX: "tld_box",
1767
+ RYCE: "ryce",
1768
+ COCCA: "cocca",
1769
+ AMAZON: "amazon",
1770
+ } as const satisfies Record<string, RegistryServiceBackend>;
1771
+
1772
+ export const REGISTRY_SERVICE_BACKEND_VALUES = [
1773
+ 'afnic',
1774
+ 'centralnic',
1775
+ 'cira',
1776
+ 'switch',
1777
+ 'nicat',
1778
+ 'verisign',
1779
+ 'pir',
1780
+ 'gmo',
1781
+ 'google',
1782
+ 'denic',
1783
+ 'identity_digital',
1784
+ 'godaddy',
1785
+ 'dns_belgium',
1786
+ 'eurid',
1787
+ 'rotld',
1788
+ 'nominet_uk',
1789
+ 'radix',
1790
+ 'sidn',
1791
+ 'sidn_hello',
1792
+ 'tucows',
1793
+ 'dot_ua',
1794
+ 'nic_it',
1795
+ 'dns_lu',
1796
+ 'restena_lu',
1797
+ 'cz_nic',
1798
+ 'ras_manual',
1799
+ 'ras_external',
1800
+ 'register_si',
1801
+ 'sk_nic',
1802
+ 'dot_blog',
1803
+ 'nic_lv',
1804
+ 'domreg_lt',
1805
+ 'nor_id',
1806
+ 'website_ws',
1807
+ 'dns_pt',
1808
+ 'punktum_dk',
1809
+ 'nic_mexico',
1810
+ 'internet_ee',
1811
+ 'channel_isles',
1812
+ 'registry_se',
1813
+ 'nask',
1814
+ 'dns_belgium_gtld',
1815
+ 'nominet_dragon',
1816
+ 'red_es',
1817
+ 'internet_nz',
1818
+ 'zacr',
1819
+ 'traficom',
1820
+ 'ie_registry',
1821
+ 'nic_im',
1822
+ 'cn_nic',
1823
+ 'forth',
1824
+ 'dns_hr',
1825
+ 'nixi',
1826
+ 'is_nic',
1827
+ 'sg_nic',
1828
+ 'ke_nic',
1829
+ 'tld_box',
1830
+ 'ryce',
1831
+ 'cocca',
1832
+ 'amazon',
1833
+ ] as const satisfies ReadonlyArray<RegistryServiceBackend>;
1834
+
1708
1835
  export const RENEWAL_MODE = {
1709
1836
  RENEW: "renew",
1710
1837
  EXPIRE: "expire",
@@ -1051,6 +1051,7 @@ export type GET_Tlds_Request_Query = GET_Tlds_Request['parameters']['query'];
1051
1051
  export type GET_TldsByTld_Request = {
1052
1052
  parameters: operations['get_tld_spec_v1_tlds__tld__get']['parameters'];
1053
1053
  };
1054
+ export type GET_TldsByTld_Request_Query = GET_TldsByTld_Request['parameters']['query'];
1054
1055
  export type GET_TldsByTld_Request_Path = GET_TldsByTld_Request['parameters']['path'];
1055
1056
 
1056
1057
  export type GET_TldsPortfolio_Request = {
@@ -968,7 +968,7 @@ export type PATCH_OrganizationsAttributes_Response = PATCH_OrganizationsAttribut
968
968
  export type PATCH_OrganizationsAttributes_Response_200 = OrganizationAttribute2[];
969
969
  export type PATCH_OrganizationsAttributes_Response_401 = Problem;
970
970
  export type PATCH_OrganizationsAttributes_Response_403 = Problem;
971
- export type PATCH_OrganizationsAttributes_Response_422 = HTTPValidationError;
971
+ export type PATCH_OrganizationsAttributes_Response_422 = Problem;
972
972
 
973
973
  export type PATCH_OrganizationsByOrganizationId_Response = PATCH_OrganizationsByOrganizationId_Response_200 | PATCH_OrganizationsByOrganizationId_Response_401 | PATCH_OrganizationsByOrganizationId_Response_403 | PATCH_OrganizationsByOrganizationId_Response_422;
974
974
 
@@ -982,7 +982,7 @@ export type PATCH_OrganizationsByOrganizationIdAttributes_Response = PATCH_Organ
982
982
  export type PATCH_OrganizationsByOrganizationIdAttributes_Response_200 = OrganizationAttribute2[];
983
983
  export type PATCH_OrganizationsByOrganizationIdAttributes_Response_401 = Problem;
984
984
  export type PATCH_OrganizationsByOrganizationIdAttributes_Response_403 = Problem;
985
- export type PATCH_OrganizationsByOrganizationIdAttributes_Response_422 = HTTPValidationError;
985
+ export type PATCH_OrganizationsByOrganizationIdAttributes_Response_422 = Problem;
986
986
 
987
987
  export type PATCH_OrganizationsIpRestrictionsByIpRestrictionId_Response = PATCH_OrganizationsIpRestrictionsByIpRestrictionId_Response_200 | PATCH_OrganizationsIpRestrictionsByIpRestrictionId_Response_401 | PATCH_OrganizationsIpRestrictionsByIpRestrictionId_Response_403 | PATCH_OrganizationsIpRestrictionsByIpRestrictionId_Response_422;
988
988
 
@@ -490,6 +490,7 @@ export type RegistrarRecord = components['schemas']['RegistrarRecord'];
490
490
  export type RegistrarZone = components['schemas']['RegistrarZone'];
491
491
  export type RegistryHandleAttributeType = components['schemas']['RegistryHandleAttributeType'];
492
492
  export type RegistryLockBase = components['schemas']['RegistryLockBase'];
493
+ export type RegistryServiceBackend = components['schemas']['RegistryServiceBackend'];
493
494
  export type RenewalMode = components['schemas']['RenewalMode'];
494
495
  export type RenewalModeDTO = components['schemas']['RenewalModeDTO'];
495
496
  export type ReportStatus = components['schemas']['ReportStatus'];
package/src/openapi.yaml CHANGED
@@ -12522,6 +12522,70 @@ components:
12522
12522
  - supported
12523
12523
  title: RegistryLockBase
12524
12524
  type: object
12525
+ RegistryServiceBackend:
12526
+ enum:
12527
+ - afnic
12528
+ - centralnic
12529
+ - cira
12530
+ - switch
12531
+ - nicat
12532
+ - verisign
12533
+ - pir
12534
+ - gmo
12535
+ - google
12536
+ - denic
12537
+ - identity_digital
12538
+ - godaddy
12539
+ - dns_belgium
12540
+ - eurid
12541
+ - rotld
12542
+ - nominet_uk
12543
+ - radix
12544
+ - sidn
12545
+ - sidn_hello
12546
+ - tucows
12547
+ - dot_ua
12548
+ - nic_it
12549
+ - dns_lu
12550
+ - restena_lu
12551
+ - cz_nic
12552
+ - ras_manual
12553
+ - ras_external
12554
+ - register_si
12555
+ - sk_nic
12556
+ - dot_blog
12557
+ - nic_lv
12558
+ - domreg_lt
12559
+ - nor_id
12560
+ - website_ws
12561
+ - dns_pt
12562
+ - punktum_dk
12563
+ - nic_mexico
12564
+ - internet_ee
12565
+ - channel_isles
12566
+ - registry_se
12567
+ - nask
12568
+ - dns_belgium_gtld
12569
+ - nominet_dragon
12570
+ - red_es
12571
+ - internet_nz
12572
+ - zacr
12573
+ - traficom
12574
+ - ie_registry
12575
+ - nic_im
12576
+ - cn_nic
12577
+ - forth
12578
+ - dns_hr
12579
+ - nixi
12580
+ - is_nic
12581
+ - sg_nic
12582
+ - ke_nic
12583
+ - tld_box
12584
+ - ryce
12585
+ - cocca
12586
+ - amazon
12587
+ title: RegistryServiceBackend
12588
+ type: string
12525
12589
  RenewalMode:
12526
12590
  enum:
12527
12591
  - renew
@@ -15635,7 +15699,7 @@ info:
15635
15699
  \n\n"
15636
15700
  summary: OpusDNS - your gateway to a seamless domain management experience.
15637
15701
  title: OpusDNS API
15638
- version: 2026-08-22-161524
15702
+ version: 2026-08-24-112237
15639
15703
  x-logo:
15640
15704
  altText: OpusDNS API Reference
15641
15705
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
@@ -26017,15 +26081,32 @@ paths:
26017
26081
  '409':
26018
26082
  content:
26019
26083
  application/problem+json:
26020
- example:
26021
- code: ERROR_EMAIL_FORWARD_ALREADY_EXISTS
26022
- detail: 'Email forward already exists for hostname: mail.example.com'
26023
- status: 409
26024
- title: Email Forward Error
26025
- type: email-forward-already-exists
26084
+ examples:
26085
+ email_forward_already_exists:
26086
+ summary: A forward already exists for the hostname
26087
+ value:
26088
+ code: ERROR_EMAIL_FORWARD_ALREADY_EXISTS
26089
+ detail: 'Email forward already exists for hostname: mail.example.com'
26090
+ status: 409
26091
+ title: Email Forward Error
26092
+ type: email-forward-already-exists
26093
+ email_forward_limit_exceeded:
26094
+ description: The limit defaults to a per-environment value and can
26095
+ be raised or lowered per organization by support.
26096
+ summary: The organization is at its email forward limit
26097
+ value:
26098
+ code: ERROR_EMAIL_FORWARD_LIMIT_EXCEEDED
26099
+ detail: Email forward limit of 250 reached for this organization.
26100
+ Delete an existing email forward or contact support to raise
26101
+ the limit.
26102
+ limit: 250
26103
+ status: 409
26104
+ title: Email Forward Error
26105
+ type: email-forward-limit-exceeded
26026
26106
  schema:
26027
26107
  $ref: '#/components/schemas/Problem'
26028
- description: Email forwarding configuration already exists
26108
+ description: Email forwarding configuration already exists, or the organization
26109
+ is at its email forward limit
26029
26110
  '422':
26030
26111
  content:
26031
26112
  application/problem+json:
@@ -29022,9 +29103,17 @@ paths:
29022
29103
  '422':
29023
29104
  content:
29024
29105
  application/problem+json:
29106
+ example:
29107
+ attribute_key: email_forward_limit
29108
+ code: ERROR_ORGANIZATION_ATTRIBUTE_VALUE_INVALID
29109
+ detail: Organization attribute 'email_forward_limit' must be a positive
29110
+ integer, got 'not-a-number'.
29111
+ status: 422
29112
+ title: Organization Management Error
29113
+ type: organization-attribute-value-invalid
29025
29114
  schema:
29026
- $ref: '#/components/schemas/HTTPValidationError'
29027
- description: Validation Error
29115
+ $ref: '#/components/schemas/Problem'
29116
+ description: Unprocessable Content
29028
29117
  security:
29029
29118
  - OAuth2PasswordBearer: []
29030
29119
  - APIKeyHeader: []
@@ -30158,9 +30247,17 @@ paths:
30158
30247
  '422':
30159
30248
  content:
30160
30249
  application/problem+json:
30250
+ example:
30251
+ attribute_key: email_forward_limit
30252
+ code: ERROR_ORGANIZATION_ATTRIBUTE_VALUE_INVALID
30253
+ detail: Organization attribute 'email_forward_limit' must be a positive
30254
+ integer, got 'not-a-number'.
30255
+ status: 422
30256
+ title: Organization Management Error
30257
+ type: organization-attribute-value-invalid
30161
30258
  schema:
30162
- $ref: '#/components/schemas/HTTPValidationError'
30163
- description: Validation Error
30259
+ $ref: '#/components/schemas/Problem'
30260
+ description: Unprocessable Content
30164
30261
  security:
30165
30262
  - OAuth2PasswordBearer: []
30166
30263
  - APIKeyHeader: []
@@ -31866,6 +31963,36 @@ paths:
31866
31963
  schema:
31867
31964
  title: Tld
31868
31965
  type: string
31966
+ - description: Override the resolved account backend.
31967
+ in: query
31968
+ name: backend
31969
+ required: false
31970
+ schema:
31971
+ anyOf:
31972
+ - $ref: '#/components/schemas/RegistryServiceBackend'
31973
+ - type: 'null'
31974
+ description: Override the resolved account backend.
31975
+ title: Backend
31976
+ - description: Override the customer spec ref.
31977
+ in: query
31978
+ name: customer_spec_ref
31979
+ required: false
31980
+ schema:
31981
+ anyOf:
31982
+ - type: string
31983
+ - type: 'null'
31984
+ description: Override the customer spec ref.
31985
+ title: Customer Spec Ref
31986
+ - description: Override the spec version pin (or LATEST).
31987
+ in: query
31988
+ name: version
31989
+ required: false
31990
+ schema:
31991
+ anyOf:
31992
+ - type: string
31993
+ - type: 'null'
31994
+ description: Override the spec version pin (or LATEST).
31995
+ title: Version
31869
31996
  - $ref: '#/components/parameters/DatetimeFormatHeader'
31870
31997
  responses:
31871
31998
  '200':
package/src/schema.d.ts CHANGED
@@ -11145,6 +11145,11 @@ export interface components {
11145
11145
  */
11146
11146
  supported: boolean;
11147
11147
  };
11148
+ /**
11149
+ * RegistryServiceBackend
11150
+ * @enum {string}
11151
+ */
11152
+ RegistryServiceBackend: "afnic" | "centralnic" | "cira" | "switch" | "nicat" | "verisign" | "pir" | "gmo" | "google" | "denic" | "identity_digital" | "godaddy" | "dns_belgium" | "eurid" | "rotld" | "nominet_uk" | "radix" | "sidn" | "sidn_hello" | "tucows" | "dot_ua" | "nic_it" | "dns_lu" | "restena_lu" | "cz_nic" | "ras_manual" | "ras_external" | "register_si" | "sk_nic" | "dot_blog" | "nic_lv" | "domreg_lt" | "nor_id" | "website_ws" | "dns_pt" | "punktum_dk" | "nic_mexico" | "internet_ee" | "channel_isles" | "registry_se" | "nask" | "dns_belgium_gtld" | "nominet_dragon" | "red_es" | "internet_nz" | "zacr" | "traficom" | "ie_registry" | "nic_im" | "cn_nic" | "forth" | "dns_hr" | "nixi" | "is_nic" | "sg_nic" | "ke_nic" | "tld_box" | "ryce" | "cocca" | "amazon";
11148
11153
  /**
11149
11154
  * RenewalMode
11150
11155
  * @enum {string}
@@ -21348,19 +21353,12 @@ export interface operations {
21348
21353
  "application/problem+json": components["schemas"]["Problem"];
21349
21354
  };
21350
21355
  };
21351
- /** @description Email forwarding configuration already exists */
21356
+ /** @description Email forwarding configuration already exists, or the organization is at its email forward limit */
21352
21357
  409: {
21353
21358
  headers: {
21354
21359
  [name: string]: unknown;
21355
21360
  };
21356
21361
  content: {
21357
- /** @example {
21358
- * "code": "ERROR_EMAIL_FORWARD_ALREADY_EXISTS",
21359
- * "detail": "Email forward already exists for hostname: mail.example.com",
21360
- * "status": 409,
21361
- * "title": "Email Forward Error",
21362
- * "type": "email-forward-already-exists"
21363
- * } */
21364
21362
  "application/problem+json": components["schemas"]["Problem"];
21365
21363
  };
21366
21364
  };
@@ -23687,13 +23685,21 @@ export interface operations {
23687
23685
  "application/problem+json": components["schemas"]["Problem"];
23688
23686
  };
23689
23687
  };
23690
- /** @description Validation Error */
23688
+ /** @description Unprocessable Content */
23691
23689
  422: {
23692
23690
  headers: {
23693
23691
  [name: string]: unknown;
23694
23692
  };
23695
23693
  content: {
23696
- "application/problem+json": components["schemas"]["HTTPValidationError"];
23694
+ /** @example {
23695
+ * "attribute_key": "email_forward_limit",
23696
+ * "code": "ERROR_ORGANIZATION_ATTRIBUTE_VALUE_INVALID",
23697
+ * "detail": "Organization attribute 'email_forward_limit' must be a positive integer, got 'not-a-number'.",
23698
+ * "status": 422,
23699
+ * "title": "Organization Management Error",
23700
+ * "type": "organization-attribute-value-invalid"
23701
+ * } */
23702
+ "application/problem+json": components["schemas"]["Problem"];
23697
23703
  };
23698
23704
  };
23699
23705
  };
@@ -24977,13 +24983,21 @@ export interface operations {
24977
24983
  "application/problem+json": components["schemas"]["Problem"];
24978
24984
  };
24979
24985
  };
24980
- /** @description Validation Error */
24986
+ /** @description Unprocessable Content */
24981
24987
  422: {
24982
24988
  headers: {
24983
24989
  [name: string]: unknown;
24984
24990
  };
24985
24991
  content: {
24986
- "application/problem+json": components["schemas"]["HTTPValidationError"];
24992
+ /** @example {
24993
+ * "attribute_key": "email_forward_limit",
24994
+ * "code": "ERROR_ORGANIZATION_ATTRIBUTE_VALUE_INVALID",
24995
+ * "detail": "Organization attribute 'email_forward_limit' must be a positive integer, got 'not-a-number'.",
24996
+ * "status": 422,
24997
+ * "title": "Organization Management Error",
24998
+ * "type": "organization-attribute-value-invalid"
24999
+ * } */
25000
+ "application/problem+json": components["schemas"]["Problem"];
24987
25001
  };
24988
25002
  };
24989
25003
  };
@@ -26536,7 +26550,14 @@ export interface operations {
26536
26550
  };
26537
26551
  get_tld_spec_v1_tlds__tld__get: {
26538
26552
  parameters: {
26539
- query?: never;
26553
+ query?: {
26554
+ /** @description Override the resolved account backend. */
26555
+ backend?: components["schemas"]["RegistryServiceBackend"] | null;
26556
+ /** @description Override the customer spec ref. */
26557
+ customer_spec_ref?: string | null;
26558
+ /** @description Override the spec version pin (or LATEST). */
26559
+ version?: string | null;
26560
+ };
26540
26561
  header?: {
26541
26562
  /**
26542
26563
  * @description Opt in to RFC 3339 datetime serialization. When set to `rfc3339`, response datetimes are normalized to UTC and serialized with a `Z` suffix. This is opt-in until the announced default cutover date, after which RFC 3339 becomes the default and this header is accepted as a no-op. Any other value or omission uses the current default serialization.