@voyantjs/crm 0.26.0 → 0.26.2

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.
Files changed (40) hide show
  1. package/dist/index.d.ts +18 -3
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +25 -6
  4. package/dist/route-runtime.d.ts +21 -0
  5. package/dist/route-runtime.d.ts.map +1 -0
  6. package/dist/route-runtime.js +28 -0
  7. package/dist/routes/accounts.d.ts +50 -2
  8. package/dist/routes/accounts.d.ts.map +1 -1
  9. package/dist/routes/index.d.ts +496 -2
  10. package/dist/routes/index.d.ts.map +1 -1
  11. package/dist/routes/index.js +2 -0
  12. package/dist/routes/person-documents.d.ts +458 -0
  13. package/dist/routes/person-documents.d.ts.map +1 -0
  14. package/dist/routes/person-documents.js +160 -0
  15. package/dist/schema-accounts.d.ts +367 -0
  16. package/dist/schema-accounts.d.ts.map +1 -1
  17. package/dist/schema-accounts.js +68 -2
  18. package/dist/schema-activities.js +2 -2
  19. package/dist/schema-relations.js +3 -3
  20. package/dist/schema-sales.js +2 -2
  21. package/dist/schema.d.ts +6 -6
  22. package/dist/schema.d.ts.map +1 -1
  23. package/dist/schema.js +6 -6
  24. package/dist/service/accounts-people.d.ts +49 -1
  25. package/dist/service/accounts-people.d.ts.map +1 -1
  26. package/dist/service/accounts-shared.d.ts +12 -0
  27. package/dist/service/accounts-shared.d.ts.map +1 -1
  28. package/dist/service/accounts-shared.js +4 -0
  29. package/dist/service/accounts.d.ts +49 -1
  30. package/dist/service/accounts.d.ts.map +1 -1
  31. package/dist/service/index.d.ts +1172 -1
  32. package/dist/service/index.d.ts.map +1 -1
  33. package/dist/service/index.js +3 -0
  34. package/dist/service/person-documents.d.ts +1188 -0
  35. package/dist/service/person-documents.d.ts.map +1 -0
  36. package/dist/service/person-documents.js +216 -0
  37. package/dist/validation.d.ts +168 -0
  38. package/dist/validation.d.ts.map +1 -1
  39. package/dist/validation.js +68 -0
  40. package/package.json +6 -5
