@homespot-sdk/core 0.0.343 → 0.0.345
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/rem/index.d.ts +2 -2
- package/dist/rem/index.d.ts.map +1 -1
- package/dist/rem/index.js +1 -1
- package/dist/rem/index.js.map +1 -1
- package/dist/rem/schemas.gen.d.ts +275 -92
- package/dist/rem/schemas.gen.d.ts.map +1 -1
- package/dist/rem/schemas.gen.js +337 -94
- package/dist/rem/schemas.gen.js.map +1 -1
- package/dist/rem/sdk.gen.d.ts +4 -3
- package/dist/rem/sdk.gen.d.ts.map +1 -1
- package/dist/rem/sdk.gen.js +17 -8
- package/dist/rem/sdk.gen.js.map +1 -1
- package/dist/rem/transformers.gen.d.ts.map +1 -1
- package/dist/rem/transformers.gen.js +14 -7
- package/dist/rem/transformers.gen.js.map +1 -1
- package/dist/rem/types.gen.d.ts +139 -70
- package/dist/rem/types.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.d.ts +779 -426
- package/dist/rem/zod.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.js +173 -142
- package/dist/rem/zod.gen.js.map +1 -1
- package/package.json +1 -1
package/dist/rem/schemas.gen.js
CHANGED
|
@@ -220,15 +220,15 @@ export const RenameTaskRequestSchema = {
|
|
|
220
220
|
},
|
|
221
221
|
required: ['title'],
|
|
222
222
|
};
|
|
223
|
-
export const
|
|
223
|
+
export const TaskPriorityRequestSchema = {
|
|
224
224
|
type: 'object',
|
|
225
225
|
properties: {
|
|
226
|
-
|
|
226
|
+
priority: {
|
|
227
227
|
type: 'string',
|
|
228
|
-
|
|
228
|
+
enum: ['LOW', 'MEDIUM', 'HIGH', 'CRITICAL'],
|
|
229
229
|
},
|
|
230
230
|
},
|
|
231
|
-
required: ['
|
|
231
|
+
required: ['priority'],
|
|
232
232
|
};
|
|
233
233
|
export const MarkTaskLostRequestSchema = {
|
|
234
234
|
type: 'object',
|
|
@@ -939,6 +939,11 @@ export const OpenTaskRequestSchema = {
|
|
|
939
939
|
format: 'uuid',
|
|
940
940
|
description: 'Defaults to the acting member',
|
|
941
941
|
},
|
|
942
|
+
priority: {
|
|
943
|
+
type: 'string',
|
|
944
|
+
description: 'Defaults to MEDIUM',
|
|
945
|
+
enum: ['LOW', 'MEDIUM', 'HIGH', 'CRITICAL'],
|
|
946
|
+
},
|
|
942
947
|
},
|
|
943
948
|
required: ['boardId', 'title'],
|
|
944
949
|
};
|
|
@@ -1818,6 +1823,31 @@ export const AdminProvisionResponseSchema = {
|
|
|
1818
1823
|
},
|
|
1819
1824
|
},
|
|
1820
1825
|
};
|
|
1826
|
+
export const PositionTaskRequestSchema = {
|
|
1827
|
+
type: 'object',
|
|
1828
|
+
properties: {
|
|
1829
|
+
targetStageId: {
|
|
1830
|
+
type: 'string',
|
|
1831
|
+
format: 'uuid',
|
|
1832
|
+
},
|
|
1833
|
+
afterTaskId: {
|
|
1834
|
+
type: 'string',
|
|
1835
|
+
format: 'uuid',
|
|
1836
|
+
description: 'The card this one was dropped below; null = top of the stage',
|
|
1837
|
+
},
|
|
1838
|
+
},
|
|
1839
|
+
required: ['targetStageId'],
|
|
1840
|
+
};
|
|
1841
|
+
export const TaskPositionResponseSchema = {
|
|
1842
|
+
type: 'object',
|
|
1843
|
+
properties: {
|
|
1844
|
+
rank: {
|
|
1845
|
+
type: 'string',
|
|
1846
|
+
description: 'Fractional index of the card within its stage',
|
|
1847
|
+
example: 'a1V',
|
|
1848
|
+
},
|
|
1849
|
+
},
|
|
1850
|
+
};
|
|
1821
1851
|
export const OrganizationSummaryViewResponseSchema = {
|
|
1822
1852
|
type: 'object',
|
|
1823
1853
|
properties: {
|
|
@@ -1988,28 +2018,6 @@ export const CursorPageCommentViewSchema = {
|
|
|
1988
2018
|
},
|
|
1989
2019
|
},
|
|
1990
2020
|
};
|
|
1991
|
-
export const AssignedToResponseSchema = {
|
|
1992
|
-
type: 'object',
|
|
1993
|
-
properties: {
|
|
1994
|
-
memberId: {
|
|
1995
|
-
type: 'string',
|
|
1996
|
-
format: 'uuid',
|
|
1997
|
-
},
|
|
1998
|
-
firstName: {
|
|
1999
|
-
type: 'string',
|
|
2000
|
-
},
|
|
2001
|
-
lastName: {
|
|
2002
|
-
type: 'string',
|
|
2003
|
-
},
|
|
2004
|
-
photo: {
|
|
2005
|
-
type: 'string',
|
|
2006
|
-
},
|
|
2007
|
-
email: {
|
|
2008
|
-
type: 'string',
|
|
2009
|
-
},
|
|
2010
|
-
},
|
|
2011
|
-
required: ['email', 'firstName', 'lastName', 'memberId'],
|
|
2012
|
-
};
|
|
2013
2021
|
export const ContactLinkSchema = {
|
|
2014
2022
|
type: 'object',
|
|
2015
2023
|
properties: {
|
|
@@ -2192,6 +2200,31 @@ export const LocationResponseSchema = {
|
|
|
2192
2200
|
},
|
|
2193
2201
|
required: ['id', 'names'],
|
|
2194
2202
|
};
|
|
2203
|
+
export const MemberPeekResponseSchema = {
|
|
2204
|
+
type: 'object',
|
|
2205
|
+
properties: {
|
|
2206
|
+
memberId: {
|
|
2207
|
+
type: 'string',
|
|
2208
|
+
format: 'uuid',
|
|
2209
|
+
},
|
|
2210
|
+
firstName: {
|
|
2211
|
+
type: 'string',
|
|
2212
|
+
},
|
|
2213
|
+
lastName: {
|
|
2214
|
+
type: 'string',
|
|
2215
|
+
},
|
|
2216
|
+
photo: {
|
|
2217
|
+
type: 'string',
|
|
2218
|
+
},
|
|
2219
|
+
phone: {
|
|
2220
|
+
type: 'string',
|
|
2221
|
+
},
|
|
2222
|
+
email: {
|
|
2223
|
+
type: 'string',
|
|
2224
|
+
},
|
|
2225
|
+
},
|
|
2226
|
+
required: ['email', 'firstName', 'lastName', 'memberId'],
|
|
2227
|
+
};
|
|
2195
2228
|
export const PropertyLinkSchema = {
|
|
2196
2229
|
type: 'object',
|
|
2197
2230
|
properties: {
|
|
@@ -2273,6 +2306,10 @@ export const TaskDetailResponseSchema = {
|
|
|
2273
2306
|
stageColor: {
|
|
2274
2307
|
type: 'string',
|
|
2275
2308
|
},
|
|
2309
|
+
rank: {
|
|
2310
|
+
type: 'string',
|
|
2311
|
+
description: 'Fractional index within the stage',
|
|
2312
|
+
},
|
|
2276
2313
|
stageEnteredAt: {
|
|
2277
2314
|
type: 'string',
|
|
2278
2315
|
format: 'date-time',
|
|
@@ -2280,6 +2317,10 @@ export const TaskDetailResponseSchema = {
|
|
|
2280
2317
|
title: {
|
|
2281
2318
|
type: 'string',
|
|
2282
2319
|
},
|
|
2320
|
+
priority: {
|
|
2321
|
+
type: 'string',
|
|
2322
|
+
enum: ['LOW', 'MEDIUM', 'HIGH', 'CRITICAL'],
|
|
2323
|
+
},
|
|
2283
2324
|
description: {
|
|
2284
2325
|
type: 'string',
|
|
2285
2326
|
},
|
|
@@ -2298,7 +2339,7 @@ export const TaskDetailResponseSchema = {
|
|
|
2298
2339
|
format: 'date',
|
|
2299
2340
|
},
|
|
2300
2341
|
owner: {
|
|
2301
|
-
$ref: '#/components/schemas/
|
|
2342
|
+
$ref: '#/components/schemas/MemberPeekResponse',
|
|
2302
2343
|
},
|
|
2303
2344
|
outcome: {
|
|
2304
2345
|
type: 'string',
|
|
@@ -2339,7 +2380,7 @@ export const TaskDetailResponseSchema = {
|
|
|
2339
2380
|
participants: {
|
|
2340
2381
|
type: 'array',
|
|
2341
2382
|
items: {
|
|
2342
|
-
$ref: '#/components/schemas/
|
|
2383
|
+
$ref: '#/components/schemas/MemberPeekResponse',
|
|
2343
2384
|
},
|
|
2344
2385
|
},
|
|
2345
2386
|
interests: {
|
|
@@ -2375,7 +2416,9 @@ export const TaskDetailResponseSchema = {
|
|
|
2375
2416
|
'createdAt',
|
|
2376
2417
|
'interests',
|
|
2377
2418
|
'participants',
|
|
2419
|
+
'priority',
|
|
2378
2420
|
'properties',
|
|
2421
|
+
'rank',
|
|
2379
2422
|
'stageColor',
|
|
2380
2423
|
'stageEnteredAt',
|
|
2381
2424
|
'stageId',
|
|
@@ -2517,7 +2560,7 @@ export const ContactTaskResponseSchema = {
|
|
|
2517
2560
|
'title',
|
|
2518
2561
|
],
|
|
2519
2562
|
};
|
|
2520
|
-
export const
|
|
2563
|
+
export const BoardCardsResponseSchema = {
|
|
2521
2564
|
type: 'object',
|
|
2522
2565
|
properties: {
|
|
2523
2566
|
boardId: {
|
|
@@ -2534,6 +2577,12 @@ export const BoardGridResponseSchema = {
|
|
|
2534
2577
|
archived: {
|
|
2535
2578
|
type: 'boolean',
|
|
2536
2579
|
},
|
|
2580
|
+
members: {
|
|
2581
|
+
type: 'array',
|
|
2582
|
+
items: {
|
|
2583
|
+
$ref: '#/components/schemas/MemberPeekResponse',
|
|
2584
|
+
},
|
|
2585
|
+
},
|
|
2537
2586
|
columns: {
|
|
2538
2587
|
type: 'array',
|
|
2539
2588
|
items: {
|
|
@@ -2541,9 +2590,64 @@ export const BoardGridResponseSchema = {
|
|
|
2541
2590
|
},
|
|
2542
2591
|
},
|
|
2543
2592
|
},
|
|
2544
|
-
required: ['archived', 'boardId', 'columns', 'name'],
|
|
2593
|
+
required: ['archived', 'boardId', 'columns', 'members', 'name'],
|
|
2594
|
+
};
|
|
2595
|
+
export const ColumnSchema = {
|
|
2596
|
+
type: 'object',
|
|
2597
|
+
properties: {
|
|
2598
|
+
stageId: {
|
|
2599
|
+
type: 'string',
|
|
2600
|
+
format: 'uuid',
|
|
2601
|
+
},
|
|
2602
|
+
name: {
|
|
2603
|
+
type: 'string',
|
|
2604
|
+
},
|
|
2605
|
+
color: {
|
|
2606
|
+
type: 'string',
|
|
2607
|
+
},
|
|
2608
|
+
position: {
|
|
2609
|
+
type: 'integer',
|
|
2610
|
+
format: 'int32',
|
|
2611
|
+
},
|
|
2612
|
+
totalTasks: {
|
|
2613
|
+
type: 'integer',
|
|
2614
|
+
format: 'int64',
|
|
2615
|
+
},
|
|
2616
|
+
totalValue: {
|
|
2617
|
+
type: 'number',
|
|
2618
|
+
},
|
|
2619
|
+
cards: {
|
|
2620
|
+
$ref: '#/components/schemas/CursorPageTaskCardResponse',
|
|
2621
|
+
},
|
|
2622
|
+
},
|
|
2623
|
+
required: [
|
|
2624
|
+
'cards',
|
|
2625
|
+
'color',
|
|
2626
|
+
'name',
|
|
2627
|
+
'position',
|
|
2628
|
+
'stageId',
|
|
2629
|
+
'totalTasks',
|
|
2630
|
+
'totalValue',
|
|
2631
|
+
],
|
|
2632
|
+
};
|
|
2633
|
+
export const CursorPageTaskCardResponseSchema = {
|
|
2634
|
+
type: 'object',
|
|
2635
|
+
properties: {
|
|
2636
|
+
items: {
|
|
2637
|
+
type: 'array',
|
|
2638
|
+
items: {
|
|
2639
|
+
$ref: '#/components/schemas/TaskCardResponse',
|
|
2640
|
+
},
|
|
2641
|
+
},
|
|
2642
|
+
nextCursor: {
|
|
2643
|
+
type: 'string',
|
|
2644
|
+
},
|
|
2645
|
+
hasNext: {
|
|
2646
|
+
type: 'boolean',
|
|
2647
|
+
},
|
|
2648
|
+
},
|
|
2545
2649
|
};
|
|
2546
|
-
export const
|
|
2650
|
+
export const TaskCardResponseSchema = {
|
|
2547
2651
|
type: 'object',
|
|
2548
2652
|
properties: {
|
|
2549
2653
|
taskId: {
|
|
@@ -2553,9 +2657,31 @@ export const CardSchema = {
|
|
|
2553
2657
|
title: {
|
|
2554
2658
|
type: 'string',
|
|
2555
2659
|
},
|
|
2660
|
+
hasDescription: {
|
|
2661
|
+
type: 'boolean',
|
|
2662
|
+
},
|
|
2663
|
+
commentCount: {
|
|
2664
|
+
type: 'integer',
|
|
2665
|
+
format: 'int32',
|
|
2666
|
+
},
|
|
2667
|
+
contactCount: {
|
|
2668
|
+
type: 'integer',
|
|
2669
|
+
format: 'int32',
|
|
2670
|
+
},
|
|
2671
|
+
priority: {
|
|
2672
|
+
type: 'string',
|
|
2673
|
+
enum: ['LOW', 'MEDIUM', 'HIGH', 'CRITICAL'],
|
|
2674
|
+
},
|
|
2556
2675
|
value: {
|
|
2557
2676
|
type: 'number',
|
|
2558
2677
|
},
|
|
2678
|
+
commissionType: {
|
|
2679
|
+
type: 'string',
|
|
2680
|
+
enum: ['NOT_SET', 'FIXED', 'PERCENTAGE', 'MONTHS_OF_RENT'],
|
|
2681
|
+
},
|
|
2682
|
+
commissionValue: {
|
|
2683
|
+
type: 'number',
|
|
2684
|
+
},
|
|
2559
2685
|
ownerId: {
|
|
2560
2686
|
type: 'string',
|
|
2561
2687
|
format: 'uuid',
|
|
@@ -2578,6 +2704,27 @@ export const CardSchema = {
|
|
|
2578
2704
|
type: 'string',
|
|
2579
2705
|
format: 'uuid',
|
|
2580
2706
|
},
|
|
2707
|
+
primaryContent: {
|
|
2708
|
+
oneOf: [
|
|
2709
|
+
{
|
|
2710
|
+
$ref: '#/components/schemas/TaskContentInterest',
|
|
2711
|
+
},
|
|
2712
|
+
{
|
|
2713
|
+
$ref: '#/components/schemas/TaskContentProperty',
|
|
2714
|
+
},
|
|
2715
|
+
],
|
|
2716
|
+
},
|
|
2717
|
+
participants: {
|
|
2718
|
+
type: 'array',
|
|
2719
|
+
items: {
|
|
2720
|
+
type: 'string',
|
|
2721
|
+
format: 'uuid',
|
|
2722
|
+
},
|
|
2723
|
+
},
|
|
2724
|
+
rank: {
|
|
2725
|
+
type: 'string',
|
|
2726
|
+
description: "Fractional index within the stage. Cards arrive in this order; holding every neighbour's key is what lets the client compute a drop target locally and render the reorder before the PATCH returns.",
|
|
2727
|
+
},
|
|
2581
2728
|
stageEnteredAt: {
|
|
2582
2729
|
type: 'string',
|
|
2583
2730
|
format: 'date-time',
|
|
@@ -2597,71 +2744,156 @@ export const CardSchema = {
|
|
|
2597
2744
|
hasLeftoverOpenTodos: {
|
|
2598
2745
|
type: 'boolean',
|
|
2599
2746
|
},
|
|
2747
|
+
expectedCloseDate: {
|
|
2748
|
+
type: 'string',
|
|
2749
|
+
format: 'date',
|
|
2750
|
+
},
|
|
2600
2751
|
},
|
|
2601
2752
|
required: [
|
|
2753
|
+
'commentCount',
|
|
2754
|
+
'contactCount',
|
|
2602
2755
|
'daysInStage',
|
|
2756
|
+
'hasDescription',
|
|
2603
2757
|
'hasLeftoverOpenTodos',
|
|
2604
2758
|
'openTodos',
|
|
2759
|
+
'participants',
|
|
2760
|
+
'priority',
|
|
2761
|
+
'rank',
|
|
2605
2762
|
'stageEnteredAt',
|
|
2606
2763
|
'taskId',
|
|
2607
2764
|
'title',
|
|
2608
2765
|
'totalTodos',
|
|
2609
2766
|
],
|
|
2610
2767
|
};
|
|
2611
|
-
export const
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
},
|
|
2618
|
-
name: {
|
|
2619
|
-
type: 'string',
|
|
2768
|
+
export const TaskContentSchema = {
|
|
2769
|
+
discriminator: {
|
|
2770
|
+
propertyName: 'type',
|
|
2771
|
+
mapping: {
|
|
2772
|
+
PROPERTY: '#/components/schemas/TaskContentProperty',
|
|
2773
|
+
INTEREST: '#/components/schemas/TaskContentInterest',
|
|
2620
2774
|
},
|
|
2621
|
-
|
|
2775
|
+
},
|
|
2776
|
+
properties: {
|
|
2777
|
+
type: {
|
|
2622
2778
|
type: 'string',
|
|
2623
2779
|
},
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
|
|
2780
|
+
},
|
|
2781
|
+
required: ['type'],
|
|
2782
|
+
};
|
|
2783
|
+
export const TaskContentInterestSchema = {
|
|
2784
|
+
allOf: [
|
|
2785
|
+
{
|
|
2786
|
+
$ref: '#/components/schemas/TaskContent',
|
|
2627
2787
|
},
|
|
2628
|
-
|
|
2629
|
-
type: '
|
|
2630
|
-
|
|
2788
|
+
{
|
|
2789
|
+
type: 'object',
|
|
2790
|
+
properties: {
|
|
2791
|
+
id: {
|
|
2792
|
+
type: 'integer',
|
|
2793
|
+
format: 'int64',
|
|
2794
|
+
},
|
|
2795
|
+
title: {
|
|
2796
|
+
type: 'string',
|
|
2797
|
+
},
|
|
2798
|
+
listingType: {
|
|
2799
|
+
type: 'string',
|
|
2800
|
+
enum: ['SALE', 'RENT', 'DAILY_RENT', 'PLEDGE'],
|
|
2801
|
+
},
|
|
2802
|
+
propertyTypes: {
|
|
2803
|
+
type: 'array',
|
|
2804
|
+
items: {
|
|
2805
|
+
type: 'string',
|
|
2806
|
+
enum: [
|
|
2807
|
+
'HOUSE',
|
|
2808
|
+
'TOWN_HOUSE',
|
|
2809
|
+
'COUNTRY_HOUSE',
|
|
2810
|
+
'VILLA',
|
|
2811
|
+
'COTTAGE',
|
|
2812
|
+
'APARTMENT',
|
|
2813
|
+
'DUPLEX',
|
|
2814
|
+
'TRIPLEX',
|
|
2815
|
+
'SEMI_BASEMENT',
|
|
2816
|
+
'ATTIC',
|
|
2817
|
+
'AGRICULTURAL_LAND',
|
|
2818
|
+
'RESIDENTIAL_LAND',
|
|
2819
|
+
'HOTEL_ROOM',
|
|
2820
|
+
'MOTEL_ROOM',
|
|
2821
|
+
'CO_LIVING_SPACE',
|
|
2822
|
+
'OFFICE',
|
|
2823
|
+
'COMMERCIAL_SPACE',
|
|
2824
|
+
'CO_WORKING_SPACE',
|
|
2825
|
+
'WAREHOUSE',
|
|
2826
|
+
'GARAGE',
|
|
2827
|
+
],
|
|
2828
|
+
},
|
|
2829
|
+
},
|
|
2830
|
+
},
|
|
2631
2831
|
},
|
|
2632
|
-
|
|
2633
|
-
|
|
2832
|
+
],
|
|
2833
|
+
required: ['id', 'listingType', 'propertyTypes'],
|
|
2834
|
+
};
|
|
2835
|
+
export const TaskContentPropertySchema = {
|
|
2836
|
+
allOf: [
|
|
2837
|
+
{
|
|
2838
|
+
$ref: '#/components/schemas/TaskContent',
|
|
2634
2839
|
},
|
|
2635
|
-
|
|
2636
|
-
|
|
2840
|
+
{
|
|
2841
|
+
type: 'object',
|
|
2842
|
+
properties: {
|
|
2843
|
+
id: {
|
|
2844
|
+
type: 'integer',
|
|
2845
|
+
format: 'int64',
|
|
2846
|
+
},
|
|
2847
|
+
photo: {
|
|
2848
|
+
type: 'string',
|
|
2849
|
+
},
|
|
2850
|
+
title: {
|
|
2851
|
+
type: 'string',
|
|
2852
|
+
},
|
|
2853
|
+
type: {
|
|
2854
|
+
type: 'string',
|
|
2855
|
+
enum: [
|
|
2856
|
+
'HOUSE',
|
|
2857
|
+
'TOWN_HOUSE',
|
|
2858
|
+
'COUNTRY_HOUSE',
|
|
2859
|
+
'VILLA',
|
|
2860
|
+
'COTTAGE',
|
|
2861
|
+
'APARTMENT',
|
|
2862
|
+
'DUPLEX',
|
|
2863
|
+
'TRIPLEX',
|
|
2864
|
+
'SEMI_BASEMENT',
|
|
2865
|
+
'ATTIC',
|
|
2866
|
+
'AGRICULTURAL_LAND',
|
|
2867
|
+
'RESIDENTIAL_LAND',
|
|
2868
|
+
'HOTEL_ROOM',
|
|
2869
|
+
'MOTEL_ROOM',
|
|
2870
|
+
'CO_LIVING_SPACE',
|
|
2871
|
+
'OFFICE',
|
|
2872
|
+
'COMMERCIAL_SPACE',
|
|
2873
|
+
'CO_WORKING_SPACE',
|
|
2874
|
+
'WAREHOUSE',
|
|
2875
|
+
'GARAGE',
|
|
2876
|
+
],
|
|
2877
|
+
},
|
|
2878
|
+
},
|
|
2637
2879
|
},
|
|
2638
|
-
},
|
|
2639
|
-
required: [
|
|
2640
|
-
'cards',
|
|
2641
|
-
'color',
|
|
2642
|
-
'name',
|
|
2643
|
-
'position',
|
|
2644
|
-
'stageId',
|
|
2645
|
-
'totalTasks',
|
|
2646
|
-
'totalValue',
|
|
2647
2880
|
],
|
|
2881
|
+
required: ['id', 'type'],
|
|
2648
2882
|
};
|
|
2649
|
-
export const
|
|
2883
|
+
export const StageCardsResponseSchema = {
|
|
2650
2884
|
type: 'object',
|
|
2651
2885
|
properties: {
|
|
2652
|
-
|
|
2886
|
+
members: {
|
|
2653
2887
|
type: 'array',
|
|
2654
2888
|
items: {
|
|
2655
|
-
$ref: '#/components/schemas/
|
|
2889
|
+
$ref: '#/components/schemas/MemberPeekResponse',
|
|
2656
2890
|
},
|
|
2657
2891
|
},
|
|
2658
|
-
|
|
2659
|
-
|
|
2660
|
-
},
|
|
2661
|
-
hasNext: {
|
|
2662
|
-
type: 'boolean',
|
|
2892
|
+
data: {
|
|
2893
|
+
$ref: '#/components/schemas/CursorPageTaskCardResponse',
|
|
2663
2894
|
},
|
|
2664
2895
|
},
|
|
2896
|
+
required: ['data', 'members'],
|
|
2665
2897
|
};
|
|
2666
2898
|
export const ClosedTaskResponseSchema = {
|
|
2667
2899
|
type: 'object',
|
|
@@ -4481,6 +4713,11 @@ export const PropertyPageResponseSchema = {
|
|
|
4481
4713
|
type: 'integer',
|
|
4482
4714
|
format: 'int64',
|
|
4483
4715
|
},
|
|
4716
|
+
contactId: {
|
|
4717
|
+
type: 'integer',
|
|
4718
|
+
format: 'int64',
|
|
4719
|
+
description: 'The owner contact this property hangs off. Every listing write is addressed by (contactId, propertyId, listingId), so the page carries the first of the three.',
|
|
4720
|
+
},
|
|
4484
4721
|
propertyId: {
|
|
4485
4722
|
type: 'string',
|
|
4486
4723
|
format: 'uuid',
|
|
@@ -4546,6 +4783,7 @@ export const PropertyPageResponseSchema = {
|
|
|
4546
4783
|
},
|
|
4547
4784
|
required: [
|
|
4548
4785
|
'agreement',
|
|
4786
|
+
'contactId',
|
|
4549
4787
|
'createdAt',
|
|
4550
4788
|
'listings',
|
|
4551
4789
|
'propertyId',
|
|
@@ -5172,6 +5410,29 @@ export const MeetingDetailViewSchema = {
|
|
|
5172
5410
|
'type',
|
|
5173
5411
|
],
|
|
5174
5412
|
};
|
|
5413
|
+
export const AddressViewSchema = {
|
|
5414
|
+
type: 'object',
|
|
5415
|
+
properties: {
|
|
5416
|
+
en: {
|
|
5417
|
+
type: 'string',
|
|
5418
|
+
},
|
|
5419
|
+
ka: {
|
|
5420
|
+
type: 'string',
|
|
5421
|
+
},
|
|
5422
|
+
ru: {
|
|
5423
|
+
type: 'string',
|
|
5424
|
+
},
|
|
5425
|
+
streetId: {
|
|
5426
|
+
type: 'integer',
|
|
5427
|
+
format: 'int64',
|
|
5428
|
+
},
|
|
5429
|
+
parentId: {
|
|
5430
|
+
type: 'integer',
|
|
5431
|
+
format: 'int64',
|
|
5432
|
+
},
|
|
5433
|
+
},
|
|
5434
|
+
required: ['en', 'ka', 'ru'],
|
|
5435
|
+
};
|
|
5175
5436
|
export const ListingGridResponseSchema = {
|
|
5176
5437
|
type: 'object',
|
|
5177
5438
|
properties: {
|
|
@@ -5206,7 +5467,7 @@ export const ListingGridResponseSchema = {
|
|
|
5206
5467
|
],
|
|
5207
5468
|
},
|
|
5208
5469
|
assignedTo: {
|
|
5209
|
-
$ref: '#/components/schemas/
|
|
5470
|
+
$ref: '#/components/schemas/MemberPeekResponse',
|
|
5210
5471
|
},
|
|
5211
5472
|
propertyType: {
|
|
5212
5473
|
type: 'string',
|
|
@@ -5236,17 +5497,8 @@ export const ListingGridResponseSchema = {
|
|
|
5236
5497
|
title: {
|
|
5237
5498
|
type: 'string',
|
|
5238
5499
|
},
|
|
5239
|
-
|
|
5240
|
-
$ref: '#/components/schemas/
|
|
5241
|
-
},
|
|
5242
|
-
district: {
|
|
5243
|
-
$ref: '#/components/schemas/LocationResponse',
|
|
5244
|
-
},
|
|
5245
|
-
subdistrict: {
|
|
5246
|
-
$ref: '#/components/schemas/LocationResponse',
|
|
5247
|
-
},
|
|
5248
|
-
street: {
|
|
5249
|
-
$ref: '#/components/schemas/LocationResponse',
|
|
5500
|
+
address: {
|
|
5501
|
+
$ref: '#/components/schemas/AddressView',
|
|
5250
5502
|
},
|
|
5251
5503
|
featuredPhotos: {
|
|
5252
5504
|
type: 'array',
|
|
@@ -5452,7 +5704,7 @@ export const InterestGridResponseSchema = {
|
|
|
5452
5704
|
],
|
|
5453
5705
|
},
|
|
5454
5706
|
assignedTo: {
|
|
5455
|
-
$ref: '#/components/schemas/
|
|
5707
|
+
$ref: '#/components/schemas/MemberPeekResponse',
|
|
5456
5708
|
},
|
|
5457
5709
|
createdBy: {
|
|
5458
5710
|
type: 'string',
|
|
@@ -5502,17 +5754,8 @@ export const InterestGridResponseSchema = {
|
|
|
5502
5754
|
livingArea: {
|
|
5503
5755
|
$ref: '#/components/schemas/AreaRange',
|
|
5504
5756
|
},
|
|
5505
|
-
|
|
5506
|
-
$ref: '#/components/schemas/
|
|
5507
|
-
},
|
|
5508
|
-
district: {
|
|
5509
|
-
$ref: '#/components/schemas/LocationResponse',
|
|
5510
|
-
},
|
|
5511
|
-
subdistrict: {
|
|
5512
|
-
$ref: '#/components/schemas/LocationResponse',
|
|
5513
|
-
},
|
|
5514
|
-
street: {
|
|
5515
|
-
$ref: '#/components/schemas/LocationResponse',
|
|
5757
|
+
address: {
|
|
5758
|
+
$ref: '#/components/schemas/AddressView',
|
|
5516
5759
|
},
|
|
5517
5760
|
status: {
|
|
5518
5761
|
type: 'string',
|
|
@@ -5817,7 +6060,7 @@ export const ContactGridResponseSchema = {
|
|
|
5817
6060
|
format: 'uuid',
|
|
5818
6061
|
},
|
|
5819
6062
|
assignedTo: {
|
|
5820
|
-
$ref: '#/components/schemas/
|
|
6063
|
+
$ref: '#/components/schemas/MemberPeekResponse',
|
|
5821
6064
|
},
|
|
5822
6065
|
title: {
|
|
5823
6066
|
type: 'string',
|
|
@@ -6296,7 +6539,7 @@ export const ContactLookupResponseSchema = {
|
|
|
6296
6539
|
format: 'int64',
|
|
6297
6540
|
},
|
|
6298
6541
|
assignedTo: {
|
|
6299
|
-
$ref: '#/components/schemas/
|
|
6542
|
+
$ref: '#/components/schemas/MemberPeekResponse',
|
|
6300
6543
|
},
|
|
6301
6544
|
personalDetails: {
|
|
6302
6545
|
oneOf: [
|