@opusdns/api 0.183.0 → 0.185.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": "^0.19.0"
4
4
  },
5
5
  "name": "@opusdns/api",
6
- "version": "0.183.0",
6
+ "version": "0.185.0",
7
7
  "description": "TypeScript types for the OpusDNS OpenAPI specification",
8
8
  "main": "./src/index.ts",
9
9
  "module": "./src/index.ts",
@@ -3332,6 +3332,9 @@ export const REGISTRY_HANDLE_ATTRIBUTE_TYPE = {
3332
3332
  ROTLD_FISCAL_CODE: "ROTLD_FISCAL_CODE",
3333
3333
  ROTLD_REGISTRATION_NUMBER: "ROTLD_REGISTRATION_NUMBER",
3334
3334
  ROTLD_DOMAIN_NAME: "ROTLD_DOMAIN_NAME",
3335
+ NOMINET_CONTACT_TYPE: "NOMINET_CONTACT_TYPE",
3336
+ NOMINET_CO_NO: "NOMINET_CO_NO",
3337
+ NOMINET_TRAD_NAME: "NOMINET_TRAD_NAME",
3335
3338
  } as const satisfies Record<string, RegistryHandleAttributeType>;
3336
3339
 
3337
3340
  /**
@@ -3380,7 +3383,10 @@ export const REGISTRY_HANDLE_ATTRIBUTE_TYPE_VALUES = [
3380
3383
  'ROTLD_CONTACT_TYPE',
3381
3384
  'ROTLD_FISCAL_CODE',
3382
3385
  'ROTLD_REGISTRATION_NUMBER',
3383
- 'ROTLD_DOMAIN_NAME'
3386
+ 'ROTLD_DOMAIN_NAME',
3387
+ 'NOMINET_CONTACT_TYPE',
3388
+ 'NOMINET_CO_NO',
3389
+ 'NOMINET_TRAD_NAME'
3384
3390
  ] as const satisfies [string, ...string[]] | RegistryHandleAttributeType[];
3385
3391
 
3386
3392
  /**
@@ -14181,6 +14181,31 @@ export const KEYS_HOST_SCHEMA = [
14181
14181
  KEY_HOST_SCHEMA_UPDATED_ON,
14182
14182
  ] as const satisfies (keyof HostSchema)[];
14183
14183
 
14184
+ /**
14185
+ * Protected
14186
+ *
14187
+ *
14188
+ * @type {boolean}
14189
+ *
14190
+ *
14191
+ * @remarks
14192
+ * This key constant provides type-safe access to the `protected` property of HttpRedirectList objects.
14193
+ * Use this constant when you need to access properties dynamically or ensure type safety.
14194
+ *
14195
+ * @example
14196
+ * ```typescript
14197
+ * // Direct property access
14198
+ * const value = httpredirectlist[KEY_HTTP_REDIRECT_LIST_PROTECTED];
14199
+ *
14200
+ * // Dynamic property access
14201
+ * const propertyName = KEY_HTTP_REDIRECT_LIST_PROTECTED;
14202
+ * const value = httpredirectlist[propertyName];
14203
+ * ```
14204
+ *
14205
+ * @see {@link HttpRedirectList} - The TypeScript type definition
14206
+ * @see {@link KEYS_HTTP_REDIRECT_LIST} - Array of all keys for this type
14207
+ */
14208
+ export const KEY_HTTP_REDIRECT_LIST_PROTECTED: keyof HttpRedirectList = 'protected';
14184
14209
  /**
14185
14210
  * redirect_code property
14186
14211
  *
@@ -14399,6 +14424,7 @@ export const KEY_HTTP_REDIRECT_LIST_TARGET_PROTOCOL: keyof HttpRedirectList = 't
14399
14424
  * @see {@link HttpRedirectList} - The TypeScript type definition
14400
14425
  */