@@ -303,6 +303,7 @@ export declare const crmRoutes: import("hono/hono-base").HonoBase<Env, import("h
303
303
  updatedAt: string;
304
304
  notes: string | null;
305
305
  timezone: string | null;
306
+ region: string | null;
306
307
  entityType: string;
307
308
  entityId: string;
308
309
  label: "service" | "primary" | "other" | "billing" | "shipping" | "mailing" | "meeting" | "legal";
@@ -311,7 +312,6 @@ export declare const crmRoutes: import("hono/hono-base").HonoBase<Env, import("h
311
312
  line1: string | null;
312
313
  line2: string | null;
313
314
  city: string | null;
314
- region: string | null;
315
315
  postalCode: string | null;
316
316
  country: string | null;
317
317
  latitude: number | null;
@@ -456,6 +456,18 @@ export declare const crmRoutes: import("hono/hono-base").HonoBase<Env, import("h
456
456
  tags: string[];
457
457
  birthday: string | null;
458
458
  notes: string | null;
459
+ accessibilityEncrypted: {
460
+ enc: string;
461
+ } | null;
462
+ dietaryEncrypted: {
463
+ enc: string;
464
+ } | null;
465
+ loyaltyEncrypted: {
466
+ enc: string;
467
+ } | null;
468
+ insuranceEncrypted: {
469
+ enc: string;
470
+ } | null;
459
471
  createdAt: string;
460
472
  updatedAt: string;
461
473
  archivedAt: string | null;
@@ -494,6 +506,18 @@ export declare const crmRoutes: import("hono/hono-base").HonoBase<Env, import("h
494
506
  tags: string[];
495
507
  birthday: string | null;
496
508
  notes: string | null;
509
+ accessibilityEncrypted: {
510
+ enc: string;
511
+ } | null;
512
+ dietaryEncrypted: {
513
+ enc: string;
514
+ } | null;
515
+ loyaltyEncrypted: {
516
+ enc: string;
517
+ } | null;
518
+ insuranceEncrypted: {
519
+ enc: string;
520
+ } | null;
497
521
  createdAt: string;
498
522
  updatedAt: string;
499
523
  archivedAt: string | null;
@@ -544,6 +568,18 @@ export declare const crmRoutes: import("hono/hono-base").HonoBase<Env, import("h
544
568
  tags: string[];
545
569
  birthday: string | null;
546
570
  notes: string | null;
571
+ accessibilityEncrypted: {
572
+ enc: string;
573
+ } | null;
574
+ dietaryEncrypted: {
575
+ enc: string;
576
+ } | null;
577
+ loyaltyEncrypted: {
578
+ enc: string;
579
+ } | null;
580
+ insuranceEncrypted: {
581
+ enc: string;
582
+ } | null;
547
583
  createdAt: string;
548
584
  updatedAt: string;
549
585
  archivedAt: string | null;
@@ -594,6 +630,18 @@ export declare const crmRoutes: import("hono/hono-base").HonoBase<Env, import("h
594
630
  tags: string[];
595
631
  birthday: string | null;
596
632
  notes: string | null;
633
+ accessibilityEncrypted: {
634
+ enc: string;
635
+ } | null;
636
+ dietaryEncrypted: {
637
+ enc: string;
638
+ } | null;
639
+ loyaltyEncrypted: {
640
+ enc: string;
641
+ } | null;
642
+ insuranceEncrypted: {
643
+ enc: string;
644
+ } | null;
597
645
  createdAt: string;
598
646
  updatedAt: string;
599
647
  archivedAt: string | null;
@@ -747,6 +795,7 @@ export declare const crmRoutes: import("hono/hono-base").HonoBase<Env, import("h
747
795
  updatedAt: string;
748
796
  notes: string | null;
749
797
  timezone: string | null;
798
+ region: string | null;
750
799
  entityType: string;
751
800
  entityId: string;
752
801
  label: "service" | "primary" | "other" | "billing" | "shipping" | "mailing" | "meeting" | "legal";
@@ -755,7 +804,6 @@ export declare const crmRoutes: import("hono/hono-base").HonoBase<Env, import("h
755
804
  line1: string | null;
756
805
  line2: string | null;
757
806
  city: string | null;
758
- region: string | null;
759
807
  postalCode: string | null;
760
808
  country: string | null;
761
809
  latitude: number | null;
@@ -1302,6 +1350,452 @@ export declare const crmRoutes: import("hono/hono-base").HonoBase<Env, import("h
1302
1350
  status: import("hono/utils/http-status").ContentfulStatusCode;
1303
1351
  };
1304
1352
  };
1353
+ }, "/"> | import("hono/types").MergeSchemaPath<{
1354
+ "/people/:id/documents": {
1355
+ $get: {
1356
+ input: {
1357
+ param: {
1358
+ id: string;
1359
+ };
1360
+ };
1361
+ output: {
1362
+ data: {
1363
+ id: string;
1364
+ personId: string;
1365
+ type: "passport" | "visa" | "other" | "id_card" | "driver_license";
1366
+ numberEncrypted: {
1367
+ enc: string;
1368
+ } | null;
1369
+ issuingAuthority: string | null;
1370
+ issuingCountry: string | null;
1371
+ issueDate: string | null;
1372
+ expiryDate: string | null;
1373
+ attachmentId: string | null;
1374
+ isPrimary: boolean;
1375
+ notes: string | null;
1376
+ metadata: {
1377
+ [x: string]: import("hono/utils/types").JSONValue;
1378
+ } | null;
1379
+ createdAt: string;
1380
+ updatedAt: string;
1381
+ }[];
1382
+ };
1383
+ outputFormat: "json";
1384
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1385
+ };
1386
+ };
1387
+ } & {
1388
+ "/people/:id/documents": {
1389
+ $post: {
1390
+ input: {
1391
+ param: {
1392
+ id: string;
1393
+ };
1394
+ };
1395
+ output: {
1396
+ error: string;
1397
+ };
1398
+ outputFormat: "json";
1399
+ status: 404;
1400
+ } | {
1401
+ input: {
1402
+ param: {
1403
+ id: string;
1404
+ };
1405
+ };
1406
+ output: {
1407
+ data: {
1408
+ metadata: {
1409
+ [x: string]: import("hono/utils/types").JSONValue;
1410
+ } | null;
1411
+ id: string;
1412
+ createdAt: string;
1413
+ updatedAt: string;
1414
+ type: "passport" | "visa" | "other" | "id_card" | "driver_license";
1415
+ issuingAuthority: string | null;
1416
+ issuingCountry: string | null;
1417
+ expiryDate: string | null;
1418
+ issueDate: string | null;
1419
+ notes: string | null;
1420
+ isPrimary: boolean;
1421
+ personId: string;
1422
+ numberEncrypted: {
1423
+ enc: string;
1424
+ } | null;
1425
+ attachmentId: string | null;
1426
+ };
1427
+ };
1428
+ outputFormat: "json";
1429
+ status: 201;
1430
+ };
1431
+ };
1432
+ } & {
1433
+ "/person-documents/:id": {
1434
+ $get: {
1435
+ input: {
1436
+ param: {
1437
+ id: string;
1438
+ };
1439
+ };
1440
+ output: {
1441
+ error: string;
1442
+ };
1443
+ outputFormat: "json";
1444
+ status: 404;
1445
+ } | {
1446
+ input: {
1447
+ param: {
1448
+ id: string;
1449
+ };
1450
+ };
1451
+ output: {
1452
+ data: {
1453
+ id: string;
1454
+ personId: string;
1455
+ type: "passport" | "visa" | "other" | "id_card" | "driver_license";
1456
+ numberEncrypted: {
1457
+ enc: string;
1458
+ } | null;
1459
+ issuingAuthority: string | null;
1460
+ issuingCountry: string | null;
1461
+ issueDate: string | null;
1462
+ expiryDate: string | null;
1463
+ attachmentId: string | null;
1464
+ isPrimary: boolean;
1465
+ notes: string | null;
1466
+ metadata: {
1467
+ [x: string]: import("hono/utils/types").JSONValue;
1468
+ } | null;
1469
+ createdAt: string;
1470
+ updatedAt: string;
1471
+ };
1472
+ };
1473
+ outputFormat: "json";
1474
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1475
+ };
1476
+ };
1477
+ } & {
1478
+ "/person-documents/:id": {
1479
+ $patch: {
1480
+ input: {
1481
+ param: {
1482
+ id: string;
1483
+ };
1484
+ };
1485
+ output: {
1486
+ error: string;
1487
+ };
1488
+ outputFormat: "json";
1489
+ status: 404;
1490
+ } | {
1491
+ input: {
1492
+ param: {
1493
+ id: string;
1494
+ };
1495
+ };
1496
+ output: {
1497
+ data: {
1498
+ id: string;
1499
+ personId: string;
1500
+ type: "passport" | "visa" | "other" | "id_card" | "driver_license";
1501
+ numberEncrypted: {
1502
+ enc: string;
1503
+ } | null;
1504
+ issuingAuthority: string | null;
1505
+ issuingCountry: string | null;
1506
+ issueDate: string | null;
1507
+ expiryDate: string | null;
1508
+ attachmentId: string | null;
1509
+ isPrimary: boolean;
1510
+ notes: string | null;
1511
+ metadata: {
1512
+ [x: string]: import("hono/utils/types").JSONValue;
1513
+ } | null;
1514
+ createdAt: string;
1515
+ updatedAt: string;
1516
+ };
1517
+ };
1518
+ outputFormat: "json";
1519
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1520
+ };
1521
+ };
1522
+ } & {
1523
+ "/person-documents/:id": {
1524
+ $delete: {
1525
+ input: {
1526
+ param: {
1527
+ id: string;
1528
+ };
1529
+ };
1530
+ output: {
1531
+ error: string;
1532
+ };
1533
+ outputFormat: "json";
1534
+ status: 404;
1535
+ } | {
1536
+ input: {
1537
+ param: {
1538
+ id: string;
1539
+ };
1540
+ };
1541
+ output: {
1542
+ success: true;
1543
+ };
1544
+ outputFormat: "json";
1545
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1546
+ };
1547
+ };
1548
+ } & {
1549
+ "/person-documents/:id/set-primary": {
1550
+ $post: {
1551
+ input: {
1552
+ param: {
1553
+ id: string;
1554
+ };
1555
+ };
1556
+ output: {
1557
+ error: string;
1558
+ };
1559
+ outputFormat: "json";
1560
+ status: 404;
1561
+ } | {
1562
+ input: {
1563
+ param: {
1564
+ id: string;
1565
+ };
1566
+ };
1567
+ output: {
1568
+ data: {
1569
+ id: string;
1570
+ personId: string;
1571
+ type: "passport" | "visa" | "other" | "id_card" | "driver_license";
1572
+ numberEncrypted: {
1573
+ enc: string;
1574
+ } | null;
1575
+ issuingAuthority: string | null;
1576
+ issuingCountry: string | null;
1577
+ issueDate: string | null;
1578
+ expiryDate: string | null;
1579
+ attachmentId: string | null;
1580
+ isPrimary: boolean;
1581
+ notes: string | null;
1582
+ metadata: {
1583
+ [x: string]: import("hono/utils/types").JSONValue;
1584
+ } | null;
1585
+ createdAt: string;
1586
+ updatedAt: string;
1587
+ };
1588
+ };
1589
+ outputFormat: "json";
1590
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1591
+ };
1592
+ };
1593
+ } & {
1594
+ "/people/:id/travel-snapshot": {
1595
+ $get: {
1596
+ input: {
1597
+ param: {
1598
+ id: string;
1599
+ };
1600
+ };
1601
+ output: {
1602
+ error: string;
1603
+ };
1604
+ outputFormat: "json";
1605
+ status: 503;
1606
+ } | {
1607
+ input: {
1608
+ param: {
1609
+ id: string;
1610
+ };
1611
+ };
1612
+ output: {
1613
+ error: string;
1614
+ };
1615
+ outputFormat: "json";
1616
+ status: 404;
1617
+ } | {
1618
+ input: {
1619
+ param: {
1620
+ id: string;
1621
+ };
1622
+ };
1623
+ output: {
1624
+ data: {
1625
+ dateOfBirth: string | null;
1626
+ dietaryRequirements: string | null;
1627
+ accessibilityNeeds: string | null;
1628
+ passportNumber: string | null;
1629
+ passportExpiry: string | null;
1630
+ passportIssuingCountry: string | null;
1631
+ passportIssuingAuthority: string | null;
1632
+ passportPersonDocumentId: string | null;
1633
+ };
1634
+ };
1635
+ outputFormat: "json";
1636
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1637
+ };
1638
+ };
1639
+ } & {
1640
+ "/people/:id/profile-pii": {
1641
+ $patch: {
1642
+ input: {
1643
+ param: {
1644
+ id: string;
1645
+ };
1646
+ };
1647
+ output: {
1648
+ error: string;
1649
+ };
1650
+ outputFormat: "json";
1651
+ status: 503;
1652
+ } | {
1653
+ input: {
1654
+ param: {
1655
+ id: string;
1656
+ };
1657
+ };
1658
+ output: {
1659
+ error: string;
1660
+ };
1661
+ outputFormat: "json";
1662
+ status: 400;
1663
+ } | {
1664
+ input: {
1665
+ param: {
1666
+ id: string;
1667
+ };
1668
+ };
1669
+ output: {
1670
+ error: string;
1671
+ };
1672
+ outputFormat: "json";
1673
+ status: 404;
1674
+ } | {
1675
+ input: {
1676
+ param: {
1677
+ id: string;
1678
+ };
1679
+ };
1680
+ output: {
1681
+ success: true;
1682
+ };
1683
+ outputFormat: "json";
1684
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1685
+ };
1686
+ };
1687
+ } & {
1688
+ "/people/:id/documents/from-plaintext": {
1689
+ $post: {
1690
+ input: {
1691
+ param: {
1692
+ id: string;
1693
+ };
1694
+ };
1695
+ output: {
1696
+ error: string;
1697
+ };
1698
+ outputFormat: "json";
1699
+ status: 503;
1700
+ } | {
1701
+ input: {
1702
+ param: {
1703
+ id: string;
1704
+ };
1705
+ };
1706
+ output: {
1707
+ error: string;
1708
+ };
1709
+ outputFormat: "json";
1710
+ status: 404;
1711
+ } | {
1712
+ input: {
1713
+ param: {
1714
+ id: string;
1715
+ };
1716
+ };
1717
+ output: {
1718
+ data: {
1719
+ metadata: {
1720
+ [x: string]: import("hono/utils/types").JSONValue;
1721
+ } | null;
1722
+ id: string;
1723
+ createdAt: string;
1724
+ updatedAt: string;
1725
+ type: "passport" | "visa" | "other" | "id_card" | "driver_license";
1726
+ issuingAuthority: string | null;
1727
+ issuingCountry: string | null;
1728
+ expiryDate: string | null;
1729
+ issueDate: string | null;
1730
+ notes: string | null;
1731
+ isPrimary: boolean;
1732
+ personId: string;
1733
+ numberEncrypted: {
1734
+ enc: string;
1735
+ } | null;
1736
+ attachmentId: string | null;
1737
+ };
1738
+ };
1739
+ outputFormat: "json";
1740
+ status: 201;
1741
+ };
1742
+ };
1743
+ } & {
1744
+ "/person-documents/:id/from-plaintext": {
1745
+ $patch: {
1746
+ input: {
1747
+ param: {
1748
+ id: string;
1749
+ };
1750
+ };
1751
+ output: {
1752
+ error: string;
1753
+ };
1754
+ outputFormat: "json";
1755
+ status: 503;
1756
+ } | {
1757
+ input: {
1758
+ param: {
1759
+ id: string;
1760
+ };
1761
+ };
1762
+ output: {
1763
+ error: string;
1764
+ };
1765
+ outputFormat: "json";
1766
+ status: 404;
1767
+ } | {
1768
+ input: {
1769
+ param: {
1770
+ id: string;
1771
+ };
1772
+ };
1773
+ output: {
1774
+ data: {
1775
+ id: string;
1776
+ personId: string;
1777
+ type: "passport" | "visa" | "other" | "id_card" | "driver_license";
1778
+ numberEncrypted: {
1779
+ enc: string;
1780
+ } | null;
1781
+ issuingAuthority: string | null;
1782
+ issuingCountry: string | null;
1783
+ issueDate: string | null;
1784
+ expiryDate: string | null;
1785
+ attachmentId: string | null;
1786
+ isPrimary: boolean;
1787
+ notes: string | null;
1788
+ metadata: {
1789
+ [x: string]: import("hono/utils/types").JSONValue;
1790
+ } | null;
1791
+ createdAt: string;
1792
+ updatedAt: string;
1793
+ };
1794
+ };
1795
+ outputFormat: "json";
1796
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1797
+ };
1798
+ };
1305
1799
  }, "/"> | import("hono/types").MergeSchemaPath<{
1306
1800
  "/pipelines": {
1307
1801
  $get: {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAOU,CAAA;AAEhC,MAAM,MAAM,SAAS,GAAG,OAAO,SAAS,CAAA"}
@@ -3,10 +3,12 @@ import { accountRoutes } from "./accounts.js";
3
3
  import { activityRoutes } from "./activities.js";
4
4
  import { customFieldRoutes } from "./custom-fields.js";
5
5
  import { opportunityRoutes } from "./opportunities.js";
6
+ import { personDocumentRoutes } from "./person-documents.js";
6
7
  import { pipelineRoutes } from "./pipelines.js";
7
8
  import { quoteRoutes } from "./quotes.js";
8
9
  export const crmRoutes = new Hono()
9
10
  .route("/", accountRoutes)
11
+ .route("/", personDocumentRoutes)
10
12
  .route("/", pipelineRoutes)
11
13
  .route("/", opportunityRoutes)
12
14
  .route("/", quoteRoutes)