@opusdns/api 1.119.0 → 1.121.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.119.0",
6
+ "version": "1.121.0",
7
7
  "description": "TypeScript types for the OpusDNS OpenAPI specification",
8
8
  "main": "./src/index.ts",
9
9
  "module": "./src/index.ts",
@@ -2597,6 +2597,7 @@ export const KEY_DOMAIN_IS_PREMIUM = 'is_premium' satisfies keyof Domain;
2597
2597
  export const KEY_DOMAIN_NAME = 'name' satisfies keyof Domain;
2598
2598
  export const KEY_DOMAIN_NAMESERVERS = 'nameservers' satisfies keyof Domain;
2599
2599
  export const KEY_DOMAIN_OWNER_ID = 'owner_id' satisfies keyof Domain;
2600
+ export const KEY_DOMAIN_READ_ONLY = 'read_only' satisfies keyof Domain;
2600
2601
  export const KEY_DOMAIN_REGISTERED_ON = 'registered_on' satisfies keyof Domain;
2601
2602
  export const KEY_DOMAIN_REGISTRY_ACCOUNT_ID = 'registry_account_id' satisfies keyof Domain;
2602
2603
  export const KEY_DOMAIN_REGISTRY_STATUSES = 'registry_statuses' satisfies keyof Domain;
