@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.
- package/dist/property/schemas.gen.d.ts +4 -0
- package/dist/property/schemas.gen.d.ts.map +1 -1
- package/dist/property/schemas.gen.js +4 -0
- package/dist/property/schemas.gen.js.map +1 -1
- package/dist/property/types.gen.d.ts +1 -0
- package/dist/property/types.gen.d.ts.map +1 -1
- package/dist/property/zod.gen.d.ts +3 -0
- package/dist/property/zod.gen.d.ts.map +1 -1
- package/dist/property/zod.gen.js +8 -0
- package/dist/property/zod.gen.js.map +1 -1
- package/dist/registration/schemas.gen.d.ts +4 -0
- package/dist/registration/schemas.gen.d.ts.map +1 -1
- package/dist/registration/schemas.gen.js +4 -0
- package/dist/registration/schemas.gen.js.map +1 -1
- package/dist/registration/types.gen.d.ts +1 -0
- package/dist/registration/types.gen.d.ts.map +1 -1
- package/dist/registration/zod.gen.d.ts +3 -0
- package/dist/registration/zod.gen.d.ts.map +1 -1
- package/dist/registration/zod.gen.js +8 -0
- package/dist/registration/zod.gen.js.map +1 -1
- 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 +250 -170
- package/dist/rem/schemas.gen.d.ts.map +1 -1
- package/dist/rem/schemas.gen.js +316 -185
- package/dist/rem/schemas.gen.js.map +1 -1
- package/dist/rem/sdk.gen.d.ts +6 -10
- package/dist/rem/sdk.gen.d.ts.map +1 -1
- package/dist/rem/sdk.gen.js +30 -55
- package/dist/rem/sdk.gen.js.map +1 -1
- package/dist/rem/transformers.gen.d.ts +2 -3
- package/dist/rem/transformers.gen.d.ts.map +1 -1
- package/dist/rem/transformers.gen.js +16 -20
- package/dist/rem/transformers.gen.js.map +1 -1
- package/dist/rem/types.gen.d.ts +164 -202
- package/dist/rem/types.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.d.ts +879 -351
- package/dist/rem/zod.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.js +227 -197
- package/dist/rem/zod.gen.js.map +1 -1
- package/dist/utils/index.d.ts +2 -2
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +1 -1
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/schemas.gen.d.ts +27 -0
- package/dist/utils/schemas.gen.d.ts.map +1 -1
- package/dist/utils/schemas.gen.js +27 -0
- package/dist/utils/schemas.gen.js.map +1 -1
- package/dist/utils/sdk.gen.d.ts +2 -2
- package/dist/utils/sdk.gen.d.ts.map +1 -1
- package/dist/utils/sdk.gen.js +1 -4
- package/dist/utils/sdk.gen.js.map +1 -1
- package/dist/utils/types.gen.d.ts +26 -12
- package/dist/utils/types.gen.d.ts.map +1 -1
- package/dist/utils/zod.gen.d.ts +27 -8
- package/dist/utils/zod.gen.d.ts.map +1 -1
- package/dist/utils/zod.gen.js +70 -7
- package/dist/utils/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',
|
|
@@ -513,6 +513,10 @@ export const LocationTargetRequestSchema = {
|
|
|
513
513
|
type: 'integer',
|
|
514
514
|
format: 'int64',
|
|
515
515
|
},
|
|
516
|
+
parentId: {
|
|
517
|
+
type: 'integer',
|
|
518
|
+
format: 'int64',
|
|
519
|
+
},
|
|
516
520
|
type: {
|
|
517
521
|
type: 'string',
|
|
518
522
|
enum: ['REGION', 'DISTRICT', 'SUBDISTRICT', 'STREET'],
|
|
@@ -681,15 +685,6 @@ export const RecolorStageRequestSchema = {
|
|
|
681
685
|
},
|
|
682
686
|
required: ['color'],
|
|
683
687
|
};
|
|
684
|
-
export const DeactivateStageRequestSchema = {
|
|
685
|
-
type: 'object',
|
|
686
|
-
properties: {
|
|
687
|
-
migrateToStageId: {
|
|
688
|
-
type: 'string',
|
|
689
|
-
format: 'uuid',
|
|
690
|
-
},
|
|
691
|
-
},
|
|
692
|
-
};
|
|
693
688
|
export const ReorderStagesRequestSchema = {
|
|
694
689
|
type: 'object',
|
|
695
690
|
properties: {
|
|
@@ -703,21 +698,6 @@ export const ReorderStagesRequestSchema = {
|
|
|
703
698
|
},
|
|
704
699
|
required: ['stageIds'],
|
|
705
700
|
};
|
|
706
|
-
export const SetTaskSettingsRequestSchema = {
|
|
707
|
-
type: 'object',
|
|
708
|
-
properties: {
|
|
709
|
-
defaultBoardId: {
|
|
710
|
-
type: 'string',
|
|
711
|
-
format: 'uuid',
|
|
712
|
-
},
|
|
713
|
-
defaultStageId: {
|
|
714
|
-
type: 'string',
|
|
715
|
-
format: 'uuid',
|
|
716
|
-
description: 'Active stage of the default board; null = entry stage at use time',
|
|
717
|
-
},
|
|
718
|
-
},
|
|
719
|
-
required: ['defaultBoardId'],
|
|
720
|
-
};
|
|
721
701
|
export const AddressRequestSchema = {
|
|
722
702
|
type: 'object',
|
|
723
703
|
properties: {
|
|
@@ -939,6 +919,11 @@ export const OpenTaskRequestSchema = {
|
|
|
939
919
|
format: 'uuid',
|
|
940
920
|
description: 'Defaults to the acting member',
|
|
941
921
|
},
|
|
922
|
+
priority: {
|
|
923
|
+
type: 'string',
|
|
924
|
+
description: 'Defaults to MEDIUM',
|
|
925
|
+
enum: ['LOW', 'MEDIUM', 'HIGH', 'CRITICAL'],
|
|
926
|
+
},
|
|
942
927
|
},
|
|
943
928
|
required: ['boardId', 'title'],
|
|
944
929
|
};
|
|
@@ -1818,6 +1803,31 @@ export const AdminProvisionResponseSchema = {
|
|
|
1818
1803
|
},
|
|
1819
1804
|
},
|
|
1820
1805
|
};
|
|
1806
|
+
export const PositionTaskRequestSchema = {
|
|
1807
|
+
type: 'object',
|
|
1808
|
+
properties: {
|
|
1809
|
+
targetStageId: {
|
|
1810
|
+
type: 'string',
|
|
1811
|
+
format: 'uuid',
|
|
1812
|
+
},
|
|
1813
|
+
afterTaskId: {
|
|
1814
|
+
type: 'string',
|
|
1815
|
+
format: 'uuid',
|
|
1816
|
+
description: 'The card this one was dropped below; null = top of the stage',
|
|
1817
|
+
},
|
|
1818
|
+
},
|
|
1819
|
+
required: ['targetStageId'],
|
|
1820
|
+
};
|
|
1821
|
+
export const TaskPositionResponseSchema = {
|
|
1822
|
+
type: 'object',
|
|
1823
|
+
properties: {
|
|
1824
|
+
rank: {
|
|
1825
|
+
type: 'string',
|
|
1826
|
+
description: 'Fractional index of the card within its stage',
|
|
1827
|
+
example: 'a1V',
|
|
1828
|
+
},
|
|
1829
|
+
},
|
|
1830
|
+
};
|
|
1821
1831
|
export const OrganizationSummaryViewResponseSchema = {
|
|
1822
1832
|
type: 'object',
|
|
1823
1833
|
properties: {
|
|
@@ -1988,28 +1998,6 @@ export const CursorPageCommentViewSchema = {
|
|
|
1988
1998
|
},
|
|
1989
1999
|
},
|
|
1990
2000
|
};
|
|
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
2001
|
export const ContactLinkSchema = {
|
|
2014
2002
|
type: 'object',
|
|
2015
2003
|
properties: {
|
|
@@ -2192,6 +2180,31 @@ export const LocationResponseSchema = {
|
|
|
2192
2180
|
},
|
|
2193
2181
|
required: ['id', 'names'],
|
|
2194
2182
|
};
|
|
2183
|
+
export const MemberPeekResponseSchema = {
|
|
2184
|
+
type: 'object',
|
|
2185
|
+
properties: {
|
|
2186
|
+
memberId: {
|
|
2187
|
+
type: 'string',
|
|
2188
|
+
format: 'uuid',
|
|
2189
|
+
},
|
|
2190
|
+
firstName: {
|
|
2191
|
+
type: 'string',
|
|
2192
|
+
},
|
|
2193
|
+
lastName: {
|
|
2194
|
+
type: 'string',
|
|
2195
|
+
},
|
|
2196
|
+
photo: {
|
|
2197
|
+
type: 'string',
|
|
2198
|
+
},
|
|
2199
|
+
phone: {
|
|
2200
|
+
type: 'string',
|
|
2201
|
+
},
|
|
2202
|
+
email: {
|
|
2203
|
+
type: 'string',
|
|
2204
|
+
},
|
|
2205
|
+
},
|
|
2206
|
+
required: ['email', 'firstName', 'lastName', 'memberId'],
|
|
2207
|
+
};
|
|
2195
2208
|
export const PropertyLinkSchema = {
|
|
2196
2209
|
type: 'object',
|
|
2197
2210
|
properties: {
|
|
@@ -2273,6 +2286,9 @@ export const TaskDetailResponseSchema = {
|
|
|
2273
2286
|
stageColor: {
|
|
2274
2287
|
type: 'string',
|
|
2275
2288
|
},
|
|
2289
|
+
rank: {
|
|
2290
|
+
type: 'string',
|
|
2291
|
+
},
|
|
2276
2292
|
stageEnteredAt: {
|
|
2277
2293
|
type: 'string',
|
|
2278
2294
|
format: 'date-time',
|
|
@@ -2280,6 +2296,10 @@ export const TaskDetailResponseSchema = {
|
|
|
2280
2296
|
title: {
|
|
2281
2297
|
type: 'string',
|
|
2282
2298
|
},
|
|
2299
|
+
priority: {
|
|
2300
|
+
type: 'string',
|
|
2301
|
+
enum: ['LOW', 'MEDIUM', 'HIGH', 'CRITICAL'],
|
|
2302
|
+
},
|
|
2283
2303
|
description: {
|
|
2284
2304
|
type: 'string',
|
|
2285
2305
|
},
|
|
@@ -2298,7 +2318,7 @@ export const TaskDetailResponseSchema = {
|
|
|
2298
2318
|
format: 'date',
|
|
2299
2319
|
},
|
|
2300
2320
|
owner: {
|
|
2301
|
-
$ref: '#/components/schemas/
|
|
2321
|
+
$ref: '#/components/schemas/MemberPeekResponse',
|
|
2302
2322
|
},
|
|
2303
2323
|
outcome: {
|
|
2304
2324
|
type: 'string',
|
|
@@ -2339,7 +2359,7 @@ export const TaskDetailResponseSchema = {
|
|
|
2339
2359
|
participants: {
|
|
2340
2360
|
type: 'array',
|
|
2341
2361
|
items: {
|
|
2342
|
-
$ref: '#/components/schemas/
|
|
2362
|
+
$ref: '#/components/schemas/MemberPeekResponse',
|
|
2343
2363
|
},
|
|
2344
2364
|
},
|
|
2345
2365
|
interests: {
|
|
@@ -2375,7 +2395,9 @@ export const TaskDetailResponseSchema = {
|
|
|
2375
2395
|
'createdAt',
|
|
2376
2396
|
'interests',
|
|
2377
2397
|
'participants',
|
|
2398
|
+
'priority',
|
|
2378
2399
|
'properties',
|
|
2400
|
+
'rank',
|
|
2379
2401
|
'stageColor',
|
|
2380
2402
|
'stageEnteredAt',
|
|
2381
2403
|
'stageId',
|
|
@@ -2517,7 +2539,7 @@ export const ContactTaskResponseSchema = {
|
|
|
2517
2539
|
'title',
|
|
2518
2540
|
],
|
|
2519
2541
|
};
|
|
2520
|
-
export const
|
|
2542
|
+
export const BoardCardsResponseSchema = {
|
|
2521
2543
|
type: 'object',
|
|
2522
2544
|
properties: {
|
|
2523
2545
|
boardId: {
|
|
@@ -2531,8 +2553,11 @@ export const BoardGridResponseSchema = {
|
|
|
2531
2553
|
type: 'string',
|
|
2532
2554
|
enum: ['OWNER', 'SEEKER'],
|
|
2533
2555
|
},
|
|
2534
|
-
|
|
2535
|
-
type: '
|
|
2556
|
+
members: {
|
|
2557
|
+
type: 'array',
|
|
2558
|
+
items: {
|
|
2559
|
+
$ref: '#/components/schemas/MemberPeekResponse',
|
|
2560
|
+
},
|
|
2536
2561
|
},
|
|
2537
2562
|
columns: {
|
|
2538
2563
|
type: 'array',
|
|
@@ -2541,72 +2566,7 @@ export const BoardGridResponseSchema = {
|
|
|
2541
2566
|
},
|
|
2542
2567
|
},
|
|
2543
2568
|
},
|
|
2544
|
-
required: ['
|
|
2545
|
-
};
|
|
2546
|
-
export const CardSchema = {
|
|
2547
|
-
type: 'object',
|
|
2548
|
-
properties: {
|
|
2549
|
-
taskId: {
|
|
2550
|
-
type: 'string',
|
|
2551
|
-
format: 'uuid',
|
|
2552
|
-
},
|
|
2553
|
-
title: {
|
|
2554
|
-
type: 'string',
|
|
2555
|
-
},
|
|
2556
|
-
value: {
|
|
2557
|
-
type: 'number',
|
|
2558
|
-
},
|
|
2559
|
-
ownerId: {
|
|
2560
|
-
type: 'string',
|
|
2561
|
-
format: 'uuid',
|
|
2562
|
-
},
|
|
2563
|
-
primaryContactId: {
|
|
2564
|
-
type: 'integer',
|
|
2565
|
-
format: 'int64',
|
|
2566
|
-
},
|
|
2567
|
-
primaryContact: {
|
|
2568
|
-
oneOf: [
|
|
2569
|
-
{
|
|
2570
|
-
$ref: '#/components/schemas/ContactPersonalDetailsRestricted',
|
|
2571
|
-
},
|
|
2572
|
-
{
|
|
2573
|
-
$ref: '#/components/schemas/ContactPersonalDetailsVisible',
|
|
2574
|
-
},
|
|
2575
|
-
],
|
|
2576
|
-
},
|
|
2577
|
-
contactAssignedTo: {
|
|
2578
|
-
type: 'string',
|
|
2579
|
-
format: 'uuid',
|
|
2580
|
-
},
|
|
2581
|
-
stageEnteredAt: {
|
|
2582
|
-
type: 'string',
|
|
2583
|
-
format: 'date-time',
|
|
2584
|
-
},
|
|
2585
|
-
daysInStage: {
|
|
2586
|
-
type: 'integer',
|
|
2587
|
-
format: 'int64',
|
|
2588
|
-
},
|
|
2589
|
-
openTodos: {
|
|
2590
|
-
type: 'integer',
|
|
2591
|
-
format: 'int64',
|
|
2592
|
-
},
|
|
2593
|
-
totalTodos: {
|
|
2594
|
-
type: 'integer',
|
|
2595
|
-
format: 'int64',
|
|
2596
|
-
},
|
|
2597
|
-
hasLeftoverOpenTodos: {
|
|
2598
|
-
type: 'boolean',
|
|
2599
|
-
},
|
|
2600
|
-
},
|
|
2601
|
-
required: [
|
|
2602
|
-
'daysInStage',
|
|
2603
|
-
'hasLeftoverOpenTodos',
|
|
2604
|
-
'openTodos',
|
|
2605
|
-
'stageEnteredAt',
|
|
2606
|
-
'taskId',
|
|
2607
|
-
'title',
|
|
2608
|
-
'totalTodos',
|
|
2609
|
-
],
|
|
2569
|
+
required: ['boardId', 'columns', 'members', 'name'],
|
|
2610
2570
|
};
|
|
2611
2571
|
export const ColumnSchema = {
|
|
2612
2572
|
type: 'object',
|
|
@@ -2633,7 +2593,7 @@ export const ColumnSchema = {
|
|
|
2633
2593
|
type: 'number',
|
|
2634
2594
|
},
|
|
2635
2595
|
cards: {
|
|
2636
|
-
$ref: '#/components/schemas/
|
|
2596
|
+
$ref: '#/components/schemas/CursorPageTaskCardResponse',
|
|
2637
2597
|
},
|
|
2638
2598
|
},
|
|
2639
2599
|
required: [
|
|
@@ -2646,13 +2606,13 @@ export const ColumnSchema = {
|
|
|
2646
2606
|
'totalValue',
|
|
2647
2607
|
],
|
|
2648
2608
|
};
|
|
2649
|
-
export const
|
|
2609
|
+
export const CursorPageTaskCardResponseSchema = {
|
|
2650
2610
|
type: 'object',
|
|
2651
2611
|
properties: {
|
|
2652
2612
|
items: {
|
|
2653
2613
|
type: 'array',
|
|
2654
2614
|
items: {
|
|
2655
|
-
$ref: '#/components/schemas/
|
|
2615
|
+
$ref: '#/components/schemas/TaskCardResponse',
|
|
2656
2616
|
},
|
|
2657
2617
|
},
|
|
2658
2618
|
nextCursor: {
|
|
@@ -2663,19 +2623,48 @@ export const CursorPageCardSchema = {
|
|
|
2663
2623
|
},
|
|
2664
2624
|
},
|
|
2665
2625
|
};
|
|
2666
|
-
export const
|
|
2626
|
+
export const TaskCardResponseSchema = {
|
|
2667
2627
|
type: 'object',
|
|
2668
2628
|
properties: {
|
|
2669
2629
|
taskId: {
|
|
2670
2630
|
type: 'string',
|
|
2671
2631
|
format: 'uuid',
|
|
2672
2632
|
},
|
|
2633
|
+
stageId: {
|
|
2634
|
+
type: 'string',
|
|
2635
|
+
format: 'uuid',
|
|
2636
|
+
},
|
|
2637
|
+
stageName: {
|
|
2638
|
+
type: 'string',
|
|
2639
|
+
},
|
|
2673
2640
|
title: {
|
|
2674
2641
|
type: 'string',
|
|
2675
2642
|
},
|
|
2643
|
+
hasDescription: {
|
|
2644
|
+
type: 'boolean',
|
|
2645
|
+
},
|
|
2646
|
+
commentCount: {
|
|
2647
|
+
type: 'integer',
|
|
2648
|
+
format: 'int32',
|
|
2649
|
+
},
|
|
2650
|
+
contactCount: {
|
|
2651
|
+
type: 'integer',
|
|
2652
|
+
format: 'int32',
|
|
2653
|
+
},
|
|
2654
|
+
priority: {
|
|
2655
|
+
type: 'string',
|
|
2656
|
+
enum: ['LOW', 'MEDIUM', 'HIGH', 'CRITICAL'],
|
|
2657
|
+
},
|
|
2676
2658
|
value: {
|
|
2677
2659
|
type: 'number',
|
|
2678
2660
|
},
|
|
2661
|
+
commissionType: {
|
|
2662
|
+
type: 'string',
|
|
2663
|
+
enum: ['NOT_SET', 'FIXED', 'PERCENTAGE', 'MONTHS_OF_RENT'],
|
|
2664
|
+
},
|
|
2665
|
+
commissionValue: {
|
|
2666
|
+
type: 'number',
|
|
2667
|
+
},
|
|
2679
2668
|
ownerId: {
|
|
2680
2669
|
type: 'string',
|
|
2681
2670
|
format: 'uuid',
|
|
@@ -2698,6 +2687,49 @@ export const ClosedTaskResponseSchema = {
|
|
|
2698
2687
|
type: 'string',
|
|
2699
2688
|
format: 'uuid',
|
|
2700
2689
|
},
|
|
2690
|
+
primaryContent: {
|
|
2691
|
+
oneOf: [
|
|
2692
|
+
{
|
|
2693
|
+
$ref: '#/components/schemas/TaskContentInterest',
|
|
2694
|
+
},
|
|
2695
|
+
{
|
|
2696
|
+
$ref: '#/components/schemas/TaskContentProperty',
|
|
2697
|
+
},
|
|
2698
|
+
],
|
|
2699
|
+
},
|
|
2700
|
+
participants: {
|
|
2701
|
+
type: 'array',
|
|
2702
|
+
items: {
|
|
2703
|
+
type: 'string',
|
|
2704
|
+
format: 'uuid',
|
|
2705
|
+
},
|
|
2706
|
+
},
|
|
2707
|
+
rank: {
|
|
2708
|
+
type: 'string',
|
|
2709
|
+
},
|
|
2710
|
+
stageEnteredAt: {
|
|
2711
|
+
type: 'string',
|
|
2712
|
+
format: 'date-time',
|
|
2713
|
+
},
|
|
2714
|
+
daysInStage: {
|
|
2715
|
+
type: 'integer',
|
|
2716
|
+
format: 'int64',
|
|
2717
|
+
},
|
|
2718
|
+
openTodos: {
|
|
2719
|
+
type: 'integer',
|
|
2720
|
+
format: 'int64',
|
|
2721
|
+
},
|
|
2722
|
+
totalTodos: {
|
|
2723
|
+
type: 'integer',
|
|
2724
|
+
format: 'int64',
|
|
2725
|
+
},
|
|
2726
|
+
hasLeftoverOpenTodos: {
|
|
2727
|
+
type: 'boolean',
|
|
2728
|
+
},
|
|
2729
|
+
expectedCloseDate: {
|
|
2730
|
+
type: 'string',
|
|
2731
|
+
format: 'date',
|
|
2732
|
+
},
|
|
2701
2733
|
outcome: {
|
|
2702
2734
|
type: 'string',
|
|
2703
2735
|
enum: ['WON', 'LOST'],
|
|
@@ -2720,47 +2752,154 @@ export const ClosedTaskResponseSchema = {
|
|
|
2720
2752
|
type: 'string',
|
|
2721
2753
|
format: 'date-time',
|
|
2722
2754
|
},
|
|
2723
|
-
|
|
2755
|
+
},
|
|
2756
|
+
required: [
|
|
2757
|
+
'commentCount',
|
|
2758
|
+
'contactCount',
|
|
2759
|
+
'daysInStage',
|
|
2760
|
+
'hasDescription',
|
|
2761
|
+
'hasLeftoverOpenTodos',
|
|
2762
|
+
'openTodos',
|
|
2763
|
+
'participants',
|
|
2764
|
+
'priority',
|
|
2765
|
+
'rank',
|
|
2766
|
+
'stageEnteredAt',
|
|
2767
|
+
'stageId',
|
|
2768
|
+
'stageName',
|
|
2769
|
+
'taskId',
|
|
2770
|
+
'title',
|
|
2771
|
+
'totalTodos',
|
|
2772
|
+
],
|
|
2773
|
+
};
|
|
2774
|
+
export const TaskContentSchema = {
|
|
2775
|
+
discriminator: {
|
|
2776
|
+
propertyName: 'type',
|
|
2777
|
+
mapping: {
|
|
2778
|
+
PROPERTY: '#/components/schemas/TaskContentProperty',
|
|
2779
|
+
INTEREST: '#/components/schemas/TaskContentInterest',
|
|
2780
|
+
},
|
|
2781
|
+
},
|
|
2782
|
+
properties: {
|
|
2783
|
+
type: {
|
|
2724
2784
|
type: 'string',
|
|
2725
|
-
description: 'Stage the task closed from',
|
|
2726
2785
|
},
|
|
2727
2786
|
},
|
|
2728
|
-
required: ['
|
|
2787
|
+
required: ['type'],
|
|
2729
2788
|
};
|
|
2730
|
-
export const
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
type: 'integer',
|
|
2735
|
-
format: 'int64',
|
|
2789
|
+
export const TaskContentInterestSchema = {
|
|
2790
|
+
allOf: [
|
|
2791
|
+
{
|
|
2792
|
+
$ref: '#/components/schemas/TaskContent',
|
|
2736
2793
|
},
|
|
2737
|
-
|
|
2738
|
-
type: '
|
|
2739
|
-
|
|
2794
|
+
{
|
|
2795
|
+
type: 'object',
|
|
2796
|
+
properties: {
|
|
2797
|
+
id: {
|
|
2798
|
+
type: 'integer',
|
|
2799
|
+
format: 'int64',
|
|
2800
|
+
},
|
|
2801
|
+
title: {
|
|
2802
|
+
type: 'string',
|
|
2803
|
+
},
|
|
2804
|
+
listingType: {
|
|
2805
|
+
type: 'string',
|
|
2806
|
+
enum: ['SALE', 'RENT', 'DAILY_RENT', 'PLEDGE'],
|
|
2807
|
+
},
|
|
2808
|
+
propertyTypes: {
|
|
2809
|
+
type: 'array',
|
|
2810
|
+
items: {
|
|
2811
|
+
type: 'string',
|
|
2812
|
+
enum: [
|
|
2813
|
+
'HOUSE',
|
|
2814
|
+
'TOWN_HOUSE',
|
|
2815
|
+
'COUNTRY_HOUSE',
|
|
2816
|
+
'VILLA',
|
|
2817
|
+
'COTTAGE',
|
|
2818
|
+
'APARTMENT',
|
|
2819
|
+
'DUPLEX',
|
|
2820
|
+
'TRIPLEX',
|
|
2821
|
+
'SEMI_BASEMENT',
|
|
2822
|
+
'ATTIC',
|
|
2823
|
+
'AGRICULTURAL_LAND',
|
|
2824
|
+
'RESIDENTIAL_LAND',
|
|
2825
|
+
'HOTEL_ROOM',
|
|
2826
|
+
'MOTEL_ROOM',
|
|
2827
|
+
'CO_LIVING_SPACE',
|
|
2828
|
+
'OFFICE',
|
|
2829
|
+
'COMMERCIAL_SPACE',
|
|
2830
|
+
'CO_WORKING_SPACE',
|
|
2831
|
+
'WAREHOUSE',
|
|
2832
|
+
'GARAGE',
|
|
2833
|
+
],
|
|
2834
|
+
},
|
|
2835
|
+
},
|
|
2836
|
+
},
|
|
2740
2837
|
},
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2838
|
+
],
|
|
2839
|
+
required: ['id', 'listingType', 'propertyTypes'],
|
|
2840
|
+
};
|
|
2841
|
+
export const TaskContentPropertySchema = {
|
|
2842
|
+
allOf: [
|
|
2843
|
+
{
|
|
2844
|
+
$ref: '#/components/schemas/TaskContent',
|
|
2744
2845
|
},
|
|
2745
|
-
|
|
2746
|
-
type: '
|
|
2747
|
-
|
|
2846
|
+
{
|
|
2847
|
+
type: 'object',
|
|
2848
|
+
properties: {
|
|
2849
|
+
id: {
|
|
2850
|
+
type: 'integer',
|
|
2851
|
+
format: 'int64',
|
|
2852
|
+
},
|
|
2853
|
+
photo: {
|
|
2854
|
+
type: 'string',
|
|
2855
|
+
},
|
|
2856
|
+
title: {
|
|
2857
|
+
type: 'string',
|
|
2858
|
+
},
|
|
2859
|
+
type: {
|
|
2860
|
+
type: 'string',
|
|
2861
|
+
enum: [
|
|
2862
|
+
'HOUSE',
|
|
2863
|
+
'TOWN_HOUSE',
|
|
2864
|
+
'COUNTRY_HOUSE',
|
|
2865
|
+
'VILLA',
|
|
2866
|
+
'COTTAGE',
|
|
2867
|
+
'APARTMENT',
|
|
2868
|
+
'DUPLEX',
|
|
2869
|
+
'TRIPLEX',
|
|
2870
|
+
'SEMI_BASEMENT',
|
|
2871
|
+
'ATTIC',
|
|
2872
|
+
'AGRICULTURAL_LAND',
|
|
2873
|
+
'RESIDENTIAL_LAND',
|
|
2874
|
+
'HOTEL_ROOM',
|
|
2875
|
+
'MOTEL_ROOM',
|
|
2876
|
+
'CO_LIVING_SPACE',
|
|
2877
|
+
'OFFICE',
|
|
2878
|
+
'COMMERCIAL_SPACE',
|
|
2879
|
+
'CO_WORKING_SPACE',
|
|
2880
|
+
'WAREHOUSE',
|
|
2881
|
+
'GARAGE',
|
|
2882
|
+
],
|
|
2883
|
+
},
|
|
2884
|
+
},
|
|
2748
2885
|
},
|
|
2749
|
-
|
|
2886
|
+
],
|
|
2887
|
+
required: ['id', 'type'],
|
|
2750
2888
|
};
|
|
2751
|
-
export const
|
|
2889
|
+
export const StageCardsResponseSchema = {
|
|
2752
2890
|
type: 'object',
|
|
2753
2891
|
properties: {
|
|
2754
|
-
|
|
2892
|
+
members: {
|
|
2755
2893
|
type: 'array',
|
|
2756
2894
|
items: {
|
|
2757
|
-
$ref: '#/components/schemas/
|
|
2895
|
+
$ref: '#/components/schemas/MemberPeekResponse',
|
|
2758
2896
|
},
|
|
2759
2897
|
},
|
|
2760
|
-
|
|
2761
|
-
$ref: '#/components/schemas/
|
|
2898
|
+
data: {
|
|
2899
|
+
$ref: '#/components/schemas/CursorPageTaskCardResponse',
|
|
2762
2900
|
},
|
|
2763
2901
|
},
|
|
2902
|
+
required: ['data', 'members'],
|
|
2764
2903
|
};
|
|
2765
2904
|
export const BoardWinRateSchema = {
|
|
2766
2905
|
type: 'object',
|
|
@@ -3520,6 +3659,27 @@ export const StatsEnvelopeDemandStatsSchema = {
|
|
|
3520
3659
|
},
|
|
3521
3660
|
required: ['computedAt', 'data', 'period'],
|
|
3522
3661
|
};
|
|
3662
|
+
export const PageMetadataSchema = {
|
|
3663
|
+
type: 'object',
|
|
3664
|
+
properties: {
|
|
3665
|
+
size: {
|
|
3666
|
+
type: 'integer',
|
|
3667
|
+
format: 'int64',
|
|
3668
|
+
},
|
|
3669
|
+
number: {
|
|
3670
|
+
type: 'integer',
|
|
3671
|
+
format: 'int64',
|
|
3672
|
+
},
|
|
3673
|
+
totalElements: {
|
|
3674
|
+
type: 'integer',
|
|
3675
|
+
format: 'int64',
|
|
3676
|
+
},
|
|
3677
|
+
totalPages: {
|
|
3678
|
+
type: 'integer',
|
|
3679
|
+
format: 'int64',
|
|
3680
|
+
},
|
|
3681
|
+
},
|
|
3682
|
+
};
|
|
3523
3683
|
export const PagedModelRoleResponseSchema = {
|
|
3524
3684
|
type: 'object',
|
|
3525
3685
|
properties: {
|
|
@@ -5235,7 +5395,7 @@ export const ListingGridResponseSchema = {
|
|
|
5235
5395
|
],
|
|
5236
5396
|
},
|
|
5237
5397
|
assignedTo: {
|
|
5238
|
-
$ref: '#/components/schemas/
|
|
5398
|
+
$ref: '#/components/schemas/MemberPeekResponse',
|
|
5239
5399
|
},
|
|
5240
5400
|
propertyType: {
|
|
5241
5401
|
type: 'string',
|
|
@@ -5472,7 +5632,7 @@ export const InterestGridResponseSchema = {
|
|
|
5472
5632
|
],
|
|
5473
5633
|
},
|
|
5474
5634
|
assignedTo: {
|
|
5475
|
-
$ref: '#/components/schemas/
|
|
5635
|
+
$ref: '#/components/schemas/MemberPeekResponse',
|
|
5476
5636
|
},
|
|
5477
5637
|
createdBy: {
|
|
5478
5638
|
type: 'string',
|
|
@@ -5828,7 +5988,7 @@ export const ContactGridResponseSchema = {
|
|
|
5828
5988
|
format: 'uuid',
|
|
5829
5989
|
},
|
|
5830
5990
|
assignedTo: {
|
|
5831
|
-
$ref: '#/components/schemas/
|
|
5991
|
+
$ref: '#/components/schemas/MemberPeekResponse',
|
|
5832
5992
|
},
|
|
5833
5993
|
title: {
|
|
5834
5994
|
type: 'string',
|
|
@@ -6307,7 +6467,7 @@ export const ContactLookupResponseSchema = {
|
|
|
6307
6467
|
format: 'int64',
|
|
6308
6468
|
},
|
|
6309
6469
|
assignedTo: {
|
|
6310
|
-
$ref: '#/components/schemas/
|
|
6470
|
+
$ref: '#/components/schemas/MemberPeekResponse',
|
|
6311
6471
|
},
|
|
6312
6472
|
personalDetails: {
|
|
6313
6473
|
oneOf: [
|
|
@@ -6336,9 +6496,6 @@ export const BoardSummaryResponseSchema = {
|
|
|
6336
6496
|
name: {
|
|
6337
6497
|
type: 'string',
|
|
6338
6498
|
},
|
|
6339
|
-
archived: {
|
|
6340
|
-
type: 'boolean',
|
|
6341
|
-
},
|
|
6342
6499
|
stages: {
|
|
6343
6500
|
type: 'array',
|
|
6344
6501
|
items: {
|
|
@@ -6346,7 +6503,7 @@ export const BoardSummaryResponseSchema = {
|
|
|
6346
6503
|
},
|
|
6347
6504
|
},
|
|
6348
6505
|
},
|
|
6349
|
-
required: ['
|
|
6506
|
+
required: ['boardId', 'name', 'stages'],
|
|
6350
6507
|
};
|
|
6351
6508
|
export const StageSummaryResponseSchema = {
|
|
6352
6509
|
type: 'object',
|
|
@@ -6382,9 +6539,6 @@ export const BoardResponseSchema = {
|
|
|
6382
6539
|
name: {
|
|
6383
6540
|
type: 'string',
|
|
6384
6541
|
},
|
|
6385
|
-
archived: {
|
|
6386
|
-
type: 'boolean',
|
|
6387
|
-
},
|
|
6388
6542
|
stages: {
|
|
6389
6543
|
type: 'array',
|
|
6390
6544
|
items: {
|
|
@@ -6396,7 +6550,7 @@ export const BoardResponseSchema = {
|
|
|
6396
6550
|
format: 'date-time',
|
|
6397
6551
|
},
|
|
6398
6552
|
},
|
|
6399
|
-
required: ['
|
|
6553
|
+
required: ['boardId', 'createdAt', 'name', 'stages'],
|
|
6400
6554
|
};
|
|
6401
6555
|
export const StageResponseSchema = {
|
|
6402
6556
|
type: 'object',
|
|
@@ -6415,9 +6569,6 @@ export const StageResponseSchema = {
|
|
|
6415
6569
|
type: 'integer',
|
|
6416
6570
|
format: 'int32',
|
|
6417
6571
|
},
|
|
6418
|
-
active: {
|
|
6419
|
-
type: 'boolean',
|
|
6420
|
-
},
|
|
6421
6572
|
todoTemplates: {
|
|
6422
6573
|
type: 'array',
|
|
6423
6574
|
items: {
|
|
@@ -6425,14 +6576,7 @@ export const StageResponseSchema = {
|
|
|
6425
6576
|
},
|
|
6426
6577
|
},
|
|
6427
6578
|
},
|
|
6428
|
-
required: [
|
|
6429
|
-
'active',
|
|
6430
|
-
'color',
|
|
6431
|
-
'name',
|
|
6432
|
-
'position',
|
|
6433
|
-
'stageId',
|
|
6434
|
-
'todoTemplates',
|
|
6435
|
-
],
|
|
6579
|
+
required: ['color', 'name', 'position', 'stageId', 'todoTemplates'],
|
|
6436
6580
|
};
|
|
6437
6581
|
export const TodoTemplateResponseSchema = {
|
|
6438
6582
|
type: 'object',
|
|
@@ -6451,19 +6595,6 @@ export const TodoTemplateResponseSchema = {
|
|
|
6451
6595
|
},
|
|
6452
6596
|
required: ['position', 'templateId', 'title'],
|
|
6453
6597
|
};
|
|
6454
|
-
export const TaskSettingsResponseSchema = {
|
|
6455
|
-
type: 'object',
|
|
6456
|
-
properties: {
|
|
6457
|
-
defaultBoardId: {
|
|
6458
|
-
type: 'string',
|
|
6459
|
-
format: 'uuid',
|
|
6460
|
-
},
|
|
6461
|
-
defaultStageId: {
|
|
6462
|
-
type: 'string',
|
|
6463
|
-
format: 'uuid',
|
|
6464
|
-
},
|
|
6465
|
-
},
|
|
6466
|
-
};
|
|
6467
6598
|
export const AddressViewResponseSchema = {
|
|
6468
6599
|
type: 'object',
|
|
6469
6600
|
properties: {
|