@opusdns/api 0.183.0 → 0.184.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.184.0",
7
7
  "description": "TypeScript types for the OpusDNS OpenAPI specification",
8
8
  "main": "./src/index.ts",
9
9
  "module": "./src/index.ts",
@@ -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
@@ -6978,7 +6981,7 @@ info:
6978
6981
  '
6979
6982
  summary: OpusDNS - your gateway to a seamless domain management experience.
6980
6983
  title: OpusDNS API
6981
- version: 2026-02-04-121336
6984
+ version: 2026-02-04-165829
6982
6985
  x-logo:
6983
6986
  altText: OpusDNS API Reference
6984
6987
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
@@ -8919,7 +8922,8 @@ paths:
8919
8922
  https:
8920
8923
  created_on: '2025-11-18T12:59:57Z'
8921
8924
  redirects:
8922
- - redirect_code: 302
8925
+ - protected: false
8926
+ redirect_code: 302
8923
8927
  request_hostname: example.com.
8924
8928
  request_path: /
8925
8929
  request_protocol: https
@@ -9346,7 +9350,8 @@ paths:
9346
9350
  https:
9347
9351
  created_on: '2025-11-18T12:59:57Z'
9348
9352
  redirects:
9349
- - redirect_code: 302
9353
+ - protected: false
9354
+ redirect_code: 302
9350
9355
  request_hostname: example.com.
9351
9356
  request_path: /
9352
9357
  request_protocol: https
@@ -9968,7 +9973,8 @@ paths:
9968
9973
  http:
9969
9974
  created_on: '2025-11-14T09:01:38'
9970
9975
  redirects:
9971
- - redirect_code: 301
9976
+ - protected: false
9977
+ redirect_code: 301
9972
9978
  request_hostname: example.com.
9973
9979
  request_path: /
9974
9980
  request_protocol: http
@@ -9979,7 +9985,8 @@ paths:
9979
9985
  https:
9980
9986
  created_on: '2025-11-14T09:01:38'
9981
9987
  redirects:
9982
- - redirect_code: 302
9988
+ - protected: false
9989
+ redirect_code: 302
9983
9990
  request_hostname: example.com.
9984
9991
  request_path: /
9985
9992
  request_protocol: https
@@ -9999,7 +10006,8 @@ paths:
9999
10006
  http:
10000
10007
  created_on: '2025-11-14T09:01:38'
10001
10008
  redirects:
10002
- - redirect_code: 301
10009
+ - protected: false
10010
+ redirect_code: 301
10003
10011
  request_hostname: example.com.
10004
10012
  request_path: /
10005
10013
  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 */