@homespot-sdk/core 0.0.339 → 0.0.341

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.
@@ -177,6 +177,108 @@ export declare const UpdateEmailRequestSchema: {
177
177
  };
178
178
  readonly required: readonly ["email"];
179
179
  };
180
+ export declare const CommentBodyRequestSchema: {
181
+ readonly type: "object";
182
+ readonly properties: {
183
+ readonly body: {
184
+ readonly type: "string";
185
+ readonly maxLength: 4000;
186
+ readonly minLength: 0;
187
+ };
188
+ };
189
+ readonly required: readonly ["body"];
190
+ };
191
+ export declare const SetTaskValueRequestSchema: {
192
+ readonly type: "object";
193
+ readonly properties: {
194
+ readonly value: {
195
+ readonly type: "number";
196
+ };
197
+ };
198
+ };
199
+ export declare const TransferTaskRequestSchema: {
200
+ readonly type: "object";
201
+ readonly properties: {
202
+ readonly targetBoardId: {
203
+ readonly type: "string";
204
+ readonly format: "uuid";
205
+ };
206
+ readonly targetStageId: {
207
+ readonly type: "string";
208
+ readonly format: "uuid";
209
+ };
210
+ };
211
+ readonly required: readonly ["targetBoardId", "targetStageId"];
212
+ };
213
+ export declare const RenameTaskRequestSchema: {
214
+ readonly type: "object";
215
+ readonly properties: {
216
+ readonly title: {
217
+ readonly type: "string";
218
+ };
219
+ };
220
+ readonly required: readonly ["title"];
221
+ };
222
+ export declare const MoveTaskRequestSchema: {
223
+ readonly type: "object";
224
+ readonly properties: {
225
+ readonly targetStageId: {
226
+ readonly type: "string";
227
+ readonly format: "uuid";
228
+ };
229
+ };
230
+ readonly required: readonly ["targetStageId"];
231
+ };
232
+ export declare const MarkTaskLostRequestSchema: {
233
+ readonly type: "object";
234
+ readonly properties: {
235
+ readonly reason: {
236
+ readonly type: "string";
237
+ readonly enum: readonly ["NOT_WORKING_WITH_AGENTS", "NOT_RESPONDING", "ALREADY_SOLD", "COULD_NOT_NEGOTIATE_PRICE", "CHOSE_ANOTHER_AGENCY", "CHANGED_PLANS", "OUT_OF_BUDGET", "SPAM", "OTHER"];
238
+ };
239
+ };
240
+ readonly required: readonly ["reason"];
241
+ };
242
+ export declare const SetExpectedCloseDateRequestSchema: {
243
+ readonly type: "object";
244
+ readonly properties: {
245
+ readonly expectedCloseDate: {
246
+ readonly type: "string";
247
+ readonly format: "date";
248
+ };
249
+ };
250
+ };
251
+ export declare const DescribeTaskRequestSchema: {
252
+ readonly type: "object";
253
+ readonly properties: {
254
+ readonly description: {
255
+ readonly type: "string";
256
+ };
257
+ };
258
+ };
259
+ export declare const SetTaskCommissionRequestSchema: {
260
+ readonly type: "object";
261
+ readonly properties: {
262
+ readonly type: {
263
+ readonly type: "string";
264
+ readonly enum: readonly ["NOT_SET", "FIXED", "PERCENTAGE", "MONTHS_OF_RENT"];
265
+ };
266
+ readonly value: {
267
+ readonly type: "number";
268
+ readonly description: "Amount for FIXED, fraction (0,1] for PERCENTAGE, factor for MONTHS_OF_RENT";
269
+ };
270
+ };
271
+ readonly required: readonly ["type"];
272
+ };
273
+ export declare const RenameTodoRequestSchema: {
274
+ readonly type: "object";
275
+ readonly properties: {
276
+ readonly title: {
277
+ readonly type: "string";
278
+ };
279
+ };
280
+ readonly required: readonly ["title"];
281
+ };
180
282
  export declare const RolesRequestSchema: {
181
283
  readonly type: "object";
182
284
  readonly properties: {
@@ -192,7 +294,7 @@ export declare const RolesRequestSchema: {
192
294
  readonly type: "array";
193
295
  readonly items: {
194
296
  readonly type: "string";
195
- readonly enum: readonly ["MANAGE_AGENCY", "MANAGE_ROLE", "MANAGE_MEMBER", "CREATE_DELETE_MEMBER", "CREATE_CONTACT", "DELETE_CONTACT", "MANAGE_CONTACT", "MANAGE_ANY_CONTACT", "ASSIGN_CONTACT"];
297
+ readonly enum: readonly ["MANAGE_AGENCY", "MANAGE_ROLE", "MANAGE_MEMBER", "CREATE_DELETE_MEMBER", "CREATE_CONTACT", "DELETE_CONTACT", "MANAGE_CONTACT", "MANAGE_ANY_CONTACT", "ASSIGN_CONTACT", "MANAGE_BOARD", "MANAGE_DEAL", "DELETE_DEAL"];
196
298
  };
197
299
  };
198
300
  };
@@ -408,17 +510,6 @@ export declare const RecommendListingRequestSchema: {
408
510
  };
409
511
  readonly required: readonly ["externalListingId", "externalPropertyId"];
410
512
  };
