@homespot-sdk/core 0.0.300 → 0.0.302

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.
@@ -203,7 +203,7 @@ export declare const RolesRequestSchema: {
203
203
  readonly type: "array";
204
204
  readonly items: {
205
205
  readonly type: "string";
206
- readonly enum: readonly ["AGENCY_WRITE", "INVITATION_READ", "INVITATION_WRITE", "ROLE_READ", "ROLE_WRITE", "MEMBER_READ", "MEMBER_WRITE", "MEETING_READ_ALL", "LEAD_READ", "LEAD_WRITE", "LEAD_READ_ALL", "LEAD_WRITE_ALL", "CLIENT_READ", "CLIENT_WRITE", "CLIENT_READ_ALL", "CLIENT_WRITE_ALL", "PROPERTY_READ_ALL"];
206
+ readonly enum: readonly ["AGENCY_WRITE", "INVITATION_READ", "INVITATION_WRITE", "ROLE_READ", "ROLE_WRITE", "MEMBER_READ", "MEMBER_WRITE", "MEETING_READ_ALL", "CONTACT_READ", "CONTACT_WRITE", "CONTACT_READ_ALL", "CONTACT_WRITE_ALL", "PROPERTY_READ_ALL"];
207
207
  };
208
208
  };
209
209
  };
@@ -282,128 +282,6 @@ export declare const RescheduleRequestSchema: {
282
282
  };
283
283
  readonly required: readonly ["start"];
284
284
  };
