@opusdns/api 0.62.0 → 0.64.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
@@ -8,7 +8,7 @@
8
8
  "typescript": "^5.8.2"
9
9
  },
10
10
  "name": "@opusdns/api",
11
- "version": "0.62.0",
11
+ "version": "0.64.0",
12
12
  "description": "TypeScript types for the OpusDNS OpenAPI specification",
13
13
  "main": "./src/index.ts",
14
14
  "module": "./src/index.ts",
@@ -21,7 +21,7 @@
21
21
  * ```
22
22
  */
23
23
 
24
- import { AgreementType, AllocationMethodType, BillingTransactionAction, BillingTransactionProductType, BillingTransactionSortField, BillingTransactionStatus, 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';
24
+ import { AgreementType, AllocationMethodType, BillingTransactionAction, BillingTransactionProductType, BillingTransactionSortField, BillingTransactionStatus, 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, PostTransferRequirements, PostalAddressType, PremiumAffectsType, PremiumSourceType, RegistrantChangeType, RegistryHandleAttributeType, Relation, RenewalMode, ReservedSourceType, SortOrder, SyncOperationType, TLDType, TransferAckType, UserStatus, VerificationType, WalletCreditResponseStatus, ZoneSortField } from './schemas';
25
25
 
26
26
  /**
27
27
  * AgreementType. Auto-generated enum for AgreementType
@@ -1919,62 +1919,6 @@ export const PERMISSION_VALUES = [
1919
1919
  'view_events'
1920
1920
  ] as const satisfies [string, ...string[]] | Permission[];
1921
1921
 
1922
- /**
1923
- * PlanRelation. Auto-generated enum for PlanRelation
1924
- *
1925
- * @remarks
1926
- * This constant provides both object and array forms for the PlanRelation enum.
1927
- * The object form allows key-value access, while the array form enables iteration and validation.
1928
- *
1929
- * @example
1930
- * ```typescript
1931
- * // Using the object form for key-value access
1932
- * const status = PLAN_RELATION.SUCCESS;
1933
- *
1934
- * // Using the array form for iteration
1935
- * const allStatuses = PLAN_RELATION_VALUES;
1936
- * console.log(`Available statuses: ${allStatuses.join(', ')}`);
1937
- * ```
1938
- *
1939
- * @see {@link PlanRelation} - The TypeScript type definition
1940
- */
1941
- export const PLAN_RELATION = {
1942
- BASIC: "basic",
1943
- ENTERPRISE: "enterprise",
1944
- CORPORATE: "corporate",
1945
- PREMIUM: "premium",
1946
- STARTER: "starter",
1947
- } as const satisfies Record<string, PlanRelation>;
1948
-
1949
- /**
1950
- * Array of all PlanRelation enum values
1951
- *
1952
- * @remarks
1953
- * This constant provides a array containing all valid PlanRelation enum values.
1954
- * Useful for iteration, validation, and generating dynamic UI components.
1955
- *
1956
- * @example
1957
- * ```typescript
1958
- * // Iterating through all values
1959
- * for (const value of PLAN_RELATION_VALUES) {
1960
- * console.log(`Processing: ${value}`);
1961
- * }
1962
- *
1963
- * // Validation
1964
- * const isValid = PLAN_RELATION_VALUES.includes(someValue);
1965
- * ```
1966
- *
1967
- * @see {@link PlanRelation} - The TypeScript type definition
1968
- * @see {@link PLAN_RELATION} - The object form of this enum
1969
- */
1970
- export const PLAN_RELATION_VALUES = [
1971
- 'basic',
1972
- 'enterprise',
1973
- 'corporate',
1974
- 'premium',
1975
- 'starter'
1976
- ] as const satisfies [string, ...string[]] | PlanRelation[];
1977
-
1978
1922
  /**
1979
1923
  * PostTransferRequirements. Auto-generated enum for PostTransferRequirements
1980
1924
  *
@@ -2775,6 +2719,56 @@ export const VERIFICATION_TYPE_VALUES = [
2775
2719
  'email'
2776
2720
  ] as const satisfies [string, ...string[]] | VerificationType[];
2777
2721
 
2722
+ /**
2723
+ * WalletCreditResponseStatus. Auto-generated enum for WalletCreditResponseStatus
2724
+ *
2725
+ * @remarks
2726
+ * This constant provides both object and array forms for the WalletCreditResponseStatus enum.
2727
+ * The object form allows key-value access, while the array form enables iteration and validation.
2728
+ *
2729
+ * @example
2730
+ * ```typescript
2731
+ * // Using the object form for key-value access
2732
+ * const status = WALLET_CREDIT_RESPONSE_STATUS.SUCCESS;
2733
+ *
2734
+ * // Using the array form for iteration
2735
+ * const allStatuses = WALLET_CREDIT_RESPONSE_STATUS_VALUES;
2736
+ * console.log(`Available statuses: ${allStatuses.join(', ')}`);
2737
+ * ```
2738
+ *
2739
+ * @see {@link WalletCreditResponseStatus} - The TypeScript type definition
2740
+ */
2741
+ export const WALLET_CREDIT_RESPONSE_STATUS = {
2742
+ SUCCESS: "success",
2743
+ FAILED: "failed",
2744
+ } as const satisfies Record<string, WalletCreditResponseStatus>;
2745
+
2746
+ /**
2747
+ * Array of all WalletCreditResponseStatus enum values
2748
+ *
2749
+ * @remarks
2750
+ * This constant provides a array containing all valid WalletCreditResponseStatus enum values.
2751
+ * Useful for iteration, validation, and generating dynamic UI components.
2752
+ *
2753
+ * @example
2754
+ * ```typescript
2755
+ * // Iterating through all values
2756
+ * for (const value of WALLET_CREDIT_RESPONSE_STATUS_VALUES) {
2757
+ * console.log(`Processing: ${value}`);
2758
+ * }
2759
+ *
2760
+ * // Validation
2761
+ * const isValid = WALLET_CREDIT_RESPONSE_STATUS_VALUES.includes(someValue);
2762
+ * ```
2763
+ *
2764
+ * @see {@link WalletCreditResponseStatus} - The TypeScript type definition
2765
+ * @see {@link WALLET_CREDIT_RESPONSE_STATUS} - The object form of this enum
2766
+ */
2767
+ export const WALLET_CREDIT_RESPONSE_STATUS_VALUES = [
2768
+ 'success',
2769
+ 'failed'
2770
+ ] as const satisfies [string, ...string[]] | WalletCreditResponseStatus[];
2771
+
2778
2772
  /**
2779
2773
  * ZoneSortField. Auto-generated enum for ZoneSortField
2780
2774
  *