@homespot-sdk/core 0.0.339 → 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
package/dist/rem/types.gen.d.ts
CHANGED
|
@@ -53,7 +53,7 @@ export type UpdateEmailRequest = {
|
|
|
53
53
|
export type RolesRequest = {
|
|
54
54
|
name: string;
|
|
55
55
|
description: string;
|
|
56
|
-
permissions: Array<'MANAGE_AGENCY' | 'MANAGE_ROLE' | 'MANAGE_MEMBER' | 'CREATE_DELETE_MEMBER' | 'CREATE_CONTACT' | 'DELETE_CONTACT' | 'MANAGE_CONTACT' | 'MANAGE_ANY_CONTACT' | 'ASSIGN_CONTACT'>;
|
|
56
|
+
permissions: Array<'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'>;
|
|
57
57
|
};
|
|
58
58
|
export type AssignRoleRequest = {
|
|
59
59
|
roleId: number;
|
|
@@ -75,6 +75,41 @@ export type RescheduleRequest = {
|
|
|
75
75
|
start: Date;
|
|
76
76
|
durationMinutes?: number;
|
|
77
77
|
};
|
|
78
|
+
export type CommentBodyRequest = {
|
|
79
|
+
body: string;
|
|
80
|
+
};
|
|
81
|
+
export type SetDealValueRequest = {
|
|
82
|
+
value?: number;
|
|
83
|
+
};
|
|
84
|
+
export type TransferDealRequest = {
|
|
85
|
+
targetBoardId: string;
|
|
86
|
+
targetStageId: string;
|
|
87
|
+
};
|
|
88
|
+
export type RenameDealRequest = {
|
|
89
|
+
title: string;
|
|
90
|
+
};
|
|
91
|
+
export type MoveDealRequest = {
|
|
92
|
+
targetStageId: string;
|
|
93
|
+
};
|
|
94
|
+
export type MarkDealLostRequest = {
|
|
95
|
+
reason: 'NOT_WORKING_WITH_AGENTS' | 'NOT_RESPONDING' | 'ALREADY_SOLD' | 'COULD_NOT_NEGOTIATE_PRICE' | 'CHOSE_ANOTHER_AGENCY' | 'CHANGED_PLANS' | 'OUT_OF_BUDGET' | 'SPAM' | 'OTHER';
|
|
96
|
+
};
|
|
97
|
+
export type SetExpectedCloseDateRequest = {
|
|
98
|
+
expectedCloseDate?: Date;
|
|
99
|
+
};
|
|
100
|
+
export type DescribeDealRequest = {
|
|
101
|
+
description?: string;
|
|
102
|
+
};
|
|
103
|
+
export type SetDealCommissionRequest = {
|
|
104
|
+
type: 'NOT_SET' | 'FIXED' | 'PERCENTAGE' | 'MONTHS_OF_RENT';
|
|
105
|
+
/**
|
|
106
|
+
* Amount for FIXED, fraction (0,1] for PERCENTAGE, factor for MONTHS_OF_RENT
|
|
107
|
+
*/
|
|
108
|
+
value?: number;
|
|
109
|
+
};
|
|
110
|
+
export type RenameTaskRequest = {
|
|
111
|
+
title: string;
|
|
112
|
+
};
|
|
78
113
|
export type UpdateListingPriceRequest = {
|
|
79
114
|
price: number;
|
|
80
115
|
};
|
|
@@ -112,9 +147,6 @@ export type RecommendListingRequest = {
|
|
|
112
147
|
externalPropertyId: string;
|
|
113
148
|
externalListingId: string;
|
|
114
149
|
};
|
|
115
|
-
export type CommentBodyRequest = {
|
|
116
|
-
body: string;
|
|
117
|
-
};
|
|
118
150
|
export type PhoneRequest = {
|
|
119
151
|
phoneNumber: string;
|
|
120
152
|
};
|
|
@@ -131,14 +163,6 @@ export type UpdateContactDetailsRequest = {
|
|
|
131
163
|
contactMethods?: Array<'WHATSAPP' | 'VIBER' | 'PHONE_CALL'>;
|
|
132
164
|
favoriteContactMethod?: 'WHATSAPP' | 'VIBER' | 'PHONE_CALL';
|
|
133
165
|
nullifyFavoriteContactMethod?: boolean;
|
|
134
|
-
status?: 'NEW' | 'ON_HOLD' | 'COLD' | 'WARM' | 'HOT' | 'WAITING_PAYMENT' | 'LOST' | 'WON';
|
|
135
|
-
priority?: 'CRITICAL' | 'HIGH' | 'MEDIUM' | 'LOW';
|
|
136
|
-
};
|
|
137
|
-
export type ReopenRequest = {
|
|
138
|
-
status?: 'NEW' | 'ON_HOLD' | 'COLD' | 'WARM' | 'HOT' | 'WAITING_PAYMENT' | 'LOST' | 'WON';
|
|
139
|
-
};
|
|
140
|
-
export type RecordLostContactRequest = {
|
|
141
|
-
reason: 'NOT_WORKING_WITH_AGENTS' | 'NOT_RESPONDING' | 'ALREADY_SOLD' | 'COULD_NOT_NEGOTIATE_PRICE' | 'CHOSE_ANOTHER_AGENCY' | 'CHANGED_PLANS' | 'OUT_OF_BUDGET' | 'SPAM' | 'OTHER';
|
|
142
166
|
};
|
|
143
167
|
export type ReassignMemberRequest = {
|
|
144
168
|
memberId: string;
|
|
@@ -147,6 +171,28 @@ export type ContactMergeRequest = {
|
|
|
147
171
|
survivorContactId: number;
|
|
148
172
|
loserContactId: number;
|
|
149
173
|
};
|
|
174
|
+
export type RenameRequest = {
|
|
175
|
+
name: string;
|
|
176
|
+
};
|
|
177
|
+
export type ReorderTaskTemplatesRequest = {
|
|
178
|
+
templateIds: Array<string>;
|
|
179
|
+
};
|
|
180
|
+
export type RecolorStageRequest = {
|
|
181
|
+
color: string;
|
|
182
|
+
};
|
|
183
|
+
export type DeactivateStageRequest = {
|
|
184
|
+
migrateToStageId?: string;
|
|
185
|
+
};
|
|
186
|
+
export type ReorderStagesRequest = {
|
|
187
|
+
stageIds: Array<string>;
|
|
188
|
+
};
|
|
189
|
+
export type SetDealSettingsRequest = {
|
|
190
|
+
defaultBoardId: string;
|
|
191
|
+
/**
|
|
192
|
+
* Active stage of the default board; null = entry stage at use time
|
|
193
|
+
*/
|
|
194
|
+
defaultStageId?: string;
|
|
195
|
+
};
|
|
150
196
|
export type AddressRequest = {
|
|
151
197
|
country: string;
|
|
152
198
|
city: string;
|
|
@@ -289,11 +335,39 @@ export type AuthRequest = {
|
|
|
289
335
|
};
|
|
290
336
|
export type AgencyPrincipalDto = {
|
|
291
337
|
memberId?: string;
|
|
292
|
-
permissions?: Array<'MANAGE_AGENCY' | 'MANAGE_ROLE' | 'MANAGE_MEMBER' | 'CREATE_DELETE_MEMBER' | 'CREATE_CONTACT' | 'DELETE_CONTACT' | 'MANAGE_CONTACT' | 'MANAGE_ANY_CONTACT' | 'ASSIGN_CONTACT'>;
|
|
338
|
+
permissions?: Array<'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'>;
|
|
293
339
|
isActive?: boolean;
|
|
294
340
|
isOwner?: boolean;
|
|
295
341
|
phoneVerified?: boolean;
|
|
296
342
|
};
|
|
343
|
+
export type IdResponseUuid = {
|
|
344
|
+
id: string;
|
|
345
|
+
};
|
|
346
|
+
export type OpenDealRequest = {
|
|
347
|
+
boardId: string;
|
|
348
|
+
/**
|
|
349
|
+
* Target stage; defaults to the board's entry stage
|
|
350
|
+
*/
|
|
351
|
+
stageId?: string;
|
|
352
|
+
title: string;
|
|
353
|
+
contactIds?: Array<number>;
|
|
354
|
+
/**
|
|
355
|
+
* Defaults to the acting member
|
|
356
|
+
*/
|
|
357
|
+
ownerId?: string;
|
|
358
|
+
};
|
|
359
|
+
export type LinkPropertyRequest = {
|
|
360
|
+
contactId: number;
|
|
361
|
+
propertyId: number;
|
|
362
|
+
};
|
|
363
|
+
export type LinkInterestRequest = {
|
|
364
|
+
contactId: number;
|
|
365
|
+
interestId: number;
|
|
366
|
+
};
|
|
367
|
+
export type CreateAdHocTaskRequest = {
|
|
368
|
+
dealId: string;
|
|
369
|
+
title: string;
|
|
370
|
+
};
|
|
297
371
|
export type SendMessageRequest = {
|
|
298
372
|
text: string;
|
|
299
373
|
};
|
|
@@ -307,9 +381,6 @@ export type ProblemDetail = {
|
|
|
307
381
|
[key: string]: unknown;
|
|
308
382
|
};
|
|
309
383
|
};
|
|
310
|
-
export type IdResponseUuid = {
|
|
311
|
-
id: string;
|
|
312
|
-
};
|
|
313
384
|
export type AddDealRequest = {
|
|
314
385
|
type: string;
|
|
315
386
|
};
|
|
@@ -355,7 +426,6 @@ export type OnboardClientRequest = {
|
|
|
355
426
|
phoneNumber: string;
|
|
356
427
|
contactMethods: Array<'WHATSAPP' | 'VIBER' | 'PHONE_CALL'>;
|
|
357
428
|
favoriteContactMethod?: 'WHATSAPP' | 'VIBER' | 'PHONE_CALL';
|
|
358
|
-
priority?: 'CRITICAL' | 'HIGH' | 'MEDIUM' | 'LOW';
|
|
359
429
|
};
|
|
360
430
|
export type IdResponseLong = {
|
|
361
431
|
id: number;
|
|
@@ -374,6 +444,26 @@ export type OnboardFromSourceRequest = {
|
|
|
374
444
|
sourceLink: string;
|
|
375
445
|
phone: string;
|
|
376
446
|
};
|
|
447
|
+
export type CreateBoardRequest = {
|
|
448
|
+
kind?: 'OWNER' | 'SEEKER';
|
|
449
|
+
name: string;
|
|
450
|
+
stages?: Array<StageSpecRequest>;
|
|
451
|
+
};
|
|
452
|
+
export type StageSpecRequest = {
|
|
453
|
+
name: string;
|
|
454
|
+
color: string;
|
|
455
|
+
};
|
|
456
|
+
export type AddStageRequest = {
|
|
457
|
+
name: string;
|
|
458
|
+
color: string;
|
|
459
|
+
};
|
|
460
|
+
export type AddTaskTemplateRequest = {
|
|
461
|
+
title: string;
|
|
462
|
+
/**
|
|
463
|
+
* Also spawn this template onto the open deals currently in the stage
|
|
464
|
+
*/
|
|
465
|
+
applyToDealsInStage: boolean;
|
|
466
|
+
};
|
|
377
467
|
export type ProvisionAgencyRequest = {
|
|
378
468
|
/**
|
|
379
469
|
* The customer's existing user account id
|
|
@@ -414,7 +504,7 @@ export type OrganizationSummaryViewResponse = {
|
|
|
414
504
|
memberId: string;
|
|
415
505
|
profilePictureUrl?: string;
|
|
416
506
|
roleName: string;
|
|
417
|
-
permissions: Array<'MANAGE_AGENCY' | 'MANAGE_ROLE' | 'MANAGE_MEMBER' | 'CREATE_DELETE_MEMBER' | 'CREATE_CONTACT' | 'DELETE_CONTACT' | 'MANAGE_CONTACT' | 'MANAGE_ANY_CONTACT' | 'ASSIGN_CONTACT'>;
|
|
507
|
+
permissions: Array<'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'>;
|
|
418
508
|
status: 'NEW' | 'ACTIVE' | 'PAYMENT_FAILED' | 'INACTIVE' | 'SUSPENDED';
|
|
419
509
|
phone: string;
|
|
420
510
|
isPhoneVerified: boolean;
|
|
@@ -428,6 +518,31 @@ export type UserSummaryViewResponse = {
|
|
|
428
518
|
firstName: string;
|
|
429
519
|
lastName: string;
|
|
430
520
|
};
|
|
521
|
+
export type BoardWinRate = {
|
|
522
|
+
boardId: string;
|
|
523
|
+
name: string;
|
|
524
|
+
won: number;
|
|
525
|
+
lost: number;
|
|
526
|
+
winRatePct: number;
|
|
527
|
+
};
|
|
528
|
+
export type MemberWinRate = {
|
|
529
|
+
memberId: string;
|
|
530
|
+
won: number;
|
|
531
|
+
lost: number;
|
|
532
|
+
winRatePct: number;
|
|
533
|
+
};
|
|
534
|
+
export type StatsEnvelopeWinRateStats = {
|
|
535
|
+
period: string;
|
|
536
|
+
computedAt: Date;
|
|
537
|
+
data: WinRateStats;
|
|
538
|
+
};
|
|
539
|
+
export type WinRateStats = {
|
|
540
|
+
won: number;
|
|
541
|
+
lost: number;
|
|
542
|
+
winRatePct: number;
|
|
543
|
+
boards: Array<BoardWinRate>;
|
|
544
|
+
members: Array<MemberWinRate>;
|
|
545
|
+
};
|
|
431
546
|
export type DealTypePrice = {
|
|
432
547
|
listingType?: 'SALE' | 'RENT' | 'DAILY_RENT' | 'PLEDGE';
|
|
433
548
|
buckets?: Array<Slice>;
|
|
@@ -493,13 +608,9 @@ export type StatsEnvelopePortfolioStats = {
|
|
|
493
608
|
};
|
|
494
609
|
export type PipelineStats = {
|
|
495
610
|
total: number;
|
|
496
|
-
won: number;
|
|
497
|
-
conversionRatePercent: number;
|
|
498
611
|
unassigned: number;
|
|
499
612
|
newContactsTrend: Array<TrendPoint>;
|
|
500
|
-
status: Array<Slice>;
|
|
501
613
|
sourceAttribution: Array<Slice>;
|
|
502
|
-
lostReasons: Array<Slice>;
|
|
503
614
|
};
|
|
504
615
|
export type StatsEnvelopePipelineStats = {
|
|
505
616
|
period: string;
|
|
@@ -518,9 +629,12 @@ export type Row = {
|
|
|
518
629
|
firstName: string;
|
|
519
630
|
lastName: string;
|
|
520
631
|
photo: string;
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
632
|
+
dealsWon: number;
|
|
633
|
+
wonValue: number;
|
|
634
|
+
/**
|
|
635
|
+
* Fixed amount, or rate/factor × deal value (null-value deals skipped)
|
|
636
|
+
*/
|
|
637
|
+
commission: number;
|
|
524
638
|
recommendationsSent: number;
|
|
525
639
|
recommendationsRated: number;
|
|
526
640
|
likeRatePct: number;
|
|
@@ -572,6 +686,47 @@ export type StatsEnvelopeDemandStats = {
|
|
|
572
686
|
computedAt: Date;
|
|
573
687
|
data: DemandStats;
|
|
574
688
|
};
|
|
689
|
+
export type DealVelocityStats = {
|
|
690
|
+
stages: Array<StageVelocity>;
|
|
691
|
+
};
|
|
692
|
+
export type StageVelocity = {
|
|
693
|
+
boardId: string;
|
|
694
|
+
boardName: string;
|
|
695
|
+
stageId: string;
|
|
696
|
+
stageName: string;
|
|
697
|
+
position: number;
|
|
698
|
+
avgDaysInStage: number;
|
|
699
|
+
/**
|
|
700
|
+
* Completed stays measured
|
|
701
|
+
*/
|
|
702
|
+
samples: number;
|
|
703
|
+
};
|
|
704
|
+
export type StatsEnvelopeDealVelocityStats = {
|
|
705
|
+
period: string;
|
|
706
|
+
computedAt: Date;
|
|
707
|
+
data: DealVelocityStats;
|
|
708
|
+
};
|
|
709
|
+
export type BoardFunnel = {
|
|
710
|
+
boardId: string;
|
|
711
|
+
name: string;
|
|
712
|
+
kind?: string;
|
|
713
|
+
stages: Array<StageSlice>;
|
|
714
|
+
};
|
|
715
|
+
export type DealFunnelStats = {
|
|
716
|
+
boards: Array<BoardFunnel>;
|
|
717
|
+
};
|
|
718
|
+
export type StageSlice = {
|
|
719
|
+
stageId: string;
|
|
720
|
+
name: string;
|
|
721
|
+
position: number;
|
|
722
|
+
openDeals: number;
|
|
723
|
+
openValue: number;
|
|
724
|
+
};
|
|
725
|
+
export type StatsEnvelopeDealFunnelStats = {
|
|
726
|
+
period: string;
|
|
727
|
+
computedAt: Date;
|
|
728
|
+
data: DealFunnelStats;
|
|
729
|
+
};
|
|
575
730
|
export type PageMetadata = {
|
|
576
731
|
size?: number;
|
|
577
732
|
number?: number;
|
|
@@ -588,7 +743,7 @@ export type RoleResponse = {
|
|
|
588
743
|
isSystem?: boolean;
|
|
589
744
|
isOwner?: boolean;
|
|
590
745
|
description: string;
|
|
591
|
-
permissions: Array<'MANAGE_AGENCY' | 'MANAGE_ROLE' | 'MANAGE_MEMBER' | 'CREATE_DELETE_MEMBER' | 'CREATE_CONTACT' | 'DELETE_CONTACT' | 'MANAGE_CONTACT' | 'MANAGE_ANY_CONTACT' | 'ASSIGN_CONTACT'>;
|
|
746
|
+
permissions: Array<'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'>;
|
|
592
747
|
};
|
|
593
748
|
export type AddressResponse = {
|
|
594
749
|
region: LocationResponse;
|
|
@@ -676,11 +831,11 @@ export type RecommendationDecisionResponse = {
|
|
|
676
831
|
decision: 'MAYBE' | 'DISLIKE' | 'LIKE';
|
|
677
832
|
};
|
|
678
833
|
export type GroupedPermissionsResponse = {
|
|
679
|
-
group: 'AGENCY' | 'ROLE' | 'MEMBER' | 'CONTACT';
|
|
834
|
+
group: 'AGENCY' | 'ROLE' | 'MEMBER' | 'CONTACT' | 'BOARD' | 'DEAL';
|
|
680
835
|
permissions: Array<PermissionResponse>;
|
|
681
836
|
};
|
|
682
837
|
export type PermissionResponse = {
|
|
683
|
-
permission: 'MANAGE_AGENCY' | 'MANAGE_ROLE' | 'MANAGE_MEMBER' | 'CREATE_DELETE_MEMBER' | 'CREATE_CONTACT' | 'DELETE_CONTACT' | 'MANAGE_CONTACT' | 'MANAGE_ANY_CONTACT' | 'ASSIGN_CONTACT';
|
|
838
|
+
permission: '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';
|
|
684
839
|
};
|
|
685
840
|
export type ListingContactResponseUuid = {
|
|
686
841
|
id: string;
|
|
@@ -830,7 +985,7 @@ export type PropertyPageResponse = {
|
|
|
830
985
|
};
|
|
831
986
|
export type ContactPersonalDetails = unknown;
|
|
832
987
|
export type ContactPersonalDetailsRestricted = {
|
|
833
|
-
requires?: Array<'MANAGE_AGENCY' | 'MANAGE_ROLE' | 'MANAGE_MEMBER' | 'CREATE_DELETE_MEMBER' | 'CREATE_CONTACT' | 'DELETE_CONTACT' | 'MANAGE_CONTACT' | 'MANAGE_ANY_CONTACT' | 'ASSIGN_CONTACT'>;
|
|
988
|
+
requires?: Array<'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'>;
|
|
834
989
|
status: 'RESTRICTED';
|
|
835
990
|
};
|
|
836
991
|
export type ContactPersonalDetailsVisible = {
|
|
@@ -873,6 +1028,17 @@ export type CursorPageNotificationView = {
|
|
|
873
1028
|
nextCursor?: string;
|
|
874
1029
|
hasNext?: boolean;
|
|
875
1030
|
};
|
|
1031
|
+
export type DealCommented = {
|
|
1032
|
+
commentId?: CommentId;
|
|
1033
|
+
dealId?: DealId;
|
|
1034
|
+
authorId?: MemberId;
|
|
1035
|
+
author?: string;
|
|
1036
|
+
commentSnippet?: string;
|
|
1037
|
+
kind: 'DEAL_COMMENTED';
|
|
1038
|
+
};
|
|
1039
|
+
export type DealId = {
|
|
1040
|
+
value?: string;
|
|
1041
|
+
};
|
|
876
1042
|
export type ListingExpired = {
|
|
877
1043
|
contactId?: ContactId;
|
|
878
1044
|
propertyId?: PropertyId;
|
|
@@ -909,9 +1075,9 @@ export type NotificationFeed = {
|
|
|
909
1075
|
export type NotificationView = {
|
|
910
1076
|
id: string;
|
|
911
1077
|
seq: number;
|
|
912
|
-
type: 'AGENT_COMMENTED' | 'EXTERNAL_LISTING_EXPIRED' | 'LISTING_EXPIRED' | 'NEW_SEEKER_RATING' | 'NEW_MESSAGE' | 'CONTACT_ASSIGNED';
|
|
1078
|
+
type: 'AGENT_COMMENTED' | 'DEAL_COMMENTED' | 'EXTERNAL_LISTING_EXPIRED' | 'LISTING_EXPIRED' | 'NEW_SEEKER_RATING' | 'NEW_MESSAGE' | 'CONTACT_ASSIGNED';
|
|
913
1079
|
targetId?: string;
|
|
914
|
-
payload: AgentCommented | ContactAssigned | ListingExpired | NewMessage | NewSeekerRating;
|
|
1080
|
+
payload: AgentCommented | ContactAssigned | DealCommented | ListingExpired | NewMessage | NewSeekerRating;
|
|
915
1081
|
createdAt: Date;
|
|
916
1082
|
read: boolean;
|
|
917
1083
|
};
|
|
@@ -1108,6 +1274,158 @@ export type InboxResponse = {
|
|
|
1108
1274
|
memberLastName?: string;
|
|
1109
1275
|
memberPicture?: string;
|
|
1110
1276
|
};
|
|
1277
|
+
export type CommentView = {
|
|
1278
|
+
id: string;
|
|
1279
|
+
contactId?: number;
|
|
1280
|
+
dealId?: string;
|
|
1281
|
+
authorId: string;
|
|
1282
|
+
authorFirstName: string;
|
|
1283
|
+
authorLastName: string;
|
|
1284
|
+
profilePictureUrl?: string;
|
|
1285
|
+
body: string;
|
|
1286
|
+
createdAt: Date;
|
|
1287
|
+
editedAt?: Date;
|
|
1288
|
+
};
|
|
1289
|
+
export type CursorPageCommentView = {
|
|
1290
|
+
items?: Array<CommentView>;
|
|
1291
|
+
nextCursor?: string;
|
|
1292
|
+
hasNext?: boolean;
|
|
1293
|
+
};
|
|
1294
|
+
export type ContactLink = {
|
|
1295
|
+
contactId: number;
|
|
1296
|
+
primary: boolean;
|
|
1297
|
+
personalDetails: ContactPersonalDetailsRestricted | ContactPersonalDetailsVisible;
|
|
1298
|
+
contactAssignedTo?: string;
|
|
1299
|
+
};
|
|
1300
|
+
export type DealDetailResponse = {
|
|
1301
|
+
dealId: string;
|
|
1302
|
+
boardId: string;
|
|
1303
|
+
boardName: string;
|
|
1304
|
+
stageId: string;
|
|
1305
|
+
stageName: string;
|
|
1306
|
+
stageColor: string;
|
|
1307
|
+
stageEnteredAt: Date;
|
|
1308
|
+
title: string;
|
|
1309
|
+
description?: string;
|
|
1310
|
+
value?: number;
|
|
1311
|
+
commissionType: 'NOT_SET' | 'FIXED' | 'PERCENTAGE' | 'MONTHS_OF_RENT';
|
|
1312
|
+
commissionValue?: number;
|
|
1313
|
+
expectedCloseDate?: Date;
|
|
1314
|
+
ownerId?: string;
|
|
1315
|
+
outcome?: 'WON' | 'LOST';
|
|
1316
|
+
lostReason?: 'NOT_WORKING_WITH_AGENTS' | 'NOT_RESPONDING' | 'ALREADY_SOLD' | 'COULD_NOT_NEGOTIATE_PRICE' | 'CHOSE_ANOTHER_AGENCY' | 'CHANGED_PLANS' | 'OUT_OF_BUDGET' | 'SPAM' | 'OTHER';
|
|
1317
|
+
closedAt?: Date;
|
|
1318
|
+
createdBy?: string;
|
|
1319
|
+
createdAt: Date;
|
|
1320
|
+
contacts: Array<ContactLink>;
|
|
1321
|
+
participants: Array<Participant>;
|
|
1322
|
+
interests: Array<InterestLink>;
|
|
1323
|
+
properties: Array<PropertyLink>;
|
|
1324
|
+
taskGroups: Array<TaskGroup>;
|
|
1325
|
+
timeline: Array<TimelineEntry>;
|
|
1326
|
+
};
|
|
1327
|
+
export type InterestLink = {
|
|
1328
|
+
interestId: number;
|
|
1329
|
+
contactId: number;
|
|
1330
|
+
title?: string;
|
|
1331
|
+
};
|
|
1332
|
+
export type Participant = {
|
|
1333
|
+
memberId: string;
|
|
1334
|
+
firstName?: string;
|
|
1335
|
+
lastName?: string;
|
|
1336
|
+
photo?: string;
|
|
1337
|
+
owner: boolean;
|
|
1338
|
+
};
|
|
1339
|
+
export type PropertyLink = {
|
|
1340
|
+
propertyId: number;
|
|
1341
|
+
contactId: number;
|
|
1342
|
+
title?: string;
|
|
1343
|
+
};
|
|
1344
|
+
export type TaskGroup = {
|
|
1345
|
+
kind: 'CURRENT_STAGE' | 'LEFTOVER' | 'AD_HOC';
|
|
1346
|
+
stageId?: string;
|
|
1347
|
+
stageName?: string;
|
|
1348
|
+
tasks: Array<TaskItem>;
|
|
1349
|
+
};
|
|
1350
|
+
export type TaskItem = {
|
|
1351
|
+
taskId: string;
|
|
1352
|
+
title: string;
|
|
1353
|
+
position: number;
|
|
1354
|
+
fromTemplate: boolean;
|
|
1355
|
+
completedAt?: Date;
|
|
1356
|
+
completedBy?: string;
|
|
1357
|
+
};
|
|
1358
|
+
export type TimelineEntry = {
|
|
1359
|
+
fromStageId?: string;
|
|
1360
|
+
fromStageName?: string;
|
|
1361
|
+
toStageId?: string;
|
|
1362
|
+
toStageName?: string;
|
|
1363
|
+
boardChanged: boolean;
|
|
1364
|
+
outcome?: 'WON' | 'LOST';
|
|
1365
|
+
movedBy?: string;
|
|
1366
|
+
occurredAt: Date;
|
|
1367
|
+
};
|
|
1368
|
+
export type ContactDealResponse = {
|
|
1369
|
+
dealId: string;
|
|
1370
|
+
title: string;
|
|
1371
|
+
boardId: string;
|
|
1372
|
+
boardName: string;
|
|
1373
|
+
stageId: string;
|
|
1374
|
+
stageName: string;
|
|
1375
|
+
outcome?: 'WON' | 'LOST';
|
|
1376
|
+
value?: number;
|
|
1377
|
+
primary: boolean;
|
|
1378
|
+
};
|
|
1379
|
+
export type BoardGridResponse = {
|
|
1380
|
+
boardId: string;
|
|
1381
|
+
name: string;
|
|
1382
|
+
kind?: 'OWNER' | 'SEEKER';
|
|
1383
|
+
archived: boolean;
|
|
1384
|
+
columns: Array<Column>;
|
|
1385
|
+
};
|
|
1386
|
+
export type Card = {
|
|
1387
|
+
dealId: string;
|
|
1388
|
+
title: string;
|
|
1389
|
+
value?: number;
|
|
1390
|
+
ownerId?: string;
|
|
1391
|
+
primaryContactId?: number;
|
|
1392
|
+
primaryContact?: ContactPersonalDetailsRestricted | ContactPersonalDetailsVisible;
|
|
1393
|
+
contactAssignedTo?: string;
|
|
1394
|
+
stageEnteredAt: Date;
|
|
1395
|
+
daysInStage: number;
|
|
1396
|
+
openTasks: number;
|
|
1397
|
+
totalTasks: number;
|
|
1398
|
+
hasLeftoverOpenTasks: boolean;
|
|
1399
|
+
};
|
|
1400
|
+
export type Column = {
|
|
1401
|
+
stageId: string;
|
|
1402
|
+
name: string;
|
|
1403
|
+
color: string;
|
|
1404
|
+
position: number;
|
|
1405
|
+
totalDeals: number;
|
|
1406
|
+
totalValue: number;
|
|
1407
|
+
cards: Array<Card>;
|
|
1408
|
+
};
|
|
1409
|
+
export type ClosedDealResponse = {
|
|
1410
|
+
dealId: string;
|
|
1411
|
+
title: string;
|
|
1412
|
+
value?: number;
|
|
1413
|
+
ownerId?: string;
|
|
1414
|
+
primaryContactId?: number;
|
|
1415
|
+
primaryContact?: ContactPersonalDetailsRestricted | ContactPersonalDetailsVisible;
|
|
1416
|
+
contactAssignedTo?: string;
|
|
1417
|
+
outcome: 'WON' | 'LOST';
|
|
1418
|
+
lostReason?: 'NOT_WORKING_WITH_AGENTS' | 'NOT_RESPONDING' | 'ALREADY_SOLD' | 'COULD_NOT_NEGOTIATE_PRICE' | 'CHOSE_ANOTHER_AGENCY' | 'CHANGED_PLANS' | 'OUT_OF_BUDGET' | 'SPAM' | 'OTHER';
|
|
1419
|
+
closedAt: Date;
|
|
1420
|
+
/**
|
|
1421
|
+
* Stage the deal closed from
|
|
1422
|
+
*/
|
|
1423
|
+
stageName: string;
|
|
1424
|
+
};
|
|
1425
|
+
export type PagedModelClosedDealResponse = {
|
|
1426
|
+
content?: Array<ClosedDealResponse>;
|
|
1427
|
+
page?: PageMetadata;
|
|
1428
|
+
};
|
|
1111
1429
|
export type Image = {
|
|
1112
1430
|
urls?: Array<string>;
|
|
1113
1431
|
kind: 'IMAGE';
|
|
@@ -1151,29 +1469,11 @@ export type CursorPageMessageView = {
|
|
|
1151
1469
|
nextCursor?: string;
|
|
1152
1470
|
hasNext?: boolean;
|
|
1153
1471
|
};
|
|
1154
|
-
export type CommentView = {
|
|
1155
|
-
id: string;
|
|
1156
|
-
contactId: number;
|
|
1157
|
-
authorId: string;
|
|
1158
|
-
authorFirstName: string;
|
|
1159
|
-
authorLastName: string;
|
|
1160
|
-
profilePictureUrl?: string;
|
|
1161
|
-
body: string;
|
|
1162
|
-
createdAt: Date;
|
|
1163
|
-
editedAt?: Date;
|
|
1164
|
-
};
|
|
1165
|
-
export type CursorPageCommentView = {
|
|
1166
|
-
items?: Array<CommentView>;
|
|
1167
|
-
nextCursor?: string;
|
|
1168
|
-
hasNext?: boolean;
|
|
1169
|
-
};
|
|
1170
1472
|
export type ContactGridResponse = {
|
|
1171
1473
|
id: number;
|
|
1172
1474
|
createdBy?: string;
|
|
1173
1475
|
assignedTo?: AssignedToResponse;
|
|
1174
1476
|
title?: string;
|
|
1175
|
-
status: 'NEW' | 'ON_HOLD' | 'COLD' | 'WARM' | 'HOT' | 'WAITING_PAYMENT' | 'LOST' | 'WON';
|
|
1176
|
-
priority?: 'CRITICAL' | 'HIGH' | 'MEDIUM' | 'LOW';
|
|
1177
1477
|
personalDetails: ContactPersonalDetailsRestricted | ContactPersonalDetailsVisible;
|
|
1178
1478
|
gender?: 'MALE' | 'FEMALE' | 'UNKNOWN';
|
|
1179
1479
|
sourceType?: 'MY_HOME' | 'SS' | 'HOME_SPOT' | 'AGENCY_MEMBER' | 'FACEBOOK' | 'INSTAGRAM' | 'WHATSAPP' | 'UNKNOWN';
|
|
@@ -1205,12 +1505,11 @@ export type Client360Response = {
|
|
|
1205
1505
|
communicationPreference?: CommunicationPreferenceResponse;
|
|
1206
1506
|
isSearching: boolean;
|
|
1207
1507
|
isListing: boolean;
|
|
1208
|
-
priority: 'CRITICAL' | 'HIGH' | 'MEDIUM' | 'LOW';
|
|
1209
|
-
status: 'NEW' | 'ON_HOLD' | 'COLD' | 'WARM' | 'HOT' | 'WAITING_PAYMENT' | 'LOST' | 'WON';
|
|
1210
1508
|
createdAt: Date;
|
|
1211
1509
|
updatedAt: Date;
|
|
1212
1510
|
interests: Array<ContactInterestResponse>;
|
|
1213
1511
|
properties: Array<ContactPropertyResponse>;
|
|
1512
|
+
deals: Array<ContactDealResponse>;
|
|
1214
1513
|
};
|
|
1215
1514
|
export type CommunicationPreferenceResponse = {
|
|
1216
1515
|
preferredContactMethod?: 'WHATSAPP' | 'VIBER' | 'PHONE_CALL';
|
|
@@ -1218,7 +1517,7 @@ export type CommunicationPreferenceResponse = {
|
|
|
1218
1517
|
};
|
|
1219
1518
|
export type ContactInfoResponse = unknown;
|
|
1220
1519
|
export type ContactInfoRestricted = {
|
|
1221
|
-
requires?: Array<'MANAGE_AGENCY' | 'MANAGE_ROLE' | 'MANAGE_MEMBER' | 'CREATE_DELETE_MEMBER' | 'CREATE_CONTACT' | 'DELETE_CONTACT' | 'MANAGE_CONTACT' | 'MANAGE_ANY_CONTACT' | 'ASSIGN_CONTACT'>;
|
|
1520
|
+
requires?: Array<'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'>;
|
|
1222
1521
|
status: 'RESTRICTED';
|
|
1223
1522
|
};
|
|
1224
1523
|
export type ContactInfoVisible = {
|
|
@@ -1260,7 +1559,6 @@ export type AssignedAgent = {
|
|
|
1260
1559
|
};
|
|
1261
1560
|
export type DuplicateContactInfo = {
|
|
1262
1561
|
contactId: number;
|
|
1263
|
-
isActive: boolean;
|
|
1264
1562
|
firstName?: string;
|
|
1265
1563
|
lastName?: string;
|
|
1266
1564
|
gender?: 'MALE' | 'FEMALE' | 'UNKNOWN';
|
|
@@ -1274,54 +1572,30 @@ export type PhoneDuplicateCheckResponse = {
|
|
|
1274
1572
|
policy: 'ALLOW' | 'WARN' | 'PREVENT';
|
|
1275
1573
|
matches: Array<DuplicateContactInfo>;
|
|
1276
1574
|
};
|
|
1277
|
-
export type
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
updatedAt: Date;
|
|
1285
|
-
preview?: InterestPreview | PropertyPreview;
|
|
1286
|
-
};
|
|
1287
|
-
export type Column = {
|
|
1288
|
-
status: 'NEW' | 'ON_HOLD' | 'COLD' | 'WARM' | 'HOT' | 'WAITING_PAYMENT' | 'LOST' | 'WON';
|
|
1289
|
-
totalCommission: number;
|
|
1290
|
-
totalContacts: number;
|
|
1291
|
-
cards: CursorPageCard;
|
|
1292
|
-
};
|
|
1293
|
-
export type ContactKanbanResponse = {
|
|
1294
|
-
columns: Array<Column>;
|
|
1295
|
-
};
|
|
1296
|
-
export type CursorPageCard = {
|
|
1297
|
-
items?: Array<Card>;
|
|
1298
|
-
nextCursor?: string;
|
|
1299
|
-
hasNext?: boolean;
|
|
1300
|
-
};
|
|
1301
|
-
export type InterestPreview = Omit<Preview, 'type'> & {
|
|
1302
|
-
interestId: number;
|
|
1303
|
-
listingType: 'SALE' | 'RENT' | 'DAILY_RENT' | 'PLEDGE';
|
|
1304
|
-
propertyTypes: Array<'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'>;
|
|
1305
|
-
budget?: RangeBigDecimal;
|
|
1306
|
-
primaryLocation?: LocationResponse;
|
|
1307
|
-
recommendationCount: number;
|
|
1308
|
-
type: 'INTEREST';
|
|
1575
|
+
export type BoardResponse = {
|
|
1576
|
+
boardId: string;
|
|
1577
|
+
kind?: 'OWNER' | 'SEEKER';
|
|
1578
|
+
name: string;
|
|
1579
|
+
archived: boolean;
|
|
1580
|
+
stages: Array<StageResponse>;
|
|
1581
|
+
createdAt: Date;
|
|
1309
1582
|
};
|
|
1310
|
-
export type
|
|
1311
|
-
|
|
1312
|
-
|
|
1583
|
+
export type StageResponse = {
|
|
1584
|
+
stageId: string;
|
|
1585
|
+
name: string;
|
|
1586
|
+
color: string;
|
|
1587
|
+
position: number;
|
|
1588
|
+
active: boolean;
|
|
1589
|
+
taskTemplates: Array<TaskTemplateResponse>;
|
|
1313
1590
|
};
|
|
1314
|
-
export type
|
|
1315
|
-
|
|
1591
|
+
export type TaskTemplateResponse = {
|
|
1592
|
+
templateId: string;
|
|
1593
|
+
title: string;
|
|
1594
|
+
position: number;
|
|
1316
1595
|
};
|
|
1317
|
-
export type
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
state: 'IN_REGISTRATION' | 'UNLISTED' | 'LISTED_INTERNALLY' | 'LISTED' | 'CLOSED';
|
|
1321
|
-
title?: string;
|
|
1322
|
-
coverUrl?: string;
|
|
1323
|
-
listingTypes: Array<ListingTypePrice>;
|
|
1324
|
-
type: 'PROPERTY';
|
|
1596
|
+
export type DealSettingsResponse = {
|
|
1597
|
+
defaultBoardId?: string;
|
|
1598
|
+
defaultStageId?: string;
|
|
1325
1599
|
};
|
|
1326
1600
|
export type AddressViewResponse = {
|
|
1327
1601
|
country: string;
|
|
@@ -1634,62 +1908,319 @@ export type PutMeetingsByMeetingIdCancelResponses = {
|
|
|
1634
1908
|
204: void;
|
|
1635
1909
|
};
|
|
1636
1910
|
export type PutMeetingsByMeetingIdCancelResponse = PutMeetingsByMeetingIdCancelResponses[keyof PutMeetingsByMeetingIdCancelResponses];
|
|
1637
|
-
export type
|
|
1638
|
-
body
|
|
1911
|
+
export type DeleteDealsByDealIdCommentsByCommentIdData = {
|
|
1912
|
+
body?: never;
|
|
1639
1913
|
path: {
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
listingId: number;
|
|
1914
|
+
dealId: string;
|
|
1915
|
+
commentId: string;
|
|
1643
1916
|
};
|
|
1644
1917
|
query?: never;
|
|
1645
|
-
url: '/
|
|
1918
|
+
url: '/deals/{dealId}/comments/{commentId}';
|
|
1646
1919
|
};
|
|
1647
|
-
export type
|
|
1920
|
+
export type DeleteDealsByDealIdCommentsByCommentIdResponses = {
|
|
1648
1921
|
/**
|
|
1649
|
-
*
|
|
1922
|
+
* OK
|
|
1650
1923
|
*/
|
|
1651
|
-
|
|
1924
|
+
200: unknown;
|
|
1652
1925
|
};
|
|
1653
|
-
export type
|
|
1654
|
-
|
|
1655
|
-
body: AgreementRequest;
|
|
1926
|
+
export type PutDealsByDealIdCommentsByCommentIdData = {
|
|
1927
|
+
body: CommentBodyRequest;
|
|
1656
1928
|
path: {
|
|
1657
|
-
|
|
1658
|
-
|
|
1929
|
+
dealId: string;
|
|
1930
|
+
commentId: string;
|
|
1659
1931
|
};
|
|
1660
1932
|
query?: never;
|
|
1661
|
-
url: '/
|
|
1933
|
+
url: '/deals/{dealId}/comments/{commentId}';
|
|
1662
1934
|
};
|
|
1663
|
-
export type
|
|
1935
|
+
export type PutDealsByDealIdCommentsByCommentIdResponses = {
|
|
1664
1936
|
/**
|
|
1665
1937
|
* OK
|
|
1666
1938
|
*/
|
|
1667
1939
|
200: unknown;
|
|
1668
1940
|
};
|
|
1669
|
-
export type
|
|
1941
|
+
export type PutDealByDealIdWonData = {
|
|
1670
1942
|
body?: never;
|
|
1671
1943
|
path: {
|
|
1672
|
-
|
|
1673
|
-
interestId: number;
|
|
1944
|
+
dealId: string;
|
|
1674
1945
|
};
|
|
1675
1946
|
query?: never;
|
|
1676
|
-
url: '/
|
|
1947
|
+
url: '/deal/{dealId}/won';
|
|
1677
1948
|
};
|
|
1678
|
-
export type
|
|
1949
|
+
export type PutDealByDealIdWonResponses = {
|
|
1679
1950
|
/**
|
|
1680
1951
|
* No Content
|
|
1681
1952
|
*/
|
|
1682
1953
|
204: void;
|
|
1683
1954
|
};
|
|
1684
|
-
export type
|
|
1685
|
-
export type
|
|
1955
|
+
export type PutDealByDealIdWonResponse = PutDealByDealIdWonResponses[keyof PutDealByDealIdWonResponses];
|
|
1956
|
+
export type PutDealByDealIdValueData = {
|
|
1957
|
+
body: SetDealValueRequest;
|
|
1958
|
+
path: {
|
|
1959
|
+
dealId: string;
|
|
1960
|
+
};
|
|
1961
|
+
query?: never;
|
|
1962
|
+
url: '/deal/{dealId}/value';
|
|
1963
|
+
};
|
|
1964
|
+
export type PutDealByDealIdValueResponses = {
|
|
1965
|
+
/**
|
|
1966
|
+
* No Content
|
|
1967
|
+
*/
|
|
1968
|
+
204: void;
|
|
1969
|
+
};
|
|
1970
|
+
export type PutDealByDealIdValueResponse = PutDealByDealIdValueResponses[keyof PutDealByDealIdValueResponses];
|
|
1971
|
+
export type PutDealByDealIdTransferData = {
|
|
1972
|
+
body: TransferDealRequest;
|
|
1973
|
+
path: {
|
|
1974
|
+
dealId: string;
|
|
1975
|
+
};
|
|
1976
|
+
query?: never;
|
|
1977
|
+
url: '/deal/{dealId}/transfer';
|
|
1978
|
+
};
|
|
1979
|
+
export type PutDealByDealIdTransferResponses = {
|
|
1980
|
+
/**
|
|
1981
|
+
* No Content
|
|
1982
|
+
*/
|
|
1983
|
+
204: void;
|
|
1984
|
+
};
|
|
1985
|
+
export type PutDealByDealIdTransferResponse = PutDealByDealIdTransferResponses[keyof PutDealByDealIdTransferResponses];
|
|
1986
|
+
export type PutDealByDealIdReopenData = {
|
|
1686
1987
|
body?: never;
|
|
1687
1988
|
path: {
|
|
1688
|
-
|
|
1689
|
-
interestId: number;
|
|
1989
|
+
dealId: string;
|
|
1690
1990
|
};
|
|
1691
|
-
query?:
|
|
1692
|
-
|
|
1991
|
+
query?: never;
|
|
1992
|
+
url: '/deal/{dealId}/reopen';
|
|
1993
|
+
};
|
|
1994
|
+
export type PutDealByDealIdReopenResponses = {
|
|
1995
|
+
/**
|
|
1996
|
+
* No Content
|
|
1997
|
+
*/
|
|
1998
|
+
204: void;
|
|
1999
|
+
};
|
|
2000
|
+
export type PutDealByDealIdReopenResponse = PutDealByDealIdReopenResponses[keyof PutDealByDealIdReopenResponses];
|
|
2001
|
+
export type PutDealByDealIdRenameData = {
|
|
2002
|
+
body: RenameDealRequest;
|
|
2003
|
+
path: {
|
|
2004
|
+
dealId: string;
|
|
2005
|
+
};
|
|
2006
|
+
query?: never;
|
|
2007
|
+
url: '/deal/{dealId}/rename';
|
|
2008
|
+
};
|
|
2009
|
+
export type PutDealByDealIdRenameResponses = {
|
|
2010
|
+
/**
|
|
2011
|
+
* No Content
|
|
2012
|
+
*/
|
|
2013
|
+
204: void;
|
|
2014
|
+
};
|
|
2015
|
+
export type PutDealByDealIdRenameResponse = PutDealByDealIdRenameResponses[keyof PutDealByDealIdRenameResponses];
|
|
2016
|
+
export type PutDealByDealIdOwnerByMemberIdData = {
|
|
2017
|
+
body?: never;
|
|
2018
|
+
path: {
|
|
2019
|
+
dealId: string;
|
|
2020
|
+
memberId: string;
|
|
2021
|
+
};
|
|
2022
|
+
query?: never;
|
|
2023
|
+
url: '/deal/{dealId}/owner/{memberId}';
|
|
2024
|
+
};
|
|
2025
|
+
export type PutDealByDealIdOwnerByMemberIdResponses = {
|
|
2026
|
+
/**
|
|
2027
|
+
* No Content
|
|
2028
|
+
*/
|
|
2029
|
+
204: void;
|
|
2030
|
+
};
|
|
2031
|
+
export type PutDealByDealIdOwnerByMemberIdResponse = PutDealByDealIdOwnerByMemberIdResponses[keyof PutDealByDealIdOwnerByMemberIdResponses];
|
|
2032
|
+
export type PutDealByDealIdMoveData = {
|
|
2033
|
+
body: MoveDealRequest;
|
|
2034
|
+
path: {
|
|
2035
|
+
dealId: string;
|
|
2036
|
+
};
|
|
2037
|
+
query?: never;
|
|
2038
|
+
url: '/deal/{dealId}/move';
|
|
2039
|
+
};
|
|
2040
|
+
export type PutDealByDealIdMoveResponses = {
|
|
2041
|
+
/**
|
|
2042
|
+
* No Content
|
|
2043
|
+
*/
|
|
2044
|
+
204: void;
|
|
2045
|
+
};
|
|
2046
|
+
export type PutDealByDealIdMoveResponse = PutDealByDealIdMoveResponses[keyof PutDealByDealIdMoveResponses];
|
|
2047
|
+
export type PutDealByDealIdLostData = {
|
|
2048
|
+
body: MarkDealLostRequest;
|
|
2049
|
+
path: {
|
|
2050
|
+
dealId: string;
|
|
2051
|
+
};
|
|
2052
|
+
query?: never;
|
|
2053
|
+
url: '/deal/{dealId}/lost';
|
|
2054
|
+
};
|
|
2055
|
+
export type PutDealByDealIdLostResponses = {
|
|
2056
|
+
/**
|
|
2057
|
+
* No Content
|
|
2058
|
+
*/
|
|
2059
|
+
204: void;
|
|
2060
|
+
};
|
|
2061
|
+
export type PutDealByDealIdLostResponse = PutDealByDealIdLostResponses[keyof PutDealByDealIdLostResponses];
|
|
2062
|
+
export type PutDealByDealIdExpectedCloseDateData = {
|
|
2063
|
+
body: SetExpectedCloseDateRequest;
|
|
2064
|
+
path: {
|
|
2065
|
+
dealId: string;
|
|
2066
|
+
};
|
|
2067
|
+
query?: never;
|
|
2068
|
+
url: '/deal/{dealId}/expected-close-date';
|
|
2069
|
+
};
|
|
2070
|
+
export type PutDealByDealIdExpectedCloseDateResponses = {
|
|
2071
|
+
/**
|
|
2072
|
+
* No Content
|
|
2073
|
+
*/
|
|
2074
|
+
204: void;
|
|
2075
|
+
};
|
|
2076
|
+
export type PutDealByDealIdExpectedCloseDateResponse = PutDealByDealIdExpectedCloseDateResponses[keyof PutDealByDealIdExpectedCloseDateResponses];
|
|
2077
|
+
export type PutDealByDealIdDescriptionData = {
|
|
2078
|
+
body: DescribeDealRequest;
|
|
2079
|
+
path: {
|
|
2080
|
+
dealId: string;
|
|
2081
|
+
};
|
|
2082
|
+
query?: never;
|
|
2083
|
+
url: '/deal/{dealId}/description';
|
|
2084
|
+
};
|
|
2085
|
+
export type PutDealByDealIdDescriptionResponses = {
|
|
2086
|
+
/**
|
|
2087
|
+
* No Content
|
|
2088
|
+
*/
|
|
2089
|
+
204: void;
|
|
2090
|
+
};
|
|
2091
|
+
export type PutDealByDealIdDescriptionResponse = PutDealByDealIdDescriptionResponses[keyof PutDealByDealIdDescriptionResponses];
|
|
2092
|
+
export type PutDealByDealIdContactByContactIdPrimaryData = {
|
|
2093
|
+
body?: never;
|
|
2094
|
+
path: {
|
|
2095
|
+
dealId: string;
|
|
2096
|
+
contactId: number;
|
|
2097
|
+
};
|
|
2098
|
+
query?: never;
|
|
2099
|
+
url: '/deal/{dealId}/contact/{contactId}/primary';
|
|
2100
|
+
};
|
|
2101
|
+
export type PutDealByDealIdContactByContactIdPrimaryResponses = {
|
|
2102
|
+
/**
|
|
2103
|
+
* No Content
|
|
2104
|
+
*/
|
|
2105
|
+
204: void;
|
|
2106
|
+
};
|
|
2107
|
+
export type PutDealByDealIdContactByContactIdPrimaryResponse = PutDealByDealIdContactByContactIdPrimaryResponses[keyof PutDealByDealIdContactByContactIdPrimaryResponses];
|
|
2108
|
+
export type PutDealByDealIdCommissionData = {
|
|
2109
|
+
body: SetDealCommissionRequest;
|
|
2110
|
+
path: {
|
|
2111
|
+
dealId: string;
|
|
2112
|
+
};
|
|
2113
|
+
query?: never;
|
|
2114
|
+
url: '/deal/{dealId}/commission';
|
|
2115
|
+
};
|
|
2116
|
+
export type PutDealByDealIdCommissionResponses = {
|
|
2117
|
+
/**
|
|
2118
|
+
* No Content
|
|
2119
|
+
*/
|
|
2120
|
+
204: void;
|
|
2121
|
+
};
|
|
2122
|
+
export type PutDealByDealIdCommissionResponse = PutDealByDealIdCommissionResponses[keyof PutDealByDealIdCommissionResponses];
|
|
2123
|
+
export type PutDealTaskByTaskIdReopenData = {
|
|
2124
|
+
body?: never;
|
|
2125
|
+
path: {
|
|
2126
|
+
taskId: string;
|
|
2127
|
+
};
|
|
2128
|
+
query?: never;
|
|
2129
|
+
url: '/deal-task/{taskId}/reopen';
|
|
2130
|
+
};
|
|
2131
|
+
export type PutDealTaskByTaskIdReopenResponses = {
|
|
2132
|
+
/**
|
|
2133
|
+
* No Content
|
|
2134
|
+
*/
|
|
2135
|
+
204: void;
|
|
2136
|
+
};
|
|
2137
|
+
export type PutDealTaskByTaskIdReopenResponse = PutDealTaskByTaskIdReopenResponses[keyof PutDealTaskByTaskIdReopenResponses];
|
|
2138
|
+
export type PutDealTaskByTaskIdRenameData = {
|
|
2139
|
+
body: RenameTaskRequest;
|
|
2140
|
+
path: {
|
|
2141
|
+
taskId: string;
|
|
2142
|
+
};
|
|
2143
|
+
query?: never;
|
|
2144
|
+
url: '/deal-task/{taskId}/rename';
|
|
2145
|
+
};
|
|
2146
|
+
export type PutDealTaskByTaskIdRenameResponses = {
|
|
2147
|
+
/**
|
|
2148
|
+
* No Content
|
|
2149
|
+
*/
|
|
2150
|
+
204: void;
|
|
2151
|
+
};
|
|
2152
|
+
export type PutDealTaskByTaskIdRenameResponse = PutDealTaskByTaskIdRenameResponses[keyof PutDealTaskByTaskIdRenameResponses];
|
|
2153
|
+
export type PutDealTaskByTaskIdCompleteData = {
|
|
2154
|
+
body?: never;
|
|
2155
|
+
path: {
|
|
2156
|
+
taskId: string;
|
|
2157
|
+
};
|
|
2158
|
+
query?: never;
|
|
2159
|
+
url: '/deal-task/{taskId}/complete';
|
|
2160
|
+
};
|
|
2161
|
+
export type PutDealTaskByTaskIdCompleteResponses = {
|
|
2162
|
+
/**
|
|
2163
|
+
* No Content
|
|
2164
|
+
*/
|
|
2165
|
+
204: void;
|
|
2166
|
+
};
|
|
2167
|
+
export type PutDealTaskByTaskIdCompleteResponse = PutDealTaskByTaskIdCompleteResponses[keyof PutDealTaskByTaskIdCompleteResponses];
|
|
2168
|
+
export type PutContactsByContactIdPropertiesByPropertyIdListingsByListingIdPriceData = {
|
|
2169
|
+
body: UpdateListingPriceRequest;
|
|
2170
|
+
path: {
|
|
2171
|
+
contactId: number;
|
|
2172
|
+
propertyId: number;
|
|
2173
|
+
listingId: number;
|
|
2174
|
+
};
|
|
2175
|
+
query?: never;
|
|
2176
|
+
url: '/contacts/{contactId}/properties/{propertyId}/listings/{listingId}/price';
|
|
2177
|
+
};
|
|
2178
|
+
export type PutContactsByContactIdPropertiesByPropertyIdListingsByListingIdPriceResponses = {
|
|
2179
|
+
/**
|
|
2180
|
+
* No Content
|
|
2181
|
+
*/
|
|
2182
|
+
204: void;
|
|
2183
|
+
};
|
|
2184
|
+
export type PutContactsByContactIdPropertiesByPropertyIdListingsByListingIdPriceResponse = PutContactsByContactIdPropertiesByPropertyIdListingsByListingIdPriceResponses[keyof PutContactsByContactIdPropertiesByPropertyIdListingsByListingIdPriceResponses];
|
|
2185
|
+
export type PutContactsByContactIdPropertiesByPropertyIdAgreementData = {
|
|
2186
|
+
body: AgreementRequest;
|
|
2187
|
+
path: {
|
|
2188
|
+
contactId: number;
|
|
2189
|
+
propertyId: number;
|
|
2190
|
+
};
|
|
2191
|
+
query?: never;
|
|
2192
|
+
url: '/contacts/{contactId}/properties/{propertyId}/agreement';
|
|
2193
|
+
};
|
|
2194
|
+
export type PutContactsByContactIdPropertiesByPropertyIdAgreementResponses = {
|
|
2195
|
+
/**
|
|
2196
|
+
* OK
|
|
2197
|
+
*/
|
|
2198
|
+
200: unknown;
|
|
2199
|
+
};
|
|
2200
|
+
export type DeleteContactsByContactIdInterestsByInterestIdData = {
|
|
2201
|
+
body?: never;
|
|
2202
|
+
path: {
|
|
2203
|
+
contactId: number;
|
|
2204
|
+
interestId: number;
|
|
2205
|
+
};
|
|
2206
|
+
query?: never;
|
|
2207
|
+
url: '/contacts/{contactId}/interests/{interestId}';
|
|
2208
|
+
};
|
|
2209
|
+
export type DeleteContactsByContactIdInterestsByInterestIdResponses = {
|
|
2210
|
+
/**
|
|
2211
|
+
* No Content
|
|
2212
|
+
*/
|
|
2213
|
+
204: void;
|
|
2214
|
+
};
|
|
2215
|
+
export type DeleteContactsByContactIdInterestsByInterestIdResponse = DeleteContactsByContactIdInterestsByInterestIdResponses[keyof DeleteContactsByContactIdInterestsByInterestIdResponses];
|
|
2216
|
+
export type GetContactsByContactIdInterestsByInterestIdData = {
|
|
2217
|
+
body?: never;
|
|
2218
|
+
path: {
|
|
2219
|
+
contactId: number;
|
|
2220
|
+
interestId: number;
|
|
2221
|
+
};
|
|
2222
|
+
query?: {
|
|
2223
|
+
decision?: 'MAYBE' | 'DISLIKE' | 'LIKE';
|
|
1693
2224
|
swLat?: number;
|
|
1694
2225
|
swLng?: number;
|
|
1695
2226
|
neLat?: number;
|
|
@@ -1904,94 +2435,217 @@ export type PutContactByContactIdUpdateContactDetailsResponses = {
|
|
|
1904
2435
|
204: void;
|
|
1905
2436
|
};
|
|
1906
2437
|
export type PutContactByContactIdUpdateContactDetailsResponse = PutContactByContactIdUpdateContactDetailsResponses[keyof PutContactByContactIdUpdateContactDetailsResponses];
|
|
1907
|
-
export type
|
|
1908
|
-
body:
|
|
2438
|
+
export type PutContactByContactIdAssignmentData = {
|
|
2439
|
+
body: ReassignMemberRequest;
|
|
1909
2440
|
path: {
|
|
1910
2441
|
contactId: number;
|
|
1911
2442
|
};
|
|
1912
2443
|
query?: never;
|
|
1913
|
-
url: '/contact/{contactId}/
|
|
2444
|
+
url: '/contact/{contactId}/assignment';
|
|
1914
2445
|
};
|
|
1915
|
-
export type
|
|
2446
|
+
export type PutContactByContactIdAssignmentResponses = {
|
|
1916
2447
|
/**
|
|
1917
2448
|
* No Content
|
|
1918
2449
|
*/
|
|
1919
2450
|
204: void;
|
|
1920
2451
|
};
|
|
1921
|
-
export type
|
|
1922
|
-
export type
|
|
1923
|
-
body:
|
|
2452
|
+
export type PutContactByContactIdAssignmentResponse = PutContactByContactIdAssignmentResponses[keyof PutContactByContactIdAssignmentResponses];
|
|
2453
|
+
export type PutContactMergeData = {
|
|
2454
|
+
body: ContactMergeRequest;
|
|
2455
|
+
path?: never;
|
|
2456
|
+
query?: never;
|
|
2457
|
+
url: '/contact/merge';
|
|
2458
|
+
};
|
|
2459
|
+
export type PutContactMergeResponses = {
|
|
2460
|
+
/**
|
|
2461
|
+
* No Content
|
|
2462
|
+
*/
|
|
2463
|
+
204: void;
|
|
2464
|
+
};
|
|
2465
|
+
export type PutContactMergeResponse = PutContactMergeResponses[keyof PutContactMergeResponses];
|
|
2466
|
+
export type PutBoardByBoardIdUnarchiveData = {
|
|
2467
|
+
body?: never;
|
|
1924
2468
|
path: {
|
|
1925
|
-
|
|
2469
|
+
boardId: string;
|
|
1926
2470
|
};
|
|
1927
2471
|
query?: never;
|
|
1928
|
-
url: '/
|
|
2472
|
+
url: '/board/{boardId}/unarchive';
|
|
1929
2473
|
};
|
|
1930
|
-
export type
|
|
2474
|
+
export type PutBoardByBoardIdUnarchiveResponses = {
|
|
1931
2475
|
/**
|
|
1932
2476
|
* No Content
|
|
1933
2477
|
*/
|
|
1934
2478
|
204: void;
|
|
1935
2479
|
};
|
|
1936
|
-
export type
|
|
1937
|
-
export type
|
|
2480
|
+
export type PutBoardByBoardIdUnarchiveResponse = PutBoardByBoardIdUnarchiveResponses[keyof PutBoardByBoardIdUnarchiveResponses];
|
|
2481
|
+
export type PutBoardByBoardIdStageByStageIdTemplateByTemplateIdRenameData = {
|
|
2482
|
+
body: RenameRequest;
|
|
2483
|
+
path: {
|
|
2484
|
+
boardId: string;
|
|
2485
|
+
stageId: string;
|
|
2486
|
+
templateId: string;
|
|
2487
|
+
};
|
|
2488
|
+
query?: never;
|
|
2489
|
+
url: '/board/{boardId}/stage/{stageId}/template/{templateId}/rename';
|
|
2490
|
+
};
|
|
2491
|
+
export type PutBoardByBoardIdStageByStageIdTemplateByTemplateIdRenameResponses = {
|
|
2492
|
+
/**
|
|
2493
|
+
* No Content
|
|
2494
|
+
*/
|
|
2495
|
+
204: void;
|
|
2496
|
+
};
|
|
2497
|
+
export type PutBoardByBoardIdStageByStageIdTemplateByTemplateIdRenameResponse = PutBoardByBoardIdStageByStageIdTemplateByTemplateIdRenameResponses[keyof PutBoardByBoardIdStageByStageIdTemplateByTemplateIdRenameResponses];
|
|
2498
|
+
export type PutBoardByBoardIdStageByStageIdTemplateOrderData = {
|
|
2499
|
+
body: ReorderTaskTemplatesRequest;
|
|
2500
|
+
path: {
|
|
2501
|
+
boardId: string;
|
|
2502
|
+
stageId: string;
|
|
2503
|
+
};
|
|
2504
|
+
query?: never;
|
|
2505
|
+
url: '/board/{boardId}/stage/{stageId}/template-order';
|
|
2506
|
+
};
|
|
2507
|
+
export type PutBoardByBoardIdStageByStageIdTemplateOrderResponses = {
|
|
2508
|
+
/**
|
|
2509
|
+
* No Content
|
|
2510
|
+
*/
|
|
2511
|
+
204: void;
|
|
2512
|
+
};
|
|
2513
|
+
export type PutBoardByBoardIdStageByStageIdTemplateOrderResponse = PutBoardByBoardIdStageByStageIdTemplateOrderResponses[keyof PutBoardByBoardIdStageByStageIdTemplateOrderResponses];
|
|
2514
|
+
export type PutBoardByBoardIdStageByStageIdRenameData = {
|
|
2515
|
+
body: RenameRequest;
|
|
2516
|
+
path: {
|
|
2517
|
+
boardId: string;
|
|
2518
|
+
stageId: string;
|
|
2519
|
+
};
|
|
2520
|
+
query?: never;
|
|
2521
|
+
url: '/board/{boardId}/stage/{stageId}/rename';
|
|
2522
|
+
};
|
|
2523
|
+
export type PutBoardByBoardIdStageByStageIdRenameResponses = {
|
|
2524
|
+
/**
|
|
2525
|
+
* No Content
|
|
2526
|
+
*/
|
|
2527
|
+
204: void;
|
|
2528
|
+
};
|
|
2529
|
+
export type PutBoardByBoardIdStageByStageIdRenameResponse = PutBoardByBoardIdStageByStageIdRenameResponses[keyof PutBoardByBoardIdStageByStageIdRenameResponses];
|
|
2530
|
+
export type PutBoardByBoardIdStageByStageIdRecolorData = {
|
|
2531
|
+
body: RecolorStageRequest;
|
|
2532
|
+
path: {
|
|
2533
|
+
boardId: string;
|
|
2534
|
+
stageId: string;
|
|
2535
|
+
};
|
|
2536
|
+
query?: never;
|
|
2537
|
+
url: '/board/{boardId}/stage/{stageId}/recolor';
|
|
2538
|
+
};
|
|
2539
|
+
export type PutBoardByBoardIdStageByStageIdRecolorResponses = {
|
|
2540
|
+
/**
|
|
2541
|
+
* No Content
|
|
2542
|
+
*/
|
|
2543
|
+
204: void;
|
|
2544
|
+
};
|
|
2545
|
+
export type PutBoardByBoardIdStageByStageIdRecolorResponse = PutBoardByBoardIdStageByStageIdRecolorResponses[keyof PutBoardByBoardIdStageByStageIdRecolorResponses];
|
|
2546
|
+
export type PutBoardByBoardIdStageByStageIdReactivateData = {
|
|
1938
2547
|
body?: never;
|
|
1939
2548
|
path: {
|
|
1940
|
-
|
|
2549
|
+
boardId: string;
|
|
2550
|
+
stageId: string;
|
|
1941
2551
|
};
|
|
1942
2552
|
query?: never;
|
|
1943
|
-
url: '/
|
|
2553
|
+
url: '/board/{boardId}/stage/{stageId}/reactivate';
|
|
1944
2554
|
};
|
|
1945
|
-
export type
|
|
2555
|
+
export type PutBoardByBoardIdStageByStageIdReactivateResponses = {
|
|
1946
2556
|
/**
|
|
1947
2557
|
* No Content
|
|
1948
2558
|
*/
|
|
1949
2559
|
204: void;
|
|
1950
2560
|
};
|
|
1951
|
-
export type
|
|
1952
|
-
export type
|
|
1953
|
-
body
|
|
2561
|
+
export type PutBoardByBoardIdStageByStageIdReactivateResponse = PutBoardByBoardIdStageByStageIdReactivateResponses[keyof PutBoardByBoardIdStageByStageIdReactivateResponses];
|
|
2562
|
+
export type PutBoardByBoardIdStageByStageIdDeactivateData = {
|
|
2563
|
+
body?: DeactivateStageRequest;
|
|
1954
2564
|
path: {
|
|
1955
|
-
|
|
2565
|
+
boardId: string;
|
|
2566
|
+
stageId: string;
|
|
1956
2567
|
};
|
|
1957
2568
|
query?: never;
|
|
1958
|
-
url: '/
|
|
2569
|
+
url: '/board/{boardId}/stage/{stageId}/deactivate';
|
|
1959
2570
|
};
|
|
1960
|
-
export type
|
|
2571
|
+
export type PutBoardByBoardIdStageByStageIdDeactivateResponses = {
|
|
1961
2572
|
/**
|
|
1962
2573
|
* No Content
|
|
1963
2574
|
*/
|
|
1964
2575
|
204: void;
|
|
1965
2576
|
};
|
|
1966
|
-
export type
|
|
1967
|
-
export type
|
|
2577
|
+
export type PutBoardByBoardIdStageByStageIdDeactivateResponse = PutBoardByBoardIdStageByStageIdDeactivateResponses[keyof PutBoardByBoardIdStageByStageIdDeactivateResponses];
|
|
2578
|
+
export type PutBoardByBoardIdStageOrderData = {
|
|
2579
|
+
body: ReorderStagesRequest;
|
|
2580
|
+
path: {
|
|
2581
|
+
boardId: string;
|
|
2582
|
+
};
|
|
2583
|
+
query?: never;
|
|
2584
|
+
url: '/board/{boardId}/stage-order';
|
|
2585
|
+
};
|
|
2586
|
+
export type PutBoardByBoardIdStageOrderResponses = {
|
|
2587
|
+
/**
|
|
2588
|
+
* No Content
|
|
2589
|
+
*/
|
|
2590
|
+
204: void;
|
|
2591
|
+
};
|
|
2592
|
+
export type PutBoardByBoardIdStageOrderResponse = PutBoardByBoardIdStageOrderResponses[keyof PutBoardByBoardIdStageOrderResponses];
|
|
2593
|
+
export type PutBoardByBoardIdRenameData = {
|
|
2594
|
+
body: RenameRequest;
|
|
2595
|
+
path: {
|
|
2596
|
+
boardId: string;
|
|
2597
|
+
};
|
|
2598
|
+
query?: never;
|
|
2599
|
+
url: '/board/{boardId}/rename';
|
|
2600
|
+
};
|
|
2601
|
+
export type PutBoardByBoardIdRenameResponses = {
|
|
2602
|
+
/**
|
|
2603
|
+
* No Content
|
|
2604
|
+
*/
|
|
2605
|
+
204: void;
|
|
2606
|
+
};
|
|
2607
|
+
export type PutBoardByBoardIdRenameResponse = PutBoardByBoardIdRenameResponses[keyof PutBoardByBoardIdRenameResponses];
|
|
2608
|
+
export type PutBoardByBoardIdArchiveData = {
|
|
1968
2609
|
body?: never;
|
|
1969
2610
|
path: {
|
|
1970
|
-
|
|
2611
|
+
boardId: string;
|
|
1971
2612
|
};
|
|
1972
2613
|
query?: never;
|
|
1973
|
-
url: '/
|
|
2614
|
+
url: '/board/{boardId}/archive';
|
|
1974
2615
|
};
|
|
1975
|
-
export type
|
|
2616
|
+
export type PutBoardByBoardIdArchiveResponses = {
|
|
1976
2617
|
/**
|
|
1977
2618
|
* No Content
|
|
1978
2619
|
*/
|
|
1979
2620
|
204: void;
|
|
1980
2621
|
};
|
|
1981
|
-
export type
|
|
1982
|
-
export type
|
|
1983
|
-
body
|
|
2622
|
+
export type PutBoardByBoardIdArchiveResponse = PutBoardByBoardIdArchiveResponses[keyof PutBoardByBoardIdArchiveResponses];
|
|
2623
|
+
export type GetBoardSettingsData = {
|
|
2624
|
+
body?: never;
|
|
1984
2625
|
path?: never;
|
|
1985
2626
|
query?: never;
|
|
1986
|
-
url: '/
|
|
2627
|
+
url: '/board/settings';
|
|
1987
2628
|
};
|
|
1988
|
-
export type
|
|
2629
|
+
export type GetBoardSettingsResponses = {
|
|
2630
|
+
/**
|
|
2631
|
+
* OK
|
|
2632
|
+
*/
|
|
2633
|
+
200: DealSettingsResponse;
|
|
2634
|
+
};
|
|
2635
|
+
export type GetBoardSettingsResponse = GetBoardSettingsResponses[keyof GetBoardSettingsResponses];
|
|
2636
|
+
export type PutBoardSettingsData = {
|
|
2637
|
+
body: SetDealSettingsRequest;
|
|
2638
|
+
path?: never;
|
|
2639
|
+
query?: never;
|
|
2640
|
+
url: '/board/settings';
|
|
2641
|
+
};
|
|
2642
|
+
export type PutBoardSettingsResponses = {
|
|
1989
2643
|
/**
|
|
1990
2644
|
* No Content
|
|
1991
2645
|
*/
|
|
1992
2646
|
204: void;
|
|
1993
2647
|
};
|
|
1994
|
-
export type
|
|
2648
|
+
export type PutBoardSettingsResponse = PutBoardSettingsResponses[keyof PutBoardSettingsResponses];
|
|
1995
2649
|
export type PutAgencyByAgencyIdDetailsData = {
|
|
1996
2650
|
body: CreateAgencyRequest;
|
|
1997
2651
|
path: {
|
|
@@ -2527,50 +3181,204 @@ export type PostInvitationResponses = {
|
|
|
2527
3181
|
*/
|
|
2528
3182
|
200: unknown;
|
|
2529
3183
|
};
|
|
2530
|
-
export type DeleteInvitationByInvitationIdData = {
|
|
3184
|
+
export type DeleteInvitationByInvitationIdData = {
|
|
3185
|
+
body?: never;
|
|
3186
|
+
path: {
|
|
3187
|
+
invitationId: string;
|
|
3188
|
+
};
|
|
3189
|
+
query?: never;
|
|
3190
|
+
url: '/invitation/{invitationId}';
|
|
3191
|
+
};
|
|
3192
|
+
export type DeleteInvitationByInvitationIdResponses = {
|
|
3193
|
+
/**
|
|
3194
|
+
* No Content
|
|
3195
|
+
*/
|
|
3196
|
+
204: void;
|
|
3197
|
+
};
|
|
3198
|
+
export type DeleteInvitationByInvitationIdResponse = DeleteInvitationByInvitationIdResponses[keyof DeleteInvitationByInvitationIdResponses];
|
|
3199
|
+
export type PostInvitationByInvitationIdData = {
|
|
3200
|
+
body?: never;
|
|
3201
|
+
path: {
|
|
3202
|
+
invitationId: string;
|
|
3203
|
+
};
|
|
3204
|
+
query: {
|
|
3205
|
+
agencyId: string;
|
|
3206
|
+
};
|
|
3207
|
+
url: '/invitation/{invitationId}';
|
|
3208
|
+
};
|
|
3209
|
+
export type PostInvitationByInvitationIdResponses = {
|
|
3210
|
+
/**
|
|
3211
|
+
* OK
|
|
3212
|
+
*/
|
|
3213
|
+
200: unknown;
|
|
3214
|
+
};
|
|
3215
|
+
export type PostInternalPrincipleData = {
|
|
3216
|
+
body: AuthRequest;
|
|
3217
|
+
path?: never;
|
|
3218
|
+
query?: never;
|
|
3219
|
+
url: '/internal/principle';
|
|
3220
|
+
};
|
|
3221
|
+
export type PostInternalPrincipleResponses = {
|
|
3222
|
+
/**
|
|
3223
|
+
* OK
|
|
3224
|
+
*/
|
|
3225
|
+
200: AgencyPrincipalDto;
|
|
3226
|
+
};
|
|
3227
|
+
export type PostInternalPrincipleResponse = PostInternalPrincipleResponses[keyof PostInternalPrincipleResponses];
|
|
3228
|
+
export type GetDealsByDealIdCommentsData = {
|
|
3229
|
+
body?: never;
|
|
3230
|
+
path: {
|
|
3231
|
+
dealId: string;
|
|
3232
|
+
};
|
|
3233
|
+
query?: {
|
|
3234
|
+
onlyMine?: boolean;
|
|
3235
|
+
cursor?: string;
|
|
3236
|
+
limit?: number;
|
|
3237
|
+
};
|
|
3238
|
+
url: '/deals/{dealId}/comments';
|
|
3239
|
+
};
|
|
3240
|
+
export type GetDealsByDealIdCommentsResponses = {
|
|
3241
|
+
/**
|
|
3242
|
+
* OK
|
|
3243
|
+
*/
|
|
3244
|
+
200: CursorPageCommentView;
|
|
3245
|
+
};
|
|
3246
|
+
export type GetDealsByDealIdCommentsResponse = GetDealsByDealIdCommentsResponses[keyof GetDealsByDealIdCommentsResponses];
|
|
3247
|
+
export type PostDealsByDealIdCommentsData = {
|
|
3248
|
+
body: CommentBodyRequest;
|
|
3249
|
+
path: {
|
|
3250
|
+
dealId: string;
|
|
3251
|
+
};
|
|
3252
|
+
query?: never;
|
|
3253
|
+
url: '/deals/{dealId}/comments';
|
|
3254
|
+
};
|
|
3255
|
+
export type PostDealsByDealIdCommentsResponses = {
|
|
3256
|
+
/**
|
|
3257
|
+
* OK
|
|
3258
|
+
*/
|
|
3259
|
+
200: IdResponseUuid;
|
|
3260
|
+
};
|
|
3261
|
+
export type PostDealsByDealIdCommentsResponse = PostDealsByDealIdCommentsResponses[keyof PostDealsByDealIdCommentsResponses];
|
|
3262
|
+
export type PostDealData = {
|
|
3263
|
+
body: OpenDealRequest;
|
|
3264
|
+
path?: never;
|
|
3265
|
+
query?: never;
|
|
3266
|
+
url: '/deal';
|
|
3267
|
+
};
|
|
3268
|
+
export type PostDealResponses = {
|
|
3269
|
+
/**
|
|
3270
|
+
* Created
|
|
3271
|
+
*/
|
|
3272
|
+
201: IdResponseUuid;
|
|
3273
|
+
};
|
|
3274
|
+
export type PostDealResponse = PostDealResponses[keyof PostDealResponses];
|
|
3275
|
+
export type PostDealByDealIdPropertyData = {
|
|
3276
|
+
body: LinkPropertyRequest;
|
|
3277
|
+
path: {
|
|
3278
|
+
dealId: string;
|
|
3279
|
+
};
|
|
3280
|
+
query?: never;
|
|
3281
|
+
url: '/deal/{dealId}/property';
|
|
3282
|
+
};
|
|
3283
|
+
export type PostDealByDealIdPropertyResponses = {
|
|
3284
|
+
/**
|
|
3285
|
+
* No Content
|
|
3286
|
+
*/
|
|
3287
|
+
204: void;
|
|
3288
|
+
};
|
|
3289
|
+
export type PostDealByDealIdPropertyResponse = PostDealByDealIdPropertyResponses[keyof PostDealByDealIdPropertyResponses];
|
|
3290
|
+
export type DeleteDealByDealIdParticipantByMemberIdData = {
|
|
3291
|
+
body?: never;
|
|
3292
|
+
path: {
|
|
3293
|
+
dealId: string;
|
|
3294
|
+
memberId: string;
|
|
3295
|
+
};
|
|
3296
|
+
query?: never;
|
|
3297
|
+
url: '/deal/{dealId}/participant/{memberId}';
|
|
3298
|
+
};
|
|
3299
|
+
export type DeleteDealByDealIdParticipantByMemberIdResponses = {
|
|
3300
|
+
/**
|
|
3301
|
+
* No Content
|
|
3302
|
+
*/
|
|
3303
|
+
204: void;
|
|
3304
|
+
};
|
|
3305
|
+
export type DeleteDealByDealIdParticipantByMemberIdResponse = DeleteDealByDealIdParticipantByMemberIdResponses[keyof DeleteDealByDealIdParticipantByMemberIdResponses];
|
|
3306
|
+
export type PostDealByDealIdParticipantByMemberIdData = {
|
|
3307
|
+
body?: never;
|
|
3308
|
+
path: {
|
|
3309
|
+
dealId: string;
|
|
3310
|
+
memberId: string;
|
|
3311
|
+
};
|
|
3312
|
+
query?: never;
|
|
3313
|
+
url: '/deal/{dealId}/participant/{memberId}';
|
|
3314
|
+
};
|
|
3315
|
+
export type PostDealByDealIdParticipantByMemberIdResponses = {
|
|
3316
|
+
/**
|
|
3317
|
+
* No Content
|
|
3318
|
+
*/
|
|
3319
|
+
204: void;
|
|
3320
|
+
};
|
|
3321
|
+
export type PostDealByDealIdParticipantByMemberIdResponse = PostDealByDealIdParticipantByMemberIdResponses[keyof PostDealByDealIdParticipantByMemberIdResponses];
|
|
3322
|
+
export type PostDealByDealIdInterestData = {
|
|
3323
|
+
body: LinkInterestRequest;
|
|
3324
|
+
path: {
|
|
3325
|
+
dealId: string;
|
|
3326
|
+
};
|
|
3327
|
+
query?: never;
|
|
3328
|
+
url: '/deal/{dealId}/interest';
|
|
3329
|
+
};
|
|
3330
|
+
export type PostDealByDealIdInterestResponses = {
|
|
3331
|
+
/**
|
|
3332
|
+
* No Content
|
|
3333
|
+
*/
|
|
3334
|
+
204: void;
|
|
3335
|
+
};
|
|
3336
|
+
export type PostDealByDealIdInterestResponse = PostDealByDealIdInterestResponses[keyof PostDealByDealIdInterestResponses];
|
|
3337
|
+
export type DeleteDealByDealIdContactByContactIdData = {
|
|
2531
3338
|
body?: never;
|
|
2532
3339
|
path: {
|
|
2533
|
-
|
|
3340
|
+
dealId: string;
|
|
3341
|
+
contactId: number;
|
|
2534
3342
|
};
|
|
2535
3343
|
query?: never;
|
|
2536
|
-
url: '/
|
|
3344
|
+
url: '/deal/{dealId}/contact/{contactId}';
|
|
2537
3345
|
};
|
|
2538
|
-
export type
|
|
3346
|
+
export type DeleteDealByDealIdContactByContactIdResponses = {
|
|
2539
3347
|
/**
|
|
2540
3348
|
* No Content
|
|
2541
3349
|
*/
|
|
2542
3350
|
204: void;
|
|
2543
3351
|
};
|
|
2544
|
-
export type
|
|
2545
|
-
export type
|
|
3352
|
+
export type DeleteDealByDealIdContactByContactIdResponse = DeleteDealByDealIdContactByContactIdResponses[keyof DeleteDealByDealIdContactByContactIdResponses];
|
|
3353
|
+
export type PostDealByDealIdContactByContactIdData = {
|
|
2546
3354
|
body?: never;
|
|
2547
3355
|
path: {
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
query: {
|
|
2551
|
-
agencyId: string;
|
|
3356
|
+
dealId: string;
|
|
3357
|
+
contactId: number;
|
|
2552
3358
|
};
|
|
2553
|
-
|
|
3359
|
+
query?: never;
|
|
3360
|
+
url: '/deal/{dealId}/contact/{contactId}';
|
|
2554
3361
|
};
|
|
2555
|
-
export type
|
|
3362
|
+
export type PostDealByDealIdContactByContactIdResponses = {
|
|
2556
3363
|
/**
|
|
2557
|
-
*
|
|
3364
|
+
* No Content
|
|
2558
3365
|
*/
|
|
2559
|
-
|
|
3366
|
+
204: void;
|
|
2560
3367
|
};
|
|
2561
|
-
export type
|
|
2562
|
-
|
|
3368
|
+
export type PostDealByDealIdContactByContactIdResponse = PostDealByDealIdContactByContactIdResponses[keyof PostDealByDealIdContactByContactIdResponses];
|
|
3369
|
+
export type PostDealTaskData = {
|
|
3370
|
+
body: CreateAdHocTaskRequest;
|
|
2563
3371
|
path?: never;
|
|
2564
3372
|
query?: never;
|
|
2565
|
-
url: '/
|
|
3373
|
+
url: '/deal-task';
|
|
2566
3374
|
};
|
|
2567
|
-
export type
|
|
3375
|
+
export type PostDealTaskResponses = {
|
|
2568
3376
|
/**
|
|
2569
|
-
*
|
|
3377
|
+
* Created
|
|
2570
3378
|
*/
|
|
2571
|
-
|
|
3379
|
+
201: IdResponseUuid;
|
|
2572
3380
|
};
|
|
2573
|
-
export type
|
|
3381
|
+
export type PostDealTaskResponse = PostDealTaskResponses[keyof PostDealTaskResponses];
|
|
2574
3382
|
export type PostConversationsByConversationIdReadData = {
|
|
2575
3383
|
body?: never;
|
|
2576
3384
|
path: {
|
|
@@ -2864,10 +3672,9 @@ export type GetContactData = {
|
|
|
2864
3672
|
body?: never;
|
|
2865
3673
|
path?: never;
|
|
2866
3674
|
query?: {
|
|
2867
|
-
statuses?: Array<'NEW' | 'ON_HOLD' | 'COLD' | 'WARM' | 'HOT' | 'WAITING_PAYMENT' | 'LOST' | 'WON'>;
|
|
2868
|
-
priorities?: Array<'CRITICAL' | 'HIGH' | 'MEDIUM' | 'LOW'>;
|
|
2869
3675
|
isSearching?: boolean;
|
|
2870
3676
|
isListing?: boolean;
|
|
3677
|
+
hasOpenDeal?: boolean;
|
|
2871
3678
|
assignedTo?: Array<string>;
|
|
2872
3679
|
createdBy?: string;
|
|
2873
3680
|
contactName?: string;
|
|
@@ -2877,19 +3684,6 @@ export type GetContactData = {
|
|
|
2877
3684
|
contactGenders?: Array<'MALE' | 'FEMALE' | 'UNKNOWN'>;
|
|
2878
3685
|
createdFrom?: Date;
|
|
2879
3686
|
createdTo?: Date;
|
|
2880
|
-
listingTypes?: Array<'SALE' | 'RENT' | 'DAILY_RENT' | 'PLEDGE'>;
|
|
2881
|
-
propertyTypes?: Array<'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'>;
|
|
2882
|
-
regionId?: number;
|
|
2883
|
-
districtId?: number;
|
|
2884
|
-
subDistrictId?: number;
|
|
2885
|
-
streetId?: number;
|
|
2886
|
-
priceMin?: number;
|
|
2887
|
-
priceMax?: number;
|
|
2888
|
-
areaMin?: number;
|
|
2889
|
-
areaMax?: number;
|
|
2890
|
-
roomsMin?: number;
|
|
2891
|
-
roomsMax?: number;
|
|
2892
|
-
includeArchived?: boolean;
|
|
2893
3687
|
/**
|
|
2894
3688
|
* Zero-based page index (0..N)
|
|
2895
3689
|
*/
|
|
@@ -2968,6 +3762,63 @@ export type PostContactSourceResponses = {
|
|
|
2968
3762
|
201: IdResponseLong;
|
|
2969
3763
|
};
|
|
2970
3764
|
export type PostContactSourceResponse = PostContactSourceResponses[keyof PostContactSourceResponses];
|
|
3765
|
+
export type GetBoardData = {
|
|
3766
|
+
body?: never;
|
|
3767
|
+
path?: never;
|
|
3768
|
+
query?: never;
|
|
3769
|
+
url: '/board';
|
|
3770
|
+
};
|
|
3771
|
+
export type GetBoardResponses = {
|
|
3772
|
+
/**
|
|
3773
|
+
* OK
|
|
3774
|
+
*/
|
|
3775
|
+
200: Array<BoardResponse>;
|
|
3776
|
+
};
|
|
3777
|
+
export type GetBoardResponse = GetBoardResponses[keyof GetBoardResponses];
|
|
3778
|
+
export type PostBoardData = {
|
|
3779
|
+
body: CreateBoardRequest;
|
|
3780
|
+
path?: never;
|
|
3781
|
+
query?: never;
|
|
3782
|
+
url: '/board';
|
|
3783
|
+
};
|
|
3784
|
+
export type PostBoardResponses = {
|
|
3785
|
+
/**
|
|
3786
|
+
* Created
|
|
3787
|
+
*/
|
|
3788
|
+
201: IdResponseUuid;
|
|
3789
|
+
};
|
|
3790
|
+
export type PostBoardResponse = PostBoardResponses[keyof PostBoardResponses];
|
|
3791
|
+
export type PostBoardByBoardIdStageData = {
|
|
3792
|
+
body: AddStageRequest;
|
|
3793
|
+
path: {
|
|
3794
|
+
boardId: string;
|
|
3795
|
+
};
|
|
3796
|
+
query?: never;
|
|
3797
|
+
url: '/board/{boardId}/stage';
|
|
3798
|
+
};
|
|
3799
|
+
export type PostBoardByBoardIdStageResponses = {
|
|
3800
|
+
/**
|
|
3801
|
+
* Created
|
|
3802
|
+
*/
|
|
3803
|
+
201: IdResponseUuid;
|
|
3804
|
+
};
|
|
3805
|
+
export type PostBoardByBoardIdStageResponse = PostBoardByBoardIdStageResponses[keyof PostBoardByBoardIdStageResponses];
|
|
3806
|
+
export type PostBoardByBoardIdStageByStageIdTemplateData = {
|
|
3807
|
+
body: AddTaskTemplateRequest;
|
|
3808
|
+
path: {
|
|
3809
|
+
boardId: string;
|
|
3810
|
+
stageId: string;
|
|
3811
|
+
};
|
|
3812
|
+
query?: never;
|
|
3813
|
+
url: '/board/{boardId}/stage/{stageId}/template';
|
|
3814
|
+
};
|
|
3815
|
+
export type PostBoardByBoardIdStageByStageIdTemplateResponses = {
|
|
3816
|
+
/**
|
|
3817
|
+
* Created
|
|
3818
|
+
*/
|
|
3819
|
+
201: IdResponseUuid;
|
|
3820
|
+
};
|
|
3821
|
+
export type PostBoardByBoardIdStageByStageIdTemplateResponse = PostBoardByBoardIdStageByStageIdTemplateResponses[keyof PostBoardByBoardIdStageByStageIdTemplateResponses];
|
|
2971
3822
|
export type PostApiAdminSubscriptionsProvisionData = {
|
|
2972
3823
|
body: ProvisionAgencyRequest;
|
|
2973
3824
|
path?: never;
|
|
@@ -3020,6 +3871,21 @@ export type GetUserMeResponses = {
|
|
|
3020
3871
|
200: UserContextViewResponse;
|
|
3021
3872
|
};
|
|
3022
3873
|
export type GetUserMeResponse = GetUserMeResponses[keyof GetUserMeResponses];
|
|
3874
|
+
export type GetStatisticsWinRateData = {
|
|
3875
|
+
body?: never;
|
|
3876
|
+
path?: never;
|
|
3877
|
+
query?: {
|
|
3878
|
+
period?: string;
|
|
3879
|
+
};
|
|
3880
|
+
url: '/statistics/win-rate';
|
|
3881
|
+
};
|
|
3882
|
+
export type GetStatisticsWinRateResponses = {
|
|
3883
|
+
/**
|
|
3884
|
+
* OK
|
|
3885
|
+
*/
|
|
3886
|
+
200: StatsEnvelopeWinRateStats;
|
|
3887
|
+
};
|
|
3888
|
+
export type GetStatisticsWinRateResponse = GetStatisticsWinRateResponses[keyof GetStatisticsWinRateResponses];
|
|
3023
3889
|
export type GetStatisticsSupplyData = {
|
|
3024
3890
|
body?: never;
|
|
3025
3891
|
path?: never;
|
|
@@ -3107,6 +3973,34 @@ export type GetStatisticsDemandResponses = {
|
|
|
3107
3973
|
200: StatsEnvelopeDemandStats;
|
|
3108
3974
|
};
|
|
3109
3975
|
export type GetStatisticsDemandResponse = GetStatisticsDemandResponses[keyof GetStatisticsDemandResponses];
|
|
3976
|
+
export type GetStatisticsDealVelocityData = {
|
|
3977
|
+
body?: never;
|
|
3978
|
+
path?: never;
|
|
3979
|
+
query?: {
|
|
3980
|
+
period?: string;
|
|
3981
|
+
};
|
|
3982
|
+
url: '/statistics/deal-velocity';
|
|
3983
|
+
};
|
|
3984
|
+
export type GetStatisticsDealVelocityResponses = {
|
|
3985
|
+
/**
|
|
3986
|
+
* OK
|
|
3987
|
+
*/
|
|
3988
|
+
200: StatsEnvelopeDealVelocityStats;
|
|
3989
|
+
};
|
|
3990
|
+
export type GetStatisticsDealVelocityResponse = GetStatisticsDealVelocityResponses[keyof GetStatisticsDealVelocityResponses];
|
|
3991
|
+
export type GetStatisticsDealFunnelData = {
|
|
3992
|
+
body?: never;
|
|
3993
|
+
path?: never;
|
|
3994
|
+
query?: never;
|
|
3995
|
+
url: '/statistics/deal-funnel';
|
|
3996
|
+
};
|
|
3997
|
+
export type GetStatisticsDealFunnelResponses = {
|
|
3998
|
+
/**
|
|
3999
|
+
* OK
|
|
4000
|
+
*/
|
|
4001
|
+
200: StatsEnvelopeDealFunnelStats;
|
|
4002
|
+
};
|
|
4003
|
+
export type GetStatisticsDealFunnelResponse = GetStatisticsDealFunnelResponses[keyof GetStatisticsDealFunnelResponses];
|
|
3110
4004
|
export type GetPublicRecomendationsByTokenItemsData = {
|
|
3111
4005
|
body?: never;
|
|
3112
4006
|
path: {
|
|
@@ -3458,7 +4352,7 @@ export type GetMemberData = {
|
|
|
3458
4352
|
path?: never;
|
|
3459
4353
|
query?: {
|
|
3460
4354
|
roleId?: number;
|
|
3461
|
-
permission?: 'MANAGE_AGENCY' | 'MANAGE_ROLE' | 'MANAGE_MEMBER' | 'CREATE_DELETE_MEMBER' | 'CREATE_CONTACT' | 'DELETE_CONTACT' | 'MANAGE_CONTACT' | 'MANAGE_ANY_CONTACT' | 'ASSIGN_CONTACT';
|
|
4355
|
+
permission?: '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';
|
|
3462
4356
|
/**
|
|
3463
4357
|
* Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
3464
4358
|
*/
|
|
@@ -3771,6 +4665,95 @@ export type GetInboxAgencyResponses = {
|
|
|
3771
4665
|
200: CursorPageInboxResponse;
|
|
3772
4666
|
};
|
|
3773
4667
|
export type GetInboxAgencyResponse = GetInboxAgencyResponses[keyof GetInboxAgencyResponses];
|
|
4668
|
+
export type DeleteDealByDealIdData = {
|
|
4669
|
+
body?: never;
|
|
4670
|
+
path: {
|
|
4671
|
+
dealId: string;
|
|
4672
|
+
};
|
|
4673
|
+
query?: never;
|
|
4674
|
+
url: '/deal/{dealId}';
|
|
4675
|
+
};
|
|
4676
|
+
export type DeleteDealByDealIdResponses = {
|
|
4677
|
+
/**
|
|
4678
|
+
* No Content
|
|
4679
|
+
*/
|
|
4680
|
+
204: void;
|
|
4681
|
+
};
|
|
4682
|
+
export type DeleteDealByDealIdResponse = DeleteDealByDealIdResponses[keyof DeleteDealByDealIdResponses];
|
|
4683
|
+
export type GetDealByDealIdData = {
|
|
4684
|
+
body?: never;
|
|
4685
|
+
path: {
|
|
4686
|
+
dealId: string;
|
|
4687
|
+
};
|
|
4688
|
+
query?: never;
|
|
4689
|
+
url: '/deal/{dealId}';
|
|
4690
|
+
};
|
|
4691
|
+
export type GetDealByDealIdResponses = {
|
|
4692
|
+
/**
|
|
4693
|
+
* OK
|
|
4694
|
+
*/
|
|
4695
|
+
200: DealDetailResponse;
|
|
4696
|
+
};
|
|
4697
|
+
export type GetDealByDealIdResponse = GetDealByDealIdResponses[keyof GetDealByDealIdResponses];
|
|
4698
|
+
export type GetDealByContactByContactIdData = {
|
|
4699
|
+
body?: never;
|
|
4700
|
+
path: {
|
|
4701
|
+
contactId: number;
|
|
4702
|
+
};
|
|
4703
|
+
query?: never;
|
|
4704
|
+
url: '/deal/by-contact/{contactId}';
|
|
4705
|
+
};
|
|
4706
|
+
export type GetDealByContactByContactIdResponses = {
|
|
4707
|
+
/**
|
|
4708
|
+
* OK
|
|
4709
|
+
*/
|
|
4710
|
+
200: Array<ContactDealResponse>;
|
|
4711
|
+
};
|
|
4712
|
+
export type GetDealByContactByContactIdResponse = GetDealByContactByContactIdResponses[keyof GetDealByContactByContactIdResponses];
|
|
4713
|
+
export type GetDealBoardByBoardIdData = {
|
|
4714
|
+
body?: never;
|
|
4715
|
+
path: {
|
|
4716
|
+
boardId: string;
|
|
4717
|
+
};
|
|
4718
|
+
query?: never;
|
|
4719
|
+
url: '/deal/board/{boardId}';
|
|
4720
|
+
};
|
|
4721
|
+
export type GetDealBoardByBoardIdResponses = {
|
|
4722
|
+
/**
|
|
4723
|
+
* OK
|
|
4724
|
+
*/
|
|
4725
|
+
200: BoardGridResponse;
|
|
4726
|
+
};
|
|
4727
|
+
export type GetDealBoardByBoardIdResponse = GetDealBoardByBoardIdResponses[keyof GetDealBoardByBoardIdResponses];
|
|
4728
|
+
export type GetDealBoardByBoardIdClosedData = {
|
|
4729
|
+
body?: never;
|
|
4730
|
+
path: {
|
|
4731
|
+
boardId: string;
|
|
4732
|
+
};
|
|
4733
|
+
query?: {
|
|
4734
|
+
outcome?: 'WON' | 'LOST';
|
|
4735
|
+
/**
|
|
4736
|
+
* Zero-based page index (0..N)
|
|
4737
|
+
*/
|
|
4738
|
+
page?: number;
|
|
4739
|
+
/**
|
|
4740
|
+
* The size of the page to be returned
|
|
4741
|
+
*/
|
|
4742
|
+
size?: number;
|
|
4743
|
+
/**
|
|
4744
|
+
* Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
|
|
4745
|
+
*/
|
|
4746
|
+
sort?: Array<string>;
|
|
4747
|
+
};
|
|
4748
|
+
url: '/deal/board/{boardId}/closed';
|
|
4749
|
+
};
|
|
4750
|
+
export type GetDealBoardByBoardIdClosedResponses = {
|
|
4751
|
+
/**
|
|
4752
|
+
* OK
|
|
4753
|
+
*/
|
|
4754
|
+
200: PagedModelClosedDealResponse;
|
|
4755
|
+
};
|
|
4756
|
+
export type GetDealBoardByBoardIdClosedResponse = GetDealBoardByBoardIdClosedResponses[keyof GetDealBoardByBoardIdClosedResponses];
|
|
3774
4757
|
export type GetConversationsByConversationIdUpdatesData = {
|
|
3775
4758
|
body?: never;
|
|
3776
4759
|
path: {
|
|
@@ -3869,11 +4852,10 @@ export type GetContactGroupsData = {
|
|
|
3869
4852
|
body?: never;
|
|
3870
4853
|
path?: never;
|
|
3871
4854
|
query: {
|
|
3872
|
-
groupBy: 'ASSIGNED_TO' | 'CREATED_BY' | '
|
|
3873
|
-
statuses?: Array<'NEW' | 'ON_HOLD' | 'COLD' | 'WARM' | 'HOT' | 'WAITING_PAYMENT' | 'LOST' | 'WON'>;
|
|
3874
|
-
priorities?: Array<'CRITICAL' | 'HIGH' | 'MEDIUM' | 'LOW'>;
|
|
4855
|
+
groupBy: 'ASSIGNED_TO' | 'CREATED_BY' | 'SOURCE_TYPE' | 'IS_SEARCHING' | 'IS_LISTING' | 'CREATED_AT_DAY' | 'CREATED_AT_WEEK' | 'CREATED_AT_MONTH';
|
|
3875
4856
|
isSearching?: boolean;
|
|
3876
4857
|
isListing?: boolean;
|
|
4858
|
+
hasOpenDeal?: boolean;
|
|
3877
4859
|
assignedTo?: Array<string>;
|
|
3878
4860
|
createdBy?: string;
|
|
3879
4861
|
contactName?: string;
|
|
@@ -3883,18 +4865,6 @@ export type GetContactGroupsData = {
|
|
|
3883
4865
|
contactGenders?: Array<'MALE' | 'FEMALE' | 'UNKNOWN'>;
|
|
3884
4866
|
createdFrom?: Date;
|
|
3885
4867
|
createdTo?: Date;
|
|
3886
|
-
listingTypes?: Array<'SALE' | 'RENT' | 'DAILY_RENT' | 'PLEDGE'>;
|
|
3887
|
-
propertyTypes?: Array<'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'>;
|
|
3888
|
-
regionId?: number;
|
|
3889
|
-
districtId?: number;
|
|
3890
|
-
subDistrictId?: number;
|
|
3891
|
-
streetId?: number;
|
|
3892
|
-
priceMin?: number;
|
|
3893
|
-
priceMax?: number;
|
|
3894
|
-
areaMin?: number;
|
|
3895
|
-
areaMax?: number;
|
|
3896
|
-
roomsMin?: number;
|
|
3897
|
-
roomsMax?: number;
|
|
3898
4868
|
};
|
|
3899
4869
|
url: '/contact/groups';
|
|
3900
4870
|
};
|
|
@@ -3905,88 +4875,21 @@ export type GetContactGroupsResponses = {
|
|
|
3905
4875
|
200: Array<GroupCount>;
|
|
3906
4876
|
};
|
|
3907
4877
|
export type GetContactGroupsResponse = GetContactGroupsResponses[keyof GetContactGroupsResponses];
|
|
3908
|
-
export type
|
|
3909
|
-
body?: never;
|
|
3910
|
-
path?: never;
|
|
3911
|
-
query?: {
|
|
3912
|
-
statuses?: Array<'NEW' | 'ON_HOLD' | 'COLD' | 'WARM' | 'HOT' | 'WAITING_PAYMENT' | 'LOST' | 'WON'>;
|
|
3913
|
-
priorities?: Array<'CRITICAL' | 'HIGH' | 'MEDIUM' | 'LOW'>;
|
|
3914
|
-
isSearching?: boolean;
|
|
3915
|
-
isListing?: boolean;
|
|
3916
|
-
assignedTo?: Array<string>;
|
|
3917
|
-
createdBy?: string;
|
|
3918
|
-
contactName?: string;
|
|
3919
|
-
contactPhone?: string;
|
|
3920
|
-
contactEmail?: string;
|
|
3921
|
-
sourceTypes?: Array<'MY_HOME' | 'SS' | 'HOME_SPOT' | 'AGENCY_MEMBER' | 'FACEBOOK' | 'INSTAGRAM' | 'WHATSAPP' | 'UNKNOWN'>;
|
|
3922
|
-
contactGenders?: Array<'MALE' | 'FEMALE' | 'UNKNOWN'>;
|
|
3923
|
-
createdFrom?: Date;
|
|
3924
|
-
createdTo?: Date;
|
|
3925
|
-
listingTypes?: Array<'SALE' | 'RENT' | 'DAILY_RENT' | 'PLEDGE'>;
|
|
3926
|
-
propertyTypes?: Array<'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'>;
|
|
3927
|
-
regionId?: number;
|
|
3928
|
-
districtId?: number;
|
|
3929
|
-
subDistrictId?: number;
|
|
3930
|
-
streetId?: number;
|
|
3931
|
-
priceMin?: number;
|
|
3932
|
-
priceMax?: number;
|
|
3933
|
-
areaMin?: number;
|
|
3934
|
-
areaMax?: number;
|
|
3935
|
-
roomsMin?: number;
|
|
3936
|
-
roomsMax?: number;
|
|
3937
|
-
};
|
|
3938
|
-
url: '/contact/board';
|
|
3939
|
-
};
|
|
3940
|
-
export type GetContactBoardResponses = {
|
|
3941
|
-
/**
|
|
3942
|
-
* OK
|
|
3943
|
-
*/
|
|
3944
|
-
200: ContactKanbanResponse;
|
|
3945
|
-
};
|
|
3946
|
-
export type GetContactBoardResponse = GetContactBoardResponses[keyof GetContactBoardResponses];
|
|
3947
|
-
export type GetContactBoardByStatusCardsData = {
|
|
4878
|
+
export type GetBoardByBoardIdData = {
|
|
3948
4879
|
body?: never;
|
|
3949
4880
|
path: {
|
|
3950
|
-
|
|
3951
|
-
};
|
|
3952
|
-
query?: {
|
|
3953
|
-
statuses?: Array<'NEW' | 'ON_HOLD' | 'COLD' | 'WARM' | 'HOT' | 'WAITING_PAYMENT' | 'LOST' | 'WON'>;
|
|
3954
|
-
priorities?: Array<'CRITICAL' | 'HIGH' | 'MEDIUM' | 'LOW'>;
|
|
3955
|
-
isSearching?: boolean;
|
|
3956
|
-
isListing?: boolean;
|
|
3957
|
-
assignedTo?: Array<string>;
|
|
3958
|
-
createdBy?: string;
|
|
3959
|
-
contactName?: string;
|
|
3960
|
-
contactPhone?: string;
|
|
3961
|
-
contactEmail?: string;
|
|
3962
|
-
sourceTypes?: Array<'MY_HOME' | 'SS' | 'HOME_SPOT' | 'AGENCY_MEMBER' | 'FACEBOOK' | 'INSTAGRAM' | 'WHATSAPP' | 'UNKNOWN'>;
|
|
3963
|
-
contactGenders?: Array<'MALE' | 'FEMALE' | 'UNKNOWN'>;
|
|
3964
|
-
createdFrom?: Date;
|
|
3965
|
-
createdTo?: Date;
|
|
3966
|
-
listingTypes?: Array<'SALE' | 'RENT' | 'DAILY_RENT' | 'PLEDGE'>;
|
|
3967
|
-
propertyTypes?: Array<'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'>;
|
|
3968
|
-
regionId?: number;
|
|
3969
|
-
districtId?: number;
|
|
3970
|
-
subDistrictId?: number;
|
|
3971
|
-
streetId?: number;
|
|
3972
|
-
priceMin?: number;
|
|
3973
|
-
priceMax?: number;
|
|
3974
|
-
areaMin?: number;
|
|
3975
|
-
areaMax?: number;
|
|
3976
|
-
roomsMin?: number;
|
|
3977
|
-
roomsMax?: number;
|
|
3978
|
-
cursor?: string;
|
|
3979
|
-
limit?: number;
|
|
4881
|
+
boardId: string;
|
|
3980
4882
|
};
|
|
3981
|
-
|
|
4883
|
+
query?: never;
|
|
4884
|
+
url: '/board/{boardId}';
|
|
3982
4885
|
};
|
|
3983
|
-
export type
|
|
4886
|
+
export type GetBoardByBoardIdResponses = {
|
|
3984
4887
|
/**
|
|
3985
4888
|
* OK
|
|
3986
4889
|
*/
|
|
3987
|
-
200:
|
|
4890
|
+
200: BoardResponse;
|
|
3988
4891
|
};
|
|
3989
|
-
export type
|
|
4892
|
+
export type GetBoardByBoardIdResponse = GetBoardByBoardIdResponses[keyof GetBoardByBoardIdResponses];
|
|
3990
4893
|
export type GetAgencyByAgencyIdOwnerData = {
|
|
3991
4894
|
body?: never;
|
|
3992
4895
|
path: {
|
|
@@ -4072,6 +4975,53 @@ export type DeleteMemberByMemberIdResponses = {
|
|
|
4072
4975
|
204: void;
|
|
4073
4976
|
};
|
|
4074
4977
|
export type DeleteMemberByMemberIdResponse = DeleteMemberByMemberIdResponses[keyof DeleteMemberByMemberIdResponses];
|
|
4978
|
+
export type DeleteDealByDealIdPropertyByPropertyIdData = {
|
|
4979
|
+
body?: never;
|
|
4980
|
+
path: {
|
|
4981
|
+
dealId: string;
|
|
4982
|
+
propertyId: number;
|
|
4983
|
+
};
|
|
4984
|
+
query?: never;
|
|
4985
|
+
url: '/deal/{dealId}/property/{propertyId}';
|
|
4986
|
+
};
|
|
4987
|
+
export type DeleteDealByDealIdPropertyByPropertyIdResponses = {
|
|
4988
|
+
/**
|
|
4989
|
+
* No Content
|
|
4990
|
+
*/
|
|
4991
|
+
204: void;
|
|
4992
|
+
};
|
|
4993
|
+
export type DeleteDealByDealIdPropertyByPropertyIdResponse = DeleteDealByDealIdPropertyByPropertyIdResponses[keyof DeleteDealByDealIdPropertyByPropertyIdResponses];
|
|
4994
|
+
export type DeleteDealByDealIdInterestByInterestIdData = {
|
|
4995
|
+
body?: never;
|
|
4996
|
+
path: {
|
|
4997
|
+
dealId: string;
|
|
4998
|
+
interestId: number;
|
|
4999
|
+
};
|
|
5000
|
+
query?: never;
|
|
5001
|
+
url: '/deal/{dealId}/interest/{interestId}';
|
|
5002
|
+
};
|
|
5003
|
+
export type DeleteDealByDealIdInterestByInterestIdResponses = {
|
|
5004
|
+
/**
|
|
5005
|
+
* No Content
|
|
5006
|
+
*/
|
|
5007
|
+
204: void;
|
|
5008
|
+
};
|
|
5009
|
+
export type DeleteDealByDealIdInterestByInterestIdResponse = DeleteDealByDealIdInterestByInterestIdResponses[keyof DeleteDealByDealIdInterestByInterestIdResponses];
|
|
5010
|
+
export type DeleteDealTaskByTaskIdData = {
|
|
5011
|
+
body?: never;
|
|
5012
|
+
path: {
|
|
5013
|
+
taskId: string;
|
|
5014
|
+
};
|
|
5015
|
+
query?: never;
|
|
5016
|
+
url: '/deal-task/{taskId}';
|
|
5017
|
+
};
|
|
5018
|
+
export type DeleteDealTaskByTaskIdResponses = {
|
|
5019
|
+
/**
|
|
5020
|
+
* No Content
|
|
5021
|
+
*/
|
|
5022
|
+
204: void;
|
|
5023
|
+
};
|
|
5024
|
+
export type DeleteDealTaskByTaskIdResponse = DeleteDealTaskByTaskIdResponses[keyof DeleteDealTaskByTaskIdResponses];
|
|
4075
5025
|
export type DeleteConversationsByConversationIdPresenceData = {
|
|
4076
5026
|
body?: never;
|
|
4077
5027
|
path: {
|
|
@@ -4123,4 +5073,21 @@ export type DeleteContactsByContactIdInterestsByInterestIdListingsByExternalList
|
|
|
4123
5073
|
204: void;
|
|
4124
5074
|
};
|
|
4125
5075
|
export type DeleteContactsByContactIdInterestsByInterestIdListingsByExternalListingIdResponse = DeleteContactsByContactIdInterestsByInterestIdListingsByExternalListingIdResponses[keyof DeleteContactsByContactIdInterestsByInterestIdListingsByExternalListingIdResponses];
|
|
5076
|
+
export type DeleteBoardByBoardIdStageByStageIdTemplateByTemplateIdData = {
|
|
5077
|
+
body?: never;
|
|
5078
|
+
path: {
|
|
5079
|
+
boardId: string;
|
|
5080
|
+
stageId: string;
|
|
5081
|
+
templateId: string;
|
|
5082
|
+
};
|
|
5083
|
+
query?: never;
|
|
5084
|
+
url: '/board/{boardId}/stage/{stageId}/template/{templateId}';
|
|
5085
|
+
};
|
|
5086
|
+
export type DeleteBoardByBoardIdStageByStageIdTemplateByTemplateIdResponses = {
|
|
5087
|
+
/**
|
|
5088
|
+
* No Content
|
|
5089
|
+
*/
|
|
5090
|
+
204: void;
|
|
5091
|
+
};
|
|
5092
|
+
export type DeleteBoardByBoardIdStageByStageIdTemplateByTemplateIdResponse = DeleteBoardByBoardIdStageByStageIdTemplateByTemplateIdResponses[keyof DeleteBoardByBoardIdStageByStageIdTemplateByTemplateIdResponses];
|
|
4126
5093
|
//# sourceMappingURL=types.gen.d.ts.map
|