@opusdns/api 0.97.0 → 0.99.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 +103 -1
- package/src/helpers/requests.d.ts +1 -5
- package/src/helpers/responses.d.ts +1 -11
- package/src/helpers/schemas.d.ts +32 -0
- package/src/openapi.yaml +28 -152
- package/src/schema.d.ts +15 -23
package/package.json
CHANGED
package/src/helpers/constants.ts
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
* ```
|
|
22
22
|
*/
|
|
23
23
|
|
|
24
|
-
import { AllocationMethodType, AttributeType, BillingTransactionAction, BillingTransactionProductType, BillingTransactionSortField, BillingTransactionStatus, ContactRoleType, ContactSortField, Currency, DeletePolicyType, DnsChangeAction, DnsRrsetType, DnssecAlgorithm, DnssecDigestType, DnssecModeType, DnssecRecordType, DnssecStatus, DomainAttributeKey, DomainAvailabilityStatus, DomainClientStatus, DomainContactType, DomainSortField, DomainStatus, EmailVerificationStatus, EventObjectType, EventSortField, EventSubtype, EventType, GrantType, HttpProtocol, InvoiceResponsePaymentStatus, InvoiceResponseStatus, InvoiceResponseType, LaunchPhaseType, LocalPresenceRequirementType, OrganizationStatus, PatchOp, PeriodUnit, Permission, PostTransferRequirements, PostalAddressType, PremiumAffectsType, PremiumSourceType, RedirectCode, RegistrantChangeType, RegistryHandleAttributeType, Relation, RenewalMode, ReservedSourceType, SortOrder, SyncOperationType, TLDType, TransferAckType, UserStatus, VerificationType, ZoneSortField } from './schemas';
|
|
24
|
+
import { AllocationMethodType, AttributeType, BillingTransactionAction, BillingTransactionProductType, BillingTransactionSortField, BillingTransactionStatus, ContactRoleType, ContactSortField, Currency, DeletePolicyType, DnsChangeAction, DnsRrsetType, DnssecAlgorithm, DnssecDigestType, DnssecModeType, DnssecRecordType, DnssecStatus, DomainAttributeKey, DomainAvailabilityStatus, DomainClientStatus, DomainContactType, DomainForwardSortField, DomainForwardZoneSortField, DomainSortField, DomainStatus, EmailVerificationStatus, EventObjectType, EventSortField, EventSubtype, EventType, GrantType, HttpProtocol, InvoiceResponsePaymentStatus, InvoiceResponseStatus, InvoiceResponseType, LaunchPhaseType, LocalPresenceRequirementType, OrganizationStatus, PatchOp, PeriodUnit, Permission, PostTransferRequirements, PostalAddressType, PremiumAffectsType, PremiumSourceType, RedirectCode, RegistrantChangeType, RegistryHandleAttributeType, Relation, RenewalMode, ReservedSourceType, SortOrder, SyncOperationType, TLDType, TransferAckType, UserStatus, VerificationType, ZoneSortField } from './schemas';
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
27
|
* AllocationMethodType. Auto-generated enum for AllocationMethodType
|
|
@@ -1125,6 +1125,108 @@ export const DOMAIN_CONTACT_TYPE_VALUES = [
|
|
|
1125
1125
|
'billing'
|
|
1126
1126
|
] as const satisfies [string, ...string[]] | DomainContactType[];
|
|
1127
1127
|
|
|
1128
|
+
/**
|
|
1129
|
+
* DomainForwardSortField. Auto-generated enum for DomainForwardSortField
|
|
1130
|
+
*
|
|
1131
|
+
* @remarks
|
|
1132
|
+
* This constant provides both object and array forms for the DomainForwardSortField enum.
|
|
1133
|
+
* The object form allows key-value access, while the array form enables iteration and validation.
|
|
1134
|
+
*
|
|
1135
|
+
* @example
|
|
1136
|
+
* ```typescript
|
|
1137
|
+
* // Using the object form for key-value access
|
|
1138
|
+
* const status = DOMAIN_FORWARD_SORT_FIELD.SUCCESS;
|
|
1139
|
+
*
|
|
1140
|
+
* // Using the array form for iteration
|
|
1141
|
+
* const allStatuses = DOMAIN_FORWARD_SORT_FIELD_VALUES;
|
|
1142
|
+
* console.log(`Available statuses: ${allStatuses.join(', ')}`);
|
|
1143
|
+
* ```
|
|
1144
|
+
*
|
|
1145
|
+
* @see {@link DomainForwardSortField} - The TypeScript type definition
|
|
1146
|
+
*/
|
|
1147
|
+
export const DOMAIN_FORWARD_SORT_FIELD = {
|
|
1148
|
+
HOSTNAME: "hostname",
|
|
1149
|
+
ENABLED: "enabled",
|
|
1150
|
+
CREATED_ON: "created_on",
|
|
1151
|
+
} as const satisfies Record<string, DomainForwardSortField>;
|
|
1152
|
+
|
|
1153
|
+
/**
|
|
1154
|
+
* Array of all DomainForwardSortField enum values
|
|
1155
|
+
*
|
|
1156
|
+
* @remarks
|
|
1157
|
+
* This constant provides a array containing all valid DomainForwardSortField enum values.
|
|
1158
|
+
* Useful for iteration, validation, and generating dynamic UI components.
|
|
1159
|
+
*
|
|
1160
|
+
* @example
|
|
1161
|
+
* ```typescript
|
|
1162
|
+
* // Iterating through all values
|
|
1163
|
+
* for (const value of DOMAIN_FORWARD_SORT_FIELD_VALUES) {
|
|
1164
|
+
* console.log(`Processing: ${value}`);
|
|
1165
|
+
* }
|
|
1166
|
+
*
|
|
1167
|
+
* // Validation
|
|
1168
|
+
* const isValid = DOMAIN_FORWARD_SORT_FIELD_VALUES.includes(someValue);
|
|
1169
|
+
* ```
|
|
1170
|
+
*
|
|
1171
|
+
* @see {@link DomainForwardSortField} - The TypeScript type definition
|
|
1172
|
+
* @see {@link DOMAIN_FORWARD_SORT_FIELD} - The object form of this enum
|
|
1173
|
+
*/
|
|
1174
|
+
export const DOMAIN_FORWARD_SORT_FIELD_VALUES = [
|
|
1175
|
+
'hostname',
|
|
1176
|
+
'enabled',
|
|
1177
|
+
'created_on'
|
|
1178
|
+
] as const satisfies [string, ...string[]] | DomainForwardSortField[];
|
|
1179
|
+
|
|
1180
|
+
/**
|
|
1181
|
+
* DomainForwardZoneSortField. Auto-generated enum for DomainForwardZoneSortField
|
|
1182
|
+
*
|
|
1183
|
+
* @remarks
|
|
1184
|
+
* This constant provides both object and array forms for the DomainForwardZoneSortField enum.
|
|
1185
|
+
* The object form allows key-value access, while the array form enables iteration and validation.
|
|
1186
|
+
*
|
|
1187
|
+
* @example
|
|
1188
|
+
* ```typescript
|
|
1189
|
+
* // Using the object form for key-value access
|
|
1190
|
+
* const status = DOMAIN_FORWARD_ZONE_SORT_FIELD.SUCCESS;
|
|
1191
|
+
*
|
|
1192
|
+
* // Using the array form for iteration
|
|
1193
|
+
* const allStatuses = DOMAIN_FORWARD_ZONE_SORT_FIELD_VALUES;
|
|
1194
|
+
* console.log(`Available statuses: ${allStatuses.join(', ')}`);
|
|
1195
|
+
* ```
|
|
1196
|
+
*
|
|
1197
|
+
* @see {@link DomainForwardZoneSortField} - The TypeScript type definition
|
|
1198
|
+
*/
|
|
1199
|
+
export const DOMAIN_FORWARD_ZONE_SORT_FIELD = {
|
|
1200
|
+
NAME: "name",
|
|
1201
|
+
CREATED_ON: "created_on",
|
|
1202
|
+
} as const satisfies Record<string, DomainForwardZoneSortField>;
|
|
1203
|
+
|
|
1204
|
+
/**
|
|
1205
|
+
* Array of all DomainForwardZoneSortField enum values
|
|
1206
|
+
*
|
|
1207
|
+
* @remarks
|
|
1208
|
+
* This constant provides a array containing all valid DomainForwardZoneSortField enum values.
|
|
1209
|
+
* Useful for iteration, validation, and generating dynamic UI components.
|
|
1210
|
+
*
|
|
1211
|
+
* @example
|
|
1212
|
+
* ```typescript
|
|
1213
|
+
* // Iterating through all values
|
|
1214
|
+
* for (const value of DOMAIN_FORWARD_ZONE_SORT_FIELD_VALUES) {
|
|
1215
|
+
* console.log(`Processing: ${value}`);
|
|
1216
|
+
* }
|
|
1217
|
+
*
|
|
1218
|
+
* // Validation
|
|
1219
|
+
* const isValid = DOMAIN_FORWARD_ZONE_SORT_FIELD_VALUES.includes(someValue);
|
|
1220
|
+
* ```
|
|
1221
|
+
*
|
|
1222
|
+
* @see {@link DomainForwardZoneSortField} - The TypeScript type definition
|
|
1223
|
+
* @see {@link DOMAIN_FORWARD_ZONE_SORT_FIELD} - The object form of this enum
|
|
1224
|
+
*/
|
|
1225
|
+
export const DOMAIN_FORWARD_ZONE_SORT_FIELD_VALUES = [
|
|
1226
|
+
'name',
|
|
1227
|
+
'created_on'
|
|
1228
|
+
] as const satisfies [string, ...string[]] | DomainForwardZoneSortField[];
|
|
1229
|
+
|
|
1128
1230
|
/**
|
|
1129
1231
|
* DomainSortField. Auto-generated enum for DomainSortField
|
|
1130
1232
|
*
|
|
@@ -1098,7 +1098,7 @@ export type PUT_DnsZoneNameRrsets_Request_Body = PUT_DnsZoneNameRrsets_Request['
|
|
|
1098
1098
|
* Request type for GET DomainForwards endpoint
|
|
1099
1099
|
*
|
|
1100
1100
|
* List domain forwards
|
|
1101
|
-
* Retrieves a paginated list of domain forwards for the organization
|
|
1101
|
+
* Retrieves a paginated list of domain forwards by hostname for the organization
|
|
1102
1102
|
*
|
|
1103
1103
|
* @remarks
|
|
1104
1104
|
* This type defines the complete request structure for the GET DomainForwards endpoint.
|
|
@@ -1364,8 +1364,6 @@ export type PATCH_DomainForwardsHostnameDisable_Request_Path = PATCH_DomainForwa
|
|
|
1364
1364
|
*
|
|
1365
1365
|
* @path /v1/domain-forwards/{hostname}/enable
|
|
1366
1366
|
* @param hostname (path) - Hostname
|
|
1367
|
-
* @param auto_create_zone (query) - Auto create zone if it doesn't exist
|
|
1368
|
-
* @param auto_create_domain_forward (query) - Auto create domain forward if it doesn't exist
|
|
1369
1367
|
* @param wildcard (query) - Wildcard domain forwarding
|
|
1370
1368
|
*
|
|
1371
1369
|
* @see {@link PATCH_DomainForwardsHostnameEnable_Request_Query} - Query parameters type
|
|
@@ -1389,8 +1387,6 @@ export type PATCH_DomainForwardsHostnameEnable_Request = {
|
|
|
1389
1387
|
* Use this type to ensure type safety for query parameters.
|
|
1390
1388
|
*
|
|
1391
1389
|
* @path /v1/domain-forwards/{hostname}/enable
|
|
1392
|
-
* @param auto_create_zone (query) - Auto create zone if it doesn't exist
|
|
1393
|
-
* @param auto_create_domain_forward (query) - Auto create domain forward if it doesn't exist
|
|
1394
1390
|
* @param wildcard (query) - Wildcard domain forwarding
|
|
1395
1391
|
*/
|
|
1396
1392
|
export type PATCH_DomainForwardsHostnameEnable_Request_Query = PATCH_DomainForwardsHostnameEnable_Request['parameters']['query'];
|
|
@@ -1854,7 +1854,7 @@ export type GET_DnsSummary_Response_200 = DnsZoneSummary
|
|
|
1854
1854
|
* Response types for GET DomainForwards endpoint
|
|
1855
1855
|
*
|
|
1856
1856
|
* List domain forwards
|
|
1857
|
-
* Retrieves a paginated list of domain forwards for the organization
|
|
1857
|
+
* Retrieves a paginated list of domain forwards by hostname for the organization
|
|
1858
1858
|
*
|
|
1859
1859
|
* @remarks
|
|
1860
1860
|
* This type defines all possible response structures for the GET DomainForwards endpoint.
|
|
@@ -2939,8 +2939,6 @@ export type PATCH_DomainForwardsByHostnameDisable_Response_422 = HTTPValidationE
|
|
|
2939
2939
|
*
|
|
2940
2940
|
* @path /v1/domain-forwards/{hostname}/enable
|
|
2941
2941
|
* @param hostname (path) - Hostname
|
|
2942
|
-
* @param auto_create_zone (query) - Auto create zone if it doesn't exist
|
|
2943
|
-
* @param auto_create_domain_forward (query) - Auto create domain forward if it doesn't exist
|
|
2944
2942
|
* @param wildcard (query) - Wildcard domain forwarding
|
|
2945
2943
|
*
|
|
2946
2944
|
* @see {@link PATCH_DomainForwardsByHostnameEnable_Response_400} - 400 response type
|
|
@@ -2964,8 +2962,6 @@ export type PATCH_DomainForwardsByHostnameEnable_Response = PATCH_DomainForwards
|
|
|
2964
2962
|
*
|
|
2965
2963
|
* @path /v1/domain-forwards/{hostname}/enable
|
|
2966
2964
|
* @param hostname (path) - Hostname
|
|
2967
|
-
* @param auto_create_zone (query) - Auto create zone if it doesn't exist
|
|
2968
|
-
* @param auto_create_domain_forward (query) - Auto create domain forward if it doesn't exist
|
|
2969
2965
|
* @param wildcard (query) - Wildcard domain forwarding
|
|
2970
2966
|
*
|
|
2971
2967
|
* @see {@link PATCH_DomainForwardsByHostnameEnable_Response} - The main response type definition
|
|
@@ -2985,8 +2981,6 @@ export type PATCH_DomainForwardsByHostnameEnable_Response_400 = Problem
|
|
|
2985
2981
|
*
|
|
2986
2982
|
* @path /v1/domain-forwards/{hostname}/enable
|
|
2987
2983
|
* @param hostname (path) - Hostname
|
|
2988
|
-
* @param auto_create_zone (query) - Auto create zone if it doesn't exist
|
|
2989
|
-
* @param auto_create_domain_forward (query) - Auto create domain forward if it doesn't exist
|
|
2990
2984
|
* @param wildcard (query) - Wildcard domain forwarding
|
|
2991
2985
|
*
|
|
2992
2986
|
* @see {@link PATCH_DomainForwardsByHostnameEnable_Response} - The main response type definition
|
|
@@ -3006,8 +3000,6 @@ export type PATCH_DomainForwardsByHostnameEnable_Response_401 = Problem
|
|
|
3006
3000
|
*
|
|
3007
3001
|
* @path /v1/domain-forwards/{hostname}/enable
|
|
3008
3002
|
* @param hostname (path) - Hostname
|
|
3009
|
-
* @param auto_create_zone (query) - Auto create zone if it doesn't exist
|
|
3010
|
-
* @param auto_create_domain_forward (query) - Auto create domain forward if it doesn't exist
|
|
3011
3003
|
* @param wildcard (query) - Wildcard domain forwarding
|
|
3012
3004
|
*
|
|
3013
3005
|
* @see {@link PATCH_DomainForwardsByHostnameEnable_Response} - The main response type definition
|
|
@@ -3027,8 +3019,6 @@ export type PATCH_DomainForwardsByHostnameEnable_Response_403 = Problem
|
|
|
3027
3019
|
*
|
|
3028
3020
|
* @path /v1/domain-forwards/{hostname}/enable
|
|
3029
3021
|
* @param hostname (path) - Hostname
|
|
3030
|
-
* @param auto_create_zone (query) - Auto create zone if it doesn't exist
|
|
3031
|
-
* @param auto_create_domain_forward (query) - Auto create domain forward if it doesn't exist
|
|
3032
3022
|
* @param wildcard (query) - Wildcard domain forwarding
|
|
3033
3023
|
*
|
|
3034
3024
|
* @see {@link PATCH_DomainForwardsByHostnameEnable_Response} - The main response type definition
|
package/src/helpers/schemas.d.ts
CHANGED
|
@@ -1146,6 +1146,22 @@ export type DomainForwardSetRequest = components['schemas']['DomainForwardSetReq
|
|
|
1146
1146
|
* @see {@link components} - The OpenAPI components schema definition
|
|
1147
1147
|
*/
|
|
1148
1148
|
export type DomainForwardSet = components['schemas']['DomainForwardSetResponse'];
|
|
1149
|
+
/**
|
|
1150
|
+
* DomainForwardSortField
|
|
1151
|
+
*
|
|
1152
|
+
* @remarks
|
|
1153
|
+
* Type alias for the `DomainForwardSortField` OpenAPI schema.
|
|
1154
|
+
* This type represents domainforwardsortfield data structures used in API requests and responses.
|
|
1155
|
+
*
|
|
1156
|
+
* @example
|
|
1157
|
+
* ```typescript
|
|
1158
|
+
* const response = await api.getDomainForwardSortField();
|
|
1159
|
+
* const item: DomainForwardSortField = response.results;
|
|
1160
|
+
* ```
|
|
1161
|
+
*
|
|
1162
|
+
* @see {@link components} - The OpenAPI components schema definition
|
|
1163
|
+
*/
|
|
1164
|
+
export type DomainForwardSortField = components['schemas']['DomainForwardSortField'];
|
|
1149
1165
|
/**
|
|
1150
1166
|
* DomainForwardZone
|
|
1151
1167
|
*
|
|
@@ -1162,6 +1178,22 @@ export type DomainForwardSet = components['schemas']['DomainForwardSetResponse']
|
|
|
1162
1178
|
* @see {@link components} - The OpenAPI components schema definition
|
|
1163
1179
|
*/
|
|
1164
1180
|
export type DomainForwardZone = components['schemas']['DomainForwardZone'];
|
|
1181
|
+
/**
|
|
1182
|
+
* DomainForwardZoneSortField
|
|
1183
|
+
*
|
|
1184
|
+
* @remarks
|
|
1185
|
+
* Type alias for the `DomainForwardZoneSortField` OpenAPI schema.
|
|
1186
|
+
* This type represents domainforwardzonesortfield data structures used in API requests and responses.
|
|
1187
|
+
*
|
|
1188
|
+
* @example
|
|
1189
|
+
* ```typescript
|
|
1190
|
+
* const response = await api.getDomainForwardZoneSortField();
|
|
1191
|
+
* const item: DomainForwardZoneSortField = response.results;
|
|
1192
|
+
* ```
|
|
1193
|
+
*
|
|
1194
|
+
* @see {@link components} - The OpenAPI components schema definition
|
|
1195
|
+
*/
|
|
1196
|
+
export type DomainForwardZoneSortField = components['schemas']['DomainForwardZoneSortField'];
|
|
1165
1197
|
/**
|
|
1166
1198
|
* DomainLifecycleBase
|
|
1167
1199
|
*
|
package/src/openapi.yaml
CHANGED
|
@@ -1703,6 +1703,13 @@ components:
|
|
|
1703
1703
|
- created_on
|
|
1704
1704
|
title: DomainForwardSetResponse
|
|
1705
1705
|
type: object
|
|
1706
|
+
DomainForwardSortField:
|
|
1707
|
+
enum:
|
|
1708
|
+
- hostname
|
|
1709
|
+
- enabled
|
|
1710
|
+
- created_on
|
|
1711
|
+
title: DomainForwardSortField
|
|
1712
|
+
type: string
|
|
1706
1713
|
DomainForwardZone:
|
|
1707
1714
|
properties:
|
|
1708
1715
|
domain_forwards:
|
|
@@ -1727,6 +1734,12 @@ components:
|
|
|
1727
1734
|
- domain_forwards
|
|
1728
1735
|
title: DomainForwardZone
|
|
1729
1736
|
type: object
|
|
1737
|
+
DomainForwardZoneSortField:
|
|
1738
|
+
enum:
|
|
1739
|
+
- name
|
|
1740
|
+
- created_on
|
|
1741
|
+
title: DomainForwardZoneSortField
|
|
1742
|
+
type: string
|
|
1730
1743
|
DomainLifecycleBase:
|
|
1731
1744
|
properties:
|
|
1732
1745
|
add_grace_period:
|
|
@@ -5318,7 +5331,7 @@ info:
|
|
|
5318
5331
|
'
|
|
5319
5332
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
5320
5333
|
title: OpusDNS API
|
|
5321
|
-
version: 2025-11-
|
|
5334
|
+
version: 2025-11-24-120310
|
|
5322
5335
|
x-logo:
|
|
5323
5336
|
altText: OpusDNS API Reference
|
|
5324
5337
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
|
@@ -6540,34 +6553,6 @@ paths:
|
|
|
6540
6553
|
description: Retrieves a paginated list of domain forwards grouped by DNS zones.
|
|
6541
6554
|
operationId: list_domain_forwards_by_zone_v1_dns_domain_forwards_get
|
|
6542
6555
|
parameters:
|
|
6543
|
-
- in: query
|
|
6544
|
-
name: sort_by
|
|
6545
|
-
required: false
|
|
6546
|
-
schema:
|
|
6547
|
-
$ref: '#/components/schemas/ZoneSortField'
|
|
6548
|
-
default: created_on
|
|
6549
|
-
- in: query
|
|
6550
|
-
name: sort_order
|
|
6551
|
-
required: false
|
|
6552
|
-
schema:
|
|
6553
|
-
$ref: '#/components/schemas/SortOrder'
|
|
6554
|
-
default: desc
|
|
6555
|
-
- in: query
|
|
6556
|
-
name: dnssec_status
|
|
6557
|
-
required: false
|
|
6558
|
-
schema:
|
|
6559
|
-
anyOf:
|
|
6560
|
-
- $ref: '#/components/schemas/DnssecStatus'
|
|
6561
|
-
- type: 'null'
|
|
6562
|
-
title: Dnssec Status
|
|
6563
|
-
- in: query
|
|
6564
|
-
name: name
|
|
6565
|
-
required: false
|
|
6566
|
-
schema:
|
|
6567
|
-
anyOf:
|
|
6568
|
-
- type: string
|
|
6569
|
-
- type: 'null'
|
|
6570
|
-
title: Name
|
|
6571
6556
|
- in: query
|
|
6572
6557
|
name: search
|
|
6573
6558
|
required: false
|
|
@@ -6577,49 +6562,17 @@ paths:
|
|
|
6577
6562
|
- type: 'null'
|
|
6578
6563
|
title: Search
|
|
6579
6564
|
- in: query
|
|
6580
|
-
name:
|
|
6581
|
-
required: false
|
|
6582
|
-
schema:
|
|
6583
|
-
anyOf:
|
|
6584
|
-
- type: string
|
|
6585
|
-
- type: 'null'
|
|
6586
|
-
title: Suffix
|
|
6587
|
-
- in: query
|
|
6588
|
-
name: created_after
|
|
6589
|
-
required: false
|
|
6590
|
-
schema:
|
|
6591
|
-
anyOf:
|
|
6592
|
-
- format: date-time
|
|
6593
|
-
type: string
|
|
6594
|
-
- type: 'null'
|
|
6595
|
-
title: Created After
|
|
6596
|
-
- in: query
|
|
6597
|
-
name: created_before
|
|
6598
|
-
required: false
|
|
6599
|
-
schema:
|
|
6600
|
-
anyOf:
|
|
6601
|
-
- format: date-time
|
|
6602
|
-
type: string
|
|
6603
|
-
- type: 'null'
|
|
6604
|
-
title: Created Before
|
|
6605
|
-
- in: query
|
|
6606
|
-
name: updated_after
|
|
6565
|
+
name: sort_by
|
|
6607
6566
|
required: false
|
|
6608
6567
|
schema:
|
|
6609
|
-
|
|
6610
|
-
|
|
6611
|
-
type: string
|
|
6612
|
-
- type: 'null'
|
|
6613
|
-
title: Updated After
|
|
6568
|
+
$ref: '#/components/schemas/DomainForwardZoneSortField'
|
|
6569
|
+
default: created_on
|
|
6614
6570
|
- in: query
|
|
6615
|
-
name:
|
|
6571
|
+
name: sort_order
|
|
6616
6572
|
required: false
|
|
6617
6573
|
schema:
|
|
6618
|
-
|
|
6619
|
-
|
|
6620
|
-
type: string
|
|
6621
|
-
- type: 'null'
|
|
6622
|
-
title: Updated Before
|
|
6574
|
+
$ref: '#/components/schemas/SortOrder'
|
|
6575
|
+
default: desc
|
|
6623
6576
|
- in: query
|
|
6624
6577
|
name: page
|
|
6625
6578
|
required: false
|
|
@@ -6998,37 +6951,10 @@ paths:
|
|
|
6998
6951
|
- dns
|
|
6999
6952
|
/v1/domain-forwards:
|
|
7000
6953
|
get:
|
|
7001
|
-
description: Retrieves a paginated list of domain forwards for the
|
|
6954
|
+
description: Retrieves a paginated list of domain forwards by hostname for the
|
|
6955
|
+
organization
|
|
7002
6956
|
operationId: list_domain_forwards_v1_domain_forwards_get
|
|
7003
6957
|
parameters:
|
|
7004
|
-
- in: query
|
|
7005
|
-
name: sort_by
|
|
7006
|
-
required: false
|
|
7007
|
-
schema:
|
|
7008
|
-
$ref: '#/components/schemas/ZoneSortField'
|
|
7009
|
-
default: created_on
|
|
7010
|
-
- in: query
|
|
7011
|
-
name: sort_order
|
|
7012
|
-
required: false
|
|
7013
|
-
schema:
|
|
7014
|
-
$ref: '#/components/schemas/SortOrder'
|
|
7015
|
-
default: desc
|
|
7016
|
-
- in: query
|
|
7017
|
-
name: dnssec_status
|
|
7018
|
-
required: false
|
|
7019
|
-
schema:
|
|
7020
|
-
anyOf:
|
|
7021
|
-
- $ref: '#/components/schemas/DnssecStatus'
|
|
7022
|
-
- type: 'null'
|
|
7023
|
-
title: Dnssec Status
|
|
7024
|
-
- in: query
|
|
7025
|
-
name: name
|
|
7026
|
-
required: false
|
|
7027
|
-
schema:
|
|
7028
|
-
anyOf:
|
|
7029
|
-
- type: string
|
|
7030
|
-
- type: 'null'
|
|
7031
|
-
title: Name
|
|
7032
6958
|
- in: query
|
|
7033
6959
|
name: search
|
|
7034
6960
|
required: false
|
|
@@ -7038,49 +6964,17 @@ paths:
|
|
|
7038
6964
|
- type: 'null'
|
|
7039
6965
|
title: Search
|
|
7040
6966
|
- in: query
|
|
7041
|
-
name:
|
|
7042
|
-
required: false
|
|
7043
|
-
schema:
|
|
7044
|
-
anyOf:
|
|
7045
|
-
- type: string
|
|
7046
|
-
- type: 'null'
|
|
7047
|
-
title: Suffix
|
|
7048
|
-
- in: query
|
|
7049
|
-
name: created_after
|
|
7050
|
-
required: false
|
|
7051
|
-
schema:
|
|
7052
|
-
anyOf:
|
|
7053
|
-
- format: date-time
|
|
7054
|
-
type: string
|
|
7055
|
-
- type: 'null'
|
|
7056
|
-
title: Created After
|
|
7057
|
-
- in: query
|
|
7058
|
-
name: created_before
|
|
7059
|
-
required: false
|
|
7060
|
-
schema:
|
|
7061
|
-
anyOf:
|
|
7062
|
-
- format: date-time
|
|
7063
|
-
type: string
|
|
7064
|
-
- type: 'null'
|
|
7065
|
-
title: Created Before
|
|
7066
|
-
- in: query
|
|
7067
|
-
name: updated_after
|
|
6967
|
+
name: sort_by
|
|
7068
6968
|
required: false
|
|
7069
6969
|
schema:
|
|
7070
|
-
|
|
7071
|
-
|
|
7072
|
-
type: string
|
|
7073
|
-
- type: 'null'
|
|
7074
|
-
title: Updated After
|
|
6970
|
+
$ref: '#/components/schemas/DomainForwardSortField'
|
|
6971
|
+
default: created_on
|
|
7075
6972
|
- in: query
|
|
7076
|
-
name:
|
|
6973
|
+
name: sort_order
|
|
7077
6974
|
required: false
|
|
7078
6975
|
schema:
|
|
7079
|
-
|
|
7080
|
-
|
|
7081
|
-
type: string
|
|
7082
|
-
- type: 'null'
|
|
7083
|
-
title: Updated Before
|
|
6976
|
+
$ref: '#/components/schemas/SortOrder'
|
|
6977
|
+
default: desc
|
|
7084
6978
|
- in: query
|
|
7085
6979
|
name: page
|
|
7086
6980
|
required: false
|
|
@@ -7576,24 +7470,6 @@ paths:
|
|
|
7576
7470
|
description: Hostname
|
|
7577
7471
|
title: Hostname
|
|
7578
7472
|
type: string
|
|
7579
|
-
- description: Auto create zone if it doesn't exist
|
|
7580
|
-
in: query
|
|
7581
|
-
name: auto_create_zone
|
|
7582
|
-
required: false
|
|
7583
|
-
schema:
|
|
7584
|
-
default: false
|
|
7585
|
-
description: Auto create zone if it doesn't exist
|
|
7586
|
-
title: Auto Create Zone
|
|
7587
|
-
type: boolean
|
|
7588
|
-
- description: Auto create domain forward if it doesn't exist
|
|
7589
|
-
in: query
|
|
7590
|
-
name: auto_create_domain_forward
|
|
7591
|
-
required: false
|
|
7592
|
-
schema:
|
|
7593
|
-
default: false
|
|
7594
|
-
description: Auto create domain forward if it doesn't exist
|
|
7595
|
-
title: Auto Create Domain Forward
|
|
7596
|
-
type: boolean
|
|
7597
7473
|
- description: Wildcard domain forwarding
|
|
7598
7474
|
in: query
|
|
7599
7475
|
name: wildcard
|
package/src/schema.d.ts
CHANGED
|
@@ -331,7 +331,7 @@ export interface paths {
|
|
|
331
331
|
};
|
|
332
332
|
/**
|
|
333
333
|
* List domain forwards
|
|
334
|
-
* @description Retrieves a paginated list of domain forwards for the organization
|
|
334
|
+
* @description Retrieves a paginated list of domain forwards by hostname for the organization
|
|
335
335
|
*/
|
|
336
336
|
get: operations["list_domain_forwards_v1_domain_forwards_get"];
|
|
337
337
|
put?: never;
|
|
@@ -2454,6 +2454,11 @@ export interface components {
|
|
|
2454
2454
|
/** Wildcard */
|
|
2455
2455
|
wildcard: boolean;
|
|
2456
2456
|
};
|
|
2457
|
+
/**
|
|
2458
|
+
* DomainForwardSortField
|
|
2459
|
+
* @enum {string}
|
|
2460
|
+
*/
|
|
2461
|
+
DomainForwardSortField: "hostname" | "enabled" | "created_on";
|
|
2457
2462
|
/** DomainForwardZone */
|
|
2458
2463
|
DomainForwardZone: {
|
|
2459
2464
|
/** Domain Forwards */
|
|
@@ -2467,6 +2472,11 @@ export interface components {
|
|
|
2467
2472
|
/** Zone Name */
|
|
2468
2473
|
zone_name: string;
|
|
2469
2474
|
};
|
|
2475
|
+
/**
|
|
2476
|
+
* DomainForwardZoneSortField
|
|
2477
|
+
* @enum {string}
|
|
2478
|
+
*/
|
|
2479
|
+
DomainForwardZoneSortField: "name" | "created_on";
|
|
2470
2480
|
/** DomainLifecycleBase */
|
|
2471
2481
|
DomainLifecycleBase: {
|
|
2472
2482
|
/**
|
|
@@ -5741,16 +5751,9 @@ export interface operations {
|
|
|
5741
5751
|
list_domain_forwards_by_zone_v1_dns_domain_forwards_get: {
|
|
5742
5752
|
parameters: {
|
|
5743
5753
|
query?: {
|
|
5744
|
-
sort_by?: components["schemas"]["ZoneSortField"];
|
|
5745
|
-
sort_order?: components["schemas"]["SortOrder"];
|
|
5746
|
-
dnssec_status?: components["schemas"]["DnssecStatus"] | null;
|
|
5747
|
-
name?: string | null;
|
|
5748
5754
|
search?: string | null;
|
|
5749
|
-
|
|
5750
|
-
|
|
5751
|
-
created_before?: Date | null;
|
|
5752
|
-
updated_after?: Date | null;
|
|
5753
|
-
updated_before?: Date | null;
|
|
5755
|
+
sort_by?: components["schemas"]["DomainForwardZoneSortField"];
|
|
5756
|
+
sort_order?: components["schemas"]["SortOrder"];
|
|
5754
5757
|
page?: number;
|
|
5755
5758
|
page_size?: number;
|
|
5756
5759
|
};
|
|
@@ -6175,16 +6178,9 @@ export interface operations {
|
|
|
6175
6178
|
list_domain_forwards_v1_domain_forwards_get: {
|
|
6176
6179
|
parameters: {
|
|
6177
6180
|
query?: {
|
|
6178
|
-
sort_by?: components["schemas"]["ZoneSortField"];
|
|
6179
|
-
sort_order?: components["schemas"]["SortOrder"];
|
|
6180
|
-
dnssec_status?: components["schemas"]["DnssecStatus"] | null;
|
|
6181
|
-
name?: string | null;
|
|
6182
6181
|
search?: string | null;
|
|
6183
|
-
|
|
6184
|
-
|
|
6185
|
-
created_before?: Date | null;
|
|
6186
|
-
updated_after?: Date | null;
|
|
6187
|
-
updated_before?: Date | null;
|
|
6182
|
+
sort_by?: components["schemas"]["DomainForwardSortField"];
|
|
6183
|
+
sort_order?: components["schemas"]["SortOrder"];
|
|
6188
6184
|
page?: number;
|
|
6189
6185
|
page_size?: number;
|
|
6190
6186
|
};
|
|
@@ -6649,10 +6645,6 @@ export interface operations {
|
|
|
6649
6645
|
enable_domain_forward_v1_domain_forwards__hostname__enable_patch: {
|
|
6650
6646
|
parameters: {
|
|
6651
6647
|
query?: {
|
|
6652
|
-
/** @description Auto create zone if it doesn't exist */
|
|
6653
|
-
auto_create_zone?: boolean;
|
|
6654
|
-
/** @description Auto create domain forward if it doesn't exist */
|
|
6655
|
-
auto_create_domain_forward?: boolean;
|
|
6656
6648
|
/** @description Wildcard domain forwarding */
|
|
6657
6649
|
wildcard?: boolean;
|
|
6658
6650
|
};
|