@opusdns/api 0.62.0 → 0.63.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.63.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, PlanRelation, 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
@@ -2775,6 +2775,56 @@ export const VERIFICATION_TYPE_VALUES = [
2775
2775
  'email'
2776
2776
  ] as const satisfies [string, ...string[]] | VerificationType[];
2777
2777
 
2778
+ /**
2779
+ * WalletCreditResponseStatus. Auto-generated enum for WalletCreditResponseStatus
2780
+ *
2781
+ * @remarks
2782
+ * This constant provides both object and array forms for the WalletCreditResponseStatus enum.
2783
+ * The object form allows key-value access, while the array form enables iteration and validation.
2784
+ *
2785
+ * @example
2786
+ * ```typescript
2787
+ * // Using the object form for key-value access
2788
+ * const status = WALLET_CREDIT_RESPONSE_STATUS.SUCCESS;
2789
+ *
2790
+ * // Using the array form for iteration
2791
+ * const allStatuses = WALLET_CREDIT_RESPONSE_STATUS_VALUES;
2792
+ * console.log(`Available statuses: ${allStatuses.join(', ')}`);
2793
+ * ```
2794
+ *
2795
+ * @see {@link WalletCreditResponseStatus} - The TypeScript type definition
2796
+ */
2797
+ export const WALLET_CREDIT_RESPONSE_STATUS = {
2798
+ SUCCESS: "success",
2799
+ FAILED: "failed",
2800
+ } as const satisfies Record<string, WalletCreditResponseStatus>;
2801
+
2802
+ /**
2803
+ * Array of all WalletCreditResponseStatus enum values
2804
+ *
2805
+ * @remarks
2806
+ * This constant provides a array containing all valid WalletCreditResponseStatus enum values.
2807
+ * Useful for iteration, validation, and generating dynamic UI components.
2808
+ *
2809
+ * @example
2810
+ * ```typescript
2811
+ * // Iterating through all values
2812
+ * for (const value of WALLET_CREDIT_RESPONSE_STATUS_VALUES) {
2813
+ * console.log(`Processing: ${value}`);
2814
+ * }
2815
+ *
2816
+ * // Validation
2817
+ * const isValid = WALLET_CREDIT_RESPONSE_STATUS_VALUES.includes(someValue);
2818
+ * ```
2819
+ *
2820
+ * @see {@link WalletCreditResponseStatus} - The TypeScript type definition
2821
+ * @see {@link WALLET_CREDIT_RESPONSE_STATUS} - The object form of this enum
2822
+ */
2823
+ export const WALLET_CREDIT_RESPONSE_STATUS_VALUES = [
2824
+ 'success',
2825
+ 'failed'
2826
+ ] as const satisfies [string, ...string[]] | WalletCreditResponseStatus[];
2827
+
2778
2828
  /**
2779
2829
  * ZoneSortField. Auto-generated enum for ZoneSortField
2780
2830
  *
@@ -34,6 +34,8 @@ import { BillingMetadata } from './schemas';
34
34
  import { BillingPlan } from './schemas';
35
35
  import { BillingTransaction } from './schemas';
36
36
  import { Body_issue_organization_token_v1_auth_token_post } from './schemas';
37
+ import { CheckoutSessionRequest } from './schemas';
38
+ import { CheckoutSession } from './schemas';
37
39
  import { ContactConfigBase } from './schemas';
38
40
  import { ContactCreate } from './schemas';
39
41
  import { ContactHandle } from './schemas';
@@ -43,6 +45,7 @@ import { ContactVerificationApi } from './schemas';
43
45
  import { ContactVerificationEmail } from './schemas';
44
46
  import { ContactVerification } from './schemas';
45
47
  import { ContactsBase } from './schemas';
48
+ import { CustomerCreditCardPaymentMethod } from './schemas';
46
49
  import { DnsChange } from './schemas';
47
50
  import { DnsChanges } from './schemas';
48
51
  import { DnsConfigurationBase } from './schemas';
@@ -146,6 +149,8 @@ import { UserUpdate } from './schemas';
146
149
  import { UserWithAttributes } from './schemas';
147
150
  import { UserWithRelationPermissions } from './schemas';
148
151
  import { ValidationError } from './schemas';
152
+ import { WalletCreditRequest } from './schemas';
153
+ import { WalletCreditResponseWithBalance } from './schemas';
149
154
  import { WhoisBase } from './schemas';
150
155
  import { DomainAvailabilityList } from './schemas';
151
156
  import { DomainAvailabilityCheck } from './schemas';
@@ -873,6 +878,108 @@ export const KEYS_BODY_ISSUE_ORGANIZATION_TOKEN_V1_AUTH_TOKEN_POST = [
873
878
  KEY_BODY_ISSUE_ORGANIZATION_TOKEN_V1_AUTH_TOKEN_POST_USERNAME,
874
879
  ] as const satisfies (keyof Body_issue_organization_token_v1_auth_token_post)[];
875
880
 
881
+ /**
882
+ * Return Url
883
+ *
884
+ * Return URL that will be used
885
+ *
886
+ * @type {string}
887
+ *
888
+ *
889
+ * @remarks
890
+ * This key constant provides type-safe access to the `return_url` property of CheckoutSessionRequest objects.
891
+ * Use this constant when you need to access properties dynamically or ensure type safety.
892
+ *
893
+ * @example
894
+ * ```typescript
895
+ * // Direct property access
896
+ * const value = checkoutsessionrequest[KEY_CHECKOUT_SESSION_REQUEST_RETURN_URL];
897
+ *
898
+ * // Dynamic property access
899
+ * const propertyName = KEY_CHECKOUT_SESSION_REQUEST_RETURN_URL;
900
+ * const value = checkoutsessionrequest[propertyName];
901
+ * ```
902
+ *
903
+ * @see {@link CheckoutSessionRequest} - The TypeScript type definition
904
+ * @see {@link KEYS_CHECKOUT_SESSION_REQUEST} - Array of all keys for this type
905
+ */
906
+ export const KEY_CHECKOUT_SESSION_REQUEST_RETURN_URL = 'return_url' as keyof CheckoutSessionRequest;
907
+
908
+ /**
909
+ * Array of all CheckoutSessionRequest property keys
910
+ *
911
+ * @remarks
912
+ * This constant provides a readonly array containing all valid property keys for CheckoutSessionRequest objects.
913
+ * Useful for iteration, validation, and generating dynamic UI components.
914
+ *
915
+ * @example
916
+ * ```typescript
917
+ * // Iterating through all keys
918
+ * for (const key of KEYS_CHECKOUT_SESSION_REQUEST) {
919
+ * console.log(`Property: ${key}, Value: ${checkoutsessionrequest[key]}`);
920
+ * }
921
+ *
922
+ * // Validation
923
+ * const isValidKey = KEYS_CHECKOUT_SESSION_REQUEST.includes(someKey);
924
+ * ```
925
+ *
926
+ * @see {@link CheckoutSessionRequest} - The TypeScript type definition
927
+ */
928
+ export const KEYS_CHECKOUT_SESSION_REQUEST = [
929
+ KEY_CHECKOUT_SESSION_REQUEST_RETURN_URL,
930
+ ] as const satisfies (keyof CheckoutSessionRequest)[];
931
+
932
+ /**
933
+ * Session Client Secret
934
+ *
935
+ * Checkout session client secret - meant to be used in the embedded checkout
936
+ *
937
+ * @type {string}
938
+ *
939
+ *
940
+ * @remarks
941
+ * This key constant provides type-safe access to the `session_client_secret` property of CheckoutSession objects.
942
+ * Use this constant when you need to access properties dynamically or ensure type safety.
943
+ *
944
+ * @example
945
+ * ```typescript
946
+ * // Direct property access
947
+ * const value = checkoutsession[KEY_CHECKOUT_SESSION_SESSION_CLIENT_SECRET];
948
+ *
949
+ * // Dynamic property access
950
+ * const propertyName = KEY_CHECKOUT_SESSION_SESSION_CLIENT_SECRET;
951
+ * const value = checkoutsession[propertyName];
952
+ * ```
953
+ *
954
+ * @see {@link CheckoutSession} - The TypeScript type definition
955
+ * @see {@link KEYS_CHECKOUT_SESSION} - Array of all keys for this type
956
+ */
957
+ export const KEY_CHECKOUT_SESSION_SESSION_CLIENT_SECRET = 'session_client_secret' as keyof CheckoutSession;
958
+
959
+ /**
960
+ * Array of all CheckoutSession property keys
961
+ *
962
+ * @remarks
963
+ * This constant provides a readonly array containing all valid property keys for CheckoutSession objects.
964
+ * Useful for iteration, validation, and generating dynamic UI components.
965
+ *
966
+ * @example
967
+ * ```typescript
968
+ * // Iterating through all keys
969
+ * for (const key of KEYS_CHECKOUT_SESSION) {
970
+ * console.log(`Property: ${key}, Value: ${checkoutsession[key]}`);
971
+ * }
972
+ *
973
+ * // Validation
974
+ * const isValidKey = KEYS_CHECKOUT_SESSION.includes(someKey);
975
+ * ```
976
+ *
977
+ * @see {@link CheckoutSession} - The TypeScript type definition
978
+ */
979
+ export const KEYS_CHECKOUT_SESSION = [
980
+ KEY_CHECKOUT_SESSION_SESSION_CLIENT_SECRET,
981
+ ] as const satisfies (keyof CheckoutSession)[];
982
+
876
983
  /**
877
984
  * Max
878
985
  *
@@ -3263,6 +3370,218 @@ export const KEYS_CONTACTS_BASE = [
3263
3370
  KEY_CONTACTS_BASE_SUPPORTED_ROLES,
3264
3371
  ] as const satisfies (keyof ContactsBase)[];
3265
3372
 
3373
+ /**
3374
+ * Brand
3375
+ *
3376
+ * Card brand
3377
+ *
3378
+ * @type {string}
3379
+ *
3380
+ *
3381
+ * @remarks
3382
+ * This key constant provides type-safe access to the `brand` property of CustomerCreditCardPaymentMethod objects.
3383
+ * Use this constant when you need to access properties dynamically or ensure type safety.
3384
+ *
3385
+ * @example
3386
+ * ```typescript
3387
+ * // Direct property access
3388
+ * const value = customercreditcardpaymentmethod[KEY_CUSTOMER_CREDIT_CARD_PAYMENT_METHOD_BRAND];
3389
+ *
3390
+ * // Dynamic property access
3391
+ * const propertyName = KEY_CUSTOMER_CREDIT_CARD_PAYMENT_METHOD_BRAND;
3392
+ * const value = customercreditcardpaymentmethod[propertyName];
3393
+ * ```
3394
+ *
3395
+ * @see {@link CustomerCreditCardPaymentMethod} - The TypeScript type definition
3396
+ * @see {@link KEYS_CUSTOMER_CREDIT_CARD_PAYMENT_METHOD} - Array of all keys for this type
3397
+ */
3398
+ export const KEY_CUSTOMER_CREDIT_CARD_PAYMENT_METHOD_BRAND = 'brand' as keyof CustomerCreditCardPaymentMethod;
3399
+ /**
3400
+ * Country
3401
+ *
3402
+ * Country code
3403
+ *
3404
+ *
3405
+ *
3406
+ * @remarks
3407
+ * This key constant provides type-safe access to the `country` property of CustomerCreditCardPaymentMethod objects.
3408
+ * Use this constant when you need to access properties dynamically or ensure type safety.
3409
+ *
3410
+ * @example
3411
+ * ```typescript
3412
+ * // Direct property access
3413
+ * const value = customercreditcardpaymentmethod[KEY_CUSTOMER_CREDIT_CARD_PAYMENT_METHOD_COUNTRY];
3414
+ *
3415
+ * // Dynamic property access
3416
+ * const propertyName = KEY_CUSTOMER_CREDIT_CARD_PAYMENT_METHOD_COUNTRY;
3417
+ * const value = customercreditcardpaymentmethod[propertyName];
3418
+ * ```
3419
+ *
3420
+ * @see {@link CustomerCreditCardPaymentMethod} - The TypeScript type definition
3421
+ * @see {@link KEYS_CUSTOMER_CREDIT_CARD_PAYMENT_METHOD} - Array of all keys for this type
3422
+ */
3423
+ export const KEY_CUSTOMER_CREDIT_CARD_PAYMENT_METHOD_COUNTRY = 'country' as keyof CustomerCreditCardPaymentMethod;
3424
+ /**
3425
+ * Exp Month
3426
+ *
3427
+ * Expiration month
3428
+ *
3429
+ * @type {integer}
3430
+ *
3431
+ *
3432
+ * @remarks
3433
+ * This key constant provides type-safe access to the `exp_month` property of CustomerCreditCardPaymentMethod objects.
3434
+ * Use this constant when you need to access properties dynamically or ensure type safety.
3435
+ *
3436
+ * @example
3437
+ * ```typescript
3438
+ * // Direct property access
3439
+ * const value = customercreditcardpaymentmethod[KEY_CUSTOMER_CREDIT_CARD_PAYMENT_METHOD_EXP_MONTH];
3440
+ *
3441
+ * // Dynamic property access
3442
+ * const propertyName = KEY_CUSTOMER_CREDIT_CARD_PAYMENT_METHOD_EXP_MONTH;
3443
+ * const value = customercreditcardpaymentmethod[propertyName];
3444
+ * ```
3445
+ *
3446
+ * @see {@link CustomerCreditCardPaymentMethod} - The TypeScript type definition
3447
+ * @see {@link KEYS_CUSTOMER_CREDIT_CARD_PAYMENT_METHOD} - Array of all keys for this type
3448
+ */
3449
+ export const KEY_CUSTOMER_CREDIT_CARD_PAYMENT_METHOD_EXP_MONTH = 'exp_month' as keyof CustomerCreditCardPaymentMethod;
3450
+ /**
3451
+ * Exp Year
3452
+ *
3453
+ * Expiration year
3454
+ *
3455
+ * @type {integer}
3456
+ *
3457
+ *
3458
+ * @remarks
3459
+ * This key constant provides type-safe access to the `exp_year` property of CustomerCreditCardPaymentMethod objects.
3460
+ * Use this constant when you need to access properties dynamically or ensure type safety.
3461
+ *
3462
+ * @example
3463
+ * ```typescript
3464
+ * // Direct property access
3465
+ * const value = customercreditcardpaymentmethod[KEY_CUSTOMER_CREDIT_CARD_PAYMENT_METHOD_EXP_YEAR];
3466
+ *
3467
+ * // Dynamic property access
3468
+ * const propertyName = KEY_CUSTOMER_CREDIT_CARD_PAYMENT_METHOD_EXP_YEAR;
3469
+ * const value = customercreditcardpaymentmethod[propertyName];
3470
+ * ```
3471
+ *
3472
+ * @see {@link CustomerCreditCardPaymentMethod} - The TypeScript type definition
3473
+ * @see {@link KEYS_CUSTOMER_CREDIT_CARD_PAYMENT_METHOD} - Array of all keys for this type
3474
+ */
3475
+ export const KEY_CUSTOMER_CREDIT_CARD_PAYMENT_METHOD_EXP_YEAR = 'exp_year' as keyof CustomerCreditCardPaymentMethod;
3476
+ /**
3477
+ * Id
3478
+ *
3479
+ * Payment method ID
3480
+ *
3481
+ * @type {string}
3482
+ *
3483
+ *
3484
+ * @remarks
3485
+ * This key constant provides type-safe access to the `id` property of CustomerCreditCardPaymentMethod objects.
3486
+ * Use this constant when you need to access properties dynamically or ensure type safety.
3487
+ *
3488
+ * @example
3489
+ * ```typescript
3490
+ * // Direct property access
3491
+ * const value = customercreditcardpaymentmethod[KEY_CUSTOMER_CREDIT_CARD_PAYMENT_METHOD_ID];
3492
+ *
3493
+ * // Dynamic property access
3494
+ * const propertyName = KEY_CUSTOMER_CREDIT_CARD_PAYMENT_METHOD_ID;
3495
+ * const value = customercreditcardpaymentmethod[propertyName];
3496
+ * ```
3497
+ *
3498
+ * @see {@link CustomerCreditCardPaymentMethod} - The TypeScript type definition
3499
+ * @see {@link KEYS_CUSTOMER_CREDIT_CARD_PAYMENT_METHOD} - Array of all keys for this type
3500
+ */
3501
+ export const KEY_CUSTOMER_CREDIT_CARD_PAYMENT_METHOD_ID = 'id' as keyof CustomerCreditCardPaymentMethod;
3502
+ /**
3503
+ * Is Default
3504
+ *
3505
+ * Whether this is the default payment method
3506
+ *
3507
+ * @type {boolean}
3508
+ *
3509
+ *
3510
+ * @remarks
3511
+ * This key constant provides type-safe access to the `is_default` property of CustomerCreditCardPaymentMethod objects.
3512
+ * Use this constant when you need to access properties dynamically or ensure type safety.
3513
+ *
3514
+ * @example
3515
+ * ```typescript
3516
+ * // Direct property access
3517
+ * const value = customercreditcardpaymentmethod[KEY_CUSTOMER_CREDIT_CARD_PAYMENT_METHOD_IS_DEFAULT];
3518
+ *
3519
+ * // Dynamic property access
3520
+ * const propertyName = KEY_CUSTOMER_CREDIT_CARD_PAYMENT_METHOD_IS_DEFAULT;
3521
+ * const value = customercreditcardpaymentmethod[propertyName];
3522
+ * ```
3523
+ *
3524
+ * @see {@link CustomerCreditCardPaymentMethod} - The TypeScript type definition
3525
+ * @see {@link KEYS_CUSTOMER_CREDIT_CARD_PAYMENT_METHOD} - Array of all keys for this type
3526
+ */
3527
+ export const KEY_CUSTOMER_CREDIT_CARD_PAYMENT_METHOD_IS_DEFAULT = 'is_default' as keyof CustomerCreditCardPaymentMethod;
3528
+ /**
3529
+ * Last4
3530
+ *
3531
+ * Last four digits of the card
3532
+ *
3533
+ * @type {string}
3534
+ *
3535
+ *
3536
+ * @remarks
3537
+ * This key constant provides type-safe access to the `last4` property of CustomerCreditCardPaymentMethod objects.
3538
+ * Use this constant when you need to access properties dynamically or ensure type safety.
3539
+ *
3540
+ * @example
3541
+ * ```typescript
3542
+ * // Direct property access
3543
+ * const value = customercreditcardpaymentmethod[KEY_CUSTOMER_CREDIT_CARD_PAYMENT_METHOD_LAST4];
3544
+ *
3545
+ * // Dynamic property access
3546
+ * const propertyName = KEY_CUSTOMER_CREDIT_CARD_PAYMENT_METHOD_LAST4;
3547
+ * const value = customercreditcardpaymentmethod[propertyName];
3548
+ * ```
3549
+ *
3550
+ * @see {@link CustomerCreditCardPaymentMethod} - The TypeScript type definition
3551
+ * @see {@link KEYS_CUSTOMER_CREDIT_CARD_PAYMENT_METHOD} - Array of all keys for this type
3552
+ */
3553
+ export const KEY_CUSTOMER_CREDIT_CARD_PAYMENT_METHOD_LAST4 = 'last4' as keyof CustomerCreditCardPaymentMethod;
3554
+
3555
+ /**
3556
+ * Array of all CustomerCreditCardPaymentMethod property keys
3557
+ *
3558
+ * @remarks
3559
+ * This constant provides a readonly array containing all valid property keys for CustomerCreditCardPaymentMethod objects.
3560
+ * Useful for iteration, validation, and generating dynamic UI components.
3561
+ *
3562
+ * @example
3563
+ * ```typescript
3564
+ * // Iterating through all keys
3565
+ * for (const key of KEYS_CUSTOMER_CREDIT_CARD_PAYMENT_METHOD) {
3566
+ * console.log(`Property: ${key}, Value: ${customercreditcardpaymentmethod[key]}`);
3567
+ * }
3568
+ *
3569
+ * // Validation
3570
+ * const isValidKey = KEYS_CUSTOMER_CREDIT_CARD_PAYMENT_METHOD.includes(someKey);
3571
+ * ```
3572
+ *
3573
+ * @see {@link CustomerCreditCardPaymentMethod} - The TypeScript type definition
3574
+ */
3575
+ export const KEYS_CUSTOMER_CREDIT_CARD_PAYMENT_METHOD = [
3576
+ KEY_CUSTOMER_CREDIT_CARD_PAYMENT_METHOD_BRAND,
3577
+ KEY_CUSTOMER_CREDIT_CARD_PAYMENT_METHOD_COUNTRY,
3578
+ KEY_CUSTOMER_CREDIT_CARD_PAYMENT_METHOD_EXP_MONTH,
3579
+ KEY_CUSTOMER_CREDIT_CARD_PAYMENT_METHOD_EXP_YEAR,
3580
+ KEY_CUSTOMER_CREDIT_CARD_PAYMENT_METHOD_ID,
3581
+ KEY_CUSTOMER_CREDIT_CARD_PAYMENT_METHOD_IS_DEFAULT,
3582
+ KEY_CUSTOMER_CREDIT_CARD_PAYMENT_METHOD_LAST4,
3583
+ ] as const satisfies (keyof CustomerCreditCardPaymentMethod)[];
3584
+
3266
3585
  /**
3267
3586
  * action property
3268
3587
  *
@@ -18824,6 +19143,240 @@ export const KEYS_VALIDATION_ERROR = [
18824
19143
  KEY_VALIDATION_ERROR_TYPE,
18825
19144
  ] as const satisfies (keyof ValidationError)[];
18826
19145
 
19146
+ /**
19147
+ * Amount
19148
+ *
19149
+ * Amount to credit the customer wallet
19150
+ *
19151
+ *
19152
+ *
19153
+ * @remarks
19154
+ * This key constant provides type-safe access to the `amount` property of WalletCreditRequest objects.
19155
+ * Use this constant when you need to access properties dynamically or ensure type safety.
19156
+ *
19157
+ * @example
19158
+ * ```typescript
19159
+ * // Direct property access
19160
+ * const value = walletcreditrequest[KEY_WALLET_CREDIT_REQUEST_AMOUNT];
19161
+ *
19162
+ * // Dynamic property access
19163
+ * const propertyName = KEY_WALLET_CREDIT_REQUEST_AMOUNT;
19164
+ * const value = walletcreditrequest[propertyName];
19165
+ * ```
19166
+ *
19167
+ * @see {@link WalletCreditRequest} - The TypeScript type definition
19168
+ * @see {@link KEYS_WALLET_CREDIT_REQUEST} - Array of all keys for this type
19169
+ */
19170
+ export const KEY_WALLET_CREDIT_REQUEST_AMOUNT = 'amount' as keyof WalletCreditRequest;
19171
+ /**
19172
+ * Payment Method Id
19173
+ *
19174
+ * Payment method ID that should be used
19175
+ *
19176
+ * @type {string}
19177
+ *
19178
+ *
19179
+ * @remarks
19180
+ * This key constant provides type-safe access to the `payment_method_id` property of WalletCreditRequest objects.
19181
+ * Use this constant when you need to access properties dynamically or ensure type safety.
19182
+ *
19183
+ * @example
19184
+ * ```typescript
19185
+ * // Direct property access
19186
+ * const value = walletcreditrequest[KEY_WALLET_CREDIT_REQUEST_PAYMENT_METHOD_ID];
19187
+ *
19188
+ * // Dynamic property access
19189
+ * const propertyName = KEY_WALLET_CREDIT_REQUEST_PAYMENT_METHOD_ID;
19190
+ * const value = walletcreditrequest[propertyName];
19191
+ * ```
19192
+ *
19193
+ * @see {@link WalletCreditRequest} - The TypeScript type definition
19194
+ * @see {@link KEYS_WALLET_CREDIT_REQUEST} - Array of all keys for this type
19195
+ */
19196
+ export const KEY_WALLET_CREDIT_REQUEST_PAYMENT_METHOD_ID = 'payment_method_id' as keyof WalletCreditRequest;
19197
+
19198
+ /**
19199
+ * Array of all WalletCreditRequest property keys
19200
+ *
19201
+ * @remarks
19202
+ * This constant provides a readonly array containing all valid property keys for WalletCreditRequest objects.
19203
+ * Useful for iteration, validation, and generating dynamic UI components.
19204
+ *
19205
+ * @example
19206
+ * ```typescript
19207
+ * // Iterating through all keys
19208
+ * for (const key of KEYS_WALLET_CREDIT_REQUEST) {
19209
+ * console.log(`Property: ${key}, Value: ${walletcreditrequest[key]}`);
19210
+ * }
19211
+ *
19212
+ * // Validation
19213
+ * const isValidKey = KEYS_WALLET_CREDIT_REQUEST.includes(someKey);
19214
+ * ```
19215
+ *
19216
+ * @see {@link WalletCreditRequest} - The TypeScript type definition
19217
+ */
19218
+ export const KEYS_WALLET_CREDIT_REQUEST = [
19219
+ KEY_WALLET_CREDIT_REQUEST_AMOUNT,
19220
+ KEY_WALLET_CREDIT_REQUEST_PAYMENT_METHOD_ID,
19221
+ ] as const satisfies (keyof WalletCreditRequest)[];
19222
+
19223
+ /**
19224
+ * Amount
19225
+ *
19226
+ * Amount credited to the customer wallet
19227
+ *
19228
+ * @type {string}
19229
+ *
19230
+ *
19231
+ * @remarks
19232
+ * This key constant provides type-safe access to the `amount` property of WalletCreditResponseWithBalance objects.
19233
+ * Use this constant when you need to access properties dynamically or ensure type safety.
19234
+ *
19235
+ * @example
19236
+ * ```typescript
19237
+ * // Direct property access
19238
+ * const value = walletcreditresponsewithbalance[KEY_WALLET_CREDIT_RESPONSE_WITH_BALANCE_AMOUNT];
19239
+ *
19240
+ * // Dynamic property access
19241
+ * const propertyName = KEY_WALLET_CREDIT_RESPONSE_WITH_BALANCE_AMOUNT;
19242
+ * const value = walletcreditresponsewithbalance[propertyName];
19243
+ * ```
19244
+ *
19245
+ * @see {@link WalletCreditResponseWithBalance} - The TypeScript type definition
19246
+ * @see {@link KEYS_WALLET_CREDIT_RESPONSE_WITH_BALANCE} - Array of all keys for this type
19247
+ */
19248
+ export const KEY_WALLET_CREDIT_RESPONSE_WITH_BALANCE_AMOUNT = 'amount' as keyof WalletCreditResponseWithBalance;
19249
+ /**
19250
+ * Balance
19251
+ *
19252
+ * Updated wallet balance after the credit
19253
+ *
19254
+ * @type {string}
19255
+ *
19256
+ *
19257
+ * @remarks
19258
+ * This key constant provides type-safe access to the `balance` property of WalletCreditResponseWithBalance objects.
19259
+ * Use this constant when you need to access properties dynamically or ensure type safety.
19260
+ *
19261
+ * @example
19262
+ * ```typescript
19263
+ * // Direct property access
19264
+ * const value = walletcreditresponsewithbalance[KEY_WALLET_CREDIT_RESPONSE_WITH_BALANCE_BALANCE];
19265
+ *
19266
+ * // Dynamic property access
19267
+ * const propertyName = KEY_WALLET_CREDIT_RESPONSE_WITH_BALANCE_BALANCE;
19268
+ * const value = walletcreditresponsewithbalance[propertyName];
19269
+ * ```
19270
+ *
19271
+ * @see {@link WalletCreditResponseWithBalance} - The TypeScript type definition
19272
+ * @see {@link KEYS_WALLET_CREDIT_RESPONSE_WITH_BALANCE} - Array of all keys for this type
19273
+ */
19274
+ export const KEY_WALLET_CREDIT_RESPONSE_WITH_BALANCE_BALANCE = 'balance' as keyof WalletCreditResponseWithBalance;
19275
+ /**
19276
+ * Credit Id
19277
+ *
19278
+ * Unique identifier of the wallet credit transaction
19279
+ *
19280
+ * @type {string}
19281
+ *
19282
+ *
19283
+ * @remarks
19284
+ * This key constant provides type-safe access to the `credit_id` property of WalletCreditResponseWithBalance objects.
19285
+ * Use this constant when you need to access properties dynamically or ensure type safety.
19286
+ *
19287
+ * @example
19288
+ * ```typescript
19289
+ * // Direct property access
19290
+ * const value = walletcreditresponsewithbalance[KEY_WALLET_CREDIT_RESPONSE_WITH_BALANCE_CREDIT_ID];
19291
+ *
19292
+ * // Dynamic property access
19293
+ * const propertyName = KEY_WALLET_CREDIT_RESPONSE_WITH_BALANCE_CREDIT_ID;
19294
+ * const value = walletcreditresponsewithbalance[propertyName];
19295
+ * ```
19296
+ *
19297
+ * @see {@link WalletCreditResponseWithBalance} - The TypeScript type definition
19298
+ * @see {@link KEYS_WALLET_CREDIT_RESPONSE_WITH_BALANCE} - Array of all keys for this type
19299
+ */
19300
+ export const KEY_WALLET_CREDIT_RESPONSE_WITH_BALANCE_CREDIT_ID = 'credit_id' as keyof WalletCreditResponseWithBalance;
19301
+ /**
19302
+ * Message
19303
+ *
19304
+ * Optional human-readable message describing the result
19305
+ *
19306
+ *
19307
+ *
19308
+ * @remarks
19309
+ * This key constant provides type-safe access to the `message` property of WalletCreditResponseWithBalance objects.
19310
+ * Use this constant when you need to access properties dynamically or ensure type safety.
19311
+ *
19312
+ * @example
19313
+ * ```typescript
19314
+ * // Direct property access
19315
+ * const value = walletcreditresponsewithbalance[KEY_WALLET_CREDIT_RESPONSE_WITH_BALANCE_MESSAGE];
19316
+ *
19317
+ * // Dynamic property access
19318
+ * const propertyName = KEY_WALLET_CREDIT_RESPONSE_WITH_BALANCE_MESSAGE;
19319
+ * const value = walletcreditresponsewithbalance[propertyName];
19320
+ * ```
19321
+ *
19322
+ * @see {@link WalletCreditResponseWithBalance} - The TypeScript type definition
19323
+ * @see {@link KEYS_WALLET_CREDIT_RESPONSE_WITH_BALANCE} - Array of all keys for this type
19324
+ */
19325
+ export const KEY_WALLET_CREDIT_RESPONSE_WITH_BALANCE_MESSAGE = 'message' as keyof WalletCreditResponseWithBalance;
19326
+ /**
19327
+ * status property
19328
+ *
19329
+ * Status of the credit operation
19330
+ *
19331
+ *
19332
+ *
19333
+ * @remarks
19334
+ * This key constant provides type-safe access to the `status` property of WalletCreditResponseWithBalance objects.
19335
+ * Use this constant when you need to access properties dynamically or ensure type safety.
19336
+ *
19337
+ * @example
19338
+ * ```typescript
19339
+ * // Direct property access
19340
+ * const value = walletcreditresponsewithbalance[KEY_WALLET_CREDIT_RESPONSE_WITH_BALANCE_STATUS];
19341
+ *
19342
+ * // Dynamic property access
19343
+ * const propertyName = KEY_WALLET_CREDIT_RESPONSE_WITH_BALANCE_STATUS;
19344
+ * const value = walletcreditresponsewithbalance[propertyName];
19345
+ * ```
19346
+ *
19347
+ * @see {@link WalletCreditResponseWithBalance} - The TypeScript type definition
19348
+ * @see {@link KEYS_WALLET_CREDIT_RESPONSE_WITH_BALANCE} - Array of all keys for this type
19349
+ */
19350
+ export const KEY_WALLET_CREDIT_RESPONSE_WITH_BALANCE_STATUS = 'status' as keyof WalletCreditResponseWithBalance;
19351
+
19352
+ /**
19353
+ * Array of all WalletCreditResponseWithBalance property keys
19354
+ *
19355
+ * @remarks
19356
+ * This constant provides a readonly array containing all valid property keys for WalletCreditResponseWithBalance objects.
19357
+ * Useful for iteration, validation, and generating dynamic UI components.
19358
+ *
19359
+ * @example
19360
+ * ```typescript
19361
+ * // Iterating through all keys
19362
+ * for (const key of KEYS_WALLET_CREDIT_RESPONSE_WITH_BALANCE) {
19363
+ * console.log(`Property: ${key}, Value: ${walletcreditresponsewithbalance[key]}`);
19364
+ * }
19365
+ *
19366
+ * // Validation
19367
+ * const isValidKey = KEYS_WALLET_CREDIT_RESPONSE_WITH_BALANCE.includes(someKey);
19368
+ * ```
19369
+ *
19370
+ * @see {@link WalletCreditResponseWithBalance} - The TypeScript type definition
19371
+ */
19372
+ export const KEYS_WALLET_CREDIT_RESPONSE_WITH_BALANCE = [
19373
+ KEY_WALLET_CREDIT_RESPONSE_WITH_BALANCE_AMOUNT,
19374
+ KEY_WALLET_CREDIT_RESPONSE_WITH_BALANCE_BALANCE,
19375
+ KEY_WALLET_CREDIT_RESPONSE_WITH_BALANCE_CREDIT_ID,
19376
+ KEY_WALLET_CREDIT_RESPONSE_WITH_BALANCE_MESSAGE,
19377
+ KEY_WALLET_CREDIT_RESPONSE_WITH_BALANCE_STATUS,
19378
+ ] as const satisfies (keyof WalletCreditResponseWithBalance)[];
19379
+
18827
19380
  /**
18828
19381
  * Whois Server
18829
19382
  *