@homespot-sdk/core 0.0.362 → 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";
@@ -1940,32 +1981,16 @@ export declare const AddTodoTemplateRequestSchema: {
1940
1981
  };
1941
1982
  readonly required: readonly ["applyToTasksInStage", "title"];
1942
1983
  };
1943
- export declare const ProvisionAgencyRequestSchema: {
1984
+ export declare const AdminCheckoutRequestSchema: {
1944
1985
  readonly type: "object";
1945
1986
  readonly properties: {
1946
- readonly ownerUserId: {
1947
- readonly type: "string";
1948
- readonly description: "The customer's existing user account id";
1949
- };
1950
- readonly name: {
1951
- readonly type: "string";
1952
- };
1953
- readonly email: {
1954
- readonly type: "string";
1955
- readonly format: "email";
1956
- };
1957
- readonly phone: {
1958
- readonly type: "string";
1959
- };
1960
- readonly subdomain: {
1987
+ readonly agencyId: {
1961
1988
  readonly type: "string";
1962
- };
1963
- readonly address: {
1964
- readonly $ref: "#/components/schemas/SubscriptionAddressRequest";
1989
+ readonly format: "uuid";
1965
1990
  };
1966
1991
  readonly plan: {
1967
1992
  readonly type: "string";
1968
- readonly enum: readonly ["STARTER", "PRO", "ENTERPRISE"];
1993
+ readonly enum: readonly ["FREE", "PLUS", "PRO", "ENTERPRISE"];
1969
1994
  };
1970
1995
  readonly billingCycle: {
1971
1996
  readonly type: "string";
@@ -1974,35 +1999,49 @@ export declare const ProvisionAgencyRequestSchema: {
1974
1999
  readonly priceMinorUnits: {
1975
2000
  readonly type: "integer";
1976
2001
  readonly format: "int64";
1977
- readonly description: "Exact per-cycle charge in minor units (tetri)";
2002
+ readonly description: "Exact per-cycle net price in minor units (tetri), VAT excluded";
1978
2003
  };
1979
2004
  readonly seats: {
1980
2005
  readonly type: "integer";
1981
2006
  readonly format: "int32";
1982
2007
  };
1983
- readonly monthlyContactLimit: {
2008
+ readonly activeListings: {
2009
+ readonly type: "integer";
2010
+ readonly format: "int32";
2011
+ };
2012
+ readonly aiMessages: {
1984
2013
  readonly type: "integer";
1985
2014
  readonly format: "int32";
1986
- 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;
1987
2024
  };
1988
2025
  readonly trialDays: {
1989
2026
  readonly type: "integer";
1990
2027
  readonly format: "int32";
1991
2028
  readonly description: "Free-trial days; 0 charges immediately";
1992
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
+ };
1993
2036
  };
1994
- 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"];
1995
2038
  };
1996
- export declare const AdminProvisionResponseSchema: {
2039
+ export declare const AdminCheckoutResponseSchema: {
1997
2040
  readonly type: "object";
1998
2041
  readonly properties: {
1999
2042
  readonly checkoutUrl: {
2000
2043
  readonly type: "string";
2001
2044
  };
2002
- readonly agencyId: {
2003
- readonly type: "string";
2004
- readonly format: "uuid";
2005
- };
2006
2045
  readonly subscriptionId: {
2007
2046
  readonly type: "string";
2008
2047
  readonly format: "uuid";
@@ -2081,8 +2120,12 @@ export declare const OrganizationSummaryViewResponseSchema: {
2081
2120
  readonly isPhoneVerified: {
2082
2121
  readonly type: "boolean";
2083
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
+ };
2084
2127
  };
2085
- 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"];
2086
2129
  };
2087
2130
  export declare const UserContextViewResponseSchema: {
2088
2131
  readonly type: "object";
@@ -3045,7 +3088,7 @@ export declare const SubscriptionResponseSchema: {
3045
3088
  };
3046
3089
  readonly plan: {
3047
3090
  readonly type: "string";
3048
- readonly enum: readonly ["STARTER", "PRO", "ENTERPRISE"];
3091
+ readonly enum: readonly ["FREE", "PLUS", "PRO", "ENTERPRISE"];
3049
3092
  };
3050
3093
  readonly billingCycle: {
3051
3094
  readonly type: "string";
@@ -3054,7 +3097,22 @@ export declare const SubscriptionResponseSchema: {
3054
3097
  readonly priceMinorUnits: {
3055
3098
  readonly type: "integer";
3056
3099
  readonly format: "int64";
3057
- 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";
3058
3116
  };
3059
3117
  readonly currency: {
3060
3118
  readonly type: "string";
@@ -3063,10 +3121,23 @@ export declare const SubscriptionResponseSchema: {
3063
3121
  readonly type: "integer";
3064
3122
  readonly format: "int32";
3065
3123
  };
3066
- readonly monthlyContactLimit: {
3124
+ readonly activeListings: {
3067
3125
  readonly type: "integer";
3068
3126
  readonly format: "int32";
3069
3127
  };
3128
+ readonly aiMessages: {
3129
+ readonly type: "integer";
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;
3140
+ };
3070
3141
  readonly trialDays: {
3071
3142
  readonly type: "integer";
3072
3143
  readonly format: "int32";
@@ -3117,8 +3188,99 @@ export declare const SubscriptionResponseSchema: {
3117
3188
  readonly format: "date-time";
3118
3189
  readonly description: "When the most recently issued checkout link stops being payable";
3119
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
+ };
3120
3196
  };
3121
- readonly required: readonly ["billingCycle", "createdAt", "currency", "live", "monthlyContactLimit", "plan", "priceMinorUnits", "seats", "status", "subscriptionId", "trialDays"];
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
+ };
3258
+ };
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"];
3122
3284
  };
3123
3285
  export declare const PaymentResponseSchema: {
3124
3286
  readonly type: "object";
@@ -3152,6 +3314,22 @@ export declare const PaymentResponseSchema: {
3152
3314
  readonly amountMinorUnits: {
3153
3315
  readonly type: "integer";
3154
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";
3155
3333
  };
3156
3334
  readonly currency: {
3157
3335
  readonly type: "string";
@@ -3171,7 +3349,7 @@ export declare const PaymentResponseSchema: {
3171
3349
  readonly format: "date-time";
3172
3350
  };
3173
3351
  };
3174
- readonly required: readonly ["flittOrderId", "flittPaymentId", "id", "orderStatus", "outcome", "receivedAt", "subscriptionId"];
3352
+ readonly required: readonly ["flittOrderId", "flittPaymentId", "id", "orderStatus", "outcome", "receivedAt", "subscriptionId", "vatPercent"];
3175
3353
  };
3176
3354
  export declare const BucketSchema: {
3177
3355
  readonly type: "object";
@@ -3624,11 +3802,15 @@ export declare const InterestResponseSchema: {
3624
3802
  readonly boundedBox: {
3625
3803
  readonly $ref: "#/components/schemas/BoundingBox";
3626
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
+ };
3627
3809
  readonly recommendations: {
3628
3810
  readonly $ref: "#/components/schemas/PagedModelRecommendationsCardView";
3629
3811
  };
3630
3812
  };
3631
- readonly required: readonly ["createdAt", "criteria", "id", "recommendationStats", "recommendations", "shareToken", "status", "title"];
3813
+ readonly required: readonly ["agencyBranding", "createdAt", "criteria", "id", "recommendationStats", "recommendations", "shareToken", "status", "title"];
3632
3814
  };
3633
3815
  export declare const PagedModelRecommendationsCardViewSchema: {
3634
3816
  readonly type: "object";
@@ -3794,6 +3976,107 @@ export declare const RecommendationDecisionResponseSchema: {
3794
3976
  };
3795
3977
  readonly required: readonly ["decision", "externalListingId", "externalPropertyId"];
3796
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
+ };
3797
4080
  export declare const GroupedPermissionsResponseSchema: {
3798
4081
  readonly type: "object";
3799
4082
  readonly properties: {
@@ -4489,6 +4772,40 @@ export declare const AgentCommentedSchema: {
4489
4772
  };
4490
4773
  readonly required: readonly ["kind"];
4491
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
+ };
4492
4809
  export declare const ChannelReauthRequiredSchema: {
4493
4810
  readonly properties: {
4494
4811
  readonly connectionId: {
@@ -4586,6 +4903,22 @@ export declare const CursorPageNotificationViewSchema: {
4586
4903
  };
4587
4904
  };
4588
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
+ };
4589
4922
  export declare const ListingExpiredSchema: {
4590
4923
  readonly properties: {
4591
4924
  readonly contactId: {
@@ -4715,6 +5048,11 @@ export declare const NotificationContentSchema: {
4715
5048
  readonly SUBSCRIPTION_ENDING: "#/components/schemas/SubscriptionEnding";
4716
5049
  readonly SUBSCRIPTION_EXPIRED: "#/components/schemas/SubscriptionExpired";
4717
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";
4718
5056
  readonly CHANNEL_REAUTH_REQUIRED: "#/components/schemas/ChannelReauthRequired";
4719
5057
  readonly SOCIAL_POST_FAILED: "#/components/schemas/SocialPostFailed";
4720
5058
  readonly SOCIAL_POST_COMMENTED: "#/components/schemas/SocialPostCommented";
@@ -4748,7 +5086,7 @@ export declare const NotificationViewSchema: {
4748
5086
  };
4749
5087
  readonly type: {
4750
5088
  readonly type: "string";
4751
- 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"];
4752
5090
  };
4753
5091
  readonly targetId: {
4754
5092
  readonly type: "string";
@@ -4756,10 +5094,16 @@ export declare const NotificationViewSchema: {
4756
5094
  readonly payload: {
4757
5095
  readonly oneOf: readonly [{
4758
5096
  readonly $ref: "#/components/schemas/AgentCommented";
5097
+ }, {
5098
+ readonly $ref: "#/components/schemas/AiMessagesRunningLow";
5099
+ }, {
5100
+ readonly $ref: "#/components/schemas/AiMessagesUsedUp";
4759
5101
  }, {
4760
5102
  readonly $ref: "#/components/schemas/ChannelReauthRequired";
4761
5103
  }, {
4762
5104
  readonly $ref: "#/components/schemas/ContactAssigned";
5105
+ }, {
5106
+ readonly $ref: "#/components/schemas/DiscountEnding";
4763
5107
  }, {
4764
5108
  readonly $ref: "#/components/schemas/ListingExpired";
4765
5109
  }, {
@@ -4782,6 +5126,10 @@ export declare const NotificationViewSchema: {
4782
5126
  readonly $ref: "#/components/schemas/SubscriptionPaymentReversed";
4783
5127
  }, {
4784
5128
  readonly $ref: "#/components/schemas/TaskCommented";
5129
+ }, {
5130
+ readonly $ref: "#/components/schemas/TrialEnded";
5131
+ }, {
5132
+ readonly $ref: "#/components/schemas/TrialEnding";
4785
5133
  }];
4786
5134
  };
4787
5135
  readonly count: {
@@ -5005,6 +5353,28 @@ export declare const TaskIdSchema: {
5005
5353
  };
5006
5354
  };
5007
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
+ };
5008
5378
  export declare const UnreadCountSchema: {
5009
5379
  readonly type: "object";
5010
5380
  readonly properties: {
@@ -5336,6 +5706,16 @@ export declare const ListingGridResponseSchema: {
5336
5706
  readonly type: "string";
5337
5707
  readonly enum: readonly ["SALE", "RENT", "DAILY_RENT", "PLEDGE"];
5338
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
+ };
5339
5719
  readonly price: {
5340
5720
  readonly type: "number";
5341
5721
  };
@@ -5395,6 +5775,11 @@ export declare const PlatformViewSchema: {
5395
5775
  readonly type: "string";
5396
5776
  readonly enum: readonly ["SS", "MY_HOME"];
5397
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
+ };
5398
5783
  readonly expiresAt: {
5399
5784
  readonly type: "string";
5400
5785
  readonly format: "date";
@@ -5408,6 +5793,7 @@ export declare const PlatformViewSchema: {
5408
5793
  readonly format: "date";
5409
5794
  };
5410
5795
  };
5796
+ readonly required: readonly ["status"];
5411
5797
  };
5412
5798
  export declare const SocialPostLinkSchema: {
5413
5799
  readonly type: "object";
@@ -5543,6 +5929,9 @@ export declare const InterestGridResponseSchema: {
5543
5929
  readonly bedrooms: {
5544
5930
  readonly $ref: "#/components/schemas/RoomRange";
5545
5931
  };
5932
+ readonly bathrooms: {
5933
+ readonly $ref: "#/components/schemas/RoomRange";
5934
+ };
5546
5935
  readonly totalArea: {
5547
5936
  readonly $ref: "#/components/schemas/AreaRange";
5548
5937
  };
@@ -5552,12 +5941,28 @@ export declare const InterestGridResponseSchema: {
5552
5941
  readonly address: {
5553
5942
  readonly $ref: "#/components/schemas/AddressView";
5554
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
+ };
5555
5952
  readonly status: {
5556
5953
  readonly type: "string";
5557
5954
  readonly enum: readonly ["UNPUBLISHED", "PUBLISHED", "CLOSED"];
5558
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
+ };
5559
5964
  };
5560
- readonly required: readonly ["createdBy", "interestId", "listingType", "personalDetails", "propertyTypes", "status", "title"];
5965
+ readonly required: readonly ["createdBy", "interestId", "listingType", "personalDetails", "propertyTypes", "recommendationCount", "shareToken", "status", "title"];
5561
5966
  };
5562
5967
  export declare const MoneySchema: {
5563
5968
  readonly type: "object";
@@ -5995,6 +6400,60 @@ export declare const SocialCommentThreadResponseSchema: {
5995
6400
  };
5996
6401
  readonly required: readonly ["answered", "comment", "post", "replies"];
5997
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
+ };
5998
6457
  export declare const ContactGridResponseSchema: {
5999
6458
  readonly type: "object";
6000
6459
  readonly properties: {