@opusdns/api 0.208.0 → 0.210.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/keys.ts +107 -710
- package/src/helpers/requests.d.ts +0 -55
- package/src/helpers/responses.d.ts +5 -140
- package/src/helpers/schemas-arrays.d.ts +20 -6
- package/src/helpers/schemas.d.ts +6 -38
- package/src/openapi.yaml +38 -285
- package/src/schema.d.ts +32 -232
package/src/helpers/keys.ts
CHANGED
|
@@ -43,7 +43,6 @@ import { ContactAttributeSet } from './schemas';
|
|
|
43
43
|
import { ContactAttributeSetUpdate } from './schemas';
|
|
44
44
|
import { ContactConfigBase } from './schemas';
|
|
45
45
|
import { ContactCreate } from './schemas';
|
|
46
|
-
import { ContactDetail } from './schemas';
|
|
47
46
|
import { ContactHandle } from './schemas';
|
|
48
47
|
import { Contact } from './schemas';
|
|
49
48
|
import { ContactSchema } from './schemas';
|
|
@@ -211,7 +210,6 @@ import { UserWithRelationPermissions } from './schemas';
|
|
|
211
210
|
import { ValidationError } from './schemas';
|
|
212
211
|
import { VisitsByKeyBucket } from './schemas';
|
|
213
212
|
import { WhoisBase } from './schemas';
|
|
214
|
-
import { WildcardHttpRedirectRequest } from './schemas';
|
|
215
213
|
import { RequestAuthcode } from './schemas';
|
|
216
214
|
import { RequestAuthcode2 } from './schemas';
|
|
217
215
|
import { DomainAvailabilityList } from './schemas';
|
|
@@ -2465,510 +2463,6 @@ export const KEYS_CONTACT_CREATE = [
|
|
|
2465
2463
|
KEY_CONTACT_CREATE_TITLE,
|
|
2466
2464
|
] as const satisfies (keyof ContactCreate)[];
|
|
2467
2465
|
|
|
2468
|
-
/**
|
|
2469
|
-
* Attribute Sets
|
|
2470
|
-
*
|
|
2471
|
-
* Linked attribute sets for this contact
|
|
2472
|
-
*
|
|
2473
|
-
* @type {array}
|
|
2474
|
-
*
|
|
2475
|
-
*
|
|
2476
|
-
* @remarks
|
|
2477
|
-
* This key constant provides type-safe access to the `attribute_sets` property of ContactDetail objects.
|
|
2478
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
2479
|
-
*
|
|
2480
|
-
* @example
|
|
2481
|
-
* ```typescript
|
|
2482
|
-
* // Direct property access
|
|
2483
|
-
* const value = contactdetail[KEY_CONTACT_DETAIL_ATTRIBUTE_SETS];
|
|
2484
|
-
*
|
|
2485
|
-
* // Dynamic property access
|
|
2486
|
-
* const propertyName = KEY_CONTACT_DETAIL_ATTRIBUTE_SETS;
|
|
2487
|
-
* const value = contactdetail[propertyName];
|
|
2488
|
-
* ```
|
|
2489
|
-
*
|
|
2490
|
-
* @see {@link ContactDetail} - The TypeScript type definition
|
|
2491
|
-
* @see {@link KEYS_CONTACT_DETAIL} - Array of all keys for this type
|
|
2492
|
-
*/
|
|
2493
|
-
export const KEY_CONTACT_DETAIL_ATTRIBUTE_SETS: keyof ContactDetail = 'attribute_sets';
|
|
2494
|
-
/**
|
|
2495
|
-
* City
|
|
2496
|
-
*
|
|
2497
|
-
* The city of the contact
|
|
2498
|
-
*
|
|
2499
|
-
* @type {string}
|
|
2500
|
-
*
|
|
2501
|
-
*
|
|
2502
|
-
* @remarks
|
|
2503
|
-
* This key constant provides type-safe access to the `city` property of ContactDetail objects.
|
|
2504
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
2505
|
-
*
|
|
2506
|
-
* @example
|
|
2507
|
-
* ```typescript
|
|
2508
|
-
* // Direct property access
|
|
2509
|
-
* const value = contactdetail[KEY_CONTACT_DETAIL_CITY];
|
|
2510
|
-
*
|
|
2511
|
-
* // Dynamic property access
|
|
2512
|
-
* const propertyName = KEY_CONTACT_DETAIL_CITY;
|
|
2513
|
-
* const value = contactdetail[propertyName];
|
|
2514
|
-
* ```
|
|
2515
|
-
*
|
|
2516
|
-
* @see {@link ContactDetail} - The TypeScript type definition
|
|
2517
|
-
* @see {@link KEYS_CONTACT_DETAIL} - Array of all keys for this type
|
|
2518
|
-
*/
|
|
2519
|
-
export const KEY_CONTACT_DETAIL_CITY: keyof ContactDetail = 'city';
|
|
2520
|
-
/**
|
|
2521
|
-
* Contact Id
|
|
2522
|
-
*
|
|
2523
|
-
*
|
|
2524
|
-
* @type {string}
|
|
2525
|
-
*
|
|
2526
|
-
*
|
|
2527
|
-
* @remarks
|
|
2528
|
-
* This key constant provides type-safe access to the `contact_id` property of ContactDetail objects.
|
|
2529
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
2530
|
-
*
|
|
2531
|
-
* @example
|
|
2532
|
-
* ```typescript
|
|
2533
|
-
* // Direct property access
|
|
2534
|
-
* const value = contactdetail[KEY_CONTACT_DETAIL_CONTACT_ID];
|
|
2535
|
-
*
|
|
2536
|
-
* // Dynamic property access
|
|
2537
|
-
* const propertyName = KEY_CONTACT_DETAIL_CONTACT_ID;
|
|
2538
|
-
* const value = contactdetail[propertyName];
|
|
2539
|
-
* ```
|
|
2540
|
-
*
|
|
2541
|
-
* @see {@link ContactDetail} - The TypeScript type definition
|
|
2542
|
-
* @see {@link KEYS_CONTACT_DETAIL} - Array of all keys for this type
|
|
2543
|
-
*/
|
|
2544
|
-
export const KEY_CONTACT_DETAIL_CONTACT_ID: keyof ContactDetail = 'contact_id';
|
|
2545
|
-
/**
|
|
2546
|
-
* Country
|
|
2547
|
-
*
|
|
2548
|
-
* The country of the contact
|
|
2549
|
-
*
|
|
2550
|
-
* @type {string}
|
|
2551
|
-
*
|
|
2552
|
-
*
|
|
2553
|
-
* @remarks
|
|
2554
|
-
* This key constant provides type-safe access to the `country` property of ContactDetail objects.
|
|
2555
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
2556
|
-
*
|
|
2557
|
-
* @example
|
|
2558
|
-
* ```typescript
|
|
2559
|
-
* // Direct property access
|
|
2560
|
-
* const value = contactdetail[KEY_CONTACT_DETAIL_COUNTRY];
|
|
2561
|
-
*
|
|
2562
|
-
* // Dynamic property access
|
|
2563
|
-
* const propertyName = KEY_CONTACT_DETAIL_COUNTRY;
|
|
2564
|
-
* const value = contactdetail[propertyName];
|
|
2565
|
-
* ```
|
|
2566
|
-
*
|
|
2567
|
-
* @see {@link ContactDetail} - The TypeScript type definition
|
|
2568
|
-
* @see {@link KEYS_CONTACT_DETAIL} - Array of all keys for this type
|
|
2569
|
-
*/
|
|
2570
|
-
export const KEY_CONTACT_DETAIL_COUNTRY: keyof ContactDetail = 'country';
|
|
2571
|
-
/**
|
|
2572
|
-
* Created On
|
|
2573
|
-
*
|
|
2574
|
-
* The date/time the entry was created on
|
|
2575
|
-
*
|
|
2576
|
-
* @type {string}
|
|
2577
|
-
*
|
|
2578
|
-
*
|
|
2579
|
-
* @remarks
|
|
2580
|
-
* This key constant provides type-safe access to the `created_on` property of ContactDetail objects.
|
|
2581
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
2582
|
-
*
|
|
2583
|
-
* @example
|
|
2584
|
-
* ```typescript
|
|
2585
|
-
* // Direct property access
|
|
2586
|
-
* const value = contactdetail[KEY_CONTACT_DETAIL_CREATED_ON];
|
|
2587
|
-
*
|
|
2588
|
-
* // Dynamic property access
|
|
2589
|
-
* const propertyName = KEY_CONTACT_DETAIL_CREATED_ON;
|
|
2590
|
-
* const value = contactdetail[propertyName];
|
|
2591
|
-
* ```
|
|
2592
|
-
*
|
|
2593
|
-
* @see {@link ContactDetail} - The TypeScript type definition
|
|
2594
|
-
* @see {@link KEYS_CONTACT_DETAIL} - Array of all keys for this type
|
|
2595
|
-
*/
|
|
2596
|
-
export const KEY_CONTACT_DETAIL_CREATED_ON: keyof ContactDetail = 'created_on';
|
|
2597
|
-
/**
|
|
2598
|
-
* Deleted On
|
|
2599
|
-
*
|
|
2600
|
-
* The date/time the entry was deleted on
|
|
2601
|
-
*
|
|
2602
|
-
*
|
|
2603
|
-
*
|
|
2604
|
-
* @remarks
|
|
2605
|
-
* This key constant provides type-safe access to the `deleted_on` property of ContactDetail objects.
|
|
2606
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
2607
|
-
*
|
|
2608
|
-
* @example
|
|
2609
|
-
* ```typescript
|
|
2610
|
-
* // Direct property access
|
|
2611
|
-
* const value = contactdetail[KEY_CONTACT_DETAIL_DELETED_ON];
|
|
2612
|
-
*
|
|
2613
|
-
* // Dynamic property access
|
|
2614
|
-
* const propertyName = KEY_CONTACT_DETAIL_DELETED_ON;
|
|
2615
|
-
* const value = contactdetail[propertyName];
|
|
2616
|
-
* ```
|
|
2617
|
-
*
|
|
2618
|
-
* @see {@link ContactDetail} - The TypeScript type definition
|
|
2619
|
-
* @see {@link KEYS_CONTACT_DETAIL} - Array of all keys for this type
|
|
2620
|
-
*/
|
|
2621
|
-
export const KEY_CONTACT_DETAIL_DELETED_ON: keyof ContactDetail = 'deleted_on';
|
|
2622
|
-
/**
|
|
2623
|
-
* Disclose
|
|
2624
|
-
*
|
|
2625
|
-
* Whether the contact details should be disclosed. The Disclose function may not work with all TLDs. Some registries still display the data in Whois if, for example, the organization field is filled in.
|
|
2626
|
-
*
|
|
2627
|
-
* @type {boolean}
|
|
2628
|
-
*
|
|
2629
|
-
*
|
|
2630
|
-
* @remarks
|
|
2631
|
-
* This key constant provides type-safe access to the `disclose` property of ContactDetail objects.
|
|
2632
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
2633
|
-
*
|
|
2634
|
-
* @example
|
|
2635
|
-
* ```typescript
|
|
2636
|
-
* // Direct property access
|
|
2637
|
-
* const value = contactdetail[KEY_CONTACT_DETAIL_DISCLOSE];
|
|
2638
|
-
*
|
|
2639
|
-
* // Dynamic property access
|
|
2640
|
-
* const propertyName = KEY_CONTACT_DETAIL_DISCLOSE;
|
|
2641
|
-
* const value = contactdetail[propertyName];
|
|
2642
|
-
* ```
|
|
2643
|
-
*
|
|
2644
|
-
* @see {@link ContactDetail} - The TypeScript type definition
|
|
2645
|
-
* @see {@link KEYS_CONTACT_DETAIL} - Array of all keys for this type
|
|
2646
|
-
*/
|
|
2647
|
-
export const KEY_CONTACT_DETAIL_DISCLOSE: keyof ContactDetail = 'disclose';
|
|
2648
|
-
/**
|
|
2649
|
-
* Email
|
|
2650
|
-
*
|
|
2651
|
-
* The email of the contact
|
|
2652
|
-
*
|
|
2653
|
-
* @type {string}
|
|
2654
|
-
*
|
|
2655
|
-
*
|
|
2656
|
-
* @remarks
|
|
2657
|
-
* This key constant provides type-safe access to the `email` property of ContactDetail objects.
|
|
2658
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
2659
|
-
*
|
|
2660
|
-
* @example
|
|
2661
|
-
* ```typescript
|
|
2662
|
-
* // Direct property access
|
|
2663
|
-
* const value = contactdetail[KEY_CONTACT_DETAIL_EMAIL];
|
|
2664
|
-
*
|
|
2665
|
-
* // Dynamic property access
|
|
2666
|
-
* const propertyName = KEY_CONTACT_DETAIL_EMAIL;
|
|
2667
|
-
* const value = contactdetail[propertyName];
|
|
2668
|
-
* ```
|
|
2669
|
-
*
|
|
2670
|
-
* @see {@link ContactDetail} - The TypeScript type definition
|
|
2671
|
-
* @see {@link KEYS_CONTACT_DETAIL} - Array of all keys for this type
|
|
2672
|
-
*/
|
|
2673
|
-
export const KEY_CONTACT_DETAIL_EMAIL: keyof ContactDetail = 'email';
|
|
2674
|
-
/**
|
|
2675
|
-
* Fax
|
|
2676
|
-
*
|
|
2677
|
-
* The contacts's fax number
|
|
2678
|
-
*
|
|
2679
|
-
*
|
|
2680
|
-
*
|
|
2681
|
-
* @remarks
|
|
2682
|
-
* This key constant provides type-safe access to the `fax` property of ContactDetail objects.
|
|
2683
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
2684
|
-
*
|
|
2685
|
-
* @example
|
|
2686
|
-
* ```typescript
|
|
2687
|
-
* // Direct property access
|
|
2688
|
-
* const value = contactdetail[KEY_CONTACT_DETAIL_FAX];
|
|
2689
|
-
*
|
|
2690
|
-
* // Dynamic property access
|
|
2691
|
-
* const propertyName = KEY_CONTACT_DETAIL_FAX;
|
|
2692
|
-
* const value = contactdetail[propertyName];
|
|
2693
|
-
* ```
|
|
2694
|
-
*
|
|
2695
|
-
* @see {@link ContactDetail} - The TypeScript type definition
|
|
2696
|
-
* @see {@link KEYS_CONTACT_DETAIL} - Array of all keys for this type
|
|
2697
|
-
*/
|
|
2698
|
-
export const KEY_CONTACT_DETAIL_FAX: keyof ContactDetail = 'fax';
|
|
2699
|
-
/**
|
|
2700
|
-
* First Name
|
|
2701
|
-
*
|
|
2702
|
-
* The first name of the contact
|
|
2703
|
-
*
|
|
2704
|
-
* @type {string}
|
|
2705
|
-
*
|
|
2706
|
-
*
|
|
2707
|
-
* @remarks
|
|
2708
|
-
* This key constant provides type-safe access to the `first_name` property of ContactDetail objects.
|
|
2709
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
2710
|
-
*
|
|
2711
|
-
* @example
|
|
2712
|
-
* ```typescript
|
|
2713
|
-
* // Direct property access
|
|
2714
|
-
* const value = contactdetail[KEY_CONTACT_DETAIL_FIRST_NAME];
|
|
2715
|
-
*
|
|
2716
|
-
* // Dynamic property access
|
|
2717
|
-
* const propertyName = KEY_CONTACT_DETAIL_FIRST_NAME;
|
|
2718
|
-
* const value = contactdetail[propertyName];
|
|
2719
|
-
* ```
|
|
2720
|
-
*
|
|
2721
|
-
* @see {@link ContactDetail} - The TypeScript type definition
|
|
2722
|
-
* @see {@link KEYS_CONTACT_DETAIL} - Array of all keys for this type
|
|
2723
|
-
*/
|
|
2724
|
-
export const KEY_CONTACT_DETAIL_FIRST_NAME: keyof ContactDetail = 'first_name';
|
|
2725
|
-
/**
|
|
2726
|
-
* Last Name
|
|
2727
|
-
*
|
|
2728
|
-
* The last name of the contact
|
|
2729
|
-
*
|
|
2730
|
-
* @type {string}
|
|
2731
|
-
*
|
|
2732
|
-
*
|
|
2733
|
-
* @remarks
|
|
2734
|
-
* This key constant provides type-safe access to the `last_name` property of ContactDetail objects.
|
|
2735
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
2736
|
-
*
|
|
2737
|
-
* @example
|
|
2738
|
-
* ```typescript
|
|
2739
|
-
* // Direct property access
|
|
2740
|
-
* const value = contactdetail[KEY_CONTACT_DETAIL_LAST_NAME];
|
|
2741
|
-
*
|
|
2742
|
-
* // Dynamic property access
|
|
2743
|
-
* const propertyName = KEY_CONTACT_DETAIL_LAST_NAME;
|
|
2744
|
-
* const value = contactdetail[propertyName];
|
|
2745
|
-
* ```
|
|
2746
|
-
*
|
|
2747
|
-
* @see {@link ContactDetail} - The TypeScript type definition
|
|
2748
|
-
* @see {@link KEYS_CONTACT_DETAIL} - Array of all keys for this type
|
|
2749
|
-
*/
|
|
2750
|
-
export const KEY_CONTACT_DETAIL_LAST_NAME: keyof ContactDetail = 'last_name';
|
|
2751
|
-
/**
|
|
2752
|
-
* Org
|
|
2753
|
-
*
|
|
2754
|
-
* The organization of the contact
|
|
2755
|
-
*
|
|
2756
|
-
*
|
|
2757
|
-
*
|
|
2758
|
-
* @remarks
|
|
2759
|
-
* This key constant provides type-safe access to the `org` property of ContactDetail objects.
|
|
2760
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
2761
|
-
*
|
|
2762
|
-
* @example
|
|
2763
|
-
* ```typescript
|
|
2764
|
-
* // Direct property access
|
|
2765
|
-
* const value = contactdetail[KEY_CONTACT_DETAIL_ORG];
|
|
2766
|
-
*
|
|
2767
|
-
* // Dynamic property access
|
|
2768
|
-
* const propertyName = KEY_CONTACT_DETAIL_ORG;
|
|
2769
|
-
* const value = contactdetail[propertyName];
|
|
2770
|
-
* ```
|
|
2771
|
-
*
|
|
2772
|
-
* @see {@link ContactDetail} - The TypeScript type definition
|
|
2773
|
-
* @see {@link KEYS_CONTACT_DETAIL} - Array of all keys for this type
|
|
2774
|
-
*/
|
|
2775
|
-
export const KEY_CONTACT_DETAIL_ORG: keyof ContactDetail = 'org';
|
|
2776
|
-
/**
|
|
2777
|
-
* Organization Id
|
|
2778
|
-
*
|
|
2779
|
-
* The organization that owns the domain
|
|
2780
|
-
*
|
|
2781
|
-
* @type {string}
|
|
2782
|
-
*
|
|
2783
|
-
*
|
|
2784
|
-
* @remarks
|
|
2785
|
-
* This key constant provides type-safe access to the `organization_id` property of ContactDetail objects.
|
|
2786
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
2787
|
-
*
|
|
2788
|
-
* @example
|
|
2789
|
-
* ```typescript
|
|
2790
|
-
* // Direct property access
|
|
2791
|
-
* const value = contactdetail[KEY_CONTACT_DETAIL_ORGANIZATION_ID];
|
|
2792
|
-
*
|
|
2793
|
-
* // Dynamic property access
|
|
2794
|
-
* const propertyName = KEY_CONTACT_DETAIL_ORGANIZATION_ID;
|
|
2795
|
-
* const value = contactdetail[propertyName];
|
|
2796
|
-
* ```
|
|
2797
|
-
*
|
|
2798
|
-
* @see {@link ContactDetail} - The TypeScript type definition
|
|
2799
|
-
* @see {@link KEYS_CONTACT_DETAIL} - Array of all keys for this type
|
|
2800
|
-
*/
|
|
2801
|
-
export const KEY_CONTACT_DETAIL_ORGANIZATION_ID: keyof ContactDetail = 'organization_id';
|
|
2802
|
-
/**
|
|
2803
|
-
* Phone
|
|
2804
|
-
*
|
|
2805
|
-
* The contact's phone number
|
|
2806
|
-
*
|
|
2807
|
-
* @type {string}
|
|
2808
|
-
*
|
|
2809
|
-
*
|
|
2810
|
-
* @remarks
|
|
2811
|
-
* This key constant provides type-safe access to the `phone` property of ContactDetail objects.
|
|
2812
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
2813
|
-
*
|
|
2814
|
-
* @example
|
|
2815
|
-
* ```typescript
|
|
2816
|
-
* // Direct property access
|
|
2817
|
-
* const value = contactdetail[KEY_CONTACT_DETAIL_PHONE];
|
|
2818
|
-
*
|
|
2819
|
-
* // Dynamic property access
|
|
2820
|
-
* const propertyName = KEY_CONTACT_DETAIL_PHONE;
|
|
2821
|
-
* const value = contactdetail[propertyName];
|
|
2822
|
-
* ```
|
|
2823
|
-
*
|
|
2824
|
-
* @see {@link ContactDetail} - The TypeScript type definition
|
|
2825
|
-
* @see {@link KEYS_CONTACT_DETAIL} - Array of all keys for this type
|
|
2826
|
-
*/
|
|
2827
|
-
export const KEY_CONTACT_DETAIL_PHONE: keyof ContactDetail = 'phone';
|
|
2828
|
-
/**
|
|
2829
|
-
* Postal Code
|
|
2830
|
-
*
|
|
2831
|
-
* The postal code of the contact
|
|
2832
|
-
*
|
|
2833
|
-
* @type {string}
|
|
2834
|
-
*
|
|
2835
|
-
*
|
|
2836
|
-
* @remarks
|
|
2837
|
-
* This key constant provides type-safe access to the `postal_code` property of ContactDetail objects.
|
|
2838
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
2839
|
-
*
|
|
2840
|
-
* @example
|
|
2841
|
-
* ```typescript
|
|
2842
|
-
* // Direct property access
|
|
2843
|
-
* const value = contactdetail[KEY_CONTACT_DETAIL_POSTAL_CODE];
|
|
2844
|
-
*
|
|
2845
|
-
* // Dynamic property access
|
|
2846
|
-
* const propertyName = KEY_CONTACT_DETAIL_POSTAL_CODE;
|
|
2847
|
-
* const value = contactdetail[propertyName];
|
|
2848
|
-
* ```
|
|
2849
|
-
*
|
|
2850
|
-
* @see {@link ContactDetail} - The TypeScript type definition
|
|
2851
|
-
* @see {@link KEYS_CONTACT_DETAIL} - Array of all keys for this type
|
|
2852
|
-
*/
|
|
2853
|
-
export const KEY_CONTACT_DETAIL_POSTAL_CODE: keyof ContactDetail = 'postal_code';
|
|
2854
|
-
/**
|
|
2855
|
-
* State
|
|
2856
|
-
*
|
|
2857
|
-
* The state of the contact
|
|
2858
|
-
*
|
|
2859
|
-
*
|
|
2860
|
-
*
|
|
2861
|
-
* @remarks
|
|
2862
|
-
* This key constant provides type-safe access to the `state` property of ContactDetail objects.
|
|
2863
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
2864
|
-
*
|
|
2865
|
-
* @example
|
|
2866
|
-
* ```typescript
|
|
2867
|
-
* // Direct property access
|
|
2868
|
-
* const value = contactdetail[KEY_CONTACT_DETAIL_STATE];
|
|
2869
|
-
*
|
|
2870
|
-
* // Dynamic property access
|
|
2871
|
-
* const propertyName = KEY_CONTACT_DETAIL_STATE;
|
|
2872
|
-
* const value = contactdetail[propertyName];
|
|
2873
|
-
* ```
|
|
2874
|
-
*
|
|
2875
|
-
* @see {@link ContactDetail} - The TypeScript type definition
|
|
2876
|
-
* @see {@link KEYS_CONTACT_DETAIL} - Array of all keys for this type
|
|
2877
|
-
*/
|
|
2878
|
-
export const KEY_CONTACT_DETAIL_STATE: keyof ContactDetail = 'state';
|
|
2879
|
-
/**
|
|
2880
|
-
* Street
|
|
2881
|
-
*
|
|
2882
|
-
* The address of the contact
|
|
2883
|
-
*
|
|
2884
|
-
* @type {string}
|
|
2885
|
-
*
|
|
2886
|
-
*
|
|
2887
|
-
* @remarks
|
|
2888
|
-
* This key constant provides type-safe access to the `street` property of ContactDetail objects.
|
|
2889
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
2890
|
-
*
|
|
2891
|
-
* @example
|
|
2892
|
-
* ```typescript
|
|
2893
|
-
* // Direct property access
|
|
2894
|
-
* const value = contactdetail[KEY_CONTACT_DETAIL_STREET];
|
|
2895
|
-
*
|
|
2896
|
-
* // Dynamic property access
|
|
2897
|
-
* const propertyName = KEY_CONTACT_DETAIL_STREET;
|
|
2898
|
-
* const value = contactdetail[propertyName];
|
|
2899
|
-
* ```
|
|
2900
|
-
*
|
|
2901
|
-
* @see {@link ContactDetail} - The TypeScript type definition
|
|
2902
|
-
* @see {@link KEYS_CONTACT_DETAIL} - Array of all keys for this type
|
|
2903
|
-
*/
|
|
2904
|
-
export const KEY_CONTACT_DETAIL_STREET: keyof ContactDetail = 'street';
|
|
2905
|
-
/**
|
|
2906
|
-
* Title
|
|
2907
|
-
*
|
|
2908
|
-
* The title of the contact
|
|
2909
|
-
*
|
|
2910
|
-
*
|
|
2911
|
-
*
|
|
2912
|
-
* @remarks
|
|
2913
|
-
* This key constant provides type-safe access to the `title` property of ContactDetail objects.
|
|
2914
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
2915
|
-
*
|
|
2916
|
-
* @example
|
|
2917
|
-
* ```typescript
|
|
2918
|
-
* // Direct property access
|
|
2919
|
-
* const value = contactdetail[KEY_CONTACT_DETAIL_TITLE];
|
|
2920
|
-
*
|
|
2921
|
-
* // Dynamic property access
|
|
2922
|
-
* const propertyName = KEY_CONTACT_DETAIL_TITLE;
|
|
2923
|
-
* const value = contactdetail[propertyName];
|
|
2924
|
-
* ```
|
|
2925
|
-
*
|
|
2926
|
-
* @see {@link ContactDetail} - The TypeScript type definition
|
|
2927
|
-
* @see {@link KEYS_CONTACT_DETAIL} - Array of all keys for this type
|
|
2928
|
-
*/
|
|
2929
|
-
export const KEY_CONTACT_DETAIL_TITLE: keyof ContactDetail = 'title';
|
|
2930
|
-
|
|
2931
|
-
/**
|
|
2932
|
-
* Array of all ContactDetail property keys
|
|
2933
|
-
*
|
|
2934
|
-
* @remarks
|
|
2935
|
-
* This constant provides a readonly array containing all valid property keys for ContactDetail objects.
|
|
2936
|
-
* Useful for iteration, validation, and generating dynamic UI components.
|
|
2937
|
-
*
|
|
2938
|
-
* @example
|
|
2939
|
-
* ```typescript
|
|
2940
|
-
* // Iterating through all keys
|
|
2941
|
-
* for (const key of KEYS_CONTACT_DETAIL) {
|
|
2942
|
-
* console.log(`Property: ${key}, Value: ${contactdetail[key]}`);
|
|
2943
|
-
* }
|
|
2944
|
-
*
|
|
2945
|
-
* // Validation
|
|
2946
|
-
* const isValidKey = KEYS_CONTACT_DETAIL.includes(someKey);
|
|
2947
|
-
* ```
|
|
2948
|
-
*
|
|
2949
|
-
* @see {@link ContactDetail} - The TypeScript type definition
|
|
2950
|
-
*/
|
|
2951
|
-
export const KEYS_CONTACT_DETAIL = [
|
|
2952
|
-
KEY_CONTACT_DETAIL_ATTRIBUTE_SETS,
|
|
2953
|
-
KEY_CONTACT_DETAIL_CITY,
|
|
2954
|
-
KEY_CONTACT_DETAIL_CONTACT_ID,
|
|
2955
|
-
KEY_CONTACT_DETAIL_COUNTRY,
|
|
2956
|
-
KEY_CONTACT_DETAIL_CREATED_ON,
|
|
2957
|
-
KEY_CONTACT_DETAIL_DELETED_ON,
|
|
2958
|
-
KEY_CONTACT_DETAIL_DISCLOSE,
|
|
2959
|
-
KEY_CONTACT_DETAIL_EMAIL,
|
|
2960
|
-
KEY_CONTACT_DETAIL_FAX,
|
|
2961
|
-
KEY_CONTACT_DETAIL_FIRST_NAME,
|
|
2962
|
-
KEY_CONTACT_DETAIL_LAST_NAME,
|
|
2963
|
-
KEY_CONTACT_DETAIL_ORG,
|
|
2964
|
-
KEY_CONTACT_DETAIL_ORGANIZATION_ID,
|
|
2965
|
-
KEY_CONTACT_DETAIL_PHONE,
|
|
2966
|
-
KEY_CONTACT_DETAIL_POSTAL_CODE,
|
|
2967
|
-
KEY_CONTACT_DETAIL_STATE,
|
|
2968
|
-
KEY_CONTACT_DETAIL_STREET,
|
|
2969
|
-
KEY_CONTACT_DETAIL_TITLE,
|
|
2970
|
-
] as const satisfies (keyof ContactDetail)[];
|
|
2971
|
-
|
|
2972
2466
|
/**
|
|
2973
2467
|
* Attributes
|
|
2974
2468
|
*
|
|
@@ -3046,6 +2540,32 @@ export const KEYS_CONTACT_HANDLE = [
|
|
|
3046
2540
|
KEY_CONTACT_HANDLE_CONTACT_ID,
|
|
3047
2541
|
] as const satisfies (keyof ContactHandle)[];
|
|
3048
2542
|
|
|
2543
|
+
/**
|
|
2544
|
+
* Attribute Sets
|
|
2545
|
+
*
|
|
2546
|
+
* Linked attribute sets for this contact
|
|
2547
|
+
*
|
|
2548
|
+
* @type {array}
|
|
2549
|
+
*
|
|
2550
|
+
*
|
|
2551
|
+
* @remarks
|
|
2552
|
+
* This key constant provides type-safe access to the `attribute_sets` property of Contact objects.
|
|
2553
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
2554
|
+
*
|
|
2555
|
+
* @example
|
|
2556
|
+
* ```typescript
|
|
2557
|
+
* // Direct property access
|
|
2558
|
+
* const value = contact[KEY_CONTACT_ATTRIBUTE_SETS];
|
|
2559
|
+
*
|
|
2560
|
+
* // Dynamic property access
|
|
2561
|
+
* const propertyName = KEY_CONTACT_ATTRIBUTE_SETS;
|
|
2562
|
+
* const value = contact[propertyName];
|
|
2563
|
+
* ```
|
|
2564
|
+
*
|
|
2565
|
+
* @see {@link Contact} - The TypeScript type definition
|
|
2566
|
+
* @see {@link KEYS_CONTACT} - Array of all keys for this type
|
|
2567
|
+
*/
|
|
2568
|
+
export const KEY_CONTACT_ATTRIBUTE_SETS: keyof Contact = 'attribute_sets';
|
|
3049
2569
|
/**
|
|
3050
2570
|
* City
|
|
3051
2571
|
*
|
|
@@ -3072,6 +2592,31 @@ export const KEYS_CONTACT_HANDLE = [
|
|
|
3072
2592
|
* @see {@link KEYS_CONTACT} - Array of all keys for this type
|
|
3073
2593
|
*/
|
|
3074
2594
|
export const KEY_CONTACT_CITY: keyof Contact = 'city';
|
|
2595
|
+
/**
|
|
2596
|
+
* Contact Id
|
|
2597
|
+
*
|
|
2598
|
+
*
|
|
2599
|
+
* @type {string}
|
|
2600
|
+
*
|
|
2601
|
+
*
|
|
2602
|
+
* @remarks
|
|
2603
|
+
* This key constant provides type-safe access to the `contact_id` property of Contact objects.
|
|
2604
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
2605
|
+
*
|
|
2606
|
+
* @example
|
|
2607
|
+
* ```typescript
|
|
2608
|
+
* // Direct property access
|
|
2609
|
+
* const value = contact[KEY_CONTACT_CONTACT_ID];
|
|
2610
|
+
*
|
|
2611
|
+
* // Dynamic property access
|
|
2612
|
+
* const propertyName = KEY_CONTACT_CONTACT_ID;
|
|
2613
|
+
* const value = contact[propertyName];
|
|
2614
|
+
* ```
|
|
2615
|
+
*
|
|
2616
|
+
* @see {@link Contact} - The TypeScript type definition
|
|
2617
|
+
* @see {@link KEYS_CONTACT} - Array of all keys for this type
|
|
2618
|
+
*/
|
|
2619
|
+
export const KEY_CONTACT_CONTACT_ID: keyof Contact = 'contact_id';
|
|
3075
2620
|
/**
|
|
3076
2621
|
* Country
|
|
3077
2622
|
*
|
|
@@ -3098,6 +2643,32 @@ export const KEY_CONTACT_CITY: keyof Contact = 'city';
|
|
|
3098
2643
|
* @see {@link KEYS_CONTACT} - Array of all keys for this type
|
|
3099
2644
|
*/
|
|
3100
2645
|
export const KEY_CONTACT_COUNTRY: keyof Contact = 'country';
|
|
2646
|
+
/**
|
|
2647
|
+
* Created On
|
|
2648
|
+
*
|
|
2649
|
+
* The date/time the entry was created on
|
|
2650
|
+
*
|
|
2651
|
+
* @type {string}
|
|
2652
|
+
*
|
|
2653
|
+
*
|
|
2654
|
+
* @remarks
|
|
2655
|
+
* This key constant provides type-safe access to the `created_on` property of Contact objects.
|
|
2656
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
2657
|
+
*
|
|
2658
|
+
* @example
|
|
2659
|
+
* ```typescript
|
|
2660
|
+
* // Direct property access
|
|
2661
|
+
* const value = contact[KEY_CONTACT_CREATED_ON];
|
|
2662
|
+
*
|
|
2663
|
+
* // Dynamic property access
|
|
2664
|
+
* const propertyName = KEY_CONTACT_CREATED_ON;
|
|
2665
|
+
* const value = contact[propertyName];
|
|
2666
|
+
* ```
|
|
2667
|
+
*
|
|
2668
|
+
* @see {@link Contact} - The TypeScript type definition
|
|
2669
|
+
* @see {@link KEYS_CONTACT} - Array of all keys for this type
|
|
2670
|
+
*/
|
|
2671
|
+
export const KEY_CONTACT_CREATED_ON: keyof Contact = 'created_on';
|
|
3101
2672
|
/**
|
|
3102
2673
|
* Disclose
|
|
3103
2674
|
*
|
|
@@ -3252,6 +2823,32 @@ export const KEY_CONTACT_LAST_NAME: keyof Contact = 'last_name';
|
|
|
3252
2823
|
* @see {@link KEYS_CONTACT} - Array of all keys for this type
|
|
3253
2824
|
*/
|
|
3254
2825
|
export const KEY_CONTACT_ORG: keyof Contact = 'org';
|
|
2826
|
+
/**
|
|
2827
|
+
* Organization Id
|
|
2828
|
+
*
|
|
2829
|
+
* The organization that owns the domain
|
|
2830
|
+
*
|
|
2831
|
+
* @type {string}
|
|
2832
|
+
*
|
|
2833
|
+
*
|
|
2834
|
+
* @remarks
|
|
2835
|
+
* This key constant provides type-safe access to the `organization_id` property of Contact objects.
|
|
2836
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
2837
|
+
*
|
|
2838
|
+
* @example
|
|
2839
|
+
* ```typescript
|
|
2840
|
+
* // Direct property access
|
|
2841
|
+
* const value = contact[KEY_CONTACT_ORGANIZATION_ID];
|
|
2842
|
+
*
|
|
2843
|
+
* // Dynamic property access
|
|
2844
|
+
* const propertyName = KEY_CONTACT_ORGANIZATION_ID;
|
|
2845
|
+
* const value = contact[propertyName];
|
|
2846
|
+
* ```
|
|
2847
|
+
*
|
|
2848
|
+
* @see {@link Contact} - The TypeScript type definition
|
|
2849
|
+
* @see {@link KEYS_CONTACT} - Array of all keys for this type
|
|
2850
|
+
*/
|
|
2851
|
+
export const KEY_CONTACT_ORGANIZATION_ID: keyof Contact = 'organization_id';
|
|
3255
2852
|
/**
|
|
3256
2853
|
* Phone
|
|
3257
2854
|
*
|
|
@@ -3402,14 +2999,18 @@ export const KEY_CONTACT_TITLE: keyof Contact = 'title';
|
|
|
3402
2999
|
* @see {@link Contact} - The TypeScript type definition
|
|
3403
3000
|
*/
|
|
3404
3001
|
export const KEYS_CONTACT = [
|
|
3002
|
+
KEY_CONTACT_ATTRIBUTE_SETS,
|
|
3405
3003
|
KEY_CONTACT_CITY,
|
|
3004
|
+
KEY_CONTACT_CONTACT_ID,
|
|
3406
3005
|
KEY_CONTACT_COUNTRY,
|
|
3006
|
+
KEY_CONTACT_CREATED_ON,
|
|
3407
3007
|
KEY_CONTACT_DISCLOSE,
|
|
3408
3008
|
KEY_CONTACT_EMAIL,
|
|
3409
3009
|
KEY_CONTACT_FAX,
|
|
3410
3010
|
KEY_CONTACT_FIRST_NAME,
|
|
3411
3011
|
KEY_CONTACT_LAST_NAME,
|
|
3412
3012
|
KEY_CONTACT_ORG,
|
|
3013
|
+
KEY_CONTACT_ORGANIZATION_ID,
|
|
3413
3014
|
KEY_CONTACT_PHONE,
|
|
3414
3015
|
KEY_CONTACT_POSTAL_CODE,
|
|
3415
3016
|
KEY_CONTACT_STATE,
|
|
@@ -3520,31 +3121,6 @@ export const KEY_CONTACT_SCHEMA_COUNTRY: keyof ContactSchema = 'country';
|
|
|
3520
3121
|
* @see {@link KEYS_CONTACT_SCHEMA} - Array of all keys for this type
|
|
3521
3122
|
*/
|
|
3522
3123
|
export const KEY_CONTACT_SCHEMA_CREATED_ON: keyof ContactSchema = 'created_on';
|
|
3523
|
-
/**
|
|
3524
|
-
* Deleted On
|
|
3525
|
-
*
|
|
3526
|
-
* The date/time the entry was deleted on
|
|
3527
|
-
*
|
|
3528
|
-
*
|
|
3529
|
-
*
|
|
3530
|
-
* @remarks
|
|
3531
|
-
* This key constant provides type-safe access to the `deleted_on` property of ContactSchema objects.
|
|
3532
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
3533
|
-
*
|
|
3534
|
-
* @example
|
|
3535
|
-
* ```typescript
|
|
3536
|
-
* // Direct property access
|
|
3537
|
-
* const value = contactschema[KEY_CONTACT_SCHEMA_DELETED_ON];
|
|
3538
|
-
*
|
|
3539
|
-
* // Dynamic property access
|
|
3540
|
-
* const propertyName = KEY_CONTACT_SCHEMA_DELETED_ON;
|
|
3541
|
-
* const value = contactschema[propertyName];
|
|
3542
|
-
* ```
|
|
3543
|
-
*
|
|
3544
|
-
* @see {@link ContactSchema} - The TypeScript type definition
|
|
3545
|
-
* @see {@link KEYS_CONTACT_SCHEMA} - Array of all keys for this type
|
|
3546
|
-
*/
|
|
3547
|
-
export const KEY_CONTACT_SCHEMA_DELETED_ON: keyof ContactSchema = 'deleted_on';
|
|
3548
3124
|
/**
|
|
3549
3125
|
* Disclose
|
|
3550
3126
|
*
|
|
@@ -3879,7 +3455,6 @@ export const KEYS_CONTACT_SCHEMA = [
|
|
|
3879
3455
|
KEY_CONTACT_SCHEMA_CONTACT_ID,
|
|
3880
3456
|
KEY_CONTACT_SCHEMA_COUNTRY,
|
|
3881
3457
|
KEY_CONTACT_SCHEMA_CREATED_ON,
|
|
3882
|
-
KEY_CONTACT_SCHEMA_DELETED_ON,
|
|
3883
3458
|
KEY_CONTACT_SCHEMA_DISCLOSE,
|
|
3884
3459
|
KEY_CONTACT_SCHEMA_EMAIL,
|
|
3885
3460
|
KEY_CONTACT_SCHEMA_FAX,
|
|
@@ -27700,184 +27275,6 @@ export const KEYS_WHOIS_BASE = [
|
|
|
27700
27275
|
KEY_WHOIS_BASE_WHOIS_SERVER,
|
|
27701
27276
|
] as const satisfies (keyof WhoisBase)[];
|
|
27702
27277
|
|
|
27703
|
-
/**
|
|
27704
|
-
* redirect_code property
|
|
27705
|
-
*
|
|
27706
|
-
*
|
|
27707
|
-
*
|
|
27708
|
-
*
|
|
27709
|
-
* @remarks
|
|
27710
|
-
* This key constant provides type-safe access to the `redirect_code` property of WildcardHttpRedirectRequest objects.
|
|
27711
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
27712
|
-
*
|
|
27713
|
-
* @example
|
|
27714
|
-
* ```typescript
|
|
27715
|
-
* // Direct property access
|
|
27716
|
-
* const value = wildcardhttpredirectrequest[KEY_WILDCARD_HTTP_REDIRECT_REQUEST_REDIRECT_CODE];
|
|
27717
|
-
*
|
|
27718
|
-
* // Dynamic property access
|
|
27719
|
-
* const propertyName = KEY_WILDCARD_HTTP_REDIRECT_REQUEST_REDIRECT_CODE;
|
|
27720
|
-
* const value = wildcardhttpredirectrequest[propertyName];
|
|
27721
|
-
* ```
|
|
27722
|
-
*
|
|
27723
|
-
* @see {@link WildcardHttpRedirectRequest} - The TypeScript type definition
|
|
27724
|
-
* @see {@link KEYS_WILDCARD_HTTP_REDIRECT_REQUEST} - Array of all keys for this type
|
|
27725
|
-
*/
|
|
27726
|
-
export const KEY_WILDCARD_HTTP_REDIRECT_REQUEST_REDIRECT_CODE: keyof WildcardHttpRedirectRequest = 'redirect_code';
|
|
27727
|
-
/**
|
|
27728
|
-
* Request Path
|
|
27729
|
-
*
|
|
27730
|
-
*
|
|
27731
|
-
* @type {string}
|
|
27732
|
-
*
|
|
27733
|
-
*
|
|
27734
|
-
* @remarks
|
|
27735
|
-
* This key constant provides type-safe access to the `request_path` property of WildcardHttpRedirectRequest objects.
|
|
27736
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
27737
|
-
*
|
|
27738
|
-
* @example
|
|
27739
|
-
* ```typescript
|
|
27740
|
-
* // Direct property access
|
|
27741
|
-
* const value = wildcardhttpredirectrequest[KEY_WILDCARD_HTTP_REDIRECT_REQUEST_REQUEST_PATH];
|
|
27742
|
-
*
|
|
27743
|
-
* // Dynamic property access
|
|
27744
|
-
* const propertyName = KEY_WILDCARD_HTTP_REDIRECT_REQUEST_REQUEST_PATH;
|
|
27745
|
-
* const value = wildcardhttpredirectrequest[propertyName];
|
|
27746
|
-
* ```
|
|
27747
|
-
*
|
|
27748
|
-
* @see {@link WildcardHttpRedirectRequest} - The TypeScript type definition
|
|
27749
|
-
* @see {@link KEYS_WILDCARD_HTTP_REDIRECT_REQUEST} - Array of all keys for this type
|
|
27750
|
-
*/
|
|
27751
|
-
export const KEY_WILDCARD_HTTP_REDIRECT_REQUEST_REQUEST_PATH: keyof WildcardHttpRedirectRequest = 'request_path';
|
|
27752
|
-
/**
|
|
27753
|
-
* Request Subdomain
|
|
27754
|
-
*
|
|
27755
|
-
*
|
|
27756
|
-
* @type {string}
|
|
27757
|
-
*
|
|
27758
|
-
*
|
|
27759
|
-
* @remarks
|
|
27760
|
-
* This key constant provides type-safe access to the `request_subdomain` property of WildcardHttpRedirectRequest objects.
|
|
27761
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
27762
|
-
*
|
|
27763
|
-
* @example
|
|
27764
|
-
* ```typescript
|
|
27765
|
-
* // Direct property access
|
|
27766
|
-
* const value = wildcardhttpredirectrequest[KEY_WILDCARD_HTTP_REDIRECT_REQUEST_REQUEST_SUBDOMAIN];
|
|
27767
|
-
*
|
|
27768
|
-
* // Dynamic property access
|
|
27769
|
-
* const propertyName = KEY_WILDCARD_HTTP_REDIRECT_REQUEST_REQUEST_SUBDOMAIN;
|
|
27770
|
-
* const value = wildcardhttpredirectrequest[propertyName];
|
|
27771
|
-
* ```
|
|
27772
|
-
*
|
|
27773
|
-
* @see {@link WildcardHttpRedirectRequest} - The TypeScript type definition
|
|
27774
|
-
* @see {@link KEYS_WILDCARD_HTTP_REDIRECT_REQUEST} - Array of all keys for this type
|
|
27775
|
-
*/
|
|
27776
|
-
export const KEY_WILDCARD_HTTP_REDIRECT_REQUEST_REQUEST_SUBDOMAIN: keyof WildcardHttpRedirectRequest = 'request_subdomain';
|
|
27777
|
-
/**
|
|
27778
|
-
* Target Hostname
|
|
27779
|
-
*
|
|
27780
|
-
*
|
|
27781
|
-
* @type {string}
|
|
27782
|
-
*
|
|
27783
|
-
*
|
|
27784
|
-
* @remarks
|
|
27785
|
-
* This key constant provides type-safe access to the `target_hostname` property of WildcardHttpRedirectRequest objects.
|
|
27786
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
27787
|
-
*
|
|
27788
|
-
* @example
|
|
27789
|
-
* ```typescript
|
|
27790
|
-
* // Direct property access
|
|
27791
|
-
* const value = wildcardhttpredirectrequest[KEY_WILDCARD_HTTP_REDIRECT_REQUEST_TARGET_HOSTNAME];
|
|
27792
|
-
*
|
|
27793
|
-
* // Dynamic property access
|
|
27794
|
-
* const propertyName = KEY_WILDCARD_HTTP_REDIRECT_REQUEST_TARGET_HOSTNAME;
|
|
27795
|
-
* const value = wildcardhttpredirectrequest[propertyName];
|
|
27796
|
-
* ```
|
|
27797
|
-
*
|
|
27798
|
-
* @see {@link WildcardHttpRedirectRequest} - The TypeScript type definition
|
|
27799
|
-
* @see {@link KEYS_WILDCARD_HTTP_REDIRECT_REQUEST} - Array of all keys for this type
|
|
27800
|
-
*/
|
|
27801
|
-
export const KEY_WILDCARD_HTTP_REDIRECT_REQUEST_TARGET_HOSTNAME: keyof WildcardHttpRedirectRequest = 'target_hostname';
|
|
27802
|
-
/**
|
|
27803
|
-
* Target Path
|
|
27804
|
-
*
|
|
27805
|
-
*
|
|
27806
|
-
* @type {string}
|
|
27807
|
-
*
|
|
27808
|
-
*
|
|
27809
|
-
* @remarks
|
|
27810
|
-
* This key constant provides type-safe access to the `target_path` property of WildcardHttpRedirectRequest objects.
|
|
27811
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
27812
|
-
*
|
|
27813
|
-
* @example
|
|
27814
|
-
* ```typescript
|
|
27815
|
-
* // Direct property access
|
|
27816
|
-
* const value = wildcardhttpredirectrequest[KEY_WILDCARD_HTTP_REDIRECT_REQUEST_TARGET_PATH];
|
|
27817
|
-
*
|
|
27818
|
-
* // Dynamic property access
|
|
27819
|
-
* const propertyName = KEY_WILDCARD_HTTP_REDIRECT_REQUEST_TARGET_PATH;
|
|
27820
|
-
* const value = wildcardhttpredirectrequest[propertyName];
|
|
27821
|
-
* ```
|
|
27822
|
-
*
|
|
27823
|
-
* @see {@link WildcardHttpRedirectRequest} - The TypeScript type definition
|
|
27824
|
-
* @see {@link KEYS_WILDCARD_HTTP_REDIRECT_REQUEST} - Array of all keys for this type
|
|
27825
|
-
*/
|
|
27826
|
-
export const KEY_WILDCARD_HTTP_REDIRECT_REQUEST_TARGET_PATH: keyof WildcardHttpRedirectRequest = 'target_path';
|
|
27827
|
-
/**
|
|
27828
|
-
* target_protocol property
|
|
27829
|
-
*
|
|
27830
|
-
*
|
|
27831
|
-
*
|
|
27832
|
-
*
|
|
27833
|
-
* @remarks
|
|
27834
|
-
* This key constant provides type-safe access to the `target_protocol` property of WildcardHttpRedirectRequest objects.
|
|
27835
|
-
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
27836
|
-
*
|
|
27837
|
-
* @example
|
|
27838
|
-
* ```typescript
|
|
27839
|
-
* // Direct property access
|
|
27840
|
-
* const value = wildcardhttpredirectrequest[KEY_WILDCARD_HTTP_REDIRECT_REQUEST_TARGET_PROTOCOL];
|
|
27841
|
-
*
|
|
27842
|
-
* // Dynamic property access
|
|
27843
|
-
* const propertyName = KEY_WILDCARD_HTTP_REDIRECT_REQUEST_TARGET_PROTOCOL;
|
|
27844
|
-
* const value = wildcardhttpredirectrequest[propertyName];
|
|
27845
|
-
* ```
|
|
27846
|
-
*
|
|
27847
|
-
* @see {@link WildcardHttpRedirectRequest} - The TypeScript type definition
|
|
27848
|
-
* @see {@link KEYS_WILDCARD_HTTP_REDIRECT_REQUEST} - Array of all keys for this type
|
|
27849
|
-
*/
|
|
27850
|
-
export const KEY_WILDCARD_HTTP_REDIRECT_REQUEST_TARGET_PROTOCOL: keyof WildcardHttpRedirectRequest = 'target_protocol';
|
|
27851
|
-
|
|
27852
|
-
/**
|
|
27853
|
-
* Array of all WildcardHttpRedirectRequest property keys
|
|
27854
|
-
*
|
|
27855
|
-
* @remarks
|
|
27856
|
-
* This constant provides a readonly array containing all valid property keys for WildcardHttpRedirectRequest objects.
|
|
27857
|
-
* Useful for iteration, validation, and generating dynamic UI components.
|
|
27858
|
-
*
|
|
27859
|
-
* @example
|
|
27860
|
-
* ```typescript
|
|
27861
|
-
* // Iterating through all keys
|
|
27862
|
-
* for (const key of KEYS_WILDCARD_HTTP_REDIRECT_REQUEST) {
|
|
27863
|
-
* console.log(`Property: ${key}, Value: ${wildcardhttpredirectrequest[key]}`);
|
|
27864
|
-
* }
|
|
27865
|
-
*
|
|
27866
|
-
* // Validation
|
|
27867
|
-
* const isValidKey = KEYS_WILDCARD_HTTP_REDIRECT_REQUEST.includes(someKey);
|
|
27868
|
-
* ```
|
|
27869
|
-
*
|
|
27870
|
-
* @see {@link WildcardHttpRedirectRequest} - The TypeScript type definition
|
|
27871
|
-
*/
|
|
27872
|
-
export const KEYS_WILDCARD_HTTP_REDIRECT_REQUEST = [
|
|
27873
|
-
KEY_WILDCARD_HTTP_REDIRECT_REQUEST_REDIRECT_CODE,
|
|
27874
|
-
KEY_WILDCARD_HTTP_REDIRECT_REQUEST_REQUEST_PATH,
|
|
27875
|
-
KEY_WILDCARD_HTTP_REDIRECT_REQUEST_REQUEST_SUBDOMAIN,
|
|
27876
|
-
KEY_WILDCARD_HTTP_REDIRECT_REQUEST_TARGET_HOSTNAME,
|
|
27877
|
-
KEY_WILDCARD_HTTP_REDIRECT_REQUEST_TARGET_PATH,
|
|
27878
|
-
KEY_WILDCARD_HTTP_REDIRECT_REQUEST_TARGET_PROTOCOL,
|
|
27879
|
-
] as const satisfies (keyof WildcardHttpRedirectRequest)[];
|
|
27880
|
-
|
|
27881
27278
|
/**
|
|
27882
27279
|
* Detail
|
|
27883
27280
|
*
|