@opusdns/api 0.208.0 → 0.209.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.208.0",
6
+ "version": "0.209.0",
7
7
  "description": "TypeScript types for the OpusDNS OpenAPI specification",
8
8
  "main": "./src/index.ts",
9
9
  "module": "./src/index.ts",
@@ -211,7 +211,6 @@ import { UserWithRelationPermissions } from './schemas';
211
211
  import { ValidationError } from './schemas';
212
212
  import { VisitsByKeyBucket } from './schemas';
213
213
  import { WhoisBase } from './schemas';
214
- import { WildcardHttpRedirectRequest } from './schemas';
215
214
  import { RequestAuthcode } from './schemas';
216
215
  import { RequestAuthcode2 } from './schemas';
217
216
  import { DomainAvailabilityList } from './schemas';
@@ -27700,184 +27699,6 @@ export const KEYS_WHOIS_BASE = [
27700
27699
  KEY_WHOIS_BASE_WHOIS_SERVER,
27701
27700
  ] as const satisfies (keyof WhoisBase)[];
27702
27701
 
27703
- /**
27704
- * redirect_code property
27705
- *
27706
- *
27707
- *
27708
- *
27709
- * @remarks
27710
- * This key constant provides type-safe access to the `redirect_code` property of WildcardHttpRedirectRequest objects.
27711
- * Use this constant when you need to access properties dynamically or ensure type safety.
27712
- *
27713
- * @example
27714
- * ```typescript
27715
- * // Direct property access
27716
- * const value = wildcardhttpredirectrequest[KEY_WILDCARD_HTTP_REDIRECT_REQUEST_REDIRECT_CODE];
27717
- *
27718
- * // Dynamic property access
27719
- * const propertyName = KEY_WILDCARD_HTTP_REDIRECT_REQUEST_REDIRECT_CODE;
27720
- * const value = wildcardhttpredirectrequest[propertyName];
27721
- * ```
27722
- *
27723
- * @see {@link WildcardHttpRedirectRequest} - The TypeScript type definition
27724
- * @see {@link KEYS_WILDCARD_HTTP_REDIRECT_REQUEST} - Array of all keys for this type
27725
- */
27726
- export const KEY_WILDCARD_HTTP_REDIRECT_REQUEST_REDIRECT_CODE: keyof WildcardHttpRedirectRequest = 'redirect_code';
27727
- /**
27728
- * Request Path
27729
- *
27730
- *
27731
- * @type {string}
27732
- *
27733
- *
27734
- * @remarks
27735
- * This key constant provides type-safe access to the `request_path` property of WildcardHttpRedirectRequest objects.
27736
- * Use this constant when you need to access properties dynamically or ensure type safety.
27737
- *
27738
- * @example
27739
- * ```typescript
27740
- * // Direct property access
27741
- * const value = wildcardhttpredirectrequest[KEY_WILDCARD_HTTP_REDIRECT_REQUEST_REQUEST_PATH];
27742
- *
27743
- * // Dynamic property access
27744
- * const propertyName = KEY_WILDCARD_HTTP_REDIRECT_REQUEST_REQUEST_PATH;
27745
- * const value = wildcardhttpredirectrequest[propertyName];
27746
- * ```
27747
- *
27748
- * @see {@link WildcardHttpRedirectRequest} - The TypeScript type definition
27749
- * @see {@link KEYS_WILDCARD_HTTP_REDIRECT_REQUEST} - Array of all keys for this type
27750
- */
27751
- export const KEY_WILDCARD_HTTP_REDIRECT_REQUEST_REQUEST_PATH: keyof WildcardHttpRedirectRequest = 'request_path';
27752
- /**
27753
- * Request Subdomain
27754
- *
27755
- *
27756
- * @type {string}
27757
- *
27758
- *
27759
- * @remarks
27760
- * This key constant provides type-safe access to the `request_subdomain` property of WildcardHttpRedirectRequest objects.
27761
- * Use this constant when you need to access properties dynamically or ensure type safety.
27762
- *
27763
- * @example
27764
- * ```typescript
27765
- * // Direct property access
27766
- * const value = wildcardhttpredirectrequest[KEY_WILDCARD_HTTP_REDIRECT_REQUEST_REQUEST_SUBDOMAIN];
27767
- *
27768
- * // Dynamic property access
27769
- * const propertyName = KEY_WILDCARD_HTTP_REDIRECT_REQUEST_REQUEST_SUBDOMAIN;
27770
- * const value = wildcardhttpredirectrequest[propertyName];
27771
- * ```
27772
- *
27773
- * @see {@link WildcardHttpRedirectRequest} - The TypeScript type definition
27774
- * @see {@link KEYS_WILDCARD_HTTP_REDIRECT_REQUEST} - Array of all keys for this type
27775
- */
27776
- export const KEY_WILDCARD_HTTP_REDIRECT_REQUEST_REQUEST_SUBDOMAIN: keyof WildcardHttpRedirectRequest = 'request_subdomain';
27777
- /**
27778
- * Target Hostname
27779
- *
27780
- *
27781
- * @type {string}
27782
- *
27783
- *
27784
- * @remarks
27785
- * This key constant provides type-safe access to the `target_hostname` property of WildcardHttpRedirectRequest objects.
27786
- * Use this constant when you need to access properties dynamically or ensure type safety.
27787
- *
27788
- * @example
27789
- * ```typescript
27790
- * // Direct property access
27791
- * const value = wildcardhttpredirectrequest[KEY_WILDCARD_HTTP_REDIRECT_REQUEST_TARGET_HOSTNAME];
27792
- *
27793
- * // Dynamic property access
27794
- * const propertyName = KEY_WILDCARD_HTTP_REDIRECT_REQUEST_TARGET_HOSTNAME;
27795
- * const value = wildcardhttpredirectrequest[propertyName];
27796
- * ```
27797
- *
27798
- * @see {@link WildcardHttpRedirectRequest} - The TypeScript type definition
27799
- * @see {@link KEYS_WILDCARD_HTTP_REDIRECT_REQUEST} - Array of all keys for this type
27800
- */
27801
- export const KEY_WILDCARD_HTTP_REDIRECT_REQUEST_TARGET_HOSTNAME: keyof WildcardHttpRedirectRequest = 'target_hostname';
27802
- /**
27803
- * Target Path
27804
- *
27805
- *
27806
- * @type {string}
27807
- *
27808
- *
27809
- * @remarks
27810
- * This key constant provides type-safe access to the `target_path` property of WildcardHttpRedirectRequest objects.
27811
- * Use this constant when you need to access properties dynamically or ensure type safety.
27812
- *
27813
- * @example
27814
- * ```typescript
27815
- * // Direct property access
27816
- * const value = wildcardhttpredirectrequest[KEY_WILDCARD_HTTP_REDIRECT_REQUEST_TARGET_PATH];
27817
- *
27818
- * // Dynamic property access
27819
- * const propertyName = KEY_WILDCARD_HTTP_REDIRECT_REQUEST_TARGET_PATH;
27820
- * const value = wildcardhttpredirectrequest[propertyName];
27821
- * ```
27822
- *
27823
- * @see {@link WildcardHttpRedirectRequest} - The TypeScript type definition
27824
- * @see {@link KEYS_WILDCARD_HTTP_REDIRECT_REQUEST} - Array of all keys for this type
27825
- */
27826
- export const KEY_WILDCARD_HTTP_REDIRECT_REQUEST_TARGET_PATH: keyof WildcardHttpRedirectRequest = 'target_path';
27827
- /**
27828
- * target_protocol property
27829
- *
27830
- *
27831
- *
27832
- *
27833
- * @remarks
27834
- * This key constant provides type-safe access to the `target_protocol` property of WildcardHttpRedirectRequest objects.
27835
- * Use this constant when you need to access properties dynamically or ensure type safety.
27836
- *
27837
- * @example
27838
- * ```typescript
27839
- * // Direct property access
27840
- * const value = wildcardhttpredirectrequest[KEY_WILDCARD_HTTP_REDIRECT_REQUEST_TARGET_PROTOCOL];
27841
- *
27842
- * // Dynamic property access
27843
- * const propertyName = KEY_WILDCARD_HTTP_REDIRECT_REQUEST_TARGET_PROTOCOL;
27844
- * const value = wildcardhttpredirectrequest[propertyName];
27845
- * ```
27846
- *
27847
- * @see {@link WildcardHttpRedirectRequest} - The TypeScript type definition
27848
- * @see {@link KEYS_WILDCARD_HTTP_REDIRECT_REQUEST} - Array of all keys for this type
27849
- */
27850
- export const KEY_WILDCARD_HTTP_REDIRECT_REQUEST_TARGET_PROTOCOL: keyof WildcardHttpRedirectRequest = 'target_protocol';
27851
-
27852
- /**
27853
- * Array of all WildcardHttpRedirectRequest property keys
27854
- *
27855
- * @remarks
27856
- * This constant provides a readonly array containing all valid property keys for WildcardHttpRedirectRequest objects.
27857
- * Useful for iteration, validation, and generating dynamic UI components.
27858
- *
27859
- * @example
27860
- * ```typescript
27861
- * // Iterating through all keys
27862
- * for (const key of KEYS_WILDCARD_HTTP_REDIRECT_REQUEST) {
27863
- * console.log(`Property: ${key}, Value: ${wildcardhttpredirectrequest[key]}`);
27864
- * }
27865
- *
27866
- * // Validation
27867
- * const isValidKey = KEYS_WILDCARD_HTTP_REDIRECT_REQUEST.includes(someKey);
27868
- * ```
27869
- *
27870
- * @see {@link WildcardHttpRedirectRequest} - The TypeScript type definition
27871
- */
27872
- export const KEYS_WILDCARD_HTTP_REDIRECT_REQUEST = [
27873
- KEY_WILDCARD_HTTP_REDIRECT_REQUEST_REDIRECT_CODE,
27874
- KEY_WILDCARD_HTTP_REDIRECT_REQUEST_REQUEST_PATH,
27875
- KEY_WILDCARD_HTTP_REDIRECT_REQUEST_REQUEST_SUBDOMAIN,
27876
- KEY_WILDCARD_HTTP_REDIRECT_REQUEST_TARGET_HOSTNAME,
27877
- KEY_WILDCARD_HTTP_REDIRECT_REQUEST_TARGET_PATH,
27878
- KEY_WILDCARD_HTTP_REDIRECT_REQUEST_TARGET_PROTOCOL,
27879
- ] as const satisfies (keyof WildcardHttpRedirectRequest)[];
27880
-
27881
27702
  /**
27882
27703
  * Detail
27883
27704
  *
@@ -2066,61 +2066,6 @@ export type GET_DomainForwardsHostnameProtocol_Request = {
2066
2066
  */
