@homespot-sdk/core 0.0.359 → 0.0.360
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 +283 -113
- package/dist/rem/schemas.gen.d.ts.map +1 -1
- package/dist/rem/schemas.gen.js +329 -124
- package/dist/rem/schemas.gen.js.map +1 -1
- package/dist/rem/sdk.gen.d.ts +2 -1
- package/dist/rem/sdk.gen.d.ts.map +1 -1
- package/dist/rem/sdk.gen.js +8 -1
- package/dist/rem/sdk.gen.js.map +1 -1
- package/dist/rem/transformers.gen.d.ts +3 -1
- package/dist/rem/transformers.gen.d.ts.map +1 -1
- package/dist/rem/transformers.gen.js +23 -0
- package/dist/rem/transformers.gen.js.map +1 -1
- package/dist/rem/types.gen.d.ts +101 -43
- package/dist/rem/types.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.d.ts +1102 -166
- package/dist/rem/zod.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.js +176 -46
- package/dist/rem/zod.gen.js.map +1 -1
- package/package.json +1 -1
package/dist/rem/schemas.gen.js
CHANGED
|
@@ -183,7 +183,7 @@ export const CommentBodyRequestSchema = {
|
|
|
183
183
|
properties: {
|
|
184
184
|
body: {
|
|
185
185
|
type: 'string',
|
|
186
|
-
maxLength:
|
|
186
|
+
maxLength: 6300,
|
|
187
187
|
minLength: 0,
|
|
188
188
|
},
|
|
189
189
|
},
|
|
@@ -2222,6 +2222,18 @@ export const CommentViewSchema = {
|
|
|
2222
2222
|
body: {
|
|
2223
2223
|
type: 'string',
|
|
2224
2224
|
},
|
|
2225
|
+
mentionedMembers: {
|
|
2226
|
+
type: 'array',
|
|
2227
|
+
items: {
|
|
2228
|
+
$ref: '#/components/schemas/MemberPeekResponse',
|
|
2229
|
+
},
|
|
2230
|
+
},
|
|
2231
|
+
mentionedContacts: {
|
|
2232
|
+
type: 'array',
|
|
2233
|
+
items: {
|
|
2234
|
+
$ref: '#/components/schemas/ContactMentionView',
|
|
2235
|
+
},
|
|
2236
|
+
},
|
|
2225
2237
|
createdAt: {
|
|
2226
2238
|
type: 'string',
|
|
2227
2239
|
format: 'date-time',
|
|
@@ -2238,35 +2250,17 @@ export const CommentViewSchema = {
|
|
|
2238
2250
|
'body',
|
|
2239
2251
|
'createdAt',
|
|
2240
2252
|
'id',
|
|
2253
|
+
'mentionedContacts',
|
|
2254
|
+
'mentionedMembers',
|
|
2241
2255
|
],
|
|
2242
2256
|
};
|
|
2243
|
-
export const
|
|
2244
|
-
type: 'object',
|
|
2245
|
-
properties: {
|
|
2246
|
-
items: {
|
|
2247
|
-
type: 'array',
|
|
2248
|
-
items: {
|
|
2249
|
-
$ref: '#/components/schemas/CommentView',
|
|
2250
|
-
},
|
|
2251
|
-
},
|
|
2252
|
-
nextCursor: {
|
|
2253
|
-
type: 'string',
|
|
2254
|
-
},
|
|
2255
|
-
hasNext: {
|
|
2256
|
-
type: 'boolean',
|
|
2257
|
-
},
|
|
2258
|
-
},
|
|
2259
|
-
};
|
|
2260
|
-
export const ContactLinkSchema = {
|
|
2257
|
+
export const ContactMentionViewSchema = {
|
|
2261
2258
|
type: 'object',
|
|
2262
2259
|
properties: {
|
|
2263
2260
|
contactId: {
|
|
2264
2261
|
type: 'integer',
|
|
2265
2262
|
format: 'int64',
|
|
2266
2263
|
},
|
|
2267
|
-
primary: {
|
|
2268
|
-
type: 'boolean',
|
|
2269
|
-
},
|
|
2270
2264
|
personalDetails: {
|
|
2271
2265
|
oneOf: [
|
|
2272
2266
|
{
|
|
@@ -2282,7 +2276,7 @@ export const ContactLinkSchema = {
|
|
|
2282
2276
|
format: 'uuid',
|
|
2283
2277
|
},
|
|
2284
2278
|
},
|
|
2285
|
-
required: ['contactId', 'personalDetails'
|
|
2279
|
+
required: ['contactId', 'personalDetails'],
|
|
2286
2280
|
};
|
|
2287
2281
|
export const ContactPersonalDetailsSchema = {
|
|
2288
2282
|
discriminator: {
|
|
@@ -2342,6 +2336,75 @@ export const ContactPersonalDetailsVisibleSchema = {
|
|
|
2342
2336
|
},
|
|
2343
2337
|
required: ['status'],
|
|
2344
2338
|
};
|
|
2339
|
+
export const CursorPageCommentViewSchema = {
|
|
2340
|
+
type: 'object',
|
|
2341
|
+
properties: {
|
|
2342
|
+
items: {
|
|
2343
|
+
type: 'array',
|
|
2344
|
+
items: {
|
|
2345
|
+
$ref: '#/components/schemas/CommentView',
|
|
2346
|
+
},
|
|
2347
|
+
},
|
|
2348
|
+
nextCursor: {
|
|
2349
|
+
type: 'string',
|
|
2350
|
+
},
|
|
2351
|
+
hasNext: {
|
|
2352
|
+
type: 'boolean',
|
|
2353
|
+
},
|
|
2354
|
+
},
|
|
2355
|
+
};
|
|
2356
|
+
export const MemberPeekResponseSchema = {
|
|
2357
|
+
type: 'object',
|
|
2358
|
+
properties: {
|
|
2359
|
+
memberId: {
|
|
2360
|
+
type: 'string',
|
|
2361
|
+
format: 'uuid',
|
|
2362
|
+
},
|
|
2363
|
+
firstName: {
|
|
2364
|
+
type: 'string',
|
|
2365
|
+
},
|
|
2366
|
+
lastName: {
|
|
2367
|
+
type: 'string',
|
|
2368
|
+
},
|
|
2369
|
+
photo: {
|
|
2370
|
+
type: 'string',
|
|
2371
|
+
},
|
|
2372
|
+
phone: {
|
|
2373
|
+
type: 'string',
|
|
2374
|
+
},
|
|
2375
|
+
email: {
|
|
2376
|
+
type: 'string',
|
|
2377
|
+
},
|
|
2378
|
+
},
|
|
2379
|
+
required: ['email', 'firstName', 'lastName', 'memberId'],
|
|
2380
|
+
};
|
|
2381
|
+
export const ContactLinkSchema = {
|
|
2382
|
+
type: 'object',
|
|
2383
|
+
properties: {
|
|
2384
|
+
contactId: {
|
|
2385
|
+
type: 'integer',
|
|
2386
|
+
format: 'int64',
|
|
2387
|
+
},
|
|
2388
|
+
primary: {
|
|
2389
|
+
type: 'boolean',
|
|
2390
|
+
},
|
|
2391
|
+
personalDetails: {
|
|
2392
|
+
oneOf: [
|
|
2393
|
+
{
|
|
2394
|
+
$ref: '#/components/schemas/ContactPersonalDetailsRestricted',
|
|
2395
|
+
},
|
|
2396
|
+
{
|
|
2397
|
+
$ref: '#/components/schemas/ContactPersonalDetailsVisible',
|
|
2398
|
+
},
|
|
2399
|
+
],
|
|
2400
|
+
},
|
|
2401
|
+
contactAssignedTo: {
|
|
2402
|
+
type: 'string',
|
|
2403
|
+
format: 'uuid',
|
|
2404
|
+
},
|
|
2405
|
+
},
|
|
2406
|
+
required: ['contactId', 'personalDetails', 'primary'],
|
|
2407
|
+
};
|
|
2345
2408
|
export const InterestLinkSchema = {
|
|
2346
2409
|
type: 'object',
|
|
2347
2410
|
properties: {
|
|
@@ -2439,31 +2502,6 @@ export const LocationResponseSchema = {
|
|
|
2439
2502
|
},
|
|
2440
2503
|
required: ['id', 'names'],
|
|
2441
2504
|
};
|
|
2442
|
-
export const MemberPeekResponseSchema = {
|
|
2443
|
-
type: 'object',
|
|
2444
|
-
properties: {
|
|
2445
|
-
memberId: {
|
|
2446
|
-
type: 'string',
|
|
2447
|
-
format: 'uuid',
|
|
2448
|
-
},
|
|
2449
|
-
firstName: {
|
|
2450
|
-
type: 'string',
|
|
2451
|
-
},
|
|
2452
|
-
lastName: {
|
|
2453
|
-
type: 'string',
|
|
2454
|
-
},
|
|
2455
|
-
photo: {
|
|
2456
|
-
type: 'string',
|
|
2457
|
-
},
|
|
2458
|
-
phone: {
|
|
2459
|
-
type: 'string',
|
|
2460
|
-
},
|
|
2461
|
-
email: {
|
|
2462
|
-
type: 'string',
|
|
2463
|
-
},
|
|
2464
|
-
},
|
|
2465
|
-
required: ['email', 'firstName', 'lastName', 'memberId'],
|
|
2466
|
-
};
|
|
2467
2505
|
export const ParticipantSchema = {
|
|
2468
2506
|
type: 'object',
|
|
2469
2507
|
properties: {
|
|
@@ -2778,134 +2816,188 @@ export const TodoItemSchema = {
|
|
|
2778
2816
|
},
|
|
2779
2817
|
required: ['fromTemplate', 'position', 'title', 'todoId'],
|
|
2780
2818
|
};
|
|
2781
|
-
export const
|
|
2819
|
+
export const ContactTaskCardResponseSchema = {
|
|
2782
2820
|
type: 'object',
|
|
2783
2821
|
properties: {
|
|
2784
2822
|
taskId: {
|
|
2785
2823
|
type: 'string',
|
|
2786
2824
|
format: 'uuid',
|
|
2787
2825
|
},
|
|
2788
|
-
|
|
2789
|
-
type: 'string',
|
|
2790
|
-
},
|
|
2791
|
-
boardId: {
|
|
2826
|
+
stageId: {
|
|
2792
2827
|
type: 'string',
|
|
2793
2828
|
format: 'uuid',
|
|
2794
2829
|
},
|
|
2795
|
-
|
|
2830
|
+
stageName: {
|
|
2796
2831
|
type: 'string',
|
|
2797
2832
|
},
|
|
2798
|
-
|
|
2833
|
+
title: {
|
|
2799
2834
|
type: 'string',
|
|
2800
|
-
format: 'uuid',
|
|
2801
2835
|
},
|
|
2802
|
-
|
|
2803
|
-
type: '
|
|
2836
|
+
hasDescription: {
|
|
2837
|
+
type: 'boolean',
|
|
2804
2838
|
},
|
|
2805
|
-
|
|
2839
|
+
commentCount: {
|
|
2840
|
+
type: 'integer',
|
|
2841
|
+
format: 'int32',
|
|
2842
|
+
},
|
|
2843
|
+
contactCount: {
|
|
2844
|
+
type: 'integer',
|
|
2845
|
+
format: 'int32',
|
|
2846
|
+
},
|
|
2847
|
+
priority: {
|
|
2806
2848
|
type: 'string',
|
|
2807
|
-
enum: ['
|
|
2849
|
+
enum: ['LOW', 'MEDIUM', 'HIGH', 'CRITICAL'],
|
|
2808
2850
|
},
|
|
2809
2851
|
value: {
|
|
2810
2852
|
type: 'number',
|
|
2811
2853
|
},
|
|
2812
|
-
|
|
2813
|
-
type: '
|
|
2854
|
+
commissionType: {
|
|
2855
|
+
type: 'string',
|
|
2856
|
+
enum: ['NOT_SET', 'FIXED', 'PERCENTAGE', 'MONTHS_OF_RENT'],
|
|
2814
2857
|
},
|
|
2815
|
-
|
|
2816
|
-
|
|
2817
|
-
|
|
2818
|
-
|
|
2819
|
-
'primary',
|
|
2820
|
-
'stageId',
|
|
2821
|
-
'stageName',
|
|
2822
|
-
'taskId',
|
|
2823
|
-
'title',
|
|
2824
|
-
],
|
|
2825
|
-
};
|
|
2826
|
-
export const BoardCardsResponseSchema = {
|
|
2827
|
-
type: 'object',
|
|
2828
|
-
properties: {
|
|
2829
|
-
boardId: {
|
|
2858
|
+
commissionValue: {
|
|
2859
|
+
type: 'number',
|
|
2860
|
+
},
|
|
2861
|
+
ownerId: {
|
|
2830
2862
|
type: 'string',
|
|
2831
2863
|
format: 'uuid',
|
|
2832
2864
|
},
|
|
2833
|
-
|
|
2834
|
-
type: '
|
|
2865
|
+
primaryContactId: {
|
|
2866
|
+
type: 'integer',
|
|
2867
|
+
format: 'int64',
|
|
2835
2868
|
},
|
|
2836
|
-
|
|
2869
|
+
primaryContact: {
|
|
2870
|
+
oneOf: [
|
|
2871
|
+
{
|
|
2872
|
+
$ref: '#/components/schemas/ContactPersonalDetailsRestricted',
|
|
2873
|
+
},
|
|
2874
|
+
{
|
|
2875
|
+
$ref: '#/components/schemas/ContactPersonalDetailsVisible',
|
|
2876
|
+
},
|
|
2877
|
+
],
|
|
2878
|
+
},
|
|
2879
|
+
contactAssignedTo: {
|
|
2837
2880
|
type: 'string',
|
|
2838
|
-
|
|
2881
|
+
format: 'uuid',
|
|
2839
2882
|
},
|
|
2840
|
-
|
|
2841
|
-
|
|
2842
|
-
|
|
2843
|
-
|
|
2844
|
-
|
|
2883
|
+
primaryContent: {
|
|
2884
|
+
oneOf: [
|
|
2885
|
+
{
|
|
2886
|
+
$ref: '#/components/schemas/TaskContentInterest',
|
|
2887
|
+
},
|
|
2888
|
+
{
|
|
2889
|
+
$ref: '#/components/schemas/TaskContentProperty',
|
|
2890
|
+
},
|
|
2891
|
+
],
|
|
2845
2892
|
},
|
|
2846
|
-
|
|
2893
|
+
participants: {
|
|
2847
2894
|
type: 'array',
|
|
2848
2895
|
items: {
|
|
2849
|
-
|
|
2896
|
+
type: 'string',
|
|
2897
|
+
format: 'uuid',
|
|
2850
2898
|
},
|
|
2851
2899
|
},
|
|
2852
|
-
|
|
2853
|
-
required: ['boardId', 'columns', 'members', 'name'],
|
|
2854
|
-
};
|
|
2855
|
-
export const ColumnSchema = {
|
|
2856
|
-
type: 'object',
|
|
2857
|
-
properties: {
|
|
2858
|
-
stageId: {
|
|
2900
|
+
rank: {
|
|
2859
2901
|
type: 'string',
|
|
2860
|
-
format: 'uuid',
|
|
2861
2902
|
},
|
|
2862
|
-
|
|
2903
|
+
stageEnteredAt: {
|
|
2863
2904
|
type: 'string',
|
|
2905
|
+
format: 'date-time',
|
|
2864
2906
|
},
|
|
2865
|
-
|
|
2866
|
-
type: '
|
|
2907
|
+
daysInStage: {
|
|
2908
|
+
type: 'integer',
|
|
2909
|
+
format: 'int64',
|
|
2867
2910
|
},
|
|
2868
|
-
|
|
2911
|
+
openTodos: {
|
|
2869
2912
|
type: 'integer',
|
|
2870
|
-
format: '
|
|
2913
|
+
format: 'int64',
|
|
2871
2914
|
},
|
|
2872
|
-
|
|
2915
|
+
totalTodos: {
|
|
2873
2916
|
type: 'integer',
|
|
2874
2917
|
format: 'int64',
|
|
2875
2918
|
},
|
|
2876
|
-
|
|
2877
|
-
type: '
|
|
2919
|
+
hasLeftoverOpenTodos: {
|
|
2920
|
+
type: 'boolean',
|
|
2878
2921
|
},
|
|
2879
|
-
|
|
2880
|
-
|
|
2922
|
+
expectedCloseDate: {
|
|
2923
|
+
type: 'string',
|
|
2924
|
+
format: 'date',
|
|
2925
|
+
},
|
|
2926
|
+
outcome: {
|
|
2927
|
+
type: 'string',
|
|
2928
|
+
enum: ['WON', 'LOST'],
|
|
2929
|
+
},
|
|
2930
|
+
lostReason: {
|
|
2931
|
+
type: 'string',
|
|
2932
|
+
enum: [
|
|
2933
|
+
'NOT_WORKING_WITH_AGENTS',
|
|
2934
|
+
'NOT_RESPONDING',
|
|
2935
|
+
'ALREADY_SOLD',
|
|
2936
|
+
'COULD_NOT_NEGOTIATE_PRICE',
|
|
2937
|
+
'CHOSE_ANOTHER_AGENCY',
|
|
2938
|
+
'CHANGED_PLANS',
|
|
2939
|
+
'OUT_OF_BUDGET',
|
|
2940
|
+
'SPAM',
|
|
2941
|
+
'OTHER',
|
|
2942
|
+
],
|
|
2943
|
+
},
|
|
2944
|
+
closedAt: {
|
|
2945
|
+
type: 'string',
|
|
2946
|
+
format: 'date-time',
|
|
2947
|
+
},
|
|
2948
|
+
boardId: {
|
|
2949
|
+
type: 'string',
|
|
2950
|
+
format: 'uuid',
|
|
2951
|
+
},
|
|
2952
|
+
boardName: {
|
|
2953
|
+
type: 'string',
|
|
2954
|
+
},
|
|
2955
|
+
stageColor: {
|
|
2956
|
+
type: 'string',
|
|
2957
|
+
},
|
|
2958
|
+
primary: {
|
|
2959
|
+
type: 'boolean',
|
|
2881
2960
|
},
|
|
2882
2961
|
},
|
|
2883
2962
|
required: [
|
|
2884
|
-
'
|
|
2885
|
-
'
|
|
2886
|
-
'
|
|
2887
|
-
'
|
|
2963
|
+
'boardId',
|
|
2964
|
+
'boardName',
|
|
2965
|
+
'commentCount',
|
|
2966
|
+
'contactCount',
|
|
2967
|
+
'daysInStage',
|
|
2968
|
+
'hasDescription',
|
|
2969
|
+
'hasLeftoverOpenTodos',
|
|
2970
|
+
'openTodos',
|
|
2971
|
+
'participants',
|
|
2972
|
+
'primary',
|
|
2973
|
+
'priority',
|
|
2974
|
+
'rank',
|
|
2975
|
+
'stageColor',
|
|
2976
|
+
'stageEnteredAt',
|
|
2888
2977
|
'stageId',
|
|
2889
|
-
'
|
|
2890
|
-
'
|
|
2978
|
+
'stageName',
|
|
2979
|
+
'taskId',
|
|
2980
|
+
'title',
|
|
2981
|
+
'totalTodos',
|
|
2891
2982
|
],
|
|
2892
2983
|
};
|
|
2893
|
-
export const
|
|
2984
|
+
export const ContactTasksResponseSchema = {
|
|
2894
2985
|
type: 'object',
|
|
2895
2986
|
properties: {
|
|
2896
|
-
|
|
2987
|
+
members: {
|
|
2897
2988
|
type: 'array',
|
|
2898
2989
|
items: {
|
|
2899
|
-
$ref: '#/components/schemas/
|
|
2990
|
+
$ref: '#/components/schemas/MemberPeekResponse',
|
|
2900
2991
|
},
|
|
2901
2992
|
},
|
|
2902
|
-
|
|
2903
|
-
type: '
|
|
2904
|
-
|
|
2905
|
-
|
|
2906
|
-
|
|
2993
|
+
items: {
|
|
2994
|
+
type: 'array',
|
|
2995
|
+
items: {
|
|
2996
|
+
$ref: '#/components/schemas/ContactTaskCardResponse',
|
|
2997
|
+
},
|
|
2907
2998
|
},
|
|
2908
2999
|
},
|
|
3000
|
+
required: ['items', 'members'],
|
|
2909
3001
|
};
|
|
2910
3002
|
export const TaskCardResponseSchema = {
|
|
2911
3003
|
type: 'object',
|
|
@@ -3170,6 +3262,90 @@ export const TaskContentPropertySchema = {
|
|
|
3170
3262
|
],
|
|
3171
3263
|
required: ['id', 'type'],
|
|
3172
3264
|
};
|
|
3265
|
+
export const BoardCardsResponseSchema = {
|
|
3266
|
+
type: 'object',
|
|
3267
|
+
properties: {
|
|
3268
|
+
boardId: {
|
|
3269
|
+
type: 'string',
|
|
3270
|
+
format: 'uuid',
|
|
3271
|
+
},
|
|
3272
|
+
name: {
|
|
3273
|
+
type: 'string',
|
|
3274
|
+
},
|
|
3275
|
+
kind: {
|
|
3276
|
+
type: 'string',
|
|
3277
|
+
enum: ['OWNER', 'SEEKER'],
|
|
3278
|
+
},
|
|
3279
|
+
members: {
|
|
3280
|
+
type: 'array',
|
|
3281
|
+
items: {
|
|
3282
|
+
$ref: '#/components/schemas/MemberPeekResponse',
|
|
3283
|
+
},
|
|
3284
|
+
},
|
|
3285
|
+
columns: {
|
|
3286
|
+
type: 'array',
|
|
3287
|
+
items: {
|
|
3288
|
+
$ref: '#/components/schemas/Column',
|
|
3289
|
+
},
|
|
3290
|
+
},
|
|
3291
|
+
},
|
|
3292
|
+
required: ['boardId', 'columns', 'members', 'name'],
|
|
3293
|
+
};
|
|
3294
|
+
export const ColumnSchema = {
|
|
3295
|
+
type: 'object',
|
|
3296
|
+
properties: {
|
|
3297
|
+
stageId: {
|
|
3298
|
+
type: 'string',
|
|
3299
|
+
format: 'uuid',
|
|
3300
|
+
},
|
|
3301
|
+
name: {
|
|
3302
|
+
type: 'string',
|
|
3303
|
+
},
|
|
3304
|
+
color: {
|
|
3305
|
+
type: 'string',
|
|
3306
|
+
},
|
|
3307
|
+
position: {
|
|
3308
|
+
type: 'integer',
|
|
3309
|
+
format: 'int32',
|
|
3310
|
+
},
|
|
3311
|
+
totalTasks: {
|
|
3312
|
+
type: 'integer',
|
|
3313
|
+
format: 'int64',
|
|
3314
|
+
},
|
|
3315
|
+
totalValue: {
|
|
3316
|
+
type: 'number',
|
|
3317
|
+
},
|
|
3318
|
+
cards: {
|
|
3319
|
+
$ref: '#/components/schemas/CursorPageTaskCardResponse',
|
|
3320
|
+
},
|
|
3321
|
+
},
|
|
3322
|
+
required: [
|
|
3323
|
+
'cards',
|
|
3324
|
+
'color',
|
|
3325
|
+
'name',
|
|
3326
|
+
'position',
|
|
3327
|
+
'stageId',
|
|
3328
|
+
'totalTasks',
|
|
3329
|
+
'totalValue',
|
|
3330
|
+
],
|
|
3331
|
+
};
|
|
3332
|
+
export const CursorPageTaskCardResponseSchema = {
|
|
3333
|
+
type: 'object',
|
|
3334
|
+
properties: {
|
|
3335
|
+
items: {
|
|
3336
|
+
type: 'array',
|
|
3337
|
+
items: {
|
|
3338
|
+
$ref: '#/components/schemas/TaskCardResponse',
|
|
3339
|
+
},
|
|
3340
|
+
},
|
|
3341
|
+
nextCursor: {
|
|
3342
|
+
type: 'string',
|
|
3343
|
+
},
|
|
3344
|
+
hasNext: {
|
|
3345
|
+
type: 'boolean',
|
|
3346
|
+
},
|
|
3347
|
+
},
|
|
3348
|
+
};
|
|
3173
3349
|
export const StageCardsResponseSchema = {
|
|
3174
3350
|
type: 'object',
|
|
3175
3351
|
properties: {
|
|
@@ -4990,6 +5166,33 @@ export const MemberIdSchema = {
|
|
|
4990
5166
|
},
|
|
4991
5167
|
},
|
|
4992
5168
|
};
|
|
5169
|
+
export const MemberMentionedSchema = {
|
|
5170
|
+
properties: {
|
|
5171
|
+
commentId: {
|
|
5172
|
+
$ref: '#/components/schemas/CommentId',
|
|
5173
|
+
},
|
|
5174
|
+
contactId: {
|
|
5175
|
+
$ref: '#/components/schemas/ContactId',
|
|
5176
|
+
},
|
|
5177
|
+
taskId: {
|
|
5178
|
+
$ref: '#/components/schemas/TaskId',
|
|
5179
|
+
},
|
|
5180
|
+
authorId: {
|
|
5181
|
+
$ref: '#/components/schemas/MemberId',
|
|
5182
|
+
},
|
|
5183
|
+
author: {
|
|
5184
|
+
type: 'string',
|
|
5185
|
+
},
|
|
5186
|
+
commentSnippet: {
|
|
5187
|
+
type: 'string',
|
|
5188
|
+
},
|
|
5189
|
+
kind: {
|
|
5190
|
+
type: 'string',
|
|
5191
|
+
enum: ['MEMBER_MENTIONED'],
|
|
5192
|
+
},
|
|
5193
|
+
},
|
|
5194
|
+
required: ['kind'],
|
|
5195
|
+
};
|
|
4993
5196
|
export const NewMessageSchema = {
|
|
4994
5197
|
properties: {
|
|
4995
5198
|
contactId: {
|
|
@@ -5052,6 +5255,7 @@ export const NotificationContentSchema = {
|
|
|
5052
5255
|
mapping: {
|
|
5053
5256
|
AGENT_COMMENTED: '#/components/schemas/AgentCommented',
|
|
5054
5257
|
TASK_COMMENTED: '#/components/schemas/TaskCommented',
|
|
5258
|
+
MEMBER_MENTIONED: '#/components/schemas/MemberMentioned',
|
|
5055
5259
|
LISTING_EXPIRED: '#/components/schemas/ListingExpired',
|
|
5056
5260
|
NEW_SEEKER_RATING: '#/components/schemas/NewSeekerRating',
|
|
5057
5261
|
NEW_MESSAGE: '#/components/schemas/NewMessage',
|
|
@@ -5095,6 +5299,7 @@ export const NotificationViewSchema = {
|
|
|
5095
5299
|
enum: [
|
|
5096
5300
|
'AGENT_COMMENTED',
|
|
5097
5301
|
'TASK_COMMENTED',
|
|
5302
|
+
'MEMBER_MENTIONED',
|
|
5098
5303
|
'EXTERNAL_LISTING_EXPIRED',
|
|
5099
5304
|
'LISTING_EXPIRED',
|
|
5100
5305
|
'NEW_SEEKER_RATING',
|
|
@@ -5125,6 +5330,9 @@ export const NotificationViewSchema = {
|
|
|
5125
5330
|
{
|
|
5126
5331
|
$ref: '#/components/schemas/ListingExpired',
|
|
5127
5332
|
},
|
|
5333
|
+
{
|
|
5334
|
+
$ref: '#/components/schemas/MemberMentioned',
|
|
5335
|
+
},
|
|
5128
5336
|
{
|
|
5129
5337
|
$ref: '#/components/schemas/NewMessage',
|
|
5130
5338
|
},
|
|
@@ -6557,10 +6765,7 @@ export const Client360ResponseSchema = {
|
|
|
6557
6765
|
},
|
|
6558
6766
|
},
|
|
6559
6767
|
tasks: {
|
|
6560
|
-
|
|
6561
|
-
items: {
|
|
6562
|
-
$ref: '#/components/schemas/ContactTaskResponse',
|
|
6563
|
-
},
|
|
6768
|
+
$ref: '#/components/schemas/ContactTasksResponse',
|
|
6564
6769
|
},
|
|
6565
6770
|
},
|
|
6566
6771
|
required: [
|