14401
14426
  export const KEYS_HTTP_REDIRECT_LIST = [
14427
+ KEY_HTTP_REDIRECT_LIST_PROTECTED,
14402
14428
  KEY_HTTP_REDIRECT_LIST_REDIRECT_CODE,
14403
14429
  KEY_HTTP_REDIRECT_LIST_REQUEST_HOSTNAME,
14404
14430
  KEY_HTTP_REDIRECT_LIST_REQUEST_PATH,
package/src/openapi.yaml CHANGED
@@ -3481,6 +3481,10 @@ components:
3481
3481
  type: string
3482
3482
  HttpRedirectListResponse:
3483
3483
  properties:
3484
+ protected:
3485
+ default: false
3486
+ title: Protected
3487
+ type: boolean
3484
3488
  redirect_code:
3485
3489
  $ref: '#/components/schemas/RedirectCode'
3486
3490
  request_hostname:
@@ -3569,9 +3573,7 @@ components:
3569
3573
  title: Request Path
3570
3574
  type: string
3571
3575
  request_protocol:
3572
- anyOf:
3573
- - $ref: '#/components/schemas/HttpProtocol'
3574
- - type: 'null'
3576
+ $ref: '#/components/schemas/HttpProtocol'
3575
3577
  request_subdomain:
3576
3578
  anyOf:
3577
3579
  - type: string
@@ -3591,6 +3593,7 @@ components:
3591
3593
  - target_hostname
3592
3594
  - target_path
3593
3595
  - redirect_code
3596
+ - request_protocol
3594
3597
  - request_hostname
3595
3598
  title: HttpRedirectUpsert
3596
3599
  type: object
@@ -5521,6 +5524,9 @@ components:
5521
5524
  - ROTLD_FISCAL_CODE
5522
5525
  - ROTLD_REGISTRATION_NUMBER
5523
5526
  - ROTLD_DOMAIN_NAME
5527
+ - NOMINET_CONTACT_TYPE
5528
+ - NOMINET_CO_NO
5529
+ - NOMINET_TRAD_NAME
5524
5530
  title: RegistryHandleAttributeType
5525
5531
  type: string
5526
5532
  RegistryLockBase:
@@ -6978,7 +6984,7 @@ info:
6978
6984
  '
6979
6985
  summary: OpusDNS - your gateway to a seamless domain management experience.
6980
6986
  title: OpusDNS API
6981
- version: 2026-02-04-121336
6987
+ version: 2026-02-09-083239
6982
6988
  x-logo:
6983
6989
  altText: OpusDNS API Reference
6984
6990
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
@@ -8919,7 +8925,8 @@ paths:
8919
8925
  https:
8920
8926
  created_on: '2025-11-18T12:59:57Z'
8921
8927
  redirects:
8922
- - redirect_code: 302
8928
+ - protected: false
8929
+ redirect_code: 302
8923
8930
  request_hostname: example.com.
8924
8931
  request_path: /
8925
8932
  request_protocol: https
@@ -9346,7 +9353,8 @@ paths:
9346
9353
  https:
9347
9354
  created_on: '2025-11-18T12:59:57Z'
9348
9355
  redirects:
9349
- - redirect_code: 302
9356
+ - protected: false
9357
+ redirect_code: 302
9350
9358
  request_hostname: example.com.
9351
9359
  request_path: /
9352
9360
  request_protocol: https
@@ -9968,7 +9976,8 @@ paths:
9968
9976
  http:
9969
9977
  created_on: '2025-11-14T09:01:38'
9970
9978
  redirects:
9971
- - redirect_code: 301
9979
+ - protected: false
9980
+ redirect_code: 301
9972
9981
  request_hostname: example.com.
9973
9982
  request_path: /
9974
9983
  request_protocol: http
@@ -9979,7 +9988,8 @@ paths:
9979
9988
  https:
9980
9989
  created_on: '2025-11-14T09:01:38'
9981
9990
  redirects:
9982
- - redirect_code: 302
9991
+ - protected: false
9992
+ redirect_code: 302
9983
9993
  request_hostname: example.com.
9984
9994
  request_path: /
9985
9995
  request_protocol: https
@@ -9999,7 +10009,8 @@ paths:
9999
10009
  http:
10000
10010
  created_on: '2025-11-14T09:01:38'
10001
10011
  redirects:
10002
- - redirect_code: 301
10012
+ - protected: false
10013
+ redirect_code: 301
10003
10014
  request_hostname: example.com.
10004
10015
  request_path: /
10005
10016
  request_protocol: http
package/src/schema.d.ts CHANGED
@@ -4181,6 +4181,11 @@ export interface components {
4181
4181
  HttpProtocol: "http" | "https";
4182
4182
  /** HttpRedirectListResponse */
4183
4183
  HttpRedirectListResponse: {
4184
+ /**
4185
+ * Protected
4186
+ * @default false
4187
+ */
4188
+ protected: boolean;
4184
4189
  redirect_code: components["schemas"]["RedirectCode"];
4185
4190
  /** Request Hostname */
4186
4191
  request_hostname: string;
@@ -4223,7 +4228,7 @@ export interface components {
4223
4228
  request_hostname: string;
4224
4229
  /** Request Path */
4225
4230
  request_path: string;
4226
- request_protocol?: components["schemas"]["HttpProtocol"] | null;
4231
+ request_protocol: components["schemas"]["HttpProtocol"];
4227
4232
  /** Request Subdomain */
4228
4233
  request_subdomain?: string | null;
4229
4234
  /** Target Hostname */
@@ -5477,7 +5482,7 @@ export interface components {
5477
5482
  * @description Registry handle attribute types for type-safe attribute key access.
5478
5483
  * @enum {string}
5479
5484
  */
5480
- RegistryHandleAttributeType: "at-ext-contact:type" | "DE_CONTACT_TYPE" | "dnsbe:type" | "eurid:type" | "AFNIC_CONTACT_TYPE" | "AFNIC_PP_FIRST_NAME" | "AFNIC_PM_LEGAL_STATUS" | "AFNIC_PM_SIREN" | "AFNIC_PM_VAT" | "AFNIC_PM_TRADEMARK" | "AFNIC_PM_ASSOC_WALDEC" | "AFNIC_PM_ASSOC_PUBL_DATE" | "AFNIC_PM_ASSOC_PUBL_ANNOUNCE" | "AFNIC_PM_ASSOC_PUBL_PAGE" | "AFNIC_PM_ASSOC_DECL" | "AFNIC_PM_DUNS" | "AFNIC_PM_LOCAL" | "AFNIC_ID_STATUS" | "AFNIC_REACHABLE_MEDIA" | "AFNIC_REACHABLE_STATUS" | "AFNIC_RESTRICTED_PUBLICATION" | "ROTLD_CONTACT_TYPE" | "ROTLD_FISCAL_CODE" | "ROTLD_REGISTRATION_NUMBER" | "ROTLD_DOMAIN_NAME";
5485
+ RegistryHandleAttributeType: "at-ext-contact:type" | "DE_CONTACT_TYPE" | "dnsbe:type" | "eurid:type" | "AFNIC_CONTACT_TYPE" | "AFNIC_PP_FIRST_NAME" | "AFNIC_PM_LEGAL_STATUS" | "AFNIC_PM_SIREN" | "AFNIC_PM_VAT" | "AFNIC_PM_TRADEMARK" | "AFNIC_PM_ASSOC_WALDEC" | "AFNIC_PM_ASSOC_PUBL_DATE" | "AFNIC_PM_ASSOC_PUBL_ANNOUNCE" | "AFNIC_PM_ASSOC_PUBL_PAGE" | "AFNIC_PM_ASSOC_DECL" | "AFNIC_PM_DUNS" | "AFNIC_PM_LOCAL" | "AFNIC_ID_STATUS" | "AFNIC_REACHABLE_MEDIA" | "AFNIC_REACHABLE_STATUS" | "AFNIC_RESTRICTED_PUBLICATION" | "ROTLD_CONTACT_TYPE" | "ROTLD_FISCAL_CODE" | "ROTLD_REGISTRATION_NUMBER" | "ROTLD_DOMAIN_NAME" | "NOMINET_CONTACT_TYPE" | "NOMINET_CO_NO" | "NOMINET_TRAD_NAME";
5481
5486
  /** RegistryLockBase */
5482
5487
  RegistryLockBase: {
5483
5488
  /**