@homespot-sdk/core 0.0.359 → 0.0.361

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.
@@ -182,7 +182,7 @@ export declare const CommentBodyRequestSchema: {
182
182
  readonly properties: {
183
183
  readonly body: {
184
184
  readonly type: "string";
185
- readonly maxLength: 4000;
185
+ readonly maxLength: 6300;
186
186
  readonly minLength: 0;
187
187
  };
188
188
  };
@@ -1104,12 +1104,16 @@ export declare const OauthConnectionResponseSchema: {
1104
1104
  readonly type: "boolean";
1105
1105
  readonly description: "Like and comment counts on a post";
1106
1106
  };
1107
+ readonly canReadInsights: {
1108
+ readonly type: "boolean";
1109
+ readonly description: "Views and reach of a post. Facebook reports them only for Pages with 100 or more likes";
1110
+ };
1107
1111
  readonly reconnectRequired: {
1108
1112
  readonly type: "boolean";
1109
- readonly description: "The token is dead, or the grant lacks a scope the connect flow asks for — re-running the connect flow is what fixes it";
1113
+ readonly description: "The token is dead, or the grant lacks a scope the connect flow asks for (insights aside: without them canReadInsights is false and nothing else) — re-running the connect flow is what fixes it";
1110
1114
  };
1111
1115
  };
1112
- readonly required: readonly ["agencyId", "canPublish", "canReadComments", "canReadStats", "canReply", "createdAt", "provider", "reconnectRequired", "status", "updatedAt", "userId"];
1116
+ readonly required: readonly ["agencyId", "canPublish", "canReadComments", "canReadInsights", "canReadStats", "canReply", "createdAt", "provider", "reconnectRequired", "status", "updatedAt", "userId"];
1113
1117
  };
1114
1118
  export declare const AttendeeRequestSchema: {
1115
1119
  readonly type: "object";
@@ -1629,6 +1633,116 @@ export declare const SocialPostViewSchema: {
1629
1633
  };
1630
1634
  readonly required: readonly ["caption", "channel", "createdAt", "createdBy", "id", "photos", "status"];
1631
1635
  };