285
- export declare const RecordSourceRequestSchema: {
286
- readonly type: "object";
287
- readonly properties: {
288
- readonly sourceUrl: {
289
- readonly type: "string";
290
- };
291
- };
292
- };
293
- export declare const NoteRequestSchema: {
294
- readonly type: "object";
295
- readonly properties: {
296
- readonly note: {
297
- readonly type: "string";
298
- };
299
- };
300
- };
301
- export declare const RecordLostLeadRequestSchema: {
302
- readonly type: "object";
303
- readonly properties: {
304
- readonly reason: {
305
- readonly type: "string";
306
- 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"];
307
- };
308
- };
309
- readonly required: readonly ["reason"];
310
- };
311
- export declare const IntentRequestSchema: {
312
- readonly type: "object";
313
- readonly properties: {
314
- readonly clientType: {
315
- readonly type: "string";
316
- readonly enum: readonly ["LISTING", "SEEKING"];
317
- };
318
- readonly listingType: {
319
- readonly type: "string";
320
- readonly enum: readonly ["SALE", "RENT", "DAILY_RENT", "PLEDGE"];
321
- };
322
- readonly propertyType: {
323
- readonly type: "string";
324
- 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"];
325
- };
326
- readonly price: {
327
- readonly $ref: "#/components/schemas/PriceRangeRequest";
328
- };
329
- readonly targetLocation: {
330
- readonly $ref: "#/components/schemas/LocationTargetRequest";
331
- };
332
- readonly area: {
333
- readonly type: "number";
334
- readonly format: "double";
335
- };
336
- readonly numberOfRooms: {
337
- readonly type: "integer";
338
- readonly format: "int32";
339
- };
340
- };
341
- readonly required: readonly ["clientType", "listingType", "propertyType"];
342
- };
343
- export declare const LocationTargetRequestSchema: {
344
- readonly type: "object";
345
- readonly properties: {
346
- readonly id: {
347
- readonly type: "integer";
348
- readonly format: "int64";
349
- };
350
- readonly type: {
351
- readonly type: "string";
352
- readonly enum: readonly ["REGION", "DISTRICT", "SUBDISTRICT", "STREET"];
353
- };
354
- };
355
- readonly required: readonly ["id", "type"];
356
- };
357
- export declare const PriceRangeRequestSchema: {
358
- readonly type: "object";
359
- readonly properties: {
360
- readonly min: {
361
- readonly type: "number";
362
- };
363
- readonly max: {
364
- readonly type: "number";
365
- };
366
- };
367
- };
368
- export declare const ContactInfoRequestSchema: {
369
- readonly type: "object";
370
- readonly properties: {
371
- readonly firstName: {
372
- readonly type: "string";
373
- readonly maxLength: 20;
374
- readonly minLength: 1;
375
- };
376
- readonly lastName: {
377
- readonly type: "string";
378
- readonly maxLength: 20;
379
- readonly minLength: 1;
380
- };
381
- readonly gender: {
382
- readonly type: "string";
383
- readonly enum: readonly ["MALE", "FEMALE", "UNKNOWN"];
384
- };
385
- readonly email: {
386
- readonly type: "string";
387
- readonly format: "email";
388
- };
389
- readonly phone: {
390
- readonly type: "string";
391
- readonly maxLength: 20;
392
- readonly minLength: 1;
393
- };
394
- };
395
- readonly required: readonly ["phone"];
396
- };
397
- export declare const ReassignMemberRequestSchema: {
398
- readonly type: "object";
399
- readonly properties: {
400
- readonly memberId: {
401
- readonly type: "string";
402
- readonly format: "uuid";
403
- };
404
- };
405
- readonly required: readonly ["memberId"];
406
- };
407
285
  export declare const RenameClientRecommendationsRequestSchema: {
408
286
  readonly type: "object";
409
287
  readonly properties: {
@@ -426,15 +304,6 @@ export declare const AgreementRequestSchema: {
426
304
  };
427
305
  readonly required: readonly ["type"];
428
306
  };
429
- export declare const ReprioritizeClientRequestSchema: {
430
- readonly type: "object";
431
- readonly properties: {
432
- readonly priority: {
433
- readonly type: "string";
434
- readonly enum: readonly ["CRITICAL", "HIGH", "MEDIUM", "LOW"];
435
- };
436
- };
437
- };
438
307
  export declare const CaptureInterestRequestSchema: {
439
308
  readonly type: "object";
440
309
  readonly properties: {
@@ -495,6 +364,61 @@ export declare const CaptureInterestRequestSchema: {
495
364
  };
496
365
  readonly required: readonly ["listingType", "propertyTypes"];
497
366
  };
367
+ export declare const LocationTargetRequestSchema: {
368
+ readonly type: "object";
369
+ readonly properties: {
370
+ readonly id: {
371
+ readonly type: "integer";
372
+ readonly format: "int64";
373
+ };
374
+ readonly type: {
375
+ readonly type: "string";
376
+ readonly enum: readonly ["REGION", "DISTRICT", "SUBDISTRICT", "STREET"];
377
+ };
378
+ };
379
+ readonly required: readonly ["id", "type"];
380
+ };
381
+ export declare const CommentBodyRequestSchema: {
382
+ readonly type: "object";
383
+ readonly properties: {
384
+ readonly body: {
385
+ readonly type: "string";
386
+ readonly maxLength: 4000;
387
+ readonly minLength: 0;
388
+ };
389
+ };
390
+ readonly required: readonly ["body"];
391
+ };
392
+ export declare const ContactStatusRequestSchema: {
393
+ readonly type: "object";
394
+ readonly properties: {
395
+ readonly status: {
396
+ readonly type: "string";
397
+ readonly enum: readonly ["NEW", "ON_HOLD", "COLD", "WORM", "HOT", "WAITING_PAYMENT", "LOST", "CLOSED"];
398
+ };
399
+ };
400
+ readonly required: readonly ["status"];
401
+ };
402
+ export declare const ReprioritizeClientRequestSchema: {
403
+ readonly type: "object";
404
+ readonly properties: {
405
+ readonly priority: {
406
+ readonly type: "string";
407
+ readonly enum: readonly ["CRITICAL", "HIGH", "MEDIUM", "LOW"];
408
+ };
409
+ };
410
+ readonly required: readonly ["priority"];
411
+ };
412
+ export declare const RecordLostContactRequestSchema: {
413
+ readonly type: "object";
414
+ readonly properties: {
415
+ readonly reason: {
416
+ readonly type: "string";
417
+ 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"];
418
+ };
419
+ };
420
+ readonly required: readonly ["reason"];
421
+ };
498
422
  export declare const UpdateContactPreferencesRequestSchema: {
499
423
  readonly type: "object";
500
424
  readonly properties: {
@@ -512,6 +436,45 @@ export declare const UpdateContactPreferencesRequestSchema: {
512
436
  };
513
437
  readonly required: readonly ["contactMethods"];
514
438
  };
439
+ export declare const ContactInfoRequestSchema: {
440
+ readonly type: "object";
441
+ readonly properties: {
442
+ readonly firstName: {
443
+ readonly type: "string";
444
+ readonly maxLength: 20;
445
+ readonly minLength: 1;
446
+ };
447
+ readonly lastName: {
448
+ readonly type: "string";
449
+ readonly maxLength: 20;
450
+ readonly minLength: 1;
451
+ };
452
+ readonly gender: {
453
+ readonly type: "string";
454
+ readonly enum: readonly ["MALE", "FEMALE", "UNKNOWN"];
455
+ };
456
+ readonly email: {
457
+ readonly type: "string";
458
+ readonly format: "email";
459
+ };
460
+ readonly phone: {
461
+ readonly type: "string";
462
+ readonly maxLength: 20;
463
+ readonly minLength: 1;
464
+ };
465
+ };
466
+ readonly required: readonly ["phone"];
467
+ };
468
+ export declare const ReassignMemberRequestSchema: {
469
+ readonly type: "object";
470
+ readonly properties: {
471
+ readonly memberId: {
472
+ readonly type: "string";
473
+ readonly format: "uuid";
474
+ };
475
+ };
476
+ readonly required: readonly ["memberId"];
477
+ };
515
478
  export declare const AddressRequestSchema: {
516
479
  readonly type: "object";
517
480
  readonly properties: {
@@ -692,20 +655,6 @@ export declare const IdResponseIntegerSchema: {
692
655
  };
693
656
  readonly required: readonly ["id"];
694
657
  };
695
- export declare const CaptureLeadRequestSchema: {
696
- readonly type: "object";
697
- readonly properties: {
698
- readonly contactInfo: {
699
- readonly $ref: "#/components/schemas/ContactInfoRequest";
700
- };
701
- readonly note: {
702
- readonly type: "string";
703
- readonly maxLength: 500;
704
- readonly minLength: 0;
705
- };
706
- };
707
- readonly required: readonly ["contactInfo"];
708
- };
709
658
  export declare const RateRecommendationItemRequestSchema: {
710
659
  readonly type: "object";
711
660
  readonly properties: {
@@ -732,7 +681,7 @@ export declare const AttendeeRequestSchema: {
732
681
  readonly type: "string";
733
682
  readonly format: "uuid";
734
683
  };
735
- readonly clientId: {
684
+ readonly contactId: {
736
685
  readonly type: "integer";
737
686
  readonly format: "int64";
738
687
  };
@@ -838,28 +787,6 @@ export declare const MeetingResponseSchema: {
838
787
  };
839
788
  readonly required: readonly ["meetingId"];
840
789
  };
841
- export declare const LeadIdSchema: {
842
- readonly type: "object";
843
- readonly properties: {
844
- readonly value: {
845
- readonly type: "integer";
846
- readonly format: "int64";
847
- };
848
- };
849
- };
850
- export declare const OnboardFromSourceRequestSchema: {
851
- readonly type: "object";
852
- readonly properties: {
853
- readonly sourceLink: {
854
- readonly type: "string";
855
- };
856
- readonly phone: {
857
- readonly type: "string";
858
- readonly minLength: 1;
859
- };
860
- };
861
- readonly required: readonly ["phone", "sourceLink"];
862
- };
863
790
  export declare const BulkRecruitmentRequestSchema: {
864
791
  readonly type: "object";
865
792
  readonly properties: {
@@ -910,7 +837,7 @@ export declare const AgencyPrincipalDtoSchema: {
910
837
  readonly type: "array";
911
838
  readonly items: {
912
839
  readonly type: "string";
913
- readonly enum: readonly ["AGENCY_WRITE", "INVITATION_READ", "INVITATION_WRITE", "ROLE_READ", "ROLE_WRITE", "MEMBER_READ", "MEMBER_WRITE", "MEETING_READ_ALL", "LEAD_READ", "LEAD_WRITE", "LEAD_READ_ALL", "LEAD_WRITE_ALL", "CLIENT_READ", "CLIENT_WRITE", "CLIENT_READ_ALL", "CLIENT_WRITE_ALL", "PROPERTY_READ_ALL"];
840
+ readonly enum: readonly ["AGENCY_WRITE", "INVITATION_READ", "INVITATION_WRITE", "ROLE_READ", "ROLE_WRITE", "MEMBER_READ", "MEMBER_WRITE", "MEETING_READ_ALL", "CONTACT_READ", "CONTACT_WRITE", "CONTACT_READ_ALL", "CONTACT_WRITE_ALL", "PROPERTY_READ_ALL"];
914
841
  };
915
842
  readonly uniqueItems: true;
916
843
  };
@@ -922,342 +849,119 @@ export declare const AgencyPrincipalDtoSchema: {
922
849
  };
923
850
  };
924
851
  };
925
- export declare const OnboardClientRequestSchema: {
852
+ export declare const CreateClientRecommendationsRequestSchema: {
926
853
  readonly type: "object";
927
854
  readonly properties: {
928
- readonly contactInfo: {
929
- readonly $ref: "#/components/schemas/ContactInfoRequest";
930
- };
931
- readonly contactMethods: {
932
- readonly type: "array";
933
- readonly items: {
934
- readonly type: "string";
935
- readonly enum: readonly ["WHATSAPP", "VIBER", "PHONE_CALL"];
936
- };
937
- readonly uniqueItems: true;
938
- };
939
- readonly favoriteContactMethod: {
855
+ readonly title: {
940
856
  readonly type: "string";
941
- readonly enum: readonly ["WHATSAPP", "VIBER", "PHONE_CALL"];
857
+ readonly minLength: 1;
942
858
  };
943
- readonly priority: {
944
- readonly type: "string";
945
- readonly enum: readonly ["CRITICAL", "HIGH", "MEDIUM", "LOW"];
946
- };
947
- readonly convertedFromLeadId: {
859
+ readonly interestId: {
948
860
  readonly type: "integer";
949
861
  readonly format: "int64";
950
862
  };
951
863
  };
952
- readonly required: readonly ["contactInfo", "contactMethods"];
864
+ readonly required: readonly ["interestId", "title"];
953
865
  };
954
- export declare const AddressNamesSchema: {
866
+ export declare const RecommendationsIdSchema: {
955
867
  readonly type: "object";
956
868
  readonly properties: {
957
- readonly region: {
958
- readonly type: "object";
959
- readonly additionalProperties: {
960
- readonly type: "string";
961
- };
962
- };
963
- readonly district: {
964
- readonly type: "object";
965
- readonly additionalProperties: {
966
- readonly type: "string";
967
- };
968
- };
969
- readonly subdistrict: {
970
- readonly type: "object";
971
- readonly additionalProperties: {
972
- readonly type: "string";
973
- };
974
- };
975
- readonly street: {
976
- readonly type: "object";
977
- readonly additionalProperties: {
978
- readonly type: "string";
979
- };
869
+ readonly value: {
870
+ readonly type: "string";
871
+ readonly format: "uuid";
980
872
  };
981
873
  };
982
874
  };
983
- export declare const AddressRefSchema: {
875
+ export declare const RecommendListingRequestSchema: {
984
876
  readonly type: "object";
985
877
  readonly properties: {
986
- readonly regionId: {
987
- readonly type: "integer";
988
- readonly format: "int64";
989
- };
990
- readonly districtId: {
991
- readonly type: "integer";
992
- readonly format: "int64";
993
- };
994
- readonly subdistrictId: {
995
- readonly type: "integer";
996
- readonly format: "int64";
997
- };
998
- readonly streetId: {
999
- readonly type: "integer";
1000
- readonly format: "int64";
1001
- };
1002
- readonly names: {
1003
- readonly $ref: "#/components/schemas/AddressNames";
1004
- };
1005
- readonly cadastreCode: {
878
+ readonly externalPropertyId: {
1006
879
  readonly type: "string";
880
+ readonly format: "uuid";
1007
881
  };
1008
- readonly coordinates: {
1009
- readonly $ref: "#/components/schemas/Coordinates";
882
+ readonly externalListingId: {
883
+ readonly type: "string";
884
+ readonly format: "uuid";
1010
885
  };
1011
886
  };
887
+ readonly required: readonly ["externalListingId", "externalPropertyId"];
1012
888
  };
1013
- export declare const ClientOnboardedResponseSchema: {
889
+ export declare const AddDealRequestSchema: {
1014
890
  readonly type: "object";
1015
891
  readonly properties: {
1016
- readonly clientId: {
892
+ readonly listingId: {
1017
893
  readonly type: "integer";
1018
894
  readonly format: "int64";
1019
895
  };
1020
- readonly importedProperty: {
1021
- readonly $ref: "#/components/schemas/ImportedPropertyDraft";
1022
- };
1023
- };
1024
- readonly required: readonly ["clientId"];
1025
- };
1026
- export declare const ContactSummarySchema: {
1027
- readonly type: "object";
1028
- readonly properties: {
1029
- readonly firstName: {
1030
- readonly type: "string";
1031
- };
1032
- readonly lastName: {
1033
- readonly type: "string";
1034
- };
1035
- readonly gender: {
1036
- readonly type: "string";
1037
- readonly enum: readonly ["MALE", "FEMALE", "UNKNOWN"];
1038
- };
1039
- readonly email: {
1040
- readonly type: "string";
1041
- };
1042
- readonly phone: {
896
+ readonly commissionType: {
1043
897
  readonly type: "string";
898
+ readonly enum: readonly ["FIXED_SALE", "FIXED_RENT", "PERCENTAGE", "MONTHS_OF_RENT"];
1044
899
  };
1045
- };
1046
- };
1047
- export declare const CoordinatesSchema: {
1048
- readonly type: "object";
1049
- readonly properties: {
1050
- readonly lat: {
900
+ readonly rate: {
1051
901
  readonly type: "number";
1052
- readonly format: "double";
1053
902
  };
1054
- readonly lng: {
903
+ readonly amount: {
1055
904
  readonly type: "number";
1056
- readonly format: "double";
1057
- };
1058
- };
1059
- };
1060
- export declare const ImportedPropertyDraftSchema: {
1061
- readonly type: "object";
1062
- readonly properties: {
1063
- readonly contact: {
1064
- readonly $ref: "#/components/schemas/ContactSummary";
1065
- };
1066
- readonly listingType: {
1067
- readonly type: "string";
1068
- readonly enum: readonly ["SALE", "RENT", "DAILY_RENT", "PLEDGE"];
1069
905
  };
1070
- readonly askingPrice: {
906
+ readonly factor: {
1071
907
  readonly type: "number";
1072
908
  };
1073
- readonly propertyCreationRequest: {
1074
- readonly $ref: "#/components/schemas/PropertyCreationRequest";
1075
- };
1076
- readonly photosForUpload: {
1077
- readonly type: "array";
1078
- readonly items: {
1079
- readonly $ref: "#/components/schemas/PresignedResult";
1080
- };
1081
- };
1082
- };
1083
- };
1084
- export declare const PhotoInternalRequestSchema: {
1085
- readonly type: "object";
1086
- readonly properties: {
1087
- readonly photo: {
1088
- readonly type: "string";
1089
- readonly maxLength: 255;
1090
- readonly minLength: 0;
1091
- };
1092
- readonly width: {
1093
- readonly type: "integer";
1094
- readonly format: "int32";
1095
- readonly maximum: 11000;
1096
- readonly minimum: 10;
1097
- };
1098
- readonly height: {
1099
- readonly type: "integer";
1100
- readonly format: "int32";
1101
- readonly maximum: 11000;
1102
- readonly minimum: 10;
1103
- };
1104
909
  };
1105
- readonly required: readonly ["photo", "width"];
910
+ readonly required: readonly ["commissionType", "listingId"];
1106
911
  };
1107
- export declare const PhotoKeySchema: {
912
+ export declare const InterestIdSchema: {
1108
913
  readonly type: "object";
1109
914
  readonly properties: {
1110
915
  readonly value: {
1111
- readonly type: "string";
916
+ readonly type: "integer";
917
+ readonly format: "int64";
1112
918
  };
1113
919
  };
1114
920
  };
1115
- export declare const PresignedResultSchema: {
921
+ export declare const IdResponseUUIDSchema: {
1116
922
  readonly type: "object";
1117
923
  readonly properties: {
1118
- readonly originalName: {
1119
- readonly type: "string";
1120
- };
1121
- readonly key: {
1122
- readonly $ref: "#/components/schemas/PhotoKey";
1123
- };
1124
- readonly presignedUrl: {
924
+ readonly id: {
1125
925
  readonly type: "string";
926
+ readonly format: "uuid";
1126
927
  };
1127
928
  };
929
+ readonly required: readonly ["id"];
1128
930
  };
1129
- export declare const PropertyCreationRequestSchema: {
931
+ export declare const OnboardClientRequestSchema: {
1130
932
  readonly type: "object";
1131
933
  readonly properties: {
1132
- readonly draftId: {
1133
- readonly type: "string";
1134
- readonly format: "uuid";
1135
- };
1136
- readonly clientId: {
1137
- readonly type: "integer";
1138
- readonly format: "int64";
1139
- };
1140
- readonly propertyType: {
1141
- readonly type: "string";
1142
- 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"];
1143
- };
1144
- readonly address: {
1145
- readonly $ref: "#/components/schemas/AddressRef";
934
+ readonly contactInfo: {
935
+ readonly $ref: "#/components/schemas/ContactInfoRequest";
1146
936
  };
1147
- readonly photoUrls: {
937
+ readonly contactMethods: {
1148
938
  readonly type: "array";
1149
939
  readonly items: {
1150
- readonly $ref: "#/components/schemas/PhotoInternalRequest";
1151
- };
1152
- readonly maxItems: 2147483647;
1153
- readonly minItems: 5;
1154
- };
1155
- readonly spaces: {
1156
- readonly type: "object";
1157
- readonly additionalProperties: {
1158
- readonly type: "array";
1159
- readonly items: {
1160
- readonly type: "number";
1161
- readonly format: "double";
1162
- };
1163
- };
1164
- readonly example: {
1165
- readonly BATHROOM: readonly [5, 8];
1166
- readonly BEDROOM: readonly [15.5, 16, 22];
1167
- readonly LIVING_ROOM: readonly [52.5];
1168
- readonly KITCHEN: readonly [20.5];
940
+ readonly type: "string";
941
+ readonly enum: readonly ["WHATSAPP", "VIBER", "PHONE_CALL"];
1169
942
  };
943
+ readonly uniqueItems: true;
1170
944
  };
1171
- readonly totalArea: {
1172
- readonly type: "number";
1173
- readonly format: "double";
1174
- };
1175
- readonly livingArea: {
1176
- readonly type: "number";
1177
- readonly format: "double";
1178
- };
1179
- readonly balconyArea: {
1180
- readonly type: "number";
1181
- readonly format: "double";
1182
- };
1183
- readonly status: {
1184
- readonly type: "string";
1185
- readonly enum: readonly ["OLD_BUILDING", "NEW_BUILDING", "UNDER_CONSTRUCTION", "FINISHED"];
1186
- };
1187
- readonly condition: {
945
+ readonly favoriteContactMethod: {
1188
946
  readonly type: "string";
1189
- readonly enum: readonly ["NEWLY_RENOVATED", "OLD_RENOVATED", "CURRENT_RENOVATION", "REPAIRING", "WHITE_FRAME", "BLACK_FRAME", "GREEN_FRAME", "WHITE_PLUS"];
1190
- };
1191
- readonly totalFloors: {
1192
- readonly type: "integer";
1193
- readonly format: "int32";
1194
- };
1195
- readonly floorAt: {
1196
- readonly type: "integer";
1197
- readonly format: "int32";
1198
- };
1199
- readonly amenities: {
1200
- readonly type: "array";
1201
- readonly items: {
1202
- readonly type: "integer";
1203
- readonly format: "int32";
1204
- };
947
+ readonly enum: readonly ["WHATSAPP", "VIBER", "PHONE_CALL"];
1205
948
  };
1206
- readonly title: {
949
+ readonly priority: {
1207
950
  readonly type: "string";
1208
- readonly minLength: 1;
1209
- };
1210
- readonly description: {
1211
- readonly type: "object";
1212
- readonly additionalProperties: {
1213
- readonly type: "string";
1214
- };
1215
- readonly example: {
1216
- readonly ka: "example ka";
1217
- readonly en: "example en";
1218
- readonly ru: "example ru";
1219
- };
1220
- readonly minProperties: 1;
951
+ readonly enum: readonly ["CRITICAL", "HIGH", "MEDIUM", "LOW"];
1221
952
  };
1222
953
  };
1223
- readonly required: readonly ["address", "amenities", "description", "draftId", "photoUrls", "propertyType", "spaces", "title", "totalArea"];
954
+ readonly required: readonly ["contactInfo", "contactMethods"];
1224
955
  };
1225
- export declare const CreateClientRecommendationsRequestSchema: {
956
+ export declare const IdResponseLongSchema: {
1226
957
  readonly type: "object";
1227
958
  readonly properties: {
1228
- readonly title: {
1229
- readonly type: "string";
1230
- readonly minLength: 1;
1231
- };
1232
- readonly interestId: {
959
+ readonly id: {
1233
960
  readonly type: "integer";
1234
961
  readonly format: "int64";
1235
962
  };
1236
963
  };
1237
- readonly required: readonly ["interestId", "title"];
1238
- };
1239
- export declare const RecommendationsIdSchema: {
1240
- readonly type: "object";
1241
- readonly properties: {
1242
- readonly value: {
1243
- readonly type: "string";
1244
- readonly format: "uuid";
1245
- };
1246
- };
1247
- };
1248
- export declare const RecommendListingRequestSchema: {
1249
- readonly type: "object";
1250
- readonly properties: {
1251
- readonly externalPropertyId: {
1252
- readonly type: "string";
1253
- readonly format: "uuid";
1254
- };
1255
- readonly externalListingId: {
1256
- readonly type: "string";
1257
- readonly format: "uuid";
1258
- };
1259
- };
1260
- readonly required: readonly ["externalListingId", "externalPropertyId"];
964
+ readonly required: readonly ["id"];
1261
965
  };
1262
966
  export declare const ExternalListingPublishRequestSchema: {
1263
967
  readonly type: "object";
@@ -1295,47 +999,18 @@ export declare const ExternalListingBoostRequestSchema: {
1295
999
  };
1296
1000
  readonly required: readonly ["listingId", "numberOfDays", "platform", "tier"];
1297
1001
  };
1298
- export declare const AddDealRequestSchema: {
1002
+ export declare const OnboardFromSourceRequestSchema: {
1299
1003
  readonly type: "object";
1300
1004
  readonly properties: {
1301
- readonly listingId: {
1302
- readonly type: "integer";
1303
- readonly format: "int64";
1304
- };
1305
- readonly commissionType: {
1005
+ readonly sourceLink: {
1306
1006
  readonly type: "string";
1307
- readonly enum: readonly ["FIXED_SALE", "FIXED_RENT", "PERCENTAGE", "MONTHS_OF_RENT"];
1308
- };
1309
- readonly rate: {
1310
- readonly type: "number";
1311
- };
1312
- readonly amount: {
1313
- readonly type: "number";
1314
- };
1315
- readonly factor: {
1316
- readonly type: "number";
1317
- };
1318
- };
1319
- readonly required: readonly ["commissionType", "listingId"];
1320
- };
1321
- export declare const InterestIdSchema: {
1322
- readonly type: "object";
1323
- readonly properties: {
1324
- readonly value: {
1325
- readonly type: "integer";
1326
- readonly format: "int64";
1327
1007
  };
1328
- };
1329
- };
1330
- export declare const IdResponseUUIDSchema: {
1331
- readonly type: "object";
1332
- readonly properties: {
1333
- readonly id: {
1008
+ readonly phone: {
1334
1009
  readonly type: "string";
1335
- readonly format: "uuid";
1010
+ readonly minLength: 1;
1336
1011
  };
1337
1012
  };
1338
- readonly required: readonly ["id"];
1013
+ readonly required: readonly ["phone", "sourceLink"];
1339
1014
  };
1340
1015
  export declare const OrganizationSummaryViewResponseSchema: {
1341
1016
  readonly type: "object";
@@ -1371,7 +1046,7 @@ export declare const OrganizationSummaryViewResponseSchema: {
1371
1046
  readonly type: "array";
1372
1047
  readonly items: {
1373
1048
  readonly type: "string";
1374
- readonly enum: readonly ["AGENCY_WRITE", "INVITATION_READ", "INVITATION_WRITE", "ROLE_READ", "ROLE_WRITE", "MEMBER_READ", "MEMBER_WRITE", "MEETING_READ_ALL", "LEAD_READ", "LEAD_WRITE", "LEAD_READ_ALL", "LEAD_WRITE_ALL", "CLIENT_READ", "CLIENT_WRITE", "CLIENT_READ_ALL", "CLIENT_WRITE_ALL", "PROPERTY_READ_ALL"];
1049
+ readonly enum: readonly ["AGENCY_WRITE", "INVITATION_READ", "INVITATION_WRITE", "ROLE_READ", "ROLE_WRITE", "MEMBER_READ", "MEMBER_WRITE", "MEETING_READ_ALL", "CONTACT_READ", "CONTACT_WRITE", "CONTACT_READ_ALL", "CONTACT_WRITE_ALL", "PROPERTY_READ_ALL"];
1375
1050
  };
1376
1051
  };
1377
1052
  readonly status: {
@@ -1469,7 +1144,7 @@ export declare const RoleResponseSchema: {
1469
1144
  readonly type: "array";
1470
1145
  readonly items: {
1471
1146
  readonly type: "string";
1472
- readonly enum: readonly ["AGENCY_WRITE", "INVITATION_READ", "INVITATION_WRITE", "ROLE_READ", "ROLE_WRITE", "MEMBER_READ", "MEMBER_WRITE", "MEETING_READ_ALL", "LEAD_READ", "LEAD_WRITE", "LEAD_READ_ALL", "LEAD_WRITE_ALL", "CLIENT_READ", "CLIENT_WRITE", "CLIENT_READ_ALL", "CLIENT_WRITE_ALL", "PROPERTY_READ_ALL"];
1147
+ readonly enum: readonly ["AGENCY_WRITE", "INVITATION_READ", "INVITATION_WRITE", "ROLE_READ", "ROLE_WRITE", "MEMBER_READ", "MEMBER_WRITE", "MEETING_READ_ALL", "CONTACT_READ", "CONTACT_WRITE", "CONTACT_READ_ALL", "CONTACT_WRITE_ALL", "PROPERTY_READ_ALL"];
1473
1148
  };
1474
1149
  };
1475
1150
  };
@@ -1585,7 +1260,7 @@ export declare const RecommendationsCardViewSchema: {
1585
1260
  readonly clientNote: {
1586
1261
  readonly type: "string";
1587
1262
  };
1588
- readonly ownerClientId: {
1263
+ readonly ownerContactId: {
1589
1264
  readonly type: "integer";
1590
1265
  readonly format: "int64";
1591
1266
  };
@@ -1639,7 +1314,7 @@ export declare const RecommendationsCardViewSchema: {
1639
1314
  readonly $ref: "#/components/schemas/AddressResponse";
1640
1315
  };
1641
1316
  };
1642
- readonly required: readonly ["address", "externalListingId", "externalPropertyId", "listingId", "listingType", "ownerClientId", "price", "propertyId", "recommendationItemId", "totalArea", "type"];
1317
+ readonly required: readonly ["address", "externalListingId", "externalPropertyId", "listingId", "listingType", "ownerContactId", "price", "propertyId", "recommendationItemId", "totalArea", "type"];
1643
1318
  };
1644
1319
  export declare const RecommendationDecisionResponseSchema: {
1645
1320
  readonly type: "object";
@@ -1668,7 +1343,7 @@ export declare const GroupedPermissionsResponseSchema: {
1668
1343
  readonly properties: {
1669
1344
  readonly group: {
1670
1345
  readonly type: "string";
1671
- readonly enum: readonly ["AGENCY", "INVITATION", "ROLE", "MEMBER", "LEAD", "CLIENT", "PROPERTY"];
1346
+ readonly enum: readonly ["AGENCY", "INVITATION", "ROLE", "MEMBER", "CONTACT", "PROPERTY"];
1672
1347
  };
1673
1348
  readonly permissions: {
1674
1349
  readonly type: "array";
@@ -1684,13 +1359,13 @@ export declare const PermissionResponseSchema: {
1684
1359
  readonly properties: {
1685
1360
  readonly permission: {
1686
1361
  readonly type: "string";
1687
- readonly enum: readonly ["AGENCY_WRITE", "INVITATION_READ", "INVITATION_WRITE", "ROLE_READ", "ROLE_WRITE", "MEMBER_READ", "MEMBER_WRITE", "MEETING_READ_ALL", "LEAD_READ", "LEAD_WRITE", "LEAD_READ_ALL", "LEAD_WRITE_ALL", "CLIENT_READ", "CLIENT_WRITE", "CLIENT_READ_ALL", "CLIENT_WRITE_ALL", "PROPERTY_READ_ALL"];
1362
+ readonly enum: readonly ["AGENCY_WRITE", "INVITATION_READ", "INVITATION_WRITE", "ROLE_READ", "ROLE_WRITE", "MEMBER_READ", "MEMBER_WRITE", "MEETING_READ_ALL", "CONTACT_READ", "CONTACT_WRITE", "CONTACT_READ_ALL", "CONTACT_WRITE_ALL", "PROPERTY_READ_ALL"];
1688
1363
  };
1689
1364
  readonly implied: {
1690
1365
  readonly type: "array";
1691
1366
  readonly items: {
1692
1367
  readonly type: "string";
1693
- readonly enum: readonly ["AGENCY_WRITE", "INVITATION_READ", "INVITATION_WRITE", "ROLE_READ", "ROLE_WRITE", "MEMBER_READ", "MEMBER_WRITE", "MEETING_READ_ALL", "LEAD_READ", "LEAD_WRITE", "LEAD_READ_ALL", "LEAD_WRITE_ALL", "CLIENT_READ", "CLIENT_WRITE", "CLIENT_READ_ALL", "CLIENT_WRITE_ALL", "PROPERTY_READ_ALL"];
1368
+ readonly enum: readonly ["AGENCY_WRITE", "INVITATION_READ", "INVITATION_WRITE", "ROLE_READ", "ROLE_WRITE", "MEMBER_READ", "MEMBER_WRITE", "MEETING_READ_ALL", "CONTACT_READ", "CONTACT_WRITE", "CONTACT_READ_ALL", "CONTACT_WRITE_ALL", "PROPERTY_READ_ALL"];
1694
1369
  };
1695
1370
  };
1696
1371
  };
@@ -2115,7 +1790,7 @@ export declare const AttendeeViewSchema: {
2115
1790
  readonly type: "string";
2116
1791
  readonly format: "uuid";
2117
1792
  };
2118
- readonly clientId: {
1793
+ readonly contactId: {
2119
1794
  readonly type: "integer";
2120
1795
  readonly format: "int64";
2121
1796
  };
@@ -2251,7 +1926,7 @@ export declare const ListingGridViewSchema: {
2251
1926
  readonly type: "integer";
2252
1927
  readonly format: "int64";
2253
1928
  };
2254
- readonly clientId: {
1929
+ readonly contactId: {
2255
1930
  readonly type: "integer";
2256
1931
  readonly format: "int64";
2257
1932
  };
@@ -2383,132 +2058,6 @@ export declare const GroupCountSchema: {
2383
2058
  };
2384
2059
  readonly required: readonly ["count", "groupKey", "label"];
2385
2060
  };
2386
- export declare const IntentResponseSchema: {
2387
- readonly type: "object";
2388
- readonly properties: {
2389
- readonly id: {
2390
- readonly type: "integer";
2391
- readonly format: "int64";
2392
- };
2393
- readonly clientType: {
2394
- readonly type: "string";
2395
- readonly enum: readonly ["LISTING", "SEEKING"];
2396
- };
2397
- readonly listingType: {
2398
- readonly type: "string";
2399
- readonly enum: readonly ["SALE", "RENT", "DAILY_RENT", "PLEDGE"];
2400
- };
2401
- readonly propertyType: {
2402
- readonly type: "string";
2403
- 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"];
2404
- };
2405
- readonly priceMin: {
2406
- readonly type: "number";
2407
- };
2408
- readonly priceMax: {
2409
- readonly type: "number";
2410
- };
2411
- readonly area: {
2412
- readonly type: "number";
2413
- readonly format: "double";
2414
- };
2415
- readonly numberOfRooms: {
2416
- readonly type: "integer";
2417
- readonly format: "int32";
2418
- };
2419
- readonly region: {
2420
- readonly $ref: "#/components/schemas/LocationResponse";
2421
- };
2422
- readonly district: {
2423
- readonly $ref: "#/components/schemas/LocationResponse";
2424
- };
2425
- readonly subDistrict: {
2426
- readonly $ref: "#/components/schemas/LocationResponse";
2427
- };
2428
- readonly street: {
2429
- readonly $ref: "#/components/schemas/LocationResponse";
2430
- };
2431
- };
2432
- readonly required: readonly ["clientType", "id", "listingType", "propertyType"];
2433
- };
2434
- export declare const LeadGridResponseSchema: {
2435
- readonly type: "object";
2436
- readonly properties: {
2437
- readonly id: {
2438
- readonly type: "integer";
2439
- readonly format: "int64";
2440
- };
2441
- readonly createdBy: {
2442
- readonly type: "string";
2443
- readonly format: "uuid";
2444
- };
2445
- readonly assignedTo: {
2446
- readonly $ref: "#/components/schemas/AssignedToResponse";
2447
- };
2448
- readonly status: {
2449
- readonly type: "string";
2450
- readonly enum: readonly ["NEW", "ON_HOLD", "LOST", "CONVERTED"];
2451
- };
2452
- readonly contactFullName: {
2453
- readonly type: "string";
2454
- };
2455
- readonly contactGender: {
2456
- readonly type: "string";
2457
- readonly enum: readonly ["MALE", "FEMALE", "UNKNOWN"];
2458
- };
2459
- readonly contactPhoneNumber: {
2460
- readonly type: "string";
2461
- };
2462
- readonly contactEmail: {
2463
- readonly type: "string";
2464
- };
2465
- readonly note: {
2466
- readonly type: "string";
2467
- };
2468
- readonly sourceType: {
2469
- readonly type: "string";
2470
- readonly enum: readonly ["MY_HOME", "SS", "HOME_SPOT", "UNKNOWN"];
2471
- };
2472
- readonly sourceLink: {
2473
- readonly type: "string";
2474
- };
2475
- readonly isSearching: {
2476
- readonly type: "boolean";
2477
- };
2478
- readonly isListing: {
2479
- readonly type: "boolean";
2480
- };
2481
- readonly createdAt: {
2482
- readonly type: "string";
2483
- readonly format: "date-time";
2484
- };
2485
- readonly updatedAt: {
2486
- readonly type: "string";
2487
- readonly format: "date-time";
2488
- };
2489
- readonly intents: {
2490
- readonly type: "array";
2491
- readonly items: {
2492
- readonly $ref: "#/components/schemas/IntentResponse";
2493
- };
2494
- };
2495
- };
2496
- readonly required: readonly ["contactPhoneNumber", "id", "isListing", "isSearching", "sourceType", "status"];
2497
- };
2498
- export declare const PagedModelLeadGridResponseSchema: {
2499
- readonly type: "object";
2500
- readonly properties: {
2501
- readonly content: {
2502
- readonly type: "array";
2503
- readonly items: {
2504
- readonly $ref: "#/components/schemas/LeadGridResponse";
2505
- };
2506
- };
2507
- readonly page: {
2508
- readonly $ref: "#/components/schemas/PageMetadata";
2509
- };
2510
- };
2511
- };
2512
2061
  export declare const InvitationViewResponseSchema: {
2513
2062
  readonly type: "object";
2514
2063
  readonly properties: {
@@ -2555,93 +2104,7 @@ export declare const PagedModelInvitationViewResponseSchema: {
2555
2104
  };
2556
2105
  };
2557
2106
  };
2558
- export declare const AssignedAgentSchema: {
2559
- readonly type: "object";
2560
- readonly properties: {
2561
- readonly memberId: {
2562
- readonly type: "string";
2563
- readonly format: "uuid";
2564
- };
2565
- readonly firstName: {
2566
- readonly type: "string";
2567
- };
2568
- readonly lastName: {
2569
- readonly type: "string";
2570
- };
2571
- readonly photo: {
2572
- readonly type: "string";
2573
- };
2574
- readonly phone: {
2575
- readonly type: "string";
2576
- };
2577
- };
2578
- readonly required: readonly ["firstName", "lastName", "memberId"];
2579
- };
2580
- export declare const DuplicateContactInfoSchema: {
2581
- readonly type: "object";
2582
- readonly properties: {
2583
- readonly type: {
2584
- readonly type: "string";
2585
- readonly enum: readonly ["LEAD", "CLIENT"];
2586
- };
2587
- readonly contactId: {
2588
- readonly type: "integer";
2589
- readonly format: "int64";
2590
- };
2591
- readonly isActive: {
2592
- readonly type: "boolean";
2593
- };
2594
- readonly firstName: {
2595
- readonly type: "string";
2596
- };
2597
- readonly lastName: {
2598
- readonly type: "string";
2599
- };
2600
- readonly gender: {
2601
- readonly type: "string";
2602
- readonly enum: readonly ["MALE", "FEMALE", "UNKNOWN"];
2603
- };
2604
- readonly email: {
2605
- readonly type: "string";
2606
- };
2607
- readonly phone: {
2608
- readonly type: "string";
2609
- };
2610
- readonly contactMethods: {
2611
- readonly type: "array";
2612
- readonly items: {
2613
- readonly type: "string";
2614
- readonly enum: readonly ["WHATSAPP", "VIBER", "PHONE_CALL"];
2615
- };
2616
- readonly uniqueItems: true;
2617
- };
2618
- readonly favoriteContactMethod: {
2619
- readonly type: "string";
2620
- readonly enum: readonly ["WHATSAPP", "VIBER", "PHONE_CALL"];
2621
- };
2622
- readonly assignedTo: {
2623
- readonly $ref: "#/components/schemas/AssignedAgent";
2624
- };
2625
- };
2626
- readonly required: readonly ["contactId", "isActive", "phone", "type"];
2627
- };
2628
- export declare const PhoneDuplicateCheckResponseSchema: {
2629
- readonly type: "object";
2630
- readonly properties: {
2631
- readonly policy: {
2632
- readonly type: "string";
2633
- readonly enum: readonly ["ALLOW", "WARN", "PREVENT"];
2634
- };
2635
- readonly matches: {
2636
- readonly type: "array";
2637
- readonly items: {
2638
- readonly $ref: "#/components/schemas/DuplicateContactInfo";
2639
- };
2640
- };
2641
- };
2642
- readonly required: readonly ["matches", "policy"];
2643
- };
2644
- export declare const ClientInterestResponseSchema: {
2107
+ export declare const ConstantInterestResponseSchema: {
2645
2108
  readonly type: "object";
2646
2109
  readonly properties: {
2647
2110
  readonly id: {
@@ -2716,40 +2179,93 @@ export declare const ClientInterestResponseSchema: {
2716
2179
  };
2717
2180
  readonly required: readonly ["active", "id", "listingType", "propertyTypes"];
2718
2181
  };
2719
- export declare const ClientGridResponseSchema: {
2182
+ export declare const CommentViewSchema: {
2720
2183
  readonly type: "object";
2721
2184
  readonly properties: {
2722
2185
  readonly id: {
2186
+ readonly type: "string";
2187
+ readonly format: "uuid";
2188
+ };
2189
+ readonly contactId: {
2723
2190
  readonly type: "integer";
2724
2191
  readonly format: "int64";
2725
2192
  };
2726
- readonly createdBy: {
2193
+ readonly authorId: {
2727
2194
  readonly type: "string";
2728
2195
  readonly format: "uuid";
2729
2196
  };
2730
- readonly leadId: {
2197
+ readonly authorFirstName: {
2198
+ readonly type: "string";
2199
+ };
2200
+ readonly authorLastName: {
2201
+ readonly type: "string";
2202
+ };
2203
+ readonly body: {
2204
+ readonly type: "string";
2205
+ };
2206
+ readonly createdAt: {
2207
+ readonly type: "string";
2208
+ readonly format: "date-time";
2209
+ };
2210
+ readonly editedAt: {
2211
+ readonly type: "string";
2212
+ readonly format: "date-time";
2213
+ };
2214
+ };
2215
+ readonly required: readonly ["authorFirstName", "authorId", "authorLastName", "body", "contactId", "createdAt", "id"];
2216
+ };
2217
+ export declare const PagedModelCommentViewSchema: {
2218
+ readonly type: "object";
2219
+ readonly properties: {
2220
+ readonly content: {
2221
+ readonly type: "array";
2222
+ readonly items: {
2223
+ readonly $ref: "#/components/schemas/CommentView";
2224
+ };
2225
+ };
2226
+ readonly page: {
2227
+ readonly $ref: "#/components/schemas/PageMetadata";
2228
+ };
2229
+ };
2230
+ };
2231
+ export declare const ContactGridResponseSchema: {
2232
+ readonly type: "object";
2233
+ readonly properties: {
2234
+ readonly id: {
2731
2235
  readonly type: "integer";
2732
2236
  readonly format: "int64";
2733
2237
  };
2238
+ readonly createdBy: {
2239
+ readonly type: "string";
2240
+ readonly format: "uuid";
2241
+ };
2734
2242
  readonly assignedTo: {
2735
2243
  readonly $ref: "#/components/schemas/AssignedToResponse";
2736
2244
  };
2737
- readonly contactFullName: {
2245
+ readonly status: {
2738
2246
  readonly type: "string";
2247
+ readonly enum: readonly ["NEW", "ON_HOLD", "COLD", "WORM", "HOT", "WAITING_PAYMENT", "LOST", "CLOSED"];
2739
2248
  };
2740
- readonly contactPhoneNumber: {
2249
+ readonly priority: {
2741
2250
  readonly type: "string";
2251
+ readonly enum: readonly ["CRITICAL", "HIGH", "MEDIUM", "LOW"];
2742
2252
  };
2743
- readonly contactGender: {
2253
+ readonly contactName: {
2254
+ readonly type: "string";
2255
+ };
2256
+ readonly gender: {
2744
2257
  readonly type: "string";
2745
2258
  readonly enum: readonly ["MALE", "FEMALE", "UNKNOWN"];
2746
2259
  };
2747
- readonly contactEmail: {
2260
+ readonly phoneNumber: {
2261
+ readonly type: "string";
2262
+ };
2263
+ readonly email: {
2748
2264
  readonly type: "string";
2749
2265
  };
2750
2266
  readonly sourceType: {
2751
2267
  readonly type: "string";
2752
- readonly enum: readonly ["MY_HOME", "SS", "HOME_SPOT", "UNKNOWN"];
2268
+ readonly enum: readonly ["MY_HOME", "SS", "HOME_SPOT", "AGENCY_MEMBER", "UNKNOWN"];
2753
2269
  };
2754
2270
  readonly sourceLink: {
2755
2271
  readonly type: "string";
@@ -2760,32 +2276,24 @@ export declare const ClientGridResponseSchema: {
2760
2276
  readonly isListing: {
2761
2277
  readonly type: "boolean";
2762
2278
  };
2763
- readonly contactMethods: {
2764
- readonly type: "array";
2765
- readonly items: {
2766
- readonly type: "string";
2767
- readonly enum: readonly ["WHATSAPP", "VIBER", "PHONE_CALL"];
2768
- };
2769
- readonly uniqueItems: true;
2770
- };
2771
- readonly favoriteContactMethod: {
2279
+ readonly createdAt: {
2772
2280
  readonly type: "string";
2773
- readonly enum: readonly ["WHATSAPP", "VIBER", "PHONE_CALL"];
2281
+ readonly format: "date-time";
2774
2282
  };
2775
- readonly priority: {
2283
+ readonly updatedAt: {
2776
2284
  readonly type: "string";
2777
- readonly enum: readonly ["CRITICAL", "HIGH", "MEDIUM", "LOW"];
2285
+ readonly format: "date-time";
2778
2286
  };
2779
2287
  };
2780
- readonly required: readonly ["contactMethods", "contactPhoneNumber", "createdBy", "id", "isListing", "isSearching"];
2288
+ readonly required: readonly ["createdAt", "id", "isListing", "isSearching", "status", "updatedAt"];
2781
2289
  };
2782
- export declare const PagedModelClientGridResponseSchema: {
2290
+ export declare const PagedModelContactGridResponseSchema: {
2783
2291
  readonly type: "object";
2784
2292
  readonly properties: {
2785
2293
  readonly content: {
2786
2294
  readonly type: "array";
2787
2295
  readonly items: {
2788
- readonly $ref: "#/components/schemas/ClientGridResponse";
2296
+ readonly $ref: "#/components/schemas/ContactGridResponse";
2789
2297
  };
2790
2298
  };
2791
2299
  readonly page: {
@@ -2847,7 +2355,7 @@ export declare const AssignedMemberSchema: {
2847
2355
  export declare const Client360ResponseSchema: {
2848
2356
  readonly type: "object";
2849
2357
  readonly properties: {
2850
- readonly clientId: {
2358
+ readonly contactId: {
2851
2359
  readonly type: "integer";
2852
2360
  readonly format: "int64";
2853
2361
  };
@@ -2855,7 +2363,7 @@ export declare const Client360ResponseSchema: {
2855
2363
  readonly type: "string";
2856
2364
  readonly format: "uuid";
2857
2365
  };
2858
- readonly clientUserId: {
2366
+ readonly contactUserId: {
2859
2367
  readonly type: "string";
2860
2368
  };
2861
2369
  readonly createdBy: {
@@ -2895,19 +2403,72 @@ export declare const Client360ResponseSchema: {
2895
2403
  readonly interests: {
2896
2404
  readonly type: "array";
2897
2405
  readonly items: {
2898
- readonly $ref: "#/components/schemas/ClientInterestResponse";
2406
+ readonly $ref: "#/components/schemas/ConstantInterestResponse";
2899
2407
  };
2900
2408
  };
2901
2409
  readonly properties: {
2902
2410
  readonly type: "array";
2903
2411
  readonly items: {
2904
- readonly $ref: "#/components/schemas/ClientPropertyResponse";
2412
+ readonly $ref: "#/components/schemas/ContactPropertyResponse";
2905
2413
  };
2906
2414
  };
2907
2415
  };
2908
- readonly required: readonly ["agencyId", "clientId", "contactInfo", "createdAt", "createdBy", "interests", "isListing", "isSearching", "properties", "source", "updatedAt"];
2416
+ readonly required: readonly ["agencyId", "contactId", "contactInfo", "createdAt", "createdBy", "interests", "isListing", "isSearching", "properties", "source", "updatedAt"];
2417
+ };
2418
+ export declare const ColoredListingResponseSchema: {
2419
+ readonly type: "object";
2420
+ readonly properties: {
2421
+ readonly activatedAt: {
2422
+ readonly type: "string";
2423
+ readonly format: "date";
2424
+ };
2425
+ readonly expiresAt: {
2426
+ readonly type: "string";
2427
+ readonly format: "date";
2428
+ };
2429
+ };
2430
+ readonly required: readonly ["activatedAt", "expiresAt"];
2909
2431
  };
2910
- export declare const ClientListingsResponseSchema: {
2432
+ export declare const CommunicationPreferenceResponseSchema: {
2433
+ readonly type: "object";
2434
+ readonly properties: {
2435
+ readonly preferredContactMethod: {
2436
+ readonly type: "string";
2437
+ readonly enum: readonly ["WHATSAPP", "VIBER", "PHONE_CALL"];
2438
+ };
2439
+ readonly contactMethods: {
2440
+ readonly type: "array";
2441
+ readonly items: {
2442
+ readonly type: "string";
2443
+ readonly enum: readonly ["WHATSAPP", "VIBER", "PHONE_CALL"];
2444
+ };
2445
+ };
2446
+ };
2447
+ readonly required: readonly ["contactMethods"];
2448
+ };
2449
+ export declare const ContactInfoResponseSchema: {
2450
+ readonly type: "object";
2451
+ readonly properties: {
2452
+ readonly firstName: {
2453
+ readonly type: "string";
2454
+ };
2455
+ readonly lastName: {
2456
+ readonly type: "string";
2457
+ };
2458
+ readonly gender: {
2459
+ readonly type: "string";
2460
+ readonly enum: readonly ["MALE", "FEMALE", "UNKNOWN"];
2461
+ };
2462
+ readonly phoneNumber: {
2463
+ readonly type: "string";
2464
+ };
2465
+ readonly email: {
2466
+ readonly type: "string";
2467
+ };
2468
+ };
2469
+ readonly required: readonly ["gender", "phoneNumber"];
2470
+ };
2471
+ export declare const ContactListingsResponseSchema: {
2911
2472
  readonly type: "object";
2912
2473
  readonly properties: {
2913
2474
  readonly publicId: {
@@ -2937,7 +2498,7 @@ export declare const ClientListingsResponseSchema: {
2937
2498
  };
2938
2499
  readonly required: readonly ["listingId", "listingType", "platformListings", "price", "publicId"];
2939
2500
  };
2940
- export declare const ClientPropertyResponseSchema: {
2501
+ export declare const ContactPropertyResponseSchema: {
2941
2502
  readonly type: "object";
2942
2503
  readonly properties: {
2943
2504
  readonly publicId: {
@@ -2965,65 +2526,12 @@ export declare const ClientPropertyResponseSchema: {
2965
2526
  readonly listings: {
2966
2527
  readonly type: "array";
2967
2528
  readonly items: {
2968
- readonly $ref: "#/components/schemas/ClientListingsResponse";
2529
+ readonly $ref: "#/components/schemas/ContactListingsResponse";
2969
2530
  };
2970
2531
  };
2971
2532
  };
2972
2533
  readonly required: readonly ["agreement", "listings", "propertyId", "publicId", "state", "type"];
2973
2534
  };
2974
- export declare const ColoredListingResponseSchema: {
2975
- readonly type: "object";
2976
- readonly properties: {
2977
- readonly activatedAt: {
2978
- readonly type: "string";
2979
- readonly format: "date";
2980
- };
2981
- readonly expiresAt: {
2982
- readonly type: "string";
2983
- readonly format: "date";
2984
- };
2985
- };
2986
- readonly required: readonly ["activatedAt", "expiresAt"];
2987
- };
2988
- export declare const CommunicationPreferenceResponseSchema: {
2989
- readonly type: "object";
2990
- readonly properties: {
2991
- readonly preferredContactMethod: {
2992
- readonly type: "string";
2993
- readonly enum: readonly ["WHATSAPP", "VIBER", "PHONE_CALL"];
2994
- };
2995
- readonly contactMethods: {
2996
- readonly type: "array";
2997
- readonly items: {
2998
- readonly type: "string";
2999
- readonly enum: readonly ["WHATSAPP", "VIBER", "PHONE_CALL"];
3000
- };
3001
- };
3002
- };
3003
- readonly required: readonly ["contactMethods"];
3004
- };
3005
- export declare const ContactInfoResponseSchema: {
3006
- readonly type: "object";
3007
- readonly properties: {
3008
- readonly firstName: {
3009
- readonly type: "string";
3010
- };
3011
- readonly lastName: {
3012
- readonly type: "string";
3013
- };
3014
- readonly gender: {
3015
- readonly type: "string";
3016
- readonly enum: readonly ["MALE", "FEMALE", "UNKNOWN"];
3017
- };
3018
- readonly phoneNumber: {
3019
- readonly type: "string";
3020
- };
3021
- readonly email: {
3022
- readonly type: "string";
3023
- };
3024
- };
3025
- readonly required: readonly ["gender", "phoneNumber"];
3026
- };
3027
2535
  export declare const DealResponseSchema: {
3028
2536
  readonly type: "object";
3029
2537
  readonly properties: {
@@ -3114,7 +2622,7 @@ export declare const SourceResponseSchema: {
3114
2622
  readonly properties: {
3115
2623
  readonly sourceType: {
3116
2624
  readonly type: "string";
3117
- readonly enum: readonly ["MY_HOME", "SS", "HOME_SPOT", "UNKNOWN"];
2625
+ readonly enum: readonly ["MY_HOME", "SS", "HOME_SPOT", "AGENCY_MEMBER", "UNKNOWN"];
3118
2626
  };
3119
2627
  readonly sourceLink: {
3120
2628
  readonly type: "string";
@@ -3122,6 +2630,88 @@ export declare const SourceResponseSchema: {
3122
2630
  };
3123
2631
  readonly required: readonly ["sourceType"];
3124
2632
  };
2633
+ export declare const AssignedAgentSchema: {
2634
+ readonly type: "object";
2635
+ readonly properties: {
2636
+ readonly memberId: {
2637
+ readonly type: "string";
2638
+ readonly format: "uuid";
2639
+ };
2640
+ readonly firstName: {
2641
+ readonly type: "string";
2642
+ };
2643
+ readonly lastName: {
2644
+ readonly type: "string";
2645
+ };
2646
+ readonly photo: {
2647
+ readonly type: "string";
2648
+ };
2649
+ readonly phone: {
2650
+ readonly type: "string";
2651
+ };
2652
+ };
2653
+ readonly required: readonly ["firstName", "lastName", "memberId"];
2654
+ };
2655
+ export declare const DuplicateContactInfoSchema: {
2656
+ readonly type: "object";
2657
+ readonly properties: {
2658
+ readonly contactId: {
2659
+ readonly type: "integer";
2660
+ readonly format: "int64";
2661
+ };
2662
+ readonly isActive: {
2663
+ readonly type: "boolean";
2664
+ };
2665
+ readonly firstName: {
2666
+ readonly type: "string";
2667
+ };
2668
+ readonly lastName: {
2669
+ readonly type: "string";
2670
+ };
2671
+ readonly gender: {
2672
+ readonly type: "string";
2673
+ readonly enum: readonly ["MALE", "FEMALE", "UNKNOWN"];
2674
+ };
2675
+ readonly email: {
2676
+ readonly type: "string";
2677
+ };
2678
+ readonly phone: {
2679
+ readonly type: "string";
2680
+ };
2681
+ readonly contactMethods: {
2682
+ readonly type: "array";
2683
+ readonly items: {
2684
+ readonly type: "string";
2685
+ readonly enum: readonly ["WHATSAPP", "VIBER", "PHONE_CALL"];
2686
+ };
2687
+ readonly uniqueItems: true;
2688
+ };
2689
+ readonly favoriteContactMethod: {
2690
+ readonly type: "string";
2691
+ readonly enum: readonly ["WHATSAPP", "VIBER", "PHONE_CALL"];
2692
+ };
2693
+ readonly assignedTo: {
2694
+ readonly $ref: "#/components/schemas/AssignedAgent";
2695
+ };
2696
+ };
2697
+ readonly required: readonly ["contactId", "isActive", "phone"];
2698
+ };
2699
+ export declare const PhoneDuplicateCheckResponseSchema: {
2700
+ readonly type: "object";
2701
+ readonly properties: {
2702
+ readonly policy: {
2703
+ readonly type: "string";
2704
+ readonly enum: readonly ["ALLOW", "WARN", "PREVENT"];
2705
+ };
2706
+ readonly matches: {
2707
+ readonly type: "array";
2708
+ readonly items: {
2709
+ readonly $ref: "#/components/schemas/DuplicateContactInfo";
2710
+ };
2711
+ };
2712
+ };
2713
+ readonly required: readonly ["matches", "policy"];
2714
+ };
3125
2715
  export declare const AddressViewResponseSchema: {
3126
2716
  readonly type: "object";
3127
2717
  readonly properties: {