@homespot-sdk/core 0.0.344 → 0.0.346

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/dist/property/schemas.gen.d.ts +4 -0
  2. package/dist/property/schemas.gen.d.ts.map +1 -1
  3. package/dist/property/schemas.gen.js +4 -0
  4. package/dist/property/schemas.gen.js.map +1 -1
  5. package/dist/property/types.gen.d.ts +1 -0
  6. package/dist/property/types.gen.d.ts.map +1 -1
  7. package/dist/property/zod.gen.d.ts +3 -0
  8. package/dist/property/zod.gen.d.ts.map +1 -1
  9. package/dist/property/zod.gen.js +8 -0
  10. package/dist/property/zod.gen.js.map +1 -1
  11. package/dist/registration/schemas.gen.d.ts +4 -0
  12. package/dist/registration/schemas.gen.d.ts.map +1 -1
  13. package/dist/registration/schemas.gen.js +4 -0
  14. package/dist/registration/schemas.gen.js.map +1 -1
  15. package/dist/registration/types.gen.d.ts +1 -0
  16. package/dist/registration/types.gen.d.ts.map +1 -1
  17. package/dist/registration/zod.gen.d.ts +3 -0
  18. package/dist/registration/zod.gen.d.ts.map +1 -1
  19. package/dist/registration/zod.gen.js +8 -0
  20. package/dist/registration/zod.gen.js.map +1 -1
  21. package/dist/rem/index.d.ts +2 -2
  22. package/dist/rem/index.d.ts.map +1 -1
  23. package/dist/rem/index.js +1 -1
  24. package/dist/rem/index.js.map +1 -1
  25. package/dist/rem/schemas.gen.d.ts +250 -170
  26. package/dist/rem/schemas.gen.d.ts.map +1 -1
  27. package/dist/rem/schemas.gen.js +316 -185
  28. package/dist/rem/schemas.gen.js.map +1 -1
  29. package/dist/rem/sdk.gen.d.ts +6 -10
  30. package/dist/rem/sdk.gen.d.ts.map +1 -1
  31. package/dist/rem/sdk.gen.js +30 -55
  32. package/dist/rem/sdk.gen.js.map +1 -1
  33. package/dist/rem/transformers.gen.d.ts +2 -3
  34. package/dist/rem/transformers.gen.d.ts.map +1 -1
  35. package/dist/rem/transformers.gen.js +16 -20
  36. package/dist/rem/transformers.gen.js.map +1 -1
  37. package/dist/rem/types.gen.d.ts +164 -202
  38. package/dist/rem/types.gen.d.ts.map +1 -1
  39. package/dist/rem/zod.gen.d.ts +879 -351
  40. package/dist/rem/zod.gen.d.ts.map +1 -1
  41. package/dist/rem/zod.gen.js +227 -197
  42. package/dist/rem/zod.gen.js.map +1 -1
  43. package/dist/utils/index.d.ts +2 -2
  44. package/dist/utils/index.d.ts.map +1 -1
  45. package/dist/utils/index.js +1 -1
  46. package/dist/utils/index.js.map +1 -1
  47. package/dist/utils/schemas.gen.d.ts +27 -0
  48. package/dist/utils/schemas.gen.d.ts.map +1 -1
  49. package/dist/utils/schemas.gen.js +27 -0
  50. package/dist/utils/schemas.gen.js.map +1 -1
  51. package/dist/utils/sdk.gen.d.ts +2 -2
  52. package/dist/utils/sdk.gen.d.ts.map +1 -1
  53. package/dist/utils/sdk.gen.js +1 -4
  54. package/dist/utils/sdk.gen.js.map +1 -1
  55. package/dist/utils/types.gen.d.ts +26 -12
  56. package/dist/utils/types.gen.d.ts.map +1 -1
  57. package/dist/utils/zod.gen.d.ts +27 -8
  58. package/dist/utils/zod.gen.d.ts.map +1 -1
  59. package/dist/utils/zod.gen.js +70 -7
  60. package/dist/utils/zod.gen.js.map +1 -1
  61. package/package.json +1 -1