@@ -2627,6 +2628,7 @@ export const KEYS_DOMAIN = [
2627
2628
  KEY_DOMAIN_NAME,
2628
2629
  KEY_DOMAIN_NAMESERVERS,
2629
2630
  KEY_DOMAIN_OWNER_ID,
2631
+ KEY_DOMAIN_READ_ONLY,
2630
2632
  KEY_DOMAIN_REGISTERED_ON,
2631
2633
  KEY_DOMAIN_REGISTRY_ACCOUNT_ID,
2632
2634
  KEY_DOMAIN_REGISTRY_STATUSES,
package/src/openapi.yaml CHANGED
@@ -1113,7 +1113,8 @@ components:
1113
1113
  title: City
1114
1114
  type: string
1115
1115
  country:
1116
- description: The country of the contact
1116
+ description: The country of the contact (ISO 3166-1 alpha-2, plus XK for
1117
+ Kosovo)
1117
1118
  pattern: ^\w{2}$
1118
1119
  title: Country
1119
1120
  type: string
@@ -1344,7 +1345,8 @@ components:
1344
1345
  ContactCreateBulkTemplate:
1345
1346
  properties:
1346
1347
  country:
1347
- description: The country of the contacts
1348
+ description: The country of the contacts (ISO 3166-1 alpha-2, plus XK for
1349
+ Kosovo)
1348
1350
  pattern: ^\w{2}$
1349
1351
  title: Country
1350
1352
  type: string
@@ -1415,7 +1417,8 @@ components:
1415
1417
  title: City
1416
1418
  type: string
1417
1419
  country:
1418
- description: The country of the contact
1420
+ description: The country of the contact (ISO 3166-1 alpha-2, plus XK for
1421
+ Kosovo)
1419
1422
  pattern: ^\w{2}$
1420
1423
  title: Country
1421
1424
  type: string
@@ -1604,7 +1607,8 @@ components:
1604
1607
  type: string
1605
1608
  x-typeid-prefix: contact
1606
1609
  country:
1607
- description: The country of the contact
1610
+ description: The country of the contact (ISO 3166-1 alpha-2, plus XK for
1611
+ Kosovo)
1608
1612
  pattern: ^\w{2}$
1609
1613
  title: Country
1610
1614
  type: string
@@ -5575,6 +5579,15 @@ components:
5575
5579
  title: Owner Id
5576
5580
  type: string
5577
5581
  x-typeid-prefix: organization
5582
+ read_only:
5583
+ default: false
5584
+ description: "Whether the domain is read-only in OpusDNS. When `true`, the\
5585
+ \ domain is listed in your portfolio but cannot be managed \u2014 for\
5586
+ \ example while it awaits a migration, is locked for legal reasons, or\
5587
+ \ is managed at an external registrar. The flag is set and removed by\
5588
+ \ OpusDNS; it cannot be changed through the API."
5589
+ title: Read Only
5590
+ type: boolean
5578
5591
  registered_on:
5579
5592
  anyOf:
5580
5593
  - format: date-time
@@ -9753,7 +9766,7 @@ components:
9753
9766
  pattern: ^\w{2}$
9754
9767
  type: string
9755
9768
  - type: 'null'
9756
- description: ISO 3166-1 alpha-2 country code.
9769
+ description: ISO 3166-1 alpha-2 country code, plus XK (Kosovo).
9757
9770
  title: Country Code
9758
9771
  created_on:
9759
9772
  description: The date/time the entry was created on
@@ -10048,7 +10061,7 @@ components:
10048
10061
  pattern: ^\w{2}$
10049
10062
  type: string
10050
10063
  - type: 'null'
10051
- description: ISO 3166-1 alpha-2 country code.
10064
+ description: ISO 3166-1 alpha-2 country code, plus XK (Kosovo).
10052
10065
  title: Country Code
10053
10066
  currency:
10054
10067
  anyOf:
@@ -10284,7 +10297,7 @@ components:
10284
10297
  title: City
10285
10298
  country_code:
10286
10299
  anyOf:
10287
- - description: ISO 3166-1 alpha-2 country code.
10300
+ - description: ISO 3166-1 alpha-2 country code, plus XK (Kosovo).
10288
10301
  maxLength: 2
10289
10302
  minLength: 2
10290
10303
  pattern: ^\w{2}$
@@ -10408,7 +10421,7 @@ components:
10408
10421
  pattern: ^\w{2}$
10409
10422
  type: string
10410
10423
  - type: 'null'
10411
- description: ISO 3166-1 alpha-2 country code.
10424
+ description: ISO 3166-1 alpha-2 country code, plus XK (Kosovo).
10412
10425
  title: Country Code
10413
10426
  created_on:
10414
10427
  description: The date/time the entry was created on
@@ -15534,7 +15547,7 @@ info:
15534
15547
  \n\n"
15535
15548
  summary: OpusDNS - your gateway to a seamless domain management experience.
15536
15549
  title: OpusDNS API
15537
- version: 2026-08-18-090726
15550
+ version: 2026-08-18-162915
15538
15551
  x-logo:
15539
15552
  altText: OpusDNS API Reference
15540
15553
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
@@ -23345,6 +23358,14 @@ paths:
23345
23358
  - type: boolean
23346
23359
  - type: 'null'
23347
23360
  title: Transfer Lock
23361
+ - in: query
23362
+ name: read_only
23363
+ required: false
23364
+ schema:
23365
+ anyOf:
23366
+ - type: boolean
23367
+ - type: 'null'
23368
+ title: Read Only
23348
23369
  - in: query
23349
23370
  name: is_premium
23350
23371
  required: false
package/src/schema.d.ts CHANGED
@@ -3761,7 +3761,7 @@ export interface components {
3761
3761
  city: string;
3762
3762
  /**
3763
3763
  * Country
3764
- * @description The country of the contact
3764
+ * @description The country of the contact (ISO 3166-1 alpha-2, plus XK for Kosovo)
3765
3765
  */
3766
3766
  country: string;
3767
3767
  /**
@@ -3928,7 +3928,7 @@ export interface components {
3928
3928
  ContactCreateBulkTemplate: {
3929
3929
  /**
3930
3930
  * Country
3931
- * @description The country of the contacts
3931
+ * @description The country of the contacts (ISO 3166-1 alpha-2, plus XK for Kosovo)
3932
3932
  */
3933
3933
  country: string;
3934
3934
  /**
@@ -3982,7 +3982,7 @@ export interface components {
3982
3982
  city: string;
3983
3983
  /**
3984
3984
  * Country
3985
- * @description The country of the contact
3985
+ * @description The country of the contact (ISO 3166-1 alpha-2, plus XK for Kosovo)
3986
3986
  */
3987
3987
  country: string;
3988
3988
  /**
@@ -4111,7 +4111,7 @@ export interface components {
4111
4111
  contact_id?: TypeId<"contact">;
4112
4112
  /**
4113
4113
  * Country
4114
- * @description The country of the contact
4114
+ * @description The country of the contact (ISO 3166-1 alpha-2, plus XK for Kosovo)
4115
4115
  */
4116
4116
  country: string;
4117
4117
  /**
@@ -6613,6 +6613,12 @@ export interface components {
6613
6613
  * @example organization_01h45ytscbebyvny4gc8cr8ma2
6614
6614
  */
6615
6615
  owner_id: TypeId<"organization">;
6616
+ /**
6617
+ * Read Only
6618
+ * @description Whether the domain is read-only in OpusDNS. When `true`, the domain is listed in your portfolio but cannot be managed — for example while it awaits a migration, is locked for legal reasons, or is managed at an external registrar. The flag is set and removed by OpusDNS; it cannot be changed through the API.
6619
+ * @default false
6620
+ */
6621
+ read_only: boolean;
6616
6622
  /**
6617
6623
  * Registered On
6618
6624
  * @description When the domain was registered
@@ -9446,7 +9452,7 @@ export interface components {
9446
9452
  city?: string | null;
9447
9453
  /**
9448
9454
  * Country Code
9449
- * @description ISO 3166-1 alpha-2 country code.
9455
+ * @description ISO 3166-1 alpha-2 country code, plus XK (Kosovo).
9450
9456
  */
9451
9457
  country_code?: string | null;
9452
9458
  /**
@@ -9666,7 +9672,7 @@ export interface components {
9666
9672
  city?: string | null;
9667
9673
  /**
9668
9674
  * Country Code
9669
- * @description ISO 3166-1 alpha-2 country code.
9675
+ * @description ISO 3166-1 alpha-2 country code, plus XK (Kosovo).
9670
9676
  */
9671
9677
  country_code?: string | null;
9672
9678
  /** @description The currency used by the organization. */
@@ -9897,7 +9903,7 @@ export interface components {
9897
9903
  city?: string | null;
9898
9904
  /**
9899
9905
  * Country Code
9900
- * @description ISO 3166-1 alpha-2 country code.
9906
+ * @description ISO 3166-1 alpha-2 country code, plus XK (Kosovo).
9901
9907
  */
9902
9908
  country_code?: string | null;
9903
9909
  /**
@@ -19126,6 +19132,7 @@ export interface operations {
19126
19132
  tld?: string[] | null;
19127
19133
  sld?: string | null;
19128
19134
  transfer_lock?: boolean | null;
19135
+ read_only?: boolean | null;
19129
19136
  is_premium?: boolean | null;
19130
19137
  created_after?: Date | null;
19131
19138
  created_before?: Date | null;