2067
2067
  export type GET_DomainForwardsHostnameProtocol_Request_Path = GET_DomainForwardsHostnameProtocol_Request['parameters']['path'];
2068
2068
 
2069
- /**
2070
- * Request type for POST DomainForwardsHostnameProtocol endpoint
2071
- *
2072
- * Create domain forward set (deprecated)
2073
- * Deprecated: Use POST /{hostname} with protocol in body instead. Creates a new domain forward set for a specific protocol (HTTP or HTTPS).
2074
- *
2075
- * @remarks
2076
- * This type defines the complete request structure for the POST DomainForwardsHostnameProtocol endpoint.
2077
- * It includes all parameters (query, path) and request body types as defined in the OpenAPI specification.
2078
- * Use this type to ensure type safety when making API requests to this endpoint.
2079
- *
2080
- * @example
2081
- * Use this type to ensure type safety when making API requests to this endpoint.
2082
- *
2083
- * @path /v1/domain-forwards/{hostname}/{protocol}
2084
- * @param hostname (path) - Hostname
2085
- *
2086
- * @see {@link POST_DomainForwardsHostnameProtocol_Request_Query} - Query parameters type
2087
- * @see {@link POST_DomainForwardsHostnameProtocol_Request_Path} - Path parameters type
2088
- * @see {@link POST_DomainForwardsHostnameProtocol_Request_Body} - Request body type
2089
- */
2090
- export type POST_DomainForwardsHostnameProtocol_Request = {
2091
- parameters: {
2092
- path: operations['create_domain_forward_set_deprecated_v1_domain_forwards__hostname___protocol__post']['parameters']['path'];
2093
- };
2094
- requestBody: DomainForwardSetRequest;
2095
- }
2096
- /**
2097
- * Path parameters for POST /v1/domain-forwards/{hostname}/{protocol}
2098
- *
2099
- * @remarks
2100
- * This type defines the path parameters for the POST /v1/domain-forwards/{hostname}/{protocol} endpoint.
2101
- * It provides type safety for all path parameters as defined in the OpenAPI specification.
2102
- *
2103
- * @example
2104
- * Use this type to ensure type safety for path parameters.
2105
- *
2106
- * @path /v1/domain-forwards/{hostname}/{protocol}
2107
- * @param hostname (path) - Hostname
2108
- */
2109
- export type POST_DomainForwardsHostnameProtocol_Request_Path = POST_DomainForwardsHostnameProtocol_Request['parameters']['path'];
2110
- /**
2111
- * Request body for POST /v1/domain-forwards/{hostname}/{protocol}
2112
- *
2113
- * @remarks
2114
- * This type defines the request body structure for the POST /v1/domain-forwards/{hostname}/{protocol} endpoint.
2115
- * It provides type safety for the request body as defined in the OpenAPI specification.
2116
- *
2117
- * @example
2118
- * Use this type to ensure type safety for request body structure.
2119
- *
2120
- * @path /v1/domain-forwards/{hostname}/{protocol}
2121
- */
2122
- export type POST_DomainForwardsHostnameProtocol_Request_Body = POST_DomainForwardsHostnameProtocol_Request['requestBody'];
2123
-
2124
2069
  /**
2125
2070
  * Request type for PUT DomainForwardsHostnameProtocol endpoint
2126
2071
  *
@@ -3688,141 +3688,6 @@ export type GET_DomainForwardsByHostnameByProtocol_Response_404 = Problem
3688
3688
  */
