@opusdns/api 0.80.0 → 0.82.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 -53
- package/src/helpers/keys.ts +29 -870
- package/src/helpers/requests.d.ts +2 -317
- package/src/helpers/responses.d.ts +668 -355
- package/src/helpers/schemas-arrays.d.ts +1 -29
- package/src/helpers/schemas.d.ts +0 -144
- package/src/openapi.yaml +474 -465
- package/src/schema.d.ts +566 -474
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, EventSubtype, EventType, GrantType, LaunchPhaseType, LocalPresenceRequirementType, OrganizationStatus, PatchOp, PeriodUnit, Permission, PostTransferRequirements, PostalAddressType, PremiumAffectsType, PremiumSourceType, RegistrantChangeType, RegistryHandleAttributeType, Relation, RenewalMode, ReservedSourceType, SortOrder, SyncOperationType, TLDType, TransferAckType, UserStatus, VerificationType,
|
|
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, EventSubtype, EventType, GrantType, LaunchPhaseType, LocalPresenceRequirementType, OrganizationStatus, PatchOp, PeriodUnit, Permission, PostTransferRequirements, PostalAddressType, PremiumAffectsType, PremiumSourceType, 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
|
|
@@ -2715,58 +2715,6 @@ export const VERIFICATION_TYPE_VALUES = [
|
|
|
2715
2715
|
'email'
|
|
2716
2716
|
] as const satisfies [string, ...string[]] | VerificationType[];
|
|
2717
2717
|
|
|
2718
|
-
/**
|
|
2719
|
-
* WalletCreditResponseStatus. Auto-generated enum for WalletCreditResponseStatus
|
|
2720
|
-
*
|
|
2721
|
-
* @remarks
|
|
2722
|
-
* This constant provides both object and array forms for the WalletCreditResponseStatus enum.
|
|
2723
|
-
* The object form allows key-value access, while the array form enables iteration and validation.
|
|
2724
|
-
*
|
|
2725
|
-
* @example
|
|
2726
|
-
* ```typescript
|
|
2727
|
-
* // Using the object form for key-value access
|
|
2728
|
-
* const status = WALLET_CREDIT_RESPONSE_STATUS.SUCCESS;
|
|
2729
|
-
*
|
|
2730
|
-
* // Using the array form for iteration
|
|
2731
|
-
* const allStatuses = WALLET_CREDIT_RESPONSE_STATUS_VALUES;
|
|
2732
|
-
* console.log(`Available statuses: ${allStatuses.join(', ')}`);
|
|
2733
|
-
* ```
|
|
2734
|
-
*
|
|
2735
|
-
* @see {@link WalletCreditResponseStatus} - The TypeScript type definition
|
|
2736
|
-
*/
|
|
2737
|
-
export const WALLET_CREDIT_RESPONSE_STATUS = {
|
|
2738
|
-
SUCCESS: "success",
|
|
2739
|
-
FAILED: "failed",
|
|
2740
|
-
PENDING: "pending",
|
|
2741
|
-
} as const satisfies Record<string, WalletCreditResponseStatus>;
|
|
2742
|
-
|
|
2743
|
-
/**
|
|
2744
|
-
* Array of all WalletCreditResponseStatus enum values
|
|
2745
|
-
*
|
|
2746
|
-
* @remarks
|
|
2747
|
-
* This constant provides a array containing all valid WalletCreditResponseStatus enum values.
|
|
2748
|
-
* Useful for iteration, validation, and generating dynamic UI components.
|
|
2749
|
-
*
|
|
2750
|
-
* @example
|
|
2751
|
-
* ```typescript
|
|
2752
|
-
* // Iterating through all values
|
|
2753
|
-
* for (const value of WALLET_CREDIT_RESPONSE_STATUS_VALUES) {
|
|
2754
|
-
* console.log(`Processing: ${value}`);
|
|
2755
|
-
* }
|
|
2756
|
-
*
|
|
2757
|
-
* // Validation
|
|
2758
|
-
* const isValid = WALLET_CREDIT_RESPONSE_STATUS_VALUES.includes(someValue);
|
|
2759
|
-
* ```
|
|
2760
|
-
*
|
|
2761
|
-
* @see {@link WalletCreditResponseStatus} - The TypeScript type definition
|
|
2762
|
-
* @see {@link WALLET_CREDIT_RESPONSE_STATUS} - The object form of this enum
|
|
2763
|
-
*/
|
|
2764
|
-
export const WALLET_CREDIT_RESPONSE_STATUS_VALUES = [
|
|
2765
|
-
'success',
|
|
2766
|
-
'failed',
|
|
2767
|
-
'pending'
|
|
2768
|
-
] as const satisfies [string, ...string[]] | WalletCreditResponseStatus[];
|
|
2769
|
-
|
|
2770
2718
|
/**
|
|
2771
2719
|
* ZoneSortField. Auto-generated enum for ZoneSortField
|
|
2772
2720
|
*
|