@homespot-sdk/core 0.0.361 → 0.0.363

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.
@@ -770,6 +770,44 @@ export declare const UploadAcknowledgmentResponseSchema: {
770
770
  };
771
771
  readonly required: readonly ["fail", "success"];
772
772
  };
773
+ export declare const PlanLimitResponseSchema: {
774
+ readonly type: "object";
775
+ readonly properties: {
776
+ readonly type: {
777
+ readonly type: "string";
778
+ readonly format: "uri";
779
+ };
780
+ readonly title: {
781
+ readonly type: "string";
782
+ };
783
+ readonly status: {
784
+ readonly type: "integer";
785
+ readonly format: "int32";
786
+ };
787
+ readonly detail: {
788
+ readonly type: "string";
789
+ };
790
+ readonly instance: {
791
+ readonly type: "string";
792
+ readonly format: "uri";
793
+ };
794
+ readonly limit: {
795
+ readonly type: "string";
796
+ readonly enum: readonly ["SEATS", "ACTIVE_LISTINGS", "SOCIAL_POSTS", "AGENCY_BRANDING"];
797
+ };
798
+ readonly used: {
799
+ readonly type: "integer";
800
+ readonly format: "int32";
801
+ readonly description: "How many are in use now; absent for a feature";
802
+ };
803
+ readonly allowed: {
804
+ readonly type: "integer";
805
+ readonly format: "int32";
806
+ readonly description: "How many the plan allows; absent for a feature";
807
+ };
808
+ };
809
+ readonly required: readonly ["limit"];
810
+ };
773
811
  export declare const ConnectLinkResponseSchema: {
774
812
  readonly type: "object";
775
813
  readonly properties: {
@@ -875,10 +913,12 @@ export declare const SubscribeRequestSchema: {
875
913
  readonly properties: {
876
914
  readonly plan: {
877
915
  readonly type: "string";
878
- readonly enum: readonly ["STARTER", "PRO", "ENTERPRISE"];
916
+ readonly description: "PLUS or PRO to check out right away, FREE to start on Free without the trial; absent to start on the trial only";
917
+ readonly enum: readonly ["FREE", "PLUS", "PRO", "ENTERPRISE"];
879
918
  };
880
919
  readonly billingCycle: {
881
920
  readonly type: "string";
921
+ readonly description: "Required with PLUS or PRO";
882
922
  readonly enum: readonly ["MONTHLY", "ANNUAL"];
883
923
  };
884
924
  readonly name: {
@@ -902,7 +942,7 @@ export declare const SubscribeRequestSchema: {
902
942
  readonly $ref: "#/components/schemas/SubscriptionAddressRequest";
903
943
  };
904
944
  };
905
- readonly required: readonly ["address", "billingCycle", "email", "name", "phone", "plan", "subdomain"];
945
+ readonly required: readonly ["address", "email", "name", "phone", "subdomain"];
906
946
  };
907
947
  export declare const SubscriptionAddressRequestSchema: {
908
948
  readonly type: "object";
@@ -940,7 +980,7 @@ export declare const SubscriptionCheckoutResponseSchema: {
940
980
  readonly properties: {
941
981
  readonly checkoutUrl: {
942
982
  readonly type: "string";
943
- readonly description: "Null when payment is already confirmed; continue onboarding without paying again";
983
+ readonly description: "Null when payment is already confirmed, or a signup picked no plan";
944
984
  };
945
985
  readonly agencyId: {
946
986
  readonly type: "string";
@@ -949,6 +989,7 @@ export declare const SubscriptionCheckoutResponseSchema: {
949
989
  readonly subscriptionId: {
950
990
  readonly type: "string";
951
991
  readonly format: "uuid";
992
+ readonly description: "Null for a signup that picked no plan: the agency is on its trial";
952
993
  };
953
994
  readonly status: {
954
995
  readonly type: "string";
@@ -961,7 +1002,7 @@ export declare const ChangePlanRequestSchema: {
961
1002
  readonly properties: {
962
1003
  readonly plan: {
963
1004
  readonly type: "string";
964
- readonly enum: readonly ["STARTER", "PRO", "ENTERPRISE"];
1005
+ readonly enum: readonly ["FREE", "PLUS", "PRO", "ENTERPRISE"];
965
1006
  };
966
1007
  readonly billingCycle: {
967
1008
  readonly type: "string";
@@ -975,7 +1016,7 @@ export declare const CheckoutRequestSchema: {
975
1016
  readonly properties: {
976
1017
  readonly plan: {
977
1018
  readonly type: "string";
978
- readonly enum: readonly ["STARTER", "PRO", "ENTERPRISE"];
1019
+ readonly enum: readonly ["FREE", "PLUS", "PRO", "ENTERPRISE"];
979
1020
  };
980
1021
  readonly billingCycle: {
981
1022
  readonly type: "string";
@@ -1676,6 +1717,11 @@ export declare const SocialCommentResponseSchema: {
1676
1717
  readonly type: "string";
1677
1718
  readonly format: "uuid";
1678
1719
  };
1720
+ readonly parentCommentId: {
1721
+ readonly type: "string";
1722
+ readonly format: "uuid";
1723
+ readonly description: "The comment it is shown under: the thread's first comment, or on Facebook's third level the second-level reply it sits under — Facebook goes no deeper, and Instagram shows one level of replies. Null on a thread's first comment";
1724
+ };
1679
1725
  readonly author: {
1680
1726
  readonly $ref: "#/components/schemas/SocialCommentAuthor";
1681
1727
  readonly description: "Who wrote it, as far as Facebook / Instagram say; null on the agency's own comments, and when Meta does not say";
@@ -1935,32 +1981,16 @@ export declare const AddTodoTemplateRequestSchema: {
1935
1981
  };
1936
1982
  readonly required: readonly ["applyToTasksInStage", "title"];
1937
1983
  };
1938
- export declare const ProvisionAgencyRequestSchema: {
1984
+ export declare const AdminCheckoutRequestSchema: {
1939
1985
  readonly type: "object";
1940
1986
  readonly properties: {
1941
- readonly ownerUserId: {
1942
- readonly type: "string";
1943
- readonly description: "The customer's existing user account id";
1944
- };
1945
- readonly name: {
1946
- readonly type: "string";
1947
- };
1948
- readonly email: {
1949
- readonly type: "string";
1950
- readonly format: "email";
1951
- };
1952
- readonly phone: {
1953
- readonly type: "string";
1954
- };
1955
- readonly subdomain: {
1987
+ readonly agencyId: {
1956
1988
  readonly type: "string";
1957
- };
1958
- readonly address: {
1959
- readonly $ref: "#/components/schemas/SubscriptionAddressRequest";
1989
+ readonly format: "uuid";
1960
1990
  };
1961
1991
  readonly plan: {
1962
1992
  readonly type: "string";
1963
- readonly enum: readonly ["STARTER", "PRO", "ENTERPRISE"];
1993
+ readonly enum: readonly ["FREE", "PLUS", "PRO", "ENTERPRISE"];
1964
1994
  };
1965
1995
  readonly billingCycle: {
1966
1996
  readonly type: "string";
@@ -1969,35 +1999,49 @@ export declare const ProvisionAgencyRequestSchema: {
1969
1999
  readonly priceMinorUnits: {
1970
2000
  readonly type: "integer";
1971
2001
  readonly format: "int64";
1972
- readonly description: "Exact per-cycle charge in minor units (tetri)";
2002
+ readonly description: "Exact per-cycle net price in minor units (tetri), VAT excluded";
1973
2003
  };
1974
2004
  readonly seats: {
1975
2005
  readonly type: "integer";
1976
2006
  readonly format: "int32";
1977
2007
  };
1978
- readonly monthlyContactLimit: {
2008
+ readonly activeListings: {
2009
+ readonly type: "integer";
2010
+ readonly format: "int32";
2011
+ };
2012
+ readonly aiMessages: {
1979
2013
  readonly type: "integer";
1980
2014
  readonly format: "int32";
1981
- readonly description: "Contacts the agency may create per calendar month";
2015
+ readonly description: "AI messages the agency shares each month; 0 means no AI";
2016
+ };
2017
+ readonly features: {
2018
+ readonly type: "array";
2019
+ readonly items: {
2020
+ readonly type: "string";
2021
+ readonly enum: readonly ["SOCIAL_POSTS", "AGENCY_BRANDING"];
2022
+ };
2023
+ readonly uniqueItems: true;
1982
2024
  };
1983
2025
  readonly trialDays: {
1984
2026
  readonly type: "integer";
1985
2027
  readonly format: "int32";
1986
2028
  readonly description: "Free-trial days; 0 charges immediately";
1987
2029
  };
2030
+ readonly discountMonths: {
2031
+ readonly type: "integer";
2032
+ readonly format: "int32";
2033
+ readonly description: "Months the price lasts (monthly billing only; the checkout charges the first). After them Flitt charges nothing more and the owner keeps the plan at its normal price by a plan change. Absent: until the plan changes";
2034
+ readonly minimum: 2;
2035
+ };
1988
2036
  };
1989
- readonly required: readonly ["address", "billingCycle", "email", "monthlyContactLimit", "name", "ownerUserId", "phone", "plan", "priceMinorUnits", "seats", "subdomain", "trialDays"];
2037
+ readonly required: readonly ["activeListings", "agencyId", "aiMessages", "billingCycle", "features", "plan", "priceMinorUnits", "seats", "trialDays"];
1990
2038
  };
1991
- export declare const AdminProvisionResponseSchema: {
2039
+ export declare const AdminCheckoutResponseSchema: {
1992
2040
  readonly type: "object";
1993
2041
  readonly properties: {
1994
2042
  readonly checkoutUrl: {
1995
2043
  readonly type: "string";
1996
2044
  };
1997
- readonly agencyId: {
1998
- readonly type: "string";
1999
- readonly format: "uuid";
2000
- };
2001
2045
  readonly subscriptionId: {
2002
2046
  readonly type: "string";
2003
2047
  readonly format: "uuid";
@@ -2076,8 +2120,12 @@ export declare const OrganizationSummaryViewResponseSchema: {
2076
2120
  readonly isPhoneVerified: {
2077
2121
  readonly type: "boolean";
2078
2122
  };
2123
+ readonly isSeatLocked: {
2124
+ readonly type: "boolean";
2125
+ readonly description: "Past the seats the agency's plan has after a downgrade: locked out until the owner upgrades or removes a member";
2126
+ };
2079
2127
  };
2080
- readonly required: readonly ["agencyId", "agencyName", "isOwner", "isPhoneVerified", "memberId", "permissions", "phone", "roleName", "status", "subdomain"];
2128
+ readonly required: readonly ["agencyId", "agencyName", "isOwner", "isPhoneVerified", "isSeatLocked", "memberId", "permissions", "phone", "roleName", "status", "subdomain"];
2081
2129
  };
2082
2130
  export declare const UserContextViewResponseSchema: {
2083
2131
  readonly type: "object";
@@ -3040,7 +3088,7 @@ export declare const SubscriptionResponseSchema: {
3040
3088
  };
3041
3089
  readonly plan: {
3042
3090
  readonly type: "string";
3043
- readonly enum: readonly ["STARTER", "PRO", "ENTERPRISE"];
3091
+ readonly enum: readonly ["FREE", "PLUS", "PRO", "ENTERPRISE"];
3044
3092
  };
3045
3093
  readonly billingCycle: {
3046
3094
  readonly type: "string";
@@ -3049,7 +3097,22 @@ export declare const SubscriptionResponseSchema: {
3049
3097
  readonly priceMinorUnits: {
3050
3098
  readonly type: "integer";
3051
3099
  readonly format: "int64";
3052
- readonly description: "Per-cycle price in minor units (tetri)";
3100
+ readonly description: "Per-cycle charge in minor units (tetri), VAT included";
3101
+ };
3102
+ readonly netMinorUnits: {
3103
+ readonly type: "integer";
3104
+ readonly format: "int64";
3105
+ readonly description: "The charge without VAT, in minor units";
3106
+ };
3107
+ readonly vatMinorUnits: {
3108
+ readonly type: "integer";
3109
+ readonly format: "int64";
3110
+ readonly description: "The VAT inside the charge, in minor units";
3111
+ };
3112
+ readonly vatPercent: {
3113
+ readonly type: "integer";
3114
+ readonly format: "int32";
3115
+ readonly description: "The VAT rate the subscription was sold at, in percent";
3053
3116
  };
3054
3117
  readonly currency: {
3055
3118
  readonly type: "string";
@@ -3058,9 +3121,22 @@ export declare const SubscriptionResponseSchema: {
3058
3121
  readonly type: "integer";
3059
3122
  readonly format: "int32";
3060
3123
  };
3061
- readonly monthlyContactLimit: {
3124
+ readonly activeListings: {
3125
+ readonly type: "integer";
3126
+ readonly format: "int32";
3127
+ };
3128
+ readonly aiMessages: {
3062
3129
  readonly type: "integer";
3063
3130
  readonly format: "int32";
3131
+ readonly description: "AI messages the agency shares each month; 0 means no AI";
3132
+ };
3133
+ readonly features: {
3134
+ readonly type: "array";
3135
+ readonly items: {
3136
+ readonly type: "string";
3137
+ readonly enum: readonly ["SOCIAL_POSTS", "AGENCY_BRANDING"];
3138
+ };
3139
+ readonly uniqueItems: true;
3064
3140
  };
3065
3141
  readonly trialDays: {
3066
3142
  readonly type: "integer";
@@ -3112,8 +3188,99 @@ export declare const SubscriptionResponseSchema: {
3112
3188
  readonly format: "date-time";
3113
3189
  readonly description: "When the most recently issued checkout link stops being payable";
3114
3190
  };
3191
+ readonly discountEndsAt: {
3192
+ readonly type: "string";
3193
+ readonly format: "date-time";
3194
+ readonly description: "Until when its discounted price applies; absent for any other price";
3195
+ };
3196
+ };
3197
+ readonly required: readonly ["activeListings", "aiMessages", "billingCycle", "createdAt", "currency", "features", "live", "netMinorUnits", "plan", "priceMinorUnits", "seats", "status", "subscriptionId", "trialDays", "vatMinorUnits", "vatPercent"];
3198
+ };
3199
+ export declare const AiMessagesSchema: {
3200
+ readonly type: "object";
3201
+ readonly properties: {
3202
+ readonly used: {
3203
+ readonly type: "integer";
3204
+ readonly format: "int64";
3205
+ };
3206
+ readonly limit: {
3207
+ readonly type: "integer";
3208
+ readonly format: "int64";
3209
+ readonly description: "Shared by the whole agency";
3210
+ };
3211
+ readonly resetsAt: {
3212
+ readonly type: "string";
3213
+ readonly format: "date-time";
3214
+ readonly description: "When the allowance renews: the next 1st in Tbilisi; absent during the trial, whose allowance covers all of it";
3215
+ };
3216
+ };
3217
+ readonly required: readonly ["limit", "used"];
3218
+ };
3219
+ export declare const PlanResponseSchema: {
3220
+ readonly type: "object";
3221
+ readonly properties: {
3222
+ readonly plan: {
3223
+ readonly type: "string";
3224
+ readonly enum: readonly ["FREE", "PLUS", "PRO", "ENTERPRISE"];
3225
+ };
3226
+ readonly canManage: {
3227
+ readonly type: "boolean";
3228
+ readonly description: "Whether the caller may change the plan: the owner";
3229
+ };
3230
+ readonly trial: {
3231
+ readonly $ref: "#/components/schemas/Trial";
3232
+ readonly description: "Present only during the trial every new agency starts with";
3233
+ };
3234
+ readonly subscription: {
3235
+ readonly $ref: "#/components/schemas/SubscriptionResponse";
3236
+ readonly description: "The subscription access comes from; absent on Free";
3237
+ };
3238
+ readonly seats: {
3239
+ readonly $ref: "#/components/schemas/Usage";
3240
+ };
3241
+ readonly activeListings: {
3242
+ readonly $ref: "#/components/schemas/Usage";
3243
+ };
3244
+ readonly aiMessages: {
3245
+ readonly $ref: "#/components/schemas/AiMessages";
3246
+ };
3247
+ readonly boards: {
3248
+ readonly $ref: "#/components/schemas/Usage";
3249
+ };
3250
+ readonly features: {
3251
+ readonly type: "array";
3252
+ readonly items: {
3253
+ readonly type: "string";
3254
+ readonly enum: readonly ["SOCIAL_POSTS", "AGENCY_BRANDING"];
3255
+ };
3256
+ readonly uniqueItems: true;
3257
+ };
3115
3258
  };
3116
- readonly required: readonly ["billingCycle", "createdAt", "currency", "live", "monthlyContactLimit", "plan", "priceMinorUnits", "seats", "status", "subscriptionId", "trialDays"];
3259
+ readonly required: readonly ["activeListings", "aiMessages", "boards", "canManage", "features", "plan", "seats"];
3260
+ };
3261
+ export declare const TrialSchema: {
3262
+ readonly type: "object";
3263
+ readonly properties: {
3264
+ readonly endsAt: {
3265
+ readonly type: "string";
3266
+ readonly format: "date-time";
3267
+ };
3268
+ };
3269
+ readonly required: readonly ["endsAt"];
3270
+ };
3271
+ export declare const UsageSchema: {
3272
+ readonly type: "object";
3273
+ readonly properties: {
3274
+ readonly used: {
3275
+ readonly type: "integer";
3276
+ readonly format: "int64";
3277
+ };
3278
+ readonly limit: {
3279
+ readonly type: "integer";
3280
+ readonly format: "int64";
3281
+ };
3282
+ };
3283
+ readonly required: readonly ["limit", "used"];
3117
3284
  };
3118
3285
  export declare const PaymentResponseSchema: {
3119
3286
  readonly type: "object";
@@ -3147,6 +3314,22 @@ export declare const PaymentResponseSchema: {
3147
3314
  readonly amountMinorUnits: {
3148
3315
  readonly type: "integer";
3149
3316
  readonly format: "int64";
3317
+ readonly description: "VAT included";
3318
+ };
3319
+ readonly netMinorUnits: {
3320
+ readonly type: "integer";
3321
+ readonly format: "int64";
3322
+ readonly description: "The amount without VAT, at the subscription's rate";
3323
+ };
3324
+ readonly vatMinorUnits: {
3325
+ readonly type: "integer";
3326
+ readonly format: "int64";
3327
+ readonly description: "The VAT inside the amount";
3328
+ };
3329
+ readonly vatPercent: {
3330
+ readonly type: "integer";
3331
+ readonly format: "int32";
3332
+ readonly description: "The subscription's VAT rate, in percent";
3150
3333
  };
3151
3334
  readonly currency: {
3152
3335
  readonly type: "string";
@@ -3166,7 +3349,7 @@ export declare const PaymentResponseSchema: {
3166
3349
  readonly format: "date-time";
3167
3350
  };
3168
3351
  };
3169
- readonly required: readonly ["flittOrderId", "flittPaymentId", "id", "orderStatus", "outcome", "receivedAt", "subscriptionId"];
3352
+ readonly required: readonly ["flittOrderId", "flittPaymentId", "id", "orderStatus", "outcome", "receivedAt", "subscriptionId", "vatPercent"];
3170
3353
  };
3171
3354
  export declare const BucketSchema: {
3172
3355
  readonly type: "object";
@@ -3619,11 +3802,15 @@ export declare const InterestResponseSchema: {
3619
3802
  readonly boundedBox: {
3620
3803
  readonly $ref: "#/components/schemas/BoundingBox";
3621
3804
  };
3805
+ readonly agencyBranding: {
3806
+ readonly type: "boolean";
3807
+ readonly description: "Whether client pages show the agency's own logo; HomeSpot's when false";
3808
+ };
3622
3809
  readonly recommendations: {
3623
3810
  readonly $ref: "#/components/schemas/PagedModelRecommendationsCardView";
3624
3811
  };
3625
3812
  };
3626
- readonly required: readonly ["createdAt", "criteria", "id", "recommendationStats", "recommendations", "shareToken", "status", "title"];
3813
+ readonly required: readonly ["agencyBranding", "createdAt", "criteria", "id", "recommendationStats", "recommendations", "shareToken", "status", "title"];
3627
3814
  };
3628
3815
  export declare const PagedModelRecommendationsCardViewSchema: {
3629
3816
  readonly type: "object";
@@ -3789,6 +3976,107 @@ export declare const RecommendationDecisionResponseSchema: {
3789
3976
  };
3790
3977
  readonly required: readonly ["decision", "externalListingId", "externalPropertyId"];
3791
3978
  };
3979
+ export declare const AmountSchema: {
3980
+ readonly type: "object";
3981
+ readonly properties: {
3982
+ readonly netMinorUnits: {
3983
+ readonly type: "integer";
3984
+ readonly format: "int64";
3985
+ };
3986
+ readonly vatMinorUnits: {
3987
+ readonly type: "integer";
3988
+ readonly format: "int64";
3989
+ };
3990
+ readonly totalMinorUnits: {
3991
+ readonly type: "integer";
3992
+ readonly format: "int64";
3993
+ };
3994
+ };
3995
+ readonly required: readonly ["netMinorUnits", "totalMinorUnits", "vatMinorUnits"];
3996
+ };
3997
+ export declare const CatalogResponseSchema: {
3998
+ readonly type: "object";
3999
+ readonly properties: {
4000
+ readonly currency: {
4001
+ readonly type: "string";
4002
+ };
4003
+ readonly vatPercent: {
4004
+ readonly type: "integer";
4005
+ readonly format: "int32";
4006
+ };
4007
+ readonly plans: {
4008
+ readonly type: "array";
4009
+ readonly description: "Free, Plus and Pro";
4010
+ readonly items: {
4011
+ readonly $ref: "#/components/schemas/PlanOffer";
4012
+ };
4013
+ };
4014
+ readonly enterpriseFromMonthly: {
4015
+ readonly $ref: "#/components/schemas/Amount";
4016
+ readonly description: "Enterprise's lowest monthly price; every deal is priced individually";
4017
+ };
4018
+ readonly trial: {
4019
+ readonly $ref: "#/components/schemas/TrialOffer";
4020
+ };
4021
+ };
4022
+ readonly required: readonly ["currency", "enterpriseFromMonthly", "plans", "trial", "vatPercent"];
4023
+ };
4024
+ export declare const PlanOfferSchema: {
4025
+ readonly type: "object";
4026
+ readonly properties: {
4027
+ readonly plan: {
4028
+ readonly type: "string";
4029
+ readonly enum: readonly ["FREE", "PLUS", "PRO", "ENTERPRISE"];
4030
+ };
4031
+ readonly monthly: {
4032
+ readonly $ref: "#/components/schemas/Amount";
4033
+ };
4034
+ readonly yearly: {
4035
+ readonly $ref: "#/components/schemas/Amount";
4036
+ };
4037
+ readonly seats: {
4038
+ readonly type: "integer";
4039
+ readonly format: "int32";
4040
+ };
4041
+ readonly activeListings: {
4042
+ readonly type: "integer";
4043
+ readonly format: "int32";
4044
+ };
4045
+ readonly aiMessages: {
4046
+ readonly type: "integer";
4047
+ readonly format: "int32";
4048
+ readonly description: "A month's AI messages, shared by the whole agency";
4049
+ };
4050
+ readonly features: {
4051
+ readonly type: "array";
4052
+ readonly items: {
4053
+ readonly type: "string";
4054
+ readonly enum: readonly ["SOCIAL_POSTS", "AGENCY_BRANDING"];
4055
+ };
4056
+ readonly uniqueItems: true;
4057
+ };
4058
+ };
4059
+ readonly required: readonly ["activeListings", "aiMessages", "features", "monthly", "plan", "seats", "yearly"];
4060
+ };
4061
+ export declare const TrialOfferSchema: {
4062
+ readonly type: "object";
4063
+ readonly properties: {
4064
+ readonly days: {
4065
+ readonly type: "integer";
4066
+ readonly format: "int32";
4067
+ };
4068
+ readonly plan: {
4069
+ readonly type: "string";
4070
+ readonly enum: readonly ["FREE", "PLUS", "PRO", "ENTERPRISE"];
4071
+ };
4072
+ readonly aiMessages: {
4073
+ readonly type: "integer";
4074
+ readonly format: "int32";
4075
+ readonly description: "For the whole trial";
4076
+ };
4077
+ };
4078
+ readonly required: readonly ["aiMessages", "days", "plan"];
4079
+ };
3792
4080
  export declare const GroupedPermissionsResponseSchema: {
3793
4081
  readonly type: "object";
3794
4082
  readonly properties: {
@@ -4484,6 +4772,40 @@ export declare const AgentCommentedSchema: {
4484
4772
  };
4485
4773
  readonly required: readonly ["kind"];
4486
4774
  };
4775
+ export declare const AiMessagesRunningLowSchema: {
4776
+ readonly properties: {
4777
+ readonly used: {
4778
+ readonly type: "integer";
4779
+ readonly format: "int64";
4780
+ };
4781
+ readonly allowance: {
4782
+ readonly type: "integer";
4783
+ readonly format: "int32";
4784
+ };
4785
+ readonly kind: {
4786
+ readonly type: "string";
4787
+ readonly enum: readonly ["AI_MESSAGES_RUNNING_LOW"];
4788
+ };
4789
+ };
4790
+ readonly required: readonly ["kind"];
4791
+ };
4792
+ export declare const AiMessagesUsedUpSchema: {
4793
+ readonly properties: {
4794
+ readonly allowance: {
4795
+ readonly type: "integer";
4796
+ readonly format: "int32";
4797
+ };
4798
+ readonly renewsAt: {
4799
+ readonly type: "string";
4800
+ readonly format: "date-time";
4801
+ };
4802
+ readonly kind: {
4803
+ readonly type: "string";
4804
+ readonly enum: readonly ["AI_MESSAGES_USED_UP"];
4805
+ };
4806
+ };
4807
+ readonly required: readonly ["kind"];
4808
+ };
4487
4809
  export declare const ChannelReauthRequiredSchema: {
4488
4810
  readonly properties: {
4489
4811
  readonly connectionId: {
@@ -4581,6 +4903,22 @@ export declare const CursorPageNotificationViewSchema: {
4581
4903
  };
4582
4904
  };
4583
4905
  };
4906
+ export declare const DiscountEndingSchema: {
4907
+ readonly properties: {
4908
+ readonly subscriptionId: {
4909
+ readonly $ref: "#/components/schemas/SubscriptionId";
4910
+ };
4911
+ readonly endsAt: {
4912
+ readonly type: "string";
4913
+ readonly format: "date-time";
4914
+ };
4915
+ readonly kind: {
4916
+ readonly type: "string";
4917
+ readonly enum: readonly ["DISCOUNT_ENDING"];
4918
+ };
4919
+ };
4920
+ readonly required: readonly ["kind"];
4921
+ };
4584
4922
  export declare const ListingExpiredSchema: {
4585
4923
  readonly properties: {
4586
4924
  readonly contactId: {
@@ -4710,6 +5048,11 @@ export declare const NotificationContentSchema: {
4710
5048
  readonly SUBSCRIPTION_ENDING: "#/components/schemas/SubscriptionEnding";
4711
5049
  readonly SUBSCRIPTION_EXPIRED: "#/components/schemas/SubscriptionExpired";
4712
5050
  readonly SUBSCRIPTION_PAYMENT_REVERSED: "#/components/schemas/SubscriptionPaymentReversed";
5051
+ readonly TRIAL_ENDING: "#/components/schemas/TrialEnding";
5052
+ readonly TRIAL_ENDED: "#/components/schemas/TrialEnded";
5053
+ readonly DISCOUNT_ENDING: "#/components/schemas/DiscountEnding";
5054
+ readonly AI_MESSAGES_RUNNING_LOW: "#/components/schemas/AiMessagesRunningLow";
5055
+ readonly AI_MESSAGES_USED_UP: "#/components/schemas/AiMessagesUsedUp";
4713
5056
  readonly CHANNEL_REAUTH_REQUIRED: "#/components/schemas/ChannelReauthRequired";
4714
5057
  readonly SOCIAL_POST_FAILED: "#/components/schemas/SocialPostFailed";
4715
5058
  readonly SOCIAL_POST_COMMENTED: "#/components/schemas/SocialPostCommented";
@@ -4743,7 +5086,7 @@ export declare const NotificationViewSchema: {
4743
5086
  };
4744
5087
  readonly type: {
4745
5088
  readonly type: "string";
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"];
5089
+ 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", "TRIAL_ENDING", "TRIAL_ENDED", "DISCOUNT_ENDING", "AI_MESSAGES_RUNNING_LOW", "AI_MESSAGES_USED_UP", "CHANNEL_REAUTH_REQUIRED", "SOCIAL_POST_FAILED", "SOCIAL_POST_COMMENTED"];
4747
5090
  };
4748
5091
  readonly targetId: {
4749
5092
  readonly type: "string";
@@ -4751,10 +5094,16 @@ export declare const NotificationViewSchema: {
4751
5094
  readonly payload: {
4752
5095
  readonly oneOf: readonly [{
4753
5096
  readonly $ref: "#/components/schemas/AgentCommented";
5097
+ }, {
5098
+ readonly $ref: "#/components/schemas/AiMessagesRunningLow";
5099
+ }, {
5100
+ readonly $ref: "#/components/schemas/AiMessagesUsedUp";
4754
5101
  }, {
4755
5102
  readonly $ref: "#/components/schemas/ChannelReauthRequired";
4756
5103
  }, {
4757
5104
  readonly $ref: "#/components/schemas/ContactAssigned";
5105
+ }, {
5106
+ readonly $ref: "#/components/schemas/DiscountEnding";
4758
5107
  }, {
4759
5108
  readonly $ref: "#/components/schemas/ListingExpired";
4760
5109
  }, {
@@ -4777,6 +5126,10 @@ export declare const NotificationViewSchema: {
4777
5126
  readonly $ref: "#/components/schemas/SubscriptionPaymentReversed";
4778
5127
  }, {
4779
5128
  readonly $ref: "#/components/schemas/TaskCommented";
5129
+ }, {
5130
+ readonly $ref: "#/components/schemas/TrialEnded";
5131
+ }, {
5132
+ readonly $ref: "#/components/schemas/TrialEnding";
4780
5133
  }];
4781
5134
  };
4782
5135
  readonly count: {
@@ -5000,6 +5353,28 @@ export declare const TaskIdSchema: {
5000
5353
  };
5001
5354
  };
5002
5355
  };
5356
+ export declare const TrialEndedSchema: {
5357
+ readonly properties: {
5358
+ readonly kind: {
5359
+ readonly type: "string";
5360
+ readonly enum: readonly ["TRIAL_ENDED"];
5361
+ };
5362
+ };
5363
+ readonly required: readonly ["kind"];
5364
+ };
5365
+ export declare const TrialEndingSchema: {
5366
+ readonly properties: {
5367
+ readonly endsAt: {
5368
+ readonly type: "string";
5369
+ readonly format: "date-time";
5370
+ };
5371
+ readonly kind: {
5372
+ readonly type: "string";
5373
+ readonly enum: readonly ["TRIAL_ENDING"];
5374
+ };
5375
+ };
5376
+ readonly required: readonly ["kind"];
5377
+ };
5003
5378
  export declare const UnreadCountSchema: {
5004
5379
  readonly type: "object";
5005
5380
  readonly properties: {
@@ -5331,6 +5706,16 @@ export declare const ListingGridResponseSchema: {
5331
5706
  readonly type: "string";
5332
5707
  readonly enum: readonly ["SALE", "RENT", "DAILY_RENT", "PLEDGE"];
5333
5708
  };
5709
+ readonly listingState: {
5710
+ readonly type: "string";
5711
+ readonly description: "Whether the agency still works the listing; null for a property without one";
5712
+ readonly enum: readonly ["OPEN", "CLOSED"];
5713
+ };
5714
+ readonly marketplaceStatus: {
5715
+ readonly type: "string";
5716
+ readonly description: "The listing on HomeSpot's own marketplace; null for a property without one";
5717
+ readonly enum: readonly ["ACTIVE", "PAUSED", "EXPIRED"];
5718
+ };
5334
5719
  readonly price: {
5335
5720
  readonly type: "number";
5336
5721
  };
@@ -5390,6 +5775,11 @@ export declare const PlatformViewSchema: {
5390
5775
  readonly type: "string";
5391
5776
  readonly enum: readonly ["SS", "MY_HOME"];
5392
5777
  };
5778
+ readonly status: {
5779
+ readonly type: "string";
5780
+ readonly description: "PENDING until the portal answers; SYNDICATED while live";
5781
+ readonly enum: readonly ["PENDING", "SYNDICATED", "FAILED", "EXPIRED", "WITHDRAWING", "WITHDRAWN"];
5782
+ };
5393
5783
  readonly expiresAt: {
5394
5784
  readonly type: "string";
5395
5785
  readonly format: "date";
@@ -5403,6 +5793,7 @@ export declare const PlatformViewSchema: {
5403
5793
  readonly format: "date";
5404
5794
  };
5405
5795
  };
5796
+ readonly required: readonly ["status"];
5406
5797
  };
5407
5798
  export declare const SocialPostLinkSchema: {
5408
5799
  readonly type: "object";
@@ -5538,6 +5929,9 @@ export declare const InterestGridResponseSchema: {
5538
5929
  readonly bedrooms: {
5539
5930
  readonly $ref: "#/components/schemas/RoomRange";
5540
5931
  };
5932
+ readonly bathrooms: {
5933
+ readonly $ref: "#/components/schemas/RoomRange";
5934
+ };
5541
5935
  readonly totalArea: {
5542
5936
  readonly $ref: "#/components/schemas/AreaRange";
5543
5937
  };
@@ -5547,12 +5941,28 @@ export declare const InterestGridResponseSchema: {
5547
5941
  readonly address: {
5548
5942
  readonly $ref: "#/components/schemas/AddressView";
5549
5943
  };
5944
+ readonly locationType: {
5945
+ readonly type: "string";
5946
+ readonly enum: readonly ["REGION", "DISTRICT", "SUBDISTRICT", "STREET"];
5947
+ };
5948
+ readonly locationId: {
5949
+ readonly type: "integer";
5950
+ readonly format: "int64";
5951
+ };
5550
5952
  readonly status: {
5551
5953
  readonly type: "string";
5552
5954
  readonly enum: readonly ["UNPUBLISHED", "PUBLISHED", "CLOSED"];
5553
5955
  };
5956
+ readonly shareToken: {
5957
+ readonly type: "string";
5958
+ readonly format: "uuid";
5959
+ };
5960
+ readonly recommendationCount: {
5961
+ readonly type: "integer";
5962
+ readonly format: "int32";
5963
+ };
5554
5964
  };
5555
- readonly required: readonly ["createdBy", "interestId", "listingType", "personalDetails", "propertyTypes", "status", "title"];
5965
+ readonly required: readonly ["createdBy", "interestId", "listingType", "personalDetails", "propertyTypes", "recommendationCount", "shareToken", "status", "title"];
5556
5966
  };
5557
5967
  export declare const MoneySchema: {
5558
5968
  readonly type: "object";
@@ -5978,7 +6388,7 @@ export declare const SocialCommentThreadResponseSchema: {
5978
6388
  };
5979
6389
  readonly replies: {
5980
6390
  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";
6391
+ readonly description: "All of the thread's replies, oldest first; each one's parentCommentId says which comment it is shown under (Facebook shows two levels of replies, Instagram one)";
5982
6392
  readonly items: {
5983
6393
  readonly $ref: "#/components/schemas/SocialCommentResponse";
5984
6394
  };
@@ -5990,6 +6400,60 @@ export declare const SocialCommentThreadResponseSchema: {
5990
6400
  };
5991
6401
  readonly required: readonly ["answered", "comment", "post", "replies"];
5992
6402
  };
6403
+ export declare const ListingMatchSchema: {
6404
+ readonly type: "object";
6405
+ readonly properties: {
6406
+ readonly externalPropertyId: {
6407
+ readonly type: "string";
6408
+ readonly format: "uuid";
6409
+ };
6410
+ readonly externalListingId: {
6411
+ readonly type: "string";
6412
+ readonly format: "uuid";
6413
+ };
6414
+ readonly listingType: {
6415
+ readonly type: "string";
6416
+ readonly enum: readonly ["SALE", "RENT", "DAILY_RENT", "PLEDGE"];
6417
+ };
6418
+ readonly price: {
6419
+ readonly type: "number";
6420
+ };
6421
+ readonly propertyType: {
6422
+ readonly type: "string";
6423
+ 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"];
6424
+ };
6425
+ readonly address: {
6426
+ readonly type: "string";
6427
+ };
6428
+ readonly lat: {
6429
+ readonly type: "number";
6430
+ readonly format: "double";
6431
+ };
6432
+ readonly lng: {
6433
+ readonly type: "number";
6434
+ readonly format: "double";
6435
+ };
6436
+ readonly totalArea: {
6437
+ readonly type: "number";
6438
+ readonly format: "double";
6439
+ };
6440
+ readonly bedrooms: {
6441
+ readonly type: "integer";
6442
+ readonly format: "int32";
6443
+ };
6444
+ readonly bathrooms: {
6445
+ readonly type: "integer";
6446
+ readonly format: "int32";
6447
+ };
6448
+ readonly featuredPhotos: {
6449
+ readonly type: "array";
6450
+ readonly items: {
6451
+ readonly type: "string";
6452
+ };
6453
+ };
6454
+ };
6455
+ readonly required: readonly ["bathrooms", "bedrooms", "externalListingId", "externalPropertyId", "featuredPhotos", "lat", "listingType", "lng", "price", "propertyType", "totalArea"];
6456
+ };
5993
6457
  export declare const ContactGridResponseSchema: {
5994
6458
  readonly type: "object";
5995
6459
  readonly properties: {