3689
3689
  export type GET_DomainForwardsByHostnameByProtocol_Response_422 = HTTPValidationError
3690
3690
 
3691
- /**
3692
- * Response types for POST DomainForwardsByHostnameByProtocol endpoint
3693
- *
3694
- * Create domain forward set (deprecated)
3695
- * Deprecated: Use POST /{hostname} with protocol in body instead. Creates a new domain forward set for a specific protocol (HTTP or HTTPS).
3696
- *
3697
- * @remarks
3698
- * This type defines all possible response structures for the POST DomainForwardsByHostnameByProtocol endpoint.
3699
- * Each response code maps to a specific response type as defined in the OpenAPI specification.
3700
- * Use this type to ensure type safety when handling API responses from this endpoint.
3701
- *
3702
-
3703
- *
3704
- * @path /v1/domain-forwards/{hostname}/{protocol}
3705
- * @param hostname (path) - Hostname
3706
- *
3707
- * @see {@link POST_DomainForwardsByHostnameByProtocol_Response_201} - 201 response type
3708
- * @see {@link POST_DomainForwardsByHostnameByProtocol_Response_401} - 401 response type
3709
- * @see {@link POST_DomainForwardsByHostnameByProtocol_Response_403} - 403 response type
3710
- * @see {@link POST_DomainForwardsByHostnameByProtocol_Response_404} - 404 response type
3711
- * @see {@link POST_DomainForwardsByHostnameByProtocol_Response_409} - 409 response type
3712
- * @see {@link POST_DomainForwardsByHostnameByProtocol_Response_422} - 422 response type
3713
- *
3714
-
3715
- */
3716
- export type POST_DomainForwardsByHostnameByProtocol_Response = POST_DomainForwardsByHostnameByProtocol_Response_201 | POST_DomainForwardsByHostnameByProtocol_Response_401 | POST_DomainForwardsByHostnameByProtocol_Response_403 | POST_DomainForwardsByHostnameByProtocol_Response_404 | POST_DomainForwardsByHostnameByProtocol_Response_409 | POST_DomainForwardsByHostnameByProtocol_Response_422;
3717
-
3718
- /**
3719
- * 201 response for POST DomainForwardsByHostnameByProtocol endpoint
3720
- *
3721
- * @remarks
3722
- * This type defines the response structure for the 201 status code
3723
- * of the POST DomainForwardsByHostnameByProtocol endpoint.
3724
- * It provides type safety for handling this specific response as defined in the OpenAPI specification.
3725
- *
3726
-
3727
- *
3728
- * @path /v1/domain-forwards/{hostname}/{protocol}
3729
- * @param hostname (path) - Hostname
3730
- *
3731
- * @see {@link POST_DomainForwardsByHostnameByProtocol_Response} - The main response type definition
3732
- * @see {@link DomainForwardSet} - The actual schema type definition
3733
- */
3734
- export type POST_DomainForwardsByHostnameByProtocol_Response_201 = DomainForwardSet
3735
-
3736
- /**
3737
- * 401 response for POST DomainForwardsByHostnameByProtocol endpoint
3738
- *
3739
- * @remarks
3740
- * This type defines the response structure for the 401 status code
3741
- * of the POST DomainForwardsByHostnameByProtocol endpoint.
3742
- * It provides type safety for handling this specific response as defined in the OpenAPI specification.
3743
- *
3744
-
3745
- *
3746
- * @path /v1/domain-forwards/{hostname}/{protocol}
3747
- * @param hostname (path) - Hostname
3748
- *
3749
- * @see {@link POST_DomainForwardsByHostnameByProtocol_Response} - The main response type definition
3750
- * @see {@link Problem} - The actual schema type definition
3751
- */
3752
- export type POST_DomainForwardsByHostnameByProtocol_Response_401 = Problem
3753
-
3754
- /**
3755
- * 403 response for POST DomainForwardsByHostnameByProtocol endpoint
3756
- *
3757
- * @remarks
3758
- * This type defines the response structure for the 403 status code
3759
- * of the POST DomainForwardsByHostnameByProtocol endpoint.
3760
- * It provides type safety for handling this specific response as defined in the OpenAPI specification.
3761
- *
3762
-
3763
- *
3764
- * @path /v1/domain-forwards/{hostname}/{protocol}
3765
- * @param hostname (path) - Hostname
3766
- *
3767
- * @see {@link POST_DomainForwardsByHostnameByProtocol_Response} - The main response type definition
3768
- * @see {@link Problem} - The actual schema type definition
3769
- */
3770
- export type POST_DomainForwardsByHostnameByProtocol_Response_403 = Problem
3771
-
3772
- /**
3773
- * 404 response for POST DomainForwardsByHostnameByProtocol endpoint
3774
- *
3775
- * @remarks
3776
- * This type defines the response structure for the 404 status code
3777
- * of the POST DomainForwardsByHostnameByProtocol endpoint.
3778
- * It provides type safety for handling this specific response as defined in the OpenAPI specification.
3779
- *
3780
-
3781
- *
3782
- * @path /v1/domain-forwards/{hostname}/{protocol}
3783
- * @param hostname (path) - Hostname
3784
- *
3785
- * @see {@link POST_DomainForwardsByHostnameByProtocol_Response} - The main response type definition
3786
- * @see {@link Problem} - The actual schema type definition
3787
- */
3788
- export type POST_DomainForwardsByHostnameByProtocol_Response_404 = Problem
3789
-
3790
- /**
3791
- * 409 response for POST DomainForwardsByHostnameByProtocol endpoint
3792
- *
3793
- * @remarks
3794
- * This type defines the response structure for the 409 status code
3795
- * of the POST DomainForwardsByHostnameByProtocol endpoint.
3796
- * It provides type safety for handling this specific response as defined in the OpenAPI specification.
3797
- *
3798
-
3799
- *
3800
- * @path /v1/domain-forwards/{hostname}/{protocol}
3801
- * @param hostname (path) - Hostname
3802
- *
3803
- * @see {@link POST_DomainForwardsByHostnameByProtocol_Response} - The main response type definition
3804
- * @see {@link Problem} - The actual schema type definition
3805
- */
3806
- export type POST_DomainForwardsByHostnameByProtocol_Response_409 = Problem
3807
-
3808
- /**
3809
- * 422 response for POST DomainForwardsByHostnameByProtocol endpoint
3810
- *
3811
- * @remarks
3812
- * This type defines the response structure for the 422 status code
3813
- * of the POST DomainForwardsByHostnameByProtocol endpoint.
3814
- * It provides type safety for handling this specific response as defined in the OpenAPI specification.
3815
- *
3816
-
3817
- *
3818
- * @path /v1/domain-forwards/{hostname}/{protocol}
3819
- * @param hostname (path) - Hostname
3820
- *
3821
- * @see {@link POST_DomainForwardsByHostnameByProtocol_Response} - The main response type definition
3822
- * @see {@link HTTPValidationError} - The actual schema type definition
3823
- */
3824
- export type POST_DomainForwardsByHostnameByProtocol_Response_422 = HTTPValidationError
3825
-
3826
3691
  /**
3827
3692
  * Response types for PUT DomainForwardsByHostnameByProtocol endpoint
3828
3693
  *
@@ -21,7 +21,7 @@
21
21
  * This file is auto-generated from the OpenAPI specification.
22
22
  * Do not edit manually.
23
23
  */
