@homespot-sdk/core 0.0.318 → 0.0.319

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.
@@ -1339,6 +1339,407 @@ export const UserSummaryViewResponseSchema = {
1339
1339
  },
1340
1340
  required: ['email', 'firstName', 'lastName'],
1341
1341
  };
1342
+ export const ExpiringAgreementSchema = {
1343
+ type: 'object',
1344
+ properties: {
1345
+ propertyId: {
1346
+ type: 'integer',
1347
+ format: 'int64',
1348
+ },
1349
+ externalId: {
1350
+ type: 'string',
1351
+ format: 'uuid',
1352
+ },
1353
+ title: {
1354
+ type: 'string',
1355
+ },
1356
+ expiresAt: {
1357
+ type: 'string',
1358
+ format: 'date',
1359
+ },
1360
+ },
1361
+ };
1362
+ export const ExpiringPlatformListingSchema = {
1363
+ type: 'object',
1364
+ properties: {
1365
+ platform: {
1366
+ type: 'string',
1367
+ },
1368
+ platformId: {
1369
+ type: 'integer',
1370
+ format: 'int64',
1371
+ },
1372
+ propertyTitle: {
1373
+ type: 'string',
1374
+ },
1375
+ expiresAt: {
1376
+ type: 'string',
1377
+ format: 'date',
1378
+ },
1379
+ },
1380
+ };
1381
+ export const ListingTypeAggSchema = {
1382
+ type: 'object',
1383
+ properties: {
1384
+ listingType: {
1385
+ type: 'string',
1386
+ },
1387
+ count: {
1388
+ type: 'integer',
1389
+ format: 'int64',
1390
+ },
1391
+ pipelineValue: {
1392
+ type: 'number',
1393
+ },
1394
+ estimatedCommission: {
1395
+ type: 'number',
1396
+ },
1397
+ },
1398
+ };
1399
+ export const PortfolioStatsSchema = {
1400
+ type: 'object',
1401
+ properties: {
1402
+ propertiesByState: {
1403
+ type: 'array',
1404
+ items: {
1405
+ $ref: '#/components/schemas/Slice',
1406
+ },
1407
+ },
1408
+ listings: {
1409
+ type: 'array',
1410
+ items: {
1411
+ $ref: '#/components/schemas/ListingTypeAgg',
1412
+ },
1413
+ },
1414
+ expiringAgreementsCount: {
1415
+ type: 'integer',
1416
+ format: 'int64',
1417
+ },
1418
+ expiringAgreements: {
1419
+ type: 'array',
1420
+ items: {
1421
+ $ref: '#/components/schemas/ExpiringAgreement',
1422
+ },
1423
+ },
1424
+ expiringPlatformCount: {
1425
+ type: 'integer',
1426
+ format: 'int64',
1427
+ },
1428
+ expiringPlatformListings: {
1429
+ type: 'array',
1430
+ items: {
1431
+ $ref: '#/components/schemas/ExpiringPlatformListing',
1432
+ },
1433
+ },
1434
+ },
1435
+ };
1436
+ export const SliceSchema = {
1437
+ type: 'object',
1438
+ properties: {
1439
+ key: {
1440
+ type: 'string',
1441
+ },
1442
+ count: {
1443
+ type: 'integer',
1444
+ format: 'int64',
1445
+ },
1446
+ },
1447
+ };
1448
+ export const StatsEnvelopePortfolioStatsSchema = {
1449
+ type: 'object',
1450
+ properties: {
1451
+ period: {
1452
+ type: 'string',
1453
+ },
1454
+ computedAt: {
1455
+ type: 'string',
1456
+ format: 'date-time',
1457
+ },
1458
+ data: {
1459
+ $ref: '#/components/schemas/PortfolioStats',
1460
+ },
1461
+ },
1462
+ };
1463
+ export const PipelineStatsSchema = {
1464
+ type: 'object',
1465
+ properties: {
1466
+ total: {
1467
+ type: 'integer',
1468
+ format: 'int64',
1469
+ },
1470
+ won: {
1471
+ type: 'integer',
1472
+ format: 'int64',
1473
+ },
1474
+ conversionRatePercent: {
1475
+ type: 'number',
1476
+ format: 'double',
1477
+ },
1478
+ unassigned: {
1479
+ type: 'integer',
1480
+ format: 'int64',
1481
+ },
1482
+ newContactsTrend: {
1483
+ type: 'array',
1484
+ items: {
1485
+ $ref: '#/components/schemas/TrendPoint',
1486
+ },
1487
+ },
1488
+ status: {
1489
+ type: 'array',
1490
+ items: {
1491
+ $ref: '#/components/schemas/Slice',
1492
+ },
1493
+ },
1494
+ sourceAttribution: {
1495
+ type: 'array',
1496
+ items: {
1497
+ $ref: '#/components/schemas/Slice',
1498
+ },
1499
+ },
1500
+ lostReasons: {
1501
+ type: 'array',
1502
+ items: {
1503
+ $ref: '#/components/schemas/Slice',
1504
+ },
1505
+ },
1506
+ },
1507
+ };
1508
+ export const StatsEnvelopePipelineStatsSchema = {
1509
+ type: 'object',
1510
+ properties: {
1511
+ period: {
1512
+ type: 'string',
1513
+ },
1514
+ computedAt: {
1515
+ type: 'string',
1516
+ format: 'date-time',
1517
+ },
1518
+ data: {
1519
+ $ref: '#/components/schemas/PipelineStats',
1520
+ },
1521
+ },
1522
+ };
1523
+ export const TrendPointSchema = {
1524
+ type: 'object',
1525
+ properties: {
1526
+ date: {
1527
+ type: 'string',
1528
+ format: 'date',
1529
+ },
1530
+ count: {
1531
+ type: 'integer',
1532
+ format: 'int64',
1533
+ },
1534
+ },
1535
+ };
1536
+ export const LeaderboardStatsSchema = {
1537
+ type: 'object',
1538
+ properties: {
1539
+ rows: {
1540
+ type: 'array',
1541
+ items: {
1542
+ $ref: '#/components/schemas/Row',
1543
+ },
1544
+ },
1545
+ },
1546
+ };
1547
+ export const RowSchema = {
1548
+ type: 'object',
1549
+ properties: {
1550
+ memberId: {
1551
+ type: 'string',
1552
+ format: 'uuid',
1553
+ },
1554
+ firstName: {
1555
+ type: 'string',
1556
+ },
1557
+ lastName: {
1558
+ type: 'string',
1559
+ },
1560
+ photo: {
1561
+ type: 'string',
1562
+ },
1563
+ contactsAssigned: {
1564
+ type: 'integer',
1565
+ format: 'int64',
1566
+ },
1567
+ converted: {
1568
+ type: 'integer',
1569
+ format: 'int64',
1570
+ },
1571
+ conversionRatePct: {
1572
+ type: 'number',
1573
+ format: 'double',
1574
+ },
1575
+ recommendationsSent: {
1576
+ type: 'integer',
1577
+ format: 'int64',
1578
+ },
1579
+ recommendationsRated: {
1580
+ type: 'integer',
1581
+ format: 'int64',
1582
+ },
1583
+ likeRatePct: {
1584
+ type: 'number',
1585
+ format: 'double',
1586
+ },
1587
+ },
1588
+ };
1589
+ export const StatsEnvelopeLeaderboardStatsSchema = {
1590
+ type: 'object',
1591
+ properties: {
1592
+ period: {
1593
+ type: 'string',
1594
+ },
1595
+ computedAt: {
1596
+ type: 'string',
1597
+ format: 'date-time',
1598
+ },
1599
+ data: {
1600
+ $ref: '#/components/schemas/LeaderboardStats',
1601
+ },
1602
+ },
1603
+ };
1604
+ export const AwaitingConversationSchema = {
1605
+ type: 'object',
1606
+ properties: {
1607
+ conversationId: {
1608
+ type: 'string',
1609
+ format: 'uuid',
1610
+ },
1611
+ contactId: {
1612
+ type: 'integer',
1613
+ format: 'int64',
1614
+ },
1615
+ channelType: {
1616
+ type: 'string',
1617
+ },
1618
+ lastMessagePreview: {
1619
+ type: 'string',
1620
+ },
1621
+ lastInboundAt: {
1622
+ type: 'string',
1623
+ format: 'date-time',
1624
+ },
1625
+ unreadCount: {
1626
+ type: 'integer',
1627
+ format: 'int32',
1628
+ },
1629
+ },
1630
+ };
1631
+ export const InboxStatsSchema = {
1632
+ type: 'object',
1633
+ properties: {
1634
+ openConversations: {
1635
+ type: 'integer',
1636
+ format: 'int64',
1637
+ },
1638
+ unreadMessages: {
1639
+ type: 'integer',
1640
+ format: 'int64',
1641
+ },
1642
+ awaitingReplyCount: {
1643
+ type: 'integer',
1644
+ format: 'int64',
1645
+ },
1646
+ awaitingReply: {
1647
+ type: 'array',
1648
+ items: {
1649
+ $ref: '#/components/schemas/AwaitingConversation',
1650
+ },
1651
+ },
1652
+ medianResponseSeconds: {
1653
+ type: 'integer',
1654
+ format: 'int64',
1655
+ },
1656
+ inboundByChannel: {
1657
+ type: 'array',
1658
+ items: {
1659
+ $ref: '#/components/schemas/Slice',
1660
+ },
1661
+ },
1662
+ },
1663
+ };
1664
+ export const StatsEnvelopeInboxStatsSchema = {
1665
+ type: 'object',
1666
+ properties: {
1667
+ period: {
1668
+ type: 'string',
1669
+ },
1670
+ computedAt: {
1671
+ type: 'string',
1672
+ format: 'date-time',
1673
+ },
1674
+ data: {
1675
+ $ref: '#/components/schemas/InboxStats',
1676
+ },
1677
+ },
1678
+ };
1679
+ export const DemandStatsSchema = {
1680
+ type: 'object',
1681
+ properties: {
1682
+ activeInterests: {
1683
+ type: 'integer',
1684
+ format: 'int64',
1685
+ },
1686
+ byListingType: {
1687
+ type: 'array',
1688
+ items: {
1689
+ $ref: '#/components/schemas/Slice',
1690
+ },
1691
+ },
1692
+ byPropertyType: {
1693
+ type: 'array',
1694
+ items: {
1695
+ $ref: '#/components/schemas/Slice',
1696
+ },
1697
+ },
1698
+ budgetBuckets: {
1699
+ type: 'array',
1700
+ items: {
1701
+ $ref: '#/components/schemas/Slice',
1702
+ },
1703
+ },
1704
+ topDistricts: {
1705
+ type: 'array',
1706
+ items: {
1707
+ $ref: '#/components/schemas/DistrictDemand',
1708
+ },
1709
+ },
1710
+ },
1711
+ };
1712
+ export const DistrictDemandSchema = {
1713
+ type: 'object',
1714
+ properties: {
1715
+ districtId: {
1716
+ type: 'integer',
1717
+ format: 'int64',
1718
+ },
1719
+ name: {
1720
+ type: 'string',
1721
+ },
1722
+ count: {
1723
+ type: 'integer',
1724
+ format: 'int64',
1725
+ },
1726
+ },
1727
+ };
1728
+ export const StatsEnvelopeDemandStatsSchema = {
1729
+ type: 'object',
1730
+ properties: {
1731
+ period: {
1732
+ type: 'string',
1733
+ },
1734
+ computedAt: {
1735
+ type: 'string',
1736
+ format: 'date-time',
1737
+ },
1738
+ data: {
1739
+ $ref: '#/components/schemas/DemandStats',
1740
+ },
1741
+ },
1742
+ };
1342
1743
  export const PageMetadataSchema = {
1343
1744
  type: 'object',
1344
1745
  properties: {