@homespot-sdk/core 0.0.117 → 0.0.119
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/registration/index.d.ts +1 -1
- package/dist/registration/index.d.ts.map +1 -1
- package/dist/registration/schemas.gen.d.ts +20 -8
- package/dist/registration/schemas.gen.d.ts.map +1 -1
- package/dist/registration/schemas.gen.js +20 -8
- package/dist/registration/schemas.gen.js.map +1 -1
- package/dist/registration/types.gen.d.ts +6 -4
- package/dist/registration/types.gen.d.ts.map +1 -1
- package/dist/registration/zod.gen.d.ts +46 -24
- package/dist/registration/zod.gen.d.ts.map +1 -1
- package/dist/registration/zod.gen.js +13 -9
- 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 +133 -208
- package/dist/rem/schemas.gen.d.ts.map +1 -1
- package/dist/rem/schemas.gen.js +149 -211
- package/dist/rem/schemas.gen.js.map +1 -1
- package/dist/rem/sdk.gen.d.ts +28 -24
- package/dist/rem/sdk.gen.d.ts.map +1 -1
- package/dist/rem/sdk.gen.js +92 -72
- package/dist/rem/sdk.gen.js.map +1 -1
- package/dist/rem/types.gen.d.ts +331 -291
- package/dist/rem/types.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.d.ts +729 -1005
- package/dist/rem/zod.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.js +336 -322
- package/dist/rem/zod.gen.js.map +1 -1
- package/package.json +1 -1
package/dist/rem/zod.gen.js
CHANGED
|
@@ -21,10 +21,10 @@ export const zBatchAssignRoleRequest = z.object({
|
|
|
21
21
|
}),
|
|
22
22
|
memberIds: z.array(z.uuid()).min(1),
|
|
23
23
|
});
|
|
24
|
-
export const
|
|
24
|
+
export const zRecordSourceRequest = z.object({
|
|
25
25
|
sourceUrl: z.optional(z.string()),
|
|
26
26
|
});
|
|
27
|
-
export const
|
|
27
|
+
export const zNoteRequest = z.object({
|
|
28
28
|
note: z.optional(z.string()),
|
|
29
29
|
});
|
|
30
30
|
export const zLocationRefRequest = z.object({
|
|
@@ -65,7 +65,7 @@ export const zPriceRangeRequest = z.object({
|
|
|
65
65
|
min: z.optional(z.number()),
|
|
66
66
|
max: z.optional(z.number()),
|
|
67
67
|
});
|
|
68
|
-
export const
|
|
68
|
+
export const zReassignMemberRequest = z.object({
|
|
69
69
|
memberId: z.uuid(),
|
|
70
70
|
});
|
|
71
71
|
export const zAddressRequest = z.object({
|
|
@@ -76,8 +76,8 @@ export const zAddressRequest = z.object({
|
|
|
76
76
|
street: z.string().min(0).max(255),
|
|
77
77
|
});
|
|
78
78
|
export const zCreateAgencyRequest = z.object({
|
|
79
|
-
name: z.string()
|
|
80
|
-
email: z.email()
|
|
79
|
+
name: z.string(),
|
|
80
|
+
email: z.email(),
|
|
81
81
|
seats: z
|
|
82
82
|
.int()
|
|
83
83
|
.min(-2147483648, {
|
|
@@ -86,8 +86,8 @@ export const zCreateAgencyRequest = z.object({
|
|
|
86
86
|
.max(2147483647, {
|
|
87
87
|
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
88
88
|
}),
|
|
89
|
-
|
|
90
|
-
phone: z.string()
|
|
89
|
+
subdomain: z.string(),
|
|
90
|
+
phone: z.string(),
|
|
91
91
|
address: zAddressRequest,
|
|
92
92
|
yearSince: z
|
|
93
93
|
.int()
|
|
@@ -115,17 +115,17 @@ export const zIdResponseInteger = z.object({
|
|
|
115
115
|
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
116
116
|
}),
|
|
117
117
|
});
|
|
118
|
-
export const
|
|
119
|
-
|
|
118
|
+
export const zLeadId = z.object({
|
|
119
|
+
value: z.optional(z.coerce
|
|
120
120
|
.bigint()
|
|
121
121
|
.min(BigInt('-9223372036854775808'), {
|
|
122
122
|
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
123
123
|
})
|
|
124
124
|
.max(BigInt('9223372036854775807'), {
|
|
125
125
|
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
126
|
-
}),
|
|
126
|
+
})),
|
|
127
127
|
});
|
|
128
|
-
export const
|
|
128
|
+
export const zRecruitmentRequest = z.object({
|
|
129
129
|
email: z.email(),
|
|
130
130
|
roleId: z
|
|
131
131
|
.int()
|
|
@@ -136,13 +136,33 @@ export const zInvitationDetailsRequest = z.object({
|
|
|
136
136
|
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
137
137
|
}),
|
|
138
138
|
});
|
|
139
|
-
export const
|
|
140
|
-
emails: z.array(
|
|
139
|
+
export const zBulkRecruitmentRequest = z.object({
|
|
140
|
+
emails: z.array(zRecruitmentRequest).min(1),
|
|
141
141
|
});
|
|
142
142
|
export const zAuthRequest = z.object({
|
|
143
143
|
sub: z.optional(z.string()),
|
|
144
144
|
agencyId: z.optional(z.uuid()),
|
|
145
145
|
});
|
|
146
|
+
export const zClientId = z.object({
|
|
147
|
+
value: z.optional(z.coerce
|
|
148
|
+
.bigint()
|
|
149
|
+
.min(BigInt('-9223372036854775808'), {
|
|
150
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
151
|
+
})
|
|
152
|
+
.max(BigInt('9223372036854775807'), {
|
|
153
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
154
|
+
})),
|
|
155
|
+
});
|
|
156
|
+
export const zInterestId = z.object({
|
|
157
|
+
value: z.optional(z.coerce
|
|
158
|
+
.bigint()
|
|
159
|
+
.min(BigInt('-9223372036854775808'), {
|
|
160
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
161
|
+
})
|
|
162
|
+
.max(BigInt('9223372036854775807'), {
|
|
163
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
164
|
+
})),
|
|
165
|
+
});
|
|
146
166
|
export const zIdResponseUuid = z.object({
|
|
147
167
|
id: z.uuid(),
|
|
148
168
|
});
|
|
@@ -236,10 +256,10 @@ export const zAgencyProfileResponse = z.object({
|
|
|
236
256
|
.max(2147483647, {
|
|
237
257
|
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
238
258
|
}),
|
|
239
|
-
|
|
259
|
+
subdomain: z.string(),
|
|
240
260
|
phone: z.string(),
|
|
241
261
|
address: zAddressViewResponse,
|
|
242
|
-
|
|
262
|
+
establishedYear: z
|
|
243
263
|
.int()
|
|
244
264
|
.min(-2147483648, {
|
|
245
265
|
error: 'Invalid value: Expected int32 to be >= -2147483648',
|
|
@@ -249,17 +269,6 @@ export const zAgencyProfileResponse = z.object({
|
|
|
249
269
|
}),
|
|
250
270
|
});
|
|
251
271
|
export const zSchemaEnum = z.enum([
|
|
252
|
-
'NEW',
|
|
253
|
-
'ATTEMPTED_CONTACT',
|
|
254
|
-
'CONTACTED',
|
|
255
|
-
'DISQUALIFIED',
|
|
256
|
-
'CONVERTED',
|
|
257
|
-
'LOST',
|
|
258
|
-
]);
|
|
259
|
-
export const zChangeStatusRequest = z.object({
|
|
260
|
-
status: zSchemaEnum,
|
|
261
|
-
});
|
|
262
|
-
export const zSchemaEnum2 = z.enum([
|
|
263
272
|
'NEW',
|
|
264
273
|
'ACTIVE',
|
|
265
274
|
'PAYMENT_FAILED',
|
|
@@ -271,17 +280,25 @@ export const zAgencySummaryResponse = z.object({
|
|
|
271
280
|
name: z.string(),
|
|
272
281
|
email: z.string(),
|
|
273
282
|
seats: z.string(),
|
|
274
|
-
|
|
283
|
+
subdomain: z.string(),
|
|
275
284
|
phone: z.string(),
|
|
276
285
|
website: z.optional(z.string()),
|
|
277
|
-
|
|
278
|
-
status:
|
|
286
|
+
establishedYear: z.string(),
|
|
287
|
+
status: zSchemaEnum,
|
|
279
288
|
logo: z.optional(z.string()),
|
|
280
289
|
});
|
|
281
290
|
export const zPagedModelAgencySummaryResponse = z.object({
|
|
282
291
|
content: z.optional(z.array(zAgencySummaryResponse)),
|
|
283
292
|
page: z.optional(zPageMetadata),
|
|
284
293
|
});
|
|
294
|
+
export const zSchemaEnum2 = z.enum([
|
|
295
|
+
'NEW',
|
|
296
|
+
'ATTEMPTED_CONTACT',
|
|
297
|
+
'CONTACTED',
|
|
298
|
+
'DISQUALIFIED',
|
|
299
|
+
'CONVERTED',
|
|
300
|
+
'LOST',
|
|
301
|
+
]);
|
|
285
302
|
export const zItemsEnum = z.enum([
|
|
286
303
|
'AGENCY_WRITE',
|
|
287
304
|
'INVITATION_READ',
|
|
@@ -294,6 +311,11 @@ export const zItemsEnum = z.enum([
|
|
|
294
311
|
'LEAD_WRITE',
|
|
295
312
|
'LEAD_READ_ALL',
|
|
296
313
|
'LEAD_WRITE_ALL',
|
|
314
|
+
'CLIENT_READ',
|
|
315
|
+
'CLIENT_WRITE',
|
|
316
|
+
'CLIENT_READ_ALL',
|
|
317
|
+
'CLIENT_WRITE_ALL',
|
|
318
|
+
'PROPERTY_READ_ALL',
|
|
297
319
|
]);
|
|
298
320
|
export const zRolesRequest = z.object({
|
|
299
321
|
name: z.string().min(1),
|
|
@@ -310,7 +332,7 @@ export const zOrganizationSummaryViewResponse = z.object({
|
|
|
310
332
|
agencyId: z.uuid(),
|
|
311
333
|
isOwner: z.boolean(),
|
|
312
334
|
agencyName: z.string(),
|
|
313
|
-
|
|
335
|
+
subdomain: z.string(),
|
|
314
336
|
roleId: z.optional(z
|
|
315
337
|
.int()
|
|
316
338
|
.min(-2147483648, {
|
|
@@ -322,7 +344,7 @@ export const zOrganizationSummaryViewResponse = z.object({
|
|
|
322
344
|
memberId: z.uuid(),
|
|
323
345
|
roleName: z.string(),
|
|
324
346
|
permissions: z.array(zItemsEnum),
|
|
325
|
-
status:
|
|
347
|
+
status: zSchemaEnum,
|
|
326
348
|
});
|
|
327
349
|
export const zUserContextViewResponse = z.object({
|
|
328
350
|
user: zUserSummaryViewResponse,
|
|
@@ -378,7 +400,7 @@ export const zPropertyTypeEnum = z.enum([
|
|
|
378
400
|
'WAREHOUSE',
|
|
379
401
|
'GARAGE',
|
|
380
402
|
]);
|
|
381
|
-
export const
|
|
403
|
+
export const zIntentRequest = z.object({
|
|
382
404
|
clientType: zClientTypeEnum,
|
|
383
405
|
listingType: zListingTypeEnum,
|
|
384
406
|
propertyType: zPropertyTypeEnum,
|
|
@@ -394,8 +416,8 @@ export const zLeadIntentRequest = z.object({
|
|
|
394
416
|
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
395
417
|
})),
|
|
396
418
|
});
|
|
397
|
-
export const
|
|
398
|
-
|
|
419
|
+
export const zCaptureInterestRequest = z.object({
|
|
420
|
+
propertyTypes: z.array(zPropertyTypeEnum).min(1),
|
|
399
421
|
listingType: zListingTypeEnum,
|
|
400
422
|
priceMin: z.optional(z.number()),
|
|
401
423
|
priceMax: z.optional(z.number()),
|
|
@@ -431,11 +453,11 @@ export const zClientRequirementRequest = z.object({
|
|
|
431
453
|
.max(2147483647, {
|
|
432
454
|
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
433
455
|
})),
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
456
|
+
totalAreaMin: z.optional(z.number()),
|
|
457
|
+
totalAreaMax: z.optional(z.number()),
|
|
458
|
+
livingAreaMin: z.optional(z.number()),
|
|
459
|
+
livingAreaMax: z.optional(z.number()),
|
|
460
|
+
location: z.optional(zLocationRefRequest),
|
|
439
461
|
});
|
|
440
462
|
export const zIntentResponse = z.object({
|
|
441
463
|
id: z.coerce
|
|
@@ -493,92 +515,6 @@ export const zIntentResponse = z.object({
|
|
|
493
515
|
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
494
516
|
})),
|
|
495
517
|
});
|
|
496
|
-
export const zPropertyResponse = z.object({
|
|
497
|
-
propertyId: z.uuid(),
|
|
498
|
-
propertyType: zPropertyTypeEnum,
|
|
499
|
-
});
|
|
500
|
-
export const zRequirementResponse = z.object({
|
|
501
|
-
id: z.coerce
|
|
502
|
-
.bigint()
|
|
503
|
-
.min(BigInt('-9223372036854775808'), {
|
|
504
|
-
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
505
|
-
})
|
|
506
|
-
.max(BigInt('9223372036854775807'), {
|
|
507
|
-
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
508
|
-
}),
|
|
509
|
-
propertyType: z.array(zPropertyTypeEnum),
|
|
510
|
-
listingType: zListingTypeEnum,
|
|
511
|
-
priceMin: z.optional(z.number()),
|
|
512
|
-
priceMax: z.optional(z.number()),
|
|
513
|
-
bedroomsMin: z.optional(z
|
|
514
|
-
.int()
|
|
515
|
-
.min(-2147483648, {
|
|
516
|
-
error: 'Invalid value: Expected int32 to be >= -2147483648',
|
|
517
|
-
})
|
|
518
|
-
.max(2147483647, {
|
|
519
|
-
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
520
|
-
})),
|
|
521
|
-
bedroomsMax: z.optional(z
|
|
522
|
-
.int()
|
|
523
|
-
.min(-2147483648, {
|
|
524
|
-
error: 'Invalid value: Expected int32 to be >= -2147483648',
|
|
525
|
-
})
|
|
526
|
-
.max(2147483647, {
|
|
527
|
-
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
528
|
-
})),
|
|
529
|
-
bathroomsMin: z.optional(z
|
|
530
|
-
.int()
|
|
531
|
-
.min(-2147483648, {
|
|
532
|
-
error: 'Invalid value: Expected int32 to be >= -2147483648',
|
|
533
|
-
})
|
|
534
|
-
.max(2147483647, {
|
|
535
|
-
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
536
|
-
})),
|
|
537
|
-
bathroomsMax: z.optional(z
|
|
538
|
-
.int()
|
|
539
|
-
.min(-2147483648, {
|
|
540
|
-
error: 'Invalid value: Expected int32 to be >= -2147483648',
|
|
541
|
-
})
|
|
542
|
-
.max(2147483647, {
|
|
543
|
-
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
544
|
-
})),
|
|
545
|
-
totalMin: z.optional(z.number()),
|
|
546
|
-
totalMax: z.optional(z.number()),
|
|
547
|
-
livingMin: z.optional(z.number()),
|
|
548
|
-
livingMax: z.optional(z.number()),
|
|
549
|
-
regionId: z.optional(z.coerce
|
|
550
|
-
.bigint()
|
|
551
|
-
.min(BigInt('-9223372036854775808'), {
|
|
552
|
-
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
553
|
-
})
|
|
554
|
-
.max(BigInt('9223372036854775807'), {
|
|
555
|
-
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
556
|
-
})),
|
|
557
|
-
districtId: z.optional(z.coerce
|
|
558
|
-
.bigint()
|
|
559
|
-
.min(BigInt('-9223372036854775808'), {
|
|
560
|
-
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
561
|
-
})
|
|
562
|
-
.max(BigInt('9223372036854775807'), {
|
|
563
|
-
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
564
|
-
})),
|
|
565
|
-
subDistrictId: z.optional(z.coerce
|
|
566
|
-
.bigint()
|
|
567
|
-
.min(BigInt('-9223372036854775808'), {
|
|
568
|
-
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
569
|
-
})
|
|
570
|
-
.max(BigInt('9223372036854775807'), {
|
|
571
|
-
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
572
|
-
})),
|
|
573
|
-
streetId: z.optional(z.coerce
|
|
574
|
-
.bigint()
|
|
575
|
-
.min(BigInt('-9223372036854775808'), {
|
|
576
|
-
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
577
|
-
})
|
|
578
|
-
.max(BigInt('9223372036854775807'), {
|
|
579
|
-
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
580
|
-
})),
|
|
581
|
-
});
|
|
582
518
|
export const zGenderEnum = z.enum(['MALE', 'FEMALE', 'UNKNOWN']);
|
|
583
519
|
export const zContactInfoRequest = z.object({
|
|
584
520
|
firstName: z.optional(z.string()),
|
|
@@ -587,26 +523,34 @@ export const zContactInfoRequest = z.object({
|
|
|
587
523
|
email: z.optional(z.email()),
|
|
588
524
|
phone: z.string().min(1),
|
|
589
525
|
});
|
|
590
|
-
export const
|
|
526
|
+
export const zCaptureLeadRequest = z.object({
|
|
591
527
|
contactInfo: zContactInfoRequest,
|
|
592
528
|
note: z.optional(z.string().min(0).max(500)),
|
|
593
|
-
|
|
529
|
+
sourceLink: z.optional(z.string()),
|
|
594
530
|
});
|
|
595
531
|
export const zPriorityEnum = z.enum(['CRITICAL', 'HIGH', 'MEDIUM', 'LOW']);
|
|
596
|
-
export const
|
|
532
|
+
export const zReprioritizeClientRequest = z.object({
|
|
597
533
|
priority: z.optional(zPriorityEnum),
|
|
598
534
|
});
|
|
599
535
|
export const zItemsEnum2 = z.enum(['WHATSAPP', 'VIBER', 'PHONE_CALL']);
|
|
600
|
-
export const
|
|
536
|
+
export const zUpdateContactPreferencesRequest = z.object({
|
|
601
537
|
contactMethods: z.array(zItemsEnum2),
|
|
602
|
-
favoriteContactMethod: zItemsEnum2,
|
|
538
|
+
favoriteContactMethod: z.optional(zItemsEnum2),
|
|
603
539
|
});
|
|
604
|
-
export const
|
|
540
|
+
export const zOnboardClientRequest = z.object({
|
|
605
541
|
contactInfo: zContactInfoRequest,
|
|
606
542
|
sourceUrl: z.optional(z.string()),
|
|
607
|
-
contactMethods: z.array(zItemsEnum2)
|
|
608
|
-
favoriteContactMethod: zItemsEnum2,
|
|
543
|
+
contactMethods: z.array(zItemsEnum2),
|
|
544
|
+
favoriteContactMethod: z.optional(zItemsEnum2),
|
|
609
545
|
priority: z.optional(zPriorityEnum),
|
|
546
|
+
convertedFromLeadId: z.optional(z.coerce
|
|
547
|
+
.bigint()
|
|
548
|
+
.min(BigInt('-9223372036854775808'), {
|
|
549
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
550
|
+
})
|
|
551
|
+
.max(BigInt('9223372036854775807'), {
|
|
552
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
553
|
+
})),
|
|
610
554
|
});
|
|
611
555
|
export const zTypeEnum = z.enum([
|
|
612
556
|
'FACEBOOK',
|
|
@@ -622,6 +566,11 @@ export const zSocialMediaRequest = z.object({
|
|
|
622
566
|
export const zSocialMediasRequest = z.object({
|
|
623
567
|
data: z.array(zSocialMediaRequest).min(1).max(5),
|
|
624
568
|
});
|
|
569
|
+
export const zOutcomeEnum = z.enum(['CONVERTED', 'LOST', 'DISQUALIFIED']);
|
|
570
|
+
export const zRecordOutcomeRequest = z.object({
|
|
571
|
+
outcome: zOutcomeEnum,
|
|
572
|
+
reason: z.optional(z.string()),
|
|
573
|
+
});
|
|
625
574
|
export const zTypeEnum2 = z.enum(['JPEG', 'JPG', 'PNG', 'WEBP']);
|
|
626
575
|
export const zPhotoRequest = z.object({
|
|
627
576
|
photo: z.string().min(0).max(255),
|
|
@@ -629,6 +578,19 @@ export const zPhotoRequest = z.object({
|
|
|
629
578
|
width: z.int().gte(10).lte(11000),
|
|
630
579
|
height: z.optional(z.int().gte(10).lte(11000)),
|
|
631
580
|
});
|
|
581
|
+
export const zGroupEnum = z.enum([
|
|
582
|
+
'AGENCY',
|
|
583
|
+
'INVITATION',
|
|
584
|
+
'ROLE',
|
|
585
|
+
'MEMBER',
|
|
586
|
+
'LEAD',
|
|
587
|
+
'CLIENT',
|
|
588
|
+
'PROPERTY',
|
|
589
|
+
]);
|
|
590
|
+
export const zGroupedPermissionsResponse = z.object({
|
|
591
|
+
group: zGroupEnum,
|
|
592
|
+
permissions: z.array(zPermissionResponse),
|
|
593
|
+
});
|
|
632
594
|
export const zStatusEnum = z.enum([
|
|
633
595
|
'PENDING',
|
|
634
596
|
'ACCEPTED',
|
|
@@ -656,17 +618,6 @@ export const zPagedModelInvitationViewResponse = z.object({
|
|
|
656
618
|
content: z.optional(z.array(zInvitationViewResponse)),
|
|
657
619
|
page: z.optional(zPageMetadata),
|
|
658
620
|
});
|
|
659
|
-
export const zGroupEnum = z.enum([
|
|
660
|
-
'AGENCY',
|
|
661
|
-
'INVITATION',
|
|
662
|
-
'ROLE',
|
|
663
|
-
'MEMBER',
|
|
664
|
-
'LEAD',
|
|
665
|
-
]);
|
|
666
|
-
export const zGroupedPermissionsResponse = z.object({
|
|
667
|
-
group: zGroupEnum,
|
|
668
|
-
permissions: z.array(zPermissionResponse),
|
|
669
|
-
});
|
|
670
621
|
export const zSourceTypeEnum = z.enum([
|
|
671
622
|
'MY_HOME',
|
|
672
623
|
'SS',
|
|
@@ -677,7 +628,7 @@ export const zSourceTypeEnum = z.enum([
|
|
|
677
628
|
'LINKEDIN',
|
|
678
629
|
'UNKNOWN',
|
|
679
630
|
]);
|
|
680
|
-
export const
|
|
631
|
+
export const zLeadGridResponse = z.object({
|
|
681
632
|
id: z.coerce
|
|
682
633
|
.bigint()
|
|
683
634
|
.min(BigInt('-9223372036854775808'), {
|
|
@@ -688,7 +639,7 @@ export const zLeadProjectionResponse = z.object({
|
|
|
688
639
|
}),
|
|
689
640
|
createdBy: z.uuid(),
|
|
690
641
|
assignedTo: z.optional(z.uuid()),
|
|
691
|
-
status:
|
|
642
|
+
status: zSchemaEnum2,
|
|
692
643
|
contactFullName: z.optional(z.string()),
|
|
693
644
|
contactGender: z.optional(zGenderEnum),
|
|
694
645
|
contactPhoneNumber: z.string(),
|
|
@@ -700,11 +651,11 @@ export const zLeadProjectionResponse = z.object({
|
|
|
700
651
|
isListing: z.boolean(),
|
|
701
652
|
intents: z.optional(z.array(zIntentResponse)),
|
|
702
653
|
});
|
|
703
|
-
export const
|
|
704
|
-
content: z.optional(z.array(
|
|
654
|
+
export const zPagedModelLeadGridResponse = z.object({
|
|
655
|
+
content: z.optional(z.array(zLeadGridResponse)),
|
|
705
656
|
page: z.optional(zPageMetadata),
|
|
706
657
|
});
|
|
707
|
-
export const
|
|
658
|
+
export const zClientGridResponse = z.object({
|
|
708
659
|
id: z.coerce
|
|
709
660
|
.bigint()
|
|
710
661
|
.min(BigInt('-9223372036854775808'), {
|
|
@@ -734,11 +685,9 @@ export const zClientProjectionResponse = z.object({
|
|
|
734
685
|
contactMethods: z.array(zItemsEnum2),
|
|
735
686
|
favoriteContactMethod: z.optional(zItemsEnum2),
|
|
736
687
|
priority: z.optional(zPriorityEnum),
|
|
737
|
-
requirements: z.optional(z.array(zRequirementResponse)),
|
|
738
|
-
properties: z.optional(z.array(zPropertyResponse)),
|
|
739
688
|
});
|
|
740
|
-
export const
|
|
741
|
-
content: z.optional(z.array(
|
|
689
|
+
export const zPagedModelClientGridResponse = z.object({
|
|
690
|
+
content: z.optional(z.array(zClientGridResponse)),
|
|
742
691
|
page: z.optional(zPageMetadata),
|
|
743
692
|
});
|
|
744
693
|
export const zRemoveRoleData = z.object({
|
|
@@ -797,8 +746,8 @@ export const zAssignRoleBatchData = z.object({
|
|
|
797
746
|
* No Content
|
|
798
747
|
*/
|
|
799
748
|
export const zAssignRoleBatchResponse = z.void();
|
|
800
|
-
export const
|
|
801
|
-
body:
|
|
749
|
+
export const zRecordSourceData = z.object({
|
|
750
|
+
body: zRecordSourceRequest,
|
|
802
751
|
path: z.object({
|
|
803
752
|
leadId: z.coerce
|
|
804
753
|
.bigint()
|
|
@@ -814,9 +763,9 @@ export const zChangeStatusData = z.object({
|
|
|
814
763
|
/**
|
|
815
764
|
* No Content
|
|
816
765
|
*/
|
|
817
|
-
export const
|
|
818
|
-
export const
|
|
819
|
-
body:
|
|
766
|
+
export const zRecordSourceResponse = z.void();
|
|
767
|
+
export const zAnnotateData = z.object({
|
|
768
|
+
body: zNoteRequest,
|
|
820
769
|
path: z.object({
|
|
821
770
|
leadId: z.coerce
|
|
822
771
|
.bigint()
|
|
@@ -832,26 +781,8 @@ export const zUpdateSourceData = z.object({
|
|
|
832
781
|
/**
|
|
833
782
|
* No Content
|
|
834
783
|
*/
|
|
835
|
-
export const
|
|
836
|
-
export const
|
|
837
|
-
body: zUpdateNoteRequest,
|
|
838
|
-
path: z.object({
|
|
839
|
-
leadId: z.coerce
|
|
840
|
-
.bigint()
|
|
841
|
-
.min(BigInt('-9223372036854775808'), {
|
|
842
|
-
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
843
|
-
})
|
|
844
|
-
.max(BigInt('9223372036854775807'), {
|
|
845
|
-
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
846
|
-
}),
|
|
847
|
-
}),
|
|
848
|
-
query: z.optional(z.never()),
|
|
849
|
-
});
|
|
850
|
-
/**
|
|
851
|
-
* No Content
|
|
852
|
-
*/
|
|
853
|
-
export const zUpdateNoteResponse = z.void();
|
|
854
|
-
export const zRemoveIntentData = z.object({
|
|
784
|
+
export const zAnnotateResponse = z.void();
|
|
785
|
+
export const zWithdrawData = z.object({
|
|
855
786
|
body: z.optional(z.never()),
|
|
856
787
|
path: z.object({
|
|
857
788
|
leadId: z.coerce
|
|
@@ -862,8 +793,6 @@ export const zRemoveIntentData = z.object({
|
|
|
862
793
|
.max(BigInt('9223372036854775807'), {
|
|
863
794
|
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
864
795
|
}),
|
|
865
|
-
}),
|
|
866
|
-
query: z.object({
|
|
867
796
|
intentId: z.coerce
|
|
868
797
|
.bigint()
|
|
869
798
|
.min(BigInt('-9223372036854775808'), {
|
|
@@ -873,31 +802,14 @@ export const zRemoveIntentData = z.object({
|
|
|
873
802
|
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
874
803
|
}),
|
|
875
804
|
}),
|
|
876
|
-
});
|
|
877
|
-
/**
|
|
878
|
-
* No Content
|
|
879
|
-
*/
|
|
880
|
-
export const zRemoveIntentResponse = z.void();
|
|
881
|
-
export const zAddIntentData = z.object({
|
|
882
|
-
body: zLeadIntentRequest,
|
|
883
|
-
path: z.object({
|
|
884
|
-
leadId: z.coerce
|
|
885
|
-
.bigint()
|
|
886
|
-
.min(BigInt('-9223372036854775808'), {
|
|
887
|
-
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
888
|
-
})
|
|
889
|
-
.max(BigInt('9223372036854775807'), {
|
|
890
|
-
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
891
|
-
}),
|
|
892
|
-
}),
|
|
893
805
|
query: z.optional(z.never()),
|
|
894
806
|
});
|
|
895
807
|
/**
|
|
896
808
|
* No Content
|
|
897
809
|
*/
|
|
898
|
-
export const
|
|
899
|
-
export const
|
|
900
|
-
body:
|
|
810
|
+
export const zWithdrawResponse = z.void();
|
|
811
|
+
export const zReviseData = z.object({
|
|
812
|
+
body: zIntentRequest,
|
|
901
813
|
path: z.object({
|
|
902
814
|
leadId: z.coerce
|
|
903
815
|
.bigint()
|
|
@@ -907,8 +819,6 @@ export const zUpdateIntentData = z.object({
|
|
|
907
819
|
.max(BigInt('9223372036854775807'), {
|
|
908
820
|
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
909
821
|
}),
|
|
910
|
-
}),
|
|
911
|
-
query: z.object({
|
|
912
822
|
intentId: z.coerce
|
|
913
823
|
.bigint()
|
|
914
824
|
.min(BigInt('-9223372036854775808'), {
|
|
@@ -918,12 +828,13 @@ export const zUpdateIntentData = z.object({
|
|
|
918
828
|
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
919
829
|
}),
|
|
920
830
|
}),
|
|
831
|
+
query: z.optional(z.never()),
|
|
921
832
|
});
|
|
922
833
|
/**
|
|
923
834
|
* No Content
|
|
924
835
|
*/
|
|
925
|
-
export const
|
|
926
|
-
export const
|
|
836
|
+
export const zReviseResponse = z.void();
|
|
837
|
+
export const zCorrectContactInfoData = z.object({
|
|
927
838
|
body: zContactInfoRequest,
|
|
928
839
|
path: z.object({
|
|
929
840
|
leadId: z.coerce
|
|
@@ -940,9 +851,9 @@ export const zUpdateContactInfoData = z.object({
|
|
|
940
851
|
/**
|
|
941
852
|
* No Content
|
|
942
853
|
*/
|
|
943
|
-
export const
|
|
944
|
-
export const
|
|
945
|
-
body:
|
|
854
|
+
export const zCorrectContactInfoResponse = z.void();
|
|
855
|
+
export const zReassignData = z.object({
|
|
856
|
+
body: zReassignMemberRequest,
|
|
946
857
|
path: z.object({
|
|
947
858
|
leadId: z.coerce
|
|
948
859
|
.bigint()
|
|
@@ -958,9 +869,9 @@ export const zAssignToAgentData = z.object({
|
|
|
958
869
|
/**
|
|
959
870
|
* No Content
|
|
960
871
|
*/
|
|
961
|
-
export const
|
|
962
|
-
export const
|
|
963
|
-
body:
|
|
872
|
+
export const zReassignResponse = z.void();
|
|
873
|
+
export const zRecordSource1Data = z.object({
|
|
874
|
+
body: zRecordSourceRequest,
|
|
964
875
|
path: z.object({
|
|
965
876
|
clientId: z.coerce
|
|
966
877
|
.bigint()
|
|
@@ -976,36 +887,9 @@ export const zUpdateSource1Data = z.object({
|
|
|
976
887
|
/**
|
|
977
888
|
* No Content
|
|
978
889
|
*/
|
|
979
|
-
export const
|
|
980
|
-
export const
|
|
981
|
-
body:
|
|
982
|
-
path: z.object({
|
|
983
|
-
clientId: z.coerce
|
|
984
|
-
.bigint()
|
|
985
|
-
.min(BigInt('-9223372036854775808'), {
|
|
986
|
-
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
987
|
-
})
|
|
988
|
-
.max(BigInt('9223372036854775807'), {
|
|
989
|
-
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
990
|
-
}),
|
|
991
|
-
}),
|
|
992
|
-
query: z.object({
|
|
993
|
-
requirementId: z.coerce
|
|
994
|
-
.bigint()
|
|
995
|
-
.min(BigInt('-9223372036854775808'), {
|
|
996
|
-
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
997
|
-
})
|
|
998
|
-
.max(BigInt('9223372036854775807'), {
|
|
999
|
-
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
1000
|
-
}),
|
|
1001
|
-
}),
|
|
1002
|
-
});
|
|
1003
|
-
/**
|
|
1004
|
-
* No Content
|
|
1005
|
-
*/
|
|
1006
|
-
export const zRemoveClientRequirementResponse = z.void();
|
|
1007
|
-
export const zAddClientRequirementData = z.object({
|
|
1008
|
-
body: zClientRequirementRequest,
|
|
890
|
+
export const zRecordSource1Response = z.void();
|
|
891
|
+
export const zReprioritizeData = z.object({
|
|
892
|
+
body: zReprioritizeClientRequest,
|
|
1009
893
|
path: z.object({
|
|
1010
894
|
clientId: z.coerce
|
|
1011
895
|
.bigint()
|
|
@@ -1021,9 +905,9 @@ export const zAddClientRequirementData = z.object({
|
|
|
1021
905
|
/**
|
|
1022
906
|
* No Content
|
|
1023
907
|
*/
|
|
1024
|
-
export const
|
|
1025
|
-
export const
|
|
1026
|
-
body:
|
|
908
|
+
export const zReprioritizeResponse = z.void();
|
|
909
|
+
export const zReviseCriteriaData = z.object({
|
|
910
|
+
body: zCaptureInterestRequest,
|
|
1027
911
|
path: z.object({
|
|
1028
912
|
clientId: z.coerce
|
|
1029
913
|
.bigint()
|
|
@@ -1033,26 +917,7 @@ export const zUpdateClientRequirementData = z.object({
|
|
|
1033
917
|
.max(BigInt('9223372036854775807'), {
|
|
1034
918
|
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
1035
919
|
}),
|
|
1036
|
-
|
|
1037
|
-
query: z.object({
|
|
1038
|
-
requirementId: z.coerce
|
|
1039
|
-
.bigint()
|
|
1040
|
-
.min(BigInt('-9223372036854775808'), {
|
|
1041
|
-
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
1042
|
-
})
|
|
1043
|
-
.max(BigInt('9223372036854775807'), {
|
|
1044
|
-
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
1045
|
-
}),
|
|
1046
|
-
}),
|
|
1047
|
-
});
|
|
1048
|
-
/**
|
|
1049
|
-
* No Content
|
|
1050
|
-
*/
|
|
1051
|
-
export const zUpdateClientRequirementResponse = z.void();
|
|
1052
|
-
export const zUpdatePriorityData = z.object({
|
|
1053
|
-
body: zUpdatePriorityRequest,
|
|
1054
|
-
path: z.object({
|
|
1055
|
-
clientId: z.coerce
|
|
920
|
+
interestId: z.coerce
|
|
1056
921
|
.bigint()
|
|
1057
922
|
.min(BigInt('-9223372036854775808'), {
|
|
1058
923
|
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
@@ -1066,9 +931,9 @@ export const zUpdatePriorityData = z.object({
|
|
|
1066
931
|
/**
|
|
1067
932
|
* No Content
|
|
1068
933
|
*/
|
|
1069
|
-
export const
|
|
1070
|
-
export const
|
|
1071
|
-
body:
|
|
934
|
+
export const zReviseCriteriaResponse = z.void();
|
|
935
|
+
export const zUpdateContactPreferencesData = z.object({
|
|
936
|
+
body: zUpdateContactPreferencesRequest,
|
|
1072
937
|
path: z.object({
|
|
1073
938
|
clientId: z.coerce
|
|
1074
939
|
.bigint()
|
|
@@ -1084,8 +949,8 @@ export const zUpdateContactMethodsData = z.object({
|
|
|
1084
949
|
/**
|
|
1085
950
|
* No Content
|
|
1086
951
|
*/
|
|
1087
|
-
export const
|
|
1088
|
-
export const
|
|
952
|
+
export const zUpdateContactPreferencesResponse = z.void();
|
|
953
|
+
export const zCorrectContactInfo1Data = z.object({
|
|
1089
954
|
body: zContactInfoRequest,
|
|
1090
955
|
path: z.object({
|
|
1091
956
|
clientId: z.coerce
|
|
@@ -1102,9 +967,9 @@ export const zUpdateContactInfo1Data = z.object({
|
|
|
1102
967
|
/**
|
|
1103
968
|
* No Content
|
|
1104
969
|
*/
|
|
1105
|
-
export const
|
|
1106
|
-
export const
|
|
1107
|
-
body:
|
|
970
|
+
export const zCorrectContactInfo1Response = z.void();
|
|
971
|
+
export const zReassign1Data = z.object({
|
|
972
|
+
body: zReassignMemberRequest,
|
|
1108
973
|
path: z.object({
|
|
1109
974
|
clientId: z.coerce
|
|
1110
975
|
.bigint()
|
|
@@ -1120,7 +985,7 @@ export const zAssignToAgent1Data = z.object({
|
|
|
1120
985
|
/**
|
|
1121
986
|
* No Content
|
|
1122
987
|
*/
|
|
1123
|
-
export const
|
|
988
|
+
export const zReassign1Response = z.void();
|
|
1124
989
|
export const zCorrectRegistrationDetailsData = z.object({
|
|
1125
990
|
body: zCreateAgencyRequest,
|
|
1126
991
|
path: z.object({
|
|
@@ -1192,31 +1057,83 @@ export const zCreateRoleData = z.object({
|
|
|
1192
1057
|
* Created
|
|
1193
1058
|
*/
|
|
1194
1059
|
export const zCreateRoleResponse = zIdResponseInteger;
|
|
1195
|
-
export const
|
|
1196
|
-
body:
|
|
1060
|
+
export const zCaptureData = z.object({
|
|
1061
|
+
body: zCaptureLeadRequest,
|
|
1197
1062
|
path: z.optional(z.never()),
|
|
1198
|
-
query: z.optional(z.
|
|
1199
|
-
status: z.optional(zSchemaEnum),
|
|
1200
|
-
isSearching: z.optional(z.boolean()),
|
|
1201
|
-
isListing: z.optional(z.boolean()),
|
|
1202
|
-
page: z.optional(z.int().gte(0)).default(0),
|
|
1203
|
-
size: z.optional(z.int().gte(1)).default(20),
|
|
1204
|
-
sort: z.optional(z.array(z.string())),
|
|
1205
|
-
})),
|
|
1063
|
+
query: z.optional(z.never()),
|
|
1206
1064
|
});
|
|
1207
1065
|
/**
|
|
1208
|
-
*
|
|
1066
|
+
* Created
|
|
1209
1067
|
*/
|
|
1210
|
-
export const
|
|
1211
|
-
export const
|
|
1212
|
-
body:
|
|
1213
|
-
path: z.
|
|
1068
|
+
export const zCaptureResponse = zLeadId;
|
|
1069
|
+
export const zRecordOutcomeData = z.object({
|
|
1070
|
+
body: zRecordOutcomeRequest,
|
|
1071
|
+
path: z.object({
|
|
1072
|
+
leadId: z.coerce
|
|
1073
|
+
.bigint()
|
|
1074
|
+
.min(BigInt('-9223372036854775808'), {
|
|
1075
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
1076
|
+
})
|
|
1077
|
+
.max(BigInt('9223372036854775807'), {
|
|
1078
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
1079
|
+
}),
|
|
1080
|
+
}),
|
|
1214
1081
|
query: z.optional(z.never()),
|
|
1215
1082
|
});
|
|
1216
1083
|
/**
|
|
1217
|
-
*
|
|
1084
|
+
* No Content
|
|
1085
|
+
*/
|
|
1086
|
+
export const zRecordOutcomeResponse = z.void();
|
|
1087
|
+
export const zExpressData = z.object({
|
|
1088
|
+
body: zIntentRequest,
|
|
1089
|
+
path: z.object({
|
|
1090
|
+
leadId: z.coerce
|
|
1091
|
+
.bigint()
|
|
1092
|
+
.min(BigInt('-9223372036854775808'), {
|
|
1093
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
1094
|
+
})
|
|
1095
|
+
.max(BigInt('9223372036854775807'), {
|
|
1096
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
1097
|
+
}),
|
|
1098
|
+
}),
|
|
1099
|
+
query: z.optional(z.never()),
|
|
1100
|
+
});
|
|
1101
|
+
export const zMarkContactedData = z.object({
|
|
1102
|
+
body: z.optional(z.never()),
|
|
1103
|
+
path: z.object({
|
|
1104
|
+
leadId: z.coerce
|
|
1105
|
+
.bigint()
|
|
1106
|
+
.min(BigInt('-9223372036854775808'), {
|
|
1107
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
1108
|
+
})
|
|
1109
|
+
.max(BigInt('9223372036854775807'), {
|
|
1110
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
1111
|
+
}),
|
|
1112
|
+
}),
|
|
1113
|
+
query: z.optional(z.never()),
|
|
1114
|
+
});
|
|
1115
|
+
/**
|
|
1116
|
+
* No Content
|
|
1117
|
+
*/
|
|
1118
|
+
export const zMarkContactedResponse = z.void();
|
|
1119
|
+
export const zLogContactAttemptData = z.object({
|
|
1120
|
+
body: z.optional(z.never()),
|
|
1121
|
+
path: z.object({
|
|
1122
|
+
leadId: z.coerce
|
|
1123
|
+
.bigint()
|
|
1124
|
+
.min(BigInt('-9223372036854775808'), {
|
|
1125
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
1126
|
+
})
|
|
1127
|
+
.max(BigInt('9223372036854775807'), {
|
|
1128
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
1129
|
+
}),
|
|
1130
|
+
}),
|
|
1131
|
+
query: z.optional(z.never()),
|
|
1132
|
+
});
|
|
1133
|
+
/**
|
|
1134
|
+
* No Content
|
|
1218
1135
|
*/
|
|
1219
|
-
export const
|
|
1136
|
+
export const zLogContactAttemptResponse = z.void();
|
|
1220
1137
|
export const zGetSentInvitationsData = z.object({
|
|
1221
1138
|
body: z.optional(z.never()),
|
|
1222
1139
|
path: z.optional(z.never()),
|
|
@@ -1231,7 +1148,7 @@ export const zGetSentInvitationsData = z.object({
|
|
|
1231
1148
|
*/
|
|
1232
1149
|
export const zGetSentInvitationsResponse = zPagedModelInvitationViewResponse;
|
|
1233
1150
|
export const zSendInvitationData = z.object({
|
|
1234
|
-
body:
|
|
1151
|
+
body: zBulkRecruitmentRequest,
|
|
1235
1152
|
path: z.optional(z.never()),
|
|
1236
1153
|
query: z.optional(z.never()),
|
|
1237
1154
|
});
|
|
@@ -1253,30 +1170,85 @@ export const zRequestPrincipleData = z.object({
|
|
|
1253
1170
|
* OK
|
|
1254
1171
|
*/
|
|
1255
1172
|
export const zRequestPrincipleResponse = zAgencyPrincipalDto;
|
|
1256
|
-
export const
|
|
1257
|
-
body:
|
|
1173
|
+
export const zOnboardData = z.object({
|
|
1174
|
+
body: zOnboardClientRequest,
|
|
1258
1175
|
path: z.optional(z.never()),
|
|
1259
|
-
query: z.optional(z.
|
|
1260
|
-
isSearching: z.optional(z.boolean()),
|
|
1261
|
-
isListing: z.optional(z.boolean()),
|
|
1262
|
-
page: z.optional(z.int().gte(0)).default(0),
|
|
1263
|
-
size: z.optional(z.int().gte(1)).default(20),
|
|
1264
|
-
sort: z.optional(z.array(z.string())),
|
|
1265
|
-
})),
|
|
1176
|
+
query: z.optional(z.never()),
|
|
1266
1177
|
});
|
|
1267
1178
|
/**
|
|
1268
|
-
*
|
|
1179
|
+
* Created
|
|
1269
1180
|
*/
|
|
1270
|
-
export const
|
|
1271
|
-
export const
|
|
1272
|
-
body:
|
|
1273
|
-
path: z.
|
|
1181
|
+
export const zOnboardResponse = zClientId;
|
|
1182
|
+
export const zCreateData = z.object({
|
|
1183
|
+
body: zCaptureInterestRequest,
|
|
1184
|
+
path: z.object({
|
|
1185
|
+
clientId: z.coerce
|
|
1186
|
+
.bigint()
|
|
1187
|
+
.min(BigInt('-9223372036854775808'), {
|
|
1188
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
1189
|
+
})
|
|
1190
|
+
.max(BigInt('9223372036854775807'), {
|
|
1191
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
1192
|
+
}),
|
|
1193
|
+
}),
|
|
1274
1194
|
query: z.optional(z.never()),
|
|
1275
1195
|
});
|
|
1276
1196
|
/**
|
|
1277
1197
|
* Created
|
|
1278
1198
|
*/
|
|
1279
|
-
export const
|
|
1199
|
+
export const zCreateResponse = zInterestId;
|
|
1200
|
+
export const zFulfillData = z.object({
|
|
1201
|
+
body: z.optional(z.never()),
|
|
1202
|
+
path: z.object({
|
|
1203
|
+
clientId: z.coerce
|
|
1204
|
+
.bigint()
|
|
1205
|
+
.min(BigInt('-9223372036854775808'), {
|
|
1206
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
1207
|
+
})
|
|
1208
|
+
.max(BigInt('9223372036854775807'), {
|
|
1209
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
1210
|
+
}),
|
|
1211
|
+
interestId: z.coerce
|
|
1212
|
+
.bigint()
|
|
1213
|
+
.min(BigInt('-9223372036854775808'), {
|
|
1214
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
1215
|
+
})
|
|
1216
|
+
.max(BigInt('9223372036854775807'), {
|
|
1217
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
1218
|
+
}),
|
|
1219
|
+
}),
|
|
1220
|
+
query: z.optional(z.never()),
|
|
1221
|
+
});
|
|
1222
|
+
/**
|
|
1223
|
+
* No Content
|
|
1224
|
+
*/
|
|
1225
|
+
export const zFulfillResponse = z.void();
|
|
1226
|
+
export const zCancelData = z.object({
|
|
1227
|
+
body: z.optional(z.never()),
|
|
1228
|
+
path: z.object({
|
|
1229
|
+
clientId: z.coerce
|
|
1230
|
+
.bigint()
|
|
1231
|
+
.min(BigInt('-9223372036854775808'), {
|
|
1232
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
1233
|
+
})
|
|
1234
|
+
.max(BigInt('9223372036854775807'), {
|
|
1235
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
1236
|
+
}),
|
|
1237
|
+
interestId: z.coerce
|
|
1238
|
+
.bigint()
|
|
1239
|
+
.min(BigInt('-9223372036854775808'), {
|
|
1240
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
1241
|
+
})
|
|
1242
|
+
.max(BigInt('9223372036854775807'), {
|
|
1243
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
1244
|
+
}),
|
|
1245
|
+
}),
|
|
1246
|
+
query: z.optional(z.never()),
|
|
1247
|
+
});
|
|
1248
|
+
/**
|
|
1249
|
+
* No Content
|
|
1250
|
+
*/
|
|
1251
|
+
export const zCancelResponse = z.void();
|
|
1280
1252
|
export const zCreateAgencyData = z.object({
|
|
1281
1253
|
body: zCreateAgencyRequest,
|
|
1282
1254
|
path: z.optional(z.never()),
|
|
@@ -1322,6 +1294,15 @@ export const zGetMeData = z.object({
|
|
|
1322
1294
|
* OK
|
|
1323
1295
|
*/
|
|
1324
1296
|
export const zGetMeResponse = zUserContextViewResponse;
|
|
1297
|
+
export const zGetPermissionCatalogData = z.object({
|
|
1298
|
+
body: z.optional(z.never()),
|
|
1299
|
+
path: z.optional(z.never()),
|
|
1300
|
+
query: z.optional(z.never()),
|
|
1301
|
+
});
|
|
1302
|
+
/**
|
|
1303
|
+
* OK
|
|
1304
|
+
*/
|
|
1305
|
+
export const zGetPermissionCatalogResponse = z.array(zGroupedPermissionsResponse);
|
|
1325
1306
|
export const zGetInvitationDetailsData = z.object({
|
|
1326
1307
|
body: z.optional(z.never()),
|
|
1327
1308
|
path: z.object({
|
|
@@ -1339,7 +1320,7 @@ export const zGetAllAgenciesData = z.object({
|
|
|
1339
1320
|
body: z.optional(z.never()),
|
|
1340
1321
|
path: z.optional(z.never()),
|
|
1341
1322
|
query: z.optional(z.object({
|
|
1342
|
-
status: z.optional(
|
|
1323
|
+
status: z.optional(zSchemaEnum),
|
|
1343
1324
|
page: z.optional(z.int().gte(0)).default(0),
|
|
1344
1325
|
size: z.optional(z.int().gte(1)).default(10),
|
|
1345
1326
|
sort: z.optional(z.array(z.string())).default(['name,ASC']),
|
|
@@ -1360,15 +1341,6 @@ export const zGetAgencyBySubdomainData = z.object({
|
|
|
1360
1341
|
* OK
|
|
1361
1342
|
*/
|
|
1362
1343
|
export const zGetAgencyBySubdomainResponse = zAgencySummaryResponse;
|
|
1363
|
-
export const zListPermissionCatalogData = z.object({
|
|
1364
|
-
body: z.optional(z.never()),
|
|
1365
|
-
path: z.optional(z.never()),
|
|
1366
|
-
query: z.optional(z.never()),
|
|
1367
|
-
});
|
|
1368
|
-
/**
|
|
1369
|
-
* OK
|
|
1370
|
-
*/
|
|
1371
|
-
export const zListPermissionCatalogResponse = z.array(zGroupedPermissionsResponse);
|
|
1372
1344
|
export const zGetAllMembersData = z.object({
|
|
1373
1345
|
body: z.optional(z.never()),
|
|
1374
1346
|
path: z.optional(z.never()),
|
|
@@ -1390,7 +1362,23 @@ export const zGetAllMembersData = z.object({
|
|
|
1390
1362
|
* OK
|
|
1391
1363
|
*/
|
|
1392
1364
|
export const zGetAllMembersResponse = zPagedModelMemberViewResponse;
|
|
1393
|
-
export const
|
|
1365
|
+
export const zSearchData = z.object({
|
|
1366
|
+
body: z.optional(z.never()),
|
|
1367
|
+
path: z.optional(z.never()),
|
|
1368
|
+
query: z.optional(z.object({
|
|
1369
|
+
status: z.optional(zSchemaEnum2),
|
|
1370
|
+
isSearching: z.optional(z.boolean()),
|
|
1371
|
+
isListing: z.optional(z.boolean()),
|
|
1372
|
+
page: z.optional(z.int().gte(0)).default(0),
|
|
1373
|
+
size: z.optional(z.int().gte(1)).default(20),
|
|
1374
|
+
sort: z.optional(z.array(z.string())),
|
|
1375
|
+
})),
|
|
1376
|
+
});
|
|
1377
|
+
/**
|
|
1378
|
+
* OK
|
|
1379
|
+
*/
|
|
1380
|
+
export const zSearchResponse = zPagedModelLeadGridResponse;
|
|
1381
|
+
export const zGetByIdData = z.object({
|
|
1394
1382
|
body: z.optional(z.never()),
|
|
1395
1383
|
path: z.object({
|
|
1396
1384
|
leadId: z.coerce
|
|
@@ -1407,12 +1395,27 @@ export const zGetLeadByIdData = z.object({
|
|
|
1407
1395
|
/**
|
|
1408
1396
|
* OK
|
|
1409
1397
|
*/
|
|
1410
|
-
export const
|
|
1411
|
-
export const
|
|
1398
|
+
export const zGetByIdResponse = zLeadGridResponse;
|
|
1399
|
+
export const zSearchMineData = z.object({
|
|
1400
|
+
body: z.optional(z.never()),
|
|
1401
|
+
path: z.optional(z.never()),
|
|
1402
|
+
query: z.optional(z.object({
|
|
1403
|
+
status: z.optional(zSchemaEnum2),
|
|
1404
|
+
isSearching: z.optional(z.boolean()),
|
|
1405
|
+
isListing: z.optional(z.boolean()),
|
|
1406
|
+
page: z.optional(z.int().gte(0)).default(0),
|
|
1407
|
+
size: z.optional(z.int().gte(1)).default(20),
|
|
1408
|
+
sort: z.optional(z.array(z.string())),
|
|
1409
|
+
})),
|
|
1410
|
+
});
|
|
1411
|
+
/**
|
|
1412
|
+
* OK
|
|
1413
|
+
*/
|
|
1414
|
+
export const zSearchMineResponse = zPagedModelLeadGridResponse;
|
|
1415
|
+
export const zSearchClientsData = z.object({
|
|
1412
1416
|
body: z.optional(z.never()),
|
|
1413
1417
|
path: z.optional(z.never()),
|
|
1414
1418
|
query: z.optional(z.object({
|
|
1415
|
-
status: z.optional(zSchemaEnum),
|
|
1416
1419
|
isSearching: z.optional(z.boolean()),
|
|
1417
1420
|
isListing: z.optional(z.boolean()),
|
|
1418
1421
|
page: z.optional(z.int().gte(0)).default(0),
|
|
@@ -1423,7 +1426,7 @@ export const zSearchMyLeadsData = z.object({
|
|
|
1423
1426
|
/**
|
|
1424
1427
|
* OK
|
|
1425
1428
|
*/
|
|
1426
|
-
export const
|
|
1429
|
+
export const zSearchClientsResponse = zPagedModelClientGridResponse;
|
|
1427
1430
|
export const zGetClientByIdData = z.object({
|
|
1428
1431
|
body: z.optional(z.never()),
|
|
1429
1432
|
path: z.object({
|
|
@@ -1441,7 +1444,7 @@ export const zGetClientByIdData = z.object({
|
|
|
1441
1444
|
/**
|
|
1442
1445
|
* OK
|
|
1443
1446
|
*/
|
|
1444
|
-
export const zGetClientByIdResponse =
|
|
1447
|
+
export const zGetClientByIdResponse = zClientGridResponse;
|
|
1445
1448
|
export const zSearchMyClientsData = z.object({
|
|
1446
1449
|
body: z.optional(z.never()),
|
|
1447
1450
|
path: z.optional(z.never()),
|
|
@@ -1456,7 +1459,7 @@ export const zSearchMyClientsData = z.object({
|
|
|
1456
1459
|
/**
|
|
1457
1460
|
* OK
|
|
1458
1461
|
*/
|
|
1459
|
-
export const zSearchMyClientsResponse =
|
|
1462
|
+
export const zSearchMyClientsResponse = zPagedModelClientGridResponse;
|
|
1460
1463
|
export const zGetAgencyData = z.object({
|
|
1461
1464
|
body: z.optional(z.never()),
|
|
1462
1465
|
path: z.object({
|
|
@@ -1468,4 +1471,15 @@ export const zGetAgencyData = z.object({
|
|
|
1468
1471
|
* OK
|
|
1469
1472
|
*/
|
|
1470
1473
|
export const zGetAgencyResponse = zAgencyProfileResponse;
|
|
1474
|
+
export const zRemoveMemberData = z.object({
|
|
1475
|
+
body: z.optional(z.never()),
|
|
1476
|
+
path: z.object({
|
|
1477
|
+
memberId: z.uuid(),
|
|
1478
|
+
}),
|
|
1479
|
+
query: z.optional(z.never()),
|
|
1480
|
+
});
|
|
1481
|
+
/**
|
|
1482
|
+
* No Content
|
|
1483
|
+
*/
|
|
1484
|
+
export const zRemoveMemberResponse = z.void();
|
|
1471
1485
|
//# sourceMappingURL=zod.gen.js.map
|