@homespot-sdk/core 0.0.301 → 0.0.303

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.
Files changed (41) hide show
  1. package/dist/property/index.d.ts +2 -2
  2. package/dist/property/index.d.ts.map +1 -1
  3. package/dist/property/index.js +1 -1
  4. package/dist/property/index.js.map +1 -1
  5. package/dist/property/schemas.gen.d.ts +27 -1
  6. package/dist/property/schemas.gen.d.ts.map +1 -1
  7. package/dist/property/schemas.gen.js +48 -1
  8. package/dist/property/schemas.gen.js.map +1 -1
  9. package/dist/property/sdk.gen.d.ts +2 -1
  10. package/dist/property/sdk.gen.d.ts.map +1 -1
  11. package/dist/property/sdk.gen.js +9 -0
  12. package/dist/property/sdk.gen.js.map +1 -1
  13. package/dist/property/types.gen.d.ts +23 -1
  14. package/dist/property/types.gen.d.ts.map +1 -1
  15. package/dist/property/zod.gen.d.ts +69 -3
  16. package/dist/property/zod.gen.d.ts.map +1 -1
  17. package/dist/property/zod.gen.js +54 -1
  18. package/dist/property/zod.gen.js.map +1 -1
  19. package/dist/rem/index.d.ts +2 -2
  20. package/dist/rem/index.d.ts.map +1 -1
  21. package/dist/rem/index.js +1 -1
  22. package/dist/rem/index.js.map +1 -1
  23. package/dist/rem/schemas.gen.d.ts +380 -782
  24. package/dist/rem/schemas.gen.d.ts.map +1 -1
  25. package/dist/rem/schemas.gen.js +513 -983
  26. package/dist/rem/schemas.gen.js.map +1 -1
  27. package/dist/rem/sdk.gen.d.ts +47 -54
  28. package/dist/rem/sdk.gen.d.ts.map +1 -1
  29. package/dist/rem/sdk.gen.js +122 -179
  30. package/dist/rem/sdk.gen.js.map +1 -1
  31. package/dist/rem/transformers.gen.d.ts +9 -7
  32. package/dist/rem/transformers.gen.d.ts.map +1 -1
  33. package/dist/rem/transformers.gen.js +50 -30
  34. package/dist/rem/transformers.gen.js.map +1 -1
  35. package/dist/rem/types.gen.d.ts +550 -785
  36. package/dist/rem/types.gen.d.ts.map +1 -1
  37. package/dist/rem/zod.gen.d.ts +1778 -3251
  38. package/dist/rem/zod.gen.d.ts.map +1 -1
  39. package/dist/rem/zod.gen.js +867 -1256
  40. package/dist/rem/zod.gen.js.map +1 -1
  41. package/package.json +1 -1
@@ -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", "WARM", "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
  };
@@ -1957,7 +1632,11 @@ export declare const OauthConnectionResponseSchema: {
1957
1632
  };
1958
1633
  readonly provider: {
1959
1634
  readonly type: "string";
1960
- readonly enum: readonly ["GOOGLE", "FACEBOOK"];
1635
+ readonly enum: readonly ["FACEBOOK", "INSTAGRAM", "WHATSAPP"];
1636
+ };
1637
+ readonly status: {
1638
+ readonly type: "string";
1639
+ readonly enum: readonly ["ACTIVE", "REVOKED"];
1961
1640
  };
1962
1641
  readonly pagePicture: {
1963
1642
  readonly type: "string";
@@ -1973,8 +1652,12 @@ export declare const OauthConnectionResponseSchema: {
1973
1652
  readonly type: "string";
1974
1653
  readonly format: "date-time";
1975
1654
  };
1655
+ readonly revokedAt: {
1656
+ readonly type: "string";
1657
+ readonly format: "date-time";
1658
+ };
1976
1659
  };
1977
- readonly required: readonly ["agencyId", "createdAt", "provider", "updatedAt", "userId"];
1660
+ readonly required: readonly ["agencyId", "createdAt", "provider", "status", "updatedAt", "userId"];
1978
1661
  };
