@opusdns/api 0.289.0 → 0.290.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 +105 -1
- package/src/helpers/keys.ts +1641 -0
- package/src/helpers/requests.d.ts +45 -5
- package/src/helpers/responses.d.ts +121 -8
- package/src/helpers/schemas-arrays.d.ts +99 -1
- package/src/helpers/schemas.d.ts +224 -0
- package/src/openapi.yaml +507 -40
- package/src/schema.d.ts +377 -27
package/src/helpers/keys.ts
CHANGED
|
@@ -36,6 +36,9 @@ import { BillingPlan } from './schemas';
|
|
|
36
36
|
import { BillingTransaction } from './schemas';
|
|
37
37
|
import { BrowserStatsBucket } from './schemas';
|
|
38
38
|
import { BulkObjectTagChanges } from './schemas';
|
|
39
|
+
import { ClaimsNotice } from './schemas';
|
|
40
|
+
import { ClaimsNoticesRequest } from './schemas';
|
|
41
|
+
import { ClaimsNotices } from './schemas';
|
|
39
42
|
import { CommandError } from './schemas';
|
|
40
43
|
import { ContactAttributeDefinition } from './schemas';
|
|
41
44
|
import { ContactAttributeLinkDetail } from './schemas';
|
|
@@ -302,6 +305,15 @@ import { TimeSeriesBucket } from './schemas';
|
|
|
302
305
|
import { TldBase } from './schemas';
|
|
303
306
|
import { TldResponseShort } from './schemas';
|
|
304
307
|
import { TldSpecification } from './schemas';
|
|
308
|
+
import { TmAddr } from './schemas';
|
|
309
|
+
import { TmClaim } from './schemas';
|
|
310
|
+
import { TmClassDesc } from './schemas';
|
|
311
|
+
import { TmContact } from './schemas';
|
|
312
|
+
import { TmCourt } from './schemas';
|
|
313
|
+
import { TmHolder } from './schemas';
|
|
314
|
+
import { TmJurDesc } from './schemas';
|
|
315
|
+
import { TmNotExactMatch } from './schemas';
|
|
316
|
+
import { TmUdrp } from './schemas';
|
|
305
317
|
import { TrademarkClaimsBase } from './schemas';
|
|
306
318
|
import { TransferLockPolicyBase } from './schemas';
|
|
307
319
|
import { TransferPoliciesBase } from './schemas';
|
|
@@ -1413,6 +1425,401 @@ export const KEYS_BULK_OBJECT_TAG_CHANGES = [
|
|
|
1413
1425
|
KEY_BULK_OBJECT_TAG_CHANGES_TYPE,
|
|
1414
1426
|
] as const satisfies (keyof BulkObjectTagChanges)[];
|
|
1415
1427
|
|
|
1428
|
+
/**
|
|
1429
|
+
* Claims
|
|
1430
|
+
*
|
|
1431
|
+
* List of trademark claims
|
|
1432
|
+
*
|
|
1433
|
+
* @type {array}
|
|
1434
|
+
*
|
|
1435
|
+
*
|
|
1436
|
+
* @remarks
|
|
1437
|
+
* This key constant provides type-safe access to the `claims` property of ClaimsNotice objects.
|
|
1438
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
1439
|
+
*
|
|
1440
|
+
* @example
|
|
1441
|
+
* ```typescript
|
|
1442
|
+
* // Direct property access
|
|
1443
|
+
* const value = claimsnotice[KEY_CLAIMS_NOTICE_CLAIMS];
|
|
1444
|
+
*
|
|
1445
|
+
* // Dynamic property access
|
|
1446
|
+
* const propertyName = KEY_CLAIMS_NOTICE_CLAIMS;
|
|
1447
|
+
* const value = claimsnotice[propertyName];
|
|
1448
|
+
* ```
|
|
1449
|
+
*
|
|
1450
|
+
* @see {@link ClaimsNotice} - The TypeScript type definition
|
|
1451
|
+
* @see {@link KEYS_CLAIMS_NOTICE} - Array of all keys for this type
|
|
1452
|
+
*/
|
|
1453
|
+
export const KEY_CLAIMS_NOTICE_CLAIMS: keyof ClaimsNotice = 'claims';
|
|
1454
|
+
/**
|
|
1455
|
+
* Claims Key
|
|
1456
|
+
*
|
|
1457
|
+
* The claims key used to retrieve this claims notice
|
|
1458
|
+
*
|
|
1459
|
+
* @type {string}
|
|
1460
|
+
*
|
|
1461
|
+
*
|
|
1462
|
+
* @remarks
|
|
1463
|
+
* This key constant provides type-safe access to the `claims_key` property of ClaimsNotice objects.
|
|
1464
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
1465
|
+
*
|
|
1466
|
+
* @example
|
|
1467
|
+
* ```typescript
|
|
1468
|
+
* // Direct property access
|
|
1469
|
+
* const value = claimsnotice[KEY_CLAIMS_NOTICE_CLAIMS_KEY];
|
|
1470
|
+
*
|
|
1471
|
+
* // Dynamic property access
|
|
1472
|
+
* const propertyName = KEY_CLAIMS_NOTICE_CLAIMS_KEY;
|
|
1473
|
+
* const value = claimsnotice[propertyName];
|
|
1474
|
+
* ```
|
|
1475
|
+
*
|
|
1476
|
+
* @see {@link ClaimsNotice} - The TypeScript type definition
|
|
1477
|
+
* @see {@link KEYS_CLAIMS_NOTICE} - Array of all keys for this type
|
|
1478
|
+
*/
|
|
1479
|
+
export const KEY_CLAIMS_NOTICE_CLAIMS_KEY: keyof ClaimsNotice = 'claims_key';
|
|
1480
|
+
/**
|
|
1481
|
+
* Claims Notice Acceptance Hash
|
|
1482
|
+
*
|
|
1483
|
+
* Hash to accept the claims notice
|
|
1484
|
+
*
|
|
1485
|
+
* @type {string}
|
|
1486
|
+
*
|
|
1487
|
+
*
|
|
1488
|
+
* @remarks
|
|
1489
|
+
* This key constant provides type-safe access to the `claims_notice_acceptance_hash` property of ClaimsNotice objects.
|
|
1490
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
1491
|
+
*
|
|
1492
|
+
* @example
|
|
1493
|
+
* ```typescript
|
|
1494
|
+
* // Direct property access
|
|
1495
|
+
* const value = claimsnotice[KEY_CLAIMS_NOTICE_CLAIMS_NOTICE_ACCEPTANCE_HASH];
|
|
1496
|
+
*
|
|
1497
|
+
* // Dynamic property access
|
|
1498
|
+
* const propertyName = KEY_CLAIMS_NOTICE_CLAIMS_NOTICE_ACCEPTANCE_HASH;
|
|
1499
|
+
* const value = claimsnotice[propertyName];
|
|
1500
|
+
* ```
|
|
1501
|
+
*
|
|
1502
|
+
* @see {@link ClaimsNotice} - The TypeScript type definition
|
|
1503
|
+
* @see {@link KEYS_CLAIMS_NOTICE} - Array of all keys for this type
|
|
1504
|
+
*/
|
|
1505
|
+
export const KEY_CLAIMS_NOTICE_CLAIMS_NOTICE_ACCEPTANCE_HASH: keyof ClaimsNotice = 'claims_notice_acceptance_hash';
|
|
1506
|
+
/**
|
|
1507
|
+
* Label
|
|
1508
|
+
*
|
|
1509
|
+
* Domain name label covered by this claims notice
|
|
1510
|
+
*
|
|
1511
|
+
* @type {string}
|
|
1512
|
+
*
|
|
1513
|
+
*
|
|
1514
|
+
* @remarks
|
|
1515
|
+
* This key constant provides type-safe access to the `label` property of ClaimsNotice objects.
|
|
1516
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
1517
|
+
*
|
|
1518
|
+
* @example
|
|
1519
|
+
* ```typescript
|
|
1520
|
+
* // Direct property access
|
|
1521
|
+
* const value = claimsnotice[KEY_CLAIMS_NOTICE_LABEL];
|
|
1522
|
+
*
|
|
1523
|
+
* // Dynamic property access
|
|
1524
|
+
* const propertyName = KEY_CLAIMS_NOTICE_LABEL;
|
|
1525
|
+
* const value = claimsnotice[propertyName];
|
|
1526
|
+
* ```
|
|
1527
|
+
*
|
|
1528
|
+
* @see {@link ClaimsNotice} - The TypeScript type definition
|
|
1529
|
+
* @see {@link KEYS_CLAIMS_NOTICE} - Array of all keys for this type
|
|
1530
|
+
*/
|
|
1531
|
+
export const KEY_CLAIMS_NOTICE_LABEL: keyof ClaimsNotice = 'label';
|
|
1532
|
+
/**
|
|
1533
|
+
* Notice Footer
|
|
1534
|
+
*
|
|
1535
|
+
* Claims notice form footer text
|
|
1536
|
+
*
|
|
1537
|
+
* @type {string}
|
|
1538
|
+
*
|
|
1539
|
+
*
|
|
1540
|
+
* @remarks
|
|
1541
|
+
* This key constant provides type-safe access to the `notice_footer` property of ClaimsNotice objects.
|
|
1542
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
1543
|
+
*
|
|
1544
|
+
* @example
|
|
1545
|
+
* ```typescript
|
|
1546
|
+
* // Direct property access
|
|
1547
|
+
* const value = claimsnotice[KEY_CLAIMS_NOTICE_NOTICE_FOOTER];
|
|
1548
|
+
*
|
|
1549
|
+
* // Dynamic property access
|
|
1550
|
+
* const propertyName = KEY_CLAIMS_NOTICE_NOTICE_FOOTER;
|
|
1551
|
+
* const value = claimsnotice[propertyName];
|
|
1552
|
+
* ```
|
|
1553
|
+
*
|
|
1554
|
+
* @see {@link ClaimsNotice} - The TypeScript type definition
|
|
1555
|
+
* @see {@link KEYS_CLAIMS_NOTICE} - Array of all keys for this type
|
|
1556
|
+
*/
|
|
1557
|
+
export const KEY_CLAIMS_NOTICE_NOTICE_FOOTER: keyof ClaimsNotice = 'notice_footer';
|
|
1558
|
+
/**
|
|
1559
|
+
* Notice Footer Url
|
|
1560
|
+
*
|
|
1561
|
+
* Claims notice form footer URL
|
|
1562
|
+
*
|
|
1563
|
+
* @type {string}
|
|
1564
|
+
*
|
|
1565
|
+
*
|
|
1566
|
+
* @remarks
|
|
1567
|
+
* This key constant provides type-safe access to the `notice_footer_url` property of ClaimsNotice objects.
|
|
1568
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
1569
|
+
*
|
|
1570
|
+
* @example
|
|
1571
|
+
* ```typescript
|
|
1572
|
+
* // Direct property access
|
|
1573
|
+
* const value = claimsnotice[KEY_CLAIMS_NOTICE_NOTICE_FOOTER_URL];
|
|
1574
|
+
*
|
|
1575
|
+
* // Dynamic property access
|
|
1576
|
+
* const propertyName = KEY_CLAIMS_NOTICE_NOTICE_FOOTER_URL;
|
|
1577
|
+
* const value = claimsnotice[propertyName];
|
|
1578
|
+
* ```
|
|
1579
|
+
*
|
|
1580
|
+
* @see {@link ClaimsNotice} - The TypeScript type definition
|
|
1581
|
+
* @see {@link KEYS_CLAIMS_NOTICE} - Array of all keys for this type
|
|
1582
|
+
*/
|
|
1583
|
+
export const KEY_CLAIMS_NOTICE_NOTICE_FOOTER_URL: keyof ClaimsNotice = 'notice_footer_url';
|
|
1584
|
+
/**
|
|
1585
|
+
* Notice Intro
|
|
1586
|
+
*
|
|
1587
|
+
* Introductory text for the claims notice
|
|
1588
|
+
*
|
|
1589
|
+
* @type {string}
|
|
1590
|
+
*
|
|
1591
|
+
*
|
|
1592
|
+
* @remarks
|
|
1593
|
+
* This key constant provides type-safe access to the `notice_intro` property of ClaimsNotice objects.
|
|
1594
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
1595
|
+
*
|
|
1596
|
+
* @example
|
|
1597
|
+
* ```typescript
|
|
1598
|
+
* // Direct property access
|
|
1599
|
+
* const value = claimsnotice[KEY_CLAIMS_NOTICE_NOTICE_INTRO];
|
|
1600
|
+
*
|
|
1601
|
+
* // Dynamic property access
|
|
1602
|
+
* const propertyName = KEY_CLAIMS_NOTICE_NOTICE_INTRO;
|
|
1603
|
+
* const value = claimsnotice[propertyName];
|
|
1604
|
+
* ```
|
|
1605
|
+
*
|
|
1606
|
+
* @see {@link ClaimsNotice} - The TypeScript type definition
|
|
1607
|
+
* @see {@link KEYS_CLAIMS_NOTICE} - Array of all keys for this type
|
|
1608
|
+
*/
|
|
1609
|
+
export const KEY_CLAIMS_NOTICE_NOTICE_INTRO: keyof ClaimsNotice = 'notice_intro';
|
|
1610
|
+
/**
|
|
1611
|
+
* Notice Not Exact Match Intro
|
|
1612
|
+
*
|
|
1613
|
+
* Introductory text for the non-exact match section
|
|
1614
|
+
*
|
|
1615
|
+
* @type {string}
|
|
1616
|
+
*
|
|
1617
|
+
*
|
|
1618
|
+
* @remarks
|
|
1619
|
+
* This key constant provides type-safe access to the `notice_not_exact_match_intro` property of ClaimsNotice objects.
|
|
1620
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
1621
|
+
*
|
|
1622
|
+
* @example
|
|
1623
|
+
* ```typescript
|
|
1624
|
+
* // Direct property access
|
|
1625
|
+
* const value = claimsnotice[KEY_CLAIMS_NOTICE_NOTICE_NOT_EXACT_MATCH_INTRO];
|
|
1626
|
+
*
|
|
1627
|
+
* // Dynamic property access
|
|
1628
|
+
* const propertyName = KEY_CLAIMS_NOTICE_NOTICE_NOT_EXACT_MATCH_INTRO;
|
|
1629
|
+
* const value = claimsnotice[propertyName];
|
|
1630
|
+
* ```
|
|
1631
|
+
*
|
|
1632
|
+
* @see {@link ClaimsNotice} - The TypeScript type definition
|
|
1633
|
+
* @see {@link KEYS_CLAIMS_NOTICE} - Array of all keys for this type
|
|
1634
|
+
*/
|
|
1635
|
+
export const KEY_CLAIMS_NOTICE_NOTICE_NOT_EXACT_MATCH_INTRO: keyof ClaimsNotice = 'notice_not_exact_match_intro';
|
|
1636
|
+
/**
|
|
1637
|
+
* Notice Title
|
|
1638
|
+
*
|
|
1639
|
+
* Title for the claims notice
|
|
1640
|
+
*
|
|
1641
|
+
* @type {string}
|
|
1642
|
+
*
|
|
1643
|
+
*
|
|
1644
|
+
* @remarks
|
|
1645
|
+
* This key constant provides type-safe access to the `notice_title` property of ClaimsNotice objects.
|
|
1646
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
1647
|
+
*
|
|
1648
|
+
* @example
|
|
1649
|
+
* ```typescript
|
|
1650
|
+
* // Direct property access
|
|
1651
|
+
* const value = claimsnotice[KEY_CLAIMS_NOTICE_NOTICE_TITLE];
|
|
1652
|
+
*
|
|
1653
|
+
* // Dynamic property access
|
|
1654
|
+
* const propertyName = KEY_CLAIMS_NOTICE_NOTICE_TITLE;
|
|
1655
|
+
* const value = claimsnotice[propertyName];
|
|
1656
|
+
* ```
|
|
1657
|
+
*
|
|
1658
|
+
* @see {@link ClaimsNotice} - The TypeScript type definition
|
|
1659
|
+
* @see {@link KEYS_CLAIMS_NOTICE} - Array of all keys for this type
|
|
1660
|
+
*/
|
|
1661
|
+
export const KEY_CLAIMS_NOTICE_NOTICE_TITLE: keyof ClaimsNotice = 'notice_title';
|
|
1662
|
+
/**
|
|
1663
|
+
* Rendered Html
|
|
1664
|
+
*
|
|
1665
|
+
* The rendered trademark claims notice HTML
|
|
1666
|
+
*
|
|
1667
|
+
* @type {string}
|
|
1668
|
+
*
|
|
1669
|
+
*
|
|
1670
|
+
* @remarks
|
|
1671
|
+
* This key constant provides type-safe access to the `rendered_html` property of ClaimsNotice objects.
|
|
1672
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
1673
|
+
*
|
|
1674
|
+
* @example
|
|
1675
|
+
* ```typescript
|
|
1676
|
+
* // Direct property access
|
|
1677
|
+
* const value = claimsnotice[KEY_CLAIMS_NOTICE_RENDERED_HTML];
|
|
1678
|
+
*
|
|
1679
|
+
* // Dynamic property access
|
|
1680
|
+
* const propertyName = KEY_CLAIMS_NOTICE_RENDERED_HTML;
|
|
1681
|
+
* const value = claimsnotice[propertyName];
|
|
1682
|
+
* ```
|
|
1683
|
+
*
|
|
1684
|
+
* @see {@link ClaimsNotice} - The TypeScript type definition
|
|
1685
|
+
* @see {@link KEYS_CLAIMS_NOTICE} - Array of all keys for this type
|
|
1686
|
+
*/
|
|
1687
|
+
export const KEY_CLAIMS_NOTICE_RENDERED_HTML: keyof ClaimsNotice = 'rendered_html';
|
|
1688
|
+
|
|
1689
|
+
/**
|
|
1690
|
+
* Array of all ClaimsNotice property keys
|
|
1691
|
+
*
|
|
1692
|
+
* @remarks
|
|
1693
|
+
* This constant provides a readonly array containing all valid property keys for ClaimsNotice objects.
|
|
1694
|
+
* Useful for iteration, validation, and generating dynamic UI components.
|
|
1695
|
+
*
|
|
1696
|
+
* @example
|
|
1697
|
+
* ```typescript
|
|
1698
|
+
* // Iterating through all keys
|
|
1699
|
+
* for (const key of KEYS_CLAIMS_NOTICE) {
|
|
1700
|
+
* console.log(`Property: ${key}, Value: ${claimsnotice[key]}`);
|
|
1701
|
+
* }
|
|
1702
|
+
*
|
|
1703
|
+
* // Validation
|
|
1704
|
+
* const isValidKey = KEYS_CLAIMS_NOTICE.includes(someKey);
|
|
1705
|
+
* ```
|
|
1706
|
+
*
|
|
1707
|
+
* @see {@link ClaimsNotice} - The TypeScript type definition
|
|
1708
|
+
*/
|
|
1709
|
+
export const KEYS_CLAIMS_NOTICE = [
|
|
1710
|
+
KEY_CLAIMS_NOTICE_CLAIMS,
|
|
1711
|
+
KEY_CLAIMS_NOTICE_CLAIMS_KEY,
|
|
1712
|
+
KEY_CLAIMS_NOTICE_CLAIMS_NOTICE_ACCEPTANCE_HASH,
|
|
1713
|
+
KEY_CLAIMS_NOTICE_LABEL,
|
|
1714
|
+
KEY_CLAIMS_NOTICE_NOTICE_FOOTER,
|
|
1715
|
+
KEY_CLAIMS_NOTICE_NOTICE_FOOTER_URL,
|
|
1716
|
+
KEY_CLAIMS_NOTICE_NOTICE_INTRO,
|
|
1717
|
+
KEY_CLAIMS_NOTICE_NOTICE_NOT_EXACT_MATCH_INTRO,
|
|
1718
|
+
KEY_CLAIMS_NOTICE_NOTICE_TITLE,
|
|
1719
|
+
KEY_CLAIMS_NOTICE_RENDERED_HTML,
|
|
1720
|
+
] as const satisfies (keyof ClaimsNotice)[];
|
|
1721
|
+
|
|
1722
|
+
/**
|
|
1723
|
+
* Claims Keys
|
|
1724
|
+
*
|
|
1725
|
+
* List of claims keys to retrieve claims notices for, for the time being limited to one claims key
|
|
1726
|
+
*
|
|
1727
|
+
* @type {array}
|
|
1728
|
+
*
|
|
1729
|
+
*
|
|
1730
|
+
* @remarks
|
|
1731
|
+
* This key constant provides type-safe access to the `claims_keys` property of ClaimsNoticesRequest objects.
|
|
1732
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
1733
|
+
*
|
|
1734
|
+
* @example
|
|
1735
|
+
* ```typescript
|
|
1736
|
+
* // Direct property access
|
|
1737
|
+
* const value = claimsnoticesrequest[KEY_CLAIMS_NOTICES_REQUEST_CLAIMS_KEYS];
|
|
1738
|
+
*
|
|
1739
|
+
* // Dynamic property access
|
|
1740
|
+
* const propertyName = KEY_CLAIMS_NOTICES_REQUEST_CLAIMS_KEYS;
|
|
1741
|
+
* const value = claimsnoticesrequest[propertyName];
|
|
1742
|
+
* ```
|
|
1743
|
+
*
|
|
1744
|
+
* @see {@link ClaimsNoticesRequest} - The TypeScript type definition
|
|
1745
|
+
* @see {@link KEYS_CLAIMS_NOTICES_REQUEST} - Array of all keys for this type
|
|
1746
|
+
*/
|
|
1747
|
+
export const KEY_CLAIMS_NOTICES_REQUEST_CLAIMS_KEYS: keyof ClaimsNoticesRequest = 'claims_keys';
|
|
1748
|
+
|
|
1749
|
+
/**
|
|
1750
|
+
* Array of all ClaimsNoticesRequest property keys
|
|
1751
|
+
*
|
|
1752
|
+
* @remarks
|
|
1753
|
+
* This constant provides a readonly array containing all valid property keys for ClaimsNoticesRequest objects.
|
|
1754
|
+
* Useful for iteration, validation, and generating dynamic UI components.
|
|
1755
|
+
*
|
|
1756
|
+
* @example
|
|
1757
|
+
* ```typescript
|
|
1758
|
+
* // Iterating through all keys
|
|
1759
|
+
* for (const key of KEYS_CLAIMS_NOTICES_REQUEST) {
|
|
1760
|
+
* console.log(`Property: ${key}, Value: ${claimsnoticesrequest[key]}`);
|
|
1761
|
+
* }
|
|
1762
|
+
*
|
|
1763
|
+
* // Validation
|
|
1764
|
+
* const isValidKey = KEYS_CLAIMS_NOTICES_REQUEST.includes(someKey);
|
|
1765
|
+
* ```
|
|
1766
|
+
*
|
|
1767
|
+
* @see {@link ClaimsNoticesRequest} - The TypeScript type definition
|
|
1768
|
+
*/
|
|
1769
|
+
export const KEYS_CLAIMS_NOTICES_REQUEST = [
|
|
1770
|
+
KEY_CLAIMS_NOTICES_REQUEST_CLAIMS_KEYS,
|
|
1771
|
+
] as const satisfies (keyof ClaimsNoticesRequest)[];
|
|
1772
|
+
|
|
1773
|
+
/**
|
|
1774
|
+
* Claims Notices
|
|
1775
|
+
*
|
|
1776
|
+
*
|
|
1777
|
+
* @type {array}
|
|
1778
|
+
*
|
|
1779
|
+
*
|
|
1780
|
+
* @remarks
|
|
1781
|
+
* This key constant provides type-safe access to the `claims_notices` property of ClaimsNotices objects.
|
|
1782
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
1783
|
+
*
|
|
1784
|
+
* @example
|
|
1785
|
+
* ```typescript
|
|
1786
|
+
* // Direct property access
|
|
1787
|
+
* const value = claimsnotices[KEY_CLAIMS_NOTICES_CLAIMS_NOTICES];
|
|
1788
|
+
*
|
|
1789
|
+
* // Dynamic property access
|
|
1790
|
+
* const propertyName = KEY_CLAIMS_NOTICES_CLAIMS_NOTICES;
|
|
1791
|
+
* const value = claimsnotices[propertyName];
|
|
1792
|
+
* ```
|
|
1793
|
+
*
|
|
1794
|
+
* @see {@link ClaimsNotices} - The TypeScript type definition
|
|
1795
|
+
* @see {@link KEYS_CLAIMS_NOTICES} - Array of all keys for this type
|
|
1796
|
+
*/
|
|
1797
|
+
export const KEY_CLAIMS_NOTICES_CLAIMS_NOTICES: keyof ClaimsNotices = 'claims_notices';
|
|
1798
|
+
|
|
1799
|
+
/**
|
|
1800
|
+
* Array of all ClaimsNotices property keys
|
|
1801
|
+
*
|
|
1802
|
+
* @remarks
|
|
1803
|
+
* This constant provides a readonly array containing all valid property keys for ClaimsNotices objects.
|
|
1804
|
+
* Useful for iteration, validation, and generating dynamic UI components.
|
|
1805
|
+
*
|
|
1806
|
+
* @example
|
|
1807
|
+
* ```typescript
|
|
1808
|
+
* // Iterating through all keys
|
|
1809
|
+
* for (const key of KEYS_CLAIMS_NOTICES) {
|
|
1810
|
+
* console.log(`Property: ${key}, Value: ${claimsnotices[key]}`);
|
|
1811
|
+
* }
|
|
1812
|
+
*
|
|
1813
|
+
* // Validation
|
|
1814
|
+
* const isValidKey = KEYS_CLAIMS_NOTICES.includes(someKey);
|
|
1815
|
+
* ```
|
|
1816
|
+
*
|
|
1817
|
+
* @see {@link ClaimsNotices} - The TypeScript type definition
|
|
1818
|
+
*/
|
|
1819
|
+
export const KEYS_CLAIMS_NOTICES = [
|
|
1820
|
+
KEY_CLAIMS_NOTICES_CLAIMS_NOTICES,
|
|
1821
|
+
] as const satisfies (keyof ClaimsNotices)[];
|
|
1822
|
+
|
|
1416
1823
|
/**
|
|
1417
1824
|
* Code
|
|
1418
1825
|
*
|
|
@@ -38461,6 +38868,1240 @@ export const KEYS_TLD_SPECIFICATION = [
|
|
|
38461
38868
|
KEY_TLD_SPECIFICATION_WHOIS,
|
|
38462
38869
|
] as const satisfies (keyof TldSpecification)[];
|
|
38463
38870
|
|
|
38871
|
+
/**
|
|
38872
|
+
* Cc
|
|
38873
|
+
*
|
|
38874
|
+
* ISO 3166-2 two-character country code
|
|
38875
|
+
*
|
|
38876
|
+
* @type {string}
|
|
38877
|
+
*
|
|
38878
|
+
*
|
|
38879
|
+
* @remarks
|
|
38880
|
+
* This key constant provides type-safe access to the `cc` property of TmAddr objects.
|
|
38881
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
38882
|
+
*
|
|
38883
|
+
* @example
|
|
38884
|
+
* ```typescript
|
|
38885
|
+
* // Direct property access
|
|
38886
|
+
* const value = tmaddr[KEY_TM_ADDR_CC];
|
|
38887
|
+
*
|
|
38888
|
+
* // Dynamic property access
|
|
38889
|
+
* const propertyName = KEY_TM_ADDR_CC;
|
|
38890
|
+
* const value = tmaddr[propertyName];
|
|
38891
|
+
* ```
|
|
38892
|
+
*
|
|
38893
|
+
* @see {@link TmAddr} - The TypeScript type definition
|
|
38894
|
+
* @see {@link KEYS_TM_ADDR} - Array of all keys for this type
|
|
38895
|
+
*/
|
|
38896
|
+
export const KEY_TM_ADDR_CC: keyof TmAddr = 'cc';
|
|
38897
|
+
/**
|
|
38898
|
+
* City
|
|
38899
|
+
*
|
|
38900
|
+
*
|
|
38901
|
+
* @type {string}
|
|
38902
|
+
*
|
|
38903
|
+
*
|
|
38904
|
+
* @remarks
|
|
38905
|
+
* This key constant provides type-safe access to the `city` property of TmAddr objects.
|
|
38906
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
38907
|
+
*
|
|
38908
|
+
* @example
|
|
38909
|
+
* ```typescript
|
|
38910
|
+
* // Direct property access
|
|
38911
|
+
* const value = tmaddr[KEY_TM_ADDR_CITY];
|
|
38912
|
+
*
|
|
38913
|
+
* // Dynamic property access
|
|
38914
|
+
* const propertyName = KEY_TM_ADDR_CITY;
|
|
38915
|
+
* const value = tmaddr[propertyName];
|
|
38916
|
+
* ```
|
|
38917
|
+
*
|
|
38918
|
+
* @see {@link TmAddr} - The TypeScript type definition
|
|
38919
|
+
* @see {@link KEYS_TM_ADDR} - Array of all keys for this type
|
|
38920
|
+
*/
|
|
38921
|
+
export const KEY_TM_ADDR_CITY: keyof TmAddr = 'city';
|
|
38922
|
+
/**
|
|
38923
|
+
* Pc
|
|
38924
|
+
*
|
|
38925
|
+
*
|
|
38926
|
+
*
|
|
38927
|
+
*
|
|
38928
|
+
* @remarks
|
|
38929
|
+
* This key constant provides type-safe access to the `pc` property of TmAddr objects.
|
|
38930
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
38931
|
+
*
|
|
38932
|
+
* @example
|
|
38933
|
+
* ```typescript
|
|
38934
|
+
* // Direct property access
|
|
38935
|
+
* const value = tmaddr[KEY_TM_ADDR_PC];
|
|
38936
|
+
*
|
|
38937
|
+
* // Dynamic property access
|
|
38938
|
+
* const propertyName = KEY_TM_ADDR_PC;
|
|
38939
|
+
* const value = tmaddr[propertyName];
|
|
38940
|
+
* ```
|
|
38941
|
+
*
|
|
38942
|
+
* @see {@link TmAddr} - The TypeScript type definition
|
|
38943
|
+
* @see {@link KEYS_TM_ADDR} - Array of all keys for this type
|
|
38944
|
+
*/
|
|
38945
|
+
export const KEY_TM_ADDR_PC: keyof TmAddr = 'pc';
|
|
38946
|
+
/**
|
|
38947
|
+
* Sp
|
|
38948
|
+
*
|
|
38949
|
+
*
|
|
38950
|
+
*
|
|
38951
|
+
*
|
|
38952
|
+
* @remarks
|
|
38953
|
+
* This key constant provides type-safe access to the `sp` property of TmAddr objects.
|
|
38954
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
38955
|
+
*
|
|
38956
|
+
* @example
|
|
38957
|
+
* ```typescript
|
|
38958
|
+
* // Direct property access
|
|
38959
|
+
* const value = tmaddr[KEY_TM_ADDR_SP];
|
|
38960
|
+
*
|
|
38961
|
+
* // Dynamic property access
|
|
38962
|
+
* const propertyName = KEY_TM_ADDR_SP;
|
|
38963
|
+
* const value = tmaddr[propertyName];
|
|
38964
|
+
* ```
|
|
38965
|
+
*
|
|
38966
|
+
* @see {@link TmAddr} - The TypeScript type definition
|
|
38967
|
+
* @see {@link KEYS_TM_ADDR} - Array of all keys for this type
|
|
38968
|
+
*/
|
|
38969
|
+
export const KEY_TM_ADDR_SP: keyof TmAddr = 'sp';
|
|
38970
|
+
/**
|
|
38971
|
+
* Street
|
|
38972
|
+
*
|
|
38973
|
+
*
|
|
38974
|
+
* @type {array}
|
|
38975
|
+
*
|
|
38976
|
+
*
|
|
38977
|
+
* @remarks
|
|
38978
|
+
* This key constant provides type-safe access to the `street` property of TmAddr objects.
|
|
38979
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
38980
|
+
*
|
|
38981
|
+
* @example
|
|
38982
|
+
* ```typescript
|
|
38983
|
+
* // Direct property access
|
|
38984
|
+
* const value = tmaddr[KEY_TM_ADDR_STREET];
|
|
38985
|
+
*
|
|
38986
|
+
* // Dynamic property access
|
|
38987
|
+
* const propertyName = KEY_TM_ADDR_STREET;
|
|
38988
|
+
* const value = tmaddr[propertyName];
|
|
38989
|
+
* ```
|
|
38990
|
+
*
|
|
38991
|
+
* @see {@link TmAddr} - The TypeScript type definition
|
|
38992
|
+
* @see {@link KEYS_TM_ADDR} - Array of all keys for this type
|
|
38993
|
+
*/
|
|
38994
|
+
export const KEY_TM_ADDR_STREET: keyof TmAddr = 'street';
|
|
38995
|
+
|
|
38996
|
+
/**
|
|
38997
|
+
* Array of all TmAddr property keys
|
|
38998
|
+
*
|
|
38999
|
+
* @remarks
|
|
39000
|
+
* This constant provides a readonly array containing all valid property keys for TmAddr objects.
|
|
39001
|
+
* Useful for iteration, validation, and generating dynamic UI components.
|
|
39002
|
+
*
|
|
39003
|
+
* @example
|
|
39004
|
+
* ```typescript
|
|
39005
|
+
* // Iterating through all keys
|
|
39006
|
+
* for (const key of KEYS_TM_ADDR) {
|
|
39007
|
+
* console.log(`Property: ${key}, Value: ${tmaddr[key]}`);
|
|
39008
|
+
* }
|
|
39009
|
+
*
|
|
39010
|
+
* // Validation
|
|
39011
|
+
* const isValidKey = KEYS_TM_ADDR.includes(someKey);
|
|
39012
|
+
* ```
|
|
39013
|
+
*
|
|
39014
|
+
* @see {@link TmAddr} - The TypeScript type definition
|
|
39015
|
+
*/
|
|
39016
|
+
export const KEYS_TM_ADDR = [
|
|
39017
|
+
KEY_TM_ADDR_CC,
|
|
39018
|
+
KEY_TM_ADDR_CITY,
|
|
39019
|
+
KEY_TM_ADDR_PC,
|
|
39020
|
+
KEY_TM_ADDR_SP,
|
|
39021
|
+
KEY_TM_ADDR_STREET,
|
|
39022
|
+
] as const satisfies (keyof TmAddr)[];
|
|
39023
|
+
|
|
39024
|
+
/**
|
|
39025
|
+
* Class Descs
|
|
39026
|
+
*
|
|
39027
|
+
* Nice Classification descriptions
|
|
39028
|
+
*
|
|
39029
|
+
* @type {array}
|
|
39030
|
+
*
|
|
39031
|
+
*
|
|
39032
|
+
* @remarks
|
|
39033
|
+
* This key constant provides type-safe access to the `class_descs` property of TmClaim objects.
|
|
39034
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
39035
|
+
*
|
|
39036
|
+
* @example
|
|
39037
|
+
* ```typescript
|
|
39038
|
+
* // Direct property access
|
|
39039
|
+
* const value = tmclaim[KEY_TM_CLAIM_CLASS_DESCS];
|
|
39040
|
+
*
|
|
39041
|
+
* // Dynamic property access
|
|
39042
|
+
* const propertyName = KEY_TM_CLAIM_CLASS_DESCS;
|
|
39043
|
+
* const value = tmclaim[propertyName];
|
|
39044
|
+
* ```
|
|
39045
|
+
*
|
|
39046
|
+
* @see {@link TmClaim} - The TypeScript type definition
|
|
39047
|
+
* @see {@link KEYS_TM_CLAIM} - Array of all keys for this type
|
|
39048
|
+
*/
|
|
39049
|
+
export const KEY_TM_CLAIM_CLASS_DESCS: keyof TmClaim = 'class_descs';
|
|
39050
|
+
/**
|
|
39051
|
+
* Contacts
|
|
39052
|
+
*
|
|
39053
|
+
* Zero or more contacts/representatives
|
|
39054
|
+
*
|
|
39055
|
+
* @type {array}
|
|
39056
|
+
*
|
|
39057
|
+
*
|
|
39058
|
+
* @remarks
|
|
39059
|
+
* This key constant provides type-safe access to the `contacts` property of TmClaim objects.
|
|
39060
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
39061
|
+
*
|
|
39062
|
+
* @example
|
|
39063
|
+
* ```typescript
|
|
39064
|
+
* // Direct property access
|
|
39065
|
+
* const value = tmclaim[KEY_TM_CLAIM_CONTACTS];
|
|
39066
|
+
*
|
|
39067
|
+
* // Dynamic property access
|
|
39068
|
+
* const propertyName = KEY_TM_CLAIM_CONTACTS;
|
|
39069
|
+
* const value = tmclaim[propertyName];
|
|
39070
|
+
* ```
|
|
39071
|
+
*
|
|
39072
|
+
* @see {@link TmClaim} - The TypeScript type definition
|
|
39073
|
+
* @see {@link KEYS_TM_CLAIM} - Array of all keys for this type
|
|
39074
|
+
*/
|
|
39075
|
+
export const KEY_TM_CLAIM_CONTACTS: keyof TmClaim = 'contacts';
|
|
39076
|
+
/**
|
|
39077
|
+
* Goods And Services
|
|
39078
|
+
*
|
|
39079
|
+
* Full description of goods and services
|
|
39080
|
+
*
|
|
39081
|
+
* @type {string}
|
|
39082
|
+
*
|
|
39083
|
+
*
|
|
39084
|
+
* @remarks
|
|
39085
|
+
* This key constant provides type-safe access to the `goods_and_services` property of TmClaim objects.
|
|
39086
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
39087
|
+
*
|
|
39088
|
+
* @example
|
|
39089
|
+
* ```typescript
|
|
39090
|
+
* // Direct property access
|
|
39091
|
+
* const value = tmclaim[KEY_TM_CLAIM_GOODS_AND_SERVICES];
|
|
39092
|
+
*
|
|
39093
|
+
* // Dynamic property access
|
|
39094
|
+
* const propertyName = KEY_TM_CLAIM_GOODS_AND_SERVICES;
|
|
39095
|
+
* const value = tmclaim[propertyName];
|
|
39096
|
+
* ```
|
|
39097
|
+
*
|
|
39098
|
+
* @see {@link TmClaim} - The TypeScript type definition
|
|
39099
|
+
* @see {@link KEYS_TM_CLAIM} - Array of all keys for this type
|
|
39100
|
+
*/
|
|
39101
|
+
export const KEY_TM_CLAIM_GOODS_AND_SERVICES: keyof TmClaim = 'goods_and_services';
|
|
39102
|
+
/**
|
|
39103
|
+
* Holders
|
|
39104
|
+
*
|
|
39105
|
+
* One or more holders of the mark
|
|
39106
|
+
*
|
|
39107
|
+
* @type {array}
|
|
39108
|
+
*
|
|
39109
|
+
*
|
|
39110
|
+
* @remarks
|
|
39111
|
+
* This key constant provides type-safe access to the `holders` property of TmClaim objects.
|
|
39112
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
39113
|
+
*
|
|
39114
|
+
* @example
|
|
39115
|
+
* ```typescript
|
|
39116
|
+
* // Direct property access
|
|
39117
|
+
* const value = tmclaim[KEY_TM_CLAIM_HOLDERS];
|
|
39118
|
+
*
|
|
39119
|
+
* // Dynamic property access
|
|
39120
|
+
* const propertyName = KEY_TM_CLAIM_HOLDERS;
|
|
39121
|
+
* const value = tmclaim[propertyName];
|
|
39122
|
+
* ```
|
|
39123
|
+
*
|
|
39124
|
+
* @see {@link TmClaim} - The TypeScript type definition
|
|
39125
|
+
* @see {@link KEYS_TM_CLAIM} - Array of all keys for this type
|
|
39126
|
+
*/
|
|
39127
|
+
export const KEY_TM_CLAIM_HOLDERS: keyof TmClaim = 'holders';
|
|
39128
|
+
/**
|
|
39129
|
+
* jur_desc property
|
|
39130
|
+
*
|
|
39131
|
+
* Jurisdiction where the mark is protected
|
|
39132
|
+
*
|
|
39133
|
+
*
|
|
39134
|
+
*
|
|
39135
|
+
* @remarks
|
|
39136
|
+
* This key constant provides type-safe access to the `jur_desc` property of TmClaim objects.
|
|
39137
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
39138
|
+
*
|
|
39139
|
+
* @example
|
|
39140
|
+
* ```typescript
|
|
39141
|
+
* // Direct property access
|
|
39142
|
+
* const value = tmclaim[KEY_TM_CLAIM_JUR_DESC];
|
|
39143
|
+
*
|
|
39144
|
+
* // Dynamic property access
|
|
39145
|
+
* const propertyName = KEY_TM_CLAIM_JUR_DESC;
|
|
39146
|
+
* const value = tmclaim[propertyName];
|
|
39147
|
+
* ```
|
|
39148
|
+
*
|
|
39149
|
+
* @see {@link TmClaim} - The TypeScript type definition
|
|
39150
|
+
* @see {@link KEYS_TM_CLAIM} - Array of all keys for this type
|
|
39151
|
+
*/
|
|
39152
|
+
export const KEY_TM_CLAIM_JUR_DESC: keyof TmClaim = 'jur_desc';
|
|
39153
|
+
/**
|
|
39154
|
+
* Mark Name
|
|
39155
|
+
*
|
|
39156
|
+
* Mark text string
|
|
39157
|
+
*
|
|
39158
|
+
* @type {string}
|
|
39159
|
+
*
|
|
39160
|
+
*
|
|
39161
|
+
* @remarks
|
|
39162
|
+
* This key constant provides type-safe access to the `mark_name` property of TmClaim objects.
|
|
39163
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
39164
|
+
*
|
|
39165
|
+
* @example
|
|
39166
|
+
* ```typescript
|
|
39167
|
+
* // Direct property access
|
|
39168
|
+
* const value = tmclaim[KEY_TM_CLAIM_MARK_NAME];
|
|
39169
|
+
*
|
|
39170
|
+
* // Dynamic property access
|
|
39171
|
+
* const propertyName = KEY_TM_CLAIM_MARK_NAME;
|
|
39172
|
+
* const value = tmclaim[propertyName];
|
|
39173
|
+
* ```
|
|
39174
|
+
*
|
|
39175
|
+
* @see {@link TmClaim} - The TypeScript type definition
|
|
39176
|
+
* @see {@link KEYS_TM_CLAIM} - Array of all keys for this type
|
|
39177
|
+
*/
|
|
39178
|
+
export const KEY_TM_CLAIM_MARK_NAME: keyof TmClaim = 'mark_name';
|
|
39179
|
+
/**
|
|
39180
|
+
* not_exact_match property
|
|
39181
|
+
*
|
|
39182
|
+
* Present if claim added by non-exact match rule
|
|
39183
|
+
*
|
|
39184
|
+
*
|
|
39185
|
+
*
|
|
39186
|
+
* @remarks
|
|
39187
|
+
* This key constant provides type-safe access to the `not_exact_match` property of TmClaim objects.
|
|
39188
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
39189
|
+
*
|
|
39190
|
+
* @example
|
|
39191
|
+
* ```typescript
|
|
39192
|
+
* // Direct property access
|
|
39193
|
+
* const value = tmclaim[KEY_TM_CLAIM_NOT_EXACT_MATCH];
|
|
39194
|
+
*
|
|
39195
|
+
* // Dynamic property access
|
|
39196
|
+
* const propertyName = KEY_TM_CLAIM_NOT_EXACT_MATCH;
|
|
39197
|
+
* const value = tmclaim[propertyName];
|
|
39198
|
+
* ```
|
|
39199
|
+
*
|
|
39200
|
+
* @see {@link TmClaim} - The TypeScript type definition
|
|
39201
|
+
* @see {@link KEYS_TM_CLAIM} - Array of all keys for this type
|
|
39202
|
+
*/
|
|
39203
|
+
export const KEY_TM_CLAIM_NOT_EXACT_MATCH: keyof TmClaim = 'not_exact_match';
|
|
39204
|
+
|
|
39205
|
+
/**
|
|
39206
|
+
* Array of all TmClaim property keys
|
|
39207
|
+
*
|
|
39208
|
+
* @remarks
|
|
39209
|
+
* This constant provides a readonly array containing all valid property keys for TmClaim objects.
|
|
39210
|
+
* Useful for iteration, validation, and generating dynamic UI components.
|
|
39211
|
+
*
|
|
39212
|
+
* @example
|
|
39213
|
+
* ```typescript
|
|
39214
|
+
* // Iterating through all keys
|
|
39215
|
+
* for (const key of KEYS_TM_CLAIM) {
|
|
39216
|
+
* console.log(`Property: ${key}, Value: ${tmclaim[key]}`);
|
|
39217
|
+
* }
|
|
39218
|
+
*
|
|
39219
|
+
* // Validation
|
|
39220
|
+
* const isValidKey = KEYS_TM_CLAIM.includes(someKey);
|
|
39221
|
+
* ```
|
|
39222
|
+
*
|
|
39223
|
+
* @see {@link TmClaim} - The TypeScript type definition
|
|
39224
|
+
*/
|
|
39225
|
+
export const KEYS_TM_CLAIM = [
|
|
39226
|
+
KEY_TM_CLAIM_CLASS_DESCS,
|
|
39227
|
+
KEY_TM_CLAIM_CONTACTS,
|
|
39228
|
+
KEY_TM_CLAIM_GOODS_AND_SERVICES,
|
|
39229
|
+
KEY_TM_CLAIM_HOLDERS,
|
|
39230
|
+
KEY_TM_CLAIM_JUR_DESC,
|
|
39231
|
+
KEY_TM_CLAIM_MARK_NAME,
|
|
39232
|
+
KEY_TM_CLAIM_NOT_EXACT_MATCH,
|
|
39233
|
+
] as const satisfies (keyof TmClaim)[];
|
|
39234
|
+
|
|
39235
|
+
/**
|
|
39236
|
+
* Class Num
|
|
39237
|
+
*
|
|
39238
|
+
* Nice Classification class number
|
|
39239
|
+
*
|
|
39240
|
+
* @type {integer}
|
|
39241
|
+
*
|
|
39242
|
+
*
|
|
39243
|
+
* @remarks
|
|
39244
|
+
* This key constant provides type-safe access to the `class_num` property of TmClassDesc objects.
|
|
39245
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
39246
|
+
*
|
|
39247
|
+
* @example
|
|
39248
|
+
* ```typescript
|
|
39249
|
+
* // Direct property access
|
|
39250
|
+
* const value = tmclassdesc[KEY_TM_CLASS_DESC_CLASS_NUM];
|
|
39251
|
+
*
|
|
39252
|
+
* // Dynamic property access
|
|
39253
|
+
* const propertyName = KEY_TM_CLASS_DESC_CLASS_NUM;
|
|
39254
|
+
* const value = tmclassdesc[propertyName];
|
|
39255
|
+
* ```
|
|
39256
|
+
*
|
|
39257
|
+
* @see {@link TmClassDesc} - The TypeScript type definition
|
|
39258
|
+
* @see {@link KEYS_TM_CLASS_DESC} - Array of all keys for this type
|
|
39259
|
+
*/
|
|
39260
|
+
export const KEY_TM_CLASS_DESC_CLASS_NUM: keyof TmClassDesc = 'class_num';
|
|
39261
|
+
/**
|
|
39262
|
+
* Description
|
|
39263
|
+
*
|
|
39264
|
+
* Description of the class in English
|
|
39265
|
+
*
|
|
39266
|
+
* @type {string}
|
|
39267
|
+
*
|
|
39268
|
+
*
|
|
39269
|
+
* @remarks
|
|
39270
|
+
* This key constant provides type-safe access to the `description` property of TmClassDesc objects.
|
|
39271
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
39272
|
+
*
|
|
39273
|
+
* @example
|
|
39274
|
+
* ```typescript
|
|
39275
|
+
* // Direct property access
|
|
39276
|
+
* const value = tmclassdesc[KEY_TM_CLASS_DESC_DESCRIPTION];
|
|
39277
|
+
*
|
|
39278
|
+
* // Dynamic property access
|
|
39279
|
+
* const propertyName = KEY_TM_CLASS_DESC_DESCRIPTION;
|
|
39280
|
+
* const value = tmclassdesc[propertyName];
|
|
39281
|
+
* ```
|
|
39282
|
+
*
|
|
39283
|
+
* @see {@link TmClassDesc} - The TypeScript type definition
|
|
39284
|
+
* @see {@link KEYS_TM_CLASS_DESC} - Array of all keys for this type
|
|
39285
|
+
*/
|
|
39286
|
+
export const KEY_TM_CLASS_DESC_DESCRIPTION: keyof TmClassDesc = 'description';
|
|
39287
|
+
|
|
39288
|
+
/**
|
|
39289
|
+
* Array of all TmClassDesc property keys
|
|
39290
|
+
*
|
|
39291
|
+
* @remarks
|
|
39292
|
+
* This constant provides a readonly array containing all valid property keys for TmClassDesc objects.
|
|
39293
|
+
* Useful for iteration, validation, and generating dynamic UI components.
|
|
39294
|
+
*
|
|
39295
|
+
* @example
|
|
39296
|
+
* ```typescript
|
|
39297
|
+
* // Iterating through all keys
|
|
39298
|
+
* for (const key of KEYS_TM_CLASS_DESC) {
|
|
39299
|
+
* console.log(`Property: ${key}, Value: ${tmclassdesc[key]}`);
|
|
39300
|
+
* }
|
|
39301
|
+
*
|
|
39302
|
+
* // Validation
|
|
39303
|
+
* const isValidKey = KEYS_TM_CLASS_DESC.includes(someKey);
|
|
39304
|
+
* ```
|
|
39305
|
+
*
|
|
39306
|
+
* @see {@link TmClassDesc} - The TypeScript type definition
|
|
39307
|
+
*/
|
|
39308
|
+
export const KEYS_TM_CLASS_DESC = [
|
|
39309
|
+
KEY_TM_CLASS_DESC_CLASS_NUM,
|
|
39310
|
+
KEY_TM_CLASS_DESC_DESCRIPTION,
|
|
39311
|
+
] as const satisfies (keyof TmClassDesc)[];
|
|
39312
|
+
|
|
39313
|
+
/**
|
|
39314
|
+
* addr property
|
|
39315
|
+
*
|
|
39316
|
+
*
|
|
39317
|
+
*
|
|
39318
|
+
*
|
|
39319
|
+
* @remarks
|
|
39320
|
+
* This key constant provides type-safe access to the `addr` property of TmContact objects.
|
|
39321
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
39322
|
+
*
|
|
39323
|
+
* @example
|
|
39324
|
+
* ```typescript
|
|
39325
|
+
* // Direct property access
|
|
39326
|
+
* const value = tmcontact[KEY_TM_CONTACT_ADDR];
|
|
39327
|
+
*
|
|
39328
|
+
* // Dynamic property access
|
|
39329
|
+
* const propertyName = KEY_TM_CONTACT_ADDR;
|
|
39330
|
+
* const value = tmcontact[propertyName];
|
|
39331
|
+
* ```
|
|
39332
|
+
*
|
|
39333
|
+
* @see {@link TmContact} - The TypeScript type definition
|
|
39334
|
+
* @see {@link KEYS_TM_CONTACT} - Array of all keys for this type
|
|
39335
|
+
*/
|
|
39336
|
+
export const KEY_TM_CONTACT_ADDR: keyof TmContact = 'addr';
|
|
39337
|
+
/**
|
|
39338
|
+
* Email
|
|
39339
|
+
*
|
|
39340
|
+
*
|
|
39341
|
+
* @type {string}
|
|
39342
|
+
*
|
|
39343
|
+
*
|
|
39344
|
+
* @remarks
|
|
39345
|
+
* This key constant provides type-safe access to the `email` property of TmContact objects.
|
|
39346
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
39347
|
+
*
|
|
39348
|
+
* @example
|
|
39349
|
+
* ```typescript
|
|
39350
|
+
* // Direct property access
|
|
39351
|
+
* const value = tmcontact[KEY_TM_CONTACT_EMAIL];
|
|
39352
|
+
*
|
|
39353
|
+
* // Dynamic property access
|
|
39354
|
+
* const propertyName = KEY_TM_CONTACT_EMAIL;
|
|
39355
|
+
* const value = tmcontact[propertyName];
|
|
39356
|
+
* ```
|
|
39357
|
+
*
|
|
39358
|
+
* @see {@link TmContact} - The TypeScript type definition
|
|
39359
|
+
* @see {@link KEYS_TM_CONTACT} - Array of all keys for this type
|
|
39360
|
+
*/
|
|
39361
|
+
export const KEY_TM_CONTACT_EMAIL: keyof TmContact = 'email';
|
|
39362
|
+
/**
|
|
39363
|
+
* Fax
|
|
39364
|
+
*
|
|
39365
|
+
*
|
|
39366
|
+
*
|
|
39367
|
+
*
|
|
39368
|
+
* @remarks
|
|
39369
|
+
* This key constant provides type-safe access to the `fax` property of TmContact objects.
|
|
39370
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
39371
|
+
*
|
|
39372
|
+
* @example
|
|
39373
|
+
* ```typescript
|
|
39374
|
+
* // Direct property access
|
|
39375
|
+
* const value = tmcontact[KEY_TM_CONTACT_FAX];
|
|
39376
|
+
*
|
|
39377
|
+
* // Dynamic property access
|
|
39378
|
+
* const propertyName = KEY_TM_CONTACT_FAX;
|
|
39379
|
+
* const value = tmcontact[propertyName];
|
|
39380
|
+
* ```
|
|
39381
|
+
*
|
|
39382
|
+
* @see {@link TmContact} - The TypeScript type definition
|
|
39383
|
+
* @see {@link KEYS_TM_CONTACT} - Array of all keys for this type
|
|
39384
|
+
*/
|
|
39385
|
+
export const KEY_TM_CONTACT_FAX: keyof TmContact = 'fax';
|
|
39386
|
+
/**
|
|
39387
|
+
* Name
|
|
39388
|
+
*
|
|
39389
|
+
*
|
|
39390
|
+
* @type {string}
|
|
39391
|
+
*
|
|
39392
|
+
*
|
|
39393
|
+
* @remarks
|
|
39394
|
+
* This key constant provides type-safe access to the `name` property of TmContact objects.
|
|
39395
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
39396
|
+
*
|
|
39397
|
+
* @example
|
|
39398
|
+
* ```typescript
|
|
39399
|
+
* // Direct property access
|
|
39400
|
+
* const value = tmcontact[KEY_TM_CONTACT_NAME];
|
|
39401
|
+
*
|
|
39402
|
+
* // Dynamic property access
|
|
39403
|
+
* const propertyName = KEY_TM_CONTACT_NAME;
|
|
39404
|
+
* const value = tmcontact[propertyName];
|
|
39405
|
+
* ```
|
|
39406
|
+
*
|
|
39407
|
+
* @see {@link TmContact} - The TypeScript type definition
|
|
39408
|
+
* @see {@link KEYS_TM_CONTACT} - Array of all keys for this type
|
|
39409
|
+
*/
|
|
39410
|
+
export const KEY_TM_CONTACT_NAME: keyof TmContact = 'name';
|
|
39411
|
+
/**
|
|
39412
|
+
* Org
|
|
39413
|
+
*
|
|
39414
|
+
*
|
|
39415
|
+
*
|
|
39416
|
+
*
|
|
39417
|
+
* @remarks
|
|
39418
|
+
* This key constant provides type-safe access to the `org` property of TmContact objects.
|
|
39419
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
39420
|
+
*
|
|
39421
|
+
* @example
|
|
39422
|
+
* ```typescript
|
|
39423
|
+
* // Direct property access
|
|
39424
|
+
* const value = tmcontact[KEY_TM_CONTACT_ORG];
|
|
39425
|
+
*
|
|
39426
|
+
* // Dynamic property access
|
|
39427
|
+
* const propertyName = KEY_TM_CONTACT_ORG;
|
|
39428
|
+
* const value = tmcontact[propertyName];
|
|
39429
|
+
* ```
|
|
39430
|
+
*
|
|
39431
|
+
* @see {@link TmContact} - The TypeScript type definition
|
|
39432
|
+
* @see {@link KEYS_TM_CONTACT} - Array of all keys for this type
|
|
39433
|
+
*/
|
|
39434
|
+
export const KEY_TM_CONTACT_ORG: keyof TmContact = 'org';
|
|
39435
|
+
/**
|
|
39436
|
+
* type property
|
|
39437
|
+
*
|
|
39438
|
+
*
|
|
39439
|
+
*
|
|
39440
|
+
*
|
|
39441
|
+
* @remarks
|
|
39442
|
+
* This key constant provides type-safe access to the `type` property of TmContact objects.
|
|
39443
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
39444
|
+
*
|
|
39445
|
+
* @example
|
|
39446
|
+
* ```typescript
|
|
39447
|
+
* // Direct property access
|
|
39448
|
+
* const value = tmcontact[KEY_TM_CONTACT_TYPE];
|
|
39449
|
+
*
|
|
39450
|
+
* // Dynamic property access
|
|
39451
|
+
* const propertyName = KEY_TM_CONTACT_TYPE;
|
|
39452
|
+
* const value = tmcontact[propertyName];
|
|
39453
|
+
* ```
|
|
39454
|
+
*
|
|
39455
|
+
* @see {@link TmContact} - The TypeScript type definition
|
|
39456
|
+
* @see {@link KEYS_TM_CONTACT} - Array of all keys for this type
|
|
39457
|
+
*/
|
|
39458
|
+
export const KEY_TM_CONTACT_TYPE: keyof TmContact = 'type';
|
|
39459
|
+
/**
|
|
39460
|
+
* Voice
|
|
39461
|
+
*
|
|
39462
|
+
*
|
|
39463
|
+
* @type {string}
|
|
39464
|
+
*
|
|
39465
|
+
*
|
|
39466
|
+
* @remarks
|
|
39467
|
+
* This key constant provides type-safe access to the `voice` property of TmContact objects.
|
|
39468
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
39469
|
+
*
|
|
39470
|
+
* @example
|
|
39471
|
+
* ```typescript
|
|
39472
|
+
* // Direct property access
|
|
39473
|
+
* const value = tmcontact[KEY_TM_CONTACT_VOICE];
|
|
39474
|
+
*
|
|
39475
|
+
* // Dynamic property access
|
|
39476
|
+
* const propertyName = KEY_TM_CONTACT_VOICE;
|
|
39477
|
+
* const value = tmcontact[propertyName];
|
|
39478
|
+
* ```
|
|
39479
|
+
*
|
|
39480
|
+
* @see {@link TmContact} - The TypeScript type definition
|
|
39481
|
+
* @see {@link KEYS_TM_CONTACT} - Array of all keys for this type
|
|
39482
|
+
*/
|
|
39483
|
+
export const KEY_TM_CONTACT_VOICE: keyof TmContact = 'voice';
|
|
39484
|
+
|
|
39485
|
+
/**
|
|
39486
|
+
* Array of all TmContact property keys
|
|
39487
|
+
*
|
|
39488
|
+
* @remarks
|
|
39489
|
+
* This constant provides a readonly array containing all valid property keys for TmContact objects.
|
|
39490
|
+
* Useful for iteration, validation, and generating dynamic UI components.
|
|
39491
|
+
*
|
|
39492
|
+
* @example
|
|
39493
|
+
* ```typescript
|
|
39494
|
+
* // Iterating through all keys
|
|
39495
|
+
* for (const key of KEYS_TM_CONTACT) {
|
|
39496
|
+
* console.log(`Property: ${key}, Value: ${tmcontact[key]}`);
|
|
39497
|
+
* }
|
|
39498
|
+
*
|
|
39499
|
+
* // Validation
|
|
39500
|
+
* const isValidKey = KEYS_TM_CONTACT.includes(someKey);
|
|
39501
|
+
* ```
|
|
39502
|
+
*
|
|
39503
|
+
* @see {@link TmContact} - The TypeScript type definition
|
|
39504
|
+
*/
|
|
39505
|
+
export const KEYS_TM_CONTACT = [
|
|
39506
|
+
KEY_TM_CONTACT_ADDR,
|
|
39507
|
+
KEY_TM_CONTACT_EMAIL,
|
|
39508
|
+
KEY_TM_CONTACT_FAX,
|
|
39509
|
+
KEY_TM_CONTACT_NAME,
|
|
39510
|
+
KEY_TM_CONTACT_ORG,
|
|
39511
|
+
KEY_TM_CONTACT_TYPE,
|
|
39512
|
+
KEY_TM_CONTACT_VOICE,
|
|
39513
|
+
] as const satisfies (keyof TmContact)[];
|
|
39514
|
+
|
|
39515
|
+
/**
|
|
39516
|
+
* Cc
|
|
39517
|
+
*
|
|
39518
|
+
* ISO 3166-2 jurisdiction country code
|
|
39519
|
+
*
|
|
39520
|
+
* @type {string}
|
|
39521
|
+
*
|
|
39522
|
+
*
|
|
39523
|
+
* @remarks
|
|
39524
|
+
* This key constant provides type-safe access to the `cc` property of TmCourt objects.
|
|
39525
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
39526
|
+
*
|
|
39527
|
+
* @example
|
|
39528
|
+
* ```typescript
|
|
39529
|
+
* // Direct property access
|
|
39530
|
+
* const value = tmcourt[KEY_TM_COURT_CC];
|
|
39531
|
+
*
|
|
39532
|
+
* // Dynamic property access
|
|
39533
|
+
* const propertyName = KEY_TM_COURT_CC;
|
|
39534
|
+
* const value = tmcourt[propertyName];
|
|
39535
|
+
* ```
|
|
39536
|
+
*
|
|
39537
|
+
* @see {@link TmCourt} - The TypeScript type definition
|
|
39538
|
+
* @see {@link KEYS_TM_COURT} - Array of all keys for this type
|
|
39539
|
+
*/
|
|
39540
|
+
export const KEY_TM_COURT_CC: keyof TmCourt = 'cc';
|
|
39541
|
+
/**
|
|
39542
|
+
* Court Name
|
|
39543
|
+
*
|
|
39544
|
+
* Name of the court
|
|
39545
|
+
*
|
|
39546
|
+
* @type {string}
|
|
39547
|
+
*
|
|
39548
|
+
*
|
|
39549
|
+
* @remarks
|
|
39550
|
+
* This key constant provides type-safe access to the `court_name` property of TmCourt objects.
|
|
39551
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
39552
|
+
*
|
|
39553
|
+
* @example
|
|
39554
|
+
* ```typescript
|
|
39555
|
+
* // Direct property access
|
|
39556
|
+
* const value = tmcourt[KEY_TM_COURT_COURT_NAME];
|
|
39557
|
+
*
|
|
39558
|
+
* // Dynamic property access
|
|
39559
|
+
* const propertyName = KEY_TM_COURT_COURT_NAME;
|
|
39560
|
+
* const value = tmcourt[propertyName];
|
|
39561
|
+
* ```
|
|
39562
|
+
*
|
|
39563
|
+
* @see {@link TmCourt} - The TypeScript type definition
|
|
39564
|
+
* @see {@link KEYS_TM_COURT} - Array of all keys for this type
|
|
39565
|
+
*/
|
|
39566
|
+
export const KEY_TM_COURT_COURT_NAME: keyof TmCourt = 'court_name';
|
|
39567
|
+
/**
|
|
39568
|
+
* Ref Num
|
|
39569
|
+
*
|
|
39570
|
+
* Reference number of the court resolution
|
|
39571
|
+
*
|
|
39572
|
+
* @type {string}
|
|
39573
|
+
*
|
|
39574
|
+
*
|
|
39575
|
+
* @remarks
|
|
39576
|
+
* This key constant provides type-safe access to the `ref_num` property of TmCourt objects.
|
|
39577
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
39578
|
+
*
|
|
39579
|
+
* @example
|
|
39580
|
+
* ```typescript
|
|
39581
|
+
* // Direct property access
|
|
39582
|
+
* const value = tmcourt[KEY_TM_COURT_REF_NUM];
|
|
39583
|
+
*
|
|
39584
|
+
* // Dynamic property access
|
|
39585
|
+
* const propertyName = KEY_TM_COURT_REF_NUM;
|
|
39586
|
+
* const value = tmcourt[propertyName];
|
|
39587
|
+
* ```
|
|
39588
|
+
*
|
|
39589
|
+
* @see {@link TmCourt} - The TypeScript type definition
|
|
39590
|
+
* @see {@link KEYS_TM_COURT} - Array of all keys for this type
|
|
39591
|
+
*/
|
|
39592
|
+
export const KEY_TM_COURT_REF_NUM: keyof TmCourt = 'ref_num';
|
|
39593
|
+
/**
|
|
39594
|
+
* Region
|
|
39595
|
+
*
|
|
39596
|
+
* Region(s) within the jurisdiction
|
|
39597
|
+
*
|
|
39598
|
+
* @type {array}
|
|
39599
|
+
*
|
|
39600
|
+
*
|
|
39601
|
+
* @remarks
|
|
39602
|
+
* This key constant provides type-safe access to the `region` property of TmCourt objects.
|
|
39603
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
39604
|
+
*
|
|
39605
|
+
* @example
|
|
39606
|
+
* ```typescript
|
|
39607
|
+
* // Direct property access
|
|
39608
|
+
* const value = tmcourt[KEY_TM_COURT_REGION];
|
|
39609
|
+
*
|
|
39610
|
+
* // Dynamic property access
|
|
39611
|
+
* const propertyName = KEY_TM_COURT_REGION;
|
|
39612
|
+
* const value = tmcourt[propertyName];
|
|
39613
|
+
* ```
|
|
39614
|
+
*
|
|
39615
|
+
* @see {@link TmCourt} - The TypeScript type definition
|
|
39616
|
+
* @see {@link KEYS_TM_COURT} - Array of all keys for this type
|
|
39617
|
+
*/
|
|
39618
|
+
export const KEY_TM_COURT_REGION: keyof TmCourt = 'region';
|
|
39619
|
+
|
|
39620
|
+
/**
|
|
39621
|
+
* Array of all TmCourt property keys
|
|
39622
|
+
*
|
|
39623
|
+
* @remarks
|
|
39624
|
+
* This constant provides a readonly array containing all valid property keys for TmCourt objects.
|
|
39625
|
+
* Useful for iteration, validation, and generating dynamic UI components.
|
|
39626
|
+
*
|
|
39627
|
+
* @example
|
|
39628
|
+
* ```typescript
|
|
39629
|
+
* // Iterating through all keys
|
|
39630
|
+
* for (const key of KEYS_TM_COURT) {
|
|
39631
|
+
* console.log(`Property: ${key}, Value: ${tmcourt[key]}`);
|
|
39632
|
+
* }
|
|
39633
|
+
*
|
|
39634
|
+
* // Validation
|
|
39635
|
+
* const isValidKey = KEYS_TM_COURT.includes(someKey);
|
|
39636
|
+
* ```
|
|
39637
|
+
*
|
|
39638
|
+
* @see {@link TmCourt} - The TypeScript type definition
|
|
39639
|
+
*/
|
|
39640
|
+
export const KEYS_TM_COURT = [
|
|
39641
|
+
KEY_TM_COURT_CC,
|
|
39642
|
+
KEY_TM_COURT_COURT_NAME,
|
|
39643
|
+
KEY_TM_COURT_REF_NUM,
|
|
39644
|
+
KEY_TM_COURT_REGION,
|
|
39645
|
+
] as const satisfies (keyof TmCourt)[];
|
|
39646
|
+
|
|
39647
|
+
/**
|
|
39648
|
+
* addr property
|
|
39649
|
+
*
|
|
39650
|
+
*
|
|
39651
|
+
*
|
|
39652
|
+
*
|
|
39653
|
+
* @remarks
|
|
39654
|
+
* This key constant provides type-safe access to the `addr` property of TmHolder objects.
|
|
39655
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
39656
|
+
*
|
|
39657
|
+
* @example
|
|
39658
|
+
* ```typescript
|
|
39659
|
+
* // Direct property access
|
|
39660
|
+
* const value = tmholder[KEY_TM_HOLDER_ADDR];
|
|
39661
|
+
*
|
|
39662
|
+
* // Dynamic property access
|
|
39663
|
+
* const propertyName = KEY_TM_HOLDER_ADDR;
|
|
39664
|
+
* const value = tmholder[propertyName];
|
|
39665
|
+
* ```
|
|
39666
|
+
*
|
|
39667
|
+
* @see {@link TmHolder} - The TypeScript type definition
|
|
39668
|
+
* @see {@link KEYS_TM_HOLDER} - Array of all keys for this type
|
|
39669
|
+
*/
|
|
39670
|
+
export const KEY_TM_HOLDER_ADDR: keyof TmHolder = 'addr';
|
|
39671
|
+
/**
|
|
39672
|
+
* Email
|
|
39673
|
+
*
|
|
39674
|
+
*
|
|
39675
|
+
*
|
|
39676
|
+
*
|
|
39677
|
+
* @remarks
|
|
39678
|
+
* This key constant provides type-safe access to the `email` property of TmHolder objects.
|
|
39679
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
39680
|
+
*
|
|
39681
|
+
* @example
|
|
39682
|
+
* ```typescript
|
|
39683
|
+
* // Direct property access
|
|
39684
|
+
* const value = tmholder[KEY_TM_HOLDER_EMAIL];
|
|
39685
|
+
*
|
|
39686
|
+
* // Dynamic property access
|
|
39687
|
+
* const propertyName = KEY_TM_HOLDER_EMAIL;
|
|
39688
|
+
* const value = tmholder[propertyName];
|
|
39689
|
+
* ```
|
|
39690
|
+
*
|
|
39691
|
+
* @see {@link TmHolder} - The TypeScript type definition
|
|
39692
|
+
* @see {@link KEYS_TM_HOLDER} - Array of all keys for this type
|
|
39693
|
+
*/
|
|
39694
|
+
export const KEY_TM_HOLDER_EMAIL: keyof TmHolder = 'email';
|
|
39695
|
+
/**
|
|
39696
|
+
* entitlement property
|
|
39697
|
+
*
|
|
39698
|
+
*
|
|
39699
|
+
*
|
|
39700
|
+
*
|
|
39701
|
+
* @remarks
|
|
39702
|
+
* This key constant provides type-safe access to the `entitlement` property of TmHolder objects.
|
|
39703
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
39704
|
+
*
|
|
39705
|
+
* @example
|
|
39706
|
+
* ```typescript
|
|
39707
|
+
* // Direct property access
|
|
39708
|
+
* const value = tmholder[KEY_TM_HOLDER_ENTITLEMENT];
|
|
39709
|
+
*
|
|
39710
|
+
* // Dynamic property access
|
|
39711
|
+
* const propertyName = KEY_TM_HOLDER_ENTITLEMENT;
|
|
39712
|
+
* const value = tmholder[propertyName];
|
|
39713
|
+
* ```
|
|
39714
|
+
*
|
|
39715
|
+
* @see {@link TmHolder} - The TypeScript type definition
|
|
39716
|
+
* @see {@link KEYS_TM_HOLDER} - Array of all keys for this type
|
|
39717
|
+
*/
|
|
39718
|
+
export const KEY_TM_HOLDER_ENTITLEMENT: keyof TmHolder = 'entitlement';
|
|
39719
|
+
/**
|
|
39720
|
+
* Fax
|
|
39721
|
+
*
|
|
39722
|
+
*
|
|
39723
|
+
*
|
|
39724
|
+
*
|
|
39725
|
+
* @remarks
|
|
39726
|
+
* This key constant provides type-safe access to the `fax` property of TmHolder objects.
|
|
39727
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
39728
|
+
*
|
|
39729
|
+
* @example
|
|
39730
|
+
* ```typescript
|
|
39731
|
+
* // Direct property access
|
|
39732
|
+
* const value = tmholder[KEY_TM_HOLDER_FAX];
|
|
39733
|
+
*
|
|
39734
|
+
* // Dynamic property access
|
|
39735
|
+
* const propertyName = KEY_TM_HOLDER_FAX;
|
|
39736
|
+
* const value = tmholder[propertyName];
|
|
39737
|
+
* ```
|
|
39738
|
+
*
|
|
39739
|
+
* @see {@link TmHolder} - The TypeScript type definition
|
|
39740
|
+
* @see {@link KEYS_TM_HOLDER} - Array of all keys for this type
|
|
39741
|
+
*/
|
|
39742
|
+
export const KEY_TM_HOLDER_FAX: keyof TmHolder = 'fax';
|
|
39743
|
+
/**
|
|
39744
|
+
* Name
|
|
39745
|
+
*
|
|
39746
|
+
*
|
|
39747
|
+
*
|
|
39748
|
+
*
|
|
39749
|
+
* @remarks
|
|
39750
|
+
* This key constant provides type-safe access to the `name` property of TmHolder objects.
|
|
39751
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
39752
|
+
*
|
|
39753
|
+
* @example
|
|
39754
|
+
* ```typescript
|
|
39755
|
+
* // Direct property access
|
|
39756
|
+
* const value = tmholder[KEY_TM_HOLDER_NAME];
|
|
39757
|
+
*
|
|
39758
|
+
* // Dynamic property access
|
|
39759
|
+
* const propertyName = KEY_TM_HOLDER_NAME;
|
|
39760
|
+
* const value = tmholder[propertyName];
|
|
39761
|
+
* ```
|
|
39762
|
+
*
|
|
39763
|
+
* @see {@link TmHolder} - The TypeScript type definition
|
|
39764
|
+
* @see {@link KEYS_TM_HOLDER} - Array of all keys for this type
|
|
39765
|
+
*/
|
|
39766
|
+
export const KEY_TM_HOLDER_NAME: keyof TmHolder = 'name';
|
|
39767
|
+
/**
|
|
39768
|
+
* Org
|
|
39769
|
+
*
|
|
39770
|
+
*
|
|
39771
|
+
*
|
|
39772
|
+
*
|
|
39773
|
+
* @remarks
|
|
39774
|
+
* This key constant provides type-safe access to the `org` property of TmHolder objects.
|
|
39775
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
39776
|
+
*
|
|
39777
|
+
* @example
|
|
39778
|
+
* ```typescript
|
|
39779
|
+
* // Direct property access
|
|
39780
|
+
* const value = tmholder[KEY_TM_HOLDER_ORG];
|
|
39781
|
+
*
|
|
39782
|
+
* // Dynamic property access
|
|
39783
|
+
* const propertyName = KEY_TM_HOLDER_ORG;
|
|
39784
|
+
* const value = tmholder[propertyName];
|
|
39785
|
+
* ```
|
|
39786
|
+
*
|
|
39787
|
+
* @see {@link TmHolder} - The TypeScript type definition
|
|
39788
|
+
* @see {@link KEYS_TM_HOLDER} - Array of all keys for this type
|
|
39789
|
+
*/
|
|
39790
|
+
export const KEY_TM_HOLDER_ORG: keyof TmHolder = 'org';
|
|
39791
|
+
/**
|
|
39792
|
+
* Voice
|
|
39793
|
+
*
|
|
39794
|
+
*
|
|
39795
|
+
*
|
|
39796
|
+
*
|
|
39797
|
+
* @remarks
|
|
39798
|
+
* This key constant provides type-safe access to the `voice` property of TmHolder objects.
|
|
39799
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
39800
|
+
*
|
|
39801
|
+
* @example
|
|
39802
|
+
* ```typescript
|
|
39803
|
+
* // Direct property access
|
|
39804
|
+
* const value = tmholder[KEY_TM_HOLDER_VOICE];
|
|
39805
|
+
*
|
|
39806
|
+
* // Dynamic property access
|
|
39807
|
+
* const propertyName = KEY_TM_HOLDER_VOICE;
|
|
39808
|
+
* const value = tmholder[propertyName];
|
|
39809
|
+
* ```
|
|
39810
|
+
*
|
|
39811
|
+
* @see {@link TmHolder} - The TypeScript type definition
|
|
39812
|
+
* @see {@link KEYS_TM_HOLDER} - Array of all keys for this type
|
|
39813
|
+
*/
|
|
39814
|
+
export const KEY_TM_HOLDER_VOICE: keyof TmHolder = 'voice';
|
|
39815
|
+
|
|
39816
|
+
/**
|
|
39817
|
+
* Array of all TmHolder property keys
|
|
39818
|
+
*
|
|
39819
|
+
* @remarks
|
|
39820
|
+
* This constant provides a readonly array containing all valid property keys for TmHolder objects.
|
|
39821
|
+
* Useful for iteration, validation, and generating dynamic UI components.
|
|
39822
|
+
*
|
|
39823
|
+
* @example
|
|
39824
|
+
* ```typescript
|
|
39825
|
+
* // Iterating through all keys
|
|
39826
|
+
* for (const key of KEYS_TM_HOLDER) {
|
|
39827
|
+
* console.log(`Property: ${key}, Value: ${tmholder[key]}`);
|
|
39828
|
+
* }
|
|
39829
|
+
*
|
|
39830
|
+
* // Validation
|
|
39831
|
+
* const isValidKey = KEYS_TM_HOLDER.includes(someKey);
|
|
39832
|
+
* ```
|
|
39833
|
+
*
|
|
39834
|
+
* @see {@link TmHolder} - The TypeScript type definition
|
|
39835
|
+
*/
|
|
39836
|
+
export const KEYS_TM_HOLDER = [
|
|
39837
|
+
KEY_TM_HOLDER_ADDR,
|
|
39838
|
+
KEY_TM_HOLDER_EMAIL,
|
|
39839
|
+
KEY_TM_HOLDER_ENTITLEMENT,
|
|
39840
|
+
KEY_TM_HOLDER_FAX,
|
|
39841
|
+
KEY_TM_HOLDER_NAME,
|
|
39842
|
+
KEY_TM_HOLDER_ORG,
|
|
39843
|
+
KEY_TM_HOLDER_VOICE,
|
|
39844
|
+
] as const satisfies (keyof TmHolder)[];
|
|
39845
|
+
|
|
39846
|
+
/**
|
|
39847
|
+
* Description
|
|
39848
|
+
*
|
|
39849
|
+
* Name of jurisdiction in English
|
|
39850
|
+
*
|
|
39851
|
+
* @type {string}
|
|
39852
|
+
*
|
|
39853
|
+
*
|
|
39854
|
+
* @remarks
|
|
39855
|
+
* This key constant provides type-safe access to the `description` property of TmJurDesc objects.
|
|
39856
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
39857
|
+
*
|
|
39858
|
+
* @example
|
|
39859
|
+
* ```typescript
|
|
39860
|
+
* // Direct property access
|
|
39861
|
+
* const value = tmjurdesc[KEY_TM_JUR_DESC_DESCRIPTION];
|
|
39862
|
+
*
|
|
39863
|
+
* // Dynamic property access
|
|
39864
|
+
* const propertyName = KEY_TM_JUR_DESC_DESCRIPTION;
|
|
39865
|
+
* const value = tmjurdesc[propertyName];
|
|
39866
|
+
* ```
|
|
39867
|
+
*
|
|
39868
|
+
* @see {@link TmJurDesc} - The TypeScript type definition
|
|
39869
|
+
* @see {@link KEYS_TM_JUR_DESC} - Array of all keys for this type
|
|
39870
|
+
*/
|
|
39871
|
+
export const KEY_TM_JUR_DESC_DESCRIPTION: keyof TmJurDesc = 'description';
|
|
39872
|
+
/**
|
|
39873
|
+
* Jur Cc
|
|
39874
|
+
*
|
|
39875
|
+
* WIPO ST.3 two-character jurisdiction code
|
|
39876
|
+
*
|
|
39877
|
+
* @type {string}
|
|
39878
|
+
*
|
|
39879
|
+
*
|
|
39880
|
+
* @remarks
|
|
39881
|
+
* This key constant provides type-safe access to the `jur_cc` property of TmJurDesc objects.
|
|
39882
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
39883
|
+
*
|
|
39884
|
+
* @example
|
|
39885
|
+
* ```typescript
|
|
39886
|
+
* // Direct property access
|
|
39887
|
+
* const value = tmjurdesc[KEY_TM_JUR_DESC_JUR_CC];
|
|
39888
|
+
*
|
|
39889
|
+
* // Dynamic property access
|
|
39890
|
+
* const propertyName = KEY_TM_JUR_DESC_JUR_CC;
|
|
39891
|
+
* const value = tmjurdesc[propertyName];
|
|
39892
|
+
* ```
|
|
39893
|
+
*
|
|
39894
|
+
* @see {@link TmJurDesc} - The TypeScript type definition
|
|
39895
|
+
* @see {@link KEYS_TM_JUR_DESC} - Array of all keys for this type
|
|
39896
|
+
*/
|
|
39897
|
+
export const KEY_TM_JUR_DESC_JUR_CC: keyof TmJurDesc = 'jur_cc';
|
|
39898
|
+
|
|
39899
|
+
/**
|
|
39900
|
+
* Array of all TmJurDesc property keys
|
|
39901
|
+
*
|
|
39902
|
+
* @remarks
|
|
39903
|
+
* This constant provides a readonly array containing all valid property keys for TmJurDesc objects.
|
|
39904
|
+
* Useful for iteration, validation, and generating dynamic UI components.
|
|
39905
|
+
*
|
|
39906
|
+
* @example
|
|
39907
|
+
* ```typescript
|
|
39908
|
+
* // Iterating through all keys
|
|
39909
|
+
* for (const key of KEYS_TM_JUR_DESC) {
|
|
39910
|
+
* console.log(`Property: ${key}, Value: ${tmjurdesc[key]}`);
|
|
39911
|
+
* }
|
|
39912
|
+
*
|
|
39913
|
+
* // Validation
|
|
39914
|
+
* const isValidKey = KEYS_TM_JUR_DESC.includes(someKey);
|
|
39915
|
+
* ```
|
|
39916
|
+
*
|
|
39917
|
+
* @see {@link TmJurDesc} - The TypeScript type definition
|
|
39918
|
+
*/
|
|
39919
|
+
export const KEYS_TM_JUR_DESC = [
|
|
39920
|
+
KEY_TM_JUR_DESC_DESCRIPTION,
|
|
39921
|
+
KEY_TM_JUR_DESC_JUR_CC,
|
|
39922
|
+
] as const satisfies (keyof TmJurDesc)[];
|
|
39923
|
+
|
|
39924
|
+
/**
|
|
39925
|
+
* Court
|
|
39926
|
+
*
|
|
39927
|
+
*
|
|
39928
|
+
* @type {array}
|
|
39929
|
+
*
|
|
39930
|
+
*
|
|
39931
|
+
* @remarks
|
|
39932
|
+
* This key constant provides type-safe access to the `court` property of TmNotExactMatch objects.
|
|
39933
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
39934
|
+
*
|
|
39935
|
+
* @example
|
|
39936
|
+
* ```typescript
|
|
39937
|
+
* // Direct property access
|
|
39938
|
+
* const value = tmnotexactmatch[KEY_TM_NOT_EXACT_MATCH_COURT];
|
|
39939
|
+
*
|
|
39940
|
+
* // Dynamic property access
|
|
39941
|
+
* const propertyName = KEY_TM_NOT_EXACT_MATCH_COURT;
|
|
39942
|
+
* const value = tmnotexactmatch[propertyName];
|
|
39943
|
+
* ```
|
|
39944
|
+
*
|
|
39945
|
+
* @see {@link TmNotExactMatch} - The TypeScript type definition
|
|
39946
|
+
* @see {@link KEYS_TM_NOT_EXACT_MATCH} - Array of all keys for this type
|
|
39947
|
+
*/
|
|
39948
|
+
export const KEY_TM_NOT_EXACT_MATCH_COURT: keyof TmNotExactMatch = 'court';
|
|
39949
|
+
/**
|
|
39950
|
+
* Intro
|
|
39951
|
+
*
|
|
39952
|
+
* Introductory text for the non-exact match section
|
|
39953
|
+
*
|
|
39954
|
+
* @type {string}
|
|
39955
|
+
*
|
|
39956
|
+
*
|
|
39957
|
+
* @remarks
|
|
39958
|
+
* This key constant provides type-safe access to the `intro` property of TmNotExactMatch objects.
|
|
39959
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
39960
|
+
*
|
|
39961
|
+
* @example
|
|
39962
|
+
* ```typescript
|
|
39963
|
+
* // Direct property access
|
|
39964
|
+
* const value = tmnotexactmatch[KEY_TM_NOT_EXACT_MATCH_INTRO];
|
|
39965
|
+
*
|
|
39966
|
+
* // Dynamic property access
|
|
39967
|
+
* const propertyName = KEY_TM_NOT_EXACT_MATCH_INTRO;
|
|
39968
|
+
* const value = tmnotexactmatch[propertyName];
|
|
39969
|
+
* ```
|
|
39970
|
+
*
|
|
39971
|
+
* @see {@link TmNotExactMatch} - The TypeScript type definition
|
|
39972
|
+
* @see {@link KEYS_TM_NOT_EXACT_MATCH} - Array of all keys for this type
|
|
39973
|
+
*/
|
|
39974
|
+
export const KEY_TM_NOT_EXACT_MATCH_INTRO: keyof TmNotExactMatch = 'intro';
|
|
39975
|
+
/**
|
|
39976
|
+
* Udrp
|
|
39977
|
+
*
|
|
39978
|
+
*
|
|
39979
|
+
* @type {array}
|
|
39980
|
+
*
|
|
39981
|
+
*
|
|
39982
|
+
* @remarks
|
|
39983
|
+
* This key constant provides type-safe access to the `udrp` property of TmNotExactMatch objects.
|
|
39984
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
39985
|
+
*
|
|
39986
|
+
* @example
|
|
39987
|
+
* ```typescript
|
|
39988
|
+
* // Direct property access
|
|
39989
|
+
* const value = tmnotexactmatch[KEY_TM_NOT_EXACT_MATCH_UDRP];
|
|
39990
|
+
*
|
|
39991
|
+
* // Dynamic property access
|
|
39992
|
+
* const propertyName = KEY_TM_NOT_EXACT_MATCH_UDRP;
|
|
39993
|
+
* const value = tmnotexactmatch[propertyName];
|
|
39994
|
+
* ```
|
|
39995
|
+
*
|
|
39996
|
+
* @see {@link TmNotExactMatch} - The TypeScript type definition
|
|
39997
|
+
* @see {@link KEYS_TM_NOT_EXACT_MATCH} - Array of all keys for this type
|
|
39998
|
+
*/
|
|
39999
|
+
export const KEY_TM_NOT_EXACT_MATCH_UDRP: keyof TmNotExactMatch = 'udrp';
|
|
40000
|
+
|
|
40001
|
+
/**
|
|
40002
|
+
* Array of all TmNotExactMatch property keys
|
|
40003
|
+
*
|
|
40004
|
+
* @remarks
|
|
40005
|
+
* This constant provides a readonly array containing all valid property keys for TmNotExactMatch objects.
|
|
40006
|
+
* Useful for iteration, validation, and generating dynamic UI components.
|
|
40007
|
+
*
|
|
40008
|
+
* @example
|
|
40009
|
+
* ```typescript
|
|
40010
|
+
* // Iterating through all keys
|
|
40011
|
+
* for (const key of KEYS_TM_NOT_EXACT_MATCH) {
|
|
40012
|
+
* console.log(`Property: ${key}, Value: ${tmnotexactmatch[key]}`);
|
|
40013
|
+
* }
|
|
40014
|
+
*
|
|
40015
|
+
* // Validation
|
|
40016
|
+
* const isValidKey = KEYS_TM_NOT_EXACT_MATCH.includes(someKey);
|
|
40017
|
+
* ```
|
|
40018
|
+
*
|
|
40019
|
+
* @see {@link TmNotExactMatch} - The TypeScript type definition
|
|
40020
|
+
*/
|
|
40021
|
+
export const KEYS_TM_NOT_EXACT_MATCH = [
|
|
40022
|
+
KEY_TM_NOT_EXACT_MATCH_COURT,
|
|
40023
|
+
KEY_TM_NOT_EXACT_MATCH_INTRO,
|
|
40024
|
+
KEY_TM_NOT_EXACT_MATCH_UDRP,
|
|
40025
|
+
] as const satisfies (keyof TmNotExactMatch)[];
|
|
40026
|
+
|
|
40027
|
+
/**
|
|
40028
|
+
* Case No
|
|
40029
|
+
*
|
|
40030
|
+
* UDRP case number
|
|
40031
|
+
*
|
|
40032
|
+
* @type {string}
|
|
40033
|
+
*
|
|
40034
|
+
*
|
|
40035
|
+
* @remarks
|
|
40036
|
+
* This key constant provides type-safe access to the `case_no` property of TmUdrp objects.
|
|
40037
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
40038
|
+
*
|
|
40039
|
+
* @example
|
|
40040
|
+
* ```typescript
|
|
40041
|
+
* // Direct property access
|
|
40042
|
+
* const value = tmudrp[KEY_TM_UDRP_CASE_NO];
|
|
40043
|
+
*
|
|
40044
|
+
* // Dynamic property access
|
|
40045
|
+
* const propertyName = KEY_TM_UDRP_CASE_NO;
|
|
40046
|
+
* const value = tmudrp[propertyName];
|
|
40047
|
+
* ```
|
|
40048
|
+
*
|
|
40049
|
+
* @see {@link TmUdrp} - The TypeScript type definition
|
|
40050
|
+
* @see {@link KEYS_TM_UDRP} - Array of all keys for this type
|
|
40051
|
+
*/
|
|
40052
|
+
export const KEY_TM_UDRP_CASE_NO: keyof TmUdrp = 'case_no';
|
|
40053
|
+
/**
|
|
40054
|
+
* Udrp Provider
|
|
40055
|
+
*
|
|
40056
|
+
* Name of the UDRP provider
|
|
40057
|
+
*
|
|
40058
|
+
* @type {string}
|
|
40059
|
+
*
|
|
40060
|
+
*
|
|
40061
|
+
* @remarks
|
|
40062
|
+
* This key constant provides type-safe access to the `udrp_provider` property of TmUdrp objects.
|
|
40063
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
40064
|
+
*
|
|
40065
|
+
* @example
|
|
40066
|
+
* ```typescript
|
|
40067
|
+
* // Direct property access
|
|
40068
|
+
* const value = tmudrp[KEY_TM_UDRP_UDRP_PROVIDER];
|
|
40069
|
+
*
|
|
40070
|
+
* // Dynamic property access
|
|
40071
|
+
* const propertyName = KEY_TM_UDRP_UDRP_PROVIDER;
|
|
40072
|
+
* const value = tmudrp[propertyName];
|
|
40073
|
+
* ```
|
|
40074
|
+
*
|
|
40075
|
+
* @see {@link TmUdrp} - The TypeScript type definition
|
|
40076
|
+
* @see {@link KEYS_TM_UDRP} - Array of all keys for this type
|
|
40077
|
+
*/
|
|
40078
|
+
export const KEY_TM_UDRP_UDRP_PROVIDER: keyof TmUdrp = 'udrp_provider';
|
|
40079
|
+
|
|
40080
|
+
/**
|
|
40081
|
+
* Array of all TmUdrp property keys
|
|
40082
|
+
*
|
|
40083
|
+
* @remarks
|
|
40084
|
+
* This constant provides a readonly array containing all valid property keys for TmUdrp objects.
|
|
40085
|
+
* Useful for iteration, validation, and generating dynamic UI components.
|
|
40086
|
+
*
|
|
40087
|
+
* @example
|
|
40088
|
+
* ```typescript
|
|
40089
|
+
* // Iterating through all keys
|
|
40090
|
+
* for (const key of KEYS_TM_UDRP) {
|
|
40091
|
+
* console.log(`Property: ${key}, Value: ${tmudrp[key]}`);
|
|
40092
|
+
* }
|
|
40093
|
+
*
|
|
40094
|
+
* // Validation
|
|
40095
|
+
* const isValidKey = KEYS_TM_UDRP.includes(someKey);
|
|
40096
|
+
* ```
|
|
40097
|
+
*
|
|
40098
|
+
* @see {@link TmUdrp} - The TypeScript type definition
|
|
40099
|
+
*/
|
|
40100
|
+
export const KEYS_TM_UDRP = [
|
|
40101
|
+
KEY_TM_UDRP_CASE_NO,
|
|
40102
|
+
KEY_TM_UDRP_UDRP_PROVIDER,
|
|
40103
|
+
] as const satisfies (keyof TmUdrp)[];
|
|
40104
|
+
|
|
38464
40105
|
/**
|
|
38465
40106
|
* End Date
|
|
38466
40107
|
*
|