@@ -63,8 +63,8 @@ export type TransferTaskRequest = {
63
63
  export type RenameTaskRequest = {
64
64
  title: string;
65
65
  };
66
- export type MoveTaskRequest = {
67
- targetStageId: string;
66
+ export type TaskPriorityRequest = {
67
+ priority: 'LOW' | 'MEDIUM' | 'HIGH' | 'CRITICAL';
68
68
  };
69
69
  export type MarkTaskLostRequest = {
70
70
  reason: 'NOT_WORKING_WITH_AGENTS' | 'NOT_RESPONDING' | 'ALREADY_SOLD' | 'COULD_NOT_NEGOTIATE_PRICE' | 'CHOSE_ANOTHER_AGENCY' | 'CHANGED_PLANS' | 'OUT_OF_BUDGET' | 'SPAM' | 'OTHER';
@@ -134,6 +134,7 @@ export type CaptureInterestRequest = {
134
134
  };
135
135
  export type LocationTargetRequest = {
136
136
  id: number;
137
+ parentId?: number;
137
138
  type: 'REGION' | 'DISTRICT' | 'SUBDISTRICT' | 'STREET';
138
139
  };
139
140
  export type TitleRequest = {
@@ -180,19 +181,9 @@ export type ReorderTodoTemplatesRequest = {
180
181
  export type RecolorStageRequest = {
181
182
  color: string;
182
183
  };
183
- export type DeactivateStageRequest = {
184
- migrateToStageId?: string;
185
- };
186
184
  export type ReorderStagesRequest = {
187
185
  stageIds: Array<string>;
188
186
  };
189
- export type SetTaskSettingsRequest = {
190
- defaultBoardId: string;
191
- /**
192
- * Active stage of the default board; null = entry stage at use time
193
- */
194
- defaultStageId?: string;
195
- };
196
187
  export type AddressRequest = {
197
188
  country: string;
198
189
  city: string;
@@ -258,6 +249,10 @@ export type OpenTaskRequest = {
258
249
  * Defaults to the acting member
259
250
  */
260
251
  ownerId?: string;
252
+ /**
253
+ * Defaults to MEDIUM
254
+ */
255
+ priority?: 'LOW' | 'MEDIUM' | 'HIGH' | 'CRITICAL';
261
256
  };
262
257
  export type LinkPropertyRequest = {
263
258
  contactId: number;
@@ -499,6 +494,19 @@ export type AdminProvisionResponse = {
499
494
  agencyId?: string;
500
495
  subscriptionId?: string;
501
496
  };
497
+ export type PositionTaskRequest = {
498
+ targetStageId: string;
499
+ /**
500
+ * The card this one was dropped below; null = top of the stage
501
+ */
502
+ afterTaskId?: string;
503
+ };
504
+ export type TaskPositionResponse = {
505
+ /**
506
+ * Fractional index of the card within its stage
507
+ */
508
+ rank?: string;
509
+ };
502
510
  export type OrganizationSummaryViewResponse = {
503
511
  agencyId: string;
504
512
  isOwner: boolean;
@@ -539,13 +547,6 @@ export type CursorPageCommentView = {
539
547
  nextCursor?: string;
540
548
  hasNext?: boolean;
541
549
  };
542
- export type AssignedToResponse = {
543
- memberId: string;
544
- firstName: string;
545
- lastName: string;
546
- photo?: string;
547
- email: string;
548
- };
549
550
  export type ContactLink = {
550
551
  contactId: number;
551
552
  primary: boolean;
@@ -584,6 +585,14 @@ export type LocationResponse = {
584
585
  id: number;
585
586
  names: Array<LangTextResponse>;
586
587
  };
588
+ export type MemberPeekResponse = {
589
+ memberId: string;
590
+ firstName: string;
591
+ lastName: string;
592
+ photo?: string;
593
+ phone?: string;
594
+ email: string;
595
+ };
587
596
  export type PropertyLink = {
588
597
  propertyId: number;
589
598
  contactId: number;
@@ -600,21 +609,23 @@ export type TaskDetailResponse = {
600
609
  stageId: string;
601
610
  stageName: string;
602
611
  stageColor: string;
612
+ rank: string;
603
613
  stageEnteredAt: Date;
604
614
  title: string;
615
+ priority: 'LOW' | 'MEDIUM' | 'HIGH' | 'CRITICAL';
605
616
  description?: string;
606
617
  value?: number;
607
618
  commissionType: 'NOT_SET' | 'FIXED' | 'PERCENTAGE' | 'MONTHS_OF_RENT';
608
619
  commissionValue?: number;
609
620
  expectedCloseDate?: Date;
610
- owner?: AssignedToResponse;
621
+ owner?: MemberPeekResponse;
611
622
  outcome?: 'WON' | 'LOST';
612
623
  lostReason?: 'NOT_WORKING_WITH_AGENTS' | 'NOT_RESPONDING' | 'ALREADY_SOLD' | 'COULD_NOT_NEGOTIATE_PRICE' | 'CHOSE_ANOTHER_AGENCY' | 'CHANGED_PLANS' | 'OUT_OF_BUDGET' | 'SPAM' | 'OTHER';
613
624
  closedAt?: Date;
614
625
  createdBy?: string;
615
626
  createdAt: Date;
616
627
  contacts: Array<ContactLink>;
617
- participants: Array<AssignedToResponse>;
628
+ participants: Array<MemberPeekResponse>;
618
629
  interests: Array<InterestLink>;
619
630
  properties: Array<PropertyLink>;
620
631
  todoGroups: Array<TodoGroup>;
@@ -655,27 +666,13 @@ export type ContactTaskResponse = {
655
666
  value?: number;
656
667
  primary: boolean;
657
668
  };
658
- export type BoardGridResponse = {
669
+ export type BoardCardsResponse = {
659
670
  boardId: string;
660
671
  name: string;
661
672
  kind?: 'OWNER' | 'SEEKER';
662
- archived: boolean;
673
+ members: Array<MemberPeekResponse>;
663
674
  columns: Array<Column>;
664
675
  };
665
- export type Card = {
666
- taskId: string;
667
- title: string;
668
- value?: number;
669
- ownerId?: string;
670
- primaryContactId?: number;
671
- primaryContact?: ContactPersonalDetailsRestricted | ContactPersonalDetailsVisible;
672
- contactAssignedTo?: string;
673
- stageEnteredAt: Date;
674
- daysInStage: number;
675
- openTodos: number;
676
- totalTodos: number;
677
- hasLeftoverOpenTodos: boolean;
678
- };
679
676
  export type Column = {
680
677
  stageId: string;
681
678
  name: string;
@@ -683,38 +680,61 @@ export type Column = {
683
680
  position: number;
684
681
  totalTasks: number;
685
682
  totalValue: number;
686
- cards: CursorPageCard;
683
+ cards: CursorPageTaskCardResponse;
687
684
  };
688
- export type CursorPageCard = {
689
- items?: Array<Card>;
685
+ export type CursorPageTaskCardResponse = {
686
+ items?: Array<TaskCardResponse>;
690
687
  nextCursor?: string;
691
688
  hasNext?: boolean;
692
689
  };
693
- export type ClosedTaskResponse = {
690
+ export type TaskCardResponse = {
694
691
  taskId: string;
692
+ stageId: string;
693
+ stageName: string;
695
694
  title: string;
695
+ hasDescription: boolean;
696
+ commentCount: number;
697
+ contactCount: number;
698
+ priority: 'LOW' | 'MEDIUM' | 'HIGH' | 'CRITICAL';
696
699
  value?: number;
700
+ commissionType?: 'NOT_SET' | 'FIXED' | 'PERCENTAGE' | 'MONTHS_OF_RENT';
701
+ commissionValue?: number;
697
702
  ownerId?: string;
698
703
  primaryContactId?: number;
699
704
  primaryContact?: ContactPersonalDetailsRestricted | ContactPersonalDetailsVisible;
700
705
  contactAssignedTo?: string;
701
- outcome: 'WON' | 'LOST';
706
+ primaryContent?: TaskContentInterest | TaskContentProperty;
707
+ participants: Array<string>;
708
+ rank: string;
709
+ stageEnteredAt: Date;
710
+ daysInStage: number;
711
+ openTodos: number;
712
+ totalTodos: number;
713
+ hasLeftoverOpenTodos: boolean;
714
+ expectedCloseDate?: Date;
715
+ outcome?: 'WON' | 'LOST';
702
716
  lostReason?: 'NOT_WORKING_WITH_AGENTS' | 'NOT_RESPONDING' | 'ALREADY_SOLD' | 'COULD_NOT_NEGOTIATE_PRICE' | 'CHOSE_ANOTHER_AGENCY' | 'CHANGED_PLANS' | 'OUT_OF_BUDGET' | 'SPAM' | 'OTHER';
703
- closedAt: Date;
704
- /**
705
- * Stage the task closed from
706
- */
707
- stageName: string;
717
+ closedAt?: Date;
708
718
  };
709
- export type PageMetadata = {
710
- size?: number;
711
- number?: number;
712
- totalElements?: number;
713
- totalPages?: number;
719
+ export type TaskContent = {
720
+ type: string;
714
721
  };
715
- export type PagedModelClosedTaskResponse = {
716
- content?: Array<ClosedTaskResponse>;
717
- page?: PageMetadata;
722
+ export type TaskContentInterest = Omit<TaskContent, 'type'> & {
723
+ id: number;
724
+ title?: string;
725
+ listingType: 'SALE' | 'RENT' | 'DAILY_RENT' | 'PLEDGE';
726
+ 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'>;
727
+ type: 'INTEREST';
728
+ };
729
+ export type TaskContentProperty = Omit<TaskContent, 'type'> & {
730
+ id: number;
731
+ photo?: string;
732
+ title?: string;
733
+ type: 'PROPERTY';
734
+ };
735
+ export type StageCardsResponse = {
736
+ members: Array<MemberPeekResponse>;
737
+ data: CursorPageTaskCardResponse;
718
738
  };
719
739
  export type BoardWinRate = {
720
740
  boardId: string;
@@ -917,6 +937,12 @@ export type StatsEnvelopeDemandStats = {
917
937
  computedAt: Date;
918
938
  data: DemandStats;
919
939
  };
940
+ export type PageMetadata = {
941
+ size?: number;
942
+ number?: number;
943
+ totalElements?: number;
944
+ totalPages?: number;
945
+ };
920
946
  export type PagedModelRoleResponse = {
921
947
  content?: Array<RoleResponse>;
922
948
  page?: PageMetadata;
@@ -1341,7 +1367,7 @@ export type ListingGridResponse = {
1341
1367
  listingId?: number;
1342
1368
  contactId: number;
1343
1369
  personalDetails: ContactPersonalDetailsRestricted | ContactPersonalDetailsVisible;
1344
- assignedTo?: AssignedToResponse;
1370
+ assignedTo?: MemberPeekResponse;
1345
1371
  propertyType: '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';
1346
1372
  title: string;
1347
1373
  address?: AddressView;
@@ -1394,7 +1420,7 @@ export type InterestGridResponse = {
1394
1420
  interestId: number;
1395
1421
  contactId?: number;
1396
1422
  personalDetails: ContactPersonalDetailsRestricted | ContactPersonalDetailsVisible;
1397
- assignedTo?: AssignedToResponse;
1423
+ assignedTo?: MemberPeekResponse;
1398
1424
  createdBy: string;
1399
1425
  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'>;
1400
1426
  listingType: 'SALE' | 'RENT' | 'DAILY_RENT' | 'PLEDGE';
@@ -1491,7 +1517,7 @@ export type CursorPageMessageView = {
1491
1517
  export type ContactGridResponse = {
1492
1518
  id: number;
1493
1519
  createdBy?: string;
1494
- assignedTo?: AssignedToResponse;
1520
+ assignedTo?: MemberPeekResponse;
1495
1521
  title?: string;
1496
1522
  personalDetails: ContactPersonalDetailsRestricted | ContactPersonalDetailsVisible;
1497
1523
  gender?: 'MALE' | 'FEMALE' | 'UNKNOWN';
@@ -1593,14 +1619,13 @@ export type PhoneDuplicateCheckResponse = {
1593
1619
  };
1594
1620
  export type ContactLookupResponse = {
1595
1621
  id: number;
1596
- assignedTo?: AssignedToResponse;
1622
+ assignedTo?: MemberPeekResponse;
1597
1623
  personalDetails: ContactPersonalDetailsRestricted | ContactPersonalDetailsVisible;
1598
1624
  };
1599
1625
  export type BoardSummaryResponse = {
1600
1626
  boardId: string;
1601
1627
  kind?: 'OWNER' | 'SEEKER';
1602
1628
  name: string;
1603
- archived: boolean;
1604
1629
  stages: Array<StageSummaryResponse>;
1605
1630
  };
1606
1631
  export type StageSummaryResponse = {
@@ -1613,7 +1638,6 @@ export type BoardResponse = {
1613
1638
  boardId: string;
1614
1639
  kind?: 'OWNER' | 'SEEKER';
1615
1640
  name: string;
1616
- archived: boolean;
1617
1641
  stages: Array<StageResponse>;
1618
1642
  createdAt: Date;
1619
1643
  };
@@ -1622,7 +1646,6 @@ export type StageResponse = {
1622
1646
  name: string;
1623
1647
  color: string;
1624
1648
  position: number;
1625
- active: boolean;
1626
1649
  todoTemplates: Array<TodoTemplateResponse>;
1627
1650
  };
1628
1651
  export type TodoTemplateResponse = {
@@ -1630,10 +1653,6 @@ export type TodoTemplateResponse = {
1630
1653
  title: string;
1631
1654
  position: number;
1632
1655
  };
1633
- export type TaskSettingsResponse = {
1634
- defaultBoardId?: string;
1635
- defaultStageId?: string;
1636
- };
1637
1656
  export type AddressViewResponse = {
1638
1657
  country: string;
1639
1658
  city: string;
@@ -1947,37 +1966,37 @@ export type PutTaskByTaskIdRenameResponses = {
1947
1966
  204: void;
1948
1967
  };
1949
1968
  export type PutTaskByTaskIdRenameResponse = PutTaskByTaskIdRenameResponses[keyof PutTaskByTaskIdRenameResponses];
1950
- export type PutTaskByTaskIdOwnerByMemberIdData = {
1951
- body?: never;
1969
+ export type PutTaskByTaskIdPriorityData = {
1970
+ body: TaskPriorityRequest;
1952
1971
  path: {
1953
1972
  taskId: string;
1954
- memberId: string;
1955
1973
  };
1956
1974
  query?: never;
1957
- url: '/task/{taskId}/owner/{memberId}';
1975
+ url: '/task/{taskId}/priority';
1958
1976
  };
1959
- export type PutTaskByTaskIdOwnerByMemberIdResponses = {
1977
+ export type PutTaskByTaskIdPriorityResponses = {
1960
1978
  /**
1961
1979
  * No Content
1962
1980
  */
1963
1981
  204: void;
1964
1982
  };
1965
- export type PutTaskByTaskIdOwnerByMemberIdResponse = PutTaskByTaskIdOwnerByMemberIdResponses[keyof PutTaskByTaskIdOwnerByMemberIdResponses];
1966
- export type PutTaskByTaskIdMoveData = {
1967
- body: MoveTaskRequest;
1983
+ export type PutTaskByTaskIdPriorityResponse = PutTaskByTaskIdPriorityResponses[keyof PutTaskByTaskIdPriorityResponses];
1984
+ export type PutTaskByTaskIdOwnerByMemberIdData = {
1985
+ body?: never;
1968
1986
  path: {
1969
1987
  taskId: string;
1988
+ memberId: string;
1970
1989
  };
1971
1990
  query?: never;
1972
- url: '/task/{taskId}/move';
1991
+ url: '/task/{taskId}/owner/{memberId}';
1973
1992
  };
1974
- export type PutTaskByTaskIdMoveResponses = {
1993
+ export type PutTaskByTaskIdOwnerByMemberIdResponses = {
1975
1994
  /**
1976
1995
  * No Content
1977
1996
  */
1978
1997
  204: void;
1979
1998
  };
1980
- export type PutTaskByTaskIdMoveResponse = PutTaskByTaskIdMoveResponses[keyof PutTaskByTaskIdMoveResponses];
1999
+ export type PutTaskByTaskIdOwnerByMemberIdResponse = PutTaskByTaskIdOwnerByMemberIdResponses[keyof PutTaskByTaskIdOwnerByMemberIdResponses];
1981
2000
  export type PutTaskByTaskIdLostData = {
1982
2001
  body: MarkTaskLostRequest;
1983
2002
  path: {
@@ -2500,21 +2519,6 @@ export type PutContactMergeResponses = {
2500
2519
  204: void;
2501
2520
  };
2502
2521
  export type PutContactMergeResponse = PutContactMergeResponses[keyof PutContactMergeResponses];
2503
- export type PutBoardByBoardIdUnarchiveData = {
2504
- body?: never;
2505
- path: {
2506
- boardId: string;
2507
- };
2508
- query?: never;
2509
- url: '/board/{boardId}/unarchive';
2510
- };
2511
- export type PutBoardByBoardIdUnarchiveResponses = {
2512
- /**
2513
- * No Content
2514
- */
2515
- 204: void;
2516
- };
2517
- export type PutBoardByBoardIdUnarchiveResponse = PutBoardByBoardIdUnarchiveResponses[keyof PutBoardByBoardIdUnarchiveResponses];
2518
2522
  export type PutBoardByBoardIdStageByStageIdTemplateByTemplateIdRenameData = {
2519
2523
  body: RenameRequest;
2520
2524
  path: {
@@ -2580,38 +2584,6 @@ export type PutBoardByBoardIdStageByStageIdRecolorResponses = {
2580
2584
  204: void;
2581
2585
  };
2582
2586
  export type PutBoardByBoardIdStageByStageIdRecolorResponse = PutBoardByBoardIdStageByStageIdRecolorResponses[keyof PutBoardByBoardIdStageByStageIdRecolorResponses];
2583
- export type PutBoardByBoardIdStageByStageIdReactivateData = {
2584
- body?: never;
2585
- path: {
2586
- boardId: string;
2587
- stageId: string;
2588
- };
2589
- query?: never;
2590
- url: '/board/{boardId}/stage/{stageId}/reactivate';
2591
- };
2592
- export type PutBoardByBoardIdStageByStageIdReactivateResponses = {
2593
- /**
2594
- * No Content
2595
- */
2596
- 204: void;
2597
- };
2598
- export type PutBoardByBoardIdStageByStageIdReactivateResponse = PutBoardByBoardIdStageByStageIdReactivateResponses[keyof PutBoardByBoardIdStageByStageIdReactivateResponses];
2599
- export type PutBoardByBoardIdStageByStageIdDeactivateData = {
2600
- body?: DeactivateStageRequest;
2601
- path: {
2602
- boardId: string;
2603
- stageId: string;
2604
- };
2605
- query?: never;
2606
- url: '/board/{boardId}/stage/{stageId}/deactivate';
2607
- };
2608
- export type PutBoardByBoardIdStageByStageIdDeactivateResponses = {
2609
- /**
2610
- * No Content
2611
- */
2612
- 204: void;
2613
- };
2614
- export type PutBoardByBoardIdStageByStageIdDeactivateResponse = PutBoardByBoardIdStageByStageIdDeactivateResponses[keyof PutBoardByBoardIdStageByStageIdDeactivateResponses];
2615
2587
  export type PutBoardByBoardIdStageOrderData = {
2616
2588
  body: ReorderStagesRequest;
2617
2589
  path: {
@@ -2642,47 +2614,6 @@ export type PutBoardByBoardIdRenameResponses = {
2642
2614
  204: void;
2643
2615
  };
2644
2616
  export type PutBoardByBoardIdRenameResponse = PutBoardByBoardIdRenameResponses[keyof PutBoardByBoardIdRenameResponses];
2645
- export type PutBoardByBoardIdArchiveData = {
2646
- body?: never;
2647
- path: {
2648
- boardId: string;
2649
- };
2650
- query?: never;
2651
- url: '/board/{boardId}/archive';
2652
- };
2653
- export type PutBoardByBoardIdArchiveResponses = {
2654
- /**
2655
- * No Content
2656
- */
2657
- 204: void;
2658
- };
2659
- export type PutBoardByBoardIdArchiveResponse = PutBoardByBoardIdArchiveResponses[keyof PutBoardByBoardIdArchiveResponses];
2660
- export type GetBoardSettingsData = {
2661
- body?: never;
2662
- path?: never;
2663
- query?: never;
2664
- url: '/board/settings';
2665
- };
2666
- export type GetBoardSettingsResponses = {
2667
- /**
2668
- * OK
2669
- */
2670
- 200: TaskSettingsResponse;
2671
- };
2672
- export type GetBoardSettingsResponse = GetBoardSettingsResponses[keyof GetBoardSettingsResponses];
2673
- export type PutBoardSettingsData = {
2674
- body: SetTaskSettingsRequest;
2675
- path?: never;
2676
- query?: never;
2677
- url: '/board/settings';
2678
- };
2679
- export type PutBoardSettingsResponses = {
2680
- /**
2681
- * No Content
2682
- */
2683
- 204: void;
2684
- };
2685
- export type PutBoardSettingsResponse = PutBoardSettingsResponses[keyof PutBoardSettingsResponses];
2686
2617
  export type PutAgencyByAgencyIdDetailsData = {
2687
2618
  body: CreateAgencyRequest;
2688
2619
  path: {
@@ -3923,6 +3854,21 @@ export type PostAgencyResponses = {
3923
3854
  201: IdResponseUuid;
3924
3855
  };
3925
3856
  export type PostAgencyResponse = PostAgencyResponses[keyof PostAgencyResponses];
3857
+ export type PatchTaskByTaskIdPositionData = {
3858
+ body: PositionTaskRequest;
3859
+ path: {
3860
+ taskId: string;
3861
+ };
3862
+ query?: never;
3863
+ url: '/task/{taskId}/position';
3864
+ };
3865
+ export type PatchTaskByTaskIdPositionResponses = {
3866
+ /**
3867
+ * OK
3868
+ */
3869
+ 200: TaskPositionResponse;
3870
+ };
3871
+ export type PatchTaskByTaskIdPositionResponse = PatchTaskByTaskIdPositionResponses[keyof PatchTaskByTaskIdPositionResponses];
3926
3872
  export type GetUserMeData = {
3927
3873
  body?: never;
3928
3874
  path?: never;
@@ -3986,64 +3932,44 @@ export type GetTaskBoardByBoardIdData = {
3986
3932
  path: {
3987
3933
  boardId: string;
3988
3934
  };
3989
- query?: never;
3935
+ query?: {
3936
+ status?: 'ACTIVE' | 'WON' | 'LOST' | 'CLOSED';
3937
+ assignedTo?: Array<string>;
3938
+ from?: Date;
3939
+ to?: Date;
3940
+ };
3990
3941
  url: '/task/board/{boardId}';
3991
3942
  };
3992
3943
  export type GetTaskBoardByBoardIdResponses = {
3993
3944
  /**
3994
3945
  * OK
3995
3946
  */
3996
- 200: BoardGridResponse;
3947
+ 200: BoardCardsResponse;
3997
3948
  };
3998
3949
  export type GetTaskBoardByBoardIdResponse = GetTaskBoardByBoardIdResponses[keyof GetTaskBoardByBoardIdResponses];
3999
- export type GetTaskBoardByBoardIdStageByStageIdCardsData = {
3950
+ export type GetTaskBoardByBoardIdCardsData = {
4000
3951
  body?: never;
4001
3952
  path: {
4002
3953
  boardId: string;
4003
- stageId: string;
4004
3954
  };
4005
3955
  query?: {
3956
+ stageId?: string;
3957
+ status?: 'ACTIVE' | 'WON' | 'LOST' | 'CLOSED';
3958
+ assignedTo?: Array<string>;
3959
+ from?: Date;
3960
+ to?: Date;
4006
3961
  cursor?: string;
4007
3962
  limit?: number;
4008
3963
  };
4009
- url: '/task/board/{boardId}/stage/{stageId}/cards';
4010
- };
4011
- export type GetTaskBoardByBoardIdStageByStageIdCardsResponses = {
4012
- /**
4013
- * OK
4014
- */
4015
- 200: CursorPageCard;
4016
- };
4017
- export type GetTaskBoardByBoardIdStageByStageIdCardsResponse = GetTaskBoardByBoardIdStageByStageIdCardsResponses[keyof GetTaskBoardByBoardIdStageByStageIdCardsResponses];
4018
- export type GetTaskBoardByBoardIdClosedData = {
4019
- body?: never;
4020
- path: {
4021
- boardId: string;
4022
- };
4023
- query?: {
4024
- outcome?: 'WON' | 'LOST';
4025
- /**
4026
- * Zero-based page index (0..N)
4027
- */
4028
- page?: number;
4029
- /**
4030
- * The size of the page to be returned
4031
- */
4032
- size?: number;
4033
- /**
4034
- * Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
4035
- */
4036
- sort?: Array<string>;
4037
- };
4038
- url: '/task/board/{boardId}/closed';
3964
+ url: '/task/board/{boardId}/cards';
4039
3965
  };
4040
- export type GetTaskBoardByBoardIdClosedResponses = {
3966
+ export type GetTaskBoardByBoardIdCardsResponses = {
4041
3967
  /**
4042
3968
  * OK
4043
3969
  */
4044
- 200: PagedModelClosedTaskResponse;
3970
+ 200: StageCardsResponse;
4045
3971
  };
4046
- export type GetTaskBoardByBoardIdClosedResponse = GetTaskBoardByBoardIdClosedResponses[keyof GetTaskBoardByBoardIdClosedResponses];
3972
+ export type GetTaskBoardByBoardIdCardsResponse = GetTaskBoardByBoardIdCardsResponses[keyof GetTaskBoardByBoardIdCardsResponses];
4047
3973
  export type GetStatisticsWinRateData = {
4048
3974
  body?: never;
4049
3975
  path?: never;
@@ -4967,6 +4893,24 @@ export type GetContactGroupsResponses = {
4967
4893
  200: Array<GroupCount>;
4968
4894
  };
4969
4895
  export type GetContactGroupsResponse = GetContactGroupsResponses[keyof GetContactGroupsResponses];
4896
+ export type DeleteBoardByBoardIdData = {
4897
+ body?: never;
4898
+ path: {
4899
+ boardId: string;
4900
+ };
4901
+ query?: {
4902
+ migrateToBoard?: string;
4903
+ migrateToStage?: string;
4904
+ };
4905
+ url: '/board/{boardId}';
4906
+ };
4907
+ export type DeleteBoardByBoardIdResponses = {
4908
+ /**
4909
+ * No Content
4910
+ */
4911
+ 204: void;
4912
+ };
4913
+ export type DeleteBoardByBoardIdResponse = DeleteBoardByBoardIdResponses[keyof DeleteBoardByBoardIdResponses];
4970
4914
  export type GetBoardByBoardIdData = {
4971
4915
  body?: never;
4972
4916
  path: {
@@ -5165,6 +5109,24 @@ export type DeleteContactsByContactIdInterestsByInterestIdListingsByExternalList
5165
5109
  204: void;
5166
5110
  };
5167
5111
  export type DeleteContactsByContactIdInterestsByInterestIdListingsByExternalListingIdResponse = DeleteContactsByContactIdInterestsByInterestIdListingsByExternalListingIdResponses[keyof DeleteContactsByContactIdInterestsByInterestIdListingsByExternalListingIdResponses];
5112
+ export type DeleteBoardByBoardIdStageByStageIdData = {
5113
+ body?: never;
5114
+ path: {
5115
+ boardId: string;
5116
+ stageId: string;
5117
+ };
5118
+ query?: {
5119
+ migrateTo?: string;
5120
+ };
5121
+ url: '/board/{boardId}/stage/{stageId}';
5122
+ };
5123
+ export type DeleteBoardByBoardIdStageByStageIdResponses = {
5124
+ /**
5125
+ * No Content
5126
+ */
5127
+ 204: void;
5128
+ };
5129
+ export type DeleteBoardByBoardIdStageByStageIdResponse = DeleteBoardByBoardIdStageByStageIdResponses[keyof DeleteBoardByBoardIdStageByStageIdResponses];
5168
5130
  export type DeleteBoardByBoardIdStageByStageIdTemplateByTemplateIdData = {
5169
5131
  body?: never;
5170
5132
  path: {