24
- import { DomainDnssecData, DomainDnssecDataCreate, OrganizationAttribute, OrganizationAttributeUpdate, IpRestriction, TldResponseShort, AttributeCondition, DomainContactType, ContactAttributeLinkDetail, ContactAttributeDefinition, PostalAddressType, ContactConfigBase, DnsChange, DnsRecordCreate, DnsRecord, DnsRrsetCreate, DnsRecordPatchOp, DnsRrset, DnsRrsetPatchOp, DomainAvailabilityCheck, ContactHandle, Nameserver, BrowserStatsBucket, GeoStatsBucket, TimeSeriesBucket, DomainForwardPatchOp, PlatformStatsBucket, HttpRedirectList, ReferrerStatsBucket, StatusCodeStatsBucket, UserAgentStatsBucket, VisitsByKeyBucket, DomainForward, DeletePolicyType, SyncOperationType, DomainContact, DomainHost, DomainSearchSuggestionWithPrice, DomainStatus, DomainClientStatus, EmailForwardAliasCreate, EmailForwardLogEvent, EmailForwardAliasMetrics, EmailForwardAlias, EmailForward, PriceInfo, ValidationError, LaunchPhaseBase, LocalPresenceRequirementType, OrganizationAttribute2, User, OrganizationAttributeCreate, UserCreate, BillingTransaction, ContactAttributeSet, ContactDetail, DnsZone, DomainForwardZone, Domain, EmailForwardLog, EmailForwardZone, EventResponse, Invoice, ObjectLog, Organization, Parking, RequestHistory, UserPublic, Period, Permission, PremiumAffectsType, Relation, TldBase, PostTransferRequirements, UserAttributeBase, DomainAvailability } from './schemas.d';
24
+ import { DomainDnssecData, DomainDnssecDataCreate, OrganizationAttribute, OrganizationAttributeUpdate, IpRestriction, TldResponseShort, AttributeCondition, DomainContactType, ContactAttributeLinkDetail, ContactAttributeDefinition, PostalAddressType, ContactConfigBase, DnsChange, DnsRecordCreate, DnsRecord, DnsRrsetCreate, DnsRecordPatchOp, DnsRrset, DnsRrsetPatchOp, DomainAvailabilityCheck, ContactHandle, Nameserver, BrowserStatsBucket, GeoStatsBucket, TimeSeriesBucket, DomainForwardPatchOp, PlatformStatsBucket, HttpRedirectRequest, HttpRedirectList, ReferrerStatsBucket, StatusCodeStatsBucket, UserAgentStatsBucket, VisitsByKeyBucket, DomainForward, DeletePolicyType, SyncOperationType, DomainContact, DomainHost, DomainSearchSuggestionWithPrice, DomainStatus, DomainClientStatus, EmailForwardAliasCreate, EmailForwardLogEvent, EmailForwardAliasMetrics, EmailForwardAlias, EmailForward, PriceInfo, ValidationError, LaunchPhaseBase, LocalPresenceRequirementType, OrganizationAttribute2, User, OrganizationAttributeCreate, UserCreate, BillingTransaction, ContactAttributeSet, ContactDetail, DnsZone, DomainForwardZone, Domain, EmailForwardLog, EmailForwardZone, EventResponse, Invoice, ObjectLog, Organization, Parking, RequestHistory, UserPublic, Period, Permission, PremiumAffectsType, Relation, TldBase, PostTransferRequirements, UserAttributeBase, DomainAvailability } from './schemas.d';
25
25
 
