@opusdns/api 0.130.0 → 0.131.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 +16 -16
- package/src/helpers/schemas.d.ts +2 -2
- package/src/openapi.yaml +5 -5
- package/src/schema.d.ts +4 -4
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, DomainForwardSortField, DomainForwardZoneSortField, DomainSortField, DomainStatus, EmailForwardLogSortField, EmailForwardSortField, EmailForwardZoneSortField, EmailVerificationStatus, EventObjectType, EventSortField, EventSubtype, EventType, GrantType, HostStatus, HttpProtocol, InvoiceResponsePaymentStatus, InvoiceResponseStatus, InvoiceResponseType, LaunchPhaseType, LocalPresenceRequirementType, ObjectEventType, ObjectLogSortField, OrganizationStatus, PeriodUnit, Permission, PostTransferRequirements, PostalAddressType, PremiumAffectsType, PremiumSourceType, RedirectCode, RegistrantChangeType, RegistryHandleAttributeType, Relation, RenewalMode, RequestHistorySortField, ReservedSourceType, SortOrder, SyncOperationType, TLDType, TransferAckType, UserStatus, VerificationType, ZoneSortField,
|
|
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, EmailForwardLogSortField, EmailForwardSortField, EmailForwardZoneSortField, EmailVerificationStatus, EventObjectType, EventSortField, EventSubtype, EventType, GrantType, HostStatus, HttpProtocol, InvoiceResponsePaymentStatus, InvoiceResponseStatus, InvoiceResponseType, LaunchPhaseType, LocalPresenceRequirementType, ObjectEventType, ObjectLogSortField, OrganizationStatus, PeriodUnit, Permission, PostTransferRequirements, PostalAddressType, PremiumAffectsType, PremiumSourceType, RedirectCode, RegistrantChangeType, RegistryHandleAttributeType, Relation, RenewalMode, RequestHistorySortField, ReservedSourceType, SortOrder, SyncOperationType, TLDType, TransferAckType, UserStatus, VerificationType, ZoneSortField, common__schemas__domain_forward__PatchOp } from './schemas';
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
27
|
* AllocationMethodType. Auto-generated enum for AllocationMethodType
|
|
@@ -3565,52 +3565,52 @@ export const ZONE_SORT_FIELD_VALUES = [
|
|
|
3565
3565
|
] as const satisfies [string, ...string[]] | ZoneSortField[];
|
|
3566
3566
|
|
|
3567
3567
|
/**
|
|
3568
|
-
* PatchOp. Auto-generated enum for
|
|
3568
|
+
* PatchOp. Auto-generated enum for common__schemas__domain_forward__PatchOp
|
|
3569
3569
|
*
|
|
3570
3570
|
* @remarks
|
|
3571
|
-
* This constant provides both object and array forms for the
|
|
3571
|
+
* This constant provides both object and array forms for the common__schemas__domain_forward__PatchOp enum.
|
|
3572
3572
|
* The object form allows key-value access, while the array form enables iteration and validation.
|
|
3573
3573
|
*
|
|
3574
3574
|
* @example
|
|
3575
3575
|
* ```typescript
|
|
3576
3576
|
* // Using the object form for key-value access
|
|
3577
|
-
* const status =
|
|
3577
|
+
* const status = COMMON_SCHEMAS_DOMAIN_FORWARD_PATCH_OP.SUCCESS;
|
|
3578
3578
|
*
|
|
3579
3579
|
* // Using the array form for iteration
|
|
3580
|
-
* const allStatuses =
|
|
3580
|
+
* const allStatuses = COMMON_SCHEMAS_DOMAIN_FORWARD_PATCH_OP_VALUES;
|
|
3581
3581
|
* console.log(`Available statuses: ${allStatuses.join(', ')}`);
|
|
3582
3582
|
* ```
|
|
3583
3583
|
*
|
|
3584
|
-
* @see {@link
|
|
3584
|
+
* @see {@link common__schemas__domain_forward__PatchOp} - The TypeScript type definition
|
|
3585
3585
|
*/
|
|
3586
|
-
export const
|
|
3586
|
+
export const COMMON_SCHEMAS_DOMAIN_FORWARD_PATCH_OP = {
|
|
3587
3587
|
UPSERT: "upsert",
|
|
3588
3588
|
REMOVE: "remove",
|
|
3589
|
-
} as const satisfies Record<string,
|
|
3589
|
+
} as const satisfies Record<string, common__schemas__domain_forward__PatchOp>;
|
|
3590
3590
|
|
|
3591
3591
|
/**
|
|
3592
|
-
* Array of all
|
|
3592
|
+
* Array of all common__schemas__domain_forward__PatchOp enum values
|
|
3593
3593
|
*
|
|
3594
3594
|
* @remarks
|
|
3595
|
-
* This constant provides a array containing all valid
|
|
3595
|
+
* This constant provides a array containing all valid common__schemas__domain_forward__PatchOp enum values.
|
|
3596
3596
|
* Useful for iteration, validation, and generating dynamic UI components.
|
|
3597
3597
|
*
|
|
3598
3598
|
* @example
|
|
3599
3599
|
* ```typescript
|
|
3600
3600
|
* // Iterating through all values
|
|
3601
|
-
* for (const value of
|
|
3601
|
+
* for (const value of COMMON_SCHEMAS_DOMAIN_FORWARD_PATCH_OP_VALUES) {
|
|
3602
3602
|
* console.log(`Processing: ${value}`);
|
|
3603
3603
|
* }
|
|
3604
3604
|
*
|
|
3605
3605
|
* // Validation
|
|
3606
|
-
* const isValid =
|
|
3606
|
+
* const isValid = COMMON_SCHEMAS_DOMAIN_FORWARD_PATCH_OP_VALUES.includes(someValue);
|
|
3607
3607
|
* ```
|
|
3608
3608
|
*
|
|
3609
|
-
* @see {@link
|
|
3610
|
-
* @see {@link
|
|
3609
|
+
* @see {@link common__schemas__domain_forward__PatchOp} - The TypeScript type definition
|
|
3610
|
+
* @see {@link COMMON_SCHEMAS_DOMAIN_FORWARD_PATCH_OP} - The object form of this enum
|
|
3611
3611
|
*/
|
|
3612
|
-
export const
|
|
3612
|
+
export const COMMON_SCHEMAS_DOMAIN_FORWARD_PATCH_OP_VALUES = [
|
|
3613
3613
|
'upsert',
|
|
3614
3614
|
'remove'
|
|
3615
|
-
] as const satisfies [string, ...string[]] |
|
|
3615
|
+
] as const satisfies [string, ...string[]] | common__schemas__domain_forward__PatchOp[];
|
|
3616
3616
|
|
package/src/helpers/schemas.d.ts
CHANGED
|
@@ -3795,7 +3795,7 @@ export type DomainAvailabilityCheck = components['schemas']['common__models__dom
|
|
|
3795
3795
|
* PatchOp
|
|
3796
3796
|
*
|
|
3797
3797
|
* @remarks
|
|
3798
|
-
* Type alias for the `
|
|
3798
|
+
* Type alias for the `common__schemas__domain_forward__PatchOp` OpenAPI schema.
|
|
3799
3799
|
* This type represents patchop data structures used in API requests and responses.
|
|
3800
3800
|
*
|
|
3801
3801
|
* @example
|
|
@@ -3806,4 +3806,4 @@ export type DomainAvailabilityCheck = components['schemas']['common__models__dom
|
|
|
3806
3806
|
*
|
|
3807
3807
|
* @see {@link components} - The OpenAPI components schema definition
|
|
3808
3808
|
*/
|
|
3809
|
-
export type PatchOp = components['schemas']['
|
|
3809
|
+
export type PatchOp = components['schemas']['common__schemas__domain_forward__PatchOp'];
|
package/src/openapi.yaml
CHANGED
|
@@ -1013,7 +1013,7 @@ components:
|
|
|
1013
1013
|
DnsRecordPatchOp:
|
|
1014
1014
|
properties:
|
|
1015
1015
|
op:
|
|
1016
|
-
$ref: '#/components/schemas/
|
|
1016
|
+
$ref: '#/components/schemas/common__schemas__domain_forward__PatchOp'
|
|
1017
1017
|
record:
|
|
1018
1018
|
$ref: '#/components/schemas/DnsRrsetWithOneRecordPatch'
|
|
1019
1019
|
required:
|
|
@@ -1077,7 +1077,7 @@ components:
|
|
|
1077
1077
|
DnsRrsetPatchOp:
|
|
1078
1078
|
properties:
|
|
1079
1079
|
op:
|
|
1080
|
-
$ref: '#/components/schemas/
|
|
1080
|
+
$ref: '#/components/schemas/common__schemas__domain_forward__PatchOp'
|
|
1081
1081
|
rrset:
|
|
1082
1082
|
$ref: '#/components/schemas/DnsRrsetPatch'
|
|
1083
1083
|
required:
|
|
@@ -1613,7 +1613,7 @@ components:
|
|
|
1613
1613
|
DomainForwardPatchOp:
|
|
1614
1614
|
properties:
|
|
1615
1615
|
op:
|
|
1616
|
-
$ref: '#/components/schemas/
|
|
1616
|
+
$ref: '#/components/schemas/common__schemas__domain_forward__PatchOp'
|
|
1617
1617
|
redirect:
|
|
1618
1618
|
anyOf:
|
|
1619
1619
|
- $ref: '#/components/schemas/HttpRedirectUpsert'
|
|
@@ -6062,7 +6062,7 @@ components:
|
|
|
6062
6062
|
- reason
|
|
6063
6063
|
title: DomainAvailabilityResponse
|
|
6064
6064
|
type: object
|
|
6065
|
-
|
|
6065
|
+
common__schemas__domain_forward__PatchOp:
|
|
6066
6066
|
enum:
|
|
6067
6067
|
- upsert
|
|
6068
6068
|
- remove
|
|
@@ -6143,7 +6143,7 @@ info:
|
|
|
6143
6143
|
'
|
|
6144
6144
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
6145
6145
|
title: OpusDNS API
|
|
6146
|
-
version: 2025-12-17-
|
|
6146
|
+
version: 2025-12-17-225548
|
|
6147
6147
|
x-logo:
|
|
6148
6148
|
altText: OpusDNS API Reference
|
|
6149
6149
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
package/src/schema.d.ts
CHANGED
|
@@ -2320,7 +2320,7 @@ export interface components {
|
|
|
2320
2320
|
};
|
|
2321
2321
|
/** DnsRecordPatchOp */
|
|
2322
2322
|
DnsRecordPatchOp: {
|
|
2323
|
-
op: components["schemas"]["
|
|
2323
|
+
op: components["schemas"]["common__schemas__domain_forward__PatchOp"];
|
|
2324
2324
|
record: components["schemas"]["DnsRrsetWithOneRecordPatch"];
|
|
2325
2325
|
};
|
|
2326
2326
|
/** DnsRecordResponse */
|
|
@@ -2350,7 +2350,7 @@ export interface components {
|
|
|
2350
2350
|
};
|
|
2351
2351
|
/** DnsRrsetPatchOp */
|
|
2352
2352
|
DnsRrsetPatchOp: {
|
|
2353
|
-
op: components["schemas"]["
|
|
2353
|
+
op: components["schemas"]["common__schemas__domain_forward__PatchOp"];
|
|
2354
2354
|
rrset: components["schemas"]["DnsRrsetPatch"];
|
|
2355
2355
|
};
|
|
2356
2356
|
/** DnsRrsetResponse */
|
|
@@ -2680,7 +2680,7 @@ export interface components {
|
|
|
2680
2680
|
};
|
|
2681
2681
|
/** DomainForwardPatchOp */
|
|
2682
2682
|
DomainForwardPatchOp: {
|
|
2683
|
-
op: components["schemas"]["
|
|
2683
|
+
op: components["schemas"]["common__schemas__domain_forward__PatchOp"];
|
|
2684
2684
|
/** Redirect */
|
|
2685
2685
|
redirect: components["schemas"]["HttpRedirectUpsert"] | components["schemas"]["HttpRedirectRemove"];
|
|
2686
2686
|
};
|
|
@@ -5648,7 +5648,7 @@ export interface components {
|
|
|
5648
5648
|
* PatchOp
|
|
5649
5649
|
* @enum {string}
|
|
5650
5650
|
*/
|
|
5651
|
-
|
|
5651
|
+
common__schemas__domain_forward__PatchOp: "upsert" | "remove";
|
|
5652
5652
|
};
|
|
5653
5653
|
responses: never;
|
|
5654
5654
|
parameters: never;
|