@opusdns/api 0.182.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 +1 -1
- package/src/helpers/constants.ts +2 -0
- package/src/helpers/keys.ts +26 -0
- package/src/openapi.yaml +18 -9
- package/src/schema.d.ts +7 -2
package/package.json
CHANGED
package/src/helpers/constants.ts
CHANGED
|
@@ -1473,6 +1473,7 @@ export const EMAIL_FORWARD_LOG_SORT_FIELD_VALUES = [
|
|
|
1473
1473
|
* @see {@link EmailForwardLogStatus} - The TypeScript type definition
|
|
1474
1474
|
*/
|
|
1475
1475
|
export const EMAIL_FORWARD_LOG_STATUS = {
|
|
1476
|
+
UNKNOWN: "UNKNOWN",
|
|
1476
1477
|
QUEUED: "QUEUED",
|
|
1477
1478
|
DELIVERED: "DELIVERED",
|
|
1478
1479
|
REFUSED: "REFUSED",
|
|
@@ -1502,6 +1503,7 @@ export const EMAIL_FORWARD_LOG_STATUS = {
|
|
|
1502
1503
|
* @see {@link EMAIL_FORWARD_LOG_STATUS} - The object form of this enum
|
|
1503
1504
|
*/
|
|
1504
1505
|
export const EMAIL_FORWARD_LOG_STATUS_VALUES = [
|
|
1506
|
+
'UNKNOWN',
|
|
1505
1507
|
'QUEUED',
|
|
1506
1508
|
'DELIVERED',
|
|
1507
1509
|
'REFUSED',
|
package/src/helpers/keys.ts
CHANGED
|
@@ -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
|
@@ -2951,6 +2951,7 @@ components:
|
|
|
2951
2951
|
type: string
|
|
2952
2952
|
EmailForwardLogStatus:
|
|
2953
2953
|
enum:
|
|
2954
|
+
- UNKNOWN
|
|
2954
2955
|
- QUEUED
|
|
2955
2956
|
- DELIVERED
|
|
2956
2957
|
- REFUSED
|
|
@@ -3480,6 +3481,10 @@ components:
|
|
|
3480
3481
|
type: string
|
|
3481
3482
|
HttpRedirectListResponse:
|
|
3482
3483
|
properties:
|
|
3484
|
+
protected:
|
|
3485
|
+
default: false
|
|
3486
|
+
title: Protected
|
|
3487
|
+
type: boolean
|
|
3483
3488
|
redirect_code:
|
|
3484
3489
|
$ref: '#/components/schemas/RedirectCode'
|
|
3485
3490
|
request_hostname:
|
|
@@ -3568,9 +3573,7 @@ components:
|
|
|
3568
3573
|
title: Request Path
|
|
3569
3574
|
type: string
|
|
3570
3575
|
request_protocol:
|
|
3571
|
-
|
|
3572
|
-
- $ref: '#/components/schemas/HttpProtocol'
|
|
3573
|
-
- type: 'null'
|
|
3576
|
+
$ref: '#/components/schemas/HttpProtocol'
|
|
3574
3577
|
request_subdomain:
|
|
3575
3578
|
anyOf:
|
|
3576
3579
|
- type: string
|
|
@@ -3590,6 +3593,7 @@ components:
|
|
|
3590
3593
|
- target_hostname
|
|
3591
3594
|
- target_path
|
|
3592
3595
|
- redirect_code
|
|
3596
|
+
- request_protocol
|
|
3593
3597
|
- request_hostname
|
|
3594
3598
|
title: HttpRedirectUpsert
|
|
3595
3599
|
type: object
|
|
@@ -6977,7 +6981,7 @@ info:
|
|
|
6977
6981
|
'
|
|
6978
6982
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
6979
6983
|
title: OpusDNS API
|
|
6980
|
-
version: 2026-
|
|
6984
|
+
version: 2026-02-04-165829
|
|
6981
6985
|
x-logo:
|
|
6982
6986
|
altText: OpusDNS API Reference
|
|
6983
6987
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
|
@@ -8918,7 +8922,8 @@ paths:
|
|
|
8918
8922
|
https:
|
|
8919
8923
|
created_on: '2025-11-18T12:59:57Z'
|
|
8920
8924
|
redirects:
|
|
8921
|
-
-
|
|
8925
|
+
- protected: false
|
|
8926
|
+
redirect_code: 302
|
|
8922
8927
|
request_hostname: example.com.
|
|
8923
8928
|
request_path: /
|
|
8924
8929
|
request_protocol: https
|
|
@@ -9345,7 +9350,8 @@ paths:
|
|
|
9345
9350
|
https:
|
|
9346
9351
|
created_on: '2025-11-18T12:59:57Z'
|
|
9347
9352
|
redirects:
|
|
9348
|
-
-
|
|
9353
|
+
- protected: false
|
|
9354
|
+
redirect_code: 302
|
|
9349
9355
|
request_hostname: example.com.
|
|
9350
9356
|
request_path: /
|
|
9351
9357
|
request_protocol: https
|
|
@@ -9967,7 +9973,8 @@ paths:
|
|
|
9967
9973
|
http:
|
|
9968
9974
|
created_on: '2025-11-14T09:01:38'
|
|
9969
9975
|
redirects:
|
|
9970
|
-
-
|
|
9976
|
+
- protected: false
|
|
9977
|
+
redirect_code: 301
|
|
9971
9978
|
request_hostname: example.com.
|
|
9972
9979
|
request_path: /
|
|
9973
9980
|
request_protocol: http
|
|
@@ -9978,7 +9985,8 @@ paths:
|
|
|
9978
9985
|
https:
|
|
9979
9986
|
created_on: '2025-11-14T09:01:38'
|
|
9980
9987
|
redirects:
|
|
9981
|
-
-
|
|
9988
|
+
- protected: false
|
|
9989
|
+
redirect_code: 302
|
|
9982
9990
|
request_hostname: example.com.
|
|
9983
9991
|
request_path: /
|
|
9984
9992
|
request_protocol: https
|
|
@@ -9998,7 +10006,8 @@ paths:
|
|
|
9998
10006
|
http:
|
|
9999
10007
|
created_on: '2025-11-14T09:01:38'
|
|
10000
10008
|
redirects:
|
|
10001
|
-
-
|
|
10009
|
+
- protected: false
|
|
10010
|
+
redirect_code: 301
|
|
10002
10011
|
request_hostname: example.com.
|
|
10003
10012
|
request_path: /
|
|
10004
10013
|
request_protocol: http
|
package/src/schema.d.ts
CHANGED
|
@@ -3824,7 +3824,7 @@ export interface components {
|
|
|
3824
3824
|
* EmailForwardLogStatus
|
|
3825
3825
|
* @enum {string}
|
|
3826
3826
|
*/
|
|
3827
|
-
EmailForwardLogStatus: "QUEUED" | "DELIVERED" | "REFUSED" | "SOFT-BOUNCE" | "HARD-BOUNCE";
|
|
3827
|
+
EmailForwardLogStatus: "UNKNOWN" | "QUEUED" | "DELIVERED" | "REFUSED" | "SOFT-BOUNCE" | "HARD-BOUNCE";
|
|
3828
3828
|
/** EmailForwardMetrics */
|
|
3829
3829
|
EmailForwardMetrics: {
|
|
3830
3830
|
/**
|
|
@@ -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
|
|
4231
|
+
request_protocol: components["schemas"]["HttpProtocol"];
|
|
4227
4232
|
/** Request Subdomain */
|
|
4228
4233
|
request_subdomain?: string | null;
|
|
4229
4234
|
/** Target Hostname */
|