@homespot-sdk/core 0.0.362 → 0.0.363
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/client.gen.d.ts.map +1 -1
- package/dist/property/client.gen.js +1 -3
- package/dist/property/client.gen.js.map +1 -1
- package/dist/property/types.gen.d.ts +1 -1
- package/dist/property/types.gen.d.ts.map +1 -1
- package/dist/rem/client.gen.d.ts.map +1 -1
- package/dist/rem/client.gen.js +1 -3
- package/dist/rem/client.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 +502 -43
- package/dist/rem/schemas.gen.d.ts.map +1 -1
- package/dist/rem/schemas.gen.js +587 -52
- package/dist/rem/schemas.gen.js.map +1 -1
- package/dist/rem/sdk.gen.d.ts +15 -12
- package/dist/rem/sdk.gen.d.ts.map +1 -1
- package/dist/rem/sdk.gen.js +25 -10
- package/dist/rem/sdk.gen.js.map +1 -1
- package/dist/rem/transformers.gen.d.ts +2 -2
- package/dist/rem/transformers.gen.d.ts.map +1 -1
- package/dist/rem/transformers.gen.js +27 -4
- package/dist/rem/transformers.gen.js.map +1 -1
- package/dist/rem/types.gen.d.ts +351 -50
- package/dist/rem/types.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.d.ts +823 -205
- package/dist/rem/zod.gen.d.ts.map +1 -1
- package/dist/rem/zod.gen.js +492 -38
- package/dist/rem/zod.gen.js.map +1 -1
- package/dist/utils/client.gen.d.ts.map +1 -1
- package/dist/utils/client.gen.js +1 -3
- package/dist/utils/client.gen.js.map +1 -1
- package/dist/utils/types.gen.d.ts +1 -1
- package/dist/utils/types.gen.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/rem/zod.gen.js
CHANGED
|
@@ -348,6 +348,42 @@ export const zUploadAcknowledgmentResponse = z.object({
|
|
|
348
348
|
success: z.array(z.string()),
|
|
349
349
|
fail: z.array(z.string()),
|
|
350
350
|
});
|
|
351
|
+
export const zPlanLimitResponse = z.object({
|
|
352
|
+
type: z.optional(z.url()),
|
|
353
|
+
title: z.optional(z.string()),
|
|
354
|
+
status: z.optional(z
|
|
355
|
+
.int()
|
|
356
|
+
.min(-2147483648, {
|
|
357
|
+
error: 'Invalid value: Expected int32 to be >= -2147483648',
|
|
358
|
+
})
|
|
359
|
+
.max(2147483647, {
|
|
360
|
+
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
361
|
+
})),
|
|
362
|
+
detail: z.optional(z.string()),
|
|
363
|
+
instance: z.optional(z.url()),
|
|
364
|
+
limit: z.enum([
|
|
365
|
+
'SEATS',
|
|
366
|
+
'ACTIVE_LISTINGS',
|
|
367
|
+
'SOCIAL_POSTS',
|
|
368
|
+
'AGENCY_BRANDING',
|
|
369
|
+
]),
|
|
370
|
+
used: z.optional(z
|
|
371
|
+
.int()
|
|
372
|
+
.min(-2147483648, {
|
|
373
|
+
error: 'Invalid value: Expected int32 to be >= -2147483648',
|
|
374
|
+
})
|
|
375
|
+
.max(2147483647, {
|
|
376
|
+
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
377
|
+
})),
|
|
378
|
+
allowed: z.optional(z
|
|
379
|
+
.int()
|
|
380
|
+
.min(-2147483648, {
|
|
381
|
+
error: 'Invalid value: Expected int32 to be >= -2147483648',
|
|
382
|
+
})
|
|
383
|
+
.max(2147483647, {
|
|
384
|
+
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
385
|
+
})),
|
|
386
|
+
});
|
|
351
387
|
export const zConnectLinkResponse = z.object({
|
|
352
388
|
link: z.optional(z.string()),
|
|
353
389
|
expiresAt: z.optional(z.iso.datetime()),
|
|
@@ -421,8 +457,8 @@ export const zSubscriptionAddressRequest = z.object({
|
|
|
421
457
|
street: z.string().min(0).max(255),
|
|
422
458
|
});
|
|
423
459
|
export const zSubscribeRequest = z.object({
|
|
424
|
-
plan: z.enum(['
|
|
425
|
-
billingCycle: z.enum(['MONTHLY', 'ANNUAL']),
|
|
460
|
+
plan: z.optional(z.enum(['FREE', 'PLUS', 'PRO', 'ENTERPRISE'])),
|
|
461
|
+
billingCycle: z.optional(z.enum(['MONTHLY', 'ANNUAL'])),
|
|
426
462
|
name: z.string().min(1),
|
|
427
463
|
email: z.email().min(1),
|
|
428
464
|
phone: z.string().min(1),
|
|
@@ -444,11 +480,11 @@ export const zSubscriptionCheckoutResponse = z.object({
|
|
|
444
480
|
])),
|
|
445
481
|
});
|
|
446
482
|
export const zChangePlanRequest = z.object({
|
|
447
|
-
plan: z.enum(['
|
|
483
|
+
plan: z.enum(['FREE', 'PLUS', 'PRO', 'ENTERPRISE']),
|
|
448
484
|
billingCycle: z.enum(['MONTHLY', 'ANNUAL']),
|
|
449
485
|
});
|
|
450
486
|
export const zCheckoutRequest = z.object({
|
|
451
|
-
plan: z.optional(z.enum(['
|
|
487
|
+
plan: z.optional(z.enum(['FREE', 'PLUS', 'PRO', 'ENTERPRISE'])),
|
|
452
488
|
billingCycle: z.optional(z.enum(['MONTHLY', 'ANNUAL'])),
|
|
453
489
|
});
|
|
454
490
|
export const zIdResponseInteger = z.object({
|
|
@@ -852,14 +888,9 @@ export const zAddTodoTemplateRequest = z.object({
|
|
|
852
888
|
title: z.string(),
|
|
853
889
|
applyToTasksInStage: z.boolean(),
|
|
854
890
|
});
|
|
855
|
-
export const
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
email: z.email(),
|
|
859
|
-
phone: z.string(),
|
|
860
|
-
subdomain: z.string(),
|
|
861
|
-
address: zSubscriptionAddressRequest,
|
|
862
|
-
plan: z.enum(['STARTER', 'PRO', 'ENTERPRISE']),
|
|
891
|
+
export const zAdminCheckoutRequest = z.object({
|
|
892
|
+
agencyId: z.uuid(),
|
|
893
|
+
plan: z.enum(['FREE', 'PLUS', 'PRO', 'ENTERPRISE']),
|
|
863
894
|
billingCycle: z.enum(['MONTHLY', 'ANNUAL']),
|
|
864
895
|
priceMinorUnits: z.coerce
|
|
865
896
|
.bigint()
|
|
@@ -877,7 +908,7 @@ export const zProvisionAgencyRequest = z.object({
|
|
|
877
908
|
.max(2147483647, {
|
|
878
909
|
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
879
910
|
}),
|
|
880
|
-
|
|
911
|
+
activeListings: z
|
|
881
912
|
.int()
|
|
882
913
|
.min(-2147483648, {
|
|
883
914
|
error: 'Invalid value: Expected int32 to be >= -2147483648',
|
|
@@ -885,6 +916,15 @@ export const zProvisionAgencyRequest = z.object({
|
|
|
885
916
|
.max(2147483647, {
|
|
886
917
|
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
887
918
|
}),
|
|
919
|
+
aiMessages: z
|
|
920
|
+
.int()
|
|
921
|
+
.min(-2147483648, {
|
|
922
|
+
error: 'Invalid value: Expected int32 to be >= -2147483648',
|
|
923
|
+
})
|
|
924
|
+
.max(2147483647, {
|
|
925
|
+
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
926
|
+
}),
|
|
927
|
+
features: z.array(z.enum(['SOCIAL_POSTS', 'AGENCY_BRANDING'])),
|
|
888
928
|
trialDays: z
|
|
889
929
|
.int()
|
|
890
930
|
.min(-2147483648, {
|
|
@@ -893,10 +933,15 @@ export const zProvisionAgencyRequest = z.object({
|
|
|
893
933
|
.max(2147483647, {
|
|
894
934
|
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
895
935
|
}),
|
|
936
|
+
discountMonths: z.optional(z
|
|
937
|
+
.int()
|
|
938
|
+
.gte(2)
|
|
939
|
+
.max(2147483647, {
|
|
940
|
+
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
941
|
+
})),
|
|
896
942
|
});
|
|
897
|
-
export const
|
|
943
|
+
export const zAdminCheckoutResponse = z.object({
|
|
898
944
|
checkoutUrl: z.optional(z.string()),
|
|
899
|
-
agencyId: z.optional(z.uuid()),
|
|
900
945
|
subscriptionId: z.optional(z.uuid()),
|
|
901
946
|
});
|
|
902
947
|
export const zPositionTaskRequest = z.object({
|
|
@@ -945,6 +990,7 @@ export const zOrganizationSummaryViewResponse = z.object({
|
|
|
945
990
|
]),
|
|
946
991
|
phone: z.string(),
|
|
947
992
|
isPhoneVerified: z.boolean(),
|
|
993
|
+
isSeatLocked: z.boolean(),
|
|
948
994
|
});
|
|
949
995
|
export const zUserSummaryViewResponse = z.object({
|
|
950
996
|
email: z.string(),
|
|
@@ -1494,7 +1540,7 @@ export const zStageCardsResponse = z.object({
|
|
|
1494
1540
|
});
|
|
1495
1541
|
export const zSubscriptionResponse = z.object({
|
|
1496
1542
|
subscriptionId: z.uuid(),
|
|
1497
|
-
plan: z.enum(['
|
|
1543
|
+
plan: z.enum(['FREE', 'PLUS', 'PRO', 'ENTERPRISE']),
|
|
1498
1544
|
billingCycle: z.enum(['MONTHLY', 'ANNUAL']),
|
|
1499
1545
|
priceMinorUnits: z.coerce
|
|
1500
1546
|
.bigint()
|
|
@@ -1504,6 +1550,30 @@ export const zSubscriptionResponse = z.object({
|
|
|
1504
1550
|
.max(BigInt('9223372036854775807'), {
|
|
1505
1551
|
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
1506
1552
|
}),
|
|
1553
|
+
netMinorUnits: z.coerce
|
|
1554
|
+
.bigint()
|
|
1555
|
+
.min(BigInt('-9223372036854775808'), {
|
|
1556
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
1557
|
+
})
|
|
1558
|
+
.max(BigInt('9223372036854775807'), {
|
|
1559
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
1560
|
+
}),
|
|
1561
|
+
vatMinorUnits: z.coerce
|
|
1562
|
+
.bigint()
|
|
1563
|
+
.min(BigInt('-9223372036854775808'), {
|
|
1564
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
1565
|
+
})
|
|
1566
|
+
.max(BigInt('9223372036854775807'), {
|
|
1567
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
1568
|
+
}),
|
|
1569
|
+
vatPercent: z
|
|
1570
|
+
.int()
|
|
1571
|
+
.min(-2147483648, {
|
|
1572
|
+
error: 'Invalid value: Expected int32 to be >= -2147483648',
|
|
1573
|
+
})
|
|
1574
|
+
.max(2147483647, {
|
|
1575
|
+
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
1576
|
+
}),
|
|
1507
1577
|
currency: z.string(),
|
|
1508
1578
|
seats: z
|
|
1509
1579
|
.int()
|
|
@@ -1513,7 +1583,15 @@ export const zSubscriptionResponse = z.object({
|
|
|
1513
1583
|
.max(2147483647, {
|
|
1514
1584
|
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
1515
1585
|
}),
|
|
1516
|
-
|
|
1586
|
+
activeListings: z
|
|
1587
|
+
.int()
|
|
1588
|
+
.min(-2147483648, {
|
|
1589
|
+
error: 'Invalid value: Expected int32 to be >= -2147483648',
|
|
1590
|
+
})
|
|
1591
|
+
.max(2147483647, {
|
|
1592
|
+
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
1593
|
+
}),
|
|
1594
|
+
aiMessages: z
|
|
1517
1595
|
.int()
|
|
1518
1596
|
.min(-2147483648, {
|
|
1519
1597
|
error: 'Invalid value: Expected int32 to be >= -2147483648',
|
|
@@ -1521,6 +1599,7 @@ export const zSubscriptionResponse = z.object({
|
|
|
1521
1599
|
.max(2147483647, {
|
|
1522
1600
|
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
1523
1601
|
}),
|
|
1602
|
+
features: z.array(z.enum(['SOCIAL_POSTS', 'AGENCY_BRANDING'])),
|
|
1524
1603
|
trialDays: z
|
|
1525
1604
|
.int()
|
|
1526
1605
|
.min(-2147483648, {
|
|
@@ -1548,6 +1627,58 @@ export const zSubscriptionResponse = z.object({
|
|
|
1548
1627
|
activatedAt: z.optional(z.iso.datetime()),
|
|
1549
1628
|
cancelledAt: z.optional(z.iso.datetime()),
|
|
1550
1629
|
checkoutExpiresAt: z.optional(z.iso.datetime()),
|
|
1630
|
+
discountEndsAt: z.optional(z.iso.datetime()),
|
|
1631
|
+
});
|
|
1632
|
+
export const zAiMessages = z.object({
|
|
1633
|
+
used: z.coerce
|
|
1634
|
+
.bigint()
|
|
1635
|
+
.min(BigInt('-9223372036854775808'), {
|
|
1636
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
1637
|
+
})
|
|
1638
|
+
.max(BigInt('9223372036854775807'), {
|
|
1639
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
1640
|
+
}),
|
|
1641
|
+
limit: z.coerce
|
|
1642
|
+
.bigint()
|
|
1643
|
+
.min(BigInt('-9223372036854775808'), {
|
|
1644
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
1645
|
+
})
|
|
1646
|
+
.max(BigInt('9223372036854775807'), {
|
|
1647
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
1648
|
+
}),
|
|
1649
|
+
resetsAt: z.optional(z.iso.datetime()),
|
|
1650
|
+
});
|
|
1651
|
+
export const zTrial = z.object({
|
|
1652
|
+
endsAt: z.iso.datetime(),
|
|
1653
|
+
});
|
|
1654
|
+
export const zUsage = z.object({
|
|
1655
|
+
used: z.coerce
|
|
1656
|
+
.bigint()
|
|
1657
|
+
.min(BigInt('-9223372036854775808'), {
|
|
1658
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
1659
|
+
})
|
|
1660
|
+
.max(BigInt('9223372036854775807'), {
|
|
1661
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
1662
|
+
}),
|
|
1663
|
+
limit: z.coerce
|
|
1664
|
+
.bigint()
|
|
1665
|
+
.min(BigInt('-9223372036854775808'), {
|
|
1666
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
1667
|
+
})
|
|
1668
|
+
.max(BigInt('9223372036854775807'), {
|
|
1669
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
1670
|
+
}),
|
|
1671
|
+
});
|
|
1672
|
+
export const zPlanResponse = z.object({
|
|
1673
|
+
plan: z.enum(['FREE', 'PLUS', 'PRO', 'ENTERPRISE']),
|
|
1674
|
+
canManage: z.boolean(),
|
|
1675
|
+
trial: z.optional(zTrial),
|
|
1676
|
+
subscription: z.optional(zSubscriptionResponse),
|
|
1677
|
+
seats: zUsage,
|
|
1678
|
+
activeListings: zUsage,
|
|
1679
|
+
aiMessages: zAiMessages,
|
|
1680
|
+
boards: zUsage,
|
|
1681
|
+
features: z.array(z.enum(['SOCIAL_POSTS', 'AGENCY_BRANDING'])),
|
|
1551
1682
|
});
|
|
1552
1683
|
export const zPaymentResponse = z.object({
|
|
1553
1684
|
id: z.uuid(),
|
|
@@ -1578,6 +1709,30 @@ export const zPaymentResponse = z.object({
|
|
|
1578
1709
|
.max(BigInt('9223372036854775807'), {
|
|
1579
1710
|
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
1580
1711
|
})),
|
|
1712
|
+
netMinorUnits: z.optional(z.coerce
|
|
1713
|
+
.bigint()
|
|
1714
|
+
.min(BigInt('-9223372036854775808'), {
|
|
1715
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
1716
|
+
})
|
|
1717
|
+
.max(BigInt('9223372036854775807'), {
|
|
1718
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
1719
|
+
})),
|
|
1720
|
+
vatMinorUnits: z.optional(z.coerce
|
|
1721
|
+
.bigint()
|
|
1722
|
+
.min(BigInt('-9223372036854775808'), {
|
|
1723
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
1724
|
+
})
|
|
1725
|
+
.max(BigInt('9223372036854775807'), {
|
|
1726
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
1727
|
+
})),
|
|
1728
|
+
vatPercent: z
|
|
1729
|
+
.int()
|
|
1730
|
+
.min(-2147483648, {
|
|
1731
|
+
error: 'Invalid value: Expected int32 to be >= -2147483648',
|
|
1732
|
+
})
|
|
1733
|
+
.max(2147483647, {
|
|
1734
|
+
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
1735
|
+
}),
|
|
1581
1736
|
currency: z.optional(z.string()),
|
|
1582
1737
|
responseCode: z.optional(z.string()),
|
|
1583
1738
|
responseDescription: z.optional(z.string()),
|
|
@@ -2004,6 +2159,7 @@ export const zInterestResponse = z.object({
|
|
|
2004
2159
|
criteria: zCriteria,
|
|
2005
2160
|
recommendationStats: zRecommendationStats,
|
|
2006
2161
|
boundedBox: z.optional(zBoundingBox),
|
|
2162
|
+
agencyBranding: z.boolean(),
|
|
2007
2163
|
recommendations: zPagedModelRecommendationsCardView,
|
|
2008
2164
|
});
|
|
2009
2165
|
export const zRecommendationDecisionResponse = z.object({
|
|
@@ -2011,6 +2167,95 @@ export const zRecommendationDecisionResponse = z.object({
|
|
|
2011
2167
|
externalListingId: z.uuid(),
|
|
2012
2168
|
decision: z.enum(['MAYBE', 'DISLIKE', 'LIKE']),
|
|
2013
2169
|
});
|
|
2170
|
+
export const zAmount = z.object({
|
|
2171
|
+
netMinorUnits: z.coerce
|
|
2172
|
+
.bigint()
|
|
2173
|
+
.min(BigInt('-9223372036854775808'), {
|
|
2174
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
2175
|
+
})
|
|
2176
|
+
.max(BigInt('9223372036854775807'), {
|
|
2177
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
2178
|
+
}),
|
|
2179
|
+
vatMinorUnits: z.coerce
|
|
2180
|
+
.bigint()
|
|
2181
|
+
.min(BigInt('-9223372036854775808'), {
|
|
2182
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
2183
|
+
})
|
|
2184
|
+
.max(BigInt('9223372036854775807'), {
|
|
2185
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
2186
|
+
}),
|
|
2187
|
+
totalMinorUnits: z.coerce
|
|
2188
|
+
.bigint()
|
|
2189
|
+
.min(BigInt('-9223372036854775808'), {
|
|
2190
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
2191
|
+
})
|
|
2192
|
+
.max(BigInt('9223372036854775807'), {
|
|
2193
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
2194
|
+
}),
|
|
2195
|
+
});
|
|
2196
|
+
export const zPlanOffer = z.object({
|
|
2197
|
+
plan: z.enum(['FREE', 'PLUS', 'PRO', 'ENTERPRISE']),
|
|
2198
|
+
monthly: zAmount,
|
|
2199
|
+
yearly: zAmount,
|
|
2200
|
+
seats: z
|
|
2201
|
+
.int()
|
|
2202
|
+
.min(-2147483648, {
|
|
2203
|
+
error: 'Invalid value: Expected int32 to be >= -2147483648',
|
|
2204
|
+
})
|
|
2205
|
+
.max(2147483647, {
|
|
2206
|
+
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
2207
|
+
}),
|
|
2208
|
+
activeListings: z
|
|
2209
|
+
.int()
|
|
2210
|
+
.min(-2147483648, {
|
|
2211
|
+
error: 'Invalid value: Expected int32 to be >= -2147483648',
|
|
2212
|
+
})
|
|
2213
|
+
.max(2147483647, {
|
|
2214
|
+
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
2215
|
+
}),
|
|
2216
|
+
aiMessages: z
|
|
2217
|
+
.int()
|
|
2218
|
+
.min(-2147483648, {
|
|
2219
|
+
error: 'Invalid value: Expected int32 to be >= -2147483648',
|
|
2220
|
+
})
|
|
2221
|
+
.max(2147483647, {
|
|
2222
|
+
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
2223
|
+
}),
|
|
2224
|
+
features: z.array(z.enum(['SOCIAL_POSTS', 'AGENCY_BRANDING'])),
|
|
2225
|
+
});
|
|
2226
|
+
export const zTrialOffer = z.object({
|
|
2227
|
+
days: z
|
|
2228
|
+
.int()
|
|
2229
|
+
.min(-2147483648, {
|
|
2230
|
+
error: 'Invalid value: Expected int32 to be >= -2147483648',
|
|
2231
|
+
})
|
|
2232
|
+
.max(2147483647, {
|
|
2233
|
+
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
2234
|
+
}),
|
|
2235
|
+
plan: z.enum(['FREE', 'PLUS', 'PRO', 'ENTERPRISE']),
|
|
2236
|
+
aiMessages: z
|
|
2237
|
+
.int()
|
|
2238
|
+
.min(-2147483648, {
|
|
2239
|
+
error: 'Invalid value: Expected int32 to be >= -2147483648',
|
|
2240
|
+
})
|
|
2241
|
+
.max(2147483647, {
|
|
2242
|
+
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
2243
|
+
}),
|
|
2244
|
+
});
|
|
2245
|
+
export const zCatalogResponse = z.object({
|
|
2246
|
+
currency: z.string(),
|
|
2247
|
+
vatPercent: z
|
|
2248
|
+
.int()
|
|
2249
|
+
.min(-2147483648, {
|
|
2250
|
+
error: 'Invalid value: Expected int32 to be >= -2147483648',
|
|
2251
|
+
})
|
|
2252
|
+
.max(2147483647, {
|
|
2253
|
+
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
2254
|
+
}),
|
|
2255
|
+
plans: z.array(zPlanOffer),
|
|
2256
|
+
enterpriseFromMonthly: zAmount,
|
|
2257
|
+
trial: zTrialOffer,
|
|
2258
|
+
});
|
|
2014
2259
|
export const zPermissionResponse = z.object({
|
|
2015
2260
|
permission: z.enum([
|
|
2016
2261
|
'MANAGE_AGENCY',
|
|
@@ -2434,6 +2679,37 @@ export const zListingOwnerContactResponse = z.object({
|
|
|
2434
2679
|
zContactPersonalDetailsVisible,
|
|
2435
2680
|
]),
|
|
2436
2681
|
});
|
|
2682
|
+
export const zAiMessagesRunningLow = z.object({
|
|
2683
|
+
used: z.optional(z.coerce
|
|
2684
|
+
.bigint()
|
|
2685
|
+
.min(BigInt('-9223372036854775808'), {
|
|
2686
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
2687
|
+
})
|
|
2688
|
+
.max(BigInt('9223372036854775807'), {
|
|
2689
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
2690
|
+
})),
|
|
2691
|
+
allowance: z.optional(z
|
|
2692
|
+
.int()
|
|
2693
|
+
.min(-2147483648, {
|
|
2694
|
+
error: 'Invalid value: Expected int32 to be >= -2147483648',
|
|
2695
|
+
})
|
|
2696
|
+
.max(2147483647, {
|
|
2697
|
+
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
2698
|
+
})),
|
|
2699
|
+
kind: z.enum(['AI_MESSAGES_RUNNING_LOW']),
|
|
2700
|
+
});
|
|
2701
|
+
export const zAiMessagesUsedUp = z.object({
|
|
2702
|
+
allowance: z.optional(z
|
|
2703
|
+
.int()
|
|
2704
|
+
.min(-2147483648, {
|
|
2705
|
+
error: 'Invalid value: Expected int32 to be >= -2147483648',
|
|
2706
|
+
})
|
|
2707
|
+
.max(2147483647, {
|
|
2708
|
+
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
2709
|
+
})),
|
|
2710
|
+
renewsAt: z.optional(z.iso.datetime()),
|
|
2711
|
+
kind: z.enum(['AI_MESSAGES_USED_UP']),
|
|
2712
|
+
});
|
|
2437
2713
|
export const zCommentId = z.object({
|
|
2438
2714
|
value: z.optional(z.uuid()),
|
|
2439
2715
|
});
|
|
@@ -2584,6 +2860,11 @@ export const zSocialPostFailed = z.object({
|
|
|
2584
2860
|
export const zSubscriptionId = z.object({
|
|
2585
2861
|
value: z.optional(z.uuid()),
|
|
2586
2862
|
});
|
|
2863
|
+
export const zDiscountEnding = z.object({
|
|
2864
|
+
subscriptionId: z.optional(zSubscriptionId),
|
|
2865
|
+
endsAt: z.optional(z.iso.datetime()),
|
|
2866
|
+
kind: z.enum(['DISCOUNT_ENDING']),
|
|
2867
|
+
});
|
|
2587
2868
|
export const zSubscriptionEnding = z.object({
|
|
2588
2869
|
subscriptionId: z.optional(zSubscriptionId),
|
|
2589
2870
|
status: z.optional(z.enum([
|
|
@@ -2633,6 +2914,13 @@ export const zTaskCommented = z.object({
|
|
|
2633
2914
|
commentSnippet: z.optional(z.string()),
|
|
2634
2915
|
kind: z.enum(['TASK_COMMENTED']),
|
|
2635
2916
|
});
|
|
2917
|
+
export const zTrialEnded = z.object({
|
|
2918
|
+
kind: z.enum(['TRIAL_ENDED']),
|
|
2919
|
+
});
|
|
2920
|
+
export const zTrialEnding = z.object({
|
|
2921
|
+
endsAt: z.optional(z.iso.datetime()),
|
|
2922
|
+
kind: z.enum(['TRIAL_ENDING']),
|
|
2923
|
+
});
|
|
2636
2924
|
export const zNotificationView = z.object({
|
|
2637
2925
|
id: z.uuid(),
|
|
2638
2926
|
seq: z.coerce
|
|
@@ -2656,6 +2944,11 @@ export const zNotificationView = z.object({
|
|
|
2656
2944
|
'SUBSCRIPTION_ENDING',
|
|
2657
2945
|
'SUBSCRIPTION_EXPIRED',
|
|
2658
2946
|
'SUBSCRIPTION_PAYMENT_REVERSED',
|
|
2947
|
+
'TRIAL_ENDING',
|
|
2948
|
+
'TRIAL_ENDED',
|
|
2949
|
+
'DISCOUNT_ENDING',
|
|
2950
|
+
'AI_MESSAGES_RUNNING_LOW',
|
|
2951
|
+
'AI_MESSAGES_USED_UP',
|
|
2659
2952
|
'CHANNEL_REAUTH_REQUIRED',
|
|
2660
2953
|
'SOCIAL_POST_FAILED',
|
|
2661
2954
|
'SOCIAL_POST_COMMENTED',
|
|
@@ -2663,8 +2956,11 @@ export const zNotificationView = z.object({
|
|
|
2663
2956
|
targetId: z.optional(z.string()),
|
|
2664
2957
|
payload: z.union([
|
|
2665
2958
|
zAgentCommented,
|
|
2959
|
+
zAiMessagesRunningLow,
|
|
2960
|
+
zAiMessagesUsedUp,
|
|
2666
2961
|
zChannelReauthRequired,
|
|
2667
2962
|
zContactAssigned,
|
|
2963
|
+
zDiscountEnding,
|
|
2668
2964
|
zListingExpired,
|
|
2669
2965
|
zMemberMentioned,
|
|
2670
2966
|
zNewMessage,
|
|
@@ -2676,6 +2972,8 @@ export const zNotificationView = z.object({
|
|
|
2676
2972
|
zSubscriptionPaymentFailed,
|
|
2677
2973
|
zSubscriptionPaymentReversed,
|
|
2678
2974
|
zTaskCommented,
|
|
2975
|
+
zTrialEnded,
|
|
2976
|
+
zTrialEnding,
|
|
2679
2977
|
]),
|
|
2680
2978
|
count: z
|
|
2681
2979
|
.int()
|
|
@@ -2865,6 +3163,14 @@ export const zPlatformView = z.object({
|
|
|
2865
3163
|
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
2866
3164
|
})),
|
|
2867
3165
|
platform: z.optional(z.enum(['SS', 'MY_HOME'])),
|
|
3166
|
+
status: z.enum([
|
|
3167
|
+
'PENDING',
|
|
3168
|
+
'SYNDICATED',
|
|
3169
|
+
'FAILED',
|
|
3170
|
+
'EXPIRED',
|
|
3171
|
+
'WITHDRAWING',
|
|
3172
|
+
'WITHDRAWN',
|
|
3173
|
+
]),
|
|
2868
3174
|
expiresAt: z.optional(z.iso.date()),
|
|
2869
3175
|
tier: z.optional(z.enum(['VIP', 'VIP_PLUS', 'SUPER_VIP'])),
|
|
2870
3176
|
boostExpiresAt: z.optional(z.iso.date()),
|
|
@@ -2940,6 +3246,8 @@ export const zListingGridResponse = z.object({
|
|
|
2940
3246
|
'CLOSED',
|
|
2941
3247
|
]),
|
|
2942
3248
|
listingType: z.optional(z.enum(['SALE', 'RENT', 'DAILY_RENT', 'PLEDGE'])),
|
|
3249
|
+
listingState: z.optional(z.enum(['OPEN', 'CLOSED'])),
|
|
3250
|
+
marketplaceStatus: z.optional(z.enum(['ACTIVE', 'PAUSED', 'EXPIRED'])),
|
|
2943
3251
|
price: z.optional(z.number()),
|
|
2944
3252
|
commissionType: z.optional(z.enum(['NOT_SET', 'FIXED', 'PERCENTAGE', 'MONTHS_OF_RENT'])),
|
|
2945
3253
|
commission: z.optional(z.number()),
|
|
@@ -3058,10 +3366,29 @@ export const zInterestGridResponse = z.object({
|
|
|
3058
3366
|
listingType: z.enum(['SALE', 'RENT', 'DAILY_RENT', 'PLEDGE']),
|
|
3059
3367
|
priceRange: z.optional(zPriceRange),
|
|
3060
3368
|
bedrooms: z.optional(zRoomRange),
|
|
3369
|
+
bathrooms: z.optional(zRoomRange),
|
|
3061
3370
|
totalArea: z.optional(zAreaRange),
|
|
3062
3371
|
livingArea: z.optional(zAreaRange),
|
|
3063
3372
|
address: z.optional(zAddressView),
|
|
3373
|
+
locationType: z.optional(z.enum(['REGION', 'DISTRICT', 'SUBDISTRICT', 'STREET'])),
|
|
3374
|
+
locationId: z.optional(z.coerce
|
|
3375
|
+
.bigint()
|
|
3376
|
+
.min(BigInt('-9223372036854775808'), {
|
|
3377
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
3378
|
+
})
|
|
3379
|
+
.max(BigInt('9223372036854775807'), {
|
|
3380
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
3381
|
+
})),
|
|
3064
3382
|
status: z.enum(['UNPUBLISHED', 'PUBLISHED', 'CLOSED']),
|
|
3383
|
+
shareToken: z.uuid(),
|
|
3384
|
+
recommendationCount: z
|
|
3385
|
+
.int()
|
|
3386
|
+
.min(-2147483648, {
|
|
3387
|
+
error: 'Invalid value: Expected int32 to be >= -2147483648',
|
|
3388
|
+
})
|
|
3389
|
+
.max(2147483647, {
|
|
3390
|
+
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
3391
|
+
}),
|
|
3065
3392
|
});
|
|
3066
3393
|
export const zPagedModelInterestGridResponse = z.object({
|
|
3067
3394
|
content: z.optional(z.array(zInterestGridResponse)),
|
|
@@ -3247,6 +3574,55 @@ export const zCursorPageSocialCommentThreadResponse = z.object({
|
|
|
3247
3574
|
nextCursor: z.optional(z.string()),
|
|
3248
3575
|
hasNext: z.optional(z.boolean()),
|
|
3249
3576
|
});
|
|
3577
|
+
export const zListingMatch = z.object({
|
|
3578
|
+
externalPropertyId: z.uuid(),
|
|
3579
|
+
externalListingId: z.uuid(),
|
|
3580
|
+
listingType: z.enum(['SALE', 'RENT', 'DAILY_RENT', 'PLEDGE']),
|
|
3581
|
+
price: z.number(),
|
|
3582
|
+
propertyType: z.enum([
|
|
3583
|
+
'HOUSE',
|
|
3584
|
+
'TOWN_HOUSE',
|
|
3585
|
+
'COUNTRY_HOUSE',
|
|
3586
|
+
'VILLA',
|
|
3587
|
+
'COTTAGE',
|
|
3588
|
+
'APARTMENT',
|
|
3589
|
+
'DUPLEX',
|
|
3590
|
+
'TRIPLEX',
|
|
3591
|
+
'SEMI_BASEMENT',
|
|
3592
|
+
'ATTIC',
|
|
3593
|
+
'AGRICULTURAL_LAND',
|
|
3594
|
+
'RESIDENTIAL_LAND',
|
|
3595
|
+
'HOTEL_ROOM',
|
|
3596
|
+
'MOTEL_ROOM',
|
|
3597
|
+
'CO_LIVING_SPACE',
|
|
3598
|
+
'OFFICE',
|
|
3599
|
+
'COMMERCIAL_SPACE',
|
|
3600
|
+
'CO_WORKING_SPACE',
|
|
3601
|
+
'WAREHOUSE',
|
|
3602
|
+
'GARAGE',
|
|
3603
|
+
]),
|
|
3604
|
+
address: z.optional(z.string()),
|
|
3605
|
+
lat: z.number(),
|
|
3606
|
+
lng: z.number(),
|
|
3607
|
+
totalArea: z.number(),
|
|
3608
|
+
bedrooms: z
|
|
3609
|
+
.int()
|
|
3610
|
+
.min(-2147483648, {
|
|
3611
|
+
error: 'Invalid value: Expected int32 to be >= -2147483648',
|
|
3612
|
+
})
|
|
3613
|
+
.max(2147483647, {
|
|
3614
|
+
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
3615
|
+
}),
|
|
3616
|
+
bathrooms: z
|
|
3617
|
+
.int()
|
|
3618
|
+
.min(-2147483648, {
|
|
3619
|
+
error: 'Invalid value: Expected int32 to be >= -2147483648',
|
|
3620
|
+
})
|
|
3621
|
+
.max(2147483647, {
|
|
3622
|
+
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
3623
|
+
}),
|
|
3624
|
+
featuredPhotos: z.array(z.string()),
|
|
3625
|
+
});
|
|
3250
3626
|
export const zContactGridResponse = z.object({
|
|
3251
3627
|
id: z.coerce
|
|
3252
3628
|
.bigint()
|
|
@@ -4681,6 +5057,15 @@ export const zPostSubscriptionsResumeData = z.object({
|
|
|
4681
5057
|
* No Content
|
|
4682
5058
|
*/
|
|
4683
5059
|
export const zPostSubscriptionsResumeResponse = z.void();
|
|
5060
|
+
export const zGetSubscriptionsPlanData = z.object({
|
|
5061
|
+
body: z.optional(z.never()),
|
|
5062
|
+
path: z.optional(z.never()),
|
|
5063
|
+
query: z.optional(z.never()),
|
|
5064
|
+
});
|
|
5065
|
+
/**
|
|
5066
|
+
* OK
|
|
5067
|
+
*/
|
|
5068
|
+
export const zGetSubscriptionsPlanResponse = zPlanResponse;
|
|
4684
5069
|
export const zPostSubscriptionsPlanData = z.object({
|
|
4685
5070
|
body: zChangePlanRequest,
|
|
4686
5071
|
path: z.optional(z.never()),
|
|
@@ -4737,6 +5122,10 @@ export const zPostPublicWebhooksTelegramData = z.object({
|
|
|
4737
5122
|
'X-Telegram-Bot-Api-Secret-Token': z.optional(z.string()),
|
|
4738
5123
|
})),
|
|
4739
5124
|
});
|
|
5125
|
+
/**
|
|
5126
|
+
* OK
|
|
5127
|
+
*/
|
|
5128
|
+
export const zPostPublicWebhooksTelegramResponse = z.record(z.string(), z.unknown());
|
|
4740
5129
|
export const zGetPublicWebhooksMetaWaData = z.object({
|
|
4741
5130
|
body: z.optional(z.never()),
|
|
4742
5131
|
path: z.optional(z.never()),
|
|
@@ -5490,6 +5879,43 @@ export const zPostContactsByContactIdInterestsData = z.object({
|
|
|
5490
5879
|
* Created
|
|
5491
5880
|
*/
|
|
5492
5881
|
export const zPostContactsByContactIdInterestsResponse = zInterestId;
|
|
5882
|
+
export const zPostContactsByContactIdInterestsByInterestIdItemsFillData = z.object({
|
|
5883
|
+
body: z.optional(z.never()),
|
|
5884
|
+
path: z.object({
|
|
5885
|
+
contactId: z.coerce
|
|
5886
|
+
.bigint()
|
|
5887
|
+
.min(BigInt('-9223372036854775808'), {
|
|
5888
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
5889
|
+
})
|
|
5890
|
+
.max(BigInt('9223372036854775807'), {
|
|
5891
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
5892
|
+
}),
|
|
5893
|
+
interestId: z.coerce
|
|
5894
|
+
.bigint()
|
|
5895
|
+
.min(BigInt('-9223372036854775808'), {
|
|
5896
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
5897
|
+
})
|
|
5898
|
+
.max(BigInt('9223372036854775807'), {
|
|
5899
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
5900
|
+
}),
|
|
5901
|
+
}),
|
|
5902
|
+
query: z.optional(z.object({
|
|
5903
|
+
limit: z
|
|
5904
|
+
.optional(z
|
|
5905
|
+
.int()
|
|
5906
|
+
.min(-2147483648, {
|
|
5907
|
+
error: 'Invalid value: Expected int32 to be >= -2147483648',
|
|
5908
|
+
})
|
|
5909
|
+
.max(2147483647, {
|
|
5910
|
+
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
5911
|
+
}))
|
|
5912
|
+
.default(20),
|
|
5913
|
+
})),
|
|
5914
|
+
});
|
|
5915
|
+
/**
|
|
5916
|
+
* OK
|
|
5917
|
+
*/
|
|
5918
|
+
export const zPostContactsByContactIdInterestsByInterestIdItemsFillResponse = z.array(z.uuid());
|
|
5493
5919
|
export const zDeleteContactsByContactIdCommentsData = z.object({
|
|
5494
5920
|
body: z.optional(z.never()),
|
|
5495
5921
|
path: z.object({
|
|
@@ -5714,15 +6140,15 @@ export const zPostBoardByBoardIdStageByStageIdTemplateData = z.object({
|
|
|
5714
6140
|
* Created
|
|
5715
6141
|
*/
|
|
5716
6142
|
export const zPostBoardByBoardIdStageByStageIdTemplateResponse = zIdResponseUuid;
|
|
5717
|
-
export const
|
|
5718
|
-
body:
|
|
6143
|
+
export const zPostApiAdminSubscriptionsCheckoutData = z.object({
|
|
6144
|
+
body: zAdminCheckoutRequest,
|
|
5719
6145
|
path: z.optional(z.never()),
|
|
5720
6146
|
query: z.optional(z.never()),
|
|
5721
6147
|
});
|
|
5722
6148
|
/**
|
|
5723
6149
|
* Created
|
|
5724
6150
|
*/
|
|
5725
|
-
export const
|
|
6151
|
+
export const zPostApiAdminSubscriptionsCheckoutResponse = zAdminCheckoutResponse;
|
|
5726
6152
|
export const zPatchTaskByTaskIdPositionData = z.object({
|
|
5727
6153
|
body: zPositionTaskRequest,
|
|
5728
6154
|
path: z.object({
|
|
@@ -5923,6 +6349,15 @@ export const zGetPublicRecomendationsByTokenDecisionsData = z.object({
|
|
|
5923
6349
|
* OK
|
|
5924
6350
|
*/
|
|
5925
6351
|
export const zGetPublicRecomendationsByTokenDecisionsResponse = z.array(zRecommendationDecisionResponse);
|
|
6352
|
+
export const zGetPublicPlansData = z.object({
|
|
6353
|
+
body: z.optional(z.never()),
|
|
6354
|
+
path: z.optional(z.never()),
|
|
6355
|
+
query: z.optional(z.never()),
|
|
6356
|
+
});
|
|
6357
|
+
/**
|
|
6358
|
+
* OK
|
|
6359
|
+
*/
|
|
6360
|
+
export const zGetPublicPlansResponse = zCatalogResponse;
|
|
5926
6361
|
export const zGetPublicPermissionsData = z.object({
|
|
5927
6362
|
body: z.optional(z.never()),
|
|
5928
6363
|
path: z.optional(z.never()),
|
|
@@ -6293,24 +6728,6 @@ export const zGetListingData = z.object({
|
|
|
6293
6728
|
* OK
|
|
6294
6729
|
*/
|
|
6295
6730
|
export const zGetListingResponse = zPagedModelListingGridResponse;
|
|
6296
|
-
export const zGetListingByPropertyIdData = z.object({
|
|
6297
|
-
body: z.optional(z.never()),
|
|
6298
|
-
path: z.object({
|
|
6299
|
-
propertyId: z.coerce
|
|
6300
|
-
.bigint()
|
|
6301
|
-
.min(BigInt('-9223372036854775808'), {
|
|
6302
|
-
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
6303
|
-
})
|
|
6304
|
-
.max(BigInt('9223372036854775807'), {
|
|
6305
|
-
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
6306
|
-
}),
|
|
6307
|
-
}),
|
|
6308
|
-
query: z.optional(z.never()),
|
|
6309
|
-
});
|
|
6310
|
-
/**
|
|
6311
|
-
* OK
|
|
6312
|
-
*/
|
|
6313
|
-
export const zGetListingByPropertyIdResponse = zListingGridResponse;
|
|
6314
6731
|
export const zGetListingGroupsData = z.object({
|
|
6315
6732
|
body: z.optional(z.never()),
|
|
6316
6733
|
path: z.optional(z.never()),
|
|
@@ -6845,6 +7262,43 @@ export const zGetContactsByContactIdInterestsByInterestIdRecommendationsDecision
|
|
|
6845
7262
|
* OK
|
|
6846
7263
|
*/
|
|
6847
7264
|
export const zGetContactsByContactIdInterestsByInterestIdRecommendationsDecisionsResponse = z.array(zRecommendationDecisionResponse);
|
|
7265
|
+
export const zGetContactsByContactIdInterestsByInterestIdMatchesData = z.object({
|
|
7266
|
+
body: z.optional(z.never()),
|
|
7267
|
+
path: z.object({
|
|
7268
|
+
contactId: z.coerce
|
|
7269
|
+
.bigint()
|
|
7270
|
+
.min(BigInt('-9223372036854775808'), {
|
|
7271
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
7272
|
+
})
|
|
7273
|
+
.max(BigInt('9223372036854775807'), {
|
|
7274
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
7275
|
+
}),
|
|
7276
|
+
interestId: z.coerce
|
|
7277
|
+
.bigint()
|
|
7278
|
+
.min(BigInt('-9223372036854775808'), {
|
|
7279
|
+
error: 'Invalid value: Expected int64 to be >= -9223372036854775808',
|
|
7280
|
+
})
|
|
7281
|
+
.max(BigInt('9223372036854775807'), {
|
|
7282
|
+
error: 'Invalid value: Expected int64 to be <= 9223372036854775807',
|
|
7283
|
+
}),
|
|
7284
|
+
}),
|
|
7285
|
+
query: z.optional(z.object({
|
|
7286
|
+
limit: z
|
|
7287
|
+
.optional(z
|
|
7288
|
+
.int()
|
|
7289
|
+
.min(-2147483648, {
|
|
7290
|
+
error: 'Invalid value: Expected int32 to be >= -2147483648',
|
|
7291
|
+
})
|
|
7292
|
+
.max(2147483647, {
|
|
7293
|
+
error: 'Invalid value: Expected int32 to be <= 2147483647',
|
|
7294
|
+
}))
|
|
7295
|
+
.default(20),
|
|
7296
|
+
})),
|
|
7297
|
+
});
|
|
7298
|
+
/**
|
|
7299
|
+
* OK
|
|
7300
|
+
*/
|
|
7301
|
+
export const zGetContactsByContactIdInterestsByInterestIdMatchesResponse = z.array(zListingMatch);
|
|
6848
7302
|
export const zDeleteContactByContactIdData = z.object({
|
|
6849
7303
|
body: z.optional(z.never()),
|
|
6850
7304
|
path: z.object({
|