@opusdns/api 0.54.0 → 0.56.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 +1 -51
- package/src/helpers/keys.ts +3061 -5172
- package/src/helpers/requests.d.ts +1 -569
- package/src/helpers/responses.d.ts +38 -916
- package/src/helpers/schemas-arrays.d.ts +1 -15
- package/src/helpers/schemas.d.ts +0 -208
- package/src/openapi.yaml +127 -1224
- package/src/schema.d.ts +122 -1289
package/package.json
CHANGED
package/src/helpers/constants.ts
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
* ```
|
|
22
22
|
*/
|
|
23
23
|
|
|
24
|
-
import { AgreementType, AllocationMethodType, BillingTransactionAction, BillingTransactionProductType, ContactRoleType, ContactSortField, Currency, DeletePolicyType, DnsChangeAction, DnsRrsetType, DnssecAlgorithm, DnssecDigestType, DnssecModeType, DnssecRecordType, DnssecStatus, DomainAvailabilityStatus, DomainClientStatus, DomainContactType, DomainSortField, DomainStatus, EmailVerificationStatus, EventObjectType, EventSubtype, EventType, GrantType, LaunchPhaseType, LocalPresenceRequirementType, OrganizationCredentialStatus, OrganizationStatus, PatchOp, PeriodUnit, Permission, PlanRelation, PostTransferRequirements, PostalAddressType, PremiumAffectsType, PremiumSourceType, RegistrantChangeType, RegistryHandleAttributeType, Relation, RenewalMode, ReservedSourceType, SortOrder, SyncOperationType, TLDType, TransferAckType,
|
|
24
|
+
import { AgreementType, AllocationMethodType, BillingTransactionAction, BillingTransactionProductType, ContactRoleType, ContactSortField, Currency, DeletePolicyType, DnsChangeAction, DnsRrsetType, DnssecAlgorithm, DnssecDigestType, DnssecModeType, DnssecRecordType, DnssecStatus, DomainAvailabilityStatus, DomainClientStatus, DomainContactType, DomainSortField, DomainStatus, EmailVerificationStatus, EventObjectType, EventSubtype, EventType, GrantType, LaunchPhaseType, LocalPresenceRequirementType, OrganizationCredentialStatus, OrganizationStatus, PatchOp, PeriodUnit, Permission, PlanRelation, PostTransferRequirements, PostalAddressType, PremiumAffectsType, PremiumSourceType, RegistrantChangeType, RegistryHandleAttributeType, Relation, RenewalMode, ReservedSourceType, SortOrder, SyncOperationType, TLDType, TransferAckType, UserStatus, VerificationType, ZoneSortField } from './schemas';
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
27
|
* AgreementType. Auto-generated enum for AgreementType
|
|
@@ -2565,56 +2565,6 @@ export const TRANSFER_ACK_TYPE_VALUES = [
|
|
|
2565
2565
|
'both'
|
|
2566
2566
|
] as const satisfies [string, ...string[]] | TransferAckType[];
|
|
2567
2567
|
|
|
2568
|
-
/**
|
|
2569
|
-
* UserNotificationStatus. Auto-generated enum for UserNotificationStatus
|
|
2570
|
-
*
|
|
2571
|
-
* @remarks
|
|
2572
|
-
* This constant provides both object and array forms for the UserNotificationStatus enum.
|
|
2573
|
-
* The object form allows key-value access, while the array form enables iteration and validation.
|
|
2574
|
-
*
|
|
2575
|
-
* @example
|
|
2576
|
-
* ```typescript
|
|
2577
|
-
* // Using the object form for key-value access
|
|
2578
|
-
* const status = USER_NOTIFICATION_STATUS.SUCCESS;
|
|
2579
|
-
*
|
|
2580
|
-
* // Using the array form for iteration
|
|
2581
|
-
* const allStatuses = USER_NOTIFICATION_STATUS_VALUES;
|
|
2582
|
-
* console.log(`Available statuses: ${allStatuses.join(', ')}`);
|
|
2583
|
-
* ```
|
|
2584
|
-
*
|
|
2585
|
-
* @see {@link UserNotificationStatus} - The TypeScript type definition
|
|
2586
|
-
*/
|
|
2587
|
-
export const USER_NOTIFICATION_STATUS = {
|
|
2588
|
-
READ: "read",
|
|
2589
|
-
UNREAD: "unread",
|
|
2590
|
-
} as const satisfies Record<string, UserNotificationStatus>;
|
|
2591
|
-
|
|
2592
|
-
/**
|
|
2593
|
-
* Array of all UserNotificationStatus enum values
|
|
2594
|
-
*
|
|
2595
|
-
* @remarks
|
|
2596
|
-
* This constant provides a array containing all valid UserNotificationStatus enum values.
|
|
2597
|
-
* Useful for iteration, validation, and generating dynamic UI components.
|
|
2598
|
-
*
|
|
2599
|
-
* @example
|
|
2600
|
-
* ```typescript
|
|
2601
|
-
* // Iterating through all values
|
|
2602
|
-
* for (const value of USER_NOTIFICATION_STATUS_VALUES) {
|
|
2603
|
-
* console.log(`Processing: ${value}`);
|
|
2604
|
-
* }
|
|
2605
|
-
*
|
|
2606
|
-
* // Validation
|
|
2607
|
-
* const isValid = USER_NOTIFICATION_STATUS_VALUES.includes(someValue);
|
|
2608
|
-
* ```
|
|
2609
|
-
*
|
|
2610
|
-
* @see {@link UserNotificationStatus} - The TypeScript type definition
|
|
2611
|
-
* @see {@link USER_NOTIFICATION_STATUS} - The object form of this enum
|
|
2612
|
-
*/
|
|
2613
|
-
export const USER_NOTIFICATION_STATUS_VALUES = [
|
|
2614
|
-
'read',
|
|
2615
|
-
'unread'
|
|
2616
|
-
] as const satisfies [string, ...string[]] | UserNotificationStatus[];
|
|
2617
|
-
|
|
2618
2568
|
/**
|
|
2619
2569
|
* UserStatus. Auto-generated enum for UserStatus
|
|
2620
2570
|
*
|