411
- export declare const CommentBodyRequestSchema: {
412
- readonly type: "object";
413
- readonly properties: {
414
- readonly body: {
415
- readonly type: "string";
416
- readonly maxLength: 4000;
417
- readonly minLength: 0;
418
- };
419
- };
420
- readonly required: readonly ["body"];
421
- };
422
513
  export declare const PhoneRequestSchema: {
423
514
  readonly type: "object";
424
515
  readonly properties: {
@@ -482,58 +573,100 @@ export declare const UpdateContactDetailsRequestSchema: {
482
573
  readonly nullifyFavoriteContactMethod: {
483
574
  readonly type: "boolean";
484
575
  };
485
- readonly status: {
576
+ };
577
+ };
578
+ export declare const ReassignMemberRequestSchema: {
579
+ readonly type: "object";
580
+ readonly properties: {
581
+ readonly memberId: {
486
582
  readonly type: "string";
487
- readonly enum: readonly ["NEW", "ON_HOLD", "COLD", "WARM", "HOT", "WAITING_PAYMENT", "LOST", "WON"];
583
+ readonly format: "uuid";
488
584
  };
489
- readonly priority: {
490
- readonly type: "string";
491
- readonly enum: readonly ["CRITICAL", "HIGH", "MEDIUM", "LOW"];
585
+ };
586
+ readonly required: readonly ["memberId"];
587
+ };
588
+ export declare const ContactMergeRequestSchema: {
589
+ readonly type: "object";
590
+ readonly properties: {
591
+ readonly survivorContactId: {
592
+ readonly type: "integer";
593
+ readonly format: "int64";
594
+ };
595
+ readonly loserContactId: {
596
+ readonly type: "integer";
597
+ readonly format: "int64";
492
598
  };
493
599
  };
600
+ readonly required: readonly ["loserContactId", "survivorContactId"];
494
601
  };
495
- export declare const ReopenRequestSchema: {
602
+ export declare const RenameRequestSchema: {
496
603
  readonly type: "object";
497
604
  readonly properties: {
498
- readonly status: {
605
+ readonly name: {
499
606
  readonly type: "string";
500
- readonly enum: readonly ["NEW", "ON_HOLD", "COLD", "WARM", "HOT", "WAITING_PAYMENT", "LOST", "WON"];
501
607
  };
502
608
  };
609
+ readonly required: readonly ["name"];
503
610
  };
504
- export declare const RecordLostContactRequestSchema: {
611
+ export declare const ReorderTodoTemplatesRequestSchema: {
505
612
  readonly type: "object";
506
613
  readonly properties: {
507
- readonly reason: {
614
+ readonly templateIds: {
615
+ readonly type: "array";
616
+ readonly items: {
617
+ readonly type: "string";
618
+ readonly format: "uuid";
619
+ };
620
+ };
621
+ };
622
+ readonly required: readonly ["templateIds"];
623
+ };
624
+ export declare const RecolorStageRequestSchema: {
625
+ readonly type: "object";
626
+ readonly properties: {
627
+ readonly color: {
508
628
  readonly type: "string";
509
- readonly enum: readonly ["NOT_WORKING_WITH_AGENTS", "NOT_RESPONDING", "ALREADY_SOLD", "COULD_NOT_NEGOTIATE_PRICE", "CHOSE_ANOTHER_AGENCY", "CHANGED_PLANS", "OUT_OF_BUDGET", "SPAM", "OTHER"];
629
+ readonly example: "#4F46E5";
510
630
  };
511
631
  };
512
- readonly required: readonly ["reason"];
632
+ readonly required: readonly ["color"];
513
633
  };
514
- export declare const ReassignMemberRequestSchema: {
634
+ export declare const DeactivateStageRequestSchema: {
515
635
  readonly type: "object";
516
636
  readonly properties: {
517
- readonly memberId: {
637
+ readonly migrateToStageId: {
518
638
  readonly type: "string";
519
639
  readonly format: "uuid";
520
640
  };
521
641
  };
522
- readonly required: readonly ["memberId"];
523
642
  };
524
- export declare const ContactMergeRequestSchema: {
643
+ export declare const ReorderStagesRequestSchema: {
525
644
  readonly type: "object";
526
645
  readonly properties: {
527
- readonly survivorContactId: {
528
- readonly type: "integer";
529
- readonly format: "int64";
646
+ readonly stageIds: {
647
+ readonly type: "array";
648
+ readonly items: {
649
+ readonly type: "string";
650
+ readonly format: "uuid";
651
+ };
530
652
  };
531
- readonly loserContactId: {
532
- readonly type: "integer";
533
- readonly format: "int64";
653
+ };
654
+ readonly required: readonly ["stageIds"];
655
+ };
656
+ export declare const SetTaskSettingsRequestSchema: {
657
+ readonly type: "object";
658
+ readonly properties: {
659
+ readonly defaultBoardId: {
660
+ readonly type: "string";
661
+ readonly format: "uuid";
662
+ };
663
+ readonly defaultStageId: {
664
+ readonly type: "string";
665
+ readonly format: "uuid";
666
+ readonly description: "Active stage of the default board; null = entry stage at use time";
534
667
  };
535
668
  };
536
- readonly required: readonly ["loserContactId", "survivorContactId"];
669
+ readonly required: readonly ["defaultBoardId"];
537
670
  };
538
671
  export declare const AddressRequestSchema: {
539
672
  readonly type: "object";
@@ -705,6 +838,101 @@ export declare const DepositFundsRequestSchema: {
705
838
  };
706
839
  readonly required: readonly ["amount"];
707
840
  };
841
+ export declare const ConnectLinkResponseSchema: {
842
+ readonly type: "object";
843
+ readonly properties: {
844
+ readonly link: {
845
+ readonly type: "string";
846
+ };
847
+ readonly expiresAt: {
848
+ readonly type: "string";
849
+ readonly format: "date-time";
850
+ };
851
+ };
852
+ };
853
+ export declare const IdResponseUUIDSchema: {
854
+ readonly type: "object";
855
+ readonly properties: {
856
+ readonly id: {
857
+ readonly type: "string";
858
+ readonly format: "uuid";
859
+ };
860
+ };
861
+ readonly required: readonly ["id"];
862
+ };
863
+ export declare const OpenTaskRequestSchema: {
864
+ readonly type: "object";
865
+ readonly properties: {
866
+ readonly boardId: {
867
+ readonly type: "string";
868
+ readonly format: "uuid";
869
+ };
870
+ readonly stageId: {
871
+ readonly type: "string";
872
+ readonly format: "uuid";
873
+ readonly description: "Target stage; defaults to the board's entry stage";
874
+ };
875
+ readonly title: {
876
+ readonly type: "string";
877
+ };
878
+ readonly contactIds: {
879
+ readonly type: "array";
880
+ readonly items: {
881
+ readonly type: "integer";
882
+ readonly format: "int64";
883
+ };
884
+ readonly maxItems: 20;
885
+ readonly minItems: 0;
886
+ };
887
+ readonly ownerId: {
888
+ readonly type: "string";
889
+ readonly format: "uuid";
890
+ readonly description: "Defaults to the acting member";
891
+ };
892
+ };
893
+ readonly required: readonly ["boardId", "title"];
894
+ };
895
+ export declare const LinkPropertyRequestSchema: {
896
+ readonly type: "object";
897
+ readonly properties: {
898
+ readonly contactId: {
899
+ readonly type: "integer";
900
+ readonly format: "int64";
901
+ };
902
+ readonly propertyId: {
903
+ readonly type: "integer";
904
+ readonly format: "int64";
905
+ };
906
+ };
907
+ readonly required: readonly ["contactId", "propertyId"];
908
+ };
909
+ export declare const LinkInterestRequestSchema: {
910
+ readonly type: "object";
911
+ readonly properties: {
912
+ readonly contactId: {
913
+ readonly type: "integer";
914
+ readonly format: "int64";
915
+ };
916
+ readonly interestId: {
917
+ readonly type: "integer";
918
+ readonly format: "int64";
919
+ };
920
+ };
921
+ readonly required: readonly ["contactId", "interestId"];
922
+ };
923
+ export declare const CreateAdHocTodoRequestSchema: {
924
+ readonly type: "object";
925
+ readonly properties: {
926
+ readonly taskId: {
927
+ readonly type: "string";
928
+ readonly format: "uuid";
929
+ };
930
+ readonly title: {
931
+ readonly type: "string";
932
+ };
933
+ };
934
+ readonly required: readonly ["taskId", "title"];
935
+ };
708
936
  export declare const SubscribeRequestSchema: {
709
937
  readonly type: "object";
710
938
  readonly properties: {
@@ -1060,7 +1288,7 @@ export declare const AgencyPrincipalDtoSchema: {
1060
1288
  readonly type: "array";
1061
1289
  readonly items: {
1062
1290
  readonly type: "string";
1063
- readonly enum: readonly ["MANAGE_AGENCY", "MANAGE_ROLE", "MANAGE_MEMBER", "CREATE_DELETE_MEMBER", "CREATE_CONTACT", "DELETE_CONTACT", "MANAGE_CONTACT", "MANAGE_ANY_CONTACT", "ASSIGN_CONTACT"];
1291
+ readonly enum: readonly ["MANAGE_AGENCY", "MANAGE_ROLE", "MANAGE_MEMBER", "CREATE_DELETE_MEMBER", "CREATE_CONTACT", "DELETE_CONTACT", "MANAGE_CONTACT", "MANAGE_ANY_CONTACT", "ASSIGN_CONTACT", "MANAGE_BOARD", "MANAGE_DEAL", "DELETE_DEAL"];
1064
1292
  };
1065
1293
  readonly uniqueItems: true;
1066
1294
  };
@@ -1113,16 +1341,6 @@ export declare const ProblemDetailSchema: {
1113
1341
  };
1114
1342
  };
1115
1343
  };
1116
- export declare const IdResponseUUIDSchema: {
1117
- readonly type: "object";
1118
- readonly properties: {
1119
- readonly id: {
1120
- readonly type: "string";
1121
- readonly format: "uuid";
1122
- };
1123
- };
1124
- readonly required: readonly ["id"];
1125
- };
1126
1344
  export declare const AddDealRequestSchema: {
1127
1345
  readonly discriminator: {
1128
1346
  readonly propertyName: "type";
@@ -1294,10 +1512,6 @@ export declare const OnboardClientRequestSchema: {
1294
1512
  readonly type: "string";
1295
1513
  readonly enum: readonly ["WHATSAPP", "VIBER", "PHONE_CALL"];
1296
1514
  };
1297
- readonly priority: {
1298
- readonly type: "string";
1299
- readonly enum: readonly ["CRITICAL", "HIGH", "MEDIUM", "LOW"];
1300
- };
1301
1515
  };
1302
1516
  readonly required: readonly ["contactInfo", "contactMethods", "phoneNumber"];
1303
1517
  };
@@ -1342,172 +1556,1091 @@ export declare const ExternalListingBoostRequestSchema: {
1342
1556
  };
1343
1557
  readonly numberOfDays: {
1344
1558
  readonly type: "integer";
1345
- readonly format: "int32";
1559
+ readonly format: "int32";
1560
+ };
1561
+ };
1562
+ readonly required: readonly ["listingId", "numberOfDays", "platform", "tier"];
1563
+ };
1564
+ export declare const OnboardFromSourceRequestSchema: {
1565
+ readonly type: "object";
1566
+ readonly properties: {
1567
+ readonly sourceLink: {
1568
+ readonly type: "string";
1569
+ };
1570
+ readonly phone: {
1571
+ readonly type: "string";
1572
+ readonly minLength: 1;
1573
+ };
1574
+ };
1575
+ readonly required: readonly ["phone", "sourceLink"];
1576
+ };
1577
+ export declare const CreateBoardRequestSchema: {
1578
+ readonly type: "object";
1579
+ readonly properties: {
1580
+ readonly kind: {
1581
+ readonly type: "string";
1582
+ readonly enum: readonly ["OWNER", "SEEKER"];
1583
+ };
1584
+ readonly name: {
1585
+ readonly type: "string";
1586
+ };
1587
+ readonly stages: {
1588
+ readonly type: "array";
1589
+ readonly items: {
1590
+ readonly $ref: "#/components/schemas/StageSpecRequest";
1591
+ };
1592
+ readonly maxItems: 30;
1593
+ readonly minItems: 0;
1594
+ };
1595
+ };
1596
+ readonly required: readonly ["name"];
1597
+ };
1598
+ export declare const StageSpecRequestSchema: {
1599
+ readonly type: "object";
1600
+ readonly properties: {
1601
+ readonly name: {
1602
+ readonly type: "string";
1603
+ };
1604
+ readonly color: {
1605
+ readonly type: "string";
1606
+ readonly example: "#4F46E5";
1607
+ };
1608
+ };
1609
+ readonly required: readonly ["color", "name"];
1610
+ };
1611
+ export declare const AddStageRequestSchema: {
1612
+ readonly type: "object";
1613
+ readonly properties: {
1614
+ readonly name: {
1615
+ readonly type: "string";
1616
+ };
1617
+ readonly color: {
1618
+ readonly type: "string";
1619
+ readonly example: "#4F46E5";
1620
+ };
1621
+ };
1622
+ readonly required: readonly ["color", "name"];
1623
+ };
1624
+ export declare const AddTodoTemplateRequestSchema: {
1625
+ readonly type: "object";
1626
+ readonly properties: {
1627
+ readonly title: {
1628
+ readonly type: "string";
1629
+ };
1630
+ readonly applyToTasksInStage: {
1631
+ readonly type: "boolean";
1632
+ readonly description: "Also spawn this template onto the open tasks currently in the stage";
1633
+ };
1634
+ };
1635
+ readonly required: readonly ["applyToTasksInStage", "title"];
1636
+ };
1637
+ export declare const ProvisionAgencyRequestSchema: {
1638
+ readonly type: "object";
1639
+ readonly properties: {
1640
+ readonly ownerUserId: {
1641
+ readonly type: "string";
1642
+ readonly description: "The customer's existing user account id";
1643
+ };
1644
+ readonly name: {
1645
+ readonly type: "string";
1646
+ };
1647
+ readonly email: {
1648
+ readonly type: "string";
1649
+ readonly format: "email";
1650
+ };
1651
+ readonly phone: {
1652
+ readonly type: "string";
1653
+ };
1654
+ readonly subdomain: {
1655
+ readonly type: "string";
1656
+ };
1657
+ readonly address: {
1658
+ readonly $ref: "#/components/schemas/SubscriptionAddressRequest";
1659
+ };
1660
+ readonly plan: {
1661
+ readonly type: "string";
1662
+ readonly enum: readonly ["STARTER", "PRO", "ENTERPRISE"];
1663
+ };
1664
+ readonly billingCycle: {
1665
+ readonly type: "string";
1666
+ readonly enum: readonly ["MONTHLY", "ANNUAL"];
1667
+ };
1668
+ readonly priceMinorUnits: {
1669
+ readonly type: "integer";
1670
+ readonly format: "int64";
1671
+ readonly description: "Exact per-cycle charge in minor units (tetri)";
1672
+ };
1673
+ readonly seats: {
1674
+ readonly type: "integer";
1675
+ readonly format: "int32";
1676
+ };
1677
+ readonly monthlyContactLimit: {
1678
+ readonly type: "integer";
1679
+ readonly format: "int32";
1680
+ readonly description: "Contacts the agency may create per calendar month";
1681
+ };
1682
+ readonly trialDays: {
1683
+ readonly type: "integer";
1684
+ readonly format: "int32";
1685
+ readonly description: "Free-trial days; 0 charges immediately";
1686
+ };
1687
+ };
1688
+ readonly required: readonly ["address", "billingCycle", "email", "monthlyContactLimit", "name", "ownerUserId", "phone", "plan", "priceMinorUnits", "seats", "subdomain", "trialDays"];
1689
+ };
1690
+ export declare const AdminProvisionResponseSchema: {
1691
+ readonly type: "object";
1692
+ readonly properties: {
1693
+ readonly checkoutUrl: {
1694
+ readonly type: "string";
1695
+ };
1696
+ readonly agencyId: {
1697
+ readonly type: "string";
1698
+ readonly format: "uuid";
1699
+ };
1700
+ readonly subscriptionId: {
1701
+ readonly type: "string";
1702
+ readonly format: "uuid";
1703
+ };
1704
+ };
1705
+ };
1706
+ export declare const OrganizationSummaryViewResponseSchema: {
1707
+ readonly type: "object";
1708
+ readonly properties: {
1709
+ readonly agencyId: {
1710
+ readonly type: "string";
1711
+ readonly format: "uuid";
1712
+ };
1713
+ readonly isOwner: {
1714
+ readonly type: "boolean";
1715
+ };
1716
+ readonly agencyName: {
1717
+ readonly type: "string";
1718
+ };
1719
+ readonly subdomain: {
1720
+ readonly type: "string";
1721
+ };
1722
+ readonly roleId: {
1723
+ readonly type: "integer";
1724
+ readonly format: "int32";
1725
+ };
1726
+ readonly memberId: {
1727
+ readonly type: "string";
1728
+ readonly format: "uuid";
1729
+ };
1730
+ readonly profilePictureUrl: {
1731
+ readonly type: "string";
1732
+ };
1733
+ readonly roleName: {
1734
+ readonly type: "string";
1735
+ };
1736
+ readonly permissions: {
1737
+ readonly type: "array";
1738
+ readonly items: {
1739
+ readonly type: "string";
1740
+ readonly enum: readonly ["MANAGE_AGENCY", "MANAGE_ROLE", "MANAGE_MEMBER", "CREATE_DELETE_MEMBER", "CREATE_CONTACT", "DELETE_CONTACT", "MANAGE_CONTACT", "MANAGE_ANY_CONTACT", "ASSIGN_CONTACT", "MANAGE_BOARD", "MANAGE_DEAL", "DELETE_DEAL"];
1741
+ };
1742
+ };
1743
+ readonly status: {
1744
+ readonly type: "string";
1745
+ readonly enum: readonly ["NEW", "ACTIVE", "PAYMENT_FAILED", "INACTIVE", "SUSPENDED"];
1746
+ };
1747
+ readonly phone: {
1748
+ readonly type: "string";
1749
+ };
1750
+ readonly isPhoneVerified: {
1751
+ readonly type: "boolean";
1752
+ };
1753
+ };
1754
+ readonly required: readonly ["agencyId", "agencyName", "isOwner", "isPhoneVerified", "memberId", "permissions", "phone", "roleName", "status", "subdomain"];
1755
+ };
1756
+ export declare const UserContextViewResponseSchema: {
1757
+ readonly type: "object";
1758
+ readonly properties: {
1759
+ readonly user: {
1760
+ readonly $ref: "#/components/schemas/UserSummaryViewResponse";
1761
+ };
1762
+ readonly organizations: {
1763
+ readonly type: "array";
1764
+ readonly items: {
1765
+ readonly $ref: "#/components/schemas/OrganizationSummaryViewResponse";
1766
+ };
1767
+ };
1768
+ };
1769
+ readonly required: readonly ["organizations", "user"];
1770
+ };
1771
+ export declare const UserSummaryViewResponseSchema: {
1772
+ readonly type: "object";
1773
+ readonly properties: {
1774
+ readonly email: {
1775
+ readonly type: "string";
1776
+ };
1777
+ readonly firstName: {
1778
+ readonly type: "string";
1779
+ };
1780
+ readonly lastName: {
1781
+ readonly type: "string";
1782
+ };
1783
+ };
1784
+ readonly required: readonly ["email", "firstName", "lastName"];
1785
+ };
1786
+ export declare const CommentViewSchema: {
1787
+ readonly type: "object";
1788
+ readonly properties: {
1789
+ readonly id: {
1790
+ readonly type: "string";
1791
+ readonly format: "uuid";
1792
+ };
1793
+ readonly contactId: {
1794
+ readonly type: "integer";
1795
+ readonly format: "int64";
1796
+ };
1797
+ readonly taskId: {
1798
+ readonly type: "string";
1799
+ readonly format: "uuid";
1800
+ };
1801
+ readonly authorId: {
1802
+ readonly type: "string";
1803
+ readonly format: "uuid";
1804
+ };
1805
+ readonly authorFirstName: {
1806
+ readonly type: "string";
1807
+ };
1808
+ readonly authorLastName: {
1809
+ readonly type: "string";
1810
+ };
1811
+ readonly profilePictureUrl: {
1812
+ readonly type: "string";
1813
+ };
1814
+ readonly body: {
1815
+ readonly type: "string";
1816
+ };
1817
+ readonly createdAt: {
1818
+ readonly type: "string";
1819
+ readonly format: "date-time";
1820
+ };
1821
+ readonly editedAt: {
1822
+ readonly type: "string";
1823
+ readonly format: "date-time";
1824
+ };
1825
+ };
1826
+ readonly required: readonly ["authorFirstName", "authorId", "authorLastName", "body", "createdAt", "id"];
1827
+ };
1828
+ export declare const CursorPageCommentViewSchema: {
1829
+ readonly type: "object";
1830
+ readonly properties: {
1831
+ readonly items: {
1832
+ readonly type: "array";
1833
+ readonly items: {
1834
+ readonly $ref: "#/components/schemas/CommentView";
1835
+ };
1836
+ };
1837
+ readonly nextCursor: {
1838
+ readonly type: "string";
1839
+ };
1840
+ readonly hasNext: {
1841
+ readonly type: "boolean";
1842
+ };
1843
+ };
1844
+ };
1845
+ export declare const ContactLinkSchema: {
1846
+ readonly type: "object";
1847
+ readonly properties: {
1848
+ readonly contactId: {
1849
+ readonly type: "integer";
1850
+ readonly format: "int64";
1851
+ };
1852
+ readonly primary: {
1853
+ readonly type: "boolean";
1854
+ };
1855
+ readonly personalDetails: {
1856
+ readonly oneOf: readonly [{
1857
+ readonly $ref: "#/components/schemas/ContactPersonalDetailsRestricted";
1858
+ }, {
1859
+ readonly $ref: "#/components/schemas/ContactPersonalDetailsVisible";
1860
+ }];
1861
+ };
1862
+ readonly contactAssignedTo: {
1863
+ readonly type: "string";
1864
+ readonly format: "uuid";
1865
+ };
1866
+ };
1867
+ readonly required: readonly ["contactId", "personalDetails", "primary"];
1868
+ };
1869
+ export declare const ContactPersonalDetailsSchema: {
1870
+ readonly discriminator: {
1871
+ readonly propertyName: "status";
1872
+ readonly mapping: {
1873
+ readonly VISIBLE: "#/components/schemas/ContactPersonalDetailsVisible";
1874
+ readonly RESTRICTED: "#/components/schemas/ContactPersonalDetailsRestricted";
1875
+ };
1876
+ };
1877
+ readonly required: readonly ["status"];
1878
+ };
1879
+ export declare const ContactPersonalDetailsRestrictedSchema: {
1880
+ readonly properties: {
1881
+ readonly requires: {
1882
+ readonly type: "array";
1883
+ readonly items: {
1884
+ readonly type: "string";
1885
+ readonly enum: readonly ["MANAGE_AGENCY", "MANAGE_ROLE", "MANAGE_MEMBER", "CREATE_DELETE_MEMBER", "CREATE_CONTACT", "DELETE_CONTACT", "MANAGE_CONTACT", "MANAGE_ANY_CONTACT", "ASSIGN_CONTACT", "MANAGE_BOARD", "MANAGE_DEAL", "DELETE_DEAL"];
1886
+ };
1887
+ readonly uniqueItems: true;
1888
+ };
1889
+ readonly status: {
1890
+ readonly type: "string";
1891
+ readonly enum: readonly ["RESTRICTED"];
1892
+ };
1893
+ };
1894
+ readonly required: readonly ["status"];
1895
+ };
1896
+ export declare const ContactPersonalDetailsVisibleSchema: {
1897
+ readonly properties: {
1898
+ readonly phoneNumber: {
1899
+ readonly type: "string";
1900
+ };
1901
+ readonly fullName: {
1902
+ readonly type: "string";
1903
+ };
1904
+ readonly email: {
1905
+ readonly type: "string";
1906
+ };
1907
+ readonly status: {
1908
+ readonly type: "string";
1909
+ readonly enum: readonly ["VISIBLE"];
1910
+ };
1911
+ };
1912
+ readonly required: readonly ["status"];
1913
+ };
1914
+ export declare const InterestLinkSchema: {
1915
+ readonly type: "object";
1916
+ readonly properties: {
1917
+ readonly interestId: {
1918
+ readonly type: "integer";
1919
+ readonly format: "int64";
1920
+ };
1921
+ readonly contactId: {
1922
+ readonly type: "integer";
1923
+ readonly format: "int64";
1924
+ };
1925
+ readonly title: {
1926
+ readonly type: "string";
1927
+ };
1928
+ };
1929
+ readonly required: readonly ["contactId", "interestId"];
1930
+ };
1931
+ export declare const ParticipantSchema: {
1932
+ readonly type: "object";
1933
+ readonly properties: {
1934
+ readonly memberId: {
1935
+ readonly type: "string";
1936
+ readonly format: "uuid";
1937
+ };
1938
+ readonly firstName: {
1939
+ readonly type: "string";
1940
+ };
1941
+ readonly lastName: {
1942
+ readonly type: "string";
1943
+ };
1944
+ readonly photo: {
1945
+ readonly type: "string";
1946
+ };
1947
+ readonly owner: {
1948
+ readonly type: "boolean";
1949
+ };
1950
+ };
1951
+ readonly required: readonly ["memberId", "owner"];
1952
+ };
1953
+ export declare const PropertyLinkSchema: {
1954
+ readonly type: "object";
1955
+ readonly properties: {
1956
+ readonly propertyId: {
1957
+ readonly type: "integer";
1958
+ readonly format: "int64";
1959
+ };
1960
+ readonly contactId: {
1961
+ readonly type: "integer";
1962
+ readonly format: "int64";
1963
+ };
1964
+ readonly title: {
1965
+ readonly type: "string";
1966
+ };
1967
+ };
1968
+ readonly required: readonly ["contactId", "propertyId"];
1969
+ };
1970
+ export declare const TaskDetailResponseSchema: {
1971
+ readonly type: "object";
1972
+ readonly properties: {
1973
+ readonly taskId: {
1974
+ readonly type: "string";
1975
+ readonly format: "uuid";
1976
+ };
1977
+ readonly boardId: {
1978
+ readonly type: "string";
1979
+ readonly format: "uuid";
1980
+ };
1981
+ readonly boardName: {
1982
+ readonly type: "string";
1983
+ };
1984
+ readonly stageId: {
1985
+ readonly type: "string";
1986
+ readonly format: "uuid";
1987
+ };
1988
+ readonly stageName: {
1989
+ readonly type: "string";
1990
+ };
1991
+ readonly stageColor: {
1992
+ readonly type: "string";
1993
+ };
1994
+ readonly stageEnteredAt: {
1995
+ readonly type: "string";
1996
+ readonly format: "date-time";
1997
+ };
1998
+ readonly title: {
1999
+ readonly type: "string";
2000
+ };
2001
+ readonly description: {
2002
+ readonly type: "string";
2003
+ };
2004
+ readonly value: {
2005
+ readonly type: "number";
2006
+ };
2007
+ readonly commissionType: {
2008
+ readonly type: "string";
2009
+ readonly enum: readonly ["NOT_SET", "FIXED", "PERCENTAGE", "MONTHS_OF_RENT"];
2010
+ };
2011
+ readonly commissionValue: {
2012
+ readonly type: "number";
2013
+ };
2014
+ readonly expectedCloseDate: {
2015
+ readonly type: "string";
2016
+ readonly format: "date";
2017
+ };
2018
+ readonly ownerId: {
2019
+ readonly type: "string";
2020
+ readonly format: "uuid";
2021
+ };
2022
+ readonly outcome: {
2023
+ readonly type: "string";
2024
+ readonly enum: readonly ["WON", "LOST"];
2025
+ };
2026
+ readonly lostReason: {
2027
+ readonly type: "string";
2028
+ readonly enum: readonly ["NOT_WORKING_WITH_AGENTS", "NOT_RESPONDING", "ALREADY_SOLD", "COULD_NOT_NEGOTIATE_PRICE", "CHOSE_ANOTHER_AGENCY", "CHANGED_PLANS", "OUT_OF_BUDGET", "SPAM", "OTHER"];
2029
+ };
2030
+ readonly closedAt: {
2031
+ readonly type: "string";
2032
+ readonly format: "date-time";
2033
+ };
2034
+ readonly createdBy: {
2035
+ readonly type: "string";
2036
+ readonly format: "uuid";
2037
+ };
2038
+ readonly createdAt: {
2039
+ readonly type: "string";
2040
+ readonly format: "date-time";
2041
+ };
2042
+ readonly contacts: {
2043
+ readonly type: "array";
2044
+ readonly items: {
2045
+ readonly $ref: "#/components/schemas/ContactLink";
2046
+ };
2047
+ };
2048
+ readonly participants: {
2049
+ readonly type: "array";
2050
+ readonly items: {
2051
+ readonly $ref: "#/components/schemas/Participant";
2052
+ };
2053
+ };
2054
+ readonly interests: {
2055
+ readonly type: "array";
2056
+ readonly items: {
2057
+ readonly $ref: "#/components/schemas/InterestLink";
2058
+ };
2059
+ };
2060
+ readonly properties: {
2061
+ readonly type: "array";
2062
+ readonly items: {
2063
+ readonly $ref: "#/components/schemas/PropertyLink";
2064
+ };
2065
+ };
2066
+ readonly todoGroups: {
2067
+ readonly type: "array";
2068
+ readonly items: {
2069
+ readonly $ref: "#/components/schemas/TodoGroup";
2070
+ };
2071
+ };
2072
+ readonly timeline: {
2073
+ readonly type: "array";
2074
+ readonly items: {
2075
+ readonly $ref: "#/components/schemas/TimelineEntry";
2076
+ };
2077
+ };
2078
+ };
2079
+ readonly required: readonly ["boardId", "boardName", "commissionType", "contacts", "createdAt", "interests", "participants", "properties", "stageColor", "stageEnteredAt", "stageId", "stageName", "taskId", "timeline", "title", "todoGroups"];
2080
+ };
2081
+ export declare const TimelineEntrySchema: {
2082
+ readonly type: "object";
2083
+ readonly properties: {
2084
+ readonly fromStageId: {
2085
+ readonly type: "string";
2086
+ readonly format: "uuid";
2087
+ };
2088
+ readonly fromStageName: {
2089
+ readonly type: "string";
2090
+ };
2091
+ readonly toStageId: {
2092
+ readonly type: "string";
2093
+ readonly format: "uuid";
2094
+ };
2095
+ readonly toStageName: {
2096
+ readonly type: "string";
2097
+ };
2098
+ readonly boardChanged: {
2099
+ readonly type: "boolean";
2100
+ };
2101
+ readonly outcome: {
2102
+ readonly type: "string";
2103
+ readonly enum: readonly ["WON", "LOST"];
2104
+ };
2105
+ readonly movedBy: {
2106
+ readonly type: "string";
2107
+ readonly format: "uuid";
2108
+ };
2109
+ readonly occurredAt: {
2110
+ readonly type: "string";
2111
+ readonly format: "date-time";
2112
+ };
2113
+ };
2114
+ readonly required: readonly ["boardChanged", "occurredAt"];
2115
+ };
2116
+ export declare const TodoGroupSchema: {
2117
+ readonly type: "object";
2118
+ readonly properties: {
2119
+ readonly kind: {
2120
+ readonly type: "string";
2121
+ readonly enum: readonly ["CURRENT_STAGE", "LEFTOVER", "AD_HOC"];
2122
+ };
2123
+ readonly stageId: {
2124
+ readonly type: "string";
2125
+ readonly format: "uuid";
2126
+ };
2127
+ readonly stageName: {
2128
+ readonly type: "string";
2129
+ };
2130
+ readonly todos: {
2131
+ readonly type: "array";
2132
+ readonly items: {
2133
+ readonly $ref: "#/components/schemas/TodoItem";
2134
+ };
2135
+ };
2136
+ };
2137
+ readonly required: readonly ["kind", "todos"];
2138
+ };
2139
+ export declare const TodoItemSchema: {
2140
+ readonly type: "object";
2141
+ readonly properties: {
2142
+ readonly todoId: {
2143
+ readonly type: "string";
2144
+ readonly format: "uuid";
2145
+ };
2146
+ readonly title: {
2147
+ readonly type: "string";
2148
+ };
2149
+ readonly position: {
2150
+ readonly type: "integer";
2151
+ readonly format: "int32";
2152
+ };
2153
+ readonly fromTemplate: {
2154
+ readonly type: "boolean";
2155
+ };
2156
+ readonly completedAt: {
2157
+ readonly type: "string";
2158
+ readonly format: "date-time";
2159
+ };
2160
+ readonly completedBy: {
2161
+ readonly type: "string";
2162
+ readonly format: "uuid";
2163
+ };
2164
+ };
2165
+ readonly required: readonly ["fromTemplate", "position", "title", "todoId"];
2166
+ };
2167
+ export declare const ContactTaskResponseSchema: {
2168
+ readonly type: "object";
2169
+ readonly properties: {
2170
+ readonly taskId: {
2171
+ readonly type: "string";
2172
+ readonly format: "uuid";
2173
+ };
2174
+ readonly title: {
2175
+ readonly type: "string";
2176
+ };
2177
+ readonly boardId: {
2178
+ readonly type: "string";
2179
+ readonly format: "uuid";
2180
+ };
2181
+ readonly boardName: {
2182
+ readonly type: "string";
2183
+ };
2184
+ readonly stageId: {
2185
+ readonly type: "string";
2186
+ readonly format: "uuid";
2187
+ };
2188
+ readonly stageName: {
2189
+ readonly type: "string";
2190
+ };
2191
+ readonly outcome: {
2192
+ readonly type: "string";
2193
+ readonly enum: readonly ["WON", "LOST"];
2194
+ };
2195
+ readonly value: {
2196
+ readonly type: "number";
2197
+ };
2198
+ readonly primary: {
2199
+ readonly type: "boolean";
2200
+ };
2201
+ };
2202
+ readonly required: readonly ["boardId", "boardName", "primary", "stageId", "stageName", "taskId", "title"];
2203
+ };
2204
+ export declare const BoardGridResponseSchema: {
2205
+ readonly type: "object";
2206
+ readonly properties: {
2207
+ readonly boardId: {
2208
+ readonly type: "string";
2209
+ readonly format: "uuid";
2210
+ };
2211
+ readonly name: {
2212
+ readonly type: "string";
2213
+ };
2214
+ readonly kind: {
2215
+ readonly type: "string";
2216
+ readonly enum: readonly ["OWNER", "SEEKER"];
2217
+ };
2218
+ readonly archived: {
2219
+ readonly type: "boolean";
2220
+ };
2221
+ readonly columns: {
2222
+ readonly type: "array";
2223
+ readonly items: {
2224
+ readonly $ref: "#/components/schemas/Column";
2225
+ };
2226
+ };
2227
+ };
2228
+ readonly required: readonly ["archived", "boardId", "columns", "name"];
2229
+ };
2230
+ export declare const CardSchema: {
2231
+ readonly type: "object";
2232
+ readonly properties: {
2233
+ readonly taskId: {
2234
+ readonly type: "string";
2235
+ readonly format: "uuid";
2236
+ };
2237
+ readonly title: {
2238
+ readonly type: "string";
2239
+ };
2240
+ readonly value: {
2241
+ readonly type: "number";
2242
+ };
2243
+ readonly ownerId: {
2244
+ readonly type: "string";
2245
+ readonly format: "uuid";
2246
+ };
2247
+ readonly primaryContactId: {
2248
+ readonly type: "integer";
2249
+ readonly format: "int64";
2250
+ };
2251
+ readonly primaryContact: {
2252
+ readonly oneOf: readonly [{
2253
+ readonly $ref: "#/components/schemas/ContactPersonalDetailsRestricted";
2254
+ }, {
2255
+ readonly $ref: "#/components/schemas/ContactPersonalDetailsVisible";
2256
+ }];
2257
+ };
2258
+ readonly contactAssignedTo: {
2259
+ readonly type: "string";
2260
+ readonly format: "uuid";
2261
+ };
2262
+ readonly stageEnteredAt: {
2263
+ readonly type: "string";
2264
+ readonly format: "date-time";
2265
+ };
2266
+ readonly daysInStage: {
2267
+ readonly type: "integer";
2268
+ readonly format: "int64";
2269
+ };
2270
+ readonly openTodos: {
2271
+ readonly type: "integer";
2272
+ readonly format: "int64";
2273
+ };
2274
+ readonly totalTodos: {
2275
+ readonly type: "integer";
2276
+ readonly format: "int64";
2277
+ };
2278
+ readonly hasLeftoverOpenTodos: {
2279
+ readonly type: "boolean";
2280
+ };
2281
+ };
2282
+ readonly required: readonly ["daysInStage", "hasLeftoverOpenTodos", "openTodos", "stageEnteredAt", "taskId", "title", "totalTodos"];
2283
+ };
2284
+ export declare const ColumnSchema: {
2285
+ readonly type: "object";
2286
+ readonly properties: {
2287
+ readonly stageId: {
2288
+ readonly type: "string";
2289
+ readonly format: "uuid";
2290
+ };
2291
+ readonly name: {
2292
+ readonly type: "string";
2293
+ };
2294
+ readonly color: {
2295
+ readonly type: "string";
2296
+ };
2297
+ readonly position: {
2298
+ readonly type: "integer";
2299
+ readonly format: "int32";
2300
+ };
2301
+ readonly totalTasks: {
2302
+ readonly type: "integer";
2303
+ readonly format: "int64";
2304
+ };
2305
+ readonly totalValue: {
2306
+ readonly type: "number";
2307
+ };
2308
+ readonly cards: {
2309
+ readonly $ref: "#/components/schemas/CursorPageCard";
2310
+ };
2311
+ };
2312
+ readonly required: readonly ["cards", "color", "name", "position", "stageId", "totalTasks", "totalValue"];
2313
+ };
2314
+ export declare const CursorPageCardSchema: {
2315
+ readonly type: "object";
2316
+ readonly properties: {
2317
+ readonly items: {
2318
+ readonly type: "array";
2319
+ readonly items: {
2320
+ readonly $ref: "#/components/schemas/Card";
2321
+ };
2322
+ };
2323
+ readonly nextCursor: {
2324
+ readonly type: "string";
2325
+ };
2326
+ readonly hasNext: {
2327
+ readonly type: "boolean";
2328
+ };
2329
+ };
2330
+ };
2331
+ export declare const ClosedTaskResponseSchema: {
2332
+ readonly type: "object";
2333
+ readonly properties: {
2334
+ readonly taskId: {
2335
+ readonly type: "string";
2336
+ readonly format: "uuid";
2337
+ };
2338
+ readonly title: {
2339
+ readonly type: "string";
2340
+ };
2341
+ readonly value: {
2342
+ readonly type: "number";
2343
+ };
2344
+ readonly ownerId: {
2345
+ readonly type: "string";
2346
+ readonly format: "uuid";
2347
+ };
2348
+ readonly primaryContactId: {
2349
+ readonly type: "integer";
2350
+ readonly format: "int64";
2351
+ };
2352
+ readonly primaryContact: {
2353
+ readonly oneOf: readonly [{
2354
+ readonly $ref: "#/components/schemas/ContactPersonalDetailsRestricted";
2355
+ }, {
2356
+ readonly $ref: "#/components/schemas/ContactPersonalDetailsVisible";
2357
+ }];
2358
+ };
2359
+ readonly contactAssignedTo: {
2360
+ readonly type: "string";
2361
+ readonly format: "uuid";
2362
+ };
2363
+ readonly outcome: {
2364
+ readonly type: "string";
2365
+ readonly enum: readonly ["WON", "LOST"];
2366
+ };
2367
+ readonly lostReason: {
2368
+ readonly type: "string";
2369
+ readonly enum: readonly ["NOT_WORKING_WITH_AGENTS", "NOT_RESPONDING", "ALREADY_SOLD", "COULD_NOT_NEGOTIATE_PRICE", "CHOSE_ANOTHER_AGENCY", "CHANGED_PLANS", "OUT_OF_BUDGET", "SPAM", "OTHER"];
2370
+ };
2371
+ readonly closedAt: {
2372
+ readonly type: "string";
2373
+ readonly format: "date-time";
2374
+ };
2375
+ readonly stageName: {
2376
+ readonly type: "string";
2377
+ readonly description: "Stage the task closed from";
2378
+ };
2379
+ };
2380
+ readonly required: readonly ["closedAt", "outcome", "stageName", "taskId", "title"];
2381
+ };
2382
+ export declare const PageMetadataSchema: {
2383
+ readonly type: "object";
2384
+ readonly properties: {
2385
+ readonly size: {
2386
+ readonly type: "integer";
2387
+ readonly format: "int64";
2388
+ };
2389
+ readonly number: {
2390
+ readonly type: "integer";
2391
+ readonly format: "int64";
2392
+ };
2393
+ readonly totalElements: {
2394
+ readonly type: "integer";
2395
+ readonly format: "int64";
2396
+ };
2397
+ readonly totalPages: {
2398
+ readonly type: "integer";
2399
+ readonly format: "int64";
2400
+ };
2401
+ };
2402
+ };
2403
+ export declare const PagedModelClosedTaskResponseSchema: {
2404
+ readonly type: "object";
2405
+ readonly properties: {
2406
+ readonly content: {
2407
+ readonly type: "array";
2408
+ readonly items: {
2409
+ readonly $ref: "#/components/schemas/ClosedTaskResponse";
2410
+ };
2411
+ };
2412
+ readonly page: {
2413
+ readonly $ref: "#/components/schemas/PageMetadata";
2414
+ };
2415
+ };
2416
+ };
2417
+ export declare const BoardWinRateSchema: {
2418
+ readonly type: "object";
2419
+ readonly properties: {
2420
+ readonly boardId: {
2421
+ readonly type: "string";
2422
+ readonly format: "uuid";
2423
+ };
2424
+ readonly name: {
2425
+ readonly type: "string";
2426
+ };
2427
+ readonly won: {
2428
+ readonly type: "integer";
2429
+ readonly format: "int64";
2430
+ };
2431
+ readonly lost: {
2432
+ readonly type: "integer";
2433
+ readonly format: "int64";
2434
+ };
2435
+ readonly winRatePct: {
2436
+ readonly type: "number";
2437
+ readonly format: "double";
2438
+ };
2439
+ };
2440
+ readonly required: readonly ["boardId", "lost", "name", "winRatePct", "won"];
2441
+ };
2442
+ export declare const MemberWinRateSchema: {
2443
+ readonly type: "object";
2444
+ readonly properties: {
2445
+ readonly memberId: {
2446
+ readonly type: "string";
2447
+ readonly format: "uuid";
2448
+ };
2449
+ readonly won: {
2450
+ readonly type: "integer";
2451
+ readonly format: "int64";
2452
+ };
2453
+ readonly lost: {
2454
+ readonly type: "integer";
2455
+ readonly format: "int64";
2456
+ };
2457
+ readonly winRatePct: {
2458
+ readonly type: "number";
2459
+ readonly format: "double";
1346
2460
  };
1347
2461
  };
1348
- readonly required: readonly ["listingId", "numberOfDays", "platform", "tier"];
2462
+ readonly required: readonly ["lost", "memberId", "winRatePct", "won"];
1349
2463
  };
1350
- export declare const OnboardFromSourceRequestSchema: {
2464
+ export declare const StatsEnvelopeWinRateStatsSchema: {
1351
2465
  readonly type: "object";
1352
2466
  readonly properties: {
1353
- readonly sourceLink: {
2467
+ readonly period: {
1354
2468
  readonly type: "string";
1355
2469
  };
1356
- readonly phone: {
2470
+ readonly computedAt: {
1357
2471
  readonly type: "string";
1358
- readonly minLength: 1;
2472
+ readonly format: "date-time";
2473
+ };
2474
+ readonly data: {
2475
+ readonly $ref: "#/components/schemas/WinRateStats";
1359
2476
  };
1360
2477
  };
1361
- readonly required: readonly ["phone", "sourceLink"];
2478
+ readonly required: readonly ["computedAt", "data", "period"];
1362
2479
  };
1363
- export declare const ProvisionAgencyRequestSchema: {
2480
+ export declare const WinRateStatsSchema: {
1364
2481
  readonly type: "object";
1365
2482
  readonly properties: {
1366
- readonly ownerUserId: {
1367
- readonly type: "string";
1368
- readonly description: "The customer's existing user account id";
2483
+ readonly won: {
2484
+ readonly type: "integer";
2485
+ readonly format: "int64";
1369
2486
  };
1370
- readonly name: {
1371
- readonly type: "string";
2487
+ readonly lost: {
2488
+ readonly type: "integer";
2489
+ readonly format: "int64";
1372
2490
  };
1373
- readonly email: {
1374
- readonly type: "string";
1375
- readonly format: "email";
2491
+ readonly winRatePct: {
2492
+ readonly type: "number";
2493
+ readonly format: "double";
1376
2494
  };
1377
- readonly phone: {
1378
- readonly type: "string";
2495
+ readonly boards: {
2496
+ readonly type: "array";
2497
+ readonly items: {
2498
+ readonly $ref: "#/components/schemas/BoardWinRate";
2499
+ };
1379
2500
  };
1380
- readonly subdomain: {
1381
- readonly type: "string";
2501
+ readonly members: {
2502
+ readonly type: "array";
2503
+ readonly items: {
2504
+ readonly $ref: "#/components/schemas/MemberWinRate";
2505
+ };
1382
2506
  };
1383
- readonly address: {
1384
- readonly $ref: "#/components/schemas/SubscriptionAddressRequest";
2507
+ };
2508
+ readonly required: readonly ["boards", "lost", "members", "winRatePct", "won"];
2509
+ };
2510
+ export declare const StageVelocitySchema: {
2511
+ readonly type: "object";
2512
+ readonly properties: {
2513
+ readonly boardId: {
2514
+ readonly type: "string";
2515
+ readonly format: "uuid";
1385
2516
  };
1386
- readonly plan: {
2517
+ readonly boardName: {
1387
2518
  readonly type: "string";
1388
- readonly enum: readonly ["STARTER", "PRO", "ENTERPRISE"];
1389
2519
  };
1390
- readonly billingCycle: {
2520
+ readonly stageId: {
1391
2521
  readonly type: "string";
1392
- readonly enum: readonly ["MONTHLY", "ANNUAL"];
2522
+ readonly format: "uuid";
1393
2523
  };
1394
- readonly priceMinorUnits: {
1395
- readonly type: "integer";
1396
- readonly format: "int64";
1397
- readonly description: "Exact per-cycle charge in minor units (tetri)";
2524
+ readonly stageName: {
2525
+ readonly type: "string";
1398
2526
  };
1399
- readonly seats: {
2527
+ readonly position: {
1400
2528
  readonly type: "integer";
1401
2529
  readonly format: "int32";
1402
2530
  };
1403
- readonly monthlyContactLimit: {
1404
- readonly type: "integer";
1405
- readonly format: "int32";
1406
- readonly description: "Contacts the agency may create per calendar month";
2531
+ readonly avgDaysInStage: {
2532
+ readonly type: "number";
2533
+ readonly format: "double";
1407
2534
  };
1408
- readonly trialDays: {
2535
+ readonly samples: {
1409
2536
  readonly type: "integer";
1410
- readonly format: "int32";
1411
- readonly description: "Free-trial days; 0 charges immediately";
2537
+ readonly format: "int64";
2538
+ readonly description: "Completed stays measured";
1412
2539
  };
1413
2540
  };
1414
- readonly required: readonly ["address", "billingCycle", "email", "monthlyContactLimit", "name", "ownerUserId", "phone", "plan", "priceMinorUnits", "seats", "subdomain", "trialDays"];
2541
+ readonly required: readonly ["avgDaysInStage", "boardId", "boardName", "position", "samples", "stageId", "stageName"];
1415
2542
  };
1416
- export declare const AdminProvisionResponseSchema: {
2543
+ export declare const StatsEnvelopeTaskVelocityStatsSchema: {
1417
2544
  readonly type: "object";
1418
2545
  readonly properties: {
1419
- readonly checkoutUrl: {
2546
+ readonly period: {
1420
2547
  readonly type: "string";
1421
2548
  };
1422
- readonly agencyId: {
2549
+ readonly computedAt: {
1423
2550
  readonly type: "string";
1424
- readonly format: "uuid";
2551
+ readonly format: "date-time";
1425
2552
  };
1426
- readonly subscriptionId: {
1427
- readonly type: "string";
1428
- readonly format: "uuid";
2553
+ readonly data: {
2554
+ readonly $ref: "#/components/schemas/TaskVelocityStats";
1429
2555
  };
1430
2556
  };
2557
+ readonly required: readonly ["computedAt", "data", "period"];
1431
2558
  };
1432
- export declare const OrganizationSummaryViewResponseSchema: {
2559
+ export declare const TaskVelocityStatsSchema: {
1433
2560
  readonly type: "object";
1434
2561
  readonly properties: {
1435
- readonly agencyId: {
1436
- readonly type: "string";
1437
- readonly format: "uuid";
1438
- };
1439
- readonly isOwner: {
1440
- readonly type: "boolean";
1441
- };
1442
- readonly agencyName: {
1443
- readonly type: "string";
1444
- };
1445
- readonly subdomain: {
1446
- readonly type: "string";
1447
- };
1448
- readonly roleId: {
1449
- readonly type: "integer";
1450
- readonly format: "int32";
2562
+ readonly stages: {
2563
+ readonly type: "array";
2564
+ readonly items: {
2565
+ readonly $ref: "#/components/schemas/StageVelocity";
2566
+ };
1451
2567
  };
1452
- readonly memberId: {
2568
+ };
2569
+ readonly required: readonly ["stages"];
2570
+ };
2571
+ export declare const BoardFunnelSchema: {
2572
+ readonly type: "object";
2573
+ readonly properties: {
2574
+ readonly boardId: {
1453
2575
  readonly type: "string";
1454
2576
  readonly format: "uuid";
1455
2577
  };
1456
- readonly profilePictureUrl: {
2578
+ readonly name: {
1457
2579
  readonly type: "string";
1458
2580
  };
1459
- readonly roleName: {
2581
+ readonly kind: {
1460
2582
  readonly type: "string";
1461
2583
  };
1462
- readonly permissions: {
2584
+ readonly stages: {
1463
2585
  readonly type: "array";
1464
2586
  readonly items: {
1465
- readonly type: "string";
1466
- readonly enum: readonly ["MANAGE_AGENCY", "MANAGE_ROLE", "MANAGE_MEMBER", "CREATE_DELETE_MEMBER", "CREATE_CONTACT", "DELETE_CONTACT", "MANAGE_CONTACT", "MANAGE_ANY_CONTACT", "ASSIGN_CONTACT"];
2587
+ readonly $ref: "#/components/schemas/StageSlice";
1467
2588
  };
1468
2589
  };
1469
- readonly status: {
2590
+ };
2591
+ readonly required: readonly ["boardId", "name", "stages"];
2592
+ };
2593
+ export declare const StageSliceSchema: {
2594
+ readonly type: "object";
2595
+ readonly properties: {
2596
+ readonly stageId: {
1470
2597
  readonly type: "string";
1471
- readonly enum: readonly ["NEW", "ACTIVE", "PAYMENT_FAILED", "INACTIVE", "SUSPENDED"];
2598
+ readonly format: "uuid";
1472
2599
  };
1473
- readonly phone: {
2600
+ readonly name: {
1474
2601
  readonly type: "string";
1475
2602
  };
1476
- readonly isPhoneVerified: {
1477
- readonly type: "boolean";
2603
+ readonly position: {
2604
+ readonly type: "integer";
2605
+ readonly format: "int32";
1478
2606
  };
1479
- };
1480
- readonly required: readonly ["agencyId", "agencyName", "isOwner", "isPhoneVerified", "memberId", "permissions", "phone", "roleName", "status", "subdomain"];
1481
- };
1482
- export declare const UserContextViewResponseSchema: {
1483
- readonly type: "object";
1484
- readonly properties: {
1485
- readonly user: {
1486
- readonly $ref: "#/components/schemas/UserSummaryViewResponse";
2607
+ readonly openTasks: {
2608
+ readonly type: "integer";
2609
+ readonly format: "int64";
1487
2610
  };
1488
- readonly organizations: {
1489
- readonly type: "array";
1490
- readonly items: {
1491
- readonly $ref: "#/components/schemas/OrganizationSummaryViewResponse";
1492
- };
2611
+ readonly openValue: {
2612
+ readonly type: "number";
1493
2613
  };
1494
2614
  };
1495
- readonly required: readonly ["organizations", "user"];
2615
+ readonly required: readonly ["name", "openTasks", "openValue", "position", "stageId"];
1496
2616
  };
1497
- export declare const UserSummaryViewResponseSchema: {
2617
+ export declare const StatsEnvelopeTaskFunnelStatsSchema: {
1498
2618
  readonly type: "object";
1499
2619
  readonly properties: {
1500
- readonly email: {
2620
+ readonly period: {
1501
2621
  readonly type: "string";
1502
2622
  };
1503
- readonly firstName: {
2623
+ readonly computedAt: {
1504
2624
  readonly type: "string";
2625
+ readonly format: "date-time";
1505
2626
  };
1506
- readonly lastName: {
1507
- readonly type: "string";
2627
+ readonly data: {
2628
+ readonly $ref: "#/components/schemas/TaskFunnelStats";
1508
2629
  };
1509
2630
  };
1510
- readonly required: readonly ["email", "firstName", "lastName"];
2631
+ readonly required: readonly ["computedAt", "data", "period"];
2632
+ };
2633
+ export declare const TaskFunnelStatsSchema: {
2634
+ readonly type: "object";
2635
+ readonly properties: {
2636
+ readonly boards: {
2637
+ readonly type: "array";
2638
+ readonly items: {
2639
+ readonly $ref: "#/components/schemas/BoardFunnel";
2640
+ };
2641
+ };
2642
+ };
2643
+ readonly required: readonly ["boards"];
1511
2644
  };
1512
2645
  export declare const DealTypePriceSchema: {
1513
2646
  readonly type: "object";
@@ -1747,14 +2880,6 @@ export declare const PipelineStatsSchema: {
1747
2880
  readonly type: "integer";
1748
2881
  readonly format: "int64";
1749
2882
  };
1750
- readonly won: {
1751
- readonly type: "integer";
1752
- readonly format: "int64";
1753
- };
1754
- readonly conversionRatePercent: {
1755
- readonly type: "number";
1756
- readonly format: "double";
1757
- };
1758
2883
  readonly unassigned: {
1759
2884
  readonly type: "integer";
1760
2885
  readonly format: "int64";
@@ -1765,26 +2890,14 @@ export declare const PipelineStatsSchema: {
1765
2890
  readonly $ref: "#/components/schemas/TrendPoint";
1766
2891
  };
1767
2892
  };
1768
- readonly status: {
1769
- readonly type: "array";
1770
- readonly items: {
1771
- readonly $ref: "#/components/schemas/Slice";
1772
- };
1773
- };
1774
2893
  readonly sourceAttribution: {
1775
2894
  readonly type: "array";
1776
2895
  readonly items: {
1777
2896
  readonly $ref: "#/components/schemas/Slice";
1778
2897
  };
1779
2898
  };
1780
- readonly lostReasons: {
1781
- readonly type: "array";
1782
- readonly items: {
1783
- readonly $ref: "#/components/schemas/Slice";
1784
- };
1785
- };
1786
2899
  };
1787
- readonly required: readonly ["conversionRatePercent", "lostReasons", "newContactsTrend", "sourceAttribution", "status", "total", "unassigned", "won"];
2900
+ readonly required: readonly ["newContactsTrend", "sourceAttribution", "total", "unassigned"];
1788
2901
  };
1789
2902
  export declare const StatsEnvelopePipelineStatsSchema: {
1790
2903
  readonly type: "object";
@@ -1843,17 +2956,16 @@ export declare const RowSchema: {
1843
2956
  readonly photo: {
1844
2957
  readonly type: "string";
1845
2958
  };
1846
- readonly contactsAssigned: {
2959
+ readonly tasksWon: {
1847
2960
  readonly type: "integer";
1848
2961
  readonly format: "int64";
1849
2962
  };
1850
- readonly converted: {
1851
- readonly type: "integer";
1852
- readonly format: "int64";
2963
+ readonly wonValue: {
2964
+ readonly type: "number";
1853
2965
  };
1854
- readonly conversionRatePct: {
2966
+ readonly commission: {
1855
2967
  readonly type: "number";
1856
- readonly format: "double";
2968
+ readonly description: "Fixed amount, or rate/factor × task value (null-value tasks skipped)";
1857
2969
  };
1858
2970
  readonly recommendationsSent: {
1859
2971
  readonly type: "integer";
@@ -1868,7 +2980,7 @@ export declare const RowSchema: {
1868
2980
  readonly format: "double";
1869
2981
  };
1870
2982
  };
1871
- readonly required: readonly ["contactsAssigned", "conversionRatePct", "converted", "firstName", "lastName", "likeRatePct", "memberId", "photo", "recommendationsRated", "recommendationsSent"];
2983
+ readonly required: readonly ["commission", "firstName", "lastName", "likeRatePct", "memberId", "photo", "recommendationsRated", "recommendationsSent", "tasksWon", "wonValue"];
1872
2984
  };
1873
2985
  export declare const StatsEnvelopeLeaderboardStatsSchema: {
1874
2986
  readonly type: "object";
@@ -2046,27 +3158,6 @@ export declare const StatsEnvelopeDemandStatsSchema: {
2046
3158
  };
2047
3159
  readonly required: readonly ["computedAt", "data", "period"];
2048
3160
  };
2049
- export declare const PageMetadataSchema: {
2050
- readonly type: "object";
2051
- readonly properties: {
2052
- readonly size: {
2053
- readonly type: "integer";
2054
- readonly format: "int64";
2055
- };
2056
- readonly number: {
2057
- readonly type: "integer";
2058
- readonly format: "int64";
2059
- };
2060
- readonly totalElements: {
2061
- readonly type: "integer";
2062
- readonly format: "int64";
2063
- };
2064
- readonly totalPages: {
2065
- readonly type: "integer";
2066
- readonly format: "int64";
2067
- };
2068
- };
2069
- };
2070
3161
  export declare const PagedModelRoleResponseSchema: {
2071
3162
  readonly type: "object";
2072
3163
  readonly properties: {
@@ -2104,7 +3195,7 @@ export declare const RoleResponseSchema: {
2104
3195
  readonly type: "array";
2105
3196
  readonly items: {
2106
3197
  readonly type: "string";
2107
- readonly enum: readonly ["MANAGE_AGENCY", "MANAGE_ROLE", "MANAGE_MEMBER", "CREATE_DELETE_MEMBER", "CREATE_CONTACT", "DELETE_CONTACT", "MANAGE_CONTACT", "MANAGE_ANY_CONTACT", "ASSIGN_CONTACT"];
3198
+ readonly enum: readonly ["MANAGE_AGENCY", "MANAGE_ROLE", "MANAGE_MEMBER", "CREATE_DELETE_MEMBER", "CREATE_CONTACT", "DELETE_CONTACT", "MANAGE_CONTACT", "MANAGE_ANY_CONTACT", "ASSIGN_CONTACT", "MANAGE_BOARD", "MANAGE_DEAL", "DELETE_DEAL"];
2108
3199
  };
2109
3200
  };
2110
3201
  };
@@ -2412,7 +3503,7 @@ export declare const GroupedPermissionsResponseSchema: {
2412
3503
  readonly properties: {
2413
3504
  readonly group: {
2414
3505
  readonly type: "string";
2415
- readonly enum: readonly ["AGENCY", "ROLE", "MEMBER", "CONTACT"];
3506
+ readonly enum: readonly ["AGENCY", "ROLE", "MEMBER", "CONTACT", "BOARD", "DEAL"];
2416
3507
  };
2417
3508
  readonly permissions: {
2418
3509
  readonly type: "array";
@@ -2428,7 +3519,7 @@ export declare const PermissionResponseSchema: {
2428
3519
  readonly properties: {
2429
3520
  readonly permission: {
2430
3521
  readonly type: "string";
2431
- readonly enum: readonly ["MANAGE_AGENCY", "MANAGE_ROLE", "MANAGE_MEMBER", "CREATE_DELETE_MEMBER", "CREATE_CONTACT", "DELETE_CONTACT", "MANAGE_CONTACT", "MANAGE_ANY_CONTACT", "ASSIGN_CONTACT"];
3522
+ readonly enum: readonly ["MANAGE_AGENCY", "MANAGE_ROLE", "MANAGE_MEMBER", "CREATE_DELETE_MEMBER", "CREATE_CONTACT", "DELETE_CONTACT", "MANAGE_CONTACT", "MANAGE_ANY_CONTACT", "ASSIGN_CONTACT", "MANAGE_BOARD", "MANAGE_DEAL", "DELETE_DEAL"];
2432
3523
  };
2433
3524
  };
2434
3525
  readonly required: readonly ["permission"];
@@ -2938,66 +4029,21 @@ export declare const PropertyPageResponseSchema: {
2938
4029
  readonly type: "array";
2939
4030
  readonly items: {
2940
4031
  readonly $ref: "#/components/schemas/PropertyListingResponse";
2941
- };
2942
- };
2943
- readonly createdAt: {
2944
- readonly type: "string";
2945
- readonly format: "date-time";
2946
- };
2947
- readonly updatedAt: {
2948
- readonly type: "string";
2949
- readonly format: "date-time";
2950
- };
2951
- readonly closeReason: {
2952
- readonly $ref: "#/components/schemas/PropertyCloseReasonResponse";
2953
- };
2954
- };
2955
- readonly required: readonly ["agreement", "createdAt", "listings", "propertyId", "publicId", "state", "type", "updatedAt"];
2956
- };
2957
- export declare const ContactPersonalDetailsSchema: {
2958
- readonly discriminator: {
2959
- readonly propertyName: "status";
2960
- readonly mapping: {
2961
- readonly VISIBLE: "#/components/schemas/ContactPersonalDetailsVisible";
2962
- readonly RESTRICTED: "#/components/schemas/ContactPersonalDetailsRestricted";
2963
- };
2964
- };
2965
- readonly required: readonly ["status"];
2966
- };
2967
- export declare const ContactPersonalDetailsRestrictedSchema: {
2968
- readonly properties: {
2969
- readonly requires: {
2970
- readonly type: "array";
2971
- readonly items: {
2972
- readonly type: "string";
2973
- readonly enum: readonly ["MANAGE_AGENCY", "MANAGE_ROLE", "MANAGE_MEMBER", "CREATE_DELETE_MEMBER", "CREATE_CONTACT", "DELETE_CONTACT", "MANAGE_CONTACT", "MANAGE_ANY_CONTACT", "ASSIGN_CONTACT"];
2974
- };
2975
- readonly uniqueItems: true;
2976
- };
2977
- readonly status: {
2978
- readonly type: "string";
2979
- readonly enum: readonly ["RESTRICTED"];
2980
- };
2981
- };
2982
- readonly required: readonly ["status"];
2983
- };
2984
- export declare const ContactPersonalDetailsVisibleSchema: {
2985
- readonly properties: {
2986
- readonly phoneNumber: {
2987
- readonly type: "string";
4032
+ };
2988
4033
  };
2989
- readonly fullName: {
4034
+ readonly createdAt: {
2990
4035
  readonly type: "string";
4036
+ readonly format: "date-time";
2991
4037
  };
2992
- readonly email: {
4038
+ readonly updatedAt: {
2993
4039
  readonly type: "string";
4040
+ readonly format: "date-time";
2994
4041
  };
2995
- readonly status: {
2996
- readonly type: "string";
2997
- readonly enum: readonly ["VISIBLE"];
4042
+ readonly closeReason: {
4043
+ readonly $ref: "#/components/schemas/PropertyCloseReasonResponse";
2998
4044
  };
2999
4045
  };
3000
- readonly required: readonly ["status"];
4046
+ readonly required: readonly ["agreement", "createdAt", "listings", "propertyId", "publicId", "state", "type", "updatedAt"];
3001
4047
  };
3002
4048
  export declare const ListingOwnerContactResponseSchema: {
3003
4049
  readonly type: "object";
@@ -3201,6 +4247,7 @@ export declare const NotificationContentSchema: {
3201
4247
  readonly propertyName: "kind";
3202
4248
  readonly mapping: {
3203
4249
  readonly AGENT_COMMENTED: "#/components/schemas/AgentCommented";
4250
+ readonly TASK_COMMENTED: "#/components/schemas/TaskCommented";
3204
4251
  readonly LISTING_EXPIRED: "#/components/schemas/ListingExpired";
3205
4252
  readonly NEW_SEEKER_RATING: "#/components/schemas/NewSeekerRating";
3206
4253
  readonly NEW_MESSAGE: "#/components/schemas/NewMessage";
@@ -3235,7 +4282,7 @@ export declare const NotificationViewSchema: {
3235
4282
  };
3236
4283
  readonly type: {
3237
4284
  readonly type: "string";
3238
- readonly enum: readonly ["AGENT_COMMENTED", "EXTERNAL_LISTING_EXPIRED", "LISTING_EXPIRED", "NEW_SEEKER_RATING", "NEW_MESSAGE", "CONTACT_ASSIGNED"];
4285
+ readonly enum: readonly ["AGENT_COMMENTED", "TASK_COMMENTED", "EXTERNAL_LISTING_EXPIRED", "LISTING_EXPIRED", "NEW_SEEKER_RATING", "NEW_MESSAGE", "CONTACT_ASSIGNED"];
3239
4286
  };
3240
4287
  readonly targetId: {
3241
4288
  readonly type: "string";
@@ -3251,6 +4298,8 @@ export declare const NotificationViewSchema: {
3251
4298
  readonly $ref: "#/components/schemas/NewMessage";
3252
4299
  }, {
3253
4300
  readonly $ref: "#/components/schemas/NewSeekerRating";
4301
+ }, {
4302
+ readonly $ref: "#/components/schemas/TaskCommented";
3254
4303
  }];
3255
4304
  };
3256
4305
  readonly createdAt: {
@@ -3272,6 +4321,39 @@ export declare const PropertyIdSchema: {
3272
4321
  };
3273
4322
  };
3274
4323
  };
4324
+ export declare const TaskCommentedSchema: {
4325
+ readonly properties: {
4326
+ readonly commentId: {
4327
+ readonly $ref: "#/components/schemas/CommentId";
4328
+ };
4329
+ readonly taskId: {
4330
+ readonly $ref: "#/components/schemas/TaskId";
4331
+ };
4332
+ readonly authorId: {
4333
+ readonly $ref: "#/components/schemas/MemberId";
4334
+ };
4335
+ readonly author: {
4336
+ readonly type: "string";
4337
+ };
4338
+ readonly commentSnippet: {
4339
+ readonly type: "string";
4340
+ };
4341
+ readonly kind: {
4342
+ readonly type: "string";
4343
+ readonly enum: readonly ["TASK_COMMENTED"];
4344
+ };
4345
+ };
4346
+ readonly required: readonly ["kind"];
4347
+ };
4348
+ export declare const TaskIdSchema: {
4349
+ readonly type: "object";
4350
+ readonly properties: {
4351
+ readonly value: {
4352
+ readonly type: "string";
4353
+ readonly format: "uuid";
4354
+ };
4355
+ };
4356
+ };
3275
4357
  export declare const UnreadCountSchema: {
3276
4358
  readonly type: "object";
3277
4359
  readonly properties: {
@@ -4085,61 +5167,6 @@ export declare const CursorPageMessageViewSchema: {
4085
5167
  };
4086
5168
  };
4087
5169
  };
4088
- export declare const CommentViewSchema: {
4089
- readonly type: "object";
4090
- readonly properties: {
4091
- readonly id: {
4092
- readonly type: "string";
4093
- readonly format: "uuid";
4094
- };
4095
- readonly contactId: {
4096
- readonly type: "integer";
4097
- readonly format: "int64";
4098
- };
4099
- readonly authorId: {
4100
- readonly type: "string";
4101
- readonly format: "uuid";
4102
- };
4103
- readonly authorFirstName: {
4104
- readonly type: "string";
4105
- };
4106
- readonly authorLastName: {
4107
- readonly type: "string";
4108
- };
4109
- readonly profilePictureUrl: {
4110
- readonly type: "string";
4111
- };
4112
- readonly body: {
4113
- readonly type: "string";
4114
- };
4115
- readonly createdAt: {
4116
- readonly type: "string";
4117
- readonly format: "date-time";
4118
- };
4119
- readonly editedAt: {
4120
- readonly type: "string";
4121
- readonly format: "date-time";
4122
- };
4123
- };
4124
- readonly required: readonly ["authorFirstName", "authorId", "authorLastName", "body", "contactId", "createdAt", "id"];
4125
- };
4126
- export declare const CursorPageCommentViewSchema: {
4127
- readonly type: "object";
4128
- readonly properties: {
4129
- readonly items: {
4130
- readonly type: "array";
4131
- readonly items: {
4132
- readonly $ref: "#/components/schemas/CommentView";
4133
- };
4134
- };
4135
- readonly nextCursor: {
4136
- readonly type: "string";
4137
- };
4138
- readonly hasNext: {
4139
- readonly type: "boolean";
4140
- };
4141
- };
4142
- };
4143
5170
  export declare const ContactGridResponseSchema: {
4144
5171
  readonly type: "object";
4145
5172
  readonly properties: {
@@ -4157,14 +5184,6 @@ export declare const ContactGridResponseSchema: {
4157
5184
  readonly title: {
4158
5185
  readonly type: "string";
4159
5186
  };
4160
- readonly status: {
4161
- readonly type: "string";
4162
- readonly enum: readonly ["NEW", "ON_HOLD", "COLD", "WARM", "HOT", "WAITING_PAYMENT", "LOST", "WON"];
4163
- };
4164
- readonly priority: {
4165
- readonly type: "string";
4166
- readonly enum: readonly ["CRITICAL", "HIGH", "MEDIUM", "LOW"];
4167
- };
4168
5187
  readonly personalDetails: {
4169
5188
  readonly oneOf: readonly [{
4170
5189
  readonly $ref: "#/components/schemas/ContactPersonalDetailsRestricted";
@@ -4198,7 +5217,7 @@ export declare const ContactGridResponseSchema: {
4198
5217
  readonly format: "date-time";
4199
5218
  };
4200
5219
  };
4201
- readonly required: readonly ["createdAt", "id", "isListing", "isSearching", "personalDetails", "status", "updatedAt"];
5220
+ readonly required: readonly ["createdAt", "id", "isListing", "isSearching", "personalDetails", "updatedAt"];
4202
5221
  };
4203
5222
  export declare const PagedModelContactGridResponseSchema: {
4204
5223
  readonly type: "object";
@@ -4276,14 +5295,6 @@ export declare const Client360ResponseSchema: {
4276
5295
  readonly isListing: {
4277
5296
  readonly type: "boolean";
4278
5297
  };
4279
- readonly priority: {
4280
- readonly type: "string";
4281
- readonly enum: readonly ["CRITICAL", "HIGH", "MEDIUM", "LOW"];
4282
- };
4283
- readonly status: {
4284
- readonly type: "string";
4285
- readonly enum: readonly ["NEW", "ON_HOLD", "COLD", "WARM", "HOT", "WAITING_PAYMENT", "LOST", "WON"];
4286
- };
4287
5298
  readonly createdAt: {
4288
5299
  readonly type: "string";
4289
5300
  readonly format: "date-time";
@@ -4304,8 +5315,14 @@ export declare const Client360ResponseSchema: {
4304
5315
  readonly $ref: "#/components/schemas/ContactPropertyResponse";
4305
5316
  };
4306
5317
  };
5318
+ readonly tasks: {
5319
+ readonly type: "array";
5320
+ readonly items: {
5321
+ readonly $ref: "#/components/schemas/ContactTaskResponse";
5322
+ };
5323
+ };
4307
5324
  };
4308
- readonly required: readonly ["agencyId", "contactId", "contactInfo", "createdAt", "createdBy", "interests", "isListing", "isSearching", "priority", "properties", "source", "status", "updatedAt"];
5325
+ readonly required: readonly ["agencyId", "contactId", "contactInfo", "createdAt", "createdBy", "interests", "isListing", "isSearching", "properties", "source", "tasks", "updatedAt"];
4309
5326
  };
4310
5327
  export declare const CommunicationPreferenceResponseSchema: {
4311
5328
  readonly type: "object";
@@ -4340,7 +5357,7 @@ export declare const ContactInfoRestrictedSchema: {
4340
5357
  readonly type: "array";
4341
5358
  readonly items: {
4342
5359
  readonly type: "string";
4343
- readonly enum: readonly ["MANAGE_AGENCY", "MANAGE_ROLE", "MANAGE_MEMBER", "CREATE_DELETE_MEMBER", "CREATE_CONTACT", "DELETE_CONTACT", "MANAGE_CONTACT", "MANAGE_ANY_CONTACT", "ASSIGN_CONTACT"];
5360
+ readonly enum: readonly ["MANAGE_AGENCY", "MANAGE_ROLE", "MANAGE_MEMBER", "CREATE_DELETE_MEMBER", "CREATE_CONTACT", "DELETE_CONTACT", "MANAGE_CONTACT", "MANAGE_ANY_CONTACT", "ASSIGN_CONTACT", "MANAGE_BOARD", "MANAGE_DEAL", "DELETE_DEAL"];
4344
5361
  };
4345
5362
  readonly uniqueItems: true;
4346
5363
  };
@@ -4484,9 +5501,6 @@ export declare const DuplicateContactInfoSchema: {
4484
5501
  readonly type: "integer";
4485
5502
  readonly format: "int64";
4486
5503
  };
4487
- readonly isActive: {
4488
- readonly type: "boolean";
4489
- };
4490
5504
  readonly firstName: {
4491
5505
  readonly type: "string";
4492
5506
  };
@@ -4519,7 +5533,7 @@ export declare const DuplicateContactInfoSchema: {
4519
5533
  readonly $ref: "#/components/schemas/AssignedAgent";
4520
5534
  };
4521
5535
  };
4522
- readonly required: readonly ["contactId", "isActive", "phone"];
5536
+ readonly required: readonly ["contactId", "phone"];
4523
5537
  };
4524
5538
  export declare const PhoneDuplicateCheckResponseSchema: {
4525
5539
  readonly type: "object";
@@ -4537,194 +5551,140 @@ export declare const PhoneDuplicateCheckResponseSchema: {
4537
5551
  };
4538
5552
  readonly required: readonly ["matches", "policy"];
4539
5553
  };
4540
- export declare const CardSchema: {
5554
+ export declare const BoardSummaryResponseSchema: {
4541
5555
  readonly type: "object";
4542
5556
  readonly properties: {
4543
- readonly contactId: {
4544
- readonly type: "integer";
4545
- readonly format: "int64";
4546
- };
4547
- readonly personalDetails: {
4548
- readonly oneOf: readonly [{
4549
- readonly $ref: "#/components/schemas/ContactPersonalDetailsRestricted";
4550
- }, {
4551
- readonly $ref: "#/components/schemas/ContactPersonalDetailsVisible";
4552
- }];
4553
- };
4554
- readonly priority: {
5557
+ readonly boardId: {
4555
5558
  readonly type: "string";
4556
- readonly enum: readonly ["CRITICAL", "HIGH", "MEDIUM", "LOW"];
5559
+ readonly format: "uuid";
4557
5560
  };
4558
- readonly status: {
5561
+ readonly kind: {
4559
5562
  readonly type: "string";
4560
- readonly enum: readonly ["NEW", "ON_HOLD", "COLD", "WARM", "HOT", "WAITING_PAYMENT", "LOST", "WON"];
4561
- };
4562
- readonly assignedTo: {
4563
- readonly $ref: "#/components/schemas/AssignedToResponse";
5563
+ readonly enum: readonly ["OWNER", "SEEKER"];
4564
5564
  };
4565
- readonly totalCommission: {
4566
- readonly type: "number";
4567
- };
4568
- readonly updatedAt: {
5565
+ readonly name: {
4569
5566
  readonly type: "string";
4570
- readonly format: "date-time";
4571
5567
  };
4572
- readonly preview: {
4573
- readonly oneOf: readonly [{
4574
- readonly $ref: "#/components/schemas/InterestPreview";
4575
- }, {
4576
- readonly $ref: "#/components/schemas/PropertyPreview";
4577
- }];
5568
+ readonly archived: {
5569
+ readonly type: "boolean";
5570
+ };
5571
+ readonly stages: {
5572
+ readonly type: "array";
5573
+ readonly items: {
5574
+ readonly $ref: "#/components/schemas/StageSummaryResponse";
5575
+ };
4578
5576
  };
4579
5577
  };
4580
- readonly required: readonly ["contactId", "personalDetails", "priority", "status", "totalCommission", "updatedAt"];
5578
+ readonly required: readonly ["archived", "boardId", "name", "stages"];
4581
5579
  };
4582
- export declare const ColumnSchema: {
5580
+ export declare const StageSummaryResponseSchema: {
4583
5581
  readonly type: "object";
4584
5582
  readonly properties: {
4585
- readonly status: {
5583
+ readonly stageId: {
4586
5584
  readonly type: "string";
4587
- readonly enum: readonly ["NEW", "ON_HOLD", "COLD", "WARM", "HOT", "WAITING_PAYMENT", "LOST", "WON"];
5585
+ readonly format: "uuid";
4588
5586
  };
4589
- readonly totalCommission: {
4590
- readonly type: "number";
5587
+ readonly name: {
5588
+ readonly type: "string";
4591
5589
  };
4592
- readonly totalContacts: {
4593
- readonly type: "integer";
4594
- readonly format: "int64";
5590
+ readonly color: {
5591
+ readonly type: "string";
4595
5592
  };
4596
- readonly cards: {
4597
- readonly $ref: "#/components/schemas/CursorPageCard";
5593
+ readonly position: {
5594
+ readonly type: "integer";
5595
+ readonly format: "int32";
4598
5596
  };
4599
5597
  };
4600
- readonly required: readonly ["cards", "status", "totalCommission", "totalContacts"];
5598
+ readonly required: readonly ["color", "name", "position", "stageId"];
4601
5599
  };
4602
- export declare const ContactKanbanResponseSchema: {
5600
+ export declare const BoardResponseSchema: {
4603
5601
  readonly type: "object";
4604
5602
  readonly properties: {
4605
- readonly columns: {
5603
+ readonly boardId: {
5604
+ readonly type: "string";
5605
+ readonly format: "uuid";
5606
+ };
5607
+ readonly kind: {
5608
+ readonly type: "string";
5609
+ readonly enum: readonly ["OWNER", "SEEKER"];
5610
+ };
5611
+ readonly name: {
5612
+ readonly type: "string";
5613
+ };
5614
+ readonly archived: {
5615
+ readonly type: "boolean";
5616
+ };
5617
+ readonly stages: {
4606
5618
  readonly type: "array";
4607
5619
  readonly items: {
4608
- readonly $ref: "#/components/schemas/Column";
5620
+ readonly $ref: "#/components/schemas/StageResponse";
4609
5621
  };
4610
5622
  };
5623
+ readonly createdAt: {
5624
+ readonly type: "string";
5625
+ readonly format: "date-time";
5626
+ };
4611
5627
  };
4612
- readonly required: readonly ["columns"];
5628
+ readonly required: readonly ["archived", "boardId", "createdAt", "name", "stages"];
4613
5629
  };
4614
- export declare const CursorPageCardSchema: {
5630
+ export declare const StageResponseSchema: {
4615
5631
  readonly type: "object";
4616
5632
  readonly properties: {
4617
- readonly items: {
4618
- readonly type: "array";
4619
- readonly items: {
4620
- readonly $ref: "#/components/schemas/Card";
4621
- };
5633
+ readonly stageId: {
5634
+ readonly type: "string";
5635
+ readonly format: "uuid";
4622
5636
  };
4623
- readonly nextCursor: {
5637
+ readonly name: {
4624
5638
  readonly type: "string";
4625
5639
  };
4626
- readonly hasNext: {
5640
+ readonly color: {
5641
+ readonly type: "string";
5642
+ };
5643
+ readonly position: {
5644
+ readonly type: "integer";
5645
+ readonly format: "int32";
5646
+ };
5647
+ readonly active: {
4627
5648
  readonly type: "boolean";
4628
5649
  };
4629
- };
4630
- };
4631
- export declare const InterestPreviewSchema: {
4632
- readonly allOf: readonly [{
4633
- readonly $ref: "#/components/schemas/Preview";
4634
- }, {
4635
- readonly type: "object";
4636
- readonly properties: {
4637
- readonly interestId: {
4638
- readonly type: "integer";
4639
- readonly format: "int64";
4640
- };
4641
- readonly listingType: {
4642
- readonly type: "string";
4643
- readonly enum: readonly ["SALE", "RENT", "DAILY_RENT", "PLEDGE"];
4644
- };
4645
- readonly propertyTypes: {
4646
- readonly type: "array";
4647
- readonly items: {
4648
- readonly type: "string";
4649
- readonly enum: readonly ["HOUSE", "TOWN_HOUSE", "COUNTRY_HOUSE", "VILLA", "COTTAGE", "APARTMENT", "DUPLEX", "TRIPLEX", "SEMI_BASEMENT", "ATTIC", "AGRICULTURAL_LAND", "RESIDENTIAL_LAND", "HOTEL_ROOM", "MOTEL_ROOM", "CO_LIVING_SPACE", "OFFICE", "COMMERCIAL_SPACE", "CO_WORKING_SPACE", "WAREHOUSE", "GARAGE"];
4650
- };
4651
- readonly uniqueItems: true;
4652
- };
4653
- readonly budget: {
4654
- readonly $ref: "#/components/schemas/RangeBigDecimal";
4655
- };
4656
- readonly primaryLocation: {
4657
- readonly $ref: "#/components/schemas/LocationResponse";
4658
- };
4659
- readonly recommendationCount: {
4660
- readonly type: "integer";
4661
- readonly format: "int32";
5650
+ readonly todoTemplates: {
5651
+ readonly type: "array";
5652
+ readonly items: {
5653
+ readonly $ref: "#/components/schemas/TodoTemplateResponse";
4662
5654
  };
4663
5655
  };
4664
- }];
4665
- readonly required: readonly ["interestId", "listingType", "propertyTypes", "recommendationCount"];
5656
+ };
5657
+ readonly required: readonly ["active", "color", "name", "position", "stageId", "todoTemplates"];
4666
5658
  };
4667
- export declare const ListingTypePriceSchema: {
5659
+ export declare const TodoTemplateResponseSchema: {
4668
5660
  readonly type: "object";
4669
5661
  readonly properties: {
4670
- readonly listingType: {
5662
+ readonly templateId: {
4671
5663
  readonly type: "string";
4672
- readonly enum: readonly ["SALE", "RENT", "DAILY_RENT", "PLEDGE"];
5664
+ readonly format: "uuid";
4673
5665
  };
4674
- readonly price: {
4675
- readonly type: "number";
5666
+ readonly title: {
5667
+ readonly type: "string";
4676
5668
  };
4677
- };
4678
- readonly required: readonly ["listingType", "price"];
4679
- };
4680
- export declare const PreviewSchema: {
4681
- readonly discriminator: {
4682
- readonly propertyName: "type";
4683
- readonly mapping: {
4684
- readonly PROPERTY: "#/components/schemas/PropertyPreview";
4685
- readonly INTEREST: "#/components/schemas/InterestPreview";
5669
+ readonly position: {
5670
+ readonly type: "integer";
5671
+ readonly format: "int32";
4686
5672
  };
4687
5673
  };
5674
+ readonly required: readonly ["position", "templateId", "title"];
5675
+ };
5676
+ export declare const TaskSettingsResponseSchema: {
5677
+ readonly type: "object";
4688
5678
  readonly properties: {
4689
- readonly type: {
5679
+ readonly defaultBoardId: {
4690
5680
  readonly type: "string";
5681
+ readonly format: "uuid";
4691
5682
  };
4692
- };
4693
- readonly required: readonly ["type"];
4694
- };
4695
- export declare const PropertyPreviewSchema: {
4696
- readonly allOf: readonly [{
4697
- readonly $ref: "#/components/schemas/Preview";
4698
- }, {
4699
- readonly type: "object";
4700
- readonly properties: {
4701
- readonly propertyId: {
4702
- readonly type: "integer";
4703
- readonly format: "int64";
4704
- };
4705
- readonly propertyType: {
4706
- readonly type: "string";
4707
- readonly enum: readonly ["HOUSE", "TOWN_HOUSE", "COUNTRY_HOUSE", "VILLA", "COTTAGE", "APARTMENT", "DUPLEX", "TRIPLEX", "SEMI_BASEMENT", "ATTIC", "AGRICULTURAL_LAND", "RESIDENTIAL_LAND", "HOTEL_ROOM", "MOTEL_ROOM", "CO_LIVING_SPACE", "OFFICE", "COMMERCIAL_SPACE", "CO_WORKING_SPACE", "WAREHOUSE", "GARAGE"];
4708
- };
4709
- readonly state: {
4710
- readonly type: "string";
4711
- readonly enum: readonly ["IN_REGISTRATION", "UNLISTED", "LISTED_INTERNALLY", "LISTED", "CLOSED"];
4712
- };
4713
- readonly title: {
4714
- readonly type: "string";
4715
- };
4716
- readonly coverUrl: {
4717
- readonly type: "string";
4718
- };
4719
- readonly listingTypes: {
4720
- readonly type: "array";
4721
- readonly items: {
4722
- readonly $ref: "#/components/schemas/ListingTypePrice";
4723
- };
4724
- };
5683
+ readonly defaultStageId: {
5684
+ readonly type: "string";
5685
+ readonly format: "uuid";
4725
5686
  };
4726
- }];
4727
- readonly required: readonly ["listingTypes", "propertyId", "propertyType", "state"];
5687
+ };
4728
5688
  };
4729
5689
  export declare const AddressViewResponseSchema: {
4730
5690
  readonly type: "object";