26
26
  /**
27
27
  * DomainDnssecDataResponse
@@ -401,6 +401,20 @@ export type DomainForwardPatchOpArray = DomainForwardPatchOp[];
401
401
  * @see {@link PlatformStatsBucket} - The individual PlatformStatsBucket type definition
402
402
  */
403
403
  export type PlatformStatsBucketArray = PlatformStatsBucket[];
404
+ /**
405
+ * HttpRedirectRequest
406
+ *
407
+ * @remarks
408
+ * Array type for HttpRedirectRequest objects. Used when the API returns a collection of HttpRedirectRequest instances.
409
+ *
410
+ * @example
411
+ * ```typescript
412
+ * const items: HttpRedirectRequestArray = await api.getHttpRedirectRequests();
413
+ * ```
414
+ *
415
+ * @see {@link HttpRedirectRequest} - The individual HttpRedirectRequest type definition
416
+ */
417
+ export type HttpRedirectRequestArray = HttpRedirectRequest[];
404
418
  /**
405
419
  * HttpRedirectListResponse
406
420
  *
@@ -4484,22 +4484,6 @@ export type VisitsByKeyBucket = components['schemas']['VisitsByKeyBucket'];
4484
4484
  * @see {@link components} - The OpenAPI components schema definition
4485
4485
  */
