@homespot-sdk/core 0.0.340 → 0.0.341

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.
@@ -50,66 +50,66 @@ export type VerifyEmailRequest = {
50
50
  export type UpdateEmailRequest = {
51
51
  email: string;
52
52
  };
53
- export type RolesRequest = {
54
- name: string;
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' | 'MANAGE_BOARD' | 'MANAGE_DEAL' | 'DELETE_DEAL'>;
57
- };
58
- export type AssignRoleRequest = {
59
- roleId: number;
60
- };
61
- export type BatchAssignRoleRequest = {
62
- roleId: number;
63
- memberIds: Array<string>;
64
- };
65
- export type UpdateMeetingRequest = {
66
- title?: string;
67
- description?: string;
68
- location?: string;
69
- type?: 'PROPERTY_VIEWING' | 'INTERNAL' | 'CLIENT_CONSULTATION' | 'OTHER';
70
- format?: 'IN_PERSON' | 'ONLINE' | 'OTHER';
71
- propertyId?: number;
72
- clearProperty?: boolean;
73
- };
74
- export type RescheduleRequest = {
75
- start: Date;
76
- durationMinutes?: number;
77
- };
78
53
  export type CommentBodyRequest = {
79
54
  body: string;
80
55
  };
81
- export type SetDealValueRequest = {
56
+ export type SetTaskValueRequest = {
82
57
  value?: number;
83
58
  };
84
- export type TransferDealRequest = {
59
+ export type TransferTaskRequest = {
85
60
  targetBoardId: string;
86
61
  targetStageId: string;
87
62
  };
88
- export type RenameDealRequest = {
63
+ export type RenameTaskRequest = {
89
64
  title: string;
90
65
  };
91
- export type MoveDealRequest = {
66
+ export type MoveTaskRequest = {
92
67
  targetStageId: string;
93
68
  };
94
- export type MarkDealLostRequest = {
69
+ export type MarkTaskLostRequest = {
95
70
  reason: 'NOT_WORKING_WITH_AGENTS' | 'NOT_RESPONDING' | 'ALREADY_SOLD' | 'COULD_NOT_NEGOTIATE_PRICE' | 'CHOSE_ANOTHER_AGENCY' | 'CHANGED_PLANS' | 'OUT_OF_BUDGET' | 'SPAM' | 'OTHER';
96
71
  };
97
72
  export type SetExpectedCloseDateRequest = {
98
73
  expectedCloseDate?: Date;
99
74
  };
100
- export type DescribeDealRequest = {
75
+ export type DescribeTaskRequest = {
101
76
  description?: string;
102
77
  };
103
- export type SetDealCommissionRequest = {
78
+ export type SetTaskCommissionRequest = {
104
79
  type: 'NOT_SET' | 'FIXED' | 'PERCENTAGE' | 'MONTHS_OF_RENT';
105
80
  /**
106
81
  * Amount for FIXED, fraction (0,1] for PERCENTAGE, factor for MONTHS_OF_RENT
107
82
  */
108
83
  value?: number;
109
84
  };
110
- export type RenameTaskRequest = {
85
+ export type RenameTodoRequest = {
111
86
  title: string;
112
87
  };
88
+ export type RolesRequest = {
89
+ name: string;
90
+ description: string;
91
+ 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'>;
92
+ };
93
+ export type AssignRoleRequest = {
94
+ roleId: number;
95
+ };
96
+ export type BatchAssignRoleRequest = {
97
+ roleId: number;
98
+ memberIds: Array<string>;
99
+ };
100
+ export type UpdateMeetingRequest = {
101
+ title?: string;
102
+ description?: string;
103
+ location?: string;
104
+ type?: 'PROPERTY_VIEWING' | 'INTERNAL' | 'CLIENT_CONSULTATION' | 'OTHER';
105
+ format?: 'IN_PERSON' | 'ONLINE' | 'OTHER';
106
+ propertyId?: number;
107
+ clearProperty?: boolean;
108
+ };
109
+ export type RescheduleRequest = {
110
+ start: Date;
111
+ durationMinutes?: number;
112
+ };
113
113
  export type UpdateListingPriceRequest = {
114
114
  price: number;
115
115
  };
@@ -174,7 +174,7 @@ export type ContactMergeRequest = {
174
174
  export type RenameRequest = {
175
175
  name: string;
176
176
  };
177
- export type ReorderTaskTemplatesRequest = {
177
+ export type ReorderTodoTemplatesRequest = {
178
178
  templateIds: Array<string>;
179
179
  };
180
180
  export type RecolorStageRequest = {
@@ -186,7 +186,7 @@ export type DeactivateStageRequest = {
186
186
  export type ReorderStagesRequest = {
187
187
  stageIds: Array<string>;
188
188
  };
189
- export type SetDealSettingsRequest = {
189
+ export type SetTaskSettingsRequest = {
190
190
  defaultBoardId: string;
191
191
  /**
192
192
  * Active stage of the default board; null = entry stage at use time
@@ -239,6 +239,38 @@ export type TransferFundsRequest = {
239
239
  export type DepositFundsRequest = {
240
240
  amount: number;
241
241
  };
242
+ export type ConnectLinkResponse = {
243
+ link?: string;
244
+ expiresAt?: Date;
245
+ };
246
+ export type IdResponseUuid = {
247
+ id: string;
248
+ };
249
+ export type OpenTaskRequest = {
250
+ boardId: string;
251
+ /**
252
+ * Target stage; defaults to the board's entry stage
253
+ */
254
+ stageId?: string;
255
+ title: string;
256
+ contactIds?: Array<number>;
257
+ /**
258
+ * Defaults to the acting member
259
+ */
260
+ ownerId?: string;
261
+ };
262
+ export type LinkPropertyRequest = {
263
+ contactId: number;
264
+ propertyId: number;
265
+ };
266
+ export type LinkInterestRequest = {
267
+ contactId: number;
268
+ interestId: number;
269
+ };
270
+ export type CreateAdHocTodoRequest = {
271
+ taskId: string;
272
+ title: string;
273
+ };
242
274
  export type SubscribeRequest = {
243
275
  plan: 'STARTER' | 'PRO' | 'ENTERPRISE';
244
276
  billingCycle: 'MONTHLY' | 'ANNUAL';
@@ -340,34 +372,6 @@ export type AgencyPrincipalDto = {
340
372
  isOwner?: boolean;
341
373
  phoneVerified?: boolean;
342
374
  };
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
- };
371
375
  export type SendMessageRequest = {
372
376
  text: string;
373
377
  };
@@ -457,12 +461,12 @@ export type AddStageRequest = {
457
461
  name: string;
458
462
  color: string;
459
463
  };
460
- export type AddTaskTemplateRequest = {
464
+ export type AddTodoTemplateRequest = {
461
465
  title: string;
462
466
  /**
463
- * Also spawn this template onto the open deals currently in the stage
467
+ * Also spawn this template onto the open tasks currently in the stage
464
468
  */
465
- applyToDealsInStage: boolean;
469
+ applyToTasksInStage: boolean;
466
470
  };
467
471
  export type ProvisionAgencyRequest = {
468
472
  /**
@@ -518,6 +522,180 @@ export type UserSummaryViewResponse = {
518
522
  firstName: string;
519
523
  lastName: string;
520
524
  };
525
+ export type CommentView = {
526
+ id: string;
527
+ contactId?: number;
528
+ taskId?: string;
529
+ authorId: string;
530
+ authorFirstName: string;
531
+ authorLastName: string;
532
+ profilePictureUrl?: string;
533
+ body: string;
534
+ createdAt: Date;
535
+ editedAt?: Date;
536
+ };
537
+ export type CursorPageCommentView = {
538
+ items?: Array<CommentView>;
539
+ nextCursor?: string;
540
+ hasNext?: boolean;
541
+ };
542
+ export type ContactLink = {
543
+ contactId: number;
544
+ primary: boolean;
545
+ personalDetails: ContactPersonalDetailsRestricted | ContactPersonalDetailsVisible;
546
+ contactAssignedTo?: string;
547
+ };
548
+ export type ContactPersonalDetails = unknown;
549
+ export type ContactPersonalDetailsRestricted = {
550
+ 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'>;
551
+ status: 'RESTRICTED';
552
+ };
553
+ export type ContactPersonalDetailsVisible = {
554
+ phoneNumber?: string;
555
+ fullName?: string;
556
+ email?: string;
557
+ status: 'VISIBLE';
558
+ };
559
+ export type InterestLink = {
560
+ interestId: number;
561
+ contactId: number;
562
+ title?: string;
563
+ };
564
+ export type Participant = {
565
+ memberId: string;
566
+ firstName?: string;
567
+ lastName?: string;
568
+ photo?: string;
569
+ owner: boolean;
570
+ };
571
+ export type PropertyLink = {
572
+ propertyId: number;
573
+ contactId: number;
574
+ title?: string;
575
+ };
576
+ export type TaskDetailResponse = {
577
+ taskId: string;
578
+ boardId: string;
579
+ boardName: string;
580
+ stageId: string;
581
+ stageName: string;
582
+ stageColor: string;
583
+ stageEnteredAt: Date;
584
+ title: string;
585
+ description?: string;
586
+ value?: number;
587
+ commissionType: 'NOT_SET' | 'FIXED' | 'PERCENTAGE' | 'MONTHS_OF_RENT';
588
+ commissionValue?: number;
589
+ expectedCloseDate?: Date;
590
+ ownerId?: string;
591
+ outcome?: 'WON' | 'LOST';
592
+ lostReason?: 'NOT_WORKING_WITH_AGENTS' | 'NOT_RESPONDING' | 'ALREADY_SOLD' | 'COULD_NOT_NEGOTIATE_PRICE' | 'CHOSE_ANOTHER_AGENCY' | 'CHANGED_PLANS' | 'OUT_OF_BUDGET' | 'SPAM' | 'OTHER';
593
+ closedAt?: Date;
594
+ createdBy?: string;
595
+ createdAt: Date;
596
+ contacts: Array<ContactLink>;
597
+ participants: Array<Participant>;
598
+ interests: Array<InterestLink>;
599
+ properties: Array<PropertyLink>;
600
+ todoGroups: Array<TodoGroup>;
601
+ timeline: Array<TimelineEntry>;
602
+ };
603
+ export type TimelineEntry = {
604
+ fromStageId?: string;
605
+ fromStageName?: string;
606
+ toStageId?: string;
607
+ toStageName?: string;
608
+ boardChanged: boolean;
609
+ outcome?: 'WON' | 'LOST';
610
+ movedBy?: string;
611
+ occurredAt: Date;
612
+ };
613
+ export type TodoGroup = {
614
+ kind: 'CURRENT_STAGE' | 'LEFTOVER' | 'AD_HOC';
615
+ stageId?: string;
616
+ stageName?: string;
617
+ todos: Array<TodoItem>;
618
+ };
619
+ export type TodoItem = {
620
+ todoId: string;
621
+ title: string;
622
+ position: number;
623
+ fromTemplate: boolean;
624
+ completedAt?: Date;
625
+ completedBy?: string;
626
+ };
627
+ export type ContactTaskResponse = {
628
+ taskId: string;
629
+ title: string;
630
+ boardId: string;
631
+ boardName: string;
632
+ stageId: string;
633
+ stageName: string;
634
+ outcome?: 'WON' | 'LOST';
635
+ value?: number;
636
+ primary: boolean;
637
+ };
638
+ export type BoardGridResponse = {
639
+ boardId: string;
640
+ name: string;
641
+ kind?: 'OWNER' | 'SEEKER';
642
+ archived: boolean;
643
+ columns: Array<Column>;
644
+ };
645
+ export type Card = {
646
+ taskId: string;
647
+ title: string;
648
+ value?: number;
649
+ ownerId?: string;
650
+ primaryContactId?: number;
651
+ primaryContact?: ContactPersonalDetailsRestricted | ContactPersonalDetailsVisible;
652
+ contactAssignedTo?: string;
653
+ stageEnteredAt: Date;
654
+ daysInStage: number;
655
+ openTodos: number;
656
+ totalTodos: number;
657
+ hasLeftoverOpenTodos: boolean;
658
+ };
659
+ export type Column = {
660
+ stageId: string;
661
+ name: string;
662
+ color: string;
663
+ position: number;
664
+ totalTasks: number;
665
+ totalValue: number;
666
+ cards: CursorPageCard;
667
+ };
668
+ export type CursorPageCard = {
669
+ items?: Array<Card>;
670
+ nextCursor?: string;
671
+ hasNext?: boolean;
672
+ };
673
+ export type ClosedTaskResponse = {
674
+ taskId: string;
675
+ title: string;
676
+ value?: number;
677
+ ownerId?: string;
678
+ primaryContactId?: number;
679
+ primaryContact?: ContactPersonalDetailsRestricted | ContactPersonalDetailsVisible;
680
+ contactAssignedTo?: string;
681
+ outcome: 'WON' | 'LOST';
682
+ lostReason?: 'NOT_WORKING_WITH_AGENTS' | 'NOT_RESPONDING' | 'ALREADY_SOLD' | 'COULD_NOT_NEGOTIATE_PRICE' | 'CHOSE_ANOTHER_AGENCY' | 'CHANGED_PLANS' | 'OUT_OF_BUDGET' | 'SPAM' | 'OTHER';
683
+ closedAt: Date;
684
+ /**
685
+ * Stage the task closed from
686
+ */
687
+ stageName: string;
688
+ };
689
+ export type PageMetadata = {
690
+ size?: number;
691
+ number?: number;
692
+ totalElements?: number;
693
+ totalPages?: number;
694
+ };
695
+ export type PagedModelClosedTaskResponse = {
696
+ content?: Array<ClosedTaskResponse>;
697
+ page?: PageMetadata;
698
+ };
521
699
  export type BoardWinRate = {
522
700
  boardId: string;
523
701
  name: string;
@@ -543,6 +721,47 @@ export type WinRateStats = {
543
721
  boards: Array<BoardWinRate>;
544
722
  members: Array<MemberWinRate>;
545
723
  };
724
+ export type StageVelocity = {
725
+ boardId: string;
726
+ boardName: string;
727
+ stageId: string;
728
+ stageName: string;
729
+ position: number;
730
+ avgDaysInStage: number;
731
+ /**
732
+ * Completed stays measured
733
+ */
734
+ samples: number;
735
+ };
736
+ export type StatsEnvelopeTaskVelocityStats = {
737
+ period: string;
738
+ computedAt: Date;
739
+ data: TaskVelocityStats;
740
+ };
741
+ export type TaskVelocityStats = {
742
+ stages: Array<StageVelocity>;
743
+ };
744
+ export type BoardFunnel = {
745
+ boardId: string;
746
+ name: string;
747
+ kind?: string;
748
+ stages: Array<StageSlice>;
749
+ };
750
+ export type StageSlice = {
751
+ stageId: string;
752
+ name: string;
753
+ position: number;
754
+ openTasks: number;
755
+ openValue: number;
756
+ };
757
+ export type StatsEnvelopeTaskFunnelStats = {
758
+ period: string;
759
+ computedAt: Date;
760
+ data: TaskFunnelStats;
761
+ };
762
+ export type TaskFunnelStats = {
763
+ boards: Array<BoardFunnel>;
764
+ };
546
765
  export type DealTypePrice = {
547
766
  listingType?: 'SALE' | 'RENT' | 'DAILY_RENT' | 'PLEDGE';
548
767
  buckets?: Array<Slice>;
@@ -629,10 +848,10 @@ export type Row = {
629
848
  firstName: string;
630
849
  lastName: string;
631
850
  photo: string;
632
- dealsWon: number;
851
+ tasksWon: number;
633
852
  wonValue: number;
634
853
  /**
635
- * Fixed amount, or rate/factor × deal value (null-value deals skipped)
854
+ * Fixed amount, or rate/factor × task value (null-value tasks skipped)
636
855
  */
637
856
  commission: number;
638
857
  recommendationsSent: number;
@@ -686,53 +905,6 @@ export type StatsEnvelopeDemandStats = {
686
905
  computedAt: Date;
687
906
  data: DemandStats;
688
907
  };
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
- };
730
- export type PageMetadata = {
731
- size?: number;
732
- number?: number;
733
- totalElements?: number;
734
- totalPages?: number;
735
- };
736
908
  export type PagedModelRoleResponse = {
737
909
  content?: Array<RoleResponse>;
738
910
  page?: PageMetadata;
@@ -983,17 +1155,6 @@ export type PropertyPageResponse = {
983
1155
  updatedAt: Date;
984
1156
  closeReason?: PropertyCloseReasonResponse;
985
1157
  };
986
- export type ContactPersonalDetails = unknown;
987
- export type ContactPersonalDetailsRestricted = {
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'>;
989
- status: 'RESTRICTED';
990
- };
991
- export type ContactPersonalDetailsVisible = {
992
- phoneNumber?: string;
993
- fullName?: string;
994
- email?: string;
995
- status: 'VISIBLE';
996
- };
997
1158
  export type ListingOwnerContactResponse = {
998
1159
  contactId: number;
999
1160
  personalDetails: ContactPersonalDetailsRestricted | ContactPersonalDetailsVisible;
@@ -1028,17 +1189,6 @@ export type CursorPageNotificationView = {
1028
1189
  nextCursor?: string;
1029
1190
  hasNext?: boolean;
1030
1191
  };
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
- };
1042
1192
  export type ListingExpired = {
1043
1193
  contactId?: ContactId;
1044
1194
  propertyId?: PropertyId;
@@ -1075,15 +1225,26 @@ export type NotificationFeed = {
1075
1225
  export type NotificationView = {
1076
1226
  id: string;
1077
1227
  seq: number;
1078
- type: 'AGENT_COMMENTED' | 'DEAL_COMMENTED' | 'EXTERNAL_LISTING_EXPIRED' | 'LISTING_EXPIRED' | 'NEW_SEEKER_RATING' | 'NEW_MESSAGE' | 'CONTACT_ASSIGNED';
1228
+ type: 'AGENT_COMMENTED' | 'TASK_COMMENTED' | 'EXTERNAL_LISTING_EXPIRED' | 'LISTING_EXPIRED' | 'NEW_SEEKER_RATING' | 'NEW_MESSAGE' | 'CONTACT_ASSIGNED';
1079
1229
  targetId?: string;
1080
- payload: AgentCommented | ContactAssigned | DealCommented | ListingExpired | NewMessage | NewSeekerRating;
1230
+ payload: AgentCommented | ContactAssigned | ListingExpired | NewMessage | NewSeekerRating | TaskCommented;
1081
1231
  createdAt: Date;
1082
1232
  read: boolean;
1083
1233
  };
1084
1234
  export type PropertyId = {
1085
1235
  value?: number;
1086
1236
  };
1237
+ export type TaskCommented = {
1238
+ commentId?: CommentId;
1239
+ taskId?: TaskId;
1240
+ authorId?: MemberId;
1241
+ author?: string;
1242
+ commentSnippet?: string;
1243
+ kind: 'TASK_COMMENTED';
1244
+ };
1245
+ export type TaskId = {
1246
+ value?: string;
1247
+ };
1087
1248
  export type UnreadCount = {
1088
1249
  count: number;
1089
1250
  };
@@ -1212,219 +1373,67 @@ export type PagedModelInvitationViewResponse = {
1212
1373
  content?: Array<InvitationViewResponse>;
1213
1374
  page?: PageMetadata;
1214
1375
  };
1215
- export type AreaRange = {
1216
- min?: number;
1217
- max?: number;
1218
- };
1219
- export type InterestGridResponse = {
1220
- interestId: number;
1221
- contactId?: number;
1222
- personalDetails: ContactPersonalDetailsRestricted | ContactPersonalDetailsVisible;
1223
- assignedTo?: AssignedToResponse;
1224
- createdBy: string;
1225
- 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'>;
1226
- listingType: 'SALE' | 'RENT' | 'DAILY_RENT' | 'PLEDGE';
1227
- priceRange?: PriceRange;
1228
- bedrooms?: RoomRange;
1229
- totalArea?: AreaRange;
1230
- livingArea?: AreaRange;
1231
- region?: LocationResponse;
1232
- district?: LocationResponse;
1233
- subdistrict?: LocationResponse;
1234
- street?: LocationResponse;
1235
- status: 'UNPUBLISHED' | 'PUBLISHED' | 'CLOSED';
1236
- };
1237
- export type Money = {
1238
- amount?: number;
1239
- negative?: boolean;
1240
- positive?: boolean;
1241
- zeroOrPositive?: boolean;
1242
- };
1243
- export type PagedModelInterestGridResponse = {
1244
- content?: Array<InterestGridResponse>;
1245
- page?: PageMetadata;
1246
- };
1247
- export type PriceRange = {
1248
- min?: Money;
1249
- max?: Money;
1250
- };
1251
- export type RoomRange = {
1252
- min?: number;
1253
- max?: number;
1254
- };
1255
- export type CursorPageInboxResponse = {
1256
- items?: Array<InboxResponse>;
1257
- nextCursor?: string;
1258
- hasNext?: boolean;
1259
- };
1260
- export type InboxResponse = {
1261
- conversationId?: string;
1262
- lastMessageAt?: Date;
1263
- unreadCount?: number;
1264
- lastMessagePreview?: string;
1265
- direction?: 'INBOUND' | 'OUTBOUND';
1266
- channelType?: 'FACEBOOK' | 'INSTAGRAM' | 'WHATSAPP';
1267
- contactId?: number;
1268
- isReachable?: boolean;
1269
- windowExpiresAt?: Date;
1270
- contactFirstName?: string;
1271
- contactLastName?: string;
1272
- managedBy?: string;
1273
- memberFirstName?: string;
1274
- memberLastName?: string;
1275
- memberPicture?: string;
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;
1376
+ export type AreaRange = {
1377
+ min?: number;
1378
+ max?: number;
1357
1379
  };
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;
1380
+ export type InterestGridResponse = {
1381
+ interestId: number;
1382
+ contactId?: number;
1383
+ personalDetails: ContactPersonalDetailsRestricted | ContactPersonalDetailsVisible;
1384
+ assignedTo?: AssignedToResponse;
1385
+ createdBy: string;
1386
+ 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'>;
1387
+ listingType: 'SALE' | 'RENT' | 'DAILY_RENT' | 'PLEDGE';
1388
+ priceRange?: PriceRange;
1389
+ bedrooms?: RoomRange;
1390
+ totalArea?: AreaRange;
1391
+ livingArea?: AreaRange;
1392
+ region?: LocationResponse;
1393
+ district?: LocationResponse;
1394
+ subdistrict?: LocationResponse;
1395
+ street?: LocationResponse;
1396
+ status: 'UNPUBLISHED' | 'PUBLISHED' | 'CLOSED';
1367
1397
  };
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;
1398
+ export type Money = {
1399
+ amount?: number;
1400
+ negative?: boolean;
1401
+ positive?: boolean;
1402
+ zeroOrPositive?: boolean;
1378
1403
  };
1379
- export type BoardGridResponse = {
1380
- boardId: string;
1381
- name: string;
1382
- kind?: 'OWNER' | 'SEEKER';
1383
- archived: boolean;
1384
- columns: Array<Column>;
1404
+ export type PagedModelInterestGridResponse = {
1405
+ content?: Array<InterestGridResponse>;
1406
+ page?: PageMetadata;
1385
1407
  };
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;
1408
+ export type PriceRange = {
1409
+ min?: Money;
1410
+ max?: Money;
1399
1411
  };
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>;
1412
+ export type RoomRange = {
1413
+ min?: number;
1414
+ max?: number;
1408
1415
  };
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;
1416
+ export type CursorPageInboxResponse = {
1417
+ items?: Array<InboxResponse>;
1418
+ nextCursor?: string;
1419
+ hasNext?: boolean;
1424
1420
  };
1425
- export type PagedModelClosedDealResponse = {
1426
- content?: Array<ClosedDealResponse>;
1427
- page?: PageMetadata;
1421
+ export type InboxResponse = {
1422
+ conversationId?: string;
1423
+ lastMessageAt?: Date;
1424
+ unreadCount?: number;
1425
+ lastMessagePreview?: string;
1426
+ direction?: 'INBOUND' | 'OUTBOUND';
1427
+ channelType?: 'FACEBOOK' | 'INSTAGRAM' | 'WHATSAPP';
1428
+ contactId?: number;
1429
+ isReachable?: boolean;
1430
+ windowExpiresAt?: Date;
1431
+ contactFirstName?: string;
1432
+ contactLastName?: string;
1433
+ managedBy?: string;
1434
+ memberFirstName?: string;
1435
+ memberLastName?: string;
1436
+ memberPicture?: string;
1428
1437
  };
1429
1438
  export type Image = {
1430
1439
  urls?: Array<string>;
@@ -1509,7 +1518,7 @@ export type Client360Response = {
1509
1518
  updatedAt: Date;
1510
1519
  interests: Array<ContactInterestResponse>;
1511
1520
  properties: Array<ContactPropertyResponse>;
1512
- deals: Array<ContactDealResponse>;
1521
+ tasks: Array<ContactTaskResponse>;
1513
1522
  };
1514
1523
  export type CommunicationPreferenceResponse = {
1515
1524
  preferredContactMethod?: 'WHATSAPP' | 'VIBER' | 'PHONE_CALL';
@@ -1572,6 +1581,19 @@ export type PhoneDuplicateCheckResponse = {
1572
1581
  policy: 'ALLOW' | 'WARN' | 'PREVENT';
1573
1582
  matches: Array<DuplicateContactInfo>;
1574
1583
  };
1584
+ export type BoardSummaryResponse = {
1585
+ boardId: string;
1586
+ kind?: 'OWNER' | 'SEEKER';
1587
+ name: string;
1588
+ archived: boolean;
1589
+ stages: Array<StageSummaryResponse>;
1590
+ };
1591
+ export type StageSummaryResponse = {
1592
+ stageId: string;
1593
+ name: string;
1594
+ color: string;
1595
+ position: number;
1596
+ };
1575
1597
  export type BoardResponse = {
1576
1598
  boardId: string;
1577
1599
  kind?: 'OWNER' | 'SEEKER';
@@ -1586,14 +1608,14 @@ export type StageResponse = {
1586
1608
  color: string;
1587
1609
  position: number;
1588
1610
  active: boolean;
1589
- taskTemplates: Array<TaskTemplateResponse>;
1611
+ todoTemplates: Array<TodoTemplateResponse>;
1590
1612
  };
1591
- export type TaskTemplateResponse = {
1613
+ export type TodoTemplateResponse = {
1592
1614
  templateId: string;
1593
1615
  title: string;
1594
1616
  position: number;
1595
1617
  };
1596
- export type DealSettingsResponse = {
1618
+ export type TaskSettingsResponse = {
1597
1619
  defaultBoardId?: string;
1598
1620
  defaultStageId?: string;
1599
1621
  };
@@ -1805,366 +1827,366 @@ export type PutUserMeEmailRequestResponses = {
1805
1827
  */
1806
1828
  200: unknown;
1807
1829
  };
1808
- export type DeleteRolesByRoleIdData = {
1830
+ export type DeleteTasksByTaskIdCommentsByCommentIdData = {
1809
1831
  body?: never;
1810
1832
  path: {
1811
- roleId: number;
1833
+ taskId: string;
1834
+ commentId: string;
1812
1835
  };
1813
1836
  query?: never;
1814
- url: '/roles/{roleId}';
1837
+ url: '/tasks/{taskId}/comments/{commentId}';
1815
1838
  };
1816
- export type DeleteRolesByRoleIdResponses = {
1839
+ export type DeleteTasksByTaskIdCommentsByCommentIdResponses = {
1817
1840
  /**
1818
- * No Content
1841
+ * OK
1819
1842
  */
1820
- 204: void;
1843
+ 200: unknown;
1821
1844
  };
1822
- export type DeleteRolesByRoleIdResponse = DeleteRolesByRoleIdResponses[keyof DeleteRolesByRoleIdResponses];
1823
- export type PutRolesByRoleIdData = {
1824
- body: RolesRequest;
1845
+ export type PutTasksByTaskIdCommentsByCommentIdData = {
1846
+ body: CommentBodyRequest;
1825
1847
  path: {
1826
- roleId: number;
1848
+ taskId: string;
1849
+ commentId: string;
1827
1850
  };
1828
1851
  query?: never;
1829
- url: '/roles/{roleId}';
1852
+ url: '/tasks/{taskId}/comments/{commentId}';
1830
1853
  };
1831
- export type PutRolesByRoleIdResponses = {
1854
+ export type PutTasksByTaskIdCommentsByCommentIdResponses = {
1832
1855
  /**
1833
- * No Content
1856
+ * OK
1834
1857
  */
1835
- 204: void;
1858
+ 200: unknown;
1836
1859
  };
1837
- export type PutRolesByRoleIdResponse = PutRolesByRoleIdResponses[keyof PutRolesByRoleIdResponses];
1838
- export type PutMemberByMemberIdRoleData = {
1839
- body: AssignRoleRequest;
1860
+ export type PutTaskByTaskIdWonData = {
1861
+ body?: never;
1840
1862
  path: {
1841
- memberId: string;
1863
+ taskId: string;
1842
1864
  };
1843
1865
  query?: never;
1844
- url: '/member/{memberId}/role';
1866
+ url: '/task/{taskId}/won';
1845
1867
  };
1846
- export type PutMemberByMemberIdRoleResponses = {
1868
+ export type PutTaskByTaskIdWonResponses = {
1847
1869
  /**
1848
1870
  * No Content
1849
1871
  */
1850
1872
  204: void;
1851
1873
  };
1852
- export type PutMemberByMemberIdRoleResponse = PutMemberByMemberIdRoleResponses[keyof PutMemberByMemberIdRoleResponses];
1853
- export type PutMemberRoleData = {
1854
- body: BatchAssignRoleRequest;
1855
- path?: never;
1874
+ export type PutTaskByTaskIdWonResponse = PutTaskByTaskIdWonResponses[keyof PutTaskByTaskIdWonResponses];
1875
+ export type PutTaskByTaskIdValueData = {
1876
+ body: SetTaskValueRequest;
1877
+ path: {
1878
+ taskId: string;
1879
+ };
1856
1880
  query?: never;
1857
- url: '/member/role';
1881
+ url: '/task/{taskId}/value';
1858
1882
  };
1859
- export type PutMemberRoleResponses = {
1883
+ export type PutTaskByTaskIdValueResponses = {
1860
1884
  /**
1861
1885
  * No Content
1862
1886
  */
1863
1887
  204: void;
1864
1888
  };
1865
- export type PutMemberRoleResponse = PutMemberRoleResponses[keyof PutMemberRoleResponses];
1866
- export type PutMeetingsByMeetingIdData = {
1867
- body: UpdateMeetingRequest;
1889
+ export type PutTaskByTaskIdValueResponse = PutTaskByTaskIdValueResponses[keyof PutTaskByTaskIdValueResponses];
1890
+ export type PutTaskByTaskIdTransferData = {
1891
+ body: TransferTaskRequest;
1868
1892
  path: {
1869
- meetingId: string;
1893
+ taskId: string;
1870
1894
  };
1871
1895
  query?: never;
1872
- url: '/meetings/{meetingId}';
1896
+ url: '/task/{taskId}/transfer';
1873
1897
  };
1874
- export type PutMeetingsByMeetingIdResponses = {
1898
+ export type PutTaskByTaskIdTransferResponses = {
1875
1899
  /**
1876
1900
  * No Content
1877
1901
  */
1878
1902
  204: void;
1879
1903
  };
1880
- export type PutMeetingsByMeetingIdResponse = PutMeetingsByMeetingIdResponses[keyof PutMeetingsByMeetingIdResponses];
1881
- export type PutMeetingsByMeetingIdRescheduleData = {
1882
- body: RescheduleRequest;
1904
+ export type PutTaskByTaskIdTransferResponse = PutTaskByTaskIdTransferResponses[keyof PutTaskByTaskIdTransferResponses];
1905
+ export type PutTaskByTaskIdReopenData = {
1906
+ body?: never;
1883
1907
  path: {
1884
- meetingId: string;
1908
+ taskId: string;
1885
1909
  };
1886
1910
  query?: never;
1887
- url: '/meetings/{meetingId}/reschedule';
1911
+ url: '/task/{taskId}/reopen';
1888
1912
  };
1889
- export type PutMeetingsByMeetingIdRescheduleResponses = {
1913
+ export type PutTaskByTaskIdReopenResponses = {
1890
1914
  /**
1891
1915
  * No Content
1892
1916
  */
1893
1917
  204: void;
1894
1918
  };
1895
- export type PutMeetingsByMeetingIdRescheduleResponse = PutMeetingsByMeetingIdRescheduleResponses[keyof PutMeetingsByMeetingIdRescheduleResponses];
1896
- export type PutMeetingsByMeetingIdCancelData = {
1897
- body?: never;
1919
+ export type PutTaskByTaskIdReopenResponse = PutTaskByTaskIdReopenResponses[keyof PutTaskByTaskIdReopenResponses];
1920
+ export type PutTaskByTaskIdRenameData = {
1921
+ body: RenameTaskRequest;
1898
1922
  path: {
1899
- meetingId: string;
1923
+ taskId: string;
1900
1924
  };
1901
1925
  query?: never;
1902
- url: '/meetings/{meetingId}/cancel';
1926
+ url: '/task/{taskId}/rename';
1903
1927
  };
1904
- export type PutMeetingsByMeetingIdCancelResponses = {
1928
+ export type PutTaskByTaskIdRenameResponses = {
1905
1929
  /**
1906
1930
  * No Content
1907
1931
  */
1908
1932
  204: void;
1909
1933
  };
1910
- export type PutMeetingsByMeetingIdCancelResponse = PutMeetingsByMeetingIdCancelResponses[keyof PutMeetingsByMeetingIdCancelResponses];
1911
- export type DeleteDealsByDealIdCommentsByCommentIdData = {
1934
+ export type PutTaskByTaskIdRenameResponse = PutTaskByTaskIdRenameResponses[keyof PutTaskByTaskIdRenameResponses];
1935
+ export type PutTaskByTaskIdOwnerByMemberIdData = {
1912
1936
  body?: never;
1913
1937
  path: {
1914
- dealId: string;
1915
- commentId: string;
1938
+ taskId: string;
1939
+ memberId: string;
1916
1940
  };
1917
1941
  query?: never;
1918
- url: '/deals/{dealId}/comments/{commentId}';
1942
+ url: '/task/{taskId}/owner/{memberId}';
1919
1943
  };
1920
- export type DeleteDealsByDealIdCommentsByCommentIdResponses = {
1944
+ export type PutTaskByTaskIdOwnerByMemberIdResponses = {
1921
1945
  /**
1922
- * OK
1946
+ * No Content
1923
1947
  */
1924
- 200: unknown;
1948
+ 204: void;
1925
1949
  };
1926
- export type PutDealsByDealIdCommentsByCommentIdData = {
1927
- body: CommentBodyRequest;
1950
+ export type PutTaskByTaskIdOwnerByMemberIdResponse = PutTaskByTaskIdOwnerByMemberIdResponses[keyof PutTaskByTaskIdOwnerByMemberIdResponses];
1951
+ export type PutTaskByTaskIdMoveData = {
1952
+ body: MoveTaskRequest;
1928
1953
  path: {
1929
- dealId: string;
1930
- commentId: string;
1954
+ taskId: string;
1931
1955
  };
1932
1956
  query?: never;
1933
- url: '/deals/{dealId}/comments/{commentId}';
1957
+ url: '/task/{taskId}/move';
1934
1958
  };
1935
- export type PutDealsByDealIdCommentsByCommentIdResponses = {
1959
+ export type PutTaskByTaskIdMoveResponses = {
1936
1960
  /**
1937
- * OK
1961
+ * No Content
1938
1962
  */
1939
- 200: unknown;
1963
+ 204: void;
1940
1964
  };
1941
- export type PutDealByDealIdWonData = {
1942
- body?: never;
1965
+ export type PutTaskByTaskIdMoveResponse = PutTaskByTaskIdMoveResponses[keyof PutTaskByTaskIdMoveResponses];
1966
+ export type PutTaskByTaskIdLostData = {
1967
+ body: MarkTaskLostRequest;
1943
1968
  path: {
1944
- dealId: string;
1969
+ taskId: string;
1945
1970
  };
1946
1971
  query?: never;
1947
- url: '/deal/{dealId}/won';
1972
+ url: '/task/{taskId}/lost';
1948
1973
  };
1949
- export type PutDealByDealIdWonResponses = {
1974
+ export type PutTaskByTaskIdLostResponses = {
1950
1975
  /**
1951
1976
  * No Content
1952
1977
  */
1953
1978
  204: void;
1954
1979
  };
1955
- export type PutDealByDealIdWonResponse = PutDealByDealIdWonResponses[keyof PutDealByDealIdWonResponses];
1956
- export type PutDealByDealIdValueData = {
1957
- body: SetDealValueRequest;
1980
+ export type PutTaskByTaskIdLostResponse = PutTaskByTaskIdLostResponses[keyof PutTaskByTaskIdLostResponses];
1981
+ export type PutTaskByTaskIdExpectedCloseDateData = {
1982
+ body: SetExpectedCloseDateRequest;
1958
1983
  path: {
1959
- dealId: string;
1984
+ taskId: string;
1960
1985
  };
1961
1986
  query?: never;
1962
- url: '/deal/{dealId}/value';
1987
+ url: '/task/{taskId}/expected-close-date';
1963
1988
  };
1964
- export type PutDealByDealIdValueResponses = {
1989
+ export type PutTaskByTaskIdExpectedCloseDateResponses = {
1965
1990
  /**
1966
1991
  * No Content
1967
1992
  */
1968
1993
  204: void;
1969
1994
  };
1970
- export type PutDealByDealIdValueResponse = PutDealByDealIdValueResponses[keyof PutDealByDealIdValueResponses];
1971
- export type PutDealByDealIdTransferData = {
1972
- body: TransferDealRequest;
1995
+ export type PutTaskByTaskIdExpectedCloseDateResponse = PutTaskByTaskIdExpectedCloseDateResponses[keyof PutTaskByTaskIdExpectedCloseDateResponses];
1996
+ export type PutTaskByTaskIdDescriptionData = {
1997
+ body: DescribeTaskRequest;
1973
1998
  path: {
1974
- dealId: string;
1999
+ taskId: string;
1975
2000
  };
1976
2001
  query?: never;
1977
- url: '/deal/{dealId}/transfer';
2002
+ url: '/task/{taskId}/description';
1978
2003
  };
1979
- export type PutDealByDealIdTransferResponses = {
2004
+ export type PutTaskByTaskIdDescriptionResponses = {
1980
2005
  /**
1981
2006
  * No Content
1982
2007
  */
1983
2008
  204: void;
1984
2009
  };
1985
- export type PutDealByDealIdTransferResponse = PutDealByDealIdTransferResponses[keyof PutDealByDealIdTransferResponses];
1986
- export type PutDealByDealIdReopenData = {
2010
+ export type PutTaskByTaskIdDescriptionResponse = PutTaskByTaskIdDescriptionResponses[keyof PutTaskByTaskIdDescriptionResponses];
2011
+ export type PutTaskByTaskIdContactByContactIdPrimaryData = {
1987
2012
  body?: never;
1988
2013
  path: {
1989
- dealId: string;
2014
+ taskId: string;
2015
+ contactId: number;
1990
2016
  };
1991
2017
  query?: never;
1992
- url: '/deal/{dealId}/reopen';
2018
+ url: '/task/{taskId}/contact/{contactId}/primary';
1993
2019
  };
1994
- export type PutDealByDealIdReopenResponses = {
2020
+ export type PutTaskByTaskIdContactByContactIdPrimaryResponses = {
1995
2021
  /**
1996
2022
  * No Content
1997
2023
  */
1998
2024
  204: void;
1999
2025
  };
2000
- export type PutDealByDealIdReopenResponse = PutDealByDealIdReopenResponses[keyof PutDealByDealIdReopenResponses];
2001
- export type PutDealByDealIdRenameData = {
2002
- body: RenameDealRequest;
2026
+ export type PutTaskByTaskIdContactByContactIdPrimaryResponse = PutTaskByTaskIdContactByContactIdPrimaryResponses[keyof PutTaskByTaskIdContactByContactIdPrimaryResponses];
2027
+ export type PutTaskByTaskIdCommissionData = {
2028
+ body: SetTaskCommissionRequest;
2003
2029
  path: {
2004
- dealId: string;
2030
+ taskId: string;
2005
2031
  };
2006
2032
  query?: never;
2007
- url: '/deal/{dealId}/rename';
2033
+ url: '/task/{taskId}/commission';
2008
2034
  };
2009
- export type PutDealByDealIdRenameResponses = {
2035
+ export type PutTaskByTaskIdCommissionResponses = {
2010
2036
  /**
2011
2037
  * No Content
2012
2038
  */
2013
2039
  204: void;
2014
2040
  };
2015
- export type PutDealByDealIdRenameResponse = PutDealByDealIdRenameResponses[keyof PutDealByDealIdRenameResponses];
2016
- export type PutDealByDealIdOwnerByMemberIdData = {
2041
+ export type PutTaskByTaskIdCommissionResponse = PutTaskByTaskIdCommissionResponses[keyof PutTaskByTaskIdCommissionResponses];
2042
+ export type PutTaskTodoByTodoIdReopenData = {
2017
2043
  body?: never;
2018
2044
  path: {
2019
- dealId: string;
2020
- memberId: string;
2045
+ todoId: string;
2021
2046
  };
2022
2047
  query?: never;
2023
- url: '/deal/{dealId}/owner/{memberId}';
2048
+ url: '/task-todo/{todoId}/reopen';
2024
2049
  };
2025
- export type PutDealByDealIdOwnerByMemberIdResponses = {
2050
+ export type PutTaskTodoByTodoIdReopenResponses = {
2026
2051
  /**
2027
2052
  * No Content
2028
2053
  */
2029
2054
  204: void;
2030
2055
  };
2031
- export type PutDealByDealIdOwnerByMemberIdResponse = PutDealByDealIdOwnerByMemberIdResponses[keyof PutDealByDealIdOwnerByMemberIdResponses];
2032
- export type PutDealByDealIdMoveData = {
2033
- body: MoveDealRequest;
2056
+ export type PutTaskTodoByTodoIdReopenResponse = PutTaskTodoByTodoIdReopenResponses[keyof PutTaskTodoByTodoIdReopenResponses];
2057
+ export type PutTaskTodoByTodoIdRenameData = {
2058
+ body: RenameTodoRequest;
2034
2059
  path: {
2035
- dealId: string;
2060
+ todoId: string;
2036
2061
  };
2037
2062
  query?: never;
2038
- url: '/deal/{dealId}/move';
2063
+ url: '/task-todo/{todoId}/rename';
2039
2064
  };
2040
- export type PutDealByDealIdMoveResponses = {
2065
+ export type PutTaskTodoByTodoIdRenameResponses = {
2041
2066
  /**
2042
2067
  * No Content
2043
2068
  */
2044
2069
  204: void;
2045
2070
  };
2046
- export type PutDealByDealIdMoveResponse = PutDealByDealIdMoveResponses[keyof PutDealByDealIdMoveResponses];
2047
- export type PutDealByDealIdLostData = {
2048
- body: MarkDealLostRequest;
2071
+ export type PutTaskTodoByTodoIdRenameResponse = PutTaskTodoByTodoIdRenameResponses[keyof PutTaskTodoByTodoIdRenameResponses];
2072
+ export type PutTaskTodoByTodoIdCompleteData = {
2073
+ body?: never;
2049
2074
  path: {
2050
- dealId: string;
2075
+ todoId: string;
2051
2076
  };
2052
2077
  query?: never;
2053
- url: '/deal/{dealId}/lost';
2078
+ url: '/task-todo/{todoId}/complete';
2054
2079
  };
2055
- export type PutDealByDealIdLostResponses = {
2080
+ export type PutTaskTodoByTodoIdCompleteResponses = {
2056
2081
  /**
2057
2082
  * No Content
2058
2083
  */
2059
2084
  204: void;
2060
2085
  };
2061
- export type PutDealByDealIdLostResponse = PutDealByDealIdLostResponses[keyof PutDealByDealIdLostResponses];
2062
- export type PutDealByDealIdExpectedCloseDateData = {
2063
- body: SetExpectedCloseDateRequest;
2086
+ export type PutTaskTodoByTodoIdCompleteResponse = PutTaskTodoByTodoIdCompleteResponses[keyof PutTaskTodoByTodoIdCompleteResponses];
2087
+ export type DeleteRolesByRoleIdData = {
2088
+ body?: never;
2064
2089
  path: {
2065
- dealId: string;
2090
+ roleId: number;
2066
2091
  };
2067
2092
  query?: never;
2068
- url: '/deal/{dealId}/expected-close-date';
2093
+ url: '/roles/{roleId}';
2069
2094
  };
2070
- export type PutDealByDealIdExpectedCloseDateResponses = {
2095
+ export type DeleteRolesByRoleIdResponses = {
2071
2096
  /**
2072
2097
  * No Content
2073
2098
  */
2074
2099
  204: void;
2075
2100
  };
2076
- export type PutDealByDealIdExpectedCloseDateResponse = PutDealByDealIdExpectedCloseDateResponses[keyof PutDealByDealIdExpectedCloseDateResponses];
2077
- export type PutDealByDealIdDescriptionData = {
2078
- body: DescribeDealRequest;
2101
+ export type DeleteRolesByRoleIdResponse = DeleteRolesByRoleIdResponses[keyof DeleteRolesByRoleIdResponses];
2102
+ export type PutRolesByRoleIdData = {
2103
+ body: RolesRequest;
2079
2104
  path: {
2080
- dealId: string;
2105
+ roleId: number;
2081
2106
  };
2082
2107
  query?: never;
2083
- url: '/deal/{dealId}/description';
2108
+ url: '/roles/{roleId}';
2084
2109
  };
2085
- export type PutDealByDealIdDescriptionResponses = {
2110
+ export type PutRolesByRoleIdResponses = {
2086
2111
  /**
2087
2112
  * No Content
2088
2113
  */
2089
2114
  204: void;
2090
2115
  };
2091
- export type PutDealByDealIdDescriptionResponse = PutDealByDealIdDescriptionResponses[keyof PutDealByDealIdDescriptionResponses];
2092
- export type PutDealByDealIdContactByContactIdPrimaryData = {
2093
- body?: never;
2116
+ export type PutRolesByRoleIdResponse = PutRolesByRoleIdResponses[keyof PutRolesByRoleIdResponses];
2117
+ export type PutMemberByMemberIdRoleData = {
2118
+ body: AssignRoleRequest;
2094
2119
  path: {
2095
- dealId: string;
2096
- contactId: number;
2120
+ memberId: string;
2097
2121
  };
2098
2122
  query?: never;
2099
- url: '/deal/{dealId}/contact/{contactId}/primary';
2123
+ url: '/member/{memberId}/role';
2100
2124
  };
2101
- export type PutDealByDealIdContactByContactIdPrimaryResponses = {
2125
+ export type PutMemberByMemberIdRoleResponses = {
2102
2126
  /**
2103
2127
  * No Content
2104
2128
  */
2105
2129
  204: void;
2106
2130
  };
2107
- export type PutDealByDealIdContactByContactIdPrimaryResponse = PutDealByDealIdContactByContactIdPrimaryResponses[keyof PutDealByDealIdContactByContactIdPrimaryResponses];
2108
- export type PutDealByDealIdCommissionData = {
2109
- body: SetDealCommissionRequest;
2110
- path: {
2111
- dealId: string;
2112
- };
2131
+ export type PutMemberByMemberIdRoleResponse = PutMemberByMemberIdRoleResponses[keyof PutMemberByMemberIdRoleResponses];
2132
+ export type PutMemberRoleData = {
2133
+ body: BatchAssignRoleRequest;
2134
+ path?: never;
2113
2135
  query?: never;
2114
- url: '/deal/{dealId}/commission';
2136
+ url: '/member/role';
2115
2137
  };
2116
- export type PutDealByDealIdCommissionResponses = {
2138
+ export type PutMemberRoleResponses = {
2117
2139
  /**
2118
2140
  * No Content
2119
2141
  */
2120
2142
  204: void;
2121
2143
  };
2122
- export type PutDealByDealIdCommissionResponse = PutDealByDealIdCommissionResponses[keyof PutDealByDealIdCommissionResponses];
2123
- export type PutDealTaskByTaskIdReopenData = {
2124
- body?: never;
2144
+ export type PutMemberRoleResponse = PutMemberRoleResponses[keyof PutMemberRoleResponses];
2145
+ export type PutMeetingsByMeetingIdData = {
2146
+ body: UpdateMeetingRequest;
2125
2147
  path: {
2126
- taskId: string;
2148
+ meetingId: string;
2127
2149
  };
2128
2150
  query?: never;
2129
- url: '/deal-task/{taskId}/reopen';
2151
+ url: '/meetings/{meetingId}';
2130
2152
  };
2131
- export type PutDealTaskByTaskIdReopenResponses = {
2153
+ export type PutMeetingsByMeetingIdResponses = {
2132
2154
  /**
2133
2155
  * No Content
2134
2156
  */
2135
2157
  204: void;
2136
2158
  };
2137
- export type PutDealTaskByTaskIdReopenResponse = PutDealTaskByTaskIdReopenResponses[keyof PutDealTaskByTaskIdReopenResponses];
2138
- export type PutDealTaskByTaskIdRenameData = {
2139
- body: RenameTaskRequest;
2159
+ export type PutMeetingsByMeetingIdResponse = PutMeetingsByMeetingIdResponses[keyof PutMeetingsByMeetingIdResponses];
2160
+ export type PutMeetingsByMeetingIdRescheduleData = {
2161
+ body: RescheduleRequest;
2140
2162
  path: {
2141
- taskId: string;
2163
+ meetingId: string;
2142
2164
  };
2143
2165
  query?: never;
2144
- url: '/deal-task/{taskId}/rename';
2166
+ url: '/meetings/{meetingId}/reschedule';
2145
2167
  };
2146
- export type PutDealTaskByTaskIdRenameResponses = {
2168
+ export type PutMeetingsByMeetingIdRescheduleResponses = {
2147
2169
  /**
2148
2170
  * No Content
2149
2171
  */
2150
2172
  204: void;
2151
2173
  };
2152
- export type PutDealTaskByTaskIdRenameResponse = PutDealTaskByTaskIdRenameResponses[keyof PutDealTaskByTaskIdRenameResponses];
2153
- export type PutDealTaskByTaskIdCompleteData = {
2174
+ export type PutMeetingsByMeetingIdRescheduleResponse = PutMeetingsByMeetingIdRescheduleResponses[keyof PutMeetingsByMeetingIdRescheduleResponses];
2175
+ export type PutMeetingsByMeetingIdCancelData = {
2154
2176
  body?: never;
2155
2177
  path: {
2156
- taskId: string;
2178
+ meetingId: string;
2157
2179
  };
2158
2180
  query?: never;
2159
- url: '/deal-task/{taskId}/complete';
2181
+ url: '/meetings/{meetingId}/cancel';
2160
2182
  };
2161
- export type PutDealTaskByTaskIdCompleteResponses = {
2183
+ export type PutMeetingsByMeetingIdCancelResponses = {
2162
2184
  /**
2163
2185
  * No Content
2164
2186
  */
2165
2187
  204: void;
2166
2188
  };
2167
- export type PutDealTaskByTaskIdCompleteResponse = PutDealTaskByTaskIdCompleteResponses[keyof PutDealTaskByTaskIdCompleteResponses];
2189
+ export type PutMeetingsByMeetingIdCancelResponse = PutMeetingsByMeetingIdCancelResponses[keyof PutMeetingsByMeetingIdCancelResponses];
2168
2190
  export type PutContactsByContactIdPropertiesByPropertyIdListingsByListingIdPriceData = {
2169
2191
  body: UpdateListingPriceRequest;
2170
2192
  path: {
@@ -2496,7 +2518,7 @@ export type PutBoardByBoardIdStageByStageIdTemplateByTemplateIdRenameResponses =
2496
2518
  };
2497
2519
  export type PutBoardByBoardIdStageByStageIdTemplateByTemplateIdRenameResponse = PutBoardByBoardIdStageByStageIdTemplateByTemplateIdRenameResponses[keyof PutBoardByBoardIdStageByStageIdTemplateByTemplateIdRenameResponses];
2498
2520
  export type PutBoardByBoardIdStageByStageIdTemplateOrderData = {
2499
- body: ReorderTaskTemplatesRequest;
2521
+ body: ReorderTodoTemplatesRequest;
2500
2522
  path: {
2501
2523
  boardId: string;
2502
2524
  stageId: string;
@@ -2630,11 +2652,11 @@ export type GetBoardSettingsResponses = {
2630
2652
  /**
2631
2653
  * OK
2632
2654
  */
2633
- 200: DealSettingsResponse;
2655
+ 200: TaskSettingsResponse;
2634
2656
  };
2635
2657
  export type GetBoardSettingsResponse = GetBoardSettingsResponses[keyof GetBoardSettingsResponses];
2636
2658
  export type PutBoardSettingsData = {
2637
- body: SetDealSettingsRequest;
2659
+ body: SetTaskSettingsRequest;
2638
2660
  path?: never;
2639
2661
  query?: never;
2640
2662
  url: '/board/settings';
@@ -2816,6 +2838,173 @@ export type PostWalletDepositResponses = {
2816
2838
  204: void;
2817
2839
  };
2818
2840
  export type PostWalletDepositResponse = PostWalletDepositResponses[keyof PostWalletDepositResponses];
2841
+ export type PostTelegramConnectLinkData = {
2842
+ body?: never;
2843
+ path?: never;
2844
+ query?: never;
2845
+ url: '/telegram/connect-link';
2846
+ };
2847
+ export type PostTelegramConnectLinkResponses = {
2848
+ /**
2849
+ * OK
2850
+ */
2851
+ 200: ConnectLinkResponse;
2852
+ };
2853
+ export type PostTelegramConnectLinkResponse = PostTelegramConnectLinkResponses[keyof PostTelegramConnectLinkResponses];
2854
+ export type GetTasksByTaskIdCommentsData = {
2855
+ body?: never;
2856
+ path: {
2857
+ taskId: string;
2858
+ };
2859
+ query?: {
2860
+ onlyMine?: boolean;
2861
+ cursor?: string;
2862
+ limit?: number;
2863
+ };
2864
+ url: '/tasks/{taskId}/comments';
2865
+ };
2866
+ export type GetTasksByTaskIdCommentsResponses = {
2867
+ /**
2868
+ * OK
2869
+ */
2870
+ 200: CursorPageCommentView;
2871
+ };
2872
+ export type GetTasksByTaskIdCommentsResponse = GetTasksByTaskIdCommentsResponses[keyof GetTasksByTaskIdCommentsResponses];
2873
+ export type PostTasksByTaskIdCommentsData = {
2874
+ body: CommentBodyRequest;
2875
+ path: {
2876
+ taskId: string;
2877
+ };
2878
+ query?: never;
2879
+ url: '/tasks/{taskId}/comments';
2880
+ };
2881
+ export type PostTasksByTaskIdCommentsResponses = {
2882
+ /**
2883
+ * OK
2884
+ */
2885
+ 200: IdResponseUuid;
2886
+ };
2887
+ export type PostTasksByTaskIdCommentsResponse = PostTasksByTaskIdCommentsResponses[keyof PostTasksByTaskIdCommentsResponses];
2888
+ export type PostTaskData = {
2889
+ body: OpenTaskRequest;
2890
+ path?: never;
2891
+ query?: never;
2892
+ url: '/task';
2893
+ };
2894
+ export type PostTaskResponses = {
2895
+ /**
2896
+ * Created
2897
+ */
2898
+ 201: IdResponseUuid;
2899
+ };
2900
+ export type PostTaskResponse = PostTaskResponses[keyof PostTaskResponses];
2901
+ export type PostTaskByTaskIdPropertyData = {
2902
+ body: LinkPropertyRequest;
2903
+ path: {
2904
+ taskId: string;
2905
+ };
2906
+ query?: never;
2907
+ url: '/task/{taskId}/property';
2908
+ };
2909
+ export type PostTaskByTaskIdPropertyResponses = {
2910
+ /**
2911
+ * No Content
2912
+ */
2913
+ 204: void;
2914
+ };
2915
+ export type PostTaskByTaskIdPropertyResponse = PostTaskByTaskIdPropertyResponses[keyof PostTaskByTaskIdPropertyResponses];
2916
+ export type DeleteTaskByTaskIdParticipantByMemberIdData = {
2917
+ body?: never;
2918
+ path: {
2919
+ taskId: string;
2920
+ memberId: string;
2921
+ };
2922
+ query?: never;
2923
+ url: '/task/{taskId}/participant/{memberId}';
2924
+ };
2925
+ export type DeleteTaskByTaskIdParticipantByMemberIdResponses = {
2926
+ /**
2927
+ * No Content
2928
+ */
2929
+ 204: void;
2930
+ };
2931
+ export type DeleteTaskByTaskIdParticipantByMemberIdResponse = DeleteTaskByTaskIdParticipantByMemberIdResponses[keyof DeleteTaskByTaskIdParticipantByMemberIdResponses];
2932
+ export type PostTaskByTaskIdParticipantByMemberIdData = {
2933
+ body?: never;
2934
+ path: {
2935
+ taskId: string;
2936
+ memberId: string;
2937
+ };
2938
+ query?: never;
2939
+ url: '/task/{taskId}/participant/{memberId}';
2940
+ };
2941
+ export type PostTaskByTaskIdParticipantByMemberIdResponses = {
2942
+ /**
2943
+ * No Content
2944
+ */
2945
+ 204: void;
2946
+ };
2947
+ export type PostTaskByTaskIdParticipantByMemberIdResponse = PostTaskByTaskIdParticipantByMemberIdResponses[keyof PostTaskByTaskIdParticipantByMemberIdResponses];
2948
+ export type PostTaskByTaskIdInterestData = {
2949
+ body: LinkInterestRequest;
2950
+ path: {
2951
+ taskId: string;
2952
+ };
2953
+ query?: never;
2954
+ url: '/task/{taskId}/interest';
2955
+ };
2956
+ export type PostTaskByTaskIdInterestResponses = {
2957
+ /**
2958
+ * No Content
2959
+ */
2960
+ 204: void;
2961
+ };
2962
+ export type PostTaskByTaskIdInterestResponse = PostTaskByTaskIdInterestResponses[keyof PostTaskByTaskIdInterestResponses];
2963
+ export type DeleteTaskByTaskIdContactByContactIdData = {
2964
+ body?: never;
2965
+ path: {
2966
+ taskId: string;
2967
+ contactId: number;
2968
+ };
2969
+ query?: never;
2970
+ url: '/task/{taskId}/contact/{contactId}';
2971
+ };
2972
+ export type DeleteTaskByTaskIdContactByContactIdResponses = {
2973
+ /**
2974
+ * No Content
2975
+ */
2976
+ 204: void;
2977
+ };
2978
+ export type DeleteTaskByTaskIdContactByContactIdResponse = DeleteTaskByTaskIdContactByContactIdResponses[keyof DeleteTaskByTaskIdContactByContactIdResponses];
2979
+ export type PostTaskByTaskIdContactByContactIdData = {
2980
+ body?: never;
2981
+ path: {
2982
+ taskId: string;
2983
+ contactId: number;
2984
+ };
2985
+ query?: never;
2986
+ url: '/task/{taskId}/contact/{contactId}';
2987
+ };
2988
+ export type PostTaskByTaskIdContactByContactIdResponses = {
2989
+ /**
2990
+ * No Content
2991
+ */
2992
+ 204: void;
2993
+ };
2994
+ export type PostTaskByTaskIdContactByContactIdResponse = PostTaskByTaskIdContactByContactIdResponses[keyof PostTaskByTaskIdContactByContactIdResponses];
2995
+ export type PostTaskTodoData = {
2996
+ body: CreateAdHocTodoRequest;
2997
+ path?: never;
2998
+ query?: never;
2999
+ url: '/task-todo';
3000
+ };
3001
+ export type PostTaskTodoResponses = {
3002
+ /**
3003
+ * Created
3004
+ */
3005
+ 201: IdResponseUuid;
3006
+ };
3007
+ export type PostTaskTodoResponse = PostTaskTodoResponses[keyof PostTaskTodoResponses];
2819
3008
  export type DeleteSubscriptionsData = {
2820
3009
  body?: never;
2821
3010
  path?: never;
@@ -2881,6 +3070,21 @@ export type PostRolesResponses = {
2881
3070
  201: IdResponseInteger;
2882
3071
  };
2883
3072
  export type PostRolesResponse = PostRolesResponses[keyof PostRolesResponses];
3073
+ export type PostPublicWebhooksTelegramData = {
3074
+ body: string;
3075
+ headers?: {
3076
+ 'X-Telegram-Bot-Api-Secret-Token'?: string;
3077
+ };
3078
+ path?: never;
3079
+ query?: never;
3080
+ url: '/public/webhooks/telegram';
3081
+ };
3082
+ export type PostPublicWebhooksTelegramResponses = {
3083
+ /**
3084
+ * OK
3085
+ */
3086
+ 200: unknown;
3087
+ };
2884
3088
  export type GetPublicWebhooksMetaWaData = {
2885
3089
  body?: never;
2886
3090
  path?: never;
@@ -3167,218 +3371,64 @@ export type GetInvitationResponses = {
3167
3371
  * OK
3168
3372
  */
3169
3373
  200: PagedModelInvitationViewResponse;
3170
- };
3171
- export type GetInvitationResponse = GetInvitationResponses[keyof GetInvitationResponses];
3172
- export type PostInvitationData = {
3173
- body: BulkRecruitmentRequest;
3174
- path?: never;
3175
- query?: never;
3176
- url: '/invitation';
3177
- };
3178
- export type PostInvitationResponses = {
3179
- /**
3180
- * OK
3181
- */
3182
- 200: unknown;
3183
- };
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
- };
3374
+ };
3375
+ export type GetInvitationResponse = GetInvitationResponses[keyof GetInvitationResponses];
3376
+ export type PostInvitationData = {
3377
+ body: BulkRecruitmentRequest;
3378
+ path?: never;
3327
3379
  query?: never;
3328
- url: '/deal/{dealId}/interest';
3380
+ url: '/invitation';
3329
3381
  };
3330
- export type PostDealByDealIdInterestResponses = {
3382
+ export type PostInvitationResponses = {
3331
3383
  /**
3332
- * No Content
3384
+ * OK
3333
3385
  */
3334
- 204: void;
3386
+ 200: unknown;
3335
3387
  };
3336
- export type PostDealByDealIdInterestResponse = PostDealByDealIdInterestResponses[keyof PostDealByDealIdInterestResponses];
3337
- export type DeleteDealByDealIdContactByContactIdData = {
3388
+ export type DeleteInvitationByInvitationIdData = {
3338
3389
  body?: never;
3339
3390
  path: {
3340
- dealId: string;
3341
- contactId: number;
3391
+ invitationId: string;
3342
3392
  };
3343
3393
  query?: never;
3344
- url: '/deal/{dealId}/contact/{contactId}';
3394
+ url: '/invitation/{invitationId}';
3345
3395
  };
3346
- export type DeleteDealByDealIdContactByContactIdResponses = {
3396
+ export type DeleteInvitationByInvitationIdResponses = {
3347
3397
  /**
3348
3398
  * No Content
3349
3399
  */
3350
3400
  204: void;
3351
3401
  };
3352
- export type DeleteDealByDealIdContactByContactIdResponse = DeleteDealByDealIdContactByContactIdResponses[keyof DeleteDealByDealIdContactByContactIdResponses];
3353
- export type PostDealByDealIdContactByContactIdData = {
3402
+ export type DeleteInvitationByInvitationIdResponse = DeleteInvitationByInvitationIdResponses[keyof DeleteInvitationByInvitationIdResponses];
3403
+ export type PostInvitationByInvitationIdData = {
3354
3404
  body?: never;
3355
3405
  path: {
3356
- dealId: string;
3357
- contactId: number;
3406
+ invitationId: string;
3358
3407
  };
3359
- query?: never;
3360
- url: '/deal/{dealId}/contact/{contactId}';
3408
+ query: {
3409
+ agencyId: string;
3410
+ };
3411
+ url: '/invitation/{invitationId}';
3361
3412
  };
3362
- export type PostDealByDealIdContactByContactIdResponses = {
3413
+ export type PostInvitationByInvitationIdResponses = {
3363
3414
  /**
3364
- * No Content
3415
+ * OK
3365
3416
  */
3366
- 204: void;
3417
+ 200: unknown;
3367
3418
  };
3368
- export type PostDealByDealIdContactByContactIdResponse = PostDealByDealIdContactByContactIdResponses[keyof PostDealByDealIdContactByContactIdResponses];
3369
- export type PostDealTaskData = {
3370
- body: CreateAdHocTaskRequest;
3419
+ export type PostInternalPrincipleData = {
3420
+ body: AuthRequest;
3371
3421
  path?: never;
3372
3422
  query?: never;
3373
- url: '/deal-task';
3423
+ url: '/internal/principle';
3374
3424
  };
3375
- export type PostDealTaskResponses = {
3425
+ export type PostInternalPrincipleResponses = {
3376
3426
  /**
3377
- * Created
3427
+ * OK
3378
3428
  */
3379
- 201: IdResponseUuid;
3429
+ 200: AgencyPrincipalDto;
3380
3430
  };
3381
- export type PostDealTaskResponse = PostDealTaskResponses[keyof PostDealTaskResponses];
3431
+ export type PostInternalPrincipleResponse = PostInternalPrincipleResponses[keyof PostInternalPrincipleResponses];
3382
3432
  export type PostConversationsByConversationIdReadData = {
3383
3433
  body?: never;
3384
3434
  path: {
@@ -3674,7 +3724,7 @@ export type GetContactData = {
3674
3724
  query?: {
3675
3725
  isSearching?: boolean;
3676
3726
  isListing?: boolean;
3677
- hasOpenDeal?: boolean;
3727
+ hasOpenTask?: boolean;
3678
3728
  assignedTo?: Array<string>;
3679
3729
  createdBy?: string;
3680
3730
  contactName?: string;
@@ -3772,7 +3822,7 @@ export type GetBoardResponses = {
3772
3822
  /**
3773
3823
  * OK
3774
3824
  */
3775
- 200: Array<BoardResponse>;
3825
+ 200: Array<BoardSummaryResponse>;
3776
3826
  };
3777
3827
  export type GetBoardResponse = GetBoardResponses[keyof GetBoardResponses];
3778
3828
  export type PostBoardData = {
@@ -3804,7 +3854,7 @@ export type PostBoardByBoardIdStageResponses = {
3804
3854
  };
3805
3855
  export type PostBoardByBoardIdStageResponse = PostBoardByBoardIdStageResponses[keyof PostBoardByBoardIdStageResponses];
3806
3856
  export type PostBoardByBoardIdStageByStageIdTemplateData = {
3807
- body: AddTaskTemplateRequest;
3857
+ body: AddTodoTemplateRequest;
3808
3858
  path: {
3809
3859
  boardId: string;
3810
3860
  stageId: string;
@@ -3871,6 +3921,114 @@ export type GetUserMeResponses = {
3871
3921
  200: UserContextViewResponse;
3872
3922
  };
3873
3923
  export type GetUserMeResponse = GetUserMeResponses[keyof GetUserMeResponses];
3924
+ export type DeleteTaskByTaskIdData = {
3925
+ body?: never;
3926
+ path: {
3927
+ taskId: string;
3928
+ };
3929
+ query?: never;
3930
+ url: '/task/{taskId}';
3931
+ };
3932
+ export type DeleteTaskByTaskIdResponses = {
3933
+ /**
3934
+ * No Content
3935
+ */
3936
+ 204: void;
3937
+ };
3938
+ export type DeleteTaskByTaskIdResponse = DeleteTaskByTaskIdResponses[keyof DeleteTaskByTaskIdResponses];
3939
+ export type GetTaskByTaskIdData = {
3940
+ body?: never;
3941
+ path: {
3942
+ taskId: string;
3943
+ };
3944
+ query?: never;
3945
+ url: '/task/{taskId}';
3946
+ };
3947
+ export type GetTaskByTaskIdResponses = {
3948
+ /**
3949
+ * OK
3950
+ */
3951
+ 200: TaskDetailResponse;
3952
+ };
3953
+ export type GetTaskByTaskIdResponse = GetTaskByTaskIdResponses[keyof GetTaskByTaskIdResponses];
3954
+ export type GetTaskByContactByContactIdData = {
3955
+ body?: never;
3956
+ path: {
3957
+ contactId: number;
3958
+ };
3959
+ query?: never;
3960
+ url: '/task/by-contact/{contactId}';
3961
+ };
3962
+ export type GetTaskByContactByContactIdResponses = {
3963
+ /**
3964
+ * OK
3965
+ */
3966
+ 200: Array<ContactTaskResponse>;
3967
+ };
3968
+ export type GetTaskByContactByContactIdResponse = GetTaskByContactByContactIdResponses[keyof GetTaskByContactByContactIdResponses];
3969
+ export type GetTaskBoardByBoardIdData = {
3970
+ body?: never;
3971
+ path: {
3972
+ boardId: string;
3973
+ };
3974
+ query?: never;
3975
+ url: '/task/board/{boardId}';
3976
+ };
3977
+ export type GetTaskBoardByBoardIdResponses = {
3978
+ /**
3979
+ * OK
3980
+ */
3981
+ 200: BoardGridResponse;
3982
+ };
3983
+ export type GetTaskBoardByBoardIdResponse = GetTaskBoardByBoardIdResponses[keyof GetTaskBoardByBoardIdResponses];
3984
+ export type GetTaskBoardByBoardIdStageByStageIdCardsData = {
3985
+ body?: never;
3986
+ path: {
3987
+ boardId: string;
3988
+ stageId: string;
3989
+ };
3990
+ query?: {
3991
+ cursor?: string;
3992
+ limit?: number;
3993
+ };
3994
+ url: '/task/board/{boardId}/stage/{stageId}/cards';
3995
+ };
3996
+ export type GetTaskBoardByBoardIdStageByStageIdCardsResponses = {
3997
+ /**
3998
+ * OK
3999
+ */
4000
+ 200: CursorPageCard;
4001
+ };
4002
+ export type GetTaskBoardByBoardIdStageByStageIdCardsResponse = GetTaskBoardByBoardIdStageByStageIdCardsResponses[keyof GetTaskBoardByBoardIdStageByStageIdCardsResponses];
4003
+ export type GetTaskBoardByBoardIdClosedData = {
4004
+ body?: never;
4005
+ path: {
4006
+ boardId: string;
4007
+ };
4008
+ query?: {
4009
+ outcome?: 'WON' | 'LOST';
4010
+ /**
4011
+ * Zero-based page index (0..N)
4012
+ */
4013
+ page?: number;
4014
+ /**
4015
+ * The size of the page to be returned
4016
+ */
4017
+ size?: number;
4018
+ /**
4019
+ * Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
4020
+ */
4021
+ sort?: Array<string>;
4022
+ };
4023
+ url: '/task/board/{boardId}/closed';
4024
+ };
4025
+ export type GetTaskBoardByBoardIdClosedResponses = {
4026
+ /**
4027
+ * OK
4028
+ */
4029
+ 200: PagedModelClosedTaskResponse;
4030
+ };
4031
+ export type GetTaskBoardByBoardIdClosedResponse = GetTaskBoardByBoardIdClosedResponses[keyof GetTaskBoardByBoardIdClosedResponses];
3874
4032
  export type GetStatisticsWinRateData = {
3875
4033
  body?: never;
3876
4034
  path?: never;
@@ -3886,6 +4044,34 @@ export type GetStatisticsWinRateResponses = {
3886
4044
  200: StatsEnvelopeWinRateStats;
3887
4045
  };
3888
4046
  export type GetStatisticsWinRateResponse = GetStatisticsWinRateResponses[keyof GetStatisticsWinRateResponses];
4047
+ export type GetStatisticsTaskVelocityData = {
4048
+ body?: never;
4049
+ path?: never;
4050
+ query?: {
4051
+ period?: string;
4052
+ };
4053
+ url: '/statistics/task-velocity';
4054
+ };
4055
+ export type GetStatisticsTaskVelocityResponses = {
4056
+ /**
4057
+ * OK
4058
+ */
4059
+ 200: StatsEnvelopeTaskVelocityStats;
4060
+ };
4061
+ export type GetStatisticsTaskVelocityResponse = GetStatisticsTaskVelocityResponses[keyof GetStatisticsTaskVelocityResponses];
4062
+ export type GetStatisticsTaskFunnelData = {
4063
+ body?: never;
4064
+ path?: never;
4065
+ query?: never;
4066
+ url: '/statistics/task-funnel';
4067
+ };
4068
+ export type GetStatisticsTaskFunnelResponses = {
4069
+ /**
4070
+ * OK
4071
+ */
4072
+ 200: StatsEnvelopeTaskFunnelStats;
4073
+ };
4074
+ export type GetStatisticsTaskFunnelResponse = GetStatisticsTaskFunnelResponses[keyof GetStatisticsTaskFunnelResponses];
3889
4075
  export type GetStatisticsSupplyData = {
3890
4076
  body?: never;
3891
4077
  path?: never;
@@ -3973,34 +4159,6 @@ export type GetStatisticsDemandResponses = {
3973
4159
  200: StatsEnvelopeDemandStats;
3974
4160
  };
3975
4161
  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];
4004
4162
  export type GetPublicRecomendationsByTokenItemsData = {
4005
4163
  body?: never;
4006
4164
  path: {
@@ -4665,95 +4823,6 @@ export type GetInboxAgencyResponses = {
4665
4823
  200: CursorPageInboxResponse;
4666
4824
  };
4667
4825
  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];
4757
4826
  export type GetConversationsByConversationIdUpdatesData = {
4758
4827
  body?: never;
4759
4828
  path: {
@@ -4855,7 +4924,7 @@ export type GetContactGroupsData = {
4855
4924
  groupBy: 'ASSIGNED_TO' | 'CREATED_BY' | 'SOURCE_TYPE' | 'IS_SEARCHING' | 'IS_LISTING' | 'CREATED_AT_DAY' | 'CREATED_AT_WEEK' | 'CREATED_AT_MONTH';
4856
4925
  isSearching?: boolean;
4857
4926
  isListing?: boolean;
4858
- hasOpenDeal?: boolean;
4927
+ hasOpenTask?: boolean;
4859
4928
  assignedTo?: Array<string>;
4860
4929
  createdBy?: string;
4861
4930
  contactName?: string;
@@ -4948,80 +5017,80 @@ export type GetAgencyFeaturedMembersResponses = {
4948
5017
  200: Array<MemberCurationView>;
4949
5018
  };
4950
5019
  export type GetAgencyFeaturedMembersResponse = GetAgencyFeaturedMembersResponses[keyof GetAgencyFeaturedMembersResponses];
4951
- export type DeleteOauthGoogleData = {
5020
+ export type DeleteTaskByTaskIdPropertyByPropertyIdData = {
4952
5021
  body?: never;
4953
- path?: never;
5022
+ path: {
5023
+ taskId: string;
5024
+ propertyId: number;
5025
+ };
4954
5026
  query?: never;
4955
- url: '/oauth/google';
5027
+ url: '/task/{taskId}/property/{propertyId}';
4956
5028
  };
4957
- export type DeleteOauthGoogleResponses = {
5029
+ export type DeleteTaskByTaskIdPropertyByPropertyIdResponses = {
4958
5030
  /**
4959
- * OK
5031
+ * No Content
4960
5032
  */
4961
- 200: unknown;
5033
+ 204: void;
4962
5034
  };
4963
- export type DeleteMemberByMemberIdData = {
5035
+ export type DeleteTaskByTaskIdPropertyByPropertyIdResponse = DeleteTaskByTaskIdPropertyByPropertyIdResponses[keyof DeleteTaskByTaskIdPropertyByPropertyIdResponses];
5036
+ export type DeleteTaskByTaskIdInterestByInterestIdData = {
4964
5037
  body?: never;
4965
5038
  path: {
4966
- memberId: string;
5039
+ taskId: string;
5040
+ interestId: number;
4967
5041
  };
4968
5042
  query?: never;
4969
- url: '/member/{memberId}';
5043
+ url: '/task/{taskId}/interest/{interestId}';
4970
5044
  };
4971
- export type DeleteMemberByMemberIdResponses = {
5045
+ export type DeleteTaskByTaskIdInterestByInterestIdResponses = {
4972
5046
  /**
4973
5047
  * No Content
4974
5048
  */
4975
5049
  204: void;
4976
5050
  };
4977
- export type DeleteMemberByMemberIdResponse = DeleteMemberByMemberIdResponses[keyof DeleteMemberByMemberIdResponses];
4978
- export type DeleteDealByDealIdPropertyByPropertyIdData = {
5051
+ export type DeleteTaskByTaskIdInterestByInterestIdResponse = DeleteTaskByTaskIdInterestByInterestIdResponses[keyof DeleteTaskByTaskIdInterestByInterestIdResponses];
5052
+ export type DeleteTaskTodoByTodoIdData = {
4979
5053
  body?: never;
4980
5054
  path: {
4981
- dealId: string;
4982
- propertyId: number;
5055
+ todoId: string;
4983
5056
  };
4984
5057
  query?: never;
4985
- url: '/deal/{dealId}/property/{propertyId}';
5058
+ url: '/task-todo/{todoId}';
4986
5059
  };
4987
- export type DeleteDealByDealIdPropertyByPropertyIdResponses = {
5060
+ export type DeleteTaskTodoByTodoIdResponses = {
4988
5061
  /**
4989
5062
  * No Content
4990
5063
  */
4991
5064
  204: void;
4992
5065
  };
4993
- export type DeleteDealByDealIdPropertyByPropertyIdResponse = DeleteDealByDealIdPropertyByPropertyIdResponses[keyof DeleteDealByDealIdPropertyByPropertyIdResponses];
4994
- export type DeleteDealByDealIdInterestByInterestIdData = {
5066
+ export type DeleteTaskTodoByTodoIdResponse = DeleteTaskTodoByTodoIdResponses[keyof DeleteTaskTodoByTodoIdResponses];
5067
+ export type DeleteOauthGoogleData = {
4995
5068
  body?: never;
4996
- path: {
4997
- dealId: string;
4998
- interestId: number;
4999
- };
5069
+ path?: never;
5000
5070
  query?: never;
5001
- url: '/deal/{dealId}/interest/{interestId}';
5071
+ url: '/oauth/google';
5002
5072
  };
5003
- export type DeleteDealByDealIdInterestByInterestIdResponses = {
5073
+ export type DeleteOauthGoogleResponses = {
5004
5074
  /**
5005
- * No Content
5075
+ * OK
5006
5076
  */
5007
- 204: void;
5077
+ 200: unknown;
5008
5078
  };
5009
- export type DeleteDealByDealIdInterestByInterestIdResponse = DeleteDealByDealIdInterestByInterestIdResponses[keyof DeleteDealByDealIdInterestByInterestIdResponses];
5010
- export type DeleteDealTaskByTaskIdData = {
5079
+ export type DeleteMemberByMemberIdData = {
5011
5080
  body?: never;
5012
5081
  path: {
5013
- taskId: string;
5082
+ memberId: string;
5014
5083
  };
5015
5084
  query?: never;
5016
- url: '/deal-task/{taskId}';
5085
+ url: '/member/{memberId}';
5017
5086
  };
5018
- export type DeleteDealTaskByTaskIdResponses = {
5087
+ export type DeleteMemberByMemberIdResponses = {
5019
5088
  /**
5020
5089
  * No Content
5021
5090
  */
5022
5091
  204: void;
5023
5092
  };
5024
- export type DeleteDealTaskByTaskIdResponse = DeleteDealTaskByTaskIdResponses[keyof DeleteDealTaskByTaskIdResponses];
5093
+ export type DeleteMemberByMemberIdResponse = DeleteMemberByMemberIdResponses[keyof DeleteMemberByMemberIdResponses];
5025
5094
  export type DeleteConversationsByConversationIdPresenceData = {
5026
5095
  body?: never;
5027
5096
  path: {