1636
+ export declare const MemberPeekResponseSchema: {
1637
+ readonly type: "object";
1638
+ readonly properties: {
1639
+ readonly memberId: {
1640
+ readonly type: "string";
1641
+ readonly format: "uuid";
1642
+ };
1643
+ readonly firstName: {
1644
+ readonly type: "string";
1645
+ };
1646
+ readonly lastName: {
1647
+ readonly type: "string";
1648
+ };
1649
+ readonly photo: {
1650
+ readonly type: "string";
1651
+ };
1652
+ readonly phone: {
1653
+ readonly type: "string";
1654
+ };
1655
+ readonly email: {
1656
+ readonly type: "string";
1657
+ };
1658
+ };
1659
+ readonly required: readonly ["email", "firstName", "lastName", "memberId"];
1660
+ };
1661
+ export declare const SocialCommentAuthorSchema: {
1662
+ readonly type: "object";
1663
+ readonly properties: {
1664
+ readonly name: {
1665
+ readonly type: "string";
1666
+ };
1667
+ readonly username: {
1668
+ readonly type: "string";
1669
+ };
1670
+ };
1671
+ };
1672
+ export declare const SocialCommentResponseSchema: {
1673
+ readonly type: "object";
1674
+ readonly properties: {
1675
+ readonly commentId: {
1676
+ readonly type: "string";
1677
+ readonly format: "uuid";
1678
+ };
1679
+ readonly author: {
1680
+ readonly $ref: "#/components/schemas/SocialCommentAuthor";
1681
+ readonly description: "Who wrote it, as far as Facebook / Instagram say; null on the agency's own comments, and when Meta does not say";
1682
+ };
1683
+ readonly text: {
1684
+ readonly type: "string";
1685
+ readonly description: "Null on a sticker or a photo on its own, and once the comment is REMOVED";
1686
+ };
1687
+ readonly commentedAt: {
1688
+ readonly type: "string";
1689
+ readonly format: "date-time";
1690
+ readonly description: "When it was written; for a reply sent from HomeSpot, when it was sent";
1691
+ };
1692
+ readonly state: {
1693
+ readonly type: "string";
1694
+ readonly enum: readonly ["VISIBLE", "HIDDEN", "REMOVED"];
1695
+ };
1696
+ readonly edited: {
1697
+ readonly type: "boolean";
1698
+ readonly description: "Changed by its author after it was written";
1699
+ };
1700
+ readonly own: {
1701
+ readonly type: "boolean";
1702
+ readonly description: "Written by the agency: shown as the agency's reply";
1703
+ };
1704
+ readonly sentBy: {
1705
+ readonly $ref: "#/components/schemas/SocialCommentSender";
1706
+ readonly description: "Own comments only";
1707
+ };
1708
+ readonly delivery: {
1709
+ readonly type: "string";
1710
+ readonly description: "Own comments only: PENDING while HomeSpot gets it onto Facebook / Instagram, SENT once there, FAILED if Meta refused it";
1711
+ readonly enum: readonly ["PENDING", "SENT", "FAILED"];
1712
+ };
1713
+ readonly failureReason: {
1714
+ readonly type: "string";
1715
+ readonly description: "Why it FAILED; retrying sends it again as it is";
1716
+ readonly enum: readonly ["COMMENT_DELETED", "RECONNECT_REQUIRED", "PERMISSION_MISSING", "RATE_LIMITED", "UNKNOWN"];
1717
+ };
1718
+ };
1719
+ readonly required: readonly ["commentId", "commentedAt", "edited", "own", "state"];
1720
+ };
1721
+ export declare const SocialCommentSenderSchema: {
1722
+ readonly type: "object";
1723
+ readonly properties: {
1724
+ readonly type: {
1725
+ readonly type: "string";
1726
+ readonly enum: readonly ["AGENT", "AI", "PAGE"];
1727
+ };
1728
+ readonly member: {
1729
+ readonly $ref: "#/components/schemas/MemberPeekResponse";
1730
+ readonly description: "AGENT only; also once they have left the agency";
1731
+ };
1732
+ };
1733
+ readonly required: readonly ["type"];
1734
+ };
1735
+ export declare const ReplyToSocialCommentRequestSchema: {
1736
+ readonly type: "object";
1737
+ readonly properties: {
1738
+ readonly text: {
1739
+ readonly type: "string";
1740
+ readonly description: "Posted exactly as written; how long it may be is the channel's rule";
1741
+ readonly minLength: 1;
1742
+ };
1743
+ };
1744
+ readonly required: readonly ["text"];
1745
+ };
1632
1746
  export declare const CloseListingRequestSchema: {
1633
1747
  readonly type: "object";
1634
1748
  readonly properties: {
@@ -2026,44 +2140,36 @@ export declare const CommentViewSchema: {
2026
2140
  readonly body: {
2027
2141
  readonly type: "string";
2028
2142
  };
2029
- readonly createdAt: {
2030
- readonly type: "string";
2031
- readonly format: "date-time";
2032
- };
2033
- readonly editedAt: {
2034
- readonly type: "string";
2035
- readonly format: "date-time";
2143
+ readonly mentionedMembers: {
2144
+ readonly type: "array";
2145
+ readonly items: {
2146
+ readonly $ref: "#/components/schemas/MemberPeekResponse";
2147
+ };
2036
2148
  };
2037
- };
2038
- readonly required: readonly ["authorFirstName", "authorId", "authorLastName", "body", "createdAt", "id"];
2039
- };
2040
- export declare const CursorPageCommentViewSchema: {
2041
- readonly type: "object";
2042
- readonly properties: {
2043
- readonly items: {
2149
+ readonly mentionedContacts: {
2044
2150
  readonly type: "array";
2045
2151
  readonly items: {
2046
- readonly $ref: "#/components/schemas/CommentView";
2152
+ readonly $ref: "#/components/schemas/ContactMentionView";
2047
2153
  };
2048
2154
  };
2049
- readonly nextCursor: {
2155
+ readonly createdAt: {
2050
2156
  readonly type: "string";
2157
+ readonly format: "date-time";
2051
2158
  };
2052
- readonly hasNext: {
2053
- readonly type: "boolean";
2159
+ readonly editedAt: {
2160
+ readonly type: "string";
2161
+ readonly format: "date-time";
2054
2162
  };
2055
2163
  };
2164
+ readonly required: readonly ["authorFirstName", "authorId", "authorLastName", "body", "createdAt", "id", "mentionedContacts", "mentionedMembers"];
2056
2165
  };
2057
- export declare const ContactLinkSchema: {
2166
+ export declare const ContactMentionViewSchema: {
2058
2167
  readonly type: "object";
2059
2168
  readonly properties: {
2060
2169
  readonly contactId: {
2061
2170
  readonly type: "integer";
2062
2171
  readonly format: "int64";
2063
2172
  };
2064
- readonly primary: {
2065
- readonly type: "boolean";
2066
- };
2067
2173
  readonly personalDetails: {
2068
2174
  readonly oneOf: readonly [{
2069
2175
  readonly $ref: "#/components/schemas/ContactPersonalDetailsRestricted";
@@ -2076,7 +2182,7 @@ export declare const ContactLinkSchema: {
2076
2182
  readonly format: "uuid";
2077
2183
  };
2078
2184
  };
2079
- readonly required: readonly ["contactId", "personalDetails", "primary"];
2185
+ readonly required: readonly ["contactId", "personalDetails"];
2080
2186
  };
2081
2187
  export declare const ContactPersonalDetailsSchema: {
2082
2188
  readonly discriminator: {
@@ -2123,6 +2229,47 @@ export declare const ContactPersonalDetailsVisibleSchema: {
2123
2229
  };
2124
2230
  readonly required: readonly ["status"];
2125
2231
  };
2232
+ export declare const CursorPageCommentViewSchema: {
2233
+ readonly type: "object";
2234
+ readonly properties: {
2235
+ readonly items: {
2236
+ readonly type: "array";
2237
+ readonly items: {
2238
+ readonly $ref: "#/components/schemas/CommentView";
2239
+ };
2240
+ };
2241
+ readonly nextCursor: {
2242
+ readonly type: "string";
2243
+ };
2244
+ readonly hasNext: {
2245
+ readonly type: "boolean";
2246
+ };
2247
+ };
2248
+ };
2249
+ export declare const ContactLinkSchema: {
2250
+ readonly type: "object";
2251
+ readonly properties: {
2252
+ readonly contactId: {
2253
+ readonly type: "integer";
2254
+ readonly format: "int64";
2255
+ };
2256
+ readonly primary: {
2257
+ readonly type: "boolean";
2258
+ };
2259
+ readonly personalDetails: {
2260
+ readonly oneOf: readonly [{
2261
+ readonly $ref: "#/components/schemas/ContactPersonalDetailsRestricted";
2262
+ }, {
2263
+ readonly $ref: "#/components/schemas/ContactPersonalDetailsVisible";
2264
+ }];
2265
+ };
2266
+ readonly contactAssignedTo: {
2267
+ readonly type: "string";
2268
+ readonly format: "uuid";
2269
+ };
2270
+ };
2271
+ readonly required: readonly ["contactId", "personalDetails", "primary"];
2272
+ };
2126
2273
  export declare const InterestLinkSchema: {
2127
2274
  readonly type: "object";
2128
2275
  readonly properties: {
@@ -2199,31 +2346,6 @@ export declare const LocationResponseSchema: {
2199
2346
  };
2200
2347
  readonly required: readonly ["id", "names"];
2201
2348
  };
2202
- export declare const MemberPeekResponseSchema: {
2203
- readonly type: "object";
2204
- readonly properties: {
2205
- readonly memberId: {
2206
- readonly type: "string";
2207
- readonly format: "uuid";
2208
- };
2209
- readonly firstName: {
2210
- readonly type: "string";
2211
- };
2212
- readonly lastName: {
2213
- readonly type: "string";
2214
- };
2215
- readonly photo: {
2216
- readonly type: "string";
2217
- };
2218
- readonly phone: {
2219
- readonly type: "string";
2220
- };
2221
- readonly email: {
2222
- readonly type: "string";
2223
- };
2224
- };
2225
- readonly required: readonly ["email", "firstName", "lastName", "memberId"];
2226
- };
2227
2349
  export declare const ParticipantSchema: {
2228
2350
  readonly type: "object";
2229
2351
  readonly properties: {
@@ -2488,118 +2610,152 @@ export declare const TodoItemSchema: {
2488
2610
  };
2489
2611
  readonly required: readonly ["fromTemplate", "position", "title", "todoId"];
2490
2612
  };
2491
- export declare const ContactTaskResponseSchema: {
2613
+ export declare const ContactTaskCardResponseSchema: {
2492
2614
  readonly type: "object";
2493
2615
  readonly properties: {
2494
2616
  readonly taskId: {
2495
2617
  readonly type: "string";
2496
2618
  readonly format: "uuid";
2497
2619
  };
2498
- readonly title: {
2499
- readonly type: "string";
2500
- };
2501
- readonly boardId: {
2620
+ readonly stageId: {
2502
2621
  readonly type: "string";
2503
2622
  readonly format: "uuid";
2504
2623
  };
2505
- readonly boardName: {
2624
+ readonly stageName: {
2506
2625
  readonly type: "string";
2507
2626
  };
2508
- readonly stageId: {
2627
+ readonly title: {
2509
2628
  readonly type: "string";
2510
- readonly format: "uuid";
2511
2629
  };
2512
- readonly stageName: {
2513
- readonly type: "string";
2630
+ readonly hasDescription: {
2631
+ readonly type: "boolean";
2514
2632
  };
2515
- readonly outcome: {
2633
+ readonly commentCount: {
2634
+ readonly type: "integer";
2635
+ readonly format: "int32";
2636
+ };
2637
+ readonly contactCount: {
2638
+ readonly type: "integer";
2639
+ readonly format: "int32";
2640
+ };
2641
+ readonly priority: {
2516
2642
  readonly type: "string";
2517
- readonly enum: readonly ["WON", "LOST"];
2643
+ readonly enum: readonly ["LOW", "MEDIUM", "HIGH", "CRITICAL"];
2518
2644
  };
2519
2645
  readonly value: {
2520
2646
  readonly type: "number";
2521
2647
  };
2522
- readonly primary: {
2523
- readonly type: "boolean";
2648
+ readonly commissionType: {
2649
+ readonly type: "string";
2650
+ readonly enum: readonly ["NOT_SET", "FIXED", "PERCENTAGE", "MONTHS_OF_RENT"];
2524
2651
  };
2525
- };
2526
- readonly required: readonly ["boardId", "boardName", "primary", "stageId", "stageName", "taskId", "title"];
2527
- };
2528
- export declare const BoardCardsResponseSchema: {
2529
- readonly type: "object";
2530
- readonly properties: {
2531
- readonly boardId: {
2652
+ readonly commissionValue: {
2653
+ readonly type: "number";
2654
+ };
2655
+ readonly ownerId: {
2532
2656
  readonly type: "string";
2533
2657
  readonly format: "uuid";
2534
2658
  };
2535
- readonly name: {
2536
- readonly type: "string";
2659
+ readonly primaryContactId: {
2660
+ readonly type: "integer";
2661
+ readonly format: "int64";
2537
2662
  };
2538
- readonly kind: {
2663
+ readonly primaryContact: {
2664
+ readonly oneOf: readonly [{
2665
+ readonly $ref: "#/components/schemas/ContactPersonalDetailsRestricted";
2666
+ }, {
2667
+ readonly $ref: "#/components/schemas/ContactPersonalDetailsVisible";
2668
+ }];
2669
+ };
2670
+ readonly contactAssignedTo: {
2539
2671
  readonly type: "string";
2540
- readonly enum: readonly ["OWNER", "SEEKER"];
2672
+ readonly format: "uuid";
2541
2673
  };
2542
- readonly members: {
2543
- readonly type: "array";
2544
- readonly items: {
2545
- readonly $ref: "#/components/schemas/MemberPeekResponse";
2546
- };
2674
+ readonly primaryContent: {
2675
+ readonly oneOf: readonly [{
2676
+ readonly $ref: "#/components/schemas/TaskContentInterest";
2677
+ }, {
2678
+ readonly $ref: "#/components/schemas/TaskContentProperty";
2679
+ }];
2547
2680
  };
2548
- readonly columns: {
2681
+ readonly participants: {
2549
2682
  readonly type: "array";
2550
2683
  readonly items: {
2551
- readonly $ref: "#/components/schemas/Column";
2684
+ readonly type: "string";
2685
+ readonly format: "uuid";
2552
2686
  };
2553
2687
  };
2554
- };
2555
- readonly required: readonly ["boardId", "columns", "members", "name"];
2556
- };
2557
- export declare const ColumnSchema: {
2558
- readonly type: "object";
2559
- readonly properties: {
2560
- readonly stageId: {
2688
+ readonly rank: {
2561
2689
  readonly type: "string";
2562
- readonly format: "uuid";
2563
2690
  };
2564
- readonly name: {
2691
+ readonly stageEnteredAt: {
2692
+ readonly type: "string";
2693
+ readonly format: "date-time";
2694
+ };
2695
+ readonly daysInStage: {
2696
+ readonly type: "integer";
2697
+ readonly format: "int64";
2698
+ };
2699
+ readonly openTodos: {
2700
+ readonly type: "integer";
2701
+ readonly format: "int64";
2702
+ };
2703
+ readonly totalTodos: {
2704
+ readonly type: "integer";
2705
+ readonly format: "int64";
2706
+ };
2707
+ readonly hasLeftoverOpenTodos: {
2708
+ readonly type: "boolean";
2709
+ };
2710
+ readonly expectedCloseDate: {
2711
+ readonly type: "string";
2712
+ readonly format: "date";
2713
+ };
2714
+ readonly outcome: {
2715
+ readonly type: "string";
2716
+ readonly enum: readonly ["WON", "LOST"];
2717
+ };
2718
+ readonly lostReason: {
2565
2719
  readonly type: "string";
2720
+ 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"];
2566
2721
  };
2567
- readonly color: {
2722
+ readonly closedAt: {
2568
2723
  readonly type: "string";
2724
+ readonly format: "date-time";
2569
2725
  };
2570
- readonly position: {
2571
- readonly type: "integer";
2572
- readonly format: "int32";
2726
+ readonly boardId: {
2727
+ readonly type: "string";
2728
+ readonly format: "uuid";
2573
2729
  };
2574
- readonly totalTasks: {
2575
- readonly type: "integer";
2576
- readonly format: "int64";
2730
+ readonly boardName: {
2731
+ readonly type: "string";
2577
2732
  };
2578
- readonly totalValue: {
2579
- readonly type: "number";
2733
+ readonly stageColor: {
2734
+ readonly type: "string";
2580
2735
  };
2581
- readonly cards: {
2582
- readonly $ref: "#/components/schemas/CursorPageTaskCardResponse";
2736
+ readonly primary: {
2737
+ readonly type: "boolean";
2583
2738
  };
2584
2739
  };
2585
- readonly required: readonly ["cards", "color", "name", "position", "stageId", "totalTasks", "totalValue"];
2740
+ readonly required: readonly ["boardId", "boardName", "commentCount", "contactCount", "daysInStage", "hasDescription", "hasLeftoverOpenTodos", "openTodos", "participants", "primary", "priority", "rank", "stageColor", "stageEnteredAt", "stageId", "stageName", "taskId", "title", "totalTodos"];
2586
2741
  };
2587
- export declare const CursorPageTaskCardResponseSchema: {
2742
+ export declare const ContactTasksResponseSchema: {
2588
2743
  readonly type: "object";
2589
2744
  readonly properties: {
2590
- readonly items: {
2745
+ readonly members: {
2591
2746
  readonly type: "array";
2592
2747
  readonly items: {
2593
- readonly $ref: "#/components/schemas/TaskCardResponse";
2748
+ readonly $ref: "#/components/schemas/MemberPeekResponse";
2594
2749
  };
2595
2750
  };
2596
- readonly nextCursor: {
2597
- readonly type: "string";
2598
- };
2599
- readonly hasNext: {
2600
- readonly type: "boolean";
2751
+ readonly items: {
2752
+ readonly type: "array";
2753
+ readonly items: {
2754
+ readonly $ref: "#/components/schemas/ContactTaskCardResponse";
2755
+ };
2601
2756
  };
2602
2757
  };
2758
+ readonly required: readonly ["items", "members"];
2603
2759
  };
2604
2760
  export declare const TaskCardResponseSchema: {
2605
2761
  readonly type: "object";
@@ -2784,6 +2940,82 @@ export declare const TaskContentPropertySchema: {
2784
2940
  }];
2785
2941
  readonly required: readonly ["id", "type"];
2786
2942
  };
2943
+ export declare const BoardCardsResponseSchema: {
2944
+ readonly type: "object";
2945
+ readonly properties: {
2946
+ readonly boardId: {
2947
+ readonly type: "string";
2948
+ readonly format: "uuid";
2949
+ };
2950
+ readonly name: {
2951
+ readonly type: "string";
2952
+ };
2953
+ readonly kind: {
2954
+ readonly type: "string";
2955
+ readonly enum: readonly ["OWNER", "SEEKER"];
2956
+ };
2957
+ readonly members: {
2958
+ readonly type: "array";
2959
+ readonly items: {
2960
+ readonly $ref: "#/components/schemas/MemberPeekResponse";
2961
+ };
2962
+ };
2963
+ readonly columns: {
2964
+ readonly type: "array";
2965
+ readonly items: {
2966
+ readonly $ref: "#/components/schemas/Column";
2967
+ };
2968
+ };
2969
+ };
2970
+ readonly required: readonly ["boardId", "columns", "members", "name"];
2971
+ };
2972
+ export declare const ColumnSchema: {
2973
+ readonly type: "object";
2974
+ readonly properties: {
2975
+ readonly stageId: {
2976
+ readonly type: "string";
2977
+ readonly format: "uuid";
2978
+ };
2979
+ readonly name: {
2980
+ readonly type: "string";
2981
+ };
2982
+ readonly color: {
2983
+ readonly type: "string";
2984
+ };
2985
+ readonly position: {
2986
+ readonly type: "integer";
2987
+ readonly format: "int32";
2988
+ };
2989
+ readonly totalTasks: {
2990
+ readonly type: "integer";
2991
+ readonly format: "int64";
2992
+ };
2993
+ readonly totalValue: {
2994
+ readonly type: "number";
2995
+ };
2996
+ readonly cards: {
2997
+ readonly $ref: "#/components/schemas/CursorPageTaskCardResponse";
2998
+ };
2999
+ };
3000
+ readonly required: readonly ["cards", "color", "name", "position", "stageId", "totalTasks", "totalValue"];
3001
+ };
3002
+ export declare const CursorPageTaskCardResponseSchema: {
3003
+ readonly type: "object";
3004
+ readonly properties: {
3005
+ readonly items: {
3006
+ readonly type: "array";
3007
+ readonly items: {
3008
+ readonly $ref: "#/components/schemas/TaskCardResponse";
3009
+ };
3010
+ };
3011
+ readonly nextCursor: {
3012
+ readonly type: "string";
3013
+ };
3014
+ readonly hasNext: {
3015
+ readonly type: "boolean";
3016
+ };
3017
+ };
3018
+ };
2787
3019
  export declare const StageCardsResponseSchema: {
2788
3020
  readonly type: "object";
2789
3021
  readonly properties: {
@@ -4058,6 +4290,11 @@ export declare const PropertyListingResponseSchema: {
4058
4290
  readonly $ref: "#/components/schemas/SocialPostResponse";
4059
4291
  };
4060
4292
  };
4293
+ readonly unansweredComments: {
4294
+ readonly type: "integer";
4295
+ readonly format: "int32";
4296
+ readonly description: "Comment threads waiting for an answer from the agency, across the listing's posts";
4297
+ };
4061
4298
  readonly createdAt: {
4062
4299
  readonly type: "string";
4063
4300
  readonly format: "date-time";
@@ -4067,7 +4304,7 @@ export declare const PropertyListingResponseSchema: {
4067
4304
  readonly format: "date-time";
4068
4305
  };
4069
4306
  };
4070
- readonly required: readonly ["createdAt", "crmState", "isProcessing", "listingId", "listingType", "marketplaceStatus", "platformListings", "price", "publicId", "socialPosts"];
4307
+ readonly required: readonly ["createdAt", "crmState", "isProcessing", "listingId", "listingType", "marketplaceStatus", "platformListings", "price", "publicId", "socialPosts", "unansweredComments"];
4071
4308
  };
4072
4309
  export declare const PropertyPageResponseSchema: {
4073
4310
  readonly type: "object";
@@ -4161,10 +4398,15 @@ export declare const SocialPostResponseSchema: {
4161
4398
  };
4162
4399
  readonly stats: {
4163
4400
  readonly $ref: "#/components/schemas/SocialPostStats";
4164
- readonly description: "The post's public counts as last read from Facebook / Instagram; null until the first read";
4401
+ readonly description: "The post's numbers as last read from Facebook / Instagram; null until the first read";
4402
+ };
4403
+ readonly unansweredComments: {
4404
+ readonly type: "integer";
4405
+ readonly format: "int32";
4406
+ readonly description: "Comment threads under the post waiting for an answer from the agency; 0 unless PUBLISHED";
4165
4407
  };
4166
4408
  };
4167
- readonly required: readonly ["caption", "channel", "createdBy", "postId", "status"];
4409
+ readonly required: readonly ["caption", "channel", "createdBy", "postId", "status", "unansweredComments"];
4168
4410
  };
4169
4411
  export declare const SocialPostStatsSchema: {
4170
4412
  readonly type: "object";
@@ -4172,22 +4414,34 @@ export declare const SocialPostStatsSchema: {
4172
4414
  readonly likes: {
4173
4415
  readonly type: "integer";
4174
4416
  readonly format: "int32";
4417
+ readonly description: "On Facebook all reactions, as Facebook shows them under the post";
4175
4418
  };
4176
4419
  readonly comments: {
4177
4420
  readonly type: "integer";
4178
4421
  readonly format: "int32";
4422
+ readonly description: "Replies included";
4179
4423
  };
4180
4424
  readonly shares: {
4181
4425
  readonly type: "integer";
4182
4426
  readonly format: "int32";
4183
4427
  };
4428
+ readonly views: {
4429
+ readonly type: "integer";
4430
+ readonly format: "int32";
4431
+ readonly description: "How many times the post was seen";
4432
+ };
4433
+ readonly reach: {
4434
+ readonly type: "integer";
4435
+ readonly format: "int32";
4436
+ readonly description: "How many people saw the post";
4437
+ };
4184
4438
  readonly fetchedAt: {
4185
4439
  readonly type: "string";
4186
4440
  readonly format: "date-time";
4187
- readonly description: "When the counts were read — show how old they are";
4441
+ readonly description: "When the numbers were read — show how old they are. Likes and comments are read every 15 minutes on the post's first day, then less often; Meta updates views and reach about once a day";
4188
4442
  };
4189
4443
  };
4190
- readonly required: readonly ["comments", "fetchedAt", "likes", "shares"];
4444
+ readonly required: readonly ["fetchedAt"];
4191
4445
  };
4192
4446
  export declare const ListingOwnerContactResponseSchema: {
4193
4447
  readonly type: "object";
@@ -4358,6 +4612,33 @@ export declare const MemberIdSchema: {
4358
4612
  };
4359
4613
  };
4360
4614
  };
4615
+ export declare const MemberMentionedSchema: {
4616
+ readonly properties: {
4617
+ readonly commentId: {
4618
+ readonly $ref: "#/components/schemas/CommentId";
4619
+ };
4620
+ readonly contactId: {
4621
+ readonly $ref: "#/components/schemas/ContactId";
4622
+ };
4623
+ readonly taskId: {
4624
+ readonly $ref: "#/components/schemas/TaskId";
4625
+ };
4626
+ readonly authorId: {
4627
+ readonly $ref: "#/components/schemas/MemberId";
4628
+ };
4629
+ readonly author: {
4630
+ readonly type: "string";
4631
+ };
4632
+ readonly commentSnippet: {
4633
+ readonly type: "string";
4634
+ };
4635
+ readonly kind: {
4636
+ readonly type: "string";
4637
+ readonly enum: readonly ["MEMBER_MENTIONED"];
4638
+ };
4639
+ };
4640
+ readonly required: readonly ["kind"];
4641
+ };
4361
4642
  export declare const NewMessageSchema: {
4362
4643
  readonly properties: {
4363
4644
  readonly contactId: {
@@ -4420,6 +4701,7 @@ export declare const NotificationContentSchema: {
4420
4701
  readonly mapping: {
4421
4702
  readonly AGENT_COMMENTED: "#/components/schemas/AgentCommented";
4422
4703
  readonly TASK_COMMENTED: "#/components/schemas/TaskCommented";
4704
+ readonly MEMBER_MENTIONED: "#/components/schemas/MemberMentioned";
4423
4705
  readonly LISTING_EXPIRED: "#/components/schemas/ListingExpired";
4424
4706
  readonly NEW_SEEKER_RATING: "#/components/schemas/NewSeekerRating";
4425
4707
  readonly NEW_MESSAGE: "#/components/schemas/NewMessage";
@@ -4430,6 +4712,7 @@ export declare const NotificationContentSchema: {
4430
4712
  readonly SUBSCRIPTION_PAYMENT_REVERSED: "#/components/schemas/SubscriptionPaymentReversed";
4431
4713
  readonly CHANNEL_REAUTH_REQUIRED: "#/components/schemas/ChannelReauthRequired";
4432
4714
  readonly SOCIAL_POST_FAILED: "#/components/schemas/SocialPostFailed";
4715
+ readonly SOCIAL_POST_COMMENTED: "#/components/schemas/SocialPostCommented";
4433
4716
  };
4434
4717
  };
4435
4718
  readonly required: readonly ["kind"];
@@ -4460,7 +4743,7 @@ export declare const NotificationViewSchema: {
4460
4743
  };
4461
4744
  readonly type: {
4462
4745
  readonly type: "string";
4463
- readonly enum: readonly ["AGENT_COMMENTED", "TASK_COMMENTED", "EXTERNAL_LISTING_EXPIRED", "LISTING_EXPIRED", "NEW_SEEKER_RATING", "NEW_MESSAGE", "CONTACT_ASSIGNED", "SUBSCRIPTION_PAYMENT_FAILED", "SUBSCRIPTION_ENDING", "SUBSCRIPTION_EXPIRED", "SUBSCRIPTION_PAYMENT_REVERSED", "CHANNEL_REAUTH_REQUIRED", "SOCIAL_POST_FAILED"];
4746
+ readonly enum: readonly ["AGENT_COMMENTED", "TASK_COMMENTED", "MEMBER_MENTIONED", "EXTERNAL_LISTING_EXPIRED", "LISTING_EXPIRED", "NEW_SEEKER_RATING", "NEW_MESSAGE", "CONTACT_ASSIGNED", "SUBSCRIPTION_PAYMENT_FAILED", "SUBSCRIPTION_ENDING", "SUBSCRIPTION_EXPIRED", "SUBSCRIPTION_PAYMENT_REVERSED", "CHANNEL_REAUTH_REQUIRED", "SOCIAL_POST_FAILED", "SOCIAL_POST_COMMENTED"];
4464
4747
  };
4465
4748
  readonly targetId: {
4466
4749
  readonly type: "string";
@@ -4474,10 +4757,14 @@ export declare const NotificationViewSchema: {
4474
4757
  readonly $ref: "#/components/schemas/ContactAssigned";
4475
4758
  }, {
4476
4759
  readonly $ref: "#/components/schemas/ListingExpired";
4760
+ }, {
4761
+ readonly $ref: "#/components/schemas/MemberMentioned";
4477
4762
  }, {
4478
4763
  readonly $ref: "#/components/schemas/NewMessage";
4479
4764
  }, {
4480
4765
  readonly $ref: "#/components/schemas/NewSeekerRating";
4766
+ }, {
4767
+ readonly $ref: "#/components/schemas/SocialPostCommented";
4481
4768
  }, {
4482
4769
  readonly $ref: "#/components/schemas/SocialPostFailed";
4483
4770
  }, {
@@ -4492,6 +4779,11 @@ export declare const NotificationViewSchema: {
4492
4779
  readonly $ref: "#/components/schemas/TaskCommented";
4493
4780
  }];
4494
4781
  };
4782
+ readonly count: {
4783
+ readonly type: "integer";
4784
+ readonly format: "int32";
4785
+ readonly description: "How many times this came while unread; the payload is the latest. For SOCIAL_POST_COMMENTED: the new comments on the post since its notification was last read. Starts again at 1 once read";
4786
+ };
4495
4787
  readonly createdAt: {
4496
4788
  readonly type: "string";
4497
4789
  readonly format: "date-time";
@@ -4500,7 +4792,7 @@ export declare const NotificationViewSchema: {
4500
4792
  readonly type: "boolean";
4501
4793
  };
4502
4794
  };
4503
- readonly required: readonly ["createdAt", "id", "payload", "read", "seq", "type"];
4795
+ readonly required: readonly ["count", "createdAt", "id", "payload", "read", "seq", "type"];
4504
4796
  };
4505
4797
  export declare const PropertyIdSchema: {
4506
4798
  readonly type: "object";
@@ -4511,6 +4803,53 @@ export declare const PropertyIdSchema: {
4511
4803
  };
4512
4804
  };
4513
4805
  };
4806
+ export declare const SocialCommentIdSchema: {
4807
+ readonly type: "object";
4808
+ readonly properties: {
4809
+ readonly value: {
4810
+ readonly type: "string";
4811
+ readonly format: "uuid";
4812
+ };
4813
+ };
4814
+ };
4815
+ export declare const SocialPostCommentedSchema: {
4816
+ readonly properties: {
4817
+ readonly postId: {
4818
+ readonly $ref: "#/components/schemas/SocialPostId";
4819
+ };
4820
+ readonly commentId: {
4821
+ readonly $ref: "#/components/schemas/SocialCommentId";
4822
+ };
4823
+ readonly contactId: {
4824
+ readonly $ref: "#/components/schemas/ContactId";
4825
+ };
4826
+ readonly propertyId: {
4827
+ readonly $ref: "#/components/schemas/PropertyId";
4828
+ };
4829
+ readonly listingId: {
4830
+ readonly type: "integer";
4831
+ readonly format: "int64";
4832
+ };
4833
+ readonly propertyTitle: {
4834
+ readonly type: "string";
4835
+ };
4836
+ readonly channel: {
4837
+ readonly type: "string";
4838
+ readonly enum: readonly ["FACEBOOK", "INSTAGRAM"];
4839
+ };
4840
+ readonly author: {
4841
+ readonly type: "string";
4842
+ };
4843
+ readonly commentSnippet: {
4844
+ readonly type: "string";
4845
+ };
4846
+ readonly kind: {
4847
+ readonly type: "string";
4848
+ readonly enum: readonly ["SOCIAL_POST_COMMENTED"];
4849
+ };
4850
+ };
4851
+ readonly required: readonly ["kind"];
4852
+ };
4514
4853
  export declare const SocialPostFailedSchema: {
4515
4854
  readonly properties: {
4516
4855
  readonly postId: {
@@ -5583,6 +5922,74 @@ export declare const ComposerPreviewSchema: {
5583
5922
  };
5584
5923
  readonly required: readonly ["access", "caption", "channel", "limits", "photos", "ratios"];
5585
5924
  };
5925
+ export declare const CursorPageSocialCommentThreadResponseSchema: {
5926
+ readonly type: "object";
5927
+ readonly properties: {
5928
+ readonly items: {
5929
+ readonly type: "array";
5930
+ readonly items: {
5931
+ readonly $ref: "#/components/schemas/SocialCommentThreadResponse";
5932
+ };
5933
+ };
5934
+ readonly nextCursor: {
5935
+ readonly type: "string";
5936
+ };
5937
+ readonly hasNext: {
5938
+ readonly type: "boolean";
5939
+ };
5940
+ };
5941
+ };
5942
+ export declare const SocialCommentPostSchema: {
5943
+ readonly type: "object";
5944
+ readonly properties: {
5945
+ readonly postId: {
5946
+ readonly type: "string";
5947
+ readonly format: "uuid";
5948
+ };
5949
+ readonly channel: {
5950
+ readonly type: "string";
5951
+ readonly enum: readonly ["FACEBOOK", "INSTAGRAM"];
5952
+ };
5953
+ readonly status: {
5954
+ readonly type: "string";
5955
+ readonly description: "PUBLISHED, or REMOVED once gone from Facebook / Instagram: its comments stay, and can no longer be answered";
5956
+ readonly enum: readonly ["PUBLISHING", "PUBLISHED", "FAILED", "REMOVED"];
5957
+ };
5958
+ readonly permalink: {
5959
+ readonly type: "string";
5960
+ };
5961
+ readonly publishedAt: {
5962
+ readonly type: "string";
5963
+ readonly format: "date-time";
5964
+ };
5965
+ };
5966
+ readonly required: readonly ["channel", "permalink", "postId", "publishedAt", "status"];
5967
+ };
5968
+ export declare const SocialCommentThreadResponseSchema: {
5969
+ readonly type: "object";
5970
+ readonly properties: {
5971
+ readonly post: {
5972
+ readonly $ref: "#/components/schemas/SocialCommentPost";
5973
+ readonly description: "The post the thread is under";
5974
+ };
5975
+ readonly comment: {
5976
+ readonly $ref: "#/components/schemas/SocialCommentResponse";
5977
+ readonly description: "The comment that started the thread";
5978
+ };
5979
+ readonly replies: {
5980
+ readonly type: "array";
5981
+ readonly description: "Oldest first, one level deep as Facebook and Instagram show it: a reply to a reply is listed here too";
5982
+ readonly items: {
5983
+ readonly $ref: "#/components/schemas/SocialCommentResponse";
5984
+ };
5985
+ };
5986
+ readonly answered: {
5987
+ readonly type: "boolean";
5988
+ readonly description: "False while the thread's latest comment from someone else has no reply from the agency after it. Hidden and removed comments need no answer, and a FAILED reply is none";
5989
+ };
5990
+ };
5991
+ readonly required: readonly ["answered", "comment", "post", "replies"];
5992
+ };
5586
5993
  export declare const ContactGridResponseSchema: {
5587
5994
  readonly type: "object";
5588
5995
  readonly properties: {
@@ -5732,10 +6139,7 @@ export declare const Client360ResponseSchema: {
5732
6139
  };
5733
6140
  };
5734
6141
  readonly tasks: {
5735
- readonly type: "array";
5736
- readonly items: {
5737
- readonly $ref: "#/components/schemas/ContactTaskResponse";
5738
- };
6142
+ readonly $ref: "#/components/schemas/ContactTasksResponse";
5739
6143
  };
5740
6144
  };
5741
6145
  readonly required: readonly ["agencyId", "contactId", "contactInfo", "createdAt", "createdBy", "interests", "isListing", "isSearching", "properties", "source", "tasks", "updatedAt"];