4486
4486
  export type WhoisBase = components['schemas']['WhoisBase'];
4487
- /**
4488
- * WildcardHttpRedirectRequest
4489
- *
4490
- * @remarks
4491
- * Type alias for the `WildcardHttpRedirectRequest` OpenAPI schema.
4492
- * This type represents wildcardhttpredirectrequest data structures used in API requests and responses.
4493
- *
4494
- * @example
4495
- * ```typescript
4496
- * const response = await api.getWildcardHttpRedirectRequest();
4497
- * const item: WildcardHttpRedirectRequest = response.results;
4498
- * ```
4499
- *
4500
- * @see {@link components} - The OpenAPI components schema definition
4501
- */
4502
- export type WildcardHttpRedirectRequest = components['schemas']['WildcardHttpRedirectRequest'];
4503
4487
  /**
4504
4488
  * ZoneSortField
4505
4489
  *
package/src/openapi.yaml CHANGED
@@ -2107,9 +2107,7 @@ components:
2107
2107
  properties:
2108
2108
  redirects:
2109
2109
  items:
2110
- anyOf:
2111
- - $ref: '#/components/schemas/HttpRedirectRequest'
2112
- - $ref: '#/components/schemas/WildcardHttpRedirectRequest'
2110
+ $ref: '#/components/schemas/HttpRedirectRequest'
2113
2111
  title: Redirects
2114
2112
  type: array
2115
2113
  required:
@@ -2154,9 +2152,7 @@ components:
2154
2152
  $ref: '#/components/schemas/HttpProtocol'
2155
2153
  redirects:
2156
2154
  items:
2157
- anyOf:
2158
- - $ref: '#/components/schemas/HttpRedirectRequest'
2159
- - $ref: '#/components/schemas/WildcardHttpRedirectRequest'
2155
+ $ref: '#/components/schemas/HttpRedirectRequest'
2160
2156
  title: Redirects
2161
2157
  type: array
2162
2158
  required:
@@ -2168,9 +2164,7 @@ components:
2168
2164
  properties:
2169
2165
  redirects:
2170
2166
  items:
2171
- anyOf:
2172
- - $ref: '#/components/schemas/HttpRedirectRequest'
2173
- - $ref: '#/components/schemas/WildcardHttpRedirectRequest'
2167
+ $ref: '#/components/schemas/HttpRedirectRequest'
2174
2168
  title: Redirects
2175
2169
  type: array
2176
2170
  required:
@@ -7142,33 +7136,6 @@ components:
7142
7136
  title: Whois Server
7143
7137
  title: WhoisBase
7144
7138
  type: object
7145
- WildcardHttpRedirectRequest:
7146
- properties:
7147
- redirect_code:
7148
- $ref: '#/components/schemas/RedirectCode'
7149
- request_path:
7150
- title: Request Path
7151
- type: string
7152
- request_subdomain:
7153
- title: Request Subdomain
7154
- type: string
7155
- target_hostname:
7156
- title: Target Hostname
7157
- type: string
7158
- target_path:
7159
- title: Target Path
7160
- type: string
7161
- target_protocol:
7162
- $ref: '#/components/schemas/HttpProtocol'
7163
- required:
7164
- - request_path
7165
- - target_protocol
7166
- - target_hostname
7167
- - target_path
7168
- - redirect_code
7169
- - request_subdomain
7170
- title: WildcardHttpRedirectRequest
7171
- type: object
7172
7139
  ZoneSortField:
7173
7140
  enum:
7174
7141
  - name
@@ -7350,7 +7317,7 @@ info:
7350
7317
  '
7351
7318
  summary: OpusDNS - your gateway to a seamless domain management experience.
7352
7319
  title: OpusDNS API
7353
- version: 2026-02-26-130807
7320
+ version: 2026-02-26-134941
7354
7321
  x-logo:
7355
7322
  altText: OpusDNS API Reference
7356
7323
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
@@ -12670,116 +12637,6 @@ paths:
12670
12637
  summary: Get domain forward set
12671
12638
  tags:
12672
12639
  - domain_forward
12673
- post:
12674
- deprecated: true
12675
- description: 'Deprecated: Use POST /{hostname} with protocol in body instead.
12676
- Creates a new domain forward set for a specific protocol (HTTP or HTTPS).'
12677
- operationId: create_domain_forward_set_deprecated_v1_domain_forwards__hostname___protocol__post
12678
- parameters:
12679
- - in: path
12680
- name: protocol
12681
- required: true
12682
- schema:
12683
- $ref: '#/components/schemas/HttpProtocol'
12684
- - description: Hostname
12685
- in: path
12686
- name: hostname
12687
- required: true
12688
- schema:
12689
- description: Hostname
12690
- title: Hostname
12691
- type: string
12692
- requestBody:
12693
- content:
12694
- application/json:
12695
- schema:
12696
- $ref: '#/components/schemas/DomainForwardSetRequest'
12697
- required: true
12698
- responses:
12699
- '201':
12700
- content:
12701
- application/json:
12702
- examples:
12703
- created_protocol_set:
12704
- description: New domain forward protocol set with HTTP redirects
12705
- summary: Protocol set created
12706
- value:
12707
- created_on: '2025-02-20T10:30:45'
12708
- hostname: example.com.
12709
- protocol: http
12710
- redirects:
12711
- - protected: false
12712
- redirect_code: 301
12713
- request_hostname: example.com.
12714
- request_path: /
12715
- request_protocol: http
12716
- target_hostname: example.com
12717
- target_path: /
12718
- target_protocol: https
12719
- updated_on: '2025-02-20T10:30:45'
12720
- schema:
12721
- $ref: '#/components/schemas/DomainForwardSetResponse'
12722
- description: Domain forward protocol set created successfully
12723
- '401':
12724
- content:
12725
- application/problem+json:
12726
- example:
12727
- code: ERROR_AUTHENTICATION
12728
- detail: Additional error context.
12729
- status: 401
12730
- title: Authentication Error
12731
- type: authentication
12732
- schema:
12733
- $ref: '#/components/schemas/Problem'
12734
- description: Unauthorized
12735
- '403':
12736
- content:
12737
- application/problem+json:
12738
- example:
12739
- code: ERROR_PERMISSION_DENIED
12740
- detail: Insufficient permissions to perform this action
12741
- status: 403
12742
- title: Permission Denied
12743
- type: permission-denied
12744
- schema:
12745
- $ref: '#/components/schemas/Problem'
12746
- description: Forbidden
12747
- '404':
12748
- content:
12749
- application/problem+json:
12750
- example:
12751
- code: ERROR_DOMAIN_FORWARD_NOT_EXISTS
12752
- detail: Domain forward not found for Additional error context.
12753
- status: 404
12754
- title: Domain Forward Error
12755
- type: domain-forward-not-found
12756
- schema:
12757
- $ref: '#/components/schemas/Problem'
12758
- description: Not Found
12759
- '409':
12760
- content:
12761
- application/problem+json:
12762
- example:
12763
- code: ERROR_DOMAIN_FORWARD_ALREADY_EXISTS
12764
- detail: Domain forward already exists for Additional error context.
12765
- status: 409
12766
- title: Domain Forward Error
12767
- type: domain-forward-already-exists
12768
- schema:
12769
- $ref: '#/components/schemas/Problem'
12770
- description: Conflict
12771
- '422':
12772
- content:
12773
- application/problem+json:
12774
- schema:
12775
- $ref: '#/components/schemas/HTTPValidationError'
12776
- description: Validation Error
12777
- security:
12778
- - OAuth2PasswordBearer: []
12779
- - APIKeyHeader: []
12780
- summary: Create domain forward set (deprecated)
12781
- tags:
12782
- - domain_forward
12783
12640
  put:
12784
12641
  description: Updates an existing domain forward set for a specific protocol
12785
12642
  (HTTP or HTTPS). All existing redirects for this protocol are replaced with
package/src/schema.d.ts CHANGED
@@ -806,12 +806,7 @@ export interface paths {
806
806
  * @description Updates an existing domain forward set for a specific protocol (HTTP or HTTPS). All existing redirects for this protocol are replaced with the provided redirects. Raises an error if the set does not exist.
807
807
  */