1979
1662
  export declare const MemberViewResponseSchema: {
1980
1663
  readonly type: "object";
@@ -2115,7 +1798,7 @@ export declare const AttendeeViewSchema: {
2115
1798
  readonly type: "string";
2116
1799
  readonly format: "uuid";
2117
1800
  };
2118
- readonly clientId: {
1801
+ readonly contactId: {
2119
1802
  readonly type: "integer";
2120
1803
  readonly format: "int64";
2121
1804
  };
@@ -2251,7 +1934,7 @@ export declare const ListingGridViewSchema: {
2251
1934
  readonly type: "integer";
2252
1935
  readonly format: "int64";
2253
1936
  };
2254
- readonly clientId: {
1937
+ readonly contactId: {
2255
1938
  readonly type: "integer";
2256
1939
  readonly format: "int64";
2257
1940
  };
@@ -2383,132 +2066,6 @@ export declare const GroupCountSchema: {
2383
2066
  };
2384
2067
  readonly required: readonly ["count", "groupKey", "label"];
2385
2068
  };
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
2069
  export declare const InvitationViewResponseSchema: {
2513
2070
  readonly type: "object";
2514
2071
  readonly properties: {
@@ -2555,93 +2112,7 @@ export declare const PagedModelInvitationViewResponseSchema: {
2555
2112
  };
2556
2113
  };
2557
2114
  };
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: {
2115
+ export declare const ConstantInterestResponseSchema: {
2645
2116
  readonly type: "object";
2646
2117
  readonly properties: {
2647
2118
  readonly id: {
@@ -2716,40 +2187,93 @@ export declare const ClientInterestResponseSchema: {
2716
2187
  };
2717
2188
  readonly required: readonly ["active", "id", "listingType", "propertyTypes"];
2718
2189
  };
2719
- export declare const ClientGridResponseSchema: {
2190
+ export declare const CommentViewSchema: {
2720
2191
  readonly type: "object";
2721
2192
  readonly properties: {
2722
2193
  readonly id: {
2194
+ readonly type: "string";
2195
+ readonly format: "uuid";
2196
+ };
2197
+ readonly contactId: {
2723
2198
  readonly type: "integer";
2724
2199
  readonly format: "int64";
2725
2200
  };
2726
- readonly createdBy: {
2201
+ readonly authorId: {
2727
2202
  readonly type: "string";
2728
2203
  readonly format: "uuid";
2729
2204
  };
2730
- readonly leadId: {
2205
+ readonly authorFirstName: {
2206
+ readonly type: "string";
2207
+ };
2208
+ readonly authorLastName: {
2209
+ readonly type: "string";
2210
+ };
2211
+ readonly body: {
2212
+ readonly type: "string";
2213
+ };
2214
+ readonly createdAt: {
2215
+ readonly type: "string";
2216
+ readonly format: "date-time";
2217
+ };
2218
+ readonly editedAt: {
2219
+ readonly type: "string";
2220
+ readonly format: "date-time";
2221
+ };
2222
+ };
2223
+ readonly required: readonly ["authorFirstName", "authorId", "authorLastName", "body", "contactId", "createdAt", "id"];
2224
+ };
2225
+ export declare const PagedModelCommentViewSchema: {
2226
+ readonly type: "object";
2227
+ readonly properties: {
2228
+ readonly content: {
2229
+ readonly type: "array";
2230
+ readonly items: {
2231
+ readonly $ref: "#/components/schemas/CommentView";
2232
+ };
2233
+ };
2234
+ readonly page: {
2235
+ readonly $ref: "#/components/schemas/PageMetadata";
2236
+ };
2237
+ };
2238
+ };
2239
+ export declare const ContactGridResponseSchema: {
2240
+ readonly type: "object";
2241
+ readonly properties: {
2242
+ readonly id: {
2731
2243
  readonly type: "integer";
2732
2244
  readonly format: "int64";
2733
2245
  };
2246
+ readonly createdBy: {
2247
+ readonly type: "string";
2248
+ readonly format: "uuid";
2249
+ };
2734
2250
  readonly assignedTo: {
2735
2251
  readonly $ref: "#/components/schemas/AssignedToResponse";
2736
2252
  };
2737
- readonly contactFullName: {
2253
+ readonly status: {
2738
2254
  readonly type: "string";
2255
+ readonly enum: readonly ["NEW", "ON_HOLD", "COLD", "WARM", "HOT", "WAITING_PAYMENT", "LOST", "CLOSED"];
2739
2256
  };
2740
- readonly contactPhoneNumber: {
2257
+ readonly priority: {
2741
2258
  readonly type: "string";
2259
+ readonly enum: readonly ["CRITICAL", "HIGH", "MEDIUM", "LOW"];
2742
2260
  };
2743
- readonly contactGender: {
2261
+ readonly contactName: {
2262
+ readonly type: "string";
2263
+ };
2264
+ readonly gender: {
2744
2265
  readonly type: "string";
2745
2266
  readonly enum: readonly ["MALE", "FEMALE", "UNKNOWN"];
2746
2267
  };
2747
- readonly contactEmail: {
2268
+ readonly phoneNumber: {
2269
+ readonly type: "string";
2270
+ };
2271
+ readonly email: {
2748
2272
  readonly type: "string";
2749
2273
  };
2750
2274
  readonly sourceType: {
2751
2275
  readonly type: "string";
2752
- readonly enum: readonly ["MY_HOME", "SS", "HOME_SPOT", "UNKNOWN"];
2276
+ readonly enum: readonly ["MY_HOME", "SS", "HOME_SPOT", "AGENCY_MEMBER", "FACEBOOK", "INSTAGRAM", "WHATSAPP", "UNKNOWN"];
2753
2277
  };
2754
2278
  readonly sourceLink: {
2755
2279
  readonly type: "string";
@@ -2760,32 +2284,24 @@ export declare const ClientGridResponseSchema: {
2760
2284
  readonly isListing: {
2761
2285
  readonly type: "boolean";
2762
2286
  };
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: {
2287
+ readonly createdAt: {
2772
2288
  readonly type: "string";
2773
- readonly enum: readonly ["WHATSAPP", "VIBER", "PHONE_CALL"];
2289
+ readonly format: "date-time";
2774
2290
  };
2775
- readonly priority: {
2291
+ readonly updatedAt: {
2776
2292
  readonly type: "string";
2777
- readonly enum: readonly ["CRITICAL", "HIGH", "MEDIUM", "LOW"];
2293
+ readonly format: "date-time";
2778
2294
  };
2779
2295
  };
2780
- readonly required: readonly ["contactMethods", "contactPhoneNumber", "createdBy", "id", "isListing", "isSearching"];
2296
+ readonly required: readonly ["createdAt", "id", "isListing", "isSearching", "status", "updatedAt"];
2781
2297
  };
2782
- export declare const PagedModelClientGridResponseSchema: {
2298
+ export declare const PagedModelContactGridResponseSchema: {
2783
2299
  readonly type: "object";
2784
2300
  readonly properties: {
2785
2301
  readonly content: {
2786
2302
  readonly type: "array";
2787
2303
  readonly items: {
2788
- readonly $ref: "#/components/schemas/ClientGridResponse";
2304
+ readonly $ref: "#/components/schemas/ContactGridResponse";
2789
2305
  };
2790
2306
  };
2791
2307
  readonly page: {
@@ -2847,7 +2363,7 @@ export declare const AssignedMemberSchema: {
2847
2363
  export declare const Client360ResponseSchema: {
2848
2364
  readonly type: "object";
2849
2365
  readonly properties: {
2850
- readonly clientId: {
2366
+ readonly contactId: {
2851
2367
  readonly type: "integer";
2852
2368
  readonly format: "int64";
2853
2369
  };
@@ -2855,7 +2371,7 @@ export declare const Client360ResponseSchema: {
2855
2371
  readonly type: "string";
2856
2372
  readonly format: "uuid";
2857
2373
  };
2858
- readonly clientUserId: {
2374
+ readonly contactUserId: {
2859
2375
  readonly type: "string";
2860
2376
  };
2861
2377
  readonly createdBy: {
@@ -2895,19 +2411,72 @@ export declare const Client360ResponseSchema: {
2895
2411
  readonly interests: {
2896
2412
  readonly type: "array";
2897
2413
  readonly items: {
2898
- readonly $ref: "#/components/schemas/ClientInterestResponse";
2414
+ readonly $ref: "#/components/schemas/ConstantInterestResponse";
2899
2415
  };
2900
2416
  };
2901
2417
  readonly properties: {
2902
2418
  readonly type: "array";
2903
2419
  readonly items: {
2904
- readonly $ref: "#/components/schemas/ClientPropertyResponse";
2420
+ readonly $ref: "#/components/schemas/ContactPropertyResponse";
2905
2421
  };
2906
2422
  };
2907
2423
  };
2908
- readonly required: readonly ["agencyId", "clientId", "contactInfo", "createdAt", "createdBy", "interests", "isListing", "isSearching", "properties", "source", "updatedAt"];
2424
+ readonly required: readonly ["agencyId", "contactId", "contactInfo", "createdAt", "createdBy", "interests", "isListing", "isSearching", "properties", "source", "updatedAt"];
2909
2425
  };
2910
- export declare const ClientListingsResponseSchema: {
2426
+ export declare const ColoredListingResponseSchema: {
2427
+ readonly type: "object";
2428
+ readonly properties: {
2429
+ readonly activatedAt: {
2430
+ readonly type: "string";
2431
+ readonly format: "date";
2432
+ };
2433
+ readonly expiresAt: {
2434
+ readonly type: "string";
2435
+ readonly format: "date";
2436
+ };
2437
+ };
2438
+ readonly required: readonly ["activatedAt", "expiresAt"];
2439
+ };
2440
+ export declare const CommunicationPreferenceResponseSchema: {
2441
+ readonly type: "object";
2442
+ readonly properties: {
2443
+ readonly preferredContactMethod: {
2444
+ readonly type: "string";
2445
+ readonly enum: readonly ["WHATSAPP", "VIBER", "PHONE_CALL"];
2446
+ };
2447
+ readonly contactMethods: {
2448
+ readonly type: "array";
2449
+ readonly items: {
2450
+ readonly type: "string";
2451
+ readonly enum: readonly ["WHATSAPP", "VIBER", "PHONE_CALL"];
2452
+ };
2453
+ };
2454
+ };
2455
+ readonly required: readonly ["contactMethods"];
2456
+ };
2457
+ export declare const ContactInfoResponseSchema: {
2458
+ readonly type: "object";
2459
+ readonly properties: {
2460
+ readonly firstName: {
2461
+ readonly type: "string";
2462
+ };
2463
+ readonly lastName: {
2464
+ readonly type: "string";
2465
+ };
2466
+ readonly gender: {
2467
+ readonly type: "string";
2468
+ readonly enum: readonly ["MALE", "FEMALE", "UNKNOWN"];
2469
+ };
2470
+ readonly phoneNumber: {
2471
+ readonly type: "string";
2472
+ };
2473
+ readonly email: {
2474
+ readonly type: "string";
2475
+ };
2476
+ };
2477
+ readonly required: readonly ["gender", "phoneNumber"];
2478
+ };
2479
+ export declare const ContactListingsResponseSchema: {
2911
2480
  readonly type: "object";
2912
2481
  readonly properties: {
2913
2482
  readonly publicId: {
@@ -2937,7 +2506,7 @@ export declare const ClientListingsResponseSchema: {
2937
2506
  };
2938
2507
  readonly required: readonly ["listingId", "listingType", "platformListings", "price", "publicId"];
2939
2508
  };
2940
- export declare const ClientPropertyResponseSchema: {
2509
+ export declare const ContactPropertyResponseSchema: {
2941
2510
  readonly type: "object";
2942
2511
  readonly properties: {
2943
2512
  readonly publicId: {
@@ -2965,65 +2534,12 @@ export declare const ClientPropertyResponseSchema: {
2965
2534
  readonly listings: {
2966
2535
  readonly type: "array";
2967
2536
  readonly items: {
2968
- readonly $ref: "#/components/schemas/ClientListingsResponse";
2537
+ readonly $ref: "#/components/schemas/ContactListingsResponse";
2969
2538
  };
2970
2539
  };
2971
2540
  };
2972
2541
  readonly required: readonly ["agreement", "listings", "propertyId", "publicId", "state", "type"];
2973
2542
  };
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
2543
  export declare const DealResponseSchema: {
3028
2544
  readonly type: "object";
3029
2545
  readonly properties: {
@@ -3114,7 +2630,7 @@ export declare const SourceResponseSchema: {
3114
2630
  readonly properties: {
3115
2631
  readonly sourceType: {
3116
2632
  readonly type: "string";
3117
- readonly enum: readonly ["MY_HOME", "SS", "HOME_SPOT", "UNKNOWN"];
2633
+ readonly enum: readonly ["MY_HOME", "SS", "HOME_SPOT", "AGENCY_MEMBER", "FACEBOOK", "INSTAGRAM", "WHATSAPP", "UNKNOWN"];
3118
2634
  };
3119
2635
  readonly sourceLink: {
3120
2636
  readonly type: "string";
@@ -3122,6 +2638,88 @@ export declare const SourceResponseSchema: {
3122
2638
  };
3123
2639
  readonly required: readonly ["sourceType"];
3124
2640
  };
2641
+ export declare const AssignedAgentSchema: {
2642
+ readonly type: "object";
2643
+ readonly properties: {
2644
+ readonly memberId: {
2645
+ readonly type: "string";
2646
+ readonly format: "uuid";
2647
+ };
2648
+ readonly firstName: {
2649
+ readonly type: "string";
2650
+ };
2651
+ readonly lastName: {
2652
+ readonly type: "string";
2653
+ };
2654
+ readonly photo: {
2655
+ readonly type: "string";
2656
+ };
2657
+ readonly phone: {
2658
+ readonly type: "string";
2659
+ };
2660
+ };
2661
+ readonly required: readonly ["firstName", "lastName", "memberId"];
2662
+ };
2663
+ export declare const DuplicateContactInfoSchema: {
2664
+ readonly type: "object";
2665
+ readonly properties: {
2666
+ readonly contactId: {
2667
+ readonly type: "integer";
2668
+ readonly format: "int64";
2669
+ };
2670
+ readonly isActive: {
2671
+ readonly type: "boolean";
2672
+ };
2673
+ readonly firstName: {
2674
+ readonly type: "string";
2675
+ };
2676
+ readonly lastName: {
2677
+ readonly type: "string";
2678
+ };
2679
+ readonly gender: {
2680
+ readonly type: "string";
2681
+ readonly enum: readonly ["MALE", "FEMALE", "UNKNOWN"];
2682
+ };
2683
+ readonly email: {
2684
+ readonly type: "string";
2685
+ };
2686
+ readonly phone: {
2687
+ readonly type: "string";
2688
+ };
2689
+ readonly contactMethods: {
2690
+ readonly type: "array";
2691
+ readonly items: {
2692
+ readonly type: "string";
2693
+ readonly enum: readonly ["WHATSAPP", "VIBER", "PHONE_CALL"];
2694
+ };
2695
+ readonly uniqueItems: true;
2696
+ };
2697
+ readonly favoriteContactMethod: {
2698
+ readonly type: "string";
2699
+ readonly enum: readonly ["WHATSAPP", "VIBER", "PHONE_CALL"];
2700
+ };
2701
+ readonly assignedTo: {
2702
+ readonly $ref: "#/components/schemas/AssignedAgent";
2703
+ };
2704
+ };
2705
+ readonly required: readonly ["contactId", "isActive", "phone"];
2706
+ };
2707
+ export declare const PhoneDuplicateCheckResponseSchema: {
2708
+ readonly type: "object";
2709
+ readonly properties: {
2710
+ readonly policy: {
2711
+ readonly type: "string";
2712
+ readonly enum: readonly ["ALLOW", "WARN", "PREVENT"];
2713
+ };
2714
+ readonly matches: {
2715
+ readonly type: "array";
2716
+ readonly items: {
2717
+ readonly $ref: "#/components/schemas/DuplicateContactInfo";
2718
+ };
2719
+ };
2720
+ };
2721
+ readonly required: readonly ["matches", "policy"];
2722
+ };
3125
2723
  export declare const AddressViewResponseSchema: {
3126
2724
  readonly type: "object";
3127
2725
  readonly properties: {