@homespot-sdk/core 0.0.338 → 0.0.340
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.
- package/dist/rem/index.d.ts +2 -2
- package/dist/rem/index.d.ts.map +1 -1
- package/dist/rem/index.js +1 -1
- package/dist/rem/index.js.map +1 -1
- package/dist/rem/schemas.gen.d.ts +1324 -436
- package/dist/rem/schemas.gen.d.ts.map +1 -1
- package/dist/rem/schemas.gen.js +1450 -592
- package/dist/rem/schemas.gen.js.map +1 -1
- package/dist/rem/sdk.gen.d.ts +67 -17
- package/dist/rem/sdk.gen.d.ts.map +1 -1
- package/dist/rem/sdk.gen.js +385 -32
- package/dist/rem/sdk.gen.js.map +1 -1
- package/dist/rem/transformers.gen.d.ts +10 -3
- package/dist/rem/transformers.gen.d.ts.map +1 -1
- package/dist/rem/transformers.gen.js +112 -37
- package/dist/rem/transformers.gen.js.map +1 -1
- package/dist/rem/types.gen.d.ts +1250 -283
- package/dist/rem/types.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.d.ts +2844 -2403
- package/dist/rem/zod.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.js +1302 -758
- package/dist/rem/zod.gen.js.map +1 -1
- package/package.json +1 -1
|
@@ -192,7 +192,7 @@ export declare const RolesRequestSchema: {
|
|
|
192
192
|
readonly type: "array";
|
|
193
193
|
readonly items: {
|
|
194
194
|
readonly type: "string";
|
|
195
|
-
readonly enum: readonly ["MANAGE_AGENCY", "MANAGE_ROLE", "MANAGE_MEMBER", "CREATE_DELETE_MEMBER", "CREATE_CONTACT", "DELETE_CONTACT", "MANAGE_CONTACT", "MANAGE_ANY_CONTACT", "ASSIGN_CONTACT"];
|
|
195
|
+
readonly enum: readonly ["MANAGE_AGENCY", "MANAGE_ROLE", "MANAGE_MEMBER", "CREATE_DELETE_MEMBER", "CREATE_CONTACT", "DELETE_CONTACT", "MANAGE_CONTACT", "MANAGE_ANY_CONTACT", "ASSIGN_CONTACT", "MANAGE_BOARD", "MANAGE_DEAL", "DELETE_DEAL"];
|
|
196
196
|
};
|
|
197
197
|
};
|
|
198
198
|
};
|
|
@@ -271,6 +271,108 @@ export declare const RescheduleRequestSchema: {
|
|
|
271
271
|
};
|
|
272
272
|
readonly required: readonly ["start"];
|
|
273
273
|
};
|
|
274
|
+
export declare const CommentBodyRequestSchema: {
|
|
275
|
+
readonly type: "object";
|
|
276
|
+
readonly properties: {
|
|
277
|
+
readonly body: {
|
|
278
|
+
readonly type: "string";
|
|
279
|
+
readonly maxLength: 4000;
|
|
280
|
+
readonly minLength: 0;
|
|
281
|
+
};
|
|
282
|
+
};
|
|
283
|
+
readonly required: readonly ["body"];
|
|
284
|
+
};
|
|
285
|
+
export declare const SetDealValueRequestSchema: {
|
|
286
|
+
readonly type: "object";
|
|
287
|
+
readonly properties: {
|
|
288
|
+
readonly value: {
|
|
289
|
+
readonly type: "number";
|
|
290
|
+
};
|
|
291
|
+
};
|
|
292
|
+
};
|
|
293
|
+
export declare const TransferDealRequestSchema: {
|
|
294
|
+
readonly type: "object";
|
|
295
|
+
readonly properties: {
|
|
296
|
+
readonly targetBoardId: {
|
|
297
|
+
readonly type: "string";
|
|
298
|
+
readonly format: "uuid";
|
|
299
|
+
};
|
|
300
|
+
readonly targetStageId: {
|
|
301
|
+
readonly type: "string";
|
|
302
|
+
readonly format: "uuid";
|
|
303
|
+
};
|
|
304
|
+
};
|
|
305
|
+
readonly required: readonly ["targetBoardId", "targetStageId"];
|
|
306
|
+
};
|
|
307
|
+
export declare const RenameDealRequestSchema: {
|
|
308
|
+
readonly type: "object";
|
|
309
|
+
readonly properties: {
|
|
310
|
+
readonly title: {
|
|
311
|
+
readonly type: "string";
|
|
312
|
+
};
|
|
313
|
+
};
|
|
314
|
+
readonly required: readonly ["title"];
|
|
315
|
+
};
|
|
316
|
+
export declare const MoveDealRequestSchema: {
|
|
317
|
+
readonly type: "object";
|
|
318
|
+
readonly properties: {
|
|
319
|
+
readonly targetStageId: {
|
|
320
|
+
readonly type: "string";
|
|
321
|
+
readonly format: "uuid";
|
|
322
|
+
};
|
|
323
|
+
};
|
|
324
|
+
readonly required: readonly ["targetStageId"];
|
|
325
|
+
};
|
|
326
|
+
export declare const MarkDealLostRequestSchema: {
|
|
327
|
+
readonly type: "object";
|
|
328
|
+
readonly properties: {
|
|
329
|
+
readonly reason: {
|
|
330
|
+
readonly type: "string";
|
|
331
|
+
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"];
|
|
332
|
+
};
|
|
333
|
+
};
|
|
334
|
+
readonly required: readonly ["reason"];
|
|
335
|
+
};
|
|
336
|
+
export declare const SetExpectedCloseDateRequestSchema: {
|
|
337
|
+
readonly type: "object";
|
|
338
|
+
readonly properties: {
|
|
339
|
+
readonly expectedCloseDate: {
|
|
340
|
+
readonly type: "string";
|
|
341
|
+
readonly format: "date";
|
|
342
|
+
};
|
|
343
|
+
};
|
|
344
|
+
};
|
|
345
|
+
export declare const DescribeDealRequestSchema: {
|
|
346
|
+
readonly type: "object";
|
|
347
|
+
readonly properties: {
|
|
348
|
+
readonly description: {
|
|
349
|
+
readonly type: "string";
|
|
350
|
+
};
|
|
351
|
+
};
|
|
352
|
+
};
|
|
353
|
+
export declare const SetDealCommissionRequestSchema: {
|
|
354
|
+
readonly type: "object";
|
|
355
|
+
readonly properties: {
|
|
356
|
+
readonly type: {
|
|
357
|
+
readonly type: "string";
|
|
358
|
+
readonly enum: readonly ["NOT_SET", "FIXED", "PERCENTAGE", "MONTHS_OF_RENT"];
|
|
359
|
+
};
|
|
360
|
+
readonly value: {
|
|
361
|
+
readonly type: "number";
|
|
362
|
+
readonly description: "Amount for FIXED, fraction (0,1] for PERCENTAGE, factor for MONTHS_OF_RENT";
|
|
363
|
+
};
|
|
364
|
+
};
|
|
365
|
+
readonly required: readonly ["type"];
|
|
366
|
+
};
|
|
367
|
+
export declare const RenameTaskRequestSchema: {
|
|
368
|
+
readonly type: "object";
|
|
369
|
+
readonly properties: {
|
|
370
|
+
readonly title: {
|
|
371
|
+
readonly type: "string";
|
|
372
|
+
};
|
|
373
|
+
};
|
|
374
|
+
readonly required: readonly ["title"];
|
|
375
|
+
};
|
|
274
376
|
export declare const UpdateListingPriceRequestSchema: {
|
|
275
377
|
readonly type: "object";
|
|
276
378
|
readonly properties: {
|
|
@@ -408,17 +510,6 @@ export declare const RecommendListingRequestSchema: {
|
|
|
408
510
|
};
|
|
409
511
|
readonly required: readonly ["externalListingId", "externalPropertyId"];
|
|
410
512
|
};
|
|
411
|
-
export declare const CommentBodyRequestSchema: {
|
|
412
|
-
readonly type: "object";
|
|
413
|
-
readonly properties: {
|
|
414
|
-
readonly body: {
|
|
415
|
-
readonly type: "string";
|
|
416
|
-
readonly maxLength: 4000;
|
|
417
|
-
readonly minLength: 0;
|
|
418
|
-
};
|
|
419
|
-
};
|
|
420
|
-
readonly required: readonly ["body"];
|
|
421
|
-
};
|
|
422
513
|
export declare const PhoneRequestSchema: {
|
|
423
514
|
readonly type: "object";
|
|
424
515
|
readonly properties: {
|
|
@@ -482,58 +573,100 @@ export declare const UpdateContactDetailsRequestSchema: {
|
|
|
482
573
|
readonly nullifyFavoriteContactMethod: {
|
|
483
574
|
readonly type: "boolean";
|
|
484
575
|
};
|
|
485
|
-
|
|
576
|
+
};
|
|
577
|
+
};
|
|
578
|
+
export declare const ReassignMemberRequestSchema: {
|
|
579
|
+
readonly type: "object";
|
|
580
|
+
readonly properties: {
|
|
581
|
+
readonly memberId: {
|
|
486
582
|
readonly type: "string";
|
|
487
|
-
readonly
|
|
583
|
+
readonly format: "uuid";
|
|
488
584
|
};
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
585
|
+
};
|
|
586
|
+
readonly required: readonly ["memberId"];
|
|
587
|
+
};
|
|
588
|
+
export declare const ContactMergeRequestSchema: {
|
|
589
|
+
readonly type: "object";
|
|
590
|
+
readonly properties: {
|
|
591
|
+
readonly survivorContactId: {
|
|
592
|
+
readonly type: "integer";
|
|
593
|
+
readonly format: "int64";
|
|
594
|
+
};
|
|
595
|
+
readonly loserContactId: {
|
|
596
|
+
readonly type: "integer";
|
|
597
|
+
readonly format: "int64";
|
|
492
598
|
};
|
|
493
599
|
};
|
|
600
|
+
readonly required: readonly ["loserContactId", "survivorContactId"];
|
|
494
601
|
};
|
|
495
|
-
export declare const
|
|
602
|
+
export declare const RenameRequestSchema: {
|
|
496
603
|
readonly type: "object";
|
|
497
604
|
readonly properties: {
|
|
498
|
-
readonly
|
|
605
|
+
readonly name: {
|
|
499
606
|
readonly type: "string";
|
|
500
|
-
readonly enum: readonly ["NEW", "ON_HOLD", "COLD", "WARM", "HOT", "WAITING_PAYMENT", "LOST", "WON"];
|
|
501
607
|
};
|
|
502
608
|
};
|
|
609
|
+
readonly required: readonly ["name"];
|
|
503
610
|
};
|
|
504
|
-
export declare const
|
|
611
|
+
export declare const ReorderTaskTemplatesRequestSchema: {
|
|
505
612
|
readonly type: "object";
|
|
506
613
|
readonly properties: {
|
|
507
|
-
readonly
|
|
614
|
+
readonly templateIds: {
|
|
615
|
+
readonly type: "array";
|
|
616
|
+
readonly items: {
|
|
617
|
+
readonly type: "string";
|
|
618
|
+
readonly format: "uuid";
|
|
619
|
+
};
|
|
620
|
+
};
|
|
621
|
+
};
|
|
622
|
+
readonly required: readonly ["templateIds"];
|
|
623
|
+
};
|
|
624
|
+
export declare const RecolorStageRequestSchema: {
|
|
625
|
+
readonly type: "object";
|
|
626
|
+
readonly properties: {
|
|
627
|
+
readonly color: {
|
|
508
628
|
readonly type: "string";
|
|
509
|
-
readonly
|
|
629
|
+
readonly example: "#4F46E5";
|
|
510
630
|
};
|
|
511
631
|
};
|
|
512
|
-
readonly required: readonly ["
|
|
632
|
+
readonly required: readonly ["color"];
|
|
513
633
|
};
|
|
514
|
-
export declare const
|
|
634
|
+
export declare const DeactivateStageRequestSchema: {
|
|
515
635
|
readonly type: "object";
|
|
516
636
|
readonly properties: {
|
|
517
|
-
readonly
|
|
637
|
+
readonly migrateToStageId: {
|
|
518
638
|
readonly type: "string";
|
|
519
639
|
readonly format: "uuid";
|
|
520
640
|
};
|
|
521
641
|
};
|
|
522
|
-
readonly required: readonly ["memberId"];
|
|
523
642
|
};
|
|
524
|
-
export declare const
|
|
643
|
+
export declare const ReorderStagesRequestSchema: {
|
|
525
644
|
readonly type: "object";
|
|
526
645
|
readonly properties: {
|
|
527
|
-
readonly
|
|
528
|
-
readonly type: "
|
|
529
|
-
readonly
|
|
646
|
+
readonly stageIds: {
|
|
647
|
+
readonly type: "array";
|
|
648
|
+
readonly items: {
|
|
649
|
+
readonly type: "string";
|
|
650
|
+
readonly format: "uuid";
|
|
651
|
+
};
|
|
530
652
|
};
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
653
|
+
};
|
|
654
|
+
readonly required: readonly ["stageIds"];
|
|
655
|
+
};
|
|
656
|
+
export declare const SetDealSettingsRequestSchema: {
|
|
657
|
+
readonly type: "object";
|
|
658
|
+
readonly properties: {
|
|
659
|
+
readonly defaultBoardId: {
|
|
660
|
+
readonly type: "string";
|
|
661
|
+
readonly format: "uuid";
|
|
662
|
+
};
|
|
663
|
+
readonly defaultStageId: {
|
|
664
|
+
readonly type: "string";
|
|
665
|
+
readonly format: "uuid";
|
|
666
|
+
readonly description: "Active stage of the default board; null = entry stage at use time";
|
|
534
667
|
};
|
|
535
668
|
};
|
|
536
|
-
readonly required: readonly ["
|
|
669
|
+
readonly required: readonly ["defaultBoardId"];
|
|
537
670
|
};
|
|
538
671
|
export declare const AddressRequestSchema: {
|
|
539
672
|
readonly type: "object";
|
|
@@ -1060,7 +1193,7 @@ export declare const AgencyPrincipalDtoSchema: {
|
|
|
1060
1193
|
readonly type: "array";
|
|
1061
1194
|
readonly items: {
|
|
1062
1195
|
readonly type: "string";
|
|
1063
|
-
readonly enum: readonly ["MANAGE_AGENCY", "MANAGE_ROLE", "MANAGE_MEMBER", "CREATE_DELETE_MEMBER", "CREATE_CONTACT", "DELETE_CONTACT", "MANAGE_CONTACT", "MANAGE_ANY_CONTACT", "ASSIGN_CONTACT"];
|
|
1196
|
+
readonly enum: readonly ["MANAGE_AGENCY", "MANAGE_ROLE", "MANAGE_MEMBER", "CREATE_DELETE_MEMBER", "CREATE_CONTACT", "DELETE_CONTACT", "MANAGE_CONTACT", "MANAGE_ANY_CONTACT", "ASSIGN_CONTACT", "MANAGE_BOARD", "MANAGE_DEAL", "DELETE_DEAL"];
|
|
1064
1197
|
};
|
|
1065
1198
|
readonly uniqueItems: true;
|
|
1066
1199
|
};
|
|
@@ -1075,6 +1208,89 @@ export declare const AgencyPrincipalDtoSchema: {
|
|
|
1075
1208
|
};
|
|
1076
1209
|
};
|
|
1077
1210
|
};
|
|
1211
|
+
export declare const IdResponseUUIDSchema: {
|
|
1212
|
+
readonly type: "object";
|
|
1213
|
+
readonly properties: {
|
|
1214
|
+
readonly id: {
|
|
1215
|
+
readonly type: "string";
|
|
1216
|
+
readonly format: "uuid";
|
|
1217
|
+
};
|
|
1218
|
+
};
|
|
1219
|
+
readonly required: readonly ["id"];
|
|
1220
|
+
};
|
|
1221
|
+
export declare const OpenDealRequestSchema: {
|
|
1222
|
+
readonly type: "object";
|
|
1223
|
+
readonly properties: {
|
|
1224
|
+
readonly boardId: {
|
|
1225
|
+
readonly type: "string";
|
|
1226
|
+
readonly format: "uuid";
|
|
1227
|
+
};
|
|
1228
|
+
readonly stageId: {
|
|
1229
|
+
readonly type: "string";
|
|
1230
|
+
readonly format: "uuid";
|
|
1231
|
+
readonly description: "Target stage; defaults to the board's entry stage";
|
|
1232
|
+
};
|
|
1233
|
+
readonly title: {
|
|
1234
|
+
readonly type: "string";
|
|
1235
|
+
};
|
|
1236
|
+
readonly contactIds: {
|
|
1237
|
+
readonly type: "array";
|
|
1238
|
+
readonly items: {
|
|
1239
|
+
readonly type: "integer";
|
|
1240
|
+
readonly format: "int64";
|
|
1241
|
+
};
|
|
1242
|
+
readonly maxItems: 20;
|
|
1243
|
+
readonly minItems: 0;
|
|
1244
|
+
};
|
|
1245
|
+
readonly ownerId: {
|
|
1246
|
+
readonly type: "string";
|
|
1247
|
+
readonly format: "uuid";
|
|
1248
|
+
readonly description: "Defaults to the acting member";
|
|
1249
|
+
};
|
|
1250
|
+
};
|
|
1251
|
+
readonly required: readonly ["boardId", "title"];
|
|
1252
|
+
};
|
|
1253
|
+
export declare const LinkPropertyRequestSchema: {
|
|
1254
|
+
readonly type: "object";
|
|
1255
|
+
readonly properties: {
|
|
1256
|
+
readonly contactId: {
|
|
1257
|
+
readonly type: "integer";
|
|
1258
|
+
readonly format: "int64";
|
|
1259
|
+
};
|
|
1260
|
+
readonly propertyId: {
|
|
1261
|
+
readonly type: "integer";
|
|
1262
|
+
readonly format: "int64";
|
|
1263
|
+
};
|
|
1264
|
+
};
|
|
1265
|
+
readonly required: readonly ["contactId", "propertyId"];
|
|
1266
|
+
};
|
|
1267
|
+
export declare const LinkInterestRequestSchema: {
|
|
1268
|
+
readonly type: "object";
|
|
1269
|
+
readonly properties: {
|
|
1270
|
+
readonly contactId: {
|
|
1271
|
+
readonly type: "integer";
|
|
1272
|
+
readonly format: "int64";
|
|
1273
|
+
};
|
|
1274
|
+
readonly interestId: {
|
|
1275
|
+
readonly type: "integer";
|
|
1276
|
+
readonly format: "int64";
|
|
1277
|
+
};
|
|
1278
|
+
};
|
|
1279
|
+
readonly required: readonly ["contactId", "interestId"];
|
|
1280
|
+
};
|
|
1281
|
+
export declare const CreateAdHocTaskRequestSchema: {
|
|
1282
|
+
readonly type: "object";
|
|
1283
|
+
readonly properties: {
|
|
1284
|
+
readonly dealId: {
|
|
1285
|
+
readonly type: "string";
|
|
1286
|
+
readonly format: "uuid";
|
|
1287
|
+
};
|
|
1288
|
+
readonly title: {
|
|
1289
|
+
readonly type: "string";
|
|
1290
|
+
};
|
|
1291
|
+
};
|
|
1292
|
+
readonly required: readonly ["dealId", "title"];
|
|
1293
|
+
};
|
|
1078
1294
|
export declare const SendMessageRequestSchema: {
|
|
1079
1295
|
readonly type: "object";
|
|
1080
1296
|
readonly properties: {
|
|
@@ -1113,16 +1329,6 @@ export declare const ProblemDetailSchema: {
|
|
|
1113
1329
|
};
|
|
1114
1330
|
};
|
|
1115
1331
|
};
|
|
1116
|
-
export declare const IdResponseUUIDSchema: {
|
|
1117
|
-
readonly type: "object";
|
|
1118
|
-
readonly properties: {
|
|
1119
|
-
readonly id: {
|
|
1120
|
-
readonly type: "string";
|
|
1121
|
-
readonly format: "uuid";
|
|
1122
|
-
};
|
|
1123
|
-
};
|
|
1124
|
-
readonly required: readonly ["id"];
|
|
1125
|
-
};
|
|
1126
1332
|
export declare const AddDealRequestSchema: {
|
|
1127
1333
|
readonly discriminator: {
|
|
1128
1334
|
readonly propertyName: "type";
|
|
@@ -1294,10 +1500,6 @@ export declare const OnboardClientRequestSchema: {
|
|
|
1294
1500
|
readonly type: "string";
|
|
1295
1501
|
readonly enum: readonly ["WHATSAPP", "VIBER", "PHONE_CALL"];
|
|
1296
1502
|
};
|
|
1297
|
-
readonly priority: {
|
|
1298
|
-
readonly type: "string";
|
|
1299
|
-
readonly enum: readonly ["CRITICAL", "HIGH", "MEDIUM", "LOW"];
|
|
1300
|
-
};
|
|
1301
1503
|
};
|
|
1302
1504
|
readonly required: readonly ["contactInfo", "contactMethods", "phoneNumber"];
|
|
1303
1505
|
};
|
|
@@ -1360,19 +1562,79 @@ export declare const OnboardFromSourceRequestSchema: {
|
|
|
1360
1562
|
};
|
|
1361
1563
|
readonly required: readonly ["phone", "sourceLink"];
|
|
1362
1564
|
};
|
|
1363
|
-
export declare const
|
|
1565
|
+
export declare const CreateBoardRequestSchema: {
|
|
1364
1566
|
readonly type: "object";
|
|
1365
1567
|
readonly properties: {
|
|
1366
|
-
readonly
|
|
1568
|
+
readonly kind: {
|
|
1367
1569
|
readonly type: "string";
|
|
1368
|
-
readonly
|
|
1570
|
+
readonly enum: readonly ["OWNER", "SEEKER"];
|
|
1369
1571
|
};
|
|
1370
1572
|
readonly name: {
|
|
1371
1573
|
readonly type: "string";
|
|
1372
1574
|
};
|
|
1373
|
-
readonly
|
|
1575
|
+
readonly stages: {
|
|
1576
|
+
readonly type: "array";
|
|
1577
|
+
readonly items: {
|
|
1578
|
+
readonly $ref: "#/components/schemas/StageSpecRequest";
|
|
1579
|
+
};
|
|
1580
|
+
readonly maxItems: 30;
|
|
1581
|
+
readonly minItems: 0;
|
|
1582
|
+
};
|
|
1583
|
+
};
|
|
1584
|
+
readonly required: readonly ["name"];
|
|
1585
|
+
};
|
|
1586
|
+
export declare const StageSpecRequestSchema: {
|
|
1587
|
+
readonly type: "object";
|
|
1588
|
+
readonly properties: {
|
|
1589
|
+
readonly name: {
|
|
1374
1590
|
readonly type: "string";
|
|
1375
|
-
|
|
1591
|
+
};
|
|
1592
|
+
readonly color: {
|
|
1593
|
+
readonly type: "string";
|
|
1594
|
+
readonly example: "#4F46E5";
|
|
1595
|
+
};
|
|
1596
|
+
};
|
|
1597
|
+
readonly required: readonly ["color", "name"];
|
|
1598
|
+
};
|
|
1599
|
+
export declare const AddStageRequestSchema: {
|
|
1600
|
+
readonly type: "object";
|
|
1601
|
+
readonly properties: {
|
|
1602
|
+
readonly name: {
|
|
1603
|
+
readonly type: "string";
|
|
1604
|
+
};
|
|
1605
|
+
readonly color: {
|
|
1606
|
+
readonly type: "string";
|
|
1607
|
+
readonly example: "#4F46E5";
|
|
1608
|
+
};
|
|
1609
|
+
};
|
|
1610
|
+
readonly required: readonly ["color", "name"];
|
|
1611
|
+
};
|
|
1612
|
+
export declare const AddTaskTemplateRequestSchema: {
|
|
1613
|
+
readonly type: "object";
|
|
1614
|
+
readonly properties: {
|
|
1615
|
+
readonly title: {
|
|
1616
|
+
readonly type: "string";
|
|
1617
|
+
};
|
|
1618
|
+
readonly applyToDealsInStage: {
|
|
1619
|
+
readonly type: "boolean";
|
|
1620
|
+
readonly description: "Also spawn this template onto the open deals currently in the stage";
|
|
1621
|
+
};
|
|
1622
|
+
};
|
|
1623
|
+
readonly required: readonly ["applyToDealsInStage", "title"];
|
|
1624
|
+
};
|
|
1625
|
+
export declare const ProvisionAgencyRequestSchema: {
|
|
1626
|
+
readonly type: "object";
|
|
1627
|
+
readonly properties: {
|
|
1628
|
+
readonly ownerUserId: {
|
|
1629
|
+
readonly type: "string";
|
|
1630
|
+
readonly description: "The customer's existing user account id";
|
|
1631
|
+
};
|
|
1632
|
+
readonly name: {
|
|
1633
|
+
readonly type: "string";
|
|
1634
|
+
};
|
|
1635
|
+
readonly email: {
|
|
1636
|
+
readonly type: "string";
|
|
1637
|
+
readonly format: "email";
|
|
1376
1638
|
};
|
|
1377
1639
|
readonly phone: {
|
|
1378
1640
|
readonly type: "string";
|
|
@@ -1463,7 +1725,7 @@ export declare const OrganizationSummaryViewResponseSchema: {
|
|
|
1463
1725
|
readonly type: "array";
|
|
1464
1726
|
readonly items: {
|
|
1465
1727
|
readonly type: "string";
|
|
1466
|
-
readonly enum: readonly ["MANAGE_AGENCY", "MANAGE_ROLE", "MANAGE_MEMBER", "CREATE_DELETE_MEMBER", "CREATE_CONTACT", "DELETE_CONTACT", "MANAGE_CONTACT", "MANAGE_ANY_CONTACT", "ASSIGN_CONTACT"];
|
|
1728
|
+
readonly enum: readonly ["MANAGE_AGENCY", "MANAGE_ROLE", "MANAGE_MEMBER", "CREATE_DELETE_MEMBER", "CREATE_CONTACT", "DELETE_CONTACT", "MANAGE_CONTACT", "MANAGE_ANY_CONTACT", "ASSIGN_CONTACT", "MANAGE_BOARD", "MANAGE_DEAL", "DELETE_DEAL"];
|
|
1467
1729
|
};
|
|
1468
1730
|
};
|
|
1469
1731
|
readonly status: {
|
|
@@ -1509,6 +1771,99 @@ export declare const UserSummaryViewResponseSchema: {
|
|
|
1509
1771
|
};
|
|
1510
1772
|
readonly required: readonly ["email", "firstName", "lastName"];
|
|
1511
1773
|
};
|
|
1774
|
+
export declare const BoardWinRateSchema: {
|
|
1775
|
+
readonly type: "object";
|
|
1776
|
+
readonly properties: {
|
|
1777
|
+
readonly boardId: {
|
|
1778
|
+
readonly type: "string";
|
|
1779
|
+
readonly format: "uuid";
|
|
1780
|
+
};
|
|
1781
|
+
readonly name: {
|
|
1782
|
+
readonly type: "string";
|
|
1783
|
+
};
|
|
1784
|
+
readonly won: {
|
|
1785
|
+
readonly type: "integer";
|
|
1786
|
+
readonly format: "int64";
|
|
1787
|
+
};
|
|
1788
|
+
readonly lost: {
|
|
1789
|
+
readonly type: "integer";
|
|
1790
|
+
readonly format: "int64";
|
|
1791
|
+
};
|
|
1792
|
+
readonly winRatePct: {
|
|
1793
|
+
readonly type: "number";
|
|
1794
|
+
readonly format: "double";
|
|
1795
|
+
};
|
|
1796
|
+
};
|
|
1797
|
+
readonly required: readonly ["boardId", "lost", "name", "winRatePct", "won"];
|
|
1798
|
+
};
|
|
1799
|
+
export declare const MemberWinRateSchema: {
|
|
1800
|
+
readonly type: "object";
|
|
1801
|
+
readonly properties: {
|
|
1802
|
+
readonly memberId: {
|
|
1803
|
+
readonly type: "string";
|
|
1804
|
+
readonly format: "uuid";
|
|
1805
|
+
};
|
|
1806
|
+
readonly won: {
|
|
1807
|
+
readonly type: "integer";
|
|
1808
|
+
readonly format: "int64";
|
|
1809
|
+
};
|
|
1810
|
+
readonly lost: {
|
|
1811
|
+
readonly type: "integer";
|
|
1812
|
+
readonly format: "int64";
|
|
1813
|
+
};
|
|
1814
|
+
readonly winRatePct: {
|
|
1815
|
+
readonly type: "number";
|
|
1816
|
+
readonly format: "double";
|
|
1817
|
+
};
|
|
1818
|
+
};
|
|
1819
|
+
readonly required: readonly ["lost", "memberId", "winRatePct", "won"];
|
|
1820
|
+
};
|
|
1821
|
+
export declare const StatsEnvelopeWinRateStatsSchema: {
|
|
1822
|
+
readonly type: "object";
|
|
1823
|
+
readonly properties: {
|
|
1824
|
+
readonly period: {
|
|
1825
|
+
readonly type: "string";
|
|
1826
|
+
};
|
|
1827
|
+
readonly computedAt: {
|
|
1828
|
+
readonly type: "string";
|
|
1829
|
+
readonly format: "date-time";
|
|
1830
|
+
};
|
|
1831
|
+
readonly data: {
|
|
1832
|
+
readonly $ref: "#/components/schemas/WinRateStats";
|
|
1833
|
+
};
|
|
1834
|
+
};
|
|
1835
|
+
readonly required: readonly ["computedAt", "data", "period"];
|
|
1836
|
+
};
|
|
1837
|
+
export declare const WinRateStatsSchema: {
|
|
1838
|
+
readonly type: "object";
|
|
1839
|
+
readonly properties: {
|
|
1840
|
+
readonly won: {
|
|
1841
|
+
readonly type: "integer";
|
|
1842
|
+
readonly format: "int64";
|
|
1843
|
+
};
|
|
1844
|
+
readonly lost: {
|
|
1845
|
+
readonly type: "integer";
|
|
1846
|
+
readonly format: "int64";
|
|
1847
|
+
};
|
|
1848
|
+
readonly winRatePct: {
|
|
1849
|
+
readonly type: "number";
|
|
1850
|
+
readonly format: "double";
|
|
1851
|
+
};
|
|
1852
|
+
readonly boards: {
|
|
1853
|
+
readonly type: "array";
|
|
1854
|
+
readonly items: {
|
|
1855
|
+
readonly $ref: "#/components/schemas/BoardWinRate";
|
|
1856
|
+
};
|
|
1857
|
+
};
|
|
1858
|
+
readonly members: {
|
|
1859
|
+
readonly type: "array";
|
|
1860
|
+
readonly items: {
|
|
1861
|
+
readonly $ref: "#/components/schemas/MemberWinRate";
|
|
1862
|
+
};
|
|
1863
|
+
};
|
|
1864
|
+
};
|
|
1865
|
+
readonly required: readonly ["boards", "lost", "members", "winRatePct", "won"];
|
|
1866
|
+
};
|
|
1512
1867
|
export declare const DealTypePriceSchema: {
|
|
1513
1868
|
readonly type: "object";
|
|
1514
1869
|
readonly properties: {
|
|
@@ -1747,14 +2102,6 @@ export declare const PipelineStatsSchema: {
|
|
|
1747
2102
|
readonly type: "integer";
|
|
1748
2103
|
readonly format: "int64";
|
|
1749
2104
|
};
|
|
1750
|
-
readonly won: {
|
|
1751
|
-
readonly type: "integer";
|
|
1752
|
-
readonly format: "int64";
|
|
1753
|
-
};
|
|
1754
|
-
readonly conversionRatePercent: {
|
|
1755
|
-
readonly type: "number";
|
|
1756
|
-
readonly format: "double";
|
|
1757
|
-
};
|
|
1758
2105
|
readonly unassigned: {
|
|
1759
2106
|
readonly type: "integer";
|
|
1760
2107
|
readonly format: "int64";
|
|
@@ -1765,26 +2112,14 @@ export declare const PipelineStatsSchema: {
|
|
|
1765
2112
|
readonly $ref: "#/components/schemas/TrendPoint";
|
|
1766
2113
|
};
|
|
1767
2114
|
};
|
|
1768
|
-
readonly status: {
|
|
1769
|
-
readonly type: "array";
|
|
1770
|
-
readonly items: {
|
|
1771
|
-
readonly $ref: "#/components/schemas/Slice";
|
|
1772
|
-
};
|
|
1773
|
-
};
|
|
1774
2115
|
readonly sourceAttribution: {
|
|
1775
2116
|
readonly type: "array";
|
|
1776
2117
|
readonly items: {
|
|
1777
2118
|
readonly $ref: "#/components/schemas/Slice";
|
|
1778
2119
|
};
|
|
1779
2120
|
};
|
|
1780
|
-
readonly lostReasons: {
|
|
1781
|
-
readonly type: "array";
|
|
1782
|
-
readonly items: {
|
|
1783
|
-
readonly $ref: "#/components/schemas/Slice";
|
|
1784
|
-
};
|
|
1785
|
-
};
|
|
1786
2121
|
};
|
|
1787
|
-
readonly required: readonly ["
|
|
2122
|
+
readonly required: readonly ["newContactsTrend", "sourceAttribution", "total", "unassigned"];
|
|
1788
2123
|
};
|
|
1789
2124
|
export declare const StatsEnvelopePipelineStatsSchema: {
|
|
1790
2125
|
readonly type: "object";
|
|
@@ -1843,17 +2178,16 @@ export declare const RowSchema: {
|
|
|
1843
2178
|
readonly photo: {
|
|
1844
2179
|
readonly type: "string";
|
|
1845
2180
|
};
|
|
1846
|
-
readonly
|
|
2181
|
+
readonly dealsWon: {
|
|
1847
2182
|
readonly type: "integer";
|
|
1848
2183
|
readonly format: "int64";
|
|
1849
2184
|
};
|
|
1850
|
-
readonly
|
|
1851
|
-
readonly type: "
|
|
1852
|
-
readonly format: "int64";
|
|
2185
|
+
readonly wonValue: {
|
|
2186
|
+
readonly type: "number";
|
|
1853
2187
|
};
|
|
1854
|
-
readonly
|
|
2188
|
+
readonly commission: {
|
|
1855
2189
|
readonly type: "number";
|
|
1856
|
-
readonly
|
|
2190
|
+
readonly description: "Fixed amount, or rate/factor × deal value (null-value deals skipped)";
|
|
1857
2191
|
};
|
|
1858
2192
|
readonly recommendationsSent: {
|
|
1859
2193
|
readonly type: "integer";
|
|
@@ -1868,7 +2202,7 @@ export declare const RowSchema: {
|
|
|
1868
2202
|
readonly format: "double";
|
|
1869
2203
|
};
|
|
1870
2204
|
};
|
|
1871
|
-
readonly required: readonly ["
|
|
2205
|
+
readonly required: readonly ["commission", "dealsWon", "firstName", "lastName", "likeRatePct", "memberId", "photo", "recommendationsRated", "recommendationsSent", "wonValue"];
|
|
1872
2206
|
};
|
|
1873
2207
|
export declare const StatsEnvelopeLeaderboardStatsSchema: {
|
|
1874
2208
|
readonly type: "object";
|
|
@@ -2046,6 +2380,141 @@ export declare const StatsEnvelopeDemandStatsSchema: {
|
|
|
2046
2380
|
};
|
|
2047
2381
|
readonly required: readonly ["computedAt", "data", "period"];
|
|
2048
2382
|
};
|
|
2383
|
+
export declare const DealVelocityStatsSchema: {
|
|
2384
|
+
readonly type: "object";
|
|
2385
|
+
readonly properties: {
|
|
2386
|
+
readonly stages: {
|
|
2387
|
+
readonly type: "array";
|
|
2388
|
+
readonly items: {
|
|
2389
|
+
readonly $ref: "#/components/schemas/StageVelocity";
|
|
2390
|
+
};
|
|
2391
|
+
};
|
|
2392
|
+
};
|
|
2393
|
+
readonly required: readonly ["stages"];
|
|
2394
|
+
};
|
|
2395
|
+
export declare const StageVelocitySchema: {
|
|
2396
|
+
readonly type: "object";
|
|
2397
|
+
readonly properties: {
|
|
2398
|
+
readonly boardId: {
|
|
2399
|
+
readonly type: "string";
|
|
2400
|
+
readonly format: "uuid";
|
|
2401
|
+
};
|
|
2402
|
+
readonly boardName: {
|
|
2403
|
+
readonly type: "string";
|
|
2404
|
+
};
|
|
2405
|
+
readonly stageId: {
|
|
2406
|
+
readonly type: "string";
|
|
2407
|
+
readonly format: "uuid";
|
|
2408
|
+
};
|
|
2409
|
+
readonly stageName: {
|
|
2410
|
+
readonly type: "string";
|
|
2411
|
+
};
|
|
2412
|
+
readonly position: {
|
|
2413
|
+
readonly type: "integer";
|
|
2414
|
+
readonly format: "int32";
|
|
2415
|
+
};
|
|
2416
|
+
readonly avgDaysInStage: {
|
|
2417
|
+
readonly type: "number";
|
|
2418
|
+
readonly format: "double";
|
|
2419
|
+
};
|
|
2420
|
+
readonly samples: {
|
|
2421
|
+
readonly type: "integer";
|
|
2422
|
+
readonly format: "int64";
|
|
2423
|
+
readonly description: "Completed stays measured";
|
|
2424
|
+
};
|
|
2425
|
+
};
|
|
2426
|
+
readonly required: readonly ["avgDaysInStage", "boardId", "boardName", "position", "samples", "stageId", "stageName"];
|
|
2427
|
+
};
|
|
2428
|
+
export declare const StatsEnvelopeDealVelocityStatsSchema: {
|
|
2429
|
+
readonly type: "object";
|
|
2430
|
+
readonly properties: {
|
|
2431
|
+
readonly period: {
|
|
2432
|
+
readonly type: "string";
|
|
2433
|
+
};
|
|
2434
|
+
readonly computedAt: {
|
|
2435
|
+
readonly type: "string";
|
|
2436
|
+
readonly format: "date-time";
|
|
2437
|
+
};
|
|
2438
|
+
readonly data: {
|
|
2439
|
+
readonly $ref: "#/components/schemas/DealVelocityStats";
|
|
2440
|
+
};
|
|
2441
|
+
};
|
|
2442
|
+
readonly required: readonly ["computedAt", "data", "period"];
|
|
2443
|
+
};
|
|
2444
|
+
export declare const BoardFunnelSchema: {
|
|
2445
|
+
readonly type: "object";
|
|
2446
|
+
readonly properties: {
|
|
2447
|
+
readonly boardId: {
|
|
2448
|
+
readonly type: "string";
|
|
2449
|
+
readonly format: "uuid";
|
|
2450
|
+
};
|
|
2451
|
+
readonly name: {
|
|
2452
|
+
readonly type: "string";
|
|
2453
|
+
};
|
|
2454
|
+
readonly kind: {
|
|
2455
|
+
readonly type: "string";
|
|
2456
|
+
};
|
|
2457
|
+
readonly stages: {
|
|
2458
|
+
readonly type: "array";
|
|
2459
|
+
readonly items: {
|
|
2460
|
+
readonly $ref: "#/components/schemas/StageSlice";
|
|
2461
|
+
};
|
|
2462
|
+
};
|
|
2463
|
+
};
|
|
2464
|
+
readonly required: readonly ["boardId", "name", "stages"];
|
|
2465
|
+
};
|
|
2466
|
+
export declare const DealFunnelStatsSchema: {
|
|
2467
|
+
readonly type: "object";
|
|
2468
|
+
readonly properties: {
|
|
2469
|
+
readonly boards: {
|
|
2470
|
+
readonly type: "array";
|
|
2471
|
+
readonly items: {
|
|
2472
|
+
readonly $ref: "#/components/schemas/BoardFunnel";
|
|
2473
|
+
};
|
|
2474
|
+
};
|
|
2475
|
+
};
|
|
2476
|
+
readonly required: readonly ["boards"];
|
|
2477
|
+
};
|
|
2478
|
+
export declare const StageSliceSchema: {
|
|
2479
|
+
readonly type: "object";
|
|
2480
|
+
readonly properties: {
|
|
2481
|
+
readonly stageId: {
|
|
2482
|
+
readonly type: "string";
|
|
2483
|
+
readonly format: "uuid";
|
|
2484
|
+
};
|
|
2485
|
+
readonly name: {
|
|
2486
|
+
readonly type: "string";
|
|
2487
|
+
};
|
|
2488
|
+
readonly position: {
|
|
2489
|
+
readonly type: "integer";
|
|
2490
|
+
readonly format: "int32";
|
|
2491
|
+
};
|
|
2492
|
+
readonly openDeals: {
|
|
2493
|
+
readonly type: "integer";
|
|
2494
|
+
readonly format: "int64";
|
|
2495
|
+
};
|
|
2496
|
+
readonly openValue: {
|
|
2497
|
+
readonly type: "number";
|
|
2498
|
+
};
|
|
2499
|
+
};
|
|
2500
|
+
readonly required: readonly ["name", "openDeals", "openValue", "position", "stageId"];
|
|
2501
|
+
};
|
|
2502
|
+
export declare const StatsEnvelopeDealFunnelStatsSchema: {
|
|
2503
|
+
readonly type: "object";
|
|
2504
|
+
readonly properties: {
|
|
2505
|
+
readonly period: {
|
|
2506
|
+
readonly type: "string";
|
|
2507
|
+
};
|
|
2508
|
+
readonly computedAt: {
|
|
2509
|
+
readonly type: "string";
|
|
2510
|
+
readonly format: "date-time";
|
|
2511
|
+
};
|
|
2512
|
+
readonly data: {
|
|
2513
|
+
readonly $ref: "#/components/schemas/DealFunnelStats";
|
|
2514
|
+
};
|
|
2515
|
+
};
|
|
2516
|
+
readonly required: readonly ["computedAt", "data", "period"];
|
|
2517
|
+
};
|
|
2049
2518
|
export declare const PageMetadataSchema: {
|
|
2050
2519
|
readonly type: "object";
|
|
2051
2520
|
readonly properties: {
|
|
@@ -2104,7 +2573,7 @@ export declare const RoleResponseSchema: {
|
|
|
2104
2573
|
readonly type: "array";
|
|
2105
2574
|
readonly items: {
|
|
2106
2575
|
readonly type: "string";
|
|
2107
|
-
readonly enum: readonly ["MANAGE_AGENCY", "MANAGE_ROLE", "MANAGE_MEMBER", "CREATE_DELETE_MEMBER", "CREATE_CONTACT", "DELETE_CONTACT", "MANAGE_CONTACT", "MANAGE_ANY_CONTACT", "ASSIGN_CONTACT"];
|
|
2576
|
+
readonly enum: readonly ["MANAGE_AGENCY", "MANAGE_ROLE", "MANAGE_MEMBER", "CREATE_DELETE_MEMBER", "CREATE_CONTACT", "DELETE_CONTACT", "MANAGE_CONTACT", "MANAGE_ANY_CONTACT", "ASSIGN_CONTACT", "MANAGE_BOARD", "MANAGE_DEAL", "DELETE_DEAL"];
|
|
2108
2577
|
};
|
|
2109
2578
|
};
|
|
2110
2579
|
};
|
|
@@ -2412,7 +2881,7 @@ export declare const GroupedPermissionsResponseSchema: {
|
|
|
2412
2881
|
readonly properties: {
|
|
2413
2882
|
readonly group: {
|
|
2414
2883
|
readonly type: "string";
|
|
2415
|
-
readonly enum: readonly ["AGENCY", "ROLE", "MEMBER", "CONTACT"];
|
|
2884
|
+
readonly enum: readonly ["AGENCY", "ROLE", "MEMBER", "CONTACT", "BOARD", "DEAL"];
|
|
2416
2885
|
};
|
|
2417
2886
|
readonly permissions: {
|
|
2418
2887
|
readonly type: "array";
|
|
@@ -2428,7 +2897,7 @@ export declare const PermissionResponseSchema: {
|
|
|
2428
2897
|
readonly properties: {
|
|
2429
2898
|
readonly permission: {
|
|
2430
2899
|
readonly type: "string";
|
|
2431
|
-
readonly enum: readonly ["MANAGE_AGENCY", "MANAGE_ROLE", "MANAGE_MEMBER", "CREATE_DELETE_MEMBER", "CREATE_CONTACT", "DELETE_CONTACT", "MANAGE_CONTACT", "MANAGE_ANY_CONTACT", "ASSIGN_CONTACT"];
|
|
2900
|
+
readonly enum: readonly ["MANAGE_AGENCY", "MANAGE_ROLE", "MANAGE_MEMBER", "CREATE_DELETE_MEMBER", "CREATE_CONTACT", "DELETE_CONTACT", "MANAGE_CONTACT", "MANAGE_ANY_CONTACT", "ASSIGN_CONTACT", "MANAGE_BOARD", "MANAGE_DEAL", "DELETE_DEAL"];
|
|
2432
2901
|
};
|
|
2433
2902
|
};
|
|
2434
2903
|
readonly required: readonly ["permission"];
|
|
@@ -2970,7 +3439,7 @@ export declare const ContactPersonalDetailsRestrictedSchema: {
|
|
|
2970
3439
|
readonly type: "array";
|
|
2971
3440
|
readonly items: {
|
|
2972
3441
|
readonly type: "string";
|
|
2973
|
-
readonly enum: readonly ["MANAGE_AGENCY", "MANAGE_ROLE", "MANAGE_MEMBER", "CREATE_DELETE_MEMBER", "CREATE_CONTACT", "DELETE_CONTACT", "MANAGE_CONTACT", "MANAGE_ANY_CONTACT", "ASSIGN_CONTACT"];
|
|
3442
|
+
readonly enum: readonly ["MANAGE_AGENCY", "MANAGE_ROLE", "MANAGE_MEMBER", "CREATE_DELETE_MEMBER", "CREATE_CONTACT", "DELETE_CONTACT", "MANAGE_CONTACT", "MANAGE_ANY_CONTACT", "ASSIGN_CONTACT", "MANAGE_BOARD", "MANAGE_DEAL", "DELETE_DEAL"];
|
|
2974
3443
|
};
|
|
2975
3444
|
readonly uniqueItems: true;
|
|
2976
3445
|
};
|
|
@@ -3109,24 +3578,57 @@ export declare const CursorPageNotificationViewSchema: {
|
|
|
3109
3578
|
};
|
|
3110
3579
|
};
|
|
3111
3580
|
};
|
|
3112
|
-
export declare const
|
|
3581
|
+
export declare const DealCommentedSchema: {
|
|
3113
3582
|
readonly properties: {
|
|
3114
|
-
readonly
|
|
3115
|
-
readonly $ref: "#/components/schemas/
|
|
3583
|
+
readonly commentId: {
|
|
3584
|
+
readonly $ref: "#/components/schemas/CommentId";
|
|
3116
3585
|
};
|
|
3117
|
-
readonly
|
|
3118
|
-
readonly $ref: "#/components/schemas/
|
|
3586
|
+
readonly dealId: {
|
|
3587
|
+
readonly $ref: "#/components/schemas/DealId";
|
|
3119
3588
|
};
|
|
3120
|
-
readonly
|
|
3121
|
-
readonly
|
|
3122
|
-
readonly format: "int64";
|
|
3589
|
+
readonly authorId: {
|
|
3590
|
+
readonly $ref: "#/components/schemas/MemberId";
|
|
3123
3591
|
};
|
|
3124
|
-
readonly
|
|
3592
|
+
readonly author: {
|
|
3593
|
+
readonly type: "string";
|
|
3594
|
+
};
|
|
3595
|
+
readonly commentSnippet: {
|
|
3125
3596
|
readonly type: "string";
|
|
3126
3597
|
};
|
|
3127
3598
|
readonly kind: {
|
|
3128
3599
|
readonly type: "string";
|
|
3129
|
-
readonly enum: readonly ["
|
|
3600
|
+
readonly enum: readonly ["DEAL_COMMENTED"];
|
|
3601
|
+
};
|
|
3602
|
+
};
|
|
3603
|
+
readonly required: readonly ["kind"];
|
|
3604
|
+
};
|
|
3605
|
+
export declare const DealIdSchema: {
|
|
3606
|
+
readonly type: "object";
|
|
3607
|
+
readonly properties: {
|
|
3608
|
+
readonly value: {
|
|
3609
|
+
readonly type: "string";
|
|
3610
|
+
readonly format: "uuid";
|
|
3611
|
+
};
|
|
3612
|
+
};
|
|
3613
|
+
};
|
|
3614
|
+
export declare const ListingExpiredSchema: {
|
|
3615
|
+
readonly properties: {
|
|
3616
|
+
readonly contactId: {
|
|
3617
|
+
readonly $ref: "#/components/schemas/ContactId";
|
|
3618
|
+
};
|
|
3619
|
+
readonly propertyId: {
|
|
3620
|
+
readonly $ref: "#/components/schemas/PropertyId";
|
|
3621
|
+
};
|
|
3622
|
+
readonly listingId: {
|
|
3623
|
+
readonly type: "integer";
|
|
3624
|
+
readonly format: "int64";
|
|
3625
|
+
};
|
|
3626
|
+
readonly propertyTitle: {
|
|
3627
|
+
readonly type: "string";
|
|
3628
|
+
};
|
|
3629
|
+
readonly kind: {
|
|
3630
|
+
readonly type: "string";
|
|
3631
|
+
readonly enum: readonly ["LISTING_EXPIRED"];
|
|
3130
3632
|
};
|
|
3131
3633
|
};
|
|
3132
3634
|
readonly required: readonly ["kind"];
|
|
@@ -3201,6 +3703,7 @@ export declare const NotificationContentSchema: {
|
|
|
3201
3703
|
readonly propertyName: "kind";
|
|
3202
3704
|
readonly mapping: {
|
|
3203
3705
|
readonly AGENT_COMMENTED: "#/components/schemas/AgentCommented";
|
|
3706
|
+
readonly DEAL_COMMENTED: "#/components/schemas/DealCommented";
|
|
3204
3707
|
readonly LISTING_EXPIRED: "#/components/schemas/ListingExpired";
|
|
3205
3708
|
readonly NEW_SEEKER_RATING: "#/components/schemas/NewSeekerRating";
|
|
3206
3709
|
readonly NEW_MESSAGE: "#/components/schemas/NewMessage";
|
|
@@ -3235,7 +3738,7 @@ export declare const NotificationViewSchema: {
|
|
|
3235
3738
|
};
|
|
3236
3739
|
readonly type: {
|
|
3237
3740
|
readonly type: "string";
|
|
3238
|
-
readonly enum: readonly ["AGENT_COMMENTED", "EXTERNAL_LISTING_EXPIRED", "LISTING_EXPIRED", "NEW_SEEKER_RATING", "NEW_MESSAGE", "CONTACT_ASSIGNED"];
|
|
3741
|
+
readonly enum: readonly ["AGENT_COMMENTED", "DEAL_COMMENTED", "EXTERNAL_LISTING_EXPIRED", "LISTING_EXPIRED", "NEW_SEEKER_RATING", "NEW_MESSAGE", "CONTACT_ASSIGNED"];
|
|
3239
3742
|
};
|
|
3240
3743
|
readonly targetId: {
|
|
3241
3744
|
readonly type: "string";
|
|
@@ -3245,6 +3748,8 @@ export declare const NotificationViewSchema: {
|
|
|
3245
3748
|
readonly $ref: "#/components/schemas/AgentCommented";
|
|
3246
3749
|
}, {
|
|
3247
3750
|
readonly $ref: "#/components/schemas/ContactAssigned";
|
|
3751
|
+
}, {
|
|
3752
|
+
readonly $ref: "#/components/schemas/DealCommented";
|
|
3248
3753
|
}, {
|
|
3249
3754
|
readonly $ref: "#/components/schemas/ListingExpired";
|
|
3250
3755
|
}, {
|
|
@@ -3941,140 +4446,55 @@ export declare const InboxResponseSchema: {
|
|
|
3941
4446
|
};
|
|
3942
4447
|
};
|
|
3943
4448
|
};
|
|
3944
|
-
export declare const
|
|
3945
|
-
readonly properties: {
|
|
3946
|
-
readonly urls: {
|
|
3947
|
-
readonly type: "array";
|
|
3948
|
-
readonly items: {
|
|
3949
|
-
readonly type: "string";
|
|
3950
|
-
};
|
|
3951
|
-
};
|
|
3952
|
-
readonly kind: {
|
|
3953
|
-
readonly type: "string";
|
|
3954
|
-
readonly enum: readonly ["IMAGE"];
|
|
3955
|
-
};
|
|
3956
|
-
};
|
|
3957
|
-
readonly required: readonly ["kind"];
|
|
3958
|
-
};
|
|
3959
|
-
export declare const MessageContentSchema: {
|
|
3960
|
-
readonly discriminator: {
|
|
3961
|
-
readonly propertyName: "kind";
|
|
3962
|
-
readonly mapping: {
|
|
3963
|
-
readonly TEXT: "#/components/schemas/Text";
|
|
3964
|
-
readonly IMAGE: "#/components/schemas/Image";
|
|
3965
|
-
readonly UNSUPPORTED: "#/components/schemas/Unsupported";
|
|
3966
|
-
};
|
|
3967
|
-
};
|
|
3968
|
-
readonly oneOf: readonly [{
|
|
3969
|
-
readonly $ref: "#/components/schemas/Text";
|
|
3970
|
-
}, {
|
|
3971
|
-
readonly $ref: "#/components/schemas/Unsupported";
|
|
3972
|
-
}];
|
|
3973
|
-
readonly required: readonly ["kind"];
|
|
3974
|
-
};
|
|
3975
|
-
export declare const MessageViewSchema: {
|
|
4449
|
+
export declare const CommentViewSchema: {
|
|
3976
4450
|
readonly type: "object";
|
|
3977
4451
|
readonly properties: {
|
|
3978
4452
|
readonly id: {
|
|
3979
4453
|
readonly type: "string";
|
|
3980
4454
|
readonly format: "uuid";
|
|
3981
4455
|
};
|
|
3982
|
-
readonly
|
|
4456
|
+
readonly contactId: {
|
|
3983
4457
|
readonly type: "integer";
|
|
3984
4458
|
readonly format: "int64";
|
|
3985
4459
|
};
|
|
3986
|
-
readonly
|
|
3987
|
-
readonly type: "string";
|
|
3988
|
-
readonly enum: readonly ["INBOUND", "OUTBOUND"];
|
|
3989
|
-
};
|
|
3990
|
-
readonly content: {
|
|
3991
|
-
readonly $ref: "#/components/schemas/MessageContent";
|
|
3992
|
-
};
|
|
3993
|
-
readonly status: {
|
|
3994
|
-
readonly type: "string";
|
|
3995
|
-
readonly enum: readonly ["RECEIVED", "PENDING", "SENT", "FAILED"];
|
|
3996
|
-
};
|
|
3997
|
-
readonly sentAt: {
|
|
3998
|
-
readonly type: "string";
|
|
3999
|
-
readonly format: "date-time";
|
|
4000
|
-
};
|
|
4001
|
-
readonly failureReason: {
|
|
4460
|
+
readonly dealId: {
|
|
4002
4461
|
readonly type: "string";
|
|
4462
|
+
readonly format: "uuid";
|
|
4003
4463
|
};
|
|
4004
|
-
readonly
|
|
4005
|
-
readonly $ref: "#/components/schemas/SentBy";
|
|
4006
|
-
};
|
|
4007
|
-
};
|
|
4008
|
-
readonly required: readonly ["content", "direction", "id", "sentAt", "seq", "status"];
|
|
4009
|
-
};
|
|
4010
|
-
export declare const SentBySchema: {
|
|
4011
|
-
readonly type: "object";
|
|
4012
|
-
readonly properties: {
|
|
4013
|
-
readonly memberId: {
|
|
4464
|
+
readonly authorId: {
|
|
4014
4465
|
readonly type: "string";
|
|
4015
4466
|
readonly format: "uuid";
|
|
4016
4467
|
};
|
|
4017
|
-
readonly
|
|
4468
|
+
readonly authorFirstName: {
|
|
4018
4469
|
readonly type: "string";
|
|
4019
4470
|
};
|
|
4020
|
-
readonly
|
|
4471
|
+
readonly authorLastName: {
|
|
4021
4472
|
readonly type: "string";
|
|
4022
4473
|
};
|
|
4023
|
-
readonly
|
|
4474
|
+
readonly profilePictureUrl: {
|
|
4024
4475
|
readonly type: "string";
|
|
4025
4476
|
};
|
|
4026
|
-
};
|
|
4027
|
-
};
|
|
4028
|
-
export declare const TextSchema: {
|
|
4029
|
-
readonly properties: {
|
|
4030
4477
|
readonly body: {
|
|
4031
4478
|
readonly type: "string";
|
|
4032
4479
|
};
|
|
4033
|
-
readonly
|
|
4034
|
-
readonly type: "string";
|
|
4035
|
-
readonly enum: readonly ["TEXT"];
|
|
4036
|
-
};
|
|
4037
|
-
};
|
|
4038
|
-
readonly required: readonly ["kind"];
|
|
4039
|
-
};
|
|
4040
|
-
export declare const ThreadUpdatesSchema: {
|
|
4041
|
-
readonly type: "object";
|
|
4042
|
-
readonly properties: {
|
|
4043
|
-
readonly customerReadUpTo: {
|
|
4480
|
+
readonly createdAt: {
|
|
4044
4481
|
readonly type: "string";
|
|
4045
4482
|
readonly format: "date-time";
|
|
4046
4483
|
};
|
|
4047
|
-
readonly
|
|
4048
|
-
readonly type: "array";
|
|
4049
|
-
readonly items: {
|
|
4050
|
-
readonly $ref: "#/components/schemas/MessageView";
|
|
4051
|
-
};
|
|
4052
|
-
};
|
|
4053
|
-
readonly nextSeq: {
|
|
4054
|
-
readonly type: "integer";
|
|
4055
|
-
readonly format: "int64";
|
|
4056
|
-
};
|
|
4057
|
-
readonly hasMore: {
|
|
4058
|
-
readonly type: "boolean";
|
|
4059
|
-
};
|
|
4060
|
-
};
|
|
4061
|
-
};
|
|
4062
|
-
export declare const UnsupportedSchema: {
|
|
4063
|
-
readonly properties: {
|
|
4064
|
-
readonly kind: {
|
|
4484
|
+
readonly editedAt: {
|
|
4065
4485
|
readonly type: "string";
|
|
4066
|
-
readonly
|
|
4486
|
+
readonly format: "date-time";
|
|
4067
4487
|
};
|
|
4068
4488
|
};
|
|
4069
|
-
readonly required: readonly ["
|
|
4489
|
+
readonly required: readonly ["authorFirstName", "authorId", "authorLastName", "body", "createdAt", "id"];
|
|
4070
4490
|
};
|
|
4071
|
-
export declare const
|
|
4491
|
+
export declare const CursorPageCommentViewSchema: {
|
|
4072
4492
|
readonly type: "object";
|
|
4073
4493
|
readonly properties: {
|
|
4074
4494
|
readonly items: {
|
|
4075
4495
|
readonly type: "array";
|
|
4076
4496
|
readonly items: {
|
|
4077
|
-
readonly $ref: "#/components/schemas/
|
|
4497
|
+
readonly $ref: "#/components/schemas/CommentView";
|
|
4078
4498
|
};
|
|
4079
4499
|
};
|
|
4080
4500
|
readonly nextCursor: {
|
|
@@ -4085,136 +4505,709 @@ export declare const CursorPageMessageViewSchema: {
|
|
|
4085
4505
|
};
|
|
4086
4506
|
};
|
|
4087
4507
|
};
|
|
4088
|
-
export declare const
|
|
4508
|
+
export declare const ContactLinkSchema: {
|
|
4089
4509
|
readonly type: "object";
|
|
4090
4510
|
readonly properties: {
|
|
4091
|
-
readonly id: {
|
|
4092
|
-
readonly type: "string";
|
|
4093
|
-
readonly format: "uuid";
|
|
4094
|
-
};
|
|
4095
4511
|
readonly contactId: {
|
|
4096
4512
|
readonly type: "integer";
|
|
4097
4513
|
readonly format: "int64";
|
|
4098
4514
|
};
|
|
4099
|
-
readonly
|
|
4515
|
+
readonly primary: {
|
|
4516
|
+
readonly type: "boolean";
|
|
4517
|
+
};
|
|
4518
|
+
readonly personalDetails: {
|
|
4519
|
+
readonly oneOf: readonly [{
|
|
4520
|
+
readonly $ref: "#/components/schemas/ContactPersonalDetailsRestricted";
|
|
4521
|
+
}, {
|
|
4522
|
+
readonly $ref: "#/components/schemas/ContactPersonalDetailsVisible";
|
|
4523
|
+
}];
|
|
4524
|
+
};
|
|
4525
|
+
readonly contactAssignedTo: {
|
|
4100
4526
|
readonly type: "string";
|
|
4101
4527
|
readonly format: "uuid";
|
|
4102
4528
|
};
|
|
4103
|
-
|
|
4529
|
+
};
|
|
4530
|
+
readonly required: readonly ["contactId", "personalDetails", "primary"];
|
|
4531
|
+
};
|
|
4532
|
+
export declare const DealDetailResponseSchema: {
|
|
4533
|
+
readonly type: "object";
|
|
4534
|
+
readonly properties: {
|
|
4535
|
+
readonly dealId: {
|
|
4104
4536
|
readonly type: "string";
|
|
4537
|
+
readonly format: "uuid";
|
|
4105
4538
|
};
|
|
4106
|
-
readonly
|
|
4539
|
+
readonly boardId: {
|
|
4107
4540
|
readonly type: "string";
|
|
4541
|
+
readonly format: "uuid";
|
|
4108
4542
|
};
|
|
4109
|
-
readonly
|
|
4543
|
+
readonly boardName: {
|
|
4110
4544
|
readonly type: "string";
|
|
4111
4545
|
};
|
|
4112
|
-
readonly
|
|
4546
|
+
readonly stageId: {
|
|
4113
4547
|
readonly type: "string";
|
|
4548
|
+
readonly format: "uuid";
|
|
4114
4549
|
};
|
|
4115
|
-
readonly
|
|
4550
|
+
readonly stageName: {
|
|
4116
4551
|
readonly type: "string";
|
|
4117
|
-
readonly format: "date-time";
|
|
4118
4552
|
};
|
|
4119
|
-
readonly
|
|
4553
|
+
readonly stageColor: {
|
|
4120
4554
|
readonly type: "string";
|
|
4121
|
-
readonly format: "date-time";
|
|
4122
4555
|
};
|
|
4123
|
-
|
|
4124
|
-
|
|
4125
|
-
|
|
4126
|
-
export declare const CursorPageCommentViewSchema: {
|
|
4127
|
-
readonly type: "object";
|
|
4128
|
-
readonly properties: {
|
|
4129
|
-
readonly items: {
|
|
4130
|
-
readonly type: "array";
|
|
4131
|
-
readonly items: {
|
|
4132
|
-
readonly $ref: "#/components/schemas/CommentView";
|
|
4133
|
-
};
|
|
4556
|
+
readonly stageEnteredAt: {
|
|
4557
|
+
readonly type: "string";
|
|
4558
|
+
readonly format: "date-time";
|
|
4134
4559
|
};
|
|
4135
|
-
readonly
|
|
4560
|
+
readonly title: {
|
|
4136
4561
|
readonly type: "string";
|
|
4137
4562
|
};
|
|
4138
|
-
readonly
|
|
4139
|
-
readonly type: "
|
|
4563
|
+
readonly description: {
|
|
4564
|
+
readonly type: "string";
|
|
4140
4565
|
};
|
|
4141
|
-
|
|
4142
|
-
|
|
4143
|
-
export declare const ContactGridResponseSchema: {
|
|
4144
|
-
readonly type: "object";
|
|
4145
|
-
readonly properties: {
|
|
4146
|
-
readonly id: {
|
|
4147
|
-
readonly type: "integer";
|
|
4148
|
-
readonly format: "int64";
|
|
4566
|
+
readonly value: {
|
|
4567
|
+
readonly type: "number";
|
|
4149
4568
|
};
|
|
4150
|
-
readonly
|
|
4569
|
+
readonly commissionType: {
|
|
4151
4570
|
readonly type: "string";
|
|
4152
|
-
readonly
|
|
4571
|
+
readonly enum: readonly ["NOT_SET", "FIXED", "PERCENTAGE", "MONTHS_OF_RENT"];
|
|
4153
4572
|
};
|
|
4154
|
-
readonly
|
|
4155
|
-
readonly
|
|
4573
|
+
readonly commissionValue: {
|
|
4574
|
+
readonly type: "number";
|
|
4156
4575
|
};
|
|
4157
|
-
readonly
|
|
4576
|
+
readonly expectedCloseDate: {
|
|
4158
4577
|
readonly type: "string";
|
|
4578
|
+
readonly format: "date";
|
|
4159
4579
|
};
|
|
4160
|
-
readonly
|
|
4580
|
+
readonly ownerId: {
|
|
4161
4581
|
readonly type: "string";
|
|
4162
|
-
readonly
|
|
4582
|
+
readonly format: "uuid";
|
|
4163
4583
|
};
|
|
4164
|
-
readonly
|
|
4584
|
+
readonly outcome: {
|
|
4165
4585
|
readonly type: "string";
|
|
4166
|
-
readonly enum: readonly ["
|
|
4167
|
-
};
|
|
4168
|
-
readonly personalDetails: {
|
|
4169
|
-
readonly oneOf: readonly [{
|
|
4170
|
-
readonly $ref: "#/components/schemas/ContactPersonalDetailsRestricted";
|
|
4171
|
-
}, {
|
|
4172
|
-
readonly $ref: "#/components/schemas/ContactPersonalDetailsVisible";
|
|
4173
|
-
}];
|
|
4586
|
+
readonly enum: readonly ["WON", "LOST"];
|
|
4174
4587
|
};
|
|
4175
|
-
readonly
|
|
4588
|
+
readonly lostReason: {
|
|
4176
4589
|
readonly type: "string";
|
|
4177
|
-
readonly enum: readonly ["
|
|
4590
|
+
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"];
|
|
4178
4591
|
};
|
|
4179
|
-
readonly
|
|
4592
|
+
readonly closedAt: {
|
|
4180
4593
|
readonly type: "string";
|
|
4181
|
-
readonly
|
|
4594
|
+
readonly format: "date-time";
|
|
4182
4595
|
};
|
|
4183
|
-
readonly
|
|
4596
|
+
readonly createdBy: {
|
|
4184
4597
|
readonly type: "string";
|
|
4185
|
-
|
|
4186
|
-
readonly isSearching: {
|
|
4187
|
-
readonly type: "boolean";
|
|
4188
|
-
};
|
|
4189
|
-
readonly isListing: {
|
|
4190
|
-
readonly type: "boolean";
|
|
4598
|
+
readonly format: "uuid";
|
|
4191
4599
|
};
|
|
4192
4600
|
readonly createdAt: {
|
|
4193
4601
|
readonly type: "string";
|
|
4194
4602
|
readonly format: "date-time";
|
|
4195
4603
|
};
|
|
4196
|
-
readonly
|
|
4197
|
-
readonly type: "
|
|
4198
|
-
readonly
|
|
4604
|
+
readonly contacts: {
|
|
4605
|
+
readonly type: "array";
|
|
4606
|
+
readonly items: {
|
|
4607
|
+
readonly $ref: "#/components/schemas/ContactLink";
|
|
4608
|
+
};
|
|
4199
4609
|
};
|
|
4200
|
-
|
|
4201
|
-
readonly required: readonly ["createdAt", "id", "isListing", "isSearching", "personalDetails", "status", "updatedAt"];
|
|
4202
|
-
};
|
|
4203
|
-
export declare const PagedModelContactGridResponseSchema: {
|
|
4204
|
-
readonly type: "object";
|
|
4205
|
-
readonly properties: {
|
|
4206
|
-
readonly content: {
|
|
4610
|
+
readonly participants: {
|
|
4207
4611
|
readonly type: "array";
|
|
4208
4612
|
readonly items: {
|
|
4209
|
-
readonly $ref: "#/components/schemas/
|
|
4613
|
+
readonly $ref: "#/components/schemas/Participant";
|
|
4210
4614
|
};
|
|
4211
4615
|
};
|
|
4212
|
-
readonly
|
|
4213
|
-
readonly
|
|
4616
|
+
readonly interests: {
|
|
4617
|
+
readonly type: "array";
|
|
4618
|
+
readonly items: {
|
|
4619
|
+
readonly $ref: "#/components/schemas/InterestLink";
|
|
4620
|
+
};
|
|
4214
4621
|
};
|
|
4215
|
-
|
|
4216
|
-
|
|
4217
|
-
|
|
4622
|
+
readonly properties: {
|
|
4623
|
+
readonly type: "array";
|
|
4624
|
+
readonly items: {
|
|
4625
|
+
readonly $ref: "#/components/schemas/PropertyLink";
|
|
4626
|
+
};
|
|
4627
|
+
};
|
|
4628
|
+
readonly taskGroups: {
|
|
4629
|
+
readonly type: "array";
|
|
4630
|
+
readonly items: {
|
|
4631
|
+
readonly $ref: "#/components/schemas/TaskGroup";
|
|
4632
|
+
};
|
|
4633
|
+
};
|
|
4634
|
+
readonly timeline: {
|
|
4635
|
+
readonly type: "array";
|
|
4636
|
+
readonly items: {
|
|
4637
|
+
readonly $ref: "#/components/schemas/TimelineEntry";
|
|
4638
|
+
};
|
|
4639
|
+
};
|
|
4640
|
+
};
|
|
4641
|
+
readonly required: readonly ["boardId", "boardName", "commissionType", "contacts", "createdAt", "dealId", "interests", "participants", "properties", "stageColor", "stageEnteredAt", "stageId", "stageName", "taskGroups", "timeline", "title"];
|
|
4642
|
+
};
|
|
4643
|
+
export declare const InterestLinkSchema: {
|
|
4644
|
+
readonly type: "object";
|
|
4645
|
+
readonly properties: {
|
|
4646
|
+
readonly interestId: {
|
|
4647
|
+
readonly type: "integer";
|
|
4648
|
+
readonly format: "int64";
|
|
4649
|
+
};
|
|
4650
|
+
readonly contactId: {
|
|
4651
|
+
readonly type: "integer";
|
|
4652
|
+
readonly format: "int64";
|
|
4653
|
+
};
|
|
4654
|
+
readonly title: {
|
|
4655
|
+
readonly type: "string";
|
|
4656
|
+
};
|
|
4657
|
+
};
|
|
4658
|
+
readonly required: readonly ["contactId", "interestId"];
|
|
4659
|
+
};
|
|
4660
|
+
export declare const ParticipantSchema: {
|
|
4661
|
+
readonly type: "object";
|
|
4662
|
+
readonly properties: {
|
|
4663
|
+
readonly memberId: {
|
|
4664
|
+
readonly type: "string";
|
|
4665
|
+
readonly format: "uuid";
|
|
4666
|
+
};
|
|
4667
|
+
readonly firstName: {
|
|
4668
|
+
readonly type: "string";
|
|
4669
|
+
};
|
|
4670
|
+
readonly lastName: {
|
|
4671
|
+
readonly type: "string";
|
|
4672
|
+
};
|
|
4673
|
+
readonly photo: {
|
|
4674
|
+
readonly type: "string";
|
|
4675
|
+
};
|
|
4676
|
+
readonly owner: {
|
|
4677
|
+
readonly type: "boolean";
|
|
4678
|
+
};
|
|
4679
|
+
};
|
|
4680
|
+
readonly required: readonly ["memberId", "owner"];
|
|
4681
|
+
};
|
|
4682
|
+
export declare const PropertyLinkSchema: {
|
|
4683
|
+
readonly type: "object";
|
|
4684
|
+
readonly properties: {
|
|
4685
|
+
readonly propertyId: {
|
|
4686
|
+
readonly type: "integer";
|
|
4687
|
+
readonly format: "int64";
|
|
4688
|
+
};
|
|
4689
|
+
readonly contactId: {
|
|
4690
|
+
readonly type: "integer";
|
|
4691
|
+
readonly format: "int64";
|
|
4692
|
+
};
|
|
4693
|
+
readonly title: {
|
|
4694
|
+
readonly type: "string";
|
|
4695
|
+
};
|
|
4696
|
+
};
|
|
4697
|
+
readonly required: readonly ["contactId", "propertyId"];
|
|
4698
|
+
};
|
|
4699
|
+
export declare const TaskGroupSchema: {
|
|
4700
|
+
readonly type: "object";
|
|
4701
|
+
readonly properties: {
|
|
4702
|
+
readonly kind: {
|
|
4703
|
+
readonly type: "string";
|
|
4704
|
+
readonly enum: readonly ["CURRENT_STAGE", "LEFTOVER", "AD_HOC"];
|
|
4705
|
+
};
|
|
4706
|
+
readonly stageId: {
|
|
4707
|
+
readonly type: "string";
|
|
4708
|
+
readonly format: "uuid";
|
|
4709
|
+
};
|
|
4710
|
+
readonly stageName: {
|
|
4711
|
+
readonly type: "string";
|
|
4712
|
+
};
|
|
4713
|
+
readonly tasks: {
|
|
4714
|
+
readonly type: "array";
|
|
4715
|
+
readonly items: {
|
|
4716
|
+
readonly $ref: "#/components/schemas/TaskItem";
|
|
4717
|
+
};
|
|
4718
|
+
};
|
|
4719
|
+
};
|
|
4720
|
+
readonly required: readonly ["kind", "tasks"];
|
|
4721
|
+
};
|
|
4722
|
+
export declare const TaskItemSchema: {
|
|
4723
|
+
readonly type: "object";
|
|
4724
|
+
readonly properties: {
|
|
4725
|
+
readonly taskId: {
|
|
4726
|
+
readonly type: "string";
|
|
4727
|
+
readonly format: "uuid";
|
|
4728
|
+
};
|
|
4729
|
+
readonly title: {
|
|
4730
|
+
readonly type: "string";
|
|
4731
|
+
};
|
|
4732
|
+
readonly position: {
|
|
4733
|
+
readonly type: "integer";
|
|
4734
|
+
readonly format: "int32";
|
|
4735
|
+
};
|
|
4736
|
+
readonly fromTemplate: {
|
|
4737
|
+
readonly type: "boolean";
|
|
4738
|
+
};
|
|
4739
|
+
readonly completedAt: {
|
|
4740
|
+
readonly type: "string";
|
|
4741
|
+
readonly format: "date-time";
|
|
4742
|
+
};
|
|
4743
|
+
readonly completedBy: {
|
|
4744
|
+
readonly type: "string";
|
|
4745
|
+
readonly format: "uuid";
|
|
4746
|
+
};
|
|
4747
|
+
};
|
|
4748
|
+
readonly required: readonly ["fromTemplate", "position", "taskId", "title"];
|
|
4749
|
+
};
|
|
4750
|
+
export declare const TimelineEntrySchema: {
|
|
4751
|
+
readonly type: "object";
|
|
4752
|
+
readonly properties: {
|
|
4753
|
+
readonly fromStageId: {
|
|
4754
|
+
readonly type: "string";
|
|
4755
|
+
readonly format: "uuid";
|
|
4756
|
+
};
|
|
4757
|
+
readonly fromStageName: {
|
|
4758
|
+
readonly type: "string";
|
|
4759
|
+
};
|
|
4760
|
+
readonly toStageId: {
|
|
4761
|
+
readonly type: "string";
|
|
4762
|
+
readonly format: "uuid";
|
|
4763
|
+
};
|
|
4764
|
+
readonly toStageName: {
|
|
4765
|
+
readonly type: "string";
|
|
4766
|
+
};
|
|
4767
|
+
readonly boardChanged: {
|
|
4768
|
+
readonly type: "boolean";
|
|
4769
|
+
};
|
|
4770
|
+
readonly outcome: {
|
|
4771
|
+
readonly type: "string";
|
|
4772
|
+
readonly enum: readonly ["WON", "LOST"];
|
|
4773
|
+
};
|
|
4774
|
+
readonly movedBy: {
|
|
4775
|
+
readonly type: "string";
|
|
4776
|
+
readonly format: "uuid";
|
|
4777
|
+
};
|
|
4778
|
+
readonly occurredAt: {
|
|
4779
|
+
readonly type: "string";
|
|
4780
|
+
readonly format: "date-time";
|
|
4781
|
+
};
|
|
4782
|
+
};
|
|
4783
|
+
readonly required: readonly ["boardChanged", "occurredAt"];
|
|
4784
|
+
};
|
|
4785
|
+
export declare const ContactDealResponseSchema: {
|
|
4786
|
+
readonly type: "object";
|
|
4787
|
+
readonly properties: {
|
|
4788
|
+
readonly dealId: {
|
|
4789
|
+
readonly type: "string";
|
|
4790
|
+
readonly format: "uuid";
|
|
4791
|
+
};
|
|
4792
|
+
readonly title: {
|
|
4793
|
+
readonly type: "string";
|
|
4794
|
+
};
|
|
4795
|
+
readonly boardId: {
|
|
4796
|
+
readonly type: "string";
|
|
4797
|
+
readonly format: "uuid";
|
|
4798
|
+
};
|
|
4799
|
+
readonly boardName: {
|
|
4800
|
+
readonly type: "string";
|
|
4801
|
+
};
|
|
4802
|
+
readonly stageId: {
|
|
4803
|
+
readonly type: "string";
|
|
4804
|
+
readonly format: "uuid";
|
|
4805
|
+
};
|
|
4806
|
+
readonly stageName: {
|
|
4807
|
+
readonly type: "string";
|
|
4808
|
+
};
|
|
4809
|
+
readonly outcome: {
|
|
4810
|
+
readonly type: "string";
|
|
4811
|
+
readonly enum: readonly ["WON", "LOST"];
|
|
4812
|
+
};
|
|
4813
|
+
readonly value: {
|
|
4814
|
+
readonly type: "number";
|
|
4815
|
+
};
|
|
4816
|
+
readonly primary: {
|
|
4817
|
+
readonly type: "boolean";
|
|
4818
|
+
};
|
|
4819
|
+
};
|
|
4820
|
+
readonly required: readonly ["boardId", "boardName", "dealId", "primary", "stageId", "stageName", "title"];
|
|
4821
|
+
};
|
|
4822
|
+
export declare const BoardGridResponseSchema: {
|
|
4823
|
+
readonly type: "object";
|
|
4824
|
+
readonly properties: {
|
|
4825
|
+
readonly boardId: {
|
|
4826
|
+
readonly type: "string";
|
|
4827
|
+
readonly format: "uuid";
|
|
4828
|
+
};
|
|
4829
|
+
readonly name: {
|
|
4830
|
+
readonly type: "string";
|
|
4831
|
+
};
|
|
4832
|
+
readonly kind: {
|
|
4833
|
+
readonly type: "string";
|
|
4834
|
+
readonly enum: readonly ["OWNER", "SEEKER"];
|
|
4835
|
+
};
|
|
4836
|
+
readonly archived: {
|
|
4837
|
+
readonly type: "boolean";
|
|
4838
|
+
};
|
|
4839
|
+
readonly columns: {
|
|
4840
|
+
readonly type: "array";
|
|
4841
|
+
readonly items: {
|
|
4842
|
+
readonly $ref: "#/components/schemas/Column";
|
|
4843
|
+
};
|
|
4844
|
+
};
|
|
4845
|
+
};
|
|
4846
|
+
readonly required: readonly ["archived", "boardId", "columns", "name"];
|
|
4847
|
+
};
|
|
4848
|
+
export declare const CardSchema: {
|
|
4849
|
+
readonly type: "object";
|
|
4850
|
+
readonly properties: {
|
|
4851
|
+
readonly dealId: {
|
|
4852
|
+
readonly type: "string";
|
|
4853
|
+
readonly format: "uuid";
|
|
4854
|
+
};
|
|
4855
|
+
readonly title: {
|
|
4856
|
+
readonly type: "string";
|
|
4857
|
+
};
|
|
4858
|
+
readonly value: {
|
|
4859
|
+
readonly type: "number";
|
|
4860
|
+
};
|
|
4861
|
+
readonly ownerId: {
|
|
4862
|
+
readonly type: "string";
|
|
4863
|
+
readonly format: "uuid";
|
|
4864
|
+
};
|
|
4865
|
+
readonly primaryContactId: {
|
|
4866
|
+
readonly type: "integer";
|
|
4867
|
+
readonly format: "int64";
|
|
4868
|
+
};
|
|
4869
|
+
readonly primaryContact: {
|
|
4870
|
+
readonly oneOf: readonly [{
|
|
4871
|
+
readonly $ref: "#/components/schemas/ContactPersonalDetailsRestricted";
|
|
4872
|
+
}, {
|
|
4873
|
+
readonly $ref: "#/components/schemas/ContactPersonalDetailsVisible";
|
|
4874
|
+
}];
|
|
4875
|
+
};
|
|
4876
|
+
readonly contactAssignedTo: {
|
|
4877
|
+
readonly type: "string";
|
|
4878
|
+
readonly format: "uuid";
|
|
4879
|
+
};
|
|
4880
|
+
readonly stageEnteredAt: {
|
|
4881
|
+
readonly type: "string";
|
|
4882
|
+
readonly format: "date-time";
|
|
4883
|
+
};
|
|
4884
|
+
readonly daysInStage: {
|
|
4885
|
+
readonly type: "integer";
|
|
4886
|
+
readonly format: "int64";
|
|
4887
|
+
};
|
|
4888
|
+
readonly openTasks: {
|
|
4889
|
+
readonly type: "integer";
|
|
4890
|
+
readonly format: "int64";
|
|
4891
|
+
};
|
|
4892
|
+
readonly totalTasks: {
|
|
4893
|
+
readonly type: "integer";
|
|
4894
|
+
readonly format: "int64";
|
|
4895
|
+
};
|
|
4896
|
+
readonly hasLeftoverOpenTasks: {
|
|
4897
|
+
readonly type: "boolean";
|
|
4898
|
+
};
|
|
4899
|
+
};
|
|
4900
|
+
readonly required: readonly ["daysInStage", "dealId", "hasLeftoverOpenTasks", "openTasks", "stageEnteredAt", "title", "totalTasks"];
|
|
4901
|
+
};
|
|
4902
|
+
export declare const ColumnSchema: {
|
|
4903
|
+
readonly type: "object";
|
|
4904
|
+
readonly properties: {
|
|
4905
|
+
readonly stageId: {
|
|
4906
|
+
readonly type: "string";
|
|
4907
|
+
readonly format: "uuid";
|
|
4908
|
+
};
|
|
4909
|
+
readonly name: {
|
|
4910
|
+
readonly type: "string";
|
|
4911
|
+
};
|
|
4912
|
+
readonly color: {
|
|
4913
|
+
readonly type: "string";
|
|
4914
|
+
};
|
|
4915
|
+
readonly position: {
|
|
4916
|
+
readonly type: "integer";
|
|
4917
|
+
readonly format: "int32";
|
|
4918
|
+
};
|
|
4919
|
+
readonly totalDeals: {
|
|
4920
|
+
readonly type: "integer";
|
|
4921
|
+
readonly format: "int64";
|
|
4922
|
+
};
|
|
4923
|
+
readonly totalValue: {
|
|
4924
|
+
readonly type: "number";
|
|
4925
|
+
};
|
|
4926
|
+
readonly cards: {
|
|
4927
|
+
readonly type: "array";
|
|
4928
|
+
readonly items: {
|
|
4929
|
+
readonly $ref: "#/components/schemas/Card";
|
|
4930
|
+
};
|
|
4931
|
+
};
|
|
4932
|
+
};
|
|
4933
|
+
readonly required: readonly ["cards", "color", "name", "position", "stageId", "totalDeals", "totalValue"];
|
|
4934
|
+
};
|
|
4935
|
+
export declare const ClosedDealResponseSchema: {
|
|
4936
|
+
readonly type: "object";
|
|
4937
|
+
readonly properties: {
|
|
4938
|
+
readonly dealId: {
|
|
4939
|
+
readonly type: "string";
|
|
4940
|
+
readonly format: "uuid";
|
|
4941
|
+
};
|
|
4942
|
+
readonly title: {
|
|
4943
|
+
readonly type: "string";
|
|
4944
|
+
};
|
|
4945
|
+
readonly value: {
|
|
4946
|
+
readonly type: "number";
|
|
4947
|
+
};
|
|
4948
|
+
readonly ownerId: {
|
|
4949
|
+
readonly type: "string";
|
|
4950
|
+
readonly format: "uuid";
|
|
4951
|
+
};
|
|
4952
|
+
readonly primaryContactId: {
|
|
4953
|
+
readonly type: "integer";
|
|
4954
|
+
readonly format: "int64";
|
|
4955
|
+
};
|
|
4956
|
+
readonly primaryContact: {
|
|
4957
|
+
readonly oneOf: readonly [{
|
|
4958
|
+
readonly $ref: "#/components/schemas/ContactPersonalDetailsRestricted";
|
|
4959
|
+
}, {
|
|
4960
|
+
readonly $ref: "#/components/schemas/ContactPersonalDetailsVisible";
|
|
4961
|
+
}];
|
|
4962
|
+
};
|
|
4963
|
+
readonly contactAssignedTo: {
|
|
4964
|
+
readonly type: "string";
|
|
4965
|
+
readonly format: "uuid";
|
|
4966
|
+
};
|
|
4967
|
+
readonly outcome: {
|
|
4968
|
+
readonly type: "string";
|
|
4969
|
+
readonly enum: readonly ["WON", "LOST"];
|
|
4970
|
+
};
|
|
4971
|
+
readonly lostReason: {
|
|
4972
|
+
readonly type: "string";
|
|
4973
|
+
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"];
|
|
4974
|
+
};
|
|
4975
|
+
readonly closedAt: {
|
|
4976
|
+
readonly type: "string";
|
|
4977
|
+
readonly format: "date-time";
|
|
4978
|
+
};
|
|
4979
|
+
readonly stageName: {
|
|
4980
|
+
readonly type: "string";
|
|
4981
|
+
readonly description: "Stage the deal closed from";
|
|
4982
|
+
};
|
|
4983
|
+
};
|
|
4984
|
+
readonly required: readonly ["closedAt", "dealId", "outcome", "stageName", "title"];
|
|
4985
|
+
};
|
|
4986
|
+
export declare const PagedModelClosedDealResponseSchema: {
|
|
4987
|
+
readonly type: "object";
|
|
4988
|
+
readonly properties: {
|
|
4989
|
+
readonly content: {
|
|
4990
|
+
readonly type: "array";
|
|
4991
|
+
readonly items: {
|
|
4992
|
+
readonly $ref: "#/components/schemas/ClosedDealResponse";
|
|
4993
|
+
};
|
|
4994
|
+
};
|
|
4995
|
+
readonly page: {
|
|
4996
|
+
readonly $ref: "#/components/schemas/PageMetadata";
|
|
4997
|
+
};
|
|
4998
|
+
};
|
|
4999
|
+
};
|
|
5000
|
+
export declare const ImageSchema: {
|
|
5001
|
+
readonly properties: {
|
|
5002
|
+
readonly urls: {
|
|
5003
|
+
readonly type: "array";
|
|
5004
|
+
readonly items: {
|
|
5005
|
+
readonly type: "string";
|
|
5006
|
+
};
|
|
5007
|
+
};
|
|
5008
|
+
readonly kind: {
|
|
5009
|
+
readonly type: "string";
|
|
5010
|
+
readonly enum: readonly ["IMAGE"];
|
|
5011
|
+
};
|
|
5012
|
+
};
|
|
5013
|
+
readonly required: readonly ["kind"];
|
|
5014
|
+
};
|
|
5015
|
+
export declare const MessageContentSchema: {
|
|
5016
|
+
readonly discriminator: {
|
|
5017
|
+
readonly propertyName: "kind";
|
|
5018
|
+
readonly mapping: {
|
|
5019
|
+
readonly TEXT: "#/components/schemas/Text";
|
|
5020
|
+
readonly IMAGE: "#/components/schemas/Image";
|
|
5021
|
+
readonly UNSUPPORTED: "#/components/schemas/Unsupported";
|
|
5022
|
+
};
|
|
5023
|
+
};
|
|
5024
|
+
readonly oneOf: readonly [{
|
|
5025
|
+
readonly $ref: "#/components/schemas/Text";
|
|
5026
|
+
}, {
|
|
5027
|
+
readonly $ref: "#/components/schemas/Unsupported";
|
|
5028
|
+
}];
|
|
5029
|
+
readonly required: readonly ["kind"];
|
|
5030
|
+
};
|
|
5031
|
+
export declare const MessageViewSchema: {
|
|
5032
|
+
readonly type: "object";
|
|
5033
|
+
readonly properties: {
|
|
5034
|
+
readonly id: {
|
|
5035
|
+
readonly type: "string";
|
|
5036
|
+
readonly format: "uuid";
|
|
5037
|
+
};
|
|
5038
|
+
readonly seq: {
|
|
5039
|
+
readonly type: "integer";
|
|
5040
|
+
readonly format: "int64";
|
|
5041
|
+
};
|
|
5042
|
+
readonly direction: {
|
|
5043
|
+
readonly type: "string";
|
|
5044
|
+
readonly enum: readonly ["INBOUND", "OUTBOUND"];
|
|
5045
|
+
};
|
|
5046
|
+
readonly content: {
|
|
5047
|
+
readonly $ref: "#/components/schemas/MessageContent";
|
|
5048
|
+
};
|
|
5049
|
+
readonly status: {
|
|
5050
|
+
readonly type: "string";
|
|
5051
|
+
readonly enum: readonly ["RECEIVED", "PENDING", "SENT", "FAILED"];
|
|
5052
|
+
};
|
|
5053
|
+
readonly sentAt: {
|
|
5054
|
+
readonly type: "string";
|
|
5055
|
+
readonly format: "date-time";
|
|
5056
|
+
};
|
|
5057
|
+
readonly failureReason: {
|
|
5058
|
+
readonly type: "string";
|
|
5059
|
+
};
|
|
5060
|
+
readonly sentBy: {
|
|
5061
|
+
readonly $ref: "#/components/schemas/SentBy";
|
|
5062
|
+
};
|
|
5063
|
+
};
|
|
5064
|
+
readonly required: readonly ["content", "direction", "id", "sentAt", "seq", "status"];
|
|
5065
|
+
};
|
|
5066
|
+
export declare const SentBySchema: {
|
|
5067
|
+
readonly type: "object";
|
|
5068
|
+
readonly properties: {
|
|
5069
|
+
readonly memberId: {
|
|
5070
|
+
readonly type: "string";
|
|
5071
|
+
readonly format: "uuid";
|
|
5072
|
+
};
|
|
5073
|
+
readonly firstName: {
|
|
5074
|
+
readonly type: "string";
|
|
5075
|
+
};
|
|
5076
|
+
readonly lastName: {
|
|
5077
|
+
readonly type: "string";
|
|
5078
|
+
};
|
|
5079
|
+
readonly picture: {
|
|
5080
|
+
readonly type: "string";
|
|
5081
|
+
};
|
|
5082
|
+
};
|
|
5083
|
+
};
|
|
5084
|
+
export declare const TextSchema: {
|
|
5085
|
+
readonly properties: {
|
|
5086
|
+
readonly body: {
|
|
5087
|
+
readonly type: "string";
|
|
5088
|
+
};
|
|
5089
|
+
readonly kind: {
|
|
5090
|
+
readonly type: "string";
|
|
5091
|
+
readonly enum: readonly ["TEXT"];
|
|
5092
|
+
};
|
|
5093
|
+
};
|
|
5094
|
+
readonly required: readonly ["kind"];
|
|
5095
|
+
};
|
|
5096
|
+
export declare const ThreadUpdatesSchema: {
|
|
5097
|
+
readonly type: "object";
|
|
5098
|
+
readonly properties: {
|
|
5099
|
+
readonly customerReadUpTo: {
|
|
5100
|
+
readonly type: "string";
|
|
5101
|
+
readonly format: "date-time";
|
|
5102
|
+
};
|
|
5103
|
+
readonly messages: {
|
|
5104
|
+
readonly type: "array";
|
|
5105
|
+
readonly items: {
|
|
5106
|
+
readonly $ref: "#/components/schemas/MessageView";
|
|
5107
|
+
};
|
|
5108
|
+
};
|
|
5109
|
+
readonly nextSeq: {
|
|
5110
|
+
readonly type: "integer";
|
|
5111
|
+
readonly format: "int64";
|
|
5112
|
+
};
|
|
5113
|
+
readonly hasMore: {
|
|
5114
|
+
readonly type: "boolean";
|
|
5115
|
+
};
|
|
5116
|
+
};
|
|
5117
|
+
};
|
|
5118
|
+
export declare const UnsupportedSchema: {
|
|
5119
|
+
readonly properties: {
|
|
5120
|
+
readonly kind: {
|
|
5121
|
+
readonly type: "string";
|
|
5122
|
+
readonly enum: readonly ["UNSUPPORTED"];
|
|
5123
|
+
};
|
|
5124
|
+
};
|
|
5125
|
+
readonly required: readonly ["kind"];
|
|
5126
|
+
};
|
|
5127
|
+
export declare const CursorPageMessageViewSchema: {
|
|
5128
|
+
readonly type: "object";
|
|
5129
|
+
readonly properties: {
|
|
5130
|
+
readonly items: {
|
|
5131
|
+
readonly type: "array";
|
|
5132
|
+
readonly items: {
|
|
5133
|
+
readonly $ref: "#/components/schemas/MessageView";
|
|
5134
|
+
};
|
|
5135
|
+
};
|
|
5136
|
+
readonly nextCursor: {
|
|
5137
|
+
readonly type: "string";
|
|
5138
|
+
};
|
|
5139
|
+
readonly hasNext: {
|
|
5140
|
+
readonly type: "boolean";
|
|
5141
|
+
};
|
|
5142
|
+
};
|
|
5143
|
+
};
|
|
5144
|
+
export declare const ContactGridResponseSchema: {
|
|
5145
|
+
readonly type: "object";
|
|
5146
|
+
readonly properties: {
|
|
5147
|
+
readonly id: {
|
|
5148
|
+
readonly type: "integer";
|
|
5149
|
+
readonly format: "int64";
|
|
5150
|
+
};
|
|
5151
|
+
readonly createdBy: {
|
|
5152
|
+
readonly type: "string";
|
|
5153
|
+
readonly format: "uuid";
|
|
5154
|
+
};
|
|
5155
|
+
readonly assignedTo: {
|
|
5156
|
+
readonly $ref: "#/components/schemas/AssignedToResponse";
|
|
5157
|
+
};
|
|
5158
|
+
readonly title: {
|
|
5159
|
+
readonly type: "string";
|
|
5160
|
+
};
|
|
5161
|
+
readonly personalDetails: {
|
|
5162
|
+
readonly oneOf: readonly [{
|
|
5163
|
+
readonly $ref: "#/components/schemas/ContactPersonalDetailsRestricted";
|
|
5164
|
+
}, {
|
|
5165
|
+
readonly $ref: "#/components/schemas/ContactPersonalDetailsVisible";
|
|
5166
|
+
}];
|
|
5167
|
+
};
|
|
5168
|
+
readonly gender: {
|
|
5169
|
+
readonly type: "string";
|
|
5170
|
+
readonly enum: readonly ["MALE", "FEMALE", "UNKNOWN"];
|
|
5171
|
+
};
|
|
5172
|
+
readonly sourceType: {
|
|
5173
|
+
readonly type: "string";
|
|
5174
|
+
readonly enum: readonly ["MY_HOME", "SS", "HOME_SPOT", "AGENCY_MEMBER", "FACEBOOK", "INSTAGRAM", "WHATSAPP", "UNKNOWN"];
|
|
5175
|
+
};
|
|
5176
|
+
readonly sourceLink: {
|
|
5177
|
+
readonly type: "string";
|
|
5178
|
+
};
|
|
5179
|
+
readonly isSearching: {
|
|
5180
|
+
readonly type: "boolean";
|
|
5181
|
+
};
|
|
5182
|
+
readonly isListing: {
|
|
5183
|
+
readonly type: "boolean";
|
|
5184
|
+
};
|
|
5185
|
+
readonly createdAt: {
|
|
5186
|
+
readonly type: "string";
|
|
5187
|
+
readonly format: "date-time";
|
|
5188
|
+
};
|
|
5189
|
+
readonly updatedAt: {
|
|
5190
|
+
readonly type: "string";
|
|
5191
|
+
readonly format: "date-time";
|
|
5192
|
+
};
|
|
5193
|
+
};
|
|
5194
|
+
readonly required: readonly ["createdAt", "id", "isListing", "isSearching", "personalDetails", "updatedAt"];
|
|
5195
|
+
};
|
|
5196
|
+
export declare const PagedModelContactGridResponseSchema: {
|
|
5197
|
+
readonly type: "object";
|
|
5198
|
+
readonly properties: {
|
|
5199
|
+
readonly content: {
|
|
5200
|
+
readonly type: "array";
|
|
5201
|
+
readonly items: {
|
|
5202
|
+
readonly $ref: "#/components/schemas/ContactGridResponse";
|
|
5203
|
+
};
|
|
5204
|
+
};
|
|
5205
|
+
readonly page: {
|
|
5206
|
+
readonly $ref: "#/components/schemas/PageMetadata";
|
|
5207
|
+
};
|
|
5208
|
+
};
|
|
5209
|
+
};
|
|
5210
|
+
export declare const AssignedMemberSchema: {
|
|
4218
5211
|
readonly type: "object";
|
|
4219
5212
|
readonly properties: {
|
|
4220
5213
|
readonly memberId: {
|
|
@@ -4276,14 +5269,6 @@ export declare const Client360ResponseSchema: {
|
|
|
4276
5269
|
readonly isListing: {
|
|
4277
5270
|
readonly type: "boolean";
|
|
4278
5271
|
};
|
|
4279
|
-
readonly priority: {
|
|
4280
|
-
readonly type: "string";
|
|
4281
|
-
readonly enum: readonly ["CRITICAL", "HIGH", "MEDIUM", "LOW"];
|
|
4282
|
-
};
|
|
4283
|
-
readonly status: {
|
|
4284
|
-
readonly type: "string";
|
|
4285
|
-
readonly enum: readonly ["NEW", "ON_HOLD", "COLD", "WARM", "HOT", "WAITING_PAYMENT", "LOST", "WON"];
|
|
4286
|
-
};
|
|
4287
5272
|
readonly createdAt: {
|
|
4288
5273
|
readonly type: "string";
|
|
4289
5274
|
readonly format: "date-time";
|
|
@@ -4304,8 +5289,14 @@ export declare const Client360ResponseSchema: {
|
|
|
4304
5289
|
readonly $ref: "#/components/schemas/ContactPropertyResponse";
|
|
4305
5290
|
};
|
|
4306
5291
|
};
|
|
5292
|
+
readonly deals: {
|
|
5293
|
+
readonly type: "array";
|
|
5294
|
+
readonly items: {
|
|
5295
|
+
readonly $ref: "#/components/schemas/ContactDealResponse";
|
|
5296
|
+
};
|
|
5297
|
+
};
|
|
4307
5298
|
};
|
|
4308
|
-
readonly required: readonly ["agencyId", "contactId", "contactInfo", "createdAt", "createdBy", "
|
|
5299
|
+
readonly required: readonly ["agencyId", "contactId", "contactInfo", "createdAt", "createdBy", "deals", "interests", "isListing", "isSearching", "properties", "source", "updatedAt"];
|
|
4309
5300
|
};
|
|
4310
5301
|
export declare const CommunicationPreferenceResponseSchema: {
|
|
4311
5302
|
readonly type: "object";
|
|
@@ -4340,7 +5331,7 @@ export declare const ContactInfoRestrictedSchema: {
|
|
|
4340
5331
|
readonly type: "array";
|
|
4341
5332
|
readonly items: {
|
|
4342
5333
|
readonly type: "string";
|
|
4343
|
-
readonly enum: readonly ["MANAGE_AGENCY", "MANAGE_ROLE", "MANAGE_MEMBER", "CREATE_DELETE_MEMBER", "CREATE_CONTACT", "DELETE_CONTACT", "MANAGE_CONTACT", "MANAGE_ANY_CONTACT", "ASSIGN_CONTACT"];
|
|
5334
|
+
readonly enum: readonly ["MANAGE_AGENCY", "MANAGE_ROLE", "MANAGE_MEMBER", "CREATE_DELETE_MEMBER", "CREATE_CONTACT", "DELETE_CONTACT", "MANAGE_CONTACT", "MANAGE_ANY_CONTACT", "ASSIGN_CONTACT", "MANAGE_BOARD", "MANAGE_DEAL", "DELETE_DEAL"];
|
|
4344
5335
|
};
|
|
4345
5336
|
readonly uniqueItems: true;
|
|
4346
5337
|
};
|
|
@@ -4484,9 +5475,6 @@ export declare const DuplicateContactInfoSchema: {
|
|
|
4484
5475
|
readonly type: "integer";
|
|
4485
5476
|
readonly format: "int64";
|
|
4486
5477
|
};
|
|
4487
|
-
readonly isActive: {
|
|
4488
|
-
readonly type: "boolean";
|
|
4489
|
-
};
|
|
4490
5478
|
readonly firstName: {
|
|
4491
5479
|
readonly type: "string";
|
|
4492
5480
|
};
|
|
@@ -4519,7 +5507,7 @@ export declare const DuplicateContactInfoSchema: {
|
|
|
4519
5507
|
readonly $ref: "#/components/schemas/AssignedAgent";
|
|
4520
5508
|
};
|
|
4521
5509
|
};
|
|
4522
|
-
readonly required: readonly ["contactId", "
|
|
5510
|
+
readonly required: readonly ["contactId", "phone"];
|
|
4523
5511
|
};
|
|
4524
5512
|
export declare const PhoneDuplicateCheckResponseSchema: {
|
|
4525
5513
|
readonly type: "object";
|
|
@@ -4537,194 +5525,94 @@ export declare const PhoneDuplicateCheckResponseSchema: {
|
|
|
4537
5525
|
};
|
|
4538
5526
|
readonly required: readonly ["matches", "policy"];
|
|
4539
5527
|
};
|
|
4540
|
-
export declare const
|
|
5528
|
+
export declare const BoardResponseSchema: {
|
|
4541
5529
|
readonly type: "object";
|
|
4542
5530
|
readonly properties: {
|
|
4543
|
-
readonly
|
|
4544
|
-
readonly type: "
|
|
4545
|
-
readonly format: "
|
|
4546
|
-
};
|
|
4547
|
-
readonly personalDetails: {
|
|
4548
|
-
readonly oneOf: readonly [{
|
|
4549
|
-
readonly $ref: "#/components/schemas/ContactPersonalDetailsRestricted";
|
|
4550
|
-
}, {
|
|
4551
|
-
readonly $ref: "#/components/schemas/ContactPersonalDetailsVisible";
|
|
4552
|
-
}];
|
|
5531
|
+
readonly boardId: {
|
|
5532
|
+
readonly type: "string";
|
|
5533
|
+
readonly format: "uuid";
|
|
4553
5534
|
};
|
|
4554
|
-
readonly
|
|
5535
|
+
readonly kind: {
|
|
4555
5536
|
readonly type: "string";
|
|
4556
|
-
readonly enum: readonly ["
|
|
5537
|
+
readonly enum: readonly ["OWNER", "SEEKER"];
|
|
4557
5538
|
};
|
|
4558
|
-
readonly
|
|
5539
|
+
readonly name: {
|
|
4559
5540
|
readonly type: "string";
|
|
4560
|
-
readonly enum: readonly ["NEW", "ON_HOLD", "COLD", "WARM", "HOT", "WAITING_PAYMENT", "LOST", "WON"];
|
|
4561
5541
|
};
|
|
4562
|
-
readonly
|
|
4563
|
-
readonly
|
|
5542
|
+
readonly archived: {
|
|
5543
|
+
readonly type: "boolean";
|
|
4564
5544
|
};
|
|
4565
|
-
readonly
|
|
4566
|
-
readonly type: "
|
|
5545
|
+
readonly stages: {
|
|
5546
|
+
readonly type: "array";
|
|
5547
|
+
readonly items: {
|
|
5548
|
+
readonly $ref: "#/components/schemas/StageResponse";
|
|
5549
|
+
};
|
|
4567
5550
|
};
|
|
4568
|
-
readonly
|
|
5551
|
+
readonly createdAt: {
|
|
4569
5552
|
readonly type: "string";
|
|
4570
5553
|
readonly format: "date-time";
|
|
4571
5554
|
};
|
|
4572
|
-
readonly preview: {
|
|
4573
|
-
readonly oneOf: readonly [{
|
|
4574
|
-
readonly $ref: "#/components/schemas/InterestPreview";
|
|
4575
|
-
}, {
|
|
4576
|
-
readonly $ref: "#/components/schemas/PropertyPreview";
|
|
4577
|
-
}];
|
|
4578
|
-
};
|
|
4579
5555
|
};
|
|
4580
|
-
readonly required: readonly ["
|
|
5556
|
+
readonly required: readonly ["archived", "boardId", "createdAt", "name", "stages"];
|
|
4581
5557
|
};
|
|
4582
|
-
export declare const
|
|
5558
|
+
export declare const StageResponseSchema: {
|
|
4583
5559
|
readonly type: "object";
|
|
4584
5560
|
readonly properties: {
|
|
4585
|
-
readonly
|
|
5561
|
+
readonly stageId: {
|
|
5562
|
+
readonly type: "string";
|
|
5563
|
+
readonly format: "uuid";
|
|
5564
|
+
};
|
|
5565
|
+
readonly name: {
|
|
4586
5566
|
readonly type: "string";
|
|
4587
|
-
readonly enum: readonly ["NEW", "ON_HOLD", "COLD", "WARM", "HOT", "WAITING_PAYMENT", "LOST", "WON"];
|
|
4588
5567
|
};
|
|
4589
|
-
readonly
|
|
4590
|
-
readonly type: "
|
|
5568
|
+
readonly color: {
|
|
5569
|
+
readonly type: "string";
|
|
4591
5570
|
};
|
|
4592
|
-
readonly
|
|
5571
|
+
readonly position: {
|
|
4593
5572
|
readonly type: "integer";
|
|
4594
|
-
readonly format: "
|
|
5573
|
+
readonly format: "int32";
|
|
4595
5574
|
};
|
|
4596
|
-
readonly
|
|
4597
|
-
readonly
|
|
5575
|
+
readonly active: {
|
|
5576
|
+
readonly type: "boolean";
|
|
4598
5577
|
};
|
|
4599
|
-
|
|
4600
|
-
readonly required: readonly ["cards", "status", "totalCommission", "totalContacts"];
|
|
4601
|
-
};
|
|
4602
|
-
export declare const ContactKanbanResponseSchema: {
|
|
4603
|
-
readonly type: "object";
|
|
4604
|
-
readonly properties: {
|
|
4605
|
-
readonly columns: {
|
|
5578
|
+
readonly taskTemplates: {
|
|
4606
5579
|
readonly type: "array";
|
|
4607
5580
|
readonly items: {
|
|
4608
|
-
readonly $ref: "#/components/schemas/
|
|
5581
|
+
readonly $ref: "#/components/schemas/TaskTemplateResponse";
|
|
4609
5582
|
};
|
|
4610
5583
|
};
|
|
4611
5584
|
};
|
|
4612
|
-
readonly required: readonly ["
|
|
5585
|
+
readonly required: readonly ["active", "color", "name", "position", "stageId", "taskTemplates"];
|
|
4613
5586
|
};
|
|
4614
|
-
export declare const
|
|
5587
|
+
export declare const TaskTemplateResponseSchema: {
|
|
4615
5588
|
readonly type: "object";
|
|
4616
5589
|
readonly properties: {
|
|
4617
|
-
readonly
|
|
4618
|
-
readonly type: "
|
|
4619
|
-
readonly
|
|
4620
|
-
readonly $ref: "#/components/schemas/Card";
|
|
4621
|
-
};
|
|
5590
|
+
readonly templateId: {
|
|
5591
|
+
readonly type: "string";
|
|
5592
|
+
readonly format: "uuid";
|
|
4622
5593
|
};
|
|
4623
|
-
readonly
|
|
5594
|
+
readonly title: {
|
|
4624
5595
|
readonly type: "string";
|
|
4625
5596
|
};
|
|
4626
|
-
readonly
|
|
4627
|
-
readonly type: "
|
|
5597
|
+
readonly position: {
|
|
5598
|
+
readonly type: "integer";
|
|
5599
|
+
readonly format: "int32";
|
|
4628
5600
|
};
|
|
4629
5601
|
};
|
|
5602
|
+
readonly required: readonly ["position", "templateId", "title"];
|
|
4630
5603
|
};
|
|
4631
|
-
export declare const
|
|
4632
|
-
readonly allOf: readonly [{
|
|
4633
|
-
readonly $ref: "#/components/schemas/Preview";
|
|
4634
|
-
}, {
|
|
4635
|
-
readonly type: "object";
|
|
4636
|
-
readonly properties: {
|
|
4637
|
-
readonly interestId: {
|
|
4638
|
-
readonly type: "integer";
|
|
4639
|
-
readonly format: "int64";
|
|
4640
|
-
};
|
|
4641
|
-
readonly listingType: {
|
|
4642
|
-
readonly type: "string";
|
|
4643
|
-
readonly enum: readonly ["SALE", "RENT", "DAILY_RENT", "PLEDGE"];
|
|
4644
|
-
};
|
|
4645
|
-
readonly propertyTypes: {
|
|
4646
|
-
readonly type: "array";
|
|
4647
|
-
readonly items: {
|
|
4648
|
-
readonly type: "string";
|
|
4649
|
-
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"];
|
|
4650
|
-
};
|
|
4651
|
-
readonly uniqueItems: true;
|
|
4652
|
-
};
|
|
4653
|
-
readonly budget: {
|
|
4654
|
-
readonly $ref: "#/components/schemas/RangeBigDecimal";
|
|
4655
|
-
};
|
|
4656
|
-
readonly primaryLocation: {
|
|
4657
|
-
readonly $ref: "#/components/schemas/LocationResponse";
|
|
4658
|
-
};
|
|
4659
|
-
readonly recommendationCount: {
|
|
4660
|
-
readonly type: "integer";
|
|
4661
|
-
readonly format: "int32";
|
|
4662
|
-
};
|
|
4663
|
-
};
|
|
4664
|
-
}];
|
|
4665
|
-
readonly required: readonly ["interestId", "listingType", "propertyTypes", "recommendationCount"];
|
|
4666
|
-
};
|
|
4667
|
-
export declare const ListingTypePriceSchema: {
|
|
5604
|
+
export declare const DealSettingsResponseSchema: {
|
|
4668
5605
|
readonly type: "object";
|
|
4669
5606
|
readonly properties: {
|
|
4670
|
-
readonly
|
|
5607
|
+
readonly defaultBoardId: {
|
|
4671
5608
|
readonly type: "string";
|
|
4672
|
-
readonly
|
|
4673
|
-
};
|
|
4674
|
-
readonly price: {
|
|
4675
|
-
readonly type: "number";
|
|
4676
|
-
};
|
|
4677
|
-
};
|
|
4678
|
-
readonly required: readonly ["listingType", "price"];
|
|
4679
|
-
};
|
|
4680
|
-
export declare const PreviewSchema: {
|
|
4681
|
-
readonly discriminator: {
|
|
4682
|
-
readonly propertyName: "type";
|
|
4683
|
-
readonly mapping: {
|
|
4684
|
-
readonly PROPERTY: "#/components/schemas/PropertyPreview";
|
|
4685
|
-
readonly INTEREST: "#/components/schemas/InterestPreview";
|
|
5609
|
+
readonly format: "uuid";
|
|
4686
5610
|
};
|
|
4687
|
-
|
|
4688
|
-
readonly properties: {
|
|
4689
|
-
readonly type: {
|
|
5611
|
+
readonly defaultStageId: {
|
|
4690
5612
|
readonly type: "string";
|
|
5613
|
+
readonly format: "uuid";
|
|
4691
5614
|
};
|
|
4692
5615
|
};
|
|
4693
|
-
readonly required: readonly ["type"];
|
|
4694
|
-
};
|
|
4695
|
-
export declare const PropertyPreviewSchema: {
|
|
4696
|
-
readonly allOf: readonly [{
|
|
4697
|
-
readonly $ref: "#/components/schemas/Preview";
|
|
4698
|
-
}, {
|
|
4699
|
-
readonly type: "object";
|
|
4700
|
-
readonly properties: {
|
|
4701
|
-
readonly propertyId: {
|
|
4702
|
-
readonly type: "integer";
|
|
4703
|
-
readonly format: "int64";
|
|
4704
|
-
};
|
|
4705
|
-
readonly propertyType: {
|
|
4706
|
-
readonly type: "string";
|
|
4707
|
-
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"];
|
|
4708
|
-
};
|
|
4709
|
-
readonly state: {
|
|
4710
|
-
readonly type: "string";
|
|
4711
|
-
readonly enum: readonly ["IN_REGISTRATION", "UNLISTED", "LISTED_INTERNALLY", "LISTED", "CLOSED"];
|
|
4712
|
-
};
|
|
4713
|
-
readonly title: {
|
|
4714
|
-
readonly type: "string";
|
|
4715
|
-
};
|
|
4716
|
-
readonly coverUrl: {
|
|
4717
|
-
readonly type: "string";
|
|
4718
|
-
};
|
|
4719
|
-
readonly listingTypes: {
|
|
4720
|
-
readonly type: "array";
|
|
4721
|
-
readonly items: {
|
|
4722
|
-
readonly $ref: "#/components/schemas/ListingTypePrice";
|
|
4723
|
-
};
|
|
4724
|
-
};
|
|
4725
|
-
};
|
|
4726
|
-
}];
|
|
4727
|
-
readonly required: readonly ["listingTypes", "propertyId", "propertyType", "state"];
|
|
4728
5616
|
};
|
|
4729
5617
|
export declare const AddressViewResponseSchema: {
|
|
4730
5618
|
readonly type: "object";
|