808
808
  put: operations["update_domain_forward_set_v1_domain_forwards__hostname___protocol__put"];
809
- /**
810
- * Create domain forward set (deprecated)
811
- * @deprecated
812
- * @description Deprecated: Use POST /{hostname} with protocol in body instead. Creates a new domain forward set for a specific protocol (HTTP or HTTPS).
813
- */
814
- post: operations["create_domain_forward_set_deprecated_v1_domain_forwards__hostname___protocol__post"];
809
+ post?: never;
815
810
  /**
816
811
  * Delete domain forward set
817
812
  * @description Deletes a domain forward set for a specific protocol (HTTP or HTTPS).
@@ -3363,7 +3358,7 @@ export interface components {
3363
3358
  /** DomainForwardProtocolSetRequest */
3364
3359
  DomainForwardProtocolSetRequest: {
3365
3360
  /** Redirects */
3366
- redirects: (components["schemas"]["HttpRedirectRequest"] | components["schemas"]["WildcardHttpRedirectRequest"])[];
3361
+ redirects: components["schemas"]["HttpRedirectRequest"][];
3367
3362
  };
3368
3363
  /** DomainForwardProtocolSetResponse */
3369
3364
  DomainForwardProtocolSetResponse: {
@@ -3389,12 +3384,12 @@ export interface components {
3389
3384
  DomainForwardSetCreateRequest: {
3390
3385
  protocol: components["schemas"]["HttpProtocol"];
3391
3386
  /** Redirects */
3392
- redirects: (components["schemas"]["HttpRedirectRequest"] | components["schemas"]["WildcardHttpRedirectRequest"])[];
3387
+ redirects: components["schemas"]["HttpRedirectRequest"][];
3393
3388
  };
3394
3389
  /** DomainForwardSetRequest */
3395
3390
  DomainForwardSetRequest: {
3396
3391
  /** Redirects */
3397
- redirects: (components["schemas"]["HttpRedirectRequest"] | components["schemas"]["WildcardHttpRedirectRequest"])[];
3392
+ redirects: components["schemas"]["HttpRedirectRequest"][];
3398
3393
  };
3399
3394
  /** DomainForwardSetResponse */
3400
3395
  DomainForwardSetResponse: {
@@ -6708,19 +6703,6 @@ export interface components {
6708
6703
  */
6709
6704
  whois_server?: string | null;
6710
6705
  };
6711
- /** WildcardHttpRedirectRequest */
6712
- WildcardHttpRedirectRequest: {
6713
- redirect_code: components["schemas"]["RedirectCode"];
6714
- /** Request Path */
6715
- request_path: string;
6716
- /** Request Subdomain */
6717
- request_subdomain: string;
6718
- /** Target Hostname */
6719
- target_hostname: string;
6720
- /** Target Path */
6721
- target_path: string;
6722
- target_protocol: components["schemas"]["HttpProtocol"];
6723
- };
6724
6706
  /**
6725
6707
  * ZoneSortField
6726
6708
  * @enum {string}
@@ -10369,107 +10351,6 @@ export interface operations {
10369
10351
  };
10370
10352
  };
10371
10353
  };
10372
- create_domain_forward_set_deprecated_v1_domain_forwards__hostname___protocol__post: {
10373
- parameters: {
10374
- query?: never;
10375
- header?: never;
10376
- path: {
10377
- protocol: components["schemas"]["HttpProtocol"];
10378
- /** @description Hostname */
10379
- hostname: string;
10380
- };
10381
- cookie?: never;
10382
- };
10383
- requestBody: {
10384
- content: {
10385
- "application/json": components["schemas"]["DomainForwardSetRequest"];
10386
- };
10387
- };
10388
- responses: {
10389
- /** @description Domain forward protocol set created successfully */
10390
- 201: {
10391
- headers: {
10392
- [name: string]: unknown;
10393
- };
10394
- content: {
10395
- "application/json": components["schemas"]["DomainForwardSetResponse"];
10396
- };
10397
- };
10398
- /** @description Unauthorized */
10399
- 401: {
10400
- headers: {
10401
- [name: string]: unknown;
10402
- };
10403
- content: {
10404
- /** @example {
10405
- * "code": "ERROR_AUTHENTICATION",
10406
- * "detail": "Additional error context.",
10407
- * "status": 401,
10408
- * "title": "Authentication Error",
10409
- * "type": "authentication"
10410
- * } */
10411
- "application/problem+json": components["schemas"]["Problem"];
10412
- };
10413
- };
10414
- /** @description Forbidden */
10415
- 403: {
10416
- headers: {
10417
- [name: string]: unknown;
10418
- };
10419
- content: {
10420
- /** @example {
10421
- * "code": "ERROR_PERMISSION_DENIED",
10422
- * "detail": "Insufficient permissions to perform this action",
10423
- * "status": 403,
10424
- * "title": "Permission Denied",
10425
- * "type": "permission-denied"
10426
- * } */
10427
- "application/problem+json": components["schemas"]["Problem"];
10428
- };
10429
- };
10430
- /** @description Not Found */
10431
- 404: {
10432
- headers: {
10433
- [name: string]: unknown;
10434
- };
10435
- content: {
10436
- /** @example {
10437
- * "code": "ERROR_DOMAIN_FORWARD_NOT_EXISTS",
10438
- * "detail": "Domain forward not found for Additional error context.",
10439
- * "status": 404,
10440
- * "title": "Domain Forward Error",
10441
- * "type": "domain-forward-not-found"
10442
- * } */
10443
- "application/problem+json": components["schemas"]["Problem"];
10444
- };
10445
- };
10446
- /** @description Conflict */
10447
- 409: {
10448
- headers: {
10449
- [name: string]: unknown;
10450
- };
10451
- content: {
10452
- /** @example {
10453
- * "code": "ERROR_DOMAIN_FORWARD_ALREADY_EXISTS",
10454
- * "detail": "Domain forward already exists for Additional error context.",
10455
- * "status": 409,
10456
- * "title": "Domain Forward Error",
10457
- * "type": "domain-forward-already-exists"
10458
- * } */
10459
- "application/problem+json": components["schemas"]["Problem"];
10460
- };
10461
- };
10462
- /** @description Validation Error */
10463
- 422: {
10464
- headers: {
10465
- [name: string]: unknown;
10466
- };
10467
- content: {
10468
- "application/problem+json": components["schemas"]["HTTPValidationError"];
10469
- };
10470
- };
10471
- };
10472
- };
10473
10354
  delete_domain_forward_set_v1_domain_forwards__hostname___protocol__delete: {
10474
10355
  parameters: {
10475
10356
  query?: never;