@linebundle-sdk/ts 1.0.0-rc.10 → 1.0.0-rc.12
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/esm/index.d.ts +662 -21
- package/esm/index.js +1278 -855
- package/esm/index.js.map +1 -1
- package/package.json +1 -1
package/esm/index.js
CHANGED
|
@@ -616,8 +616,9 @@ var createClient = (config = {}) => {
|
|
|
616
616
|
if (opts.body === void 0 || opts.serializedBody === "") {
|
|
617
617
|
opts.headers.delete("Content-Type");
|
|
618
618
|
}
|
|
619
|
-
const
|
|
620
|
-
|
|
619
|
+
const resolvedOpts = opts;
|
|
620
|
+
const url2 = buildUrl(resolvedOpts);
|
|
621
|
+
return { opts: resolvedOpts, url: url2 };
|
|
621
622
|
};
|
|
622
623
|
const request = async (options) => {
|
|
623
624
|
const { opts, url: url2 } = await beforeRequest(options);
|
|
@@ -794,7 +795,10 @@ var createClient = (config = {}) => {
|
|
|
794
795
|
};
|
|
795
796
|
|
|
796
797
|
// src/client.gen.ts
|
|
797
|
-
var client = createClient(createConfig());
|
|
798
|
+
var client = createClient(createConfig({ baseUrl: "https://api.linebundle.com" }));
|
|
799
|
+
|
|
800
|
+
// src/sdk.gen.ts
|
|
801
|
+
import * as z2 from "zod";
|
|
798
802
|
|
|
799
803
|
// src/zod.gen.ts
|
|
800
804
|
import * as z from "zod";
|
|
@@ -810,9 +814,16 @@ var zAddAttendeeInputBody = z.object({
|
|
|
810
814
|
"checked_in"
|
|
811
815
|
]).optional()
|
|
812
816
|
});
|
|
817
|
+
var zAddDocumentInputBody = z.object({
|
|
818
|
+
$schema: z.url().readonly().optional()
|
|
819
|
+
});
|
|
813
820
|
var zAddEventManagerInputBody = z.object({
|
|
814
821
|
$schema: z.url().readonly().optional(),
|
|
822
|
+
channels: z.array(z.string()).nullish(),
|
|
823
|
+
message: z.string().optional(),
|
|
824
|
+
notify: z.boolean().optional(),
|
|
815
825
|
permissions: z.array(z.string()).nullable(),
|
|
826
|
+
priority: z.string().optional(),
|
|
816
827
|
user_id: z.string().min(1)
|
|
817
828
|
});
|
|
818
829
|
var zAddMemberInputBody = z.object({
|
|
@@ -844,7 +855,11 @@ var zAddSpaceInputBody = z.object({
|
|
|
844
855
|
});
|
|
845
856
|
var zAddSpaceManagerInputBody = z.object({
|
|
846
857
|
$schema: z.url().readonly().optional(),
|
|
858
|
+
channels: z.array(z.string()).nullish(),
|
|
859
|
+
message: z.string().optional(),
|
|
860
|
+
notify: z.boolean().optional(),
|
|
847
861
|
permissions: z.array(z.string()).nullable(),
|
|
862
|
+
priority: z.string().optional(),
|
|
848
863
|
user_id: z.string().min(1)
|
|
849
864
|
});
|
|
850
865
|
var zAttendee = z.object({
|
|
@@ -889,7 +904,7 @@ var zBooking = z.object({
|
|
|
889
904
|
description: z.string().optional(),
|
|
890
905
|
end_dt: z.iso.datetime(),
|
|
891
906
|
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }),
|
|
892
|
-
org_id: z.string(),
|
|
907
|
+
org_id: z.string().optional(),
|
|
893
908
|
place_id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }),
|
|
894
909
|
start_dt: z.iso.datetime(),
|
|
895
910
|
status: z.string(),
|
|
@@ -897,6 +912,28 @@ var zBooking = z.object({
|
|
|
897
912
|
updated_at: z.iso.datetime(),
|
|
898
913
|
user_id: z.string()
|
|
899
914
|
});
|
|
915
|
+
var zBulkAttendeeBody = z.object({
|
|
916
|
+
$schema: z.url().readonly().optional(),
|
|
917
|
+
contact_ids: z.array(z.string()).min(1).nullable(),
|
|
918
|
+
status: z.enum([
|
|
919
|
+
"invited",
|
|
920
|
+
"confirmed",
|
|
921
|
+
"declined",
|
|
922
|
+
"tentative",
|
|
923
|
+
"checked_in"
|
|
924
|
+
]).optional()
|
|
925
|
+
});
|
|
926
|
+
var zBulkStatusBody = z.object({
|
|
927
|
+
$schema: z.url().readonly().optional(),
|
|
928
|
+
contact_ids: z.array(z.string()).min(1).nullable(),
|
|
929
|
+
status: z.enum([
|
|
930
|
+
"invited",
|
|
931
|
+
"confirmed",
|
|
932
|
+
"declined",
|
|
933
|
+
"tentative",
|
|
934
|
+
"checked_in"
|
|
935
|
+
])
|
|
936
|
+
});
|
|
900
937
|
var zCheckAvailabilityInputBody = z.object({
|
|
901
938
|
$schema: z.url().readonly().optional(),
|
|
902
939
|
end_dt: z.string(),
|
|
@@ -904,6 +941,9 @@ var zCheckAvailabilityInputBody = z.object({
|
|
|
904
941
|
place_id: z.coerce.bigint().gte(BigInt(1)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }),
|
|
905
942
|
start_dt: z.string()
|
|
906
943
|
});
|
|
944
|
+
var zCheckInInputBody = z.object({
|
|
945
|
+
$schema: z.url().readonly().optional()
|
|
946
|
+
});
|
|
907
947
|
var zContact = z.object({
|
|
908
948
|
$schema: z.url().readonly().optional(),
|
|
909
949
|
address_line1: z.string().nullable(),
|
|
@@ -1035,7 +1075,7 @@ var zEntry = z.object({
|
|
|
1035
1075
|
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }),
|
|
1036
1076
|
ip_address: z.string().optional(),
|
|
1037
1077
|
metadata: z.record(z.string(), z.unknown()).optional(),
|
|
1038
|
-
org_id: z.string(),
|
|
1078
|
+
org_id: z.string().optional(),
|
|
1039
1079
|
resource_id: z.string(),
|
|
1040
1080
|
resource_type: z.string(),
|
|
1041
1081
|
user_agent: z.string().optional()
|
|
@@ -1082,10 +1122,13 @@ var zEvent = z.object({
|
|
|
1082
1122
|
timezone: z.string(),
|
|
1083
1123
|
title: z.string(),
|
|
1084
1124
|
updated_at: z.iso.datetime(),
|
|
1085
|
-
url_shortcut: z.string().optional(),
|
|
1086
1125
|
version: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }),
|
|
1087
1126
|
visibility: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
1088
1127
|
});
|
|
1128
|
+
var zCalendarEventsOutputBody = z.object({
|
|
1129
|
+
$schema: z.url().readonly().optional(),
|
|
1130
|
+
items: z.array(zEvent).nullable()
|
|
1131
|
+
});
|
|
1089
1132
|
var zEventManager = z.object({
|
|
1090
1133
|
$schema: z.url().readonly().optional(),
|
|
1091
1134
|
created_at: z.iso.datetime(),
|
|
@@ -1100,6 +1143,20 @@ var zEventManagerPermissionsOutputBody = z.object({
|
|
|
1100
1143
|
$schema: z.url().readonly().optional(),
|
|
1101
1144
|
permissions: z.array(z.string()).nullable()
|
|
1102
1145
|
});
|
|
1146
|
+
var zEventPatch = z.object({
|
|
1147
|
+
$schema: z.url().readonly().optional(),
|
|
1148
|
+
address: z.string().optional(),
|
|
1149
|
+
description: z.string().optional(),
|
|
1150
|
+
end_dt: z.iso.datetime().optional(),
|
|
1151
|
+
keywords: z.array(z.string()).nullish(),
|
|
1152
|
+
latitude: z.number().optional(),
|
|
1153
|
+
longitude: z.number().optional(),
|
|
1154
|
+
metadata: z.record(z.string(), z.unknown()).optional(),
|
|
1155
|
+
start_dt: z.iso.datetime().optional(),
|
|
1156
|
+
timezone: z.string().optional(),
|
|
1157
|
+
title: z.string().min(1).optional(),
|
|
1158
|
+
visibility: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).optional()
|
|
1159
|
+
});
|
|
1103
1160
|
var zEventSpaceLink = z.object({
|
|
1104
1161
|
$schema: z.url().readonly().optional(),
|
|
1105
1162
|
created_at: z.iso.datetime(),
|
|
@@ -1206,6 +1263,13 @@ var zMilestone = z.object({
|
|
|
1206
1263
|
sequence: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }),
|
|
1207
1264
|
updated_at: z.iso.datetime()
|
|
1208
1265
|
});
|
|
1266
|
+
var zOptions = z.object({
|
|
1267
|
+
$schema: z.url().readonly().optional(),
|
|
1268
|
+
channels: z.array(z.string()).nullish(),
|
|
1269
|
+
message: z.string().optional(),
|
|
1270
|
+
notify: z.boolean().optional(),
|
|
1271
|
+
priority: z.string().optional()
|
|
1272
|
+
});
|
|
1209
1273
|
var zOrganization = z.object({
|
|
1210
1274
|
$schema: z.url().readonly().optional(),
|
|
1211
1275
|
allow_public_visibility: z.boolean(),
|
|
@@ -1479,6 +1543,14 @@ var zSpaceManagerPermissionsOutputBody = z.object({
|
|
|
1479
1543
|
$schema: z.url().readonly().optional(),
|
|
1480
1544
|
permissions: z.array(z.string()).nullable()
|
|
1481
1545
|
});
|
|
1546
|
+
var zSpacePatch = z.object({
|
|
1547
|
+
$schema: z.url().readonly().optional(),
|
|
1548
|
+
description: z.string().optional(),
|
|
1549
|
+
position: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).optional(),
|
|
1550
|
+
timezone: z.string().optional(),
|
|
1551
|
+
title: z.string().min(1).optional(),
|
|
1552
|
+
visibility: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).optional()
|
|
1553
|
+
});
|
|
1482
1554
|
var zSpaceSummary = z.object({
|
|
1483
1555
|
active_events: z.array(zEventSummary).nullable(),
|
|
1484
1556
|
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }),
|
|
@@ -1600,7 +1672,11 @@ var zAddAttendeeInputBodyWritable = z.object({
|
|
|
1600
1672
|
]).optional()
|
|
1601
1673
|
});
|
|
1602
1674
|
var zAddEventManagerInputBodyWritable = z.object({
|
|
1675
|
+
channels: z.array(z.string()).nullish(),
|
|
1676
|
+
message: z.string().optional(),
|
|
1677
|
+
notify: z.boolean().optional(),
|
|
1603
1678
|
permissions: z.array(z.string()).nullable(),
|
|
1679
|
+
priority: z.string().optional(),
|
|
1604
1680
|
user_id: z.string().min(1)
|
|
1605
1681
|
});
|
|
1606
1682
|
var zAddMemberInputBodyWritable = z.object({
|
|
@@ -1626,7 +1702,11 @@ var zAddSpaceInputBodyWritable = z.object({
|
|
|
1626
1702
|
space_id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
1627
1703
|
});
|
|
1628
1704
|
var zAddSpaceManagerInputBodyWritable = z.object({
|
|
1705
|
+
channels: z.array(z.string()).nullish(),
|
|
1706
|
+
message: z.string().optional(),
|
|
1707
|
+
notify: z.boolean().optional(),
|
|
1629
1708
|
permissions: z.array(z.string()).nullable(),
|
|
1709
|
+
priority: z.string().optional(),
|
|
1630
1710
|
user_id: z.string().min(1)
|
|
1631
1711
|
});
|
|
1632
1712
|
var zAttendeeWritable = z.object({
|
|
@@ -1667,7 +1747,7 @@ var zBookingWritable = z.object({
|
|
|
1667
1747
|
description: z.string().optional(),
|
|
1668
1748
|
end_dt: z.iso.datetime(),
|
|
1669
1749
|
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }),
|
|
1670
|
-
org_id: z.string(),
|
|
1750
|
+
org_id: z.string().optional(),
|
|
1671
1751
|
place_id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }),
|
|
1672
1752
|
start_dt: z.iso.datetime(),
|
|
1673
1753
|
status: z.string(),
|
|
@@ -1675,6 +1755,26 @@ var zBookingWritable = z.object({
|
|
|
1675
1755
|
updated_at: z.iso.datetime(),
|
|
1676
1756
|
user_id: z.string()
|
|
1677
1757
|
});
|
|
1758
|
+
var zBulkAttendeeBodyWritable = z.object({
|
|
1759
|
+
contact_ids: z.array(z.string()).min(1).nullable(),
|
|
1760
|
+
status: z.enum([
|
|
1761
|
+
"invited",
|
|
1762
|
+
"confirmed",
|
|
1763
|
+
"declined",
|
|
1764
|
+
"tentative",
|
|
1765
|
+
"checked_in"
|
|
1766
|
+
]).optional()
|
|
1767
|
+
});
|
|
1768
|
+
var zBulkStatusBodyWritable = z.object({
|
|
1769
|
+
contact_ids: z.array(z.string()).min(1).nullable(),
|
|
1770
|
+
status: z.enum([
|
|
1771
|
+
"invited",
|
|
1772
|
+
"confirmed",
|
|
1773
|
+
"declined",
|
|
1774
|
+
"tentative",
|
|
1775
|
+
"checked_in"
|
|
1776
|
+
])
|
|
1777
|
+
});
|
|
1678
1778
|
var zCheckAvailabilityInputBodyWritable = z.object({
|
|
1679
1779
|
end_dt: z.string(),
|
|
1680
1780
|
exclude_booking_id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).optional(),
|
|
@@ -1845,10 +1945,12 @@ var zEventWritable = z.object({
|
|
|
1845
1945
|
timezone: z.string(),
|
|
1846
1946
|
title: z.string(),
|
|
1847
1947
|
updated_at: z.iso.datetime(),
|
|
1848
|
-
url_shortcut: z.string().optional(),
|
|
1849
1948
|
version: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }),
|
|
1850
1949
|
visibility: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
1851
1950
|
});
|
|
1951
|
+
var zCalendarEventsOutputBodyWritable = z.object({
|
|
1952
|
+
items: z.array(zEventWritable).nullable()
|
|
1953
|
+
});
|
|
1852
1954
|
var zEventManagerWritable = z.object({
|
|
1853
1955
|
created_at: z.iso.datetime(),
|
|
1854
1956
|
event_id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }),
|
|
@@ -1861,6 +1963,19 @@ var zEventManagerWritable = z.object({
|
|
|
1861
1963
|
var zEventManagerPermissionsOutputBodyWritable = z.object({
|
|
1862
1964
|
permissions: z.array(z.string()).nullable()
|
|
1863
1965
|
});
|
|
1966
|
+
var zEventPatchWritable = z.object({
|
|
1967
|
+
address: z.string().optional(),
|
|
1968
|
+
description: z.string().optional(),
|
|
1969
|
+
end_dt: z.iso.datetime().optional(),
|
|
1970
|
+
keywords: z.array(z.string()).nullish(),
|
|
1971
|
+
latitude: z.number().optional(),
|
|
1972
|
+
longitude: z.number().optional(),
|
|
1973
|
+
metadata: z.record(z.string(), z.unknown()).optional(),
|
|
1974
|
+
start_dt: z.iso.datetime().optional(),
|
|
1975
|
+
timezone: z.string().optional(),
|
|
1976
|
+
title: z.string().min(1).optional(),
|
|
1977
|
+
visibility: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).optional()
|
|
1978
|
+
});
|
|
1864
1979
|
var zEventSpaceLinkWritable = z.object({
|
|
1865
1980
|
created_at: z.iso.datetime(),
|
|
1866
1981
|
event_id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }),
|
|
@@ -1924,6 +2039,12 @@ var zMilestoneWritable = z.object({
|
|
|
1924
2039
|
sequence: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }),
|
|
1925
2040
|
updated_at: z.iso.datetime()
|
|
1926
2041
|
});
|
|
2042
|
+
var zOptionsWritable = z.object({
|
|
2043
|
+
channels: z.array(z.string()).nullish(),
|
|
2044
|
+
message: z.string().optional(),
|
|
2045
|
+
notify: z.boolean().optional(),
|
|
2046
|
+
priority: z.string().optional()
|
|
2047
|
+
});
|
|
1927
2048
|
var zOrganizationWritable = z.object({
|
|
1928
2049
|
allow_public_visibility: z.boolean(),
|
|
1929
2050
|
created_at: z.iso.datetime(),
|
|
@@ -2132,6 +2253,13 @@ var zPagedBodySpaceManagerWritable = z.object({
|
|
|
2132
2253
|
var zSpaceManagerPermissionsOutputBodyWritable = z.object({
|
|
2133
2254
|
permissions: z.array(z.string()).nullable()
|
|
2134
2255
|
});
|
|
2256
|
+
var zSpacePatchWritable = z.object({
|
|
2257
|
+
description: z.string().optional(),
|
|
2258
|
+
position: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).optional(),
|
|
2259
|
+
timezone: z.string().optional(),
|
|
2260
|
+
title: z.string().min(1).optional(),
|
|
2261
|
+
visibility: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).optional()
|
|
2262
|
+
});
|
|
2135
2263
|
var zUpdateAttendeeStatusInputBodyWritable = z.object({
|
|
2136
2264
|
status: z.enum([
|
|
2137
2265
|
"invited",
|
|
@@ -2208,939 +2336,577 @@ var zUpdateSpaceInputBodyWritable = z.object({
|
|
|
2208
2336
|
var zUpdateSpaceManagerInputBodyWritable = z.object({
|
|
2209
2337
|
permissions: z.array(z.string()).nullable()
|
|
2210
2338
|
});
|
|
2211
|
-
var zAnalyticsCountsData = z.object({
|
|
2212
|
-
body: z.never().optional(),
|
|
2213
|
-
path: z.never().optional(),
|
|
2214
|
-
query: z.never().optional()
|
|
2215
|
-
});
|
|
2216
2339
|
var zAnalyticsCountsResponse = zCounts;
|
|
2217
|
-
var zAnalyticsDashboardData = z.object({
|
|
2218
|
-
body: z.never().optional(),
|
|
2219
|
-
path: z.never().optional(),
|
|
2220
|
-
query: z.never().optional()
|
|
2221
|
-
});
|
|
2222
2340
|
var zAnalyticsDashboardResponse = zDashboard;
|
|
2223
|
-
var
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
actor_id: z.string().optional(),
|
|
2232
|
-
from: z.string().optional(),
|
|
2233
|
-
to: z.string().optional()
|
|
2234
|
-
}).optional()
|
|
2341
|
+
var zAuditListQuery = z.object({
|
|
2342
|
+
page: z.coerce.bigint().gte(BigInt(1)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).optional().default(BigInt(1)),
|
|
2343
|
+
size: z.coerce.bigint().gte(BigInt(1)).lte(BigInt(100)).optional().default(BigInt(20)),
|
|
2344
|
+
resource_type: z.string().optional(),
|
|
2345
|
+
resource_id: z.string().optional(),
|
|
2346
|
+
actor_id: z.string().optional(),
|
|
2347
|
+
from: z.string().optional(),
|
|
2348
|
+
to: z.string().optional()
|
|
2235
2349
|
});
|
|
2236
2350
|
var zAuditListResponse = zListOutputBody;
|
|
2237
|
-
var zAuthContextData = z.object({
|
|
2238
|
-
body: z.never().optional(),
|
|
2239
|
-
path: z.never().optional(),
|
|
2240
|
-
query: z.never().optional()
|
|
2241
|
-
});
|
|
2242
2351
|
var zAuthContextResponse = zAuthContext;
|
|
2243
|
-
var
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
query: z.object({
|
|
2247
|
-
page: z.coerce.bigint().gte(BigInt(1)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).optional().default(BigInt(1)),
|
|
2248
|
-
size: z.coerce.bigint().gte(BigInt(1)).lte(BigInt(100)).optional().default(BigInt(20))
|
|
2249
|
-
}).optional()
|
|
2352
|
+
var zAutomationListRulesQuery = z.object({
|
|
2353
|
+
page: z.coerce.bigint().gte(BigInt(1)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).optional().default(BigInt(1)),
|
|
2354
|
+
size: z.coerce.bigint().gte(BigInt(1)).lte(BigInt(100)).optional().default(BigInt(20))
|
|
2250
2355
|
});
|
|
2251
2356
|
var zAutomationListRulesResponse = zPagedBodyRule;
|
|
2252
|
-
var
|
|
2253
|
-
body: zCreateRuleInputWritable,
|
|
2254
|
-
path: z.never().optional(),
|
|
2255
|
-
query: z.never().optional()
|
|
2256
|
-
});
|
|
2357
|
+
var zAutomationCreateRuleBody = zCreateRuleInputWritable;
|
|
2257
2358
|
var zAutomationCreateRuleResponse = zRule;
|
|
2258
|
-
var
|
|
2259
|
-
|
|
2260
|
-
path: z.object({
|
|
2261
|
-
id: z.string()
|
|
2262
|
-
}),
|
|
2263
|
-
query: z.never().optional()
|
|
2359
|
+
var zAutomationDeleteRulePath = z.object({
|
|
2360
|
+
id: z.string()
|
|
2264
2361
|
});
|
|
2265
2362
|
var zAutomationDeleteRuleResponse = z.void();
|
|
2266
|
-
var
|
|
2267
|
-
|
|
2268
|
-
path: z.object({
|
|
2269
|
-
id: z.string()
|
|
2270
|
-
}),
|
|
2271
|
-
query: z.never().optional()
|
|
2363
|
+
var zAutomationGetRulePath = z.object({
|
|
2364
|
+
id: z.string()
|
|
2272
2365
|
});
|
|
2273
2366
|
var zAutomationGetRuleResponse = zRule;
|
|
2274
|
-
var
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
id: z.string()
|
|
2278
|
-
}),
|
|
2279
|
-
query: z.never().optional()
|
|
2367
|
+
var zAutomationUpdateRuleBody = zUpdateRuleInputWritable;
|
|
2368
|
+
var zAutomationUpdateRulePath = z.object({
|
|
2369
|
+
id: z.string()
|
|
2280
2370
|
});
|
|
2281
2371
|
var zAutomationUpdateRuleResponse = zRule;
|
|
2282
|
-
var
|
|
2283
|
-
|
|
2284
|
-
path: z.object({
|
|
2285
|
-
id: z.string()
|
|
2286
|
-
}),
|
|
2287
|
-
query: z.never().optional()
|
|
2372
|
+
var zAutomationExecuteRulePath = z.object({
|
|
2373
|
+
id: z.string()
|
|
2288
2374
|
});
|
|
2289
2375
|
var zAutomationExecuteRuleResponse = zExecuteOutputBody;
|
|
2290
|
-
var
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
}),
|
|
2295
|
-
|
|
2296
|
-
page: z.coerce.bigint().gte(BigInt(1)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).optional().default(BigInt(1)),
|
|
2297
|
-
size: z.coerce.bigint().gte(BigInt(1)).lte(BigInt(100)).optional().default(BigInt(20))
|
|
2298
|
-
}).optional()
|
|
2376
|
+
var zAutomationListExecutionsPath = z.object({
|
|
2377
|
+
id: z.string()
|
|
2378
|
+
});
|
|
2379
|
+
var zAutomationListExecutionsQuery = z.object({
|
|
2380
|
+
page: z.coerce.bigint().gte(BigInt(1)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).optional().default(BigInt(1)),
|
|
2381
|
+
size: z.coerce.bigint().gte(BigInt(1)).lte(BigInt(100)).optional().default(BigInt(20))
|
|
2299
2382
|
});
|
|
2300
2383
|
var zAutomationListExecutionsResponse = zPagedBodyExecution;
|
|
2301
|
-
var
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
end_date: z.string().optional(),
|
|
2309
|
-
limit: z.coerce.bigint().gte(BigInt(1)).lte(BigInt(100)).optional().default(BigInt(50)),
|
|
2310
|
-
offset: z.coerce.bigint().gte(BigInt(0)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).optional().default(BigInt(0))
|
|
2311
|
-
}).optional()
|
|
2384
|
+
var zBookingsListQuery = z.object({
|
|
2385
|
+
user_id: z.string().optional(),
|
|
2386
|
+
place_id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).optional(),
|
|
2387
|
+
start_date: z.string().optional(),
|
|
2388
|
+
end_date: z.string().optional(),
|
|
2389
|
+
limit: z.coerce.bigint().gte(BigInt(1)).lte(BigInt(100)).optional().default(BigInt(50)),
|
|
2390
|
+
offset: z.coerce.bigint().gte(BigInt(0)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).optional().default(BigInt(0))
|
|
2312
2391
|
});
|
|
2313
2392
|
var zBookingsListResponse = z.array(zBooking).nullable();
|
|
2314
|
-
var
|
|
2315
|
-
body: zCreateBookingInputBodyWritable,
|
|
2316
|
-
path: z.never().optional(),
|
|
2317
|
-
query: z.never().optional()
|
|
2318
|
-
});
|
|
2393
|
+
var zBookingsCreateBody = zCreateBookingInputBodyWritable;
|
|
2319
2394
|
var zBookingsCreateResponse = zBooking;
|
|
2320
|
-
var
|
|
2321
|
-
body: zCheckAvailabilityInputBodyWritable,
|
|
2322
|
-
path: z.never().optional(),
|
|
2323
|
-
query: z.never().optional()
|
|
2324
|
-
});
|
|
2395
|
+
var zBookingsCheckAvailabilityBody = zCheckAvailabilityInputBodyWritable;
|
|
2325
2396
|
var zBookingsCheckAvailabilityResponse = zAvailabilityOutputBody;
|
|
2326
|
-
var
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
start_date: z.string().optional(),
|
|
2333
|
-
end_date: z.string().optional()
|
|
2334
|
-
}).optional()
|
|
2397
|
+
var zBookingsPlaceSchedulePath = z.object({
|
|
2398
|
+
place_id: z.coerce.bigint().gte(BigInt(1)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2399
|
+
});
|
|
2400
|
+
var zBookingsPlaceScheduleQuery = z.object({
|
|
2401
|
+
start_date: z.string().optional(),
|
|
2402
|
+
end_date: z.string().optional()
|
|
2335
2403
|
});
|
|
2336
2404
|
var zBookingsPlaceScheduleResponse = z.array(zBooking).nullable();
|
|
2337
|
-
var
|
|
2338
|
-
|
|
2339
|
-
path: z.object({
|
|
2340
|
-
id: z.coerce.bigint().gte(BigInt(1)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2341
|
-
}),
|
|
2342
|
-
query: z.never().optional()
|
|
2405
|
+
var zBookingsDeletePath = z.object({
|
|
2406
|
+
id: z.coerce.bigint().gte(BigInt(1)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2343
2407
|
});
|
|
2344
2408
|
var zBookingsDeleteResponse = z.void();
|
|
2345
|
-
var
|
|
2346
|
-
|
|
2347
|
-
path: z.object({
|
|
2348
|
-
id: z.coerce.bigint().gte(BigInt(1)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2349
|
-
}),
|
|
2350
|
-
query: z.never().optional()
|
|
2409
|
+
var zBookingsGetPath = z.object({
|
|
2410
|
+
id: z.coerce.bigint().gte(BigInt(1)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2351
2411
|
});
|
|
2352
2412
|
var zBookingsGetResponse = zBooking;
|
|
2353
|
-
var
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
id: z.coerce.bigint().gte(BigInt(1)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2357
|
-
}),
|
|
2358
|
-
query: z.never().optional()
|
|
2413
|
+
var zBookingsUpdateBody = zUpdateBookingInputBodyWritable;
|
|
2414
|
+
var zBookingsUpdatePath = z.object({
|
|
2415
|
+
id: z.coerce.bigint().gte(BigInt(1)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2359
2416
|
});
|
|
2360
2417
|
var zBookingsUpdateResponse = zBooking;
|
|
2361
|
-
var
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
"false",
|
|
2373
|
-
""
|
|
2374
|
-
]).optional()
|
|
2375
|
-
}).optional()
|
|
2418
|
+
var zContactsListQuery = z.object({
|
|
2419
|
+
page: z.coerce.bigint().gte(BigInt(1)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).optional().default(BigInt(1)),
|
|
2420
|
+
size: z.coerce.bigint().gte(BigInt(1)).lte(BigInt(100)).optional().default(BigInt(20)),
|
|
2421
|
+
search: z.string().optional(),
|
|
2422
|
+
sort_by: z.string().optional(),
|
|
2423
|
+
sort_dir: z.enum(["asc", "desc"]).optional(),
|
|
2424
|
+
is_favorite: z.enum([
|
|
2425
|
+
"true",
|
|
2426
|
+
"false",
|
|
2427
|
+
""
|
|
2428
|
+
]).optional()
|
|
2376
2429
|
});
|
|
2377
2430
|
var zContactsListResponse = zPagedBodyContact;
|
|
2378
|
-
var
|
|
2379
|
-
body: zContactBodyWritable,
|
|
2380
|
-
path: z.never().optional(),
|
|
2381
|
-
query: z.never().optional()
|
|
2382
|
-
});
|
|
2431
|
+
var zContactsCreateBody = zContactBodyWritable;
|
|
2383
2432
|
var zContactsCreateResponse = zContact;
|
|
2384
|
-
var
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
query: z.object({
|
|
2388
|
-
query: z.string().min(1).optional(),
|
|
2389
|
-
limit: z.coerce.bigint().gte(BigInt(1)).lte(BigInt(100)).optional().default(BigInt(20))
|
|
2390
|
-
}).optional()
|
|
2433
|
+
var zContactsSearchQuery = z.object({
|
|
2434
|
+
query: z.string().min(1).optional(),
|
|
2435
|
+
limit: z.coerce.bigint().gte(BigInt(1)).lte(BigInt(100)).optional().default(BigInt(20))
|
|
2391
2436
|
});
|
|
2392
2437
|
var zContactsSearchResponse = zSearchOutputBody;
|
|
2393
|
-
var
|
|
2394
|
-
|
|
2395
|
-
path: z.object({
|
|
2396
|
-
id: z.string()
|
|
2397
|
-
}),
|
|
2398
|
-
query: z.never().optional()
|
|
2438
|
+
var zContactsDeletePath = z.object({
|
|
2439
|
+
id: z.string()
|
|
2399
2440
|
});
|
|
2400
2441
|
var zContactsDeleteResponse = z.void();
|
|
2401
|
-
var
|
|
2402
|
-
|
|
2403
|
-
path: z.object({
|
|
2404
|
-
id: z.string()
|
|
2405
|
-
}),
|
|
2406
|
-
query: z.never().optional()
|
|
2442
|
+
var zContactsGetPath = z.object({
|
|
2443
|
+
id: z.string()
|
|
2407
2444
|
});
|
|
2408
2445
|
var zContactsGetResponse = zContact;
|
|
2409
|
-
var
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
id: z.string()
|
|
2413
|
-
}),
|
|
2414
|
-
query: z.never().optional()
|
|
2446
|
+
var zContactsUpdateBody = zContactBodyWritable;
|
|
2447
|
+
var zContactsUpdatePath = z.object({
|
|
2448
|
+
id: z.string()
|
|
2415
2449
|
});
|
|
2416
2450
|
var zContactsUpdateResponse = zContact;
|
|
2417
|
-
var
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
id: z.string()
|
|
2421
|
-
}),
|
|
2422
|
-
query: z.never().optional()
|
|
2451
|
+
var zContactsToggleFavoriteBody = zFavoriteInputBodyWritable;
|
|
2452
|
+
var zContactsToggleFavoritePath = z.object({
|
|
2453
|
+
id: z.string()
|
|
2423
2454
|
});
|
|
2424
2455
|
var zContactsToggleFavoriteResponse = zContact;
|
|
2425
|
-
var
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
search: z.string().optional(),
|
|
2432
|
-
sort_by: z.string().optional(),
|
|
2433
|
-
sort_dir: z.enum(["asc", "desc"]).optional()
|
|
2434
|
-
}).optional()
|
|
2456
|
+
var zEventsListQuery = z.object({
|
|
2457
|
+
page: z.coerce.bigint().gte(BigInt(1)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).optional().default(BigInt(1)),
|
|
2458
|
+
size: z.coerce.bigint().gte(BigInt(1)).lte(BigInt(100)).optional().default(BigInt(20)),
|
|
2459
|
+
search: z.string().optional(),
|
|
2460
|
+
sort_by: z.string().optional(),
|
|
2461
|
+
sort_dir: z.enum(["asc", "desc"]).optional()
|
|
2435
2462
|
});
|
|
2436
2463
|
var zEventsListResponse = zPagedBodyEvent;
|
|
2437
|
-
var
|
|
2438
|
-
body: zCreateEventInputBodyWritable,
|
|
2439
|
-
path: z.never().optional(),
|
|
2440
|
-
query: z.never().optional()
|
|
2441
|
-
});
|
|
2464
|
+
var zEventsCreateBody = zCreateEventInputBodyWritable;
|
|
2442
2465
|
var zEventsCreateResponse = zEvent;
|
|
2443
|
-
var
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2466
|
+
var zEventsCalendarQuery = z.object({
|
|
2467
|
+
start_date: z.string(),
|
|
2468
|
+
end_date: z.string(),
|
|
2469
|
+
sort_by: z.string().optional(),
|
|
2470
|
+
sort_order: z.enum(["asc", "desc"]).optional()
|
|
2447
2471
|
});
|
|
2472
|
+
var zEventsCalendarResponse = zCalendarEventsOutputBody;
|
|
2448
2473
|
var zEventsManagerPermissionsResponse = zEventManagerPermissionsOutputBody;
|
|
2449
|
-
var
|
|
2450
|
-
|
|
2451
|
-
path: z.object({
|
|
2452
|
-
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2453
|
-
}),
|
|
2454
|
-
query: z.never().optional()
|
|
2474
|
+
var zEventsDeletePath = z.object({
|
|
2475
|
+
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2455
2476
|
});
|
|
2456
2477
|
var zEventsDeleteResponse = z.void();
|
|
2457
|
-
var
|
|
2458
|
-
|
|
2459
|
-
path: z.object({
|
|
2460
|
-
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2461
|
-
}),
|
|
2462
|
-
query: z.never().optional()
|
|
2478
|
+
var zEventsGetPath = z.object({
|
|
2479
|
+
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2463
2480
|
});
|
|
2464
2481
|
var zEventsGetResponse = zEvent;
|
|
2465
|
-
var
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
|
|
2482
|
+
var zEventsPatchBody = zEventPatchWritable;
|
|
2483
|
+
var zEventsPatchPath = z.object({
|
|
2484
|
+
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2485
|
+
});
|
|
2486
|
+
var zEventsPatchResponse = zEvent;
|
|
2487
|
+
var zEventsUpdateBody = zUpdateEventInputBodyWritable;
|
|
2488
|
+
var zEventsUpdatePath = z.object({
|
|
2489
|
+
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2471
2490
|
});
|
|
2472
2491
|
var zEventsUpdateResponse = zEvent;
|
|
2473
|
-
var
|
|
2474
|
-
|
|
2475
|
-
path: z.object({
|
|
2476
|
-
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2477
|
-
}),
|
|
2478
|
-
query: z.never().optional()
|
|
2492
|
+
var zEventsArchivePath = z.object({
|
|
2493
|
+
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2479
2494
|
});
|
|
2480
2495
|
var zEventsArchiveResponse = z.void();
|
|
2481
|
-
var
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
}),
|
|
2486
|
-
|
|
2487
|
-
page: z.coerce.bigint().gte(BigInt(1)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).optional().default(BigInt(1)),
|
|
2488
|
-
size: z.coerce.bigint().gte(BigInt(1)).lte(BigInt(100)).optional().default(BigInt(20))
|
|
2489
|
-
}).optional()
|
|
2496
|
+
var zEventsListAttendeesPath = z.object({
|
|
2497
|
+
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2498
|
+
});
|
|
2499
|
+
var zEventsListAttendeesQuery = z.object({
|
|
2500
|
+
page: z.coerce.bigint().gte(BigInt(1)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).optional().default(BigInt(1)),
|
|
2501
|
+
size: z.coerce.bigint().gte(BigInt(1)).lte(BigInt(100)).optional().default(BigInt(20))
|
|
2490
2502
|
});
|
|
2491
2503
|
var zEventsListAttendeesResponse = zPagedBodyAttendee;
|
|
2492
|
-
var
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2496
|
-
}),
|
|
2497
|
-
query: z.never().optional()
|
|
2504
|
+
var zEventsAddAttendeeBody = zAddAttendeeInputBodyWritable;
|
|
2505
|
+
var zEventsAddAttendeePath = z.object({
|
|
2506
|
+
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2498
2507
|
});
|
|
2499
2508
|
var zEventsAddAttendeeResponse = zAttendee;
|
|
2500
|
-
var
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2509
|
+
var zEventsBulkRemoveAttendeesBody = zBulkAttendeeBodyWritable;
|
|
2510
|
+
var zEventsBulkRemoveAttendeesPath = z.object({
|
|
2511
|
+
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2512
|
+
});
|
|
2513
|
+
var zEventsBulkRemoveAttendeesResponse = z.void();
|
|
2514
|
+
var zEventsBulkAddAttendeesBody = zBulkAttendeeBodyWritable;
|
|
2515
|
+
var zEventsBulkAddAttendeesPath = z.object({
|
|
2516
|
+
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2517
|
+
});
|
|
2518
|
+
var zEventsBulkAddAttendeesResponse = z.void();
|
|
2519
|
+
var zEventsBulkUpdateAttendeeStatusBody = zBulkStatusBodyWritable;
|
|
2520
|
+
var zEventsBulkUpdateAttendeeStatusPath = z.object({
|
|
2521
|
+
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2522
|
+
});
|
|
2523
|
+
var zEventsBulkUpdateAttendeeStatusResponse = z.void();
|
|
2524
|
+
var zEventsRemoveAttendeePath = z.object({
|
|
2525
|
+
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }),
|
|
2526
|
+
contact_id: z.string()
|
|
2507
2527
|
});
|
|
2508
2528
|
var zEventsRemoveAttendeeResponse = z.void();
|
|
2509
|
-
var
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
contact_id: z.string()
|
|
2514
|
-
}),
|
|
2515
|
-
query: z.never().optional()
|
|
2529
|
+
var zEventsUpdateAttendeeStatusBody = zUpdateAttendeeStatusInputBodyWritable;
|
|
2530
|
+
var zEventsUpdateAttendeeStatusPath = z.object({
|
|
2531
|
+
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }),
|
|
2532
|
+
contact_id: z.string()
|
|
2516
2533
|
});
|
|
2517
2534
|
var zEventsUpdateAttendeeStatusResponse = zAttendee;
|
|
2518
|
-
var
|
|
2519
|
-
|
|
2520
|
-
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
2535
|
+
var zEventsCheckInAttendeeBody = zCheckInInputBody;
|
|
2536
|
+
var zEventsCheckInAttendeePath = z.object({
|
|
2537
|
+
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }),
|
|
2538
|
+
contact_id: z.string()
|
|
2539
|
+
});
|
|
2540
|
+
var zEventsCheckInAttendeeResponse = z.void();
|
|
2541
|
+
var zEventsUploadCoverBody = z.string();
|
|
2542
|
+
var zEventsUploadCoverHeaders = z.object({
|
|
2543
|
+
"Content-Type": z.string().optional()
|
|
2544
|
+
});
|
|
2545
|
+
var zEventsUploadCoverPath = z.object({
|
|
2546
|
+
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2547
|
+
});
|
|
2548
|
+
var zEventsUploadCoverResponse = zEvent;
|
|
2549
|
+
var zEventsDiscardPath = z.object({
|
|
2550
|
+
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2524
2551
|
});
|
|
2525
2552
|
var zEventsDiscardResponse = z.void();
|
|
2526
|
-
var
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
|
|
2553
|
+
var zEventsListDocumentsPath = z.object({
|
|
2554
|
+
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2555
|
+
});
|
|
2556
|
+
var zEventsListDocumentsResponse = z.array(z.string()).nullable();
|
|
2557
|
+
var zEventsRemoveDocumentPath = z.object({
|
|
2558
|
+
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }),
|
|
2559
|
+
document_id: z.string()
|
|
2560
|
+
});
|
|
2561
|
+
var zEventsRemoveDocumentResponse = z.void();
|
|
2562
|
+
var zEventsAddDocumentBody = zAddDocumentInputBody;
|
|
2563
|
+
var zEventsAddDocumentPath = z.object({
|
|
2564
|
+
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }),
|
|
2565
|
+
document_id: z.string()
|
|
2566
|
+
});
|
|
2567
|
+
var zEventsGetDraftPath = z.object({
|
|
2568
|
+
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2532
2569
|
});
|
|
2533
2570
|
var zEventsGetDraftResponse = zEvent;
|
|
2534
|
-
var
|
|
2535
|
-
|
|
2536
|
-
path: z.object({
|
|
2537
|
-
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2538
|
-
}),
|
|
2539
|
-
query: z.never().optional()
|
|
2571
|
+
var zEventsStartEditPath = z.object({
|
|
2572
|
+
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2540
2573
|
});
|
|
2541
2574
|
var zEventsStartEditResponse = zEvent;
|
|
2542
|
-
var
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
}),
|
|
2547
|
-
|
|
2548
|
-
page: z.coerce.bigint().gte(BigInt(1)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).optional().default(BigInt(1)),
|
|
2549
|
-
size: z.coerce.bigint().gte(BigInt(1)).lte(BigInt(100)).optional().default(BigInt(20))
|
|
2550
|
-
}).optional()
|
|
2575
|
+
var zEventsListManagersPath = z.object({
|
|
2576
|
+
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2577
|
+
});
|
|
2578
|
+
var zEventsListManagersQuery = z.object({
|
|
2579
|
+
page: z.coerce.bigint().gte(BigInt(1)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).optional().default(BigInt(1)),
|
|
2580
|
+
size: z.coerce.bigint().gte(BigInt(1)).lte(BigInt(100)).optional().default(BigInt(20))
|
|
2551
2581
|
});
|
|
2552
2582
|
var zEventsListManagersResponse = zPagedBodyEventManager;
|
|
2553
|
-
var
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2557
|
-
}),
|
|
2558
|
-
query: z.never().optional()
|
|
2583
|
+
var zEventsAddManagerBody = zAddEventManagerInputBodyWritable;
|
|
2584
|
+
var zEventsAddManagerPath = z.object({
|
|
2585
|
+
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2559
2586
|
});
|
|
2560
2587
|
var zEventsAddManagerResponse = zEventManager;
|
|
2561
|
-
var
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }),
|
|
2565
|
-
user_id: z.string()
|
|
2566
|
-
}),
|
|
2567
|
-
query: z.never().optional()
|
|
2588
|
+
var zEventsRemoveManagerPath = z.object({
|
|
2589
|
+
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }),
|
|
2590
|
+
user_id: z.string()
|
|
2568
2591
|
});
|
|
2569
2592
|
var zEventsRemoveManagerResponse = z.void();
|
|
2570
|
-
var
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }),
|
|
2574
|
-
user_id: z.string()
|
|
2575
|
-
}),
|
|
2576
|
-
query: z.never().optional()
|
|
2593
|
+
var zEventsGetManagerPath = z.object({
|
|
2594
|
+
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }),
|
|
2595
|
+
user_id: z.string()
|
|
2577
2596
|
});
|
|
2578
2597
|
var zEventsGetManagerResponse = zEventManager;
|
|
2579
|
-
var
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
user_id: z.string()
|
|
2584
|
-
}),
|
|
2585
|
-
query: z.never().optional()
|
|
2598
|
+
var zEventsUpdateManagerBody = zUpdateEventManagerInputBodyWritable;
|
|
2599
|
+
var zEventsUpdateManagerPath = z.object({
|
|
2600
|
+
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }),
|
|
2601
|
+
user_id: z.string()
|
|
2586
2602
|
});
|
|
2587
2603
|
var zEventsUpdateManagerResponse = zEventManager;
|
|
2588
|
-
var
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
}),
|
|
2593
|
-
|
|
2594
|
-
page: z.coerce.bigint().gte(BigInt(1)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).optional().default(BigInt(1)),
|
|
2595
|
-
size: z.coerce.bigint().gte(BigInt(1)).lte(BigInt(100)).optional().default(BigInt(20))
|
|
2596
|
-
}).optional()
|
|
2604
|
+
var zEventsListMilestonesPath = z.object({
|
|
2605
|
+
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2606
|
+
});
|
|
2607
|
+
var zEventsListMilestonesQuery = z.object({
|
|
2608
|
+
page: z.coerce.bigint().gte(BigInt(1)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).optional().default(BigInt(1)),
|
|
2609
|
+
size: z.coerce.bigint().gte(BigInt(1)).lte(BigInt(100)).optional().default(BigInt(20))
|
|
2597
2610
|
});
|
|
2598
2611
|
var zEventsListMilestonesResponse = zPagedBodyMilestone;
|
|
2599
|
-
var
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2603
|
-
}),
|
|
2604
|
-
query: z.never().optional()
|
|
2612
|
+
var zEventsAddMilestoneBody = zAddMilestoneInputBodyWritable;
|
|
2613
|
+
var zEventsAddMilestonePath = z.object({
|
|
2614
|
+
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2605
2615
|
});
|
|
2606
2616
|
var zEventsAddMilestoneResponse = zMilestone;
|
|
2607
|
-
var
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }),
|
|
2611
|
-
milestone_event_id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2612
|
-
}),
|
|
2613
|
-
query: z.never().optional()
|
|
2617
|
+
var zEventsRemoveMilestonePath = z.object({
|
|
2618
|
+
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }),
|
|
2619
|
+
milestone_event_id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2614
2620
|
});
|
|
2615
2621
|
var zEventsRemoveMilestoneResponse = z.void();
|
|
2616
|
-
var
|
|
2617
|
-
|
|
2618
|
-
|
|
2619
|
-
|
|
2620
|
-
milestone_event_id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2621
|
-
}),
|
|
2622
|
-
query: z.never().optional()
|
|
2622
|
+
var zEventsUpdateMilestoneBody = zUpdateMilestoneInputBodyWritable;
|
|
2623
|
+
var zEventsUpdateMilestonePath = z.object({
|
|
2624
|
+
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }),
|
|
2625
|
+
milestone_event_id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2623
2626
|
});
|
|
2624
2627
|
var zEventsUpdateMilestoneResponse = zMilestone;
|
|
2625
|
-
var
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2629
|
-
}),
|
|
2630
|
-
query: z.never().optional()
|
|
2628
|
+
var zEventsPublishBody = zOptionsWritable;
|
|
2629
|
+
var zEventsPublishPath = z.object({
|
|
2630
|
+
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2631
2631
|
});
|
|
2632
2632
|
var zEventsPublishResponse = z.void();
|
|
2633
|
-
var
|
|
2634
|
-
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
}),
|
|
2638
|
-
|
|
2639
|
-
page: z.coerce.bigint().gte(BigInt(1)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).optional().default(BigInt(1)),
|
|
2640
|
-
size: z.coerce.bigint().gte(BigInt(1)).lte(BigInt(100)).optional().default(BigInt(20))
|
|
2641
|
-
}).optional()
|
|
2633
|
+
var zEventsListSpacesPath = z.object({
|
|
2634
|
+
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2635
|
+
});
|
|
2636
|
+
var zEventsListSpacesQuery = z.object({
|
|
2637
|
+
page: z.coerce.bigint().gte(BigInt(1)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).optional().default(BigInt(1)),
|
|
2638
|
+
size: z.coerce.bigint().gte(BigInt(1)).lte(BigInt(100)).optional().default(BigInt(20))
|
|
2642
2639
|
});
|
|
2643
2640
|
var zEventsListSpacesResponse = zPagedBodyEventSpaceLink;
|
|
2644
|
-
var
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2648
|
-
}),
|
|
2649
|
-
query: z.never().optional()
|
|
2641
|
+
var zEventsAddSpaceBody = zAddSpaceInputBodyWritable;
|
|
2642
|
+
var zEventsAddSpacePath = z.object({
|
|
2643
|
+
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2650
2644
|
});
|
|
2651
2645
|
var zEventsAddSpaceResponse = zEventSpaceLink;
|
|
2652
|
-
var
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }),
|
|
2656
|
-
space_id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2657
|
-
}),
|
|
2658
|
-
query: z.never().optional()
|
|
2646
|
+
var zEventsRemoveSpacePath = z.object({
|
|
2647
|
+
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }),
|
|
2648
|
+
space_id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2659
2649
|
});
|
|
2660
2650
|
var zEventsRemoveSpaceResponse = z.void();
|
|
2661
|
-
var
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
query: z.never().optional(),
|
|
2665
|
-
headers: z.object({
|
|
2666
|
-
"ZITADEL-Signature": z.string().optional()
|
|
2667
|
-
}).optional()
|
|
2668
|
-
});
|
|
2669
|
-
var zOrganizationsListData = z.object({
|
|
2670
|
-
body: z.never().optional(),
|
|
2671
|
-
path: z.never().optional(),
|
|
2672
|
-
query: z.never().optional()
|
|
2651
|
+
var zIntegrationsZitadelWebhookBody = z.string();
|
|
2652
|
+
var zIntegrationsZitadelWebhookHeaders = z.object({
|
|
2653
|
+
"ZITADEL-Signature": z.string().optional()
|
|
2673
2654
|
});
|
|
2674
2655
|
var zOrganizationsListResponse = zListOrgsOutputBody;
|
|
2675
|
-
var
|
|
2676
|
-
body: zCreateOrgBodyWritable,
|
|
2677
|
-
path: z.never().optional(),
|
|
2678
|
-
query: z.never().optional()
|
|
2679
|
-
});
|
|
2656
|
+
var zOrganizationsCreateBody = zCreateOrgBodyWritable;
|
|
2680
2657
|
var zOrganizationsCreateResponse = zOrganization;
|
|
2681
|
-
var
|
|
2682
|
-
|
|
2683
|
-
path: z.object({
|
|
2684
|
-
id: z.string()
|
|
2685
|
-
}),
|
|
2686
|
-
query: z.never().optional()
|
|
2658
|
+
var zOrganizationsArchivePath = z.object({
|
|
2659
|
+
id: z.string()
|
|
2687
2660
|
});
|
|
2688
2661
|
var zOrganizationsArchiveResponse = z.void();
|
|
2689
|
-
var
|
|
2690
|
-
|
|
2691
|
-
path: z.object({
|
|
2692
|
-
id: z.string()
|
|
2693
|
-
}),
|
|
2694
|
-
query: z.never().optional()
|
|
2662
|
+
var zOrganizationsGetPath = z.object({
|
|
2663
|
+
id: z.string()
|
|
2695
2664
|
});
|
|
2696
2665
|
var zOrganizationsGetResponse = zOrganization;
|
|
2697
|
-
var
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
id: z.string()
|
|
2701
|
-
}),
|
|
2702
|
-
query: z.never().optional()
|
|
2666
|
+
var zOrganizationsUpdateBody = zUpdateOrgBodyWritable;
|
|
2667
|
+
var zOrganizationsUpdatePath = z.object({
|
|
2668
|
+
id: z.string()
|
|
2703
2669
|
});
|
|
2704
2670
|
var zOrganizationsUpdateResponse = zOrganization;
|
|
2705
|
-
var
|
|
2706
|
-
|
|
2707
|
-
path: z.object({
|
|
2708
|
-
id: z.string()
|
|
2709
|
-
}),
|
|
2710
|
-
query: z.never().optional()
|
|
2671
|
+
var zOrganizationsInvitesListPath = z.object({
|
|
2672
|
+
id: z.string()
|
|
2711
2673
|
});
|
|
2712
2674
|
var zOrganizationsInvitesListResponse = zListInvitesOutputBody;
|
|
2713
|
-
var
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
id: z.string()
|
|
2717
|
-
}),
|
|
2718
|
-
query: z.never().optional()
|
|
2675
|
+
var zOrganizationsInvitesCreateBody = zCreateInviteBodyWritable;
|
|
2676
|
+
var zOrganizationsInvitesCreatePath = z.object({
|
|
2677
|
+
id: z.string()
|
|
2719
2678
|
});
|
|
2720
2679
|
var zOrganizationsInvitesCreateResponse = zInvite;
|
|
2721
|
-
var
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
id: z.string(),
|
|
2725
|
-
inviteId: z.string()
|
|
2726
|
-
}),
|
|
2727
|
-
query: z.never().optional()
|
|
2680
|
+
var zOrganizationsInvitesDeletePath = z.object({
|
|
2681
|
+
id: z.string(),
|
|
2682
|
+
inviteId: z.string()
|
|
2728
2683
|
});
|
|
2729
2684
|
var zOrganizationsInvitesDeleteResponse = z.void();
|
|
2730
|
-
var zPermissionsListData = z.object({
|
|
2731
|
-
body: z.never().optional(),
|
|
2732
|
-
path: z.never().optional(),
|
|
2733
|
-
query: z.never().optional()
|
|
2734
|
-
});
|
|
2735
2685
|
var zPermissionsListResponse = zListPermissionsOutputBody;
|
|
2736
|
-
var
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
search: z.string().optional(),
|
|
2743
|
-
sort_by: z.string().optional(),
|
|
2744
|
-
sort_dir: z.enum(["asc", "desc"]).optional()
|
|
2745
|
-
}).optional()
|
|
2686
|
+
var zPlacesListQuery = z.object({
|
|
2687
|
+
page: z.coerce.bigint().gte(BigInt(1)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).optional().default(BigInt(1)),
|
|
2688
|
+
size: z.coerce.bigint().gte(BigInt(1)).lte(BigInt(100)).optional().default(BigInt(20)),
|
|
2689
|
+
search: z.string().optional(),
|
|
2690
|
+
sort_by: z.string().optional(),
|
|
2691
|
+
sort_dir: z.enum(["asc", "desc"]).optional()
|
|
2746
2692
|
});
|
|
2747
2693
|
var zPlacesListResponse = zPagedBodyPlace;
|
|
2748
|
-
var
|
|
2749
|
-
body: zCreatePlaceInputBodyWritable,
|
|
2750
|
-
path: z.never().optional(),
|
|
2751
|
-
query: z.never().optional()
|
|
2752
|
-
});
|
|
2694
|
+
var zPlacesCreateBody = zCreatePlaceInputBodyWritable;
|
|
2753
2695
|
var zPlacesCreateResponse = zPlace;
|
|
2754
|
-
var
|
|
2755
|
-
|
|
2756
|
-
path: z.object({
|
|
2757
|
-
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2758
|
-
}),
|
|
2759
|
-
query: z.never().optional()
|
|
2696
|
+
var zPlacesDeletePath = z.object({
|
|
2697
|
+
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2760
2698
|
});
|
|
2761
2699
|
var zPlacesDeleteResponse = z.void();
|
|
2762
|
-
var
|
|
2763
|
-
|
|
2764
|
-
path: z.object({
|
|
2765
|
-
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2766
|
-
}),
|
|
2767
|
-
query: z.never().optional()
|
|
2700
|
+
var zPlacesGetPath = z.object({
|
|
2701
|
+
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2768
2702
|
});
|
|
2769
2703
|
var zPlacesGetResponse = zPlace;
|
|
2770
|
-
var
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2774
|
-
}),
|
|
2775
|
-
query: z.never().optional()
|
|
2704
|
+
var zPlacesUpdateBody = zUpdatePlaceInputBodyWritable;
|
|
2705
|
+
var zPlacesUpdatePath = z.object({
|
|
2706
|
+
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2776
2707
|
});
|
|
2777
2708
|
var zPlacesUpdateResponse = zPlace;
|
|
2778
|
-
var
|
|
2779
|
-
|
|
2780
|
-
path: z.object({
|
|
2781
|
-
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2782
|
-
}),
|
|
2783
|
-
query: z.never().optional()
|
|
2709
|
+
var zPlacesArchivePath = z.object({
|
|
2710
|
+
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2784
2711
|
});
|
|
2785
2712
|
var zPlacesArchiveResponse = z.void();
|
|
2786
|
-
var
|
|
2787
|
-
|
|
2788
|
-
path: z.object({
|
|
2789
|
-
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2790
|
-
}),
|
|
2791
|
-
query: z.never().optional()
|
|
2713
|
+
var zPlacesPublishPath = z.object({
|
|
2714
|
+
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2792
2715
|
});
|
|
2793
2716
|
var zPlacesPublishResponse = z.void();
|
|
2794
|
-
var
|
|
2795
|
-
|
|
2796
|
-
|
|
2797
|
-
query: z.object({
|
|
2798
|
-
limit: z.coerce.bigint().gte(BigInt(1)).lte(BigInt(12)).optional().default(BigInt(10)),
|
|
2799
|
-
prev: z.string().optional()
|
|
2800
|
-
}).optional()
|
|
2717
|
+
var zProfilesListQuery = z.object({
|
|
2718
|
+
limit: z.coerce.bigint().gte(BigInt(1)).lte(BigInt(12)).optional().default(BigInt(10)),
|
|
2719
|
+
prev: z.string().optional()
|
|
2801
2720
|
});
|
|
2802
2721
|
var zProfilesListResponse = z.array(zProfile).nullable();
|
|
2803
|
-
var zProfilesMeGetData = z.object({
|
|
2804
|
-
body: z.never().optional(),
|
|
2805
|
-
path: z.never().optional(),
|
|
2806
|
-
query: z.never().optional()
|
|
2807
|
-
});
|
|
2808
2722
|
var zProfilesMeGetResponse = zProfile;
|
|
2809
|
-
var
|
|
2810
|
-
body: zUpdateMeInputBodyWritable,
|
|
2811
|
-
path: z.never().optional(),
|
|
2812
|
-
query: z.never().optional()
|
|
2813
|
-
});
|
|
2723
|
+
var zProfilesMeUpdateBody = zUpdateMeInputBodyWritable;
|
|
2814
2724
|
var zProfilesMeUpdateResponse = zProfile;
|
|
2815
|
-
var zProfilesMeAcceptTermsData = z.object({
|
|
2816
|
-
body: z.never().optional(),
|
|
2817
|
-
path: z.never().optional(),
|
|
2818
|
-
query: z.never().optional()
|
|
2819
|
-
});
|
|
2820
2725
|
var zProfilesMeAcceptTermsResponse = zProfile;
|
|
2821
|
-
var
|
|
2822
|
-
|
|
2823
|
-
|
|
2824
|
-
|
|
2825
|
-
q: z.string().optional(),
|
|
2826
|
-
limit: z.coerce.bigint().gte(BigInt(1)).lte(BigInt(12)).optional().default(BigInt(10)),
|
|
2827
|
-
prev: z.string().optional()
|
|
2828
|
-
}).optional()
|
|
2726
|
+
var zProfilesSearchQuery = z.object({
|
|
2727
|
+
q: z.string().optional(),
|
|
2728
|
+
limit: z.coerce.bigint().gte(BigInt(1)).lte(BigInt(12)).optional().default(BigInt(10)),
|
|
2729
|
+
prev: z.string().optional()
|
|
2829
2730
|
});
|
|
2830
2731
|
var zProfilesSearchResponse = z.array(zProfile).nullable();
|
|
2831
|
-
var
|
|
2832
|
-
|
|
2833
|
-
path: z.object({
|
|
2834
|
-
id: z.string()
|
|
2835
|
-
}),
|
|
2836
|
-
query: z.never().optional()
|
|
2732
|
+
var zProfilesGetPath = z.object({
|
|
2733
|
+
id: z.string()
|
|
2837
2734
|
});
|
|
2838
2735
|
var zProfilesGetResponse = zProfile;
|
|
2839
|
-
var
|
|
2840
|
-
|
|
2841
|
-
|
|
2842
|
-
|
|
2843
|
-
|
|
2844
|
-
|
|
2845
|
-
search: z.string().optional(),
|
|
2846
|
-
sort_by: z.string().optional(),
|
|
2847
|
-
sort_dir: z.enum(["asc", "desc"]).optional()
|
|
2848
|
-
}).optional()
|
|
2736
|
+
var zPublicEventsListQuery = z.object({
|
|
2737
|
+
page: z.coerce.bigint().gte(BigInt(1)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).optional().default(BigInt(1)),
|
|
2738
|
+
size: z.coerce.bigint().gte(BigInt(1)).lte(BigInt(100)).optional().default(BigInt(20)),
|
|
2739
|
+
search: z.string().optional(),
|
|
2740
|
+
sort_by: z.string().optional(),
|
|
2741
|
+
sort_dir: z.enum(["asc", "desc"]).optional()
|
|
2849
2742
|
});
|
|
2850
2743
|
var zPublicEventsListResponse = zPagedBodyEvent;
|
|
2851
|
-
var
|
|
2852
|
-
|
|
2853
|
-
path: z.object({
|
|
2854
|
-
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2855
|
-
}),
|
|
2856
|
-
query: z.never().optional()
|
|
2744
|
+
var zPublicEventsGetPath = z.object({
|
|
2745
|
+
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2857
2746
|
});
|
|
2858
2747
|
var zPublicEventsGetResponse = zEvent;
|
|
2859
|
-
var
|
|
2860
|
-
|
|
2861
|
-
|
|
2862
|
-
|
|
2863
|
-
|
|
2864
|
-
|
|
2865
|
-
search: z.string().optional(),
|
|
2866
|
-
sort_by: z.string().optional(),
|
|
2867
|
-
sort_dir: z.enum(["asc", "desc"]).optional()
|
|
2868
|
-
}).optional()
|
|
2748
|
+
var zPublicSpacesListQuery = z.object({
|
|
2749
|
+
page: z.coerce.bigint().gte(BigInt(1)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).optional().default(BigInt(1)),
|
|
2750
|
+
size: z.coerce.bigint().gte(BigInt(1)).lte(BigInt(100)).optional().default(BigInt(20)),
|
|
2751
|
+
search: z.string().optional(),
|
|
2752
|
+
sort_by: z.string().optional(),
|
|
2753
|
+
sort_dir: z.enum(["asc", "desc"]).optional()
|
|
2869
2754
|
});
|
|
2870
2755
|
var zPublicSpacesListResponse = zPagedBodySpace;
|
|
2871
|
-
var
|
|
2872
|
-
|
|
2873
|
-
path: z.object({
|
|
2874
|
-
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2875
|
-
}),
|
|
2876
|
-
query: z.never().optional()
|
|
2756
|
+
var zPublicSpacesGetPath = z.object({
|
|
2757
|
+
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2877
2758
|
});
|
|
2878
2759
|
var zPublicSpacesGetResponse = zSpace;
|
|
2879
|
-
var zRolesListData = z.object({
|
|
2880
|
-
body: z.never().optional(),
|
|
2881
|
-
path: z.never().optional(),
|
|
2882
|
-
query: z.never().optional()
|
|
2883
|
-
});
|
|
2884
2760
|
var zRolesListResponse = zListRolesOutputBody;
|
|
2885
|
-
var
|
|
2886
|
-
body: zRoleBodyWritable,
|
|
2887
|
-
path: z.never().optional(),
|
|
2888
|
-
query: z.never().optional()
|
|
2889
|
-
});
|
|
2761
|
+
var zRolesCreateBody = zRoleBodyWritable;
|
|
2890
2762
|
var zRolesCreateResponse = zCustomRole;
|
|
2891
|
-
var
|
|
2892
|
-
|
|
2893
|
-
path: z.object({
|
|
2894
|
-
name: z.string()
|
|
2895
|
-
}),
|
|
2896
|
-
query: z.never().optional()
|
|
2763
|
+
var zRolesDeletePath = z.object({
|
|
2764
|
+
name: z.string()
|
|
2897
2765
|
});
|
|
2898
2766
|
var zRolesDeleteResponse = z.void();
|
|
2899
|
-
var
|
|
2900
|
-
|
|
2901
|
-
path: z.object({
|
|
2902
|
-
name: z.string()
|
|
2903
|
-
}),
|
|
2904
|
-
query: z.never().optional()
|
|
2767
|
+
var zRolesGetPath = z.object({
|
|
2768
|
+
name: z.string()
|
|
2905
2769
|
});
|
|
2906
2770
|
var zRolesGetResponse = zCustomRole;
|
|
2907
|
-
var
|
|
2908
|
-
|
|
2909
|
-
|
|
2910
|
-
name: z.string()
|
|
2911
|
-
}),
|
|
2912
|
-
query: z.never().optional()
|
|
2771
|
+
var zRolesUpdateBody = zUpdateRoleBodyWritable;
|
|
2772
|
+
var zRolesUpdatePath = z.object({
|
|
2773
|
+
name: z.string()
|
|
2913
2774
|
});
|
|
2914
2775
|
var zRolesUpdateResponse = zCustomRole;
|
|
2915
|
-
var
|
|
2916
|
-
|
|
2917
|
-
|
|
2918
|
-
|
|
2919
|
-
|
|
2920
|
-
|
|
2921
|
-
search: z.string().optional(),
|
|
2922
|
-
sort_by: z.string().optional(),
|
|
2923
|
-
sort_dir: z.enum(["asc", "desc"]).optional()
|
|
2924
|
-
}).optional()
|
|
2776
|
+
var zSpacesListQuery = z.object({
|
|
2777
|
+
page: z.coerce.bigint().gte(BigInt(1)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).optional().default(BigInt(1)),
|
|
2778
|
+
size: z.coerce.bigint().gte(BigInt(1)).lte(BigInt(100)).optional().default(BigInt(20)),
|
|
2779
|
+
search: z.string().optional(),
|
|
2780
|
+
sort_by: z.string().optional(),
|
|
2781
|
+
sort_dir: z.enum(["asc", "desc"]).optional()
|
|
2925
2782
|
});
|
|
2926
2783
|
var zSpacesListResponse = zPagedBodySpace;
|
|
2927
|
-
var
|
|
2928
|
-
body: zCreateSpaceInputBodyWritable,
|
|
2929
|
-
path: z.never().optional(),
|
|
2930
|
-
query: z.never().optional()
|
|
2931
|
-
});
|
|
2784
|
+
var zSpacesCreateBody = zCreateSpaceInputBodyWritable;
|
|
2932
2785
|
var zSpacesCreateResponse = zSpace;
|
|
2933
|
-
var zSpacesManagerPermissionsData = z.object({
|
|
2934
|
-
body: z.never().optional(),
|
|
2935
|
-
path: z.never().optional(),
|
|
2936
|
-
query: z.never().optional()
|
|
2937
|
-
});
|
|
2938
2786
|
var zSpacesManagerPermissionsResponse = zSpaceManagerPermissionsOutputBody;
|
|
2939
|
-
var
|
|
2940
|
-
|
|
2941
|
-
path: z.object({
|
|
2942
|
-
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2943
|
-
}),
|
|
2944
|
-
query: z.never().optional()
|
|
2787
|
+
var zSpacesDeletePath = z.object({
|
|
2788
|
+
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2945
2789
|
});
|
|
2946
2790
|
var zSpacesDeleteResponse = z.void();
|
|
2947
|
-
var
|
|
2948
|
-
|
|
2949
|
-
path: z.object({
|
|
2950
|
-
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2951
|
-
}),
|
|
2952
|
-
query: z.never().optional()
|
|
2791
|
+
var zSpacesGetPath = z.object({
|
|
2792
|
+
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2953
2793
|
});
|
|
2954
2794
|
var zSpacesGetResponse = zSpace;
|
|
2955
|
-
var
|
|
2956
|
-
|
|
2957
|
-
|
|
2958
|
-
|
|
2959
|
-
|
|
2960
|
-
|
|
2795
|
+
var zSpacesPatchBody = zSpacePatchWritable;
|
|
2796
|
+
var zSpacesPatchPath = z.object({
|
|
2797
|
+
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2798
|
+
});
|
|
2799
|
+
var zSpacesPatchResponse = zSpace;
|
|
2800
|
+
var zSpacesUpdateBody = zUpdateSpaceInputBodyWritable;
|
|
2801
|
+
var zSpacesUpdatePath = z.object({
|
|
2802
|
+
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2961
2803
|
});
|
|
2962
2804
|
var zSpacesUpdateResponse = zSpace;
|
|
2963
|
-
var
|
|
2964
|
-
|
|
2965
|
-
path: z.object({
|
|
2966
|
-
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2967
|
-
}),
|
|
2968
|
-
query: z.never().optional()
|
|
2805
|
+
var zSpacesArchivePath = z.object({
|
|
2806
|
+
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2969
2807
|
});
|
|
2970
2808
|
var zSpacesArchiveResponse = z.void();
|
|
2971
|
-
var
|
|
2972
|
-
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
}),
|
|
2976
|
-
|
|
2977
|
-
page: z.coerce.bigint().gte(BigInt(1)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).optional().default(BigInt(1)),
|
|
2978
|
-
size: z.coerce.bigint().gte(BigInt(1)).lte(BigInt(100)).optional().default(BigInt(20))
|
|
2979
|
-
}).optional()
|
|
2809
|
+
var zSpacesListContactsPath = z.object({
|
|
2810
|
+
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2811
|
+
});
|
|
2812
|
+
var zSpacesListContactsQuery = z.object({
|
|
2813
|
+
page: z.coerce.bigint().gte(BigInt(1)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).optional().default(BigInt(1)),
|
|
2814
|
+
size: z.coerce.bigint().gte(BigInt(1)).lte(BigInt(100)).optional().default(BigInt(20))
|
|
2980
2815
|
});
|
|
2981
2816
|
var zSpacesListContactsResponse = zPagedBodySpaceContact;
|
|
2982
|
-
var
|
|
2983
|
-
|
|
2984
|
-
|
|
2985
|
-
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2986
|
-
}),
|
|
2987
|
-
query: z.never().optional()
|
|
2817
|
+
var zSpacesAddContactBody = zAddSpaceContactInputBodyWritable;
|
|
2818
|
+
var zSpacesAddContactPath = z.object({
|
|
2819
|
+
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2988
2820
|
});
|
|
2989
2821
|
var zSpacesAddContactResponse = zSpaceContact;
|
|
2990
|
-
var
|
|
2991
|
-
|
|
2992
|
-
|
|
2993
|
-
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }),
|
|
2994
|
-
contact_id: z.string()
|
|
2995
|
-
}),
|
|
2996
|
-
query: z.never().optional()
|
|
2822
|
+
var zSpacesRemoveContactPath = z.object({
|
|
2823
|
+
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }),
|
|
2824
|
+
contact_id: z.string()
|
|
2997
2825
|
});
|
|
2998
2826
|
var zSpacesRemoveContactResponse = z.void();
|
|
2999
|
-
var
|
|
3000
|
-
|
|
3001
|
-
path: z.object({
|
|
3002
|
-
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
3003
|
-
}),
|
|
3004
|
-
query: z.never().optional()
|
|
2827
|
+
var zSpacesDiscardPath = z.object({
|
|
2828
|
+
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
3005
2829
|
});
|
|
3006
2830
|
var zSpacesDiscardResponse = z.void();
|
|
3007
|
-
var
|
|
3008
|
-
|
|
3009
|
-
path: z.object({
|
|
3010
|
-
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
3011
|
-
}),
|
|
3012
|
-
query: z.never().optional()
|
|
2831
|
+
var zSpacesGetDraftPath = z.object({
|
|
2832
|
+
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
3013
2833
|
});
|
|
3014
2834
|
var zSpacesGetDraftResponse = zSpace;
|
|
3015
|
-
var
|
|
3016
|
-
|
|
3017
|
-
path: z.object({
|
|
3018
|
-
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
3019
|
-
}),
|
|
3020
|
-
query: z.never().optional()
|
|
2835
|
+
var zSpacesStartEditPath = z.object({
|
|
2836
|
+
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
3021
2837
|
});
|
|
3022
2838
|
var zSpacesStartEditResponse = zSpace;
|
|
3023
|
-
var
|
|
3024
|
-
|
|
3025
|
-
|
|
3026
|
-
|
|
3027
|
-
}),
|
|
3028
|
-
|
|
3029
|
-
page: z.coerce.bigint().gte(BigInt(1)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).optional().default(BigInt(1)),
|
|
3030
|
-
size: z.coerce.bigint().gte(BigInt(1)).lte(BigInt(100)).optional().default(BigInt(20))
|
|
3031
|
-
}).optional()
|
|
2839
|
+
var zSpacesListEventsPath = z.object({
|
|
2840
|
+
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2841
|
+
});
|
|
2842
|
+
var zSpacesListEventsQuery = z.object({
|
|
2843
|
+
page: z.coerce.bigint().gte(BigInt(1)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).optional().default(BigInt(1)),
|
|
2844
|
+
size: z.coerce.bigint().gte(BigInt(1)).lte(BigInt(100)).optional().default(BigInt(20))
|
|
3032
2845
|
});
|
|
3033
2846
|
var zSpacesListEventsResponse = zPagedBodySpaceEventLink;
|
|
3034
|
-
var
|
|
3035
|
-
|
|
3036
|
-
|
|
3037
|
-
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
3038
|
-
}),
|
|
3039
|
-
query: z.never().optional()
|
|
2847
|
+
var zSpacesAddEventBody = zAddSpaceEventInputBodyWritable;
|
|
2848
|
+
var zSpacesAddEventPath = z.object({
|
|
2849
|
+
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
3040
2850
|
});
|
|
3041
2851
|
var zSpacesAddEventResponse = zSpaceEventLink;
|
|
3042
|
-
var
|
|
3043
|
-
|
|
3044
|
-
|
|
3045
|
-
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }),
|
|
3046
|
-
event_id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
3047
|
-
}),
|
|
3048
|
-
query: z.never().optional()
|
|
2852
|
+
var zSpacesRemoveEventPath = z.object({
|
|
2853
|
+
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }),
|
|
2854
|
+
event_id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
3049
2855
|
});
|
|
3050
2856
|
var zSpacesRemoveEventResponse = z.void();
|
|
3051
|
-
var
|
|
3052
|
-
|
|
3053
|
-
|
|
3054
|
-
|
|
3055
|
-
}),
|
|
3056
|
-
|
|
3057
|
-
page: z.coerce.bigint().gte(BigInt(1)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).optional().default(BigInt(1)),
|
|
3058
|
-
size: z.coerce.bigint().gte(BigInt(1)).lte(BigInt(100)).optional().default(BigInt(20))
|
|
3059
|
-
}).optional()
|
|
2857
|
+
var zSpacesListManagersPath = z.object({
|
|
2858
|
+
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2859
|
+
});
|
|
2860
|
+
var zSpacesListManagersQuery = z.object({
|
|
2861
|
+
page: z.coerce.bigint().gte(BigInt(1)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).optional().default(BigInt(1)),
|
|
2862
|
+
size: z.coerce.bigint().gte(BigInt(1)).lte(BigInt(100)).optional().default(BigInt(20))
|
|
3060
2863
|
});
|
|
3061
2864
|
var zSpacesListManagersResponse = zPagedBodySpaceManager;
|
|
3062
|
-
var
|
|
3063
|
-
|
|
3064
|
-
|
|
3065
|
-
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
3066
|
-
}),
|
|
3067
|
-
query: z.never().optional()
|
|
2865
|
+
var zSpacesAddManagerBody = zAddSpaceManagerInputBodyWritable;
|
|
2866
|
+
var zSpacesAddManagerPath = z.object({
|
|
2867
|
+
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
3068
2868
|
});
|
|
3069
2869
|
var zSpacesAddManagerResponse = zSpaceManager;
|
|
3070
|
-
var
|
|
3071
|
-
|
|
3072
|
-
|
|
3073
|
-
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }),
|
|
3074
|
-
user_id: z.string()
|
|
3075
|
-
}),
|
|
3076
|
-
query: z.never().optional()
|
|
2870
|
+
var zSpacesRemoveManagerPath = z.object({
|
|
2871
|
+
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }),
|
|
2872
|
+
user_id: z.string()
|
|
3077
2873
|
});
|
|
3078
2874
|
var zSpacesRemoveManagerResponse = z.void();
|
|
3079
|
-
var
|
|
3080
|
-
|
|
3081
|
-
|
|
3082
|
-
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }),
|
|
3083
|
-
user_id: z.string()
|
|
3084
|
-
}),
|
|
3085
|
-
query: z.never().optional()
|
|
2875
|
+
var zSpacesGetManagerPath = z.object({
|
|
2876
|
+
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }),
|
|
2877
|
+
user_id: z.string()
|
|
3086
2878
|
});
|
|
3087
2879
|
var zSpacesGetManagerResponse = zSpaceManager;
|
|
3088
|
-
var
|
|
3089
|
-
|
|
3090
|
-
|
|
3091
|
-
|
|
3092
|
-
user_id: z.string()
|
|
3093
|
-
}),
|
|
3094
|
-
query: z.never().optional()
|
|
2880
|
+
var zSpacesUpdateManagerBody = zUpdateSpaceManagerInputBodyWritable;
|
|
2881
|
+
var zSpacesUpdateManagerPath = z.object({
|
|
2882
|
+
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }),
|
|
2883
|
+
user_id: z.string()
|
|
3095
2884
|
});
|
|
3096
2885
|
var zSpacesUpdateManagerResponse = zSpaceManager;
|
|
3097
|
-
var
|
|
3098
|
-
|
|
3099
|
-
|
|
3100
|
-
|
|
3101
|
-
}),
|
|
3102
|
-
|
|
3103
|
-
page: z.coerce.bigint().gte(BigInt(1)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).optional().default(BigInt(1)),
|
|
3104
|
-
size: z.coerce.bigint().gte(BigInt(1)).lte(BigInt(100)).optional().default(BigInt(20))
|
|
3105
|
-
}).optional()
|
|
2886
|
+
var zSpacesListMembersPath = z.object({
|
|
2887
|
+
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
2888
|
+
});
|
|
2889
|
+
var zSpacesListMembersQuery = z.object({
|
|
2890
|
+
page: z.coerce.bigint().gte(BigInt(1)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).optional().default(BigInt(1)),
|
|
2891
|
+
size: z.coerce.bigint().gte(BigInt(1)).lte(BigInt(100)).optional().default(BigInt(20))
|
|
3106
2892
|
});
|
|
3107
2893
|
var zSpacesListMembersResponse = zPagedBodyMember;
|
|
3108
|
-
var
|
|
3109
|
-
|
|
3110
|
-
|
|
3111
|
-
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
3112
|
-
}),
|
|
3113
|
-
query: z.never().optional()
|
|
2894
|
+
var zSpacesAddMemberBody = zAddMemberInputBodyWritable;
|
|
2895
|
+
var zSpacesAddMemberPath = z.object({
|
|
2896
|
+
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
3114
2897
|
});
|
|
3115
2898
|
var zSpacesAddMemberResponse = zMember;
|
|
3116
|
-
var
|
|
3117
|
-
|
|
3118
|
-
|
|
3119
|
-
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }),
|
|
3120
|
-
user_id: z.string()
|
|
3121
|
-
}),
|
|
3122
|
-
query: z.never().optional()
|
|
2899
|
+
var zSpacesRemoveMemberPath = z.object({
|
|
2900
|
+
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }),
|
|
2901
|
+
user_id: z.string()
|
|
3123
2902
|
});
|
|
3124
2903
|
var zSpacesRemoveMemberResponse = z.void();
|
|
3125
|
-
var
|
|
3126
|
-
|
|
3127
|
-
|
|
3128
|
-
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
3129
|
-
}),
|
|
3130
|
-
query: z.never().optional()
|
|
2904
|
+
var zSpacesPublishBody = zOptionsWritable;
|
|
2905
|
+
var zSpacesPublishPath = z.object({
|
|
2906
|
+
id: z.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
3131
2907
|
});
|
|
3132
2908
|
var zSpacesPublishResponse = z.void();
|
|
3133
|
-
var zLivenessData = z.object({
|
|
3134
|
-
body: z.never().optional(),
|
|
3135
|
-
path: z.never().optional(),
|
|
3136
|
-
query: z.never().optional()
|
|
3137
|
-
});
|
|
3138
2909
|
var zLivenessResponse = zLivenessOutputBody;
|
|
3139
|
-
var zReadinessData = z.object({
|
|
3140
|
-
body: z.never().optional(),
|
|
3141
|
-
path: z.never().optional(),
|
|
3142
|
-
query: z.never().optional()
|
|
3143
|
-
});
|
|
3144
2910
|
var zReadinessResponse = zReadinessOutputBody;
|
|
3145
2911
|
|
|
3146
2912
|
// src/sdk.gen.ts
|
|
@@ -3171,7 +2937,11 @@ var Analytics = class extends HeyApiClient {
|
|
|
3171
2937
|
*/
|
|
3172
2938
|
counts(options) {
|
|
3173
2939
|
return (options?.client ?? this.client).get({
|
|
3174
|
-
requestValidator: async (data) => await
|
|
2940
|
+
requestValidator: async (data) => await z2.object({
|
|
2941
|
+
body: z2.never().optional(),
|
|
2942
|
+
path: z2.never().optional(),
|
|
2943
|
+
query: z2.never().optional()
|
|
2944
|
+
}).parseAsync(data),
|
|
3175
2945
|
responseValidator: async (data) => await zAnalyticsCountsResponse.parseAsync(data),
|
|
3176
2946
|
url: "/api/v1/analytics/counts",
|
|
3177
2947
|
...options
|
|
@@ -3182,7 +2952,11 @@ var Analytics = class extends HeyApiClient {
|
|
|
3182
2952
|
*/
|
|
3183
2953
|
dashboard(options) {
|
|
3184
2954
|
return (options?.client ?? this.client).get({
|
|
3185
|
-
requestValidator: async (data) => await
|
|
2955
|
+
requestValidator: async (data) => await z2.object({
|
|
2956
|
+
body: z2.never().optional(),
|
|
2957
|
+
path: z2.never().optional(),
|
|
2958
|
+
query: z2.never().optional()
|
|
2959
|
+
}).parseAsync(data),
|
|
3186
2960
|
responseValidator: async (data) => await zAnalyticsDashboardResponse.parseAsync(data),
|
|
3187
2961
|
url: "/api/v1/analytics/dashboard",
|
|
3188
2962
|
...options
|
|
@@ -3195,7 +2969,11 @@ var Audit = class extends HeyApiClient {
|
|
|
3195
2969
|
*/
|
|
3196
2970
|
list(options) {
|
|
3197
2971
|
return (options?.client ?? this.client).get({
|
|
3198
|
-
requestValidator: async (data) => await
|
|
2972
|
+
requestValidator: async (data) => await z2.object({
|
|
2973
|
+
body: z2.never().optional(),
|
|
2974
|
+
path: z2.never().optional(),
|
|
2975
|
+
query: zAuditListQuery.optional()
|
|
2976
|
+
}).parseAsync(data),
|
|
3199
2977
|
responseValidator: async (data) => await zAuditListResponse.parseAsync(data),
|
|
3200
2978
|
url: "/api/v1/audit-logs",
|
|
3201
2979
|
...options
|
|
@@ -3208,7 +2986,11 @@ var Auth = class extends HeyApiClient {
|
|
|
3208
2986
|
*/
|
|
3209
2987
|
context(options) {
|
|
3210
2988
|
return (options?.client ?? this.client).get({
|
|
3211
|
-
requestValidator: async (data) => await
|
|
2989
|
+
requestValidator: async (data) => await z2.object({
|
|
2990
|
+
body: z2.never().optional(),
|
|
2991
|
+
path: z2.never().optional(),
|
|
2992
|
+
query: z2.never().optional()
|
|
2993
|
+
}).parseAsync(data),
|
|
3212
2994
|
responseValidator: async (data) => await zAuthContextResponse.parseAsync(data),
|
|
3213
2995
|
url: "/api/v1/auth/context",
|
|
3214
2996
|
...options
|
|
@@ -3221,7 +3003,11 @@ var Automation = class extends HeyApiClient {
|
|
|
3221
3003
|
*/
|
|
3222
3004
|
listRules(options) {
|
|
3223
3005
|
return (options?.client ?? this.client).get({
|
|
3224
|
-
requestValidator: async (data) => await
|
|
3006
|
+
requestValidator: async (data) => await z2.object({
|
|
3007
|
+
body: z2.never().optional(),
|
|
3008
|
+
path: z2.never().optional(),
|
|
3009
|
+
query: zAutomationListRulesQuery.optional()
|
|
3010
|
+
}).parseAsync(data),
|
|
3225
3011
|
responseValidator: async (data) => await zAutomationListRulesResponse.parseAsync(data),
|
|
3226
3012
|
url: "/api/v1/automation/rules",
|
|
3227
3013
|
...options
|
|
@@ -3232,7 +3018,11 @@ var Automation = class extends HeyApiClient {
|
|
|
3232
3018
|
*/
|
|
3233
3019
|
createRule(options) {
|
|
3234
3020
|
return (options.client ?? this.client).post({
|
|
3235
|
-
requestValidator: async (data) => await
|
|
3021
|
+
requestValidator: async (data) => await z2.object({
|
|
3022
|
+
body: zAutomationCreateRuleBody,
|
|
3023
|
+
path: z2.never().optional(),
|
|
3024
|
+
query: z2.never().optional()
|
|
3025
|
+
}).parseAsync(data),
|
|
3236
3026
|
responseValidator: async (data) => await zAutomationCreateRuleResponse.parseAsync(data),
|
|
3237
3027
|
url: "/api/v1/automation/rules",
|
|
3238
3028
|
...options,
|
|
@@ -3247,7 +3037,11 @@ var Automation = class extends HeyApiClient {
|
|
|
3247
3037
|
*/
|
|
3248
3038
|
deleteRule(options) {
|
|
3249
3039
|
return (options.client ?? this.client).delete({
|
|
3250
|
-
requestValidator: async (data) => await
|
|
3040
|
+
requestValidator: async (data) => await z2.object({
|
|
3041
|
+
body: z2.never().optional(),
|
|
3042
|
+
path: zAutomationDeleteRulePath,
|
|
3043
|
+
query: z2.never().optional()
|
|
3044
|
+
}).parseAsync(data),
|
|
3251
3045
|
responseValidator: async (data) => await zAutomationDeleteRuleResponse.parseAsync(data),
|
|
3252
3046
|
url: "/api/v1/automation/rules/{id}",
|
|
3253
3047
|
...options
|
|
@@ -3258,7 +3052,11 @@ var Automation = class extends HeyApiClient {
|
|
|
3258
3052
|
*/
|
|
3259
3053
|
getRule(options) {
|
|
3260
3054
|
return (options.client ?? this.client).get({
|
|
3261
|
-
requestValidator: async (data) => await
|
|
3055
|
+
requestValidator: async (data) => await z2.object({
|
|
3056
|
+
body: z2.never().optional(),
|
|
3057
|
+
path: zAutomationGetRulePath,
|
|
3058
|
+
query: z2.never().optional()
|
|
3059
|
+
}).parseAsync(data),
|
|
3262
3060
|
responseValidator: async (data) => await zAutomationGetRuleResponse.parseAsync(data),
|
|
3263
3061
|
url: "/api/v1/automation/rules/{id}",
|
|
3264
3062
|
...options
|
|
@@ -3269,7 +3067,11 @@ var Automation = class extends HeyApiClient {
|
|
|
3269
3067
|
*/
|
|
3270
3068
|
updateRule(options) {
|
|
3271
3069
|
return (options.client ?? this.client).put({
|
|
3272
|
-
requestValidator: async (data) => await
|
|
3070
|
+
requestValidator: async (data) => await z2.object({
|
|
3071
|
+
body: zAutomationUpdateRuleBody,
|
|
3072
|
+
path: zAutomationUpdateRulePath,
|
|
3073
|
+
query: z2.never().optional()
|
|
3074
|
+
}).parseAsync(data),
|
|
3273
3075
|
responseValidator: async (data) => await zAutomationUpdateRuleResponse.parseAsync(data),
|
|
3274
3076
|
url: "/api/v1/automation/rules/{id}",
|
|
3275
3077
|
...options,
|
|
@@ -3284,7 +3086,11 @@ var Automation = class extends HeyApiClient {
|
|
|
3284
3086
|
*/
|
|
3285
3087
|
executeRule(options) {
|
|
3286
3088
|
return (options.client ?? this.client).post({
|
|
3287
|
-
requestValidator: async (data) => await
|
|
3089
|
+
requestValidator: async (data) => await z2.object({
|
|
3090
|
+
body: z2.never().optional(),
|
|
3091
|
+
path: zAutomationExecuteRulePath,
|
|
3092
|
+
query: z2.never().optional()
|
|
3093
|
+
}).parseAsync(data),
|
|
3288
3094
|
responseValidator: async (data) => await zAutomationExecuteRuleResponse.parseAsync(data),
|
|
3289
3095
|
url: "/api/v1/automation/rules/{id}/execute",
|
|
3290
3096
|
...options
|
|
@@ -3295,7 +3101,11 @@ var Automation = class extends HeyApiClient {
|
|
|
3295
3101
|
*/
|
|
3296
3102
|
listExecutions(options) {
|
|
3297
3103
|
return (options.client ?? this.client).get({
|
|
3298
|
-
requestValidator: async (data) => await
|
|
3104
|
+
requestValidator: async (data) => await z2.object({
|
|
3105
|
+
body: z2.never().optional(),
|
|
3106
|
+
path: zAutomationListExecutionsPath,
|
|
3107
|
+
query: zAutomationListExecutionsQuery.optional()
|
|
3108
|
+
}).parseAsync(data),
|
|
3299
3109
|
responseValidator: async (data) => await zAutomationListExecutionsResponse.parseAsync(data),
|
|
3300
3110
|
url: "/api/v1/automation/rules/{id}/executions",
|
|
3301
3111
|
...options
|
|
@@ -3308,7 +3118,11 @@ var Bookings = class extends HeyApiClient {
|
|
|
3308
3118
|
*/
|
|
3309
3119
|
list(options) {
|
|
3310
3120
|
return (options?.client ?? this.client).get({
|
|
3311
|
-
requestValidator: async (data) => await
|
|
3121
|
+
requestValidator: async (data) => await z2.object({
|
|
3122
|
+
body: z2.never().optional(),
|
|
3123
|
+
path: z2.never().optional(),
|
|
3124
|
+
query: zBookingsListQuery.optional()
|
|
3125
|
+
}).parseAsync(data),
|
|
3312
3126
|
responseValidator: async (data) => await zBookingsListResponse.parseAsync(data),
|
|
3313
3127
|
url: "/api/v1/bookings",
|
|
3314
3128
|
...options
|
|
@@ -3319,7 +3133,11 @@ var Bookings = class extends HeyApiClient {
|
|
|
3319
3133
|
*/
|
|
3320
3134
|
create(options) {
|
|
3321
3135
|
return (options.client ?? this.client).post({
|
|
3322
|
-
requestValidator: async (data) => await
|
|
3136
|
+
requestValidator: async (data) => await z2.object({
|
|
3137
|
+
body: zBookingsCreateBody,
|
|
3138
|
+
path: z2.never().optional(),
|
|
3139
|
+
query: z2.never().optional()
|
|
3140
|
+
}).parseAsync(data),
|
|
3323
3141
|
responseValidator: async (data) => await zBookingsCreateResponse.parseAsync(data),
|
|
3324
3142
|
url: "/api/v1/bookings",
|
|
3325
3143
|
...options,
|
|
@@ -3334,7 +3152,11 @@ var Bookings = class extends HeyApiClient {
|
|
|
3334
3152
|
*/
|
|
3335
3153
|
checkAvailability(options) {
|
|
3336
3154
|
return (options.client ?? this.client).post({
|
|
3337
|
-
requestValidator: async (data) => await
|
|
3155
|
+
requestValidator: async (data) => await z2.object({
|
|
3156
|
+
body: zBookingsCheckAvailabilityBody,
|
|
3157
|
+
path: z2.never().optional(),
|
|
3158
|
+
query: z2.never().optional()
|
|
3159
|
+
}).parseAsync(data),
|
|
3338
3160
|
responseValidator: async (data) => await zBookingsCheckAvailabilityResponse.parseAsync(data),
|
|
3339
3161
|
url: "/api/v1/bookings/check-availability",
|
|
3340
3162
|
...options,
|
|
@@ -3349,7 +3171,11 @@ var Bookings = class extends HeyApiClient {
|
|
|
3349
3171
|
*/
|
|
3350
3172
|
placeSchedule(options) {
|
|
3351
3173
|
return (options.client ?? this.client).get({
|
|
3352
|
-
requestValidator: async (data) => await
|
|
3174
|
+
requestValidator: async (data) => await z2.object({
|
|
3175
|
+
body: z2.never().optional(),
|
|
3176
|
+
path: zBookingsPlaceSchedulePath,
|
|
3177
|
+
query: zBookingsPlaceScheduleQuery.optional()
|
|
3178
|
+
}).parseAsync(data),
|
|
3353
3179
|
responseValidator: async (data) => await zBookingsPlaceScheduleResponse.parseAsync(data),
|
|
3354
3180
|
url: "/api/v1/bookings/places/{place_id}/schedule",
|
|
3355
3181
|
...options
|
|
@@ -3360,7 +3186,11 @@ var Bookings = class extends HeyApiClient {
|
|
|
3360
3186
|
*/
|
|
3361
3187
|
delete(options) {
|
|
3362
3188
|
return (options.client ?? this.client).delete({
|
|
3363
|
-
requestValidator: async (data) => await
|
|
3189
|
+
requestValidator: async (data) => await z2.object({
|
|
3190
|
+
body: z2.never().optional(),
|
|
3191
|
+
path: zBookingsDeletePath,
|
|
3192
|
+
query: z2.never().optional()
|
|
3193
|
+
}).parseAsync(data),
|
|
3364
3194
|
responseValidator: async (data) => await zBookingsDeleteResponse.parseAsync(data),
|
|
3365
3195
|
url: "/api/v1/bookings/{id}",
|
|
3366
3196
|
...options
|
|
@@ -3371,7 +3201,11 @@ var Bookings = class extends HeyApiClient {
|
|
|
3371
3201
|
*/
|
|
3372
3202
|
get(options) {
|
|
3373
3203
|
return (options.client ?? this.client).get({
|
|
3374
|
-
requestValidator: async (data) => await
|
|
3204
|
+
requestValidator: async (data) => await z2.object({
|
|
3205
|
+
body: z2.never().optional(),
|
|
3206
|
+
path: zBookingsGetPath,
|
|
3207
|
+
query: z2.never().optional()
|
|
3208
|
+
}).parseAsync(data),
|
|
3375
3209
|
responseValidator: async (data) => await zBookingsGetResponse.parseAsync(data),
|
|
3376
3210
|
url: "/api/v1/bookings/{id}",
|
|
3377
3211
|
...options
|
|
@@ -3382,7 +3216,11 @@ var Bookings = class extends HeyApiClient {
|
|
|
3382
3216
|
*/
|
|
3383
3217
|
update(options) {
|
|
3384
3218
|
return (options.client ?? this.client).put({
|
|
3385
|
-
requestValidator: async (data) => await
|
|
3219
|
+
requestValidator: async (data) => await z2.object({
|
|
3220
|
+
body: zBookingsUpdateBody,
|
|
3221
|
+
path: zBookingsUpdatePath,
|
|
3222
|
+
query: z2.never().optional()
|
|
3223
|
+
}).parseAsync(data),
|
|
3386
3224
|
responseValidator: async (data) => await zBookingsUpdateResponse.parseAsync(data),
|
|
3387
3225
|
url: "/api/v1/bookings/{id}",
|
|
3388
3226
|
...options,
|
|
@@ -3399,7 +3237,11 @@ var Contacts = class extends HeyApiClient {
|
|
|
3399
3237
|
*/
|
|
3400
3238
|
list(options) {
|
|
3401
3239
|
return (options?.client ?? this.client).get({
|
|
3402
|
-
requestValidator: async (data) => await
|
|
3240
|
+
requestValidator: async (data) => await z2.object({
|
|
3241
|
+
body: z2.never().optional(),
|
|
3242
|
+
path: z2.never().optional(),
|
|
3243
|
+
query: zContactsListQuery.optional()
|
|
3244
|
+
}).parseAsync(data),
|
|
3403
3245
|
responseValidator: async (data) => await zContactsListResponse.parseAsync(data),
|
|
3404
3246
|
url: "/api/v1/contacts",
|
|
3405
3247
|
...options
|
|
@@ -3410,7 +3252,11 @@ var Contacts = class extends HeyApiClient {
|
|
|
3410
3252
|
*/
|
|
3411
3253
|
create(options) {
|
|
3412
3254
|
return (options.client ?? this.client).post({
|
|
3413
|
-
requestValidator: async (data) => await
|
|
3255
|
+
requestValidator: async (data) => await z2.object({
|
|
3256
|
+
body: zContactsCreateBody,
|
|
3257
|
+
path: z2.never().optional(),
|
|
3258
|
+
query: z2.never().optional()
|
|
3259
|
+
}).parseAsync(data),
|
|
3414
3260
|
responseValidator: async (data) => await zContactsCreateResponse.parseAsync(data),
|
|
3415
3261
|
url: "/api/v1/contacts",
|
|
3416
3262
|
...options,
|
|
@@ -3425,7 +3271,11 @@ var Contacts = class extends HeyApiClient {
|
|
|
3425
3271
|
*/
|
|
3426
3272
|
search(options) {
|
|
3427
3273
|
return (options?.client ?? this.client).get({
|
|
3428
|
-
requestValidator: async (data) => await
|
|
3274
|
+
requestValidator: async (data) => await z2.object({
|
|
3275
|
+
body: z2.never().optional(),
|
|
3276
|
+
path: z2.never().optional(),
|
|
3277
|
+
query: zContactsSearchQuery.optional()
|
|
3278
|
+
}).parseAsync(data),
|
|
3429
3279
|
responseValidator: async (data) => await zContactsSearchResponse.parseAsync(data),
|
|
3430
3280
|
url: "/api/v1/contacts/search",
|
|
3431
3281
|
...options
|
|
@@ -3436,7 +3286,11 @@ var Contacts = class extends HeyApiClient {
|
|
|
3436
3286
|
*/
|
|
3437
3287
|
delete(options) {
|
|
3438
3288
|
return (options.client ?? this.client).delete({
|
|
3439
|
-
requestValidator: async (data) => await
|
|
3289
|
+
requestValidator: async (data) => await z2.object({
|
|
3290
|
+
body: z2.never().optional(),
|
|
3291
|
+
path: zContactsDeletePath,
|
|
3292
|
+
query: z2.never().optional()
|
|
3293
|
+
}).parseAsync(data),
|
|
3440
3294
|
responseValidator: async (data) => await zContactsDeleteResponse.parseAsync(data),
|
|
3441
3295
|
url: "/api/v1/contacts/{id}",
|
|
3442
3296
|
...options
|
|
@@ -3447,7 +3301,11 @@ var Contacts = class extends HeyApiClient {
|
|
|
3447
3301
|
*/
|
|
3448
3302
|
get(options) {
|
|
3449
3303
|
return (options.client ?? this.client).get({
|
|
3450
|
-
requestValidator: async (data) => await
|
|
3304
|
+
requestValidator: async (data) => await z2.object({
|
|
3305
|
+
body: z2.never().optional(),
|
|
3306
|
+
path: zContactsGetPath,
|
|
3307
|
+
query: z2.never().optional()
|
|
3308
|
+
}).parseAsync(data),
|
|
3451
3309
|
responseValidator: async (data) => await zContactsGetResponse.parseAsync(data),
|
|
3452
3310
|
url: "/api/v1/contacts/{id}",
|
|
3453
3311
|
...options
|
|
@@ -3458,7 +3316,11 @@ var Contacts = class extends HeyApiClient {
|
|
|
3458
3316
|
*/
|
|
3459
3317
|
update(options) {
|
|
3460
3318
|
return (options.client ?? this.client).put({
|
|
3461
|
-
requestValidator: async (data) => await
|
|
3319
|
+
requestValidator: async (data) => await z2.object({
|
|
3320
|
+
body: zContactsUpdateBody,
|
|
3321
|
+
path: zContactsUpdatePath,
|
|
3322
|
+
query: z2.never().optional()
|
|
3323
|
+
}).parseAsync(data),
|
|
3462
3324
|
responseValidator: async (data) => await zContactsUpdateResponse.parseAsync(data),
|
|
3463
3325
|
url: "/api/v1/contacts/{id}",
|
|
3464
3326
|
...options,
|
|
@@ -3473,7 +3335,11 @@ var Contacts = class extends HeyApiClient {
|
|
|
3473
3335
|
*/
|
|
3474
3336
|
toggleFavorite(options) {
|
|
3475
3337
|
return (options.client ?? this.client).patch({
|
|
3476
|
-
requestValidator: async (data) => await
|
|
3338
|
+
requestValidator: async (data) => await z2.object({
|
|
3339
|
+
body: zContactsToggleFavoriteBody,
|
|
3340
|
+
path: zContactsToggleFavoritePath,
|
|
3341
|
+
query: z2.never().optional()
|
|
3342
|
+
}).parseAsync(data),
|
|
3477
3343
|
responseValidator: async (data) => await zContactsToggleFavoriteResponse.parseAsync(data),
|
|
3478
3344
|
url: "/api/v1/contacts/{id}/favorite",
|
|
3479
3345
|
...options,
|
|
@@ -3490,7 +3356,11 @@ var Events = class extends HeyApiClient {
|
|
|
3490
3356
|
*/
|
|
3491
3357
|
list(options) {
|
|
3492
3358
|
return (options?.client ?? this.client).get({
|
|
3493
|
-
requestValidator: async (data) => await
|
|
3359
|
+
requestValidator: async (data) => await z2.object({
|
|
3360
|
+
body: z2.never().optional(),
|
|
3361
|
+
path: z2.never().optional(),
|
|
3362
|
+
query: zEventsListQuery.optional()
|
|
3363
|
+
}).parseAsync(data),
|
|
3494
3364
|
responseValidator: async (data) => await zEventsListResponse.parseAsync(data),
|
|
3495
3365
|
url: "/api/v1/events",
|
|
3496
3366
|
...options
|
|
@@ -3501,7 +3371,11 @@ var Events = class extends HeyApiClient {
|
|
|
3501
3371
|
*/
|
|
3502
3372
|
create(options) {
|
|
3503
3373
|
return (options.client ?? this.client).post({
|
|
3504
|
-
requestValidator: async (data) => await
|
|
3374
|
+
requestValidator: async (data) => await z2.object({
|
|
3375
|
+
body: zEventsCreateBody,
|
|
3376
|
+
path: z2.never().optional(),
|
|
3377
|
+
query: z2.never().optional()
|
|
3378
|
+
}).parseAsync(data),
|
|
3505
3379
|
responseValidator: async (data) => await zEventsCreateResponse.parseAsync(data),
|
|
3506
3380
|
url: "/api/v1/events",
|
|
3507
3381
|
...options,
|
|
@@ -3511,12 +3385,31 @@ var Events = class extends HeyApiClient {
|
|
|
3511
3385
|
}
|
|
3512
3386
|
});
|
|
3513
3387
|
}
|
|
3388
|
+
/**
|
|
3389
|
+
* List events overlapping a date range (calendar view)
|
|
3390
|
+
*/
|
|
3391
|
+
calendar(options) {
|
|
3392
|
+
return (options.client ?? this.client).get({
|
|
3393
|
+
requestValidator: async (data) => await z2.object({
|
|
3394
|
+
body: z2.never().optional(),
|
|
3395
|
+
path: z2.never().optional(),
|
|
3396
|
+
query: zEventsCalendarQuery
|
|
3397
|
+
}).parseAsync(data),
|
|
3398
|
+
responseValidator: async (data) => await zEventsCalendarResponse.parseAsync(data),
|
|
3399
|
+
url: "/api/v1/events/calendar",
|
|
3400
|
+
...options
|
|
3401
|
+
});
|
|
3402
|
+
}
|
|
3514
3403
|
/**
|
|
3515
3404
|
* List all assignable event manager permissions
|
|
3516
3405
|
*/
|
|
3517
3406
|
managerPermissions(options) {
|
|
3518
3407
|
return (options?.client ?? this.client).get({
|
|
3519
|
-
requestValidator: async (data) => await
|
|
3408
|
+
requestValidator: async (data) => await z2.object({
|
|
3409
|
+
body: z2.never().optional(),
|
|
3410
|
+
path: z2.never().optional(),
|
|
3411
|
+
query: z2.never().optional()
|
|
3412
|
+
}).parseAsync(data),
|
|
3520
3413
|
responseValidator: async (data) => await zEventsManagerPermissionsResponse.parseAsync(data),
|
|
3521
3414
|
url: "/api/v1/events/manager-permissions",
|
|
3522
3415
|
...options
|
|
@@ -3527,7 +3420,11 @@ var Events = class extends HeyApiClient {
|
|
|
3527
3420
|
*/
|
|
3528
3421
|
delete(options) {
|
|
3529
3422
|
return (options.client ?? this.client).delete({
|
|
3530
|
-
requestValidator: async (data) => await
|
|
3423
|
+
requestValidator: async (data) => await z2.object({
|
|
3424
|
+
body: z2.never().optional(),
|
|
3425
|
+
path: zEventsDeletePath,
|
|
3426
|
+
query: z2.never().optional()
|
|
3427
|
+
}).parseAsync(data),
|
|
3531
3428
|
responseValidator: async (data) => await zEventsDeleteResponse.parseAsync(data),
|
|
3532
3429
|
url: "/api/v1/events/{id}",
|
|
3533
3430
|
...options
|
|
@@ -3538,18 +3435,47 @@ var Events = class extends HeyApiClient {
|
|
|
3538
3435
|
*/
|
|
3539
3436
|
get(options) {
|
|
3540
3437
|
return (options.client ?? this.client).get({
|
|
3541
|
-
requestValidator: async (data) => await
|
|
3438
|
+
requestValidator: async (data) => await z2.object({
|
|
3439
|
+
body: z2.never().optional(),
|
|
3440
|
+
path: zEventsGetPath,
|
|
3441
|
+
query: z2.never().optional()
|
|
3442
|
+
}).parseAsync(data),
|
|
3542
3443
|
responseValidator: async (data) => await zEventsGetResponse.parseAsync(data),
|
|
3543
3444
|
url: "/api/v1/events/{id}",
|
|
3544
3445
|
...options
|
|
3545
3446
|
});
|
|
3546
3447
|
}
|
|
3448
|
+
/**
|
|
3449
|
+
* Partial-update an event (merge-patch)
|
|
3450
|
+
*
|
|
3451
|
+
* Updates only the fields present in the request body. Absent fields are left unchanged. Allows individual form sections to auto-save without submitting the full event payload.
|
|
3452
|
+
*/
|
|
3453
|
+
patch(options) {
|
|
3454
|
+
return (options.client ?? this.client).patch({
|
|
3455
|
+
requestValidator: async (data) => await z2.object({
|
|
3456
|
+
body: zEventsPatchBody,
|
|
3457
|
+
path: zEventsPatchPath,
|
|
3458
|
+
query: z2.never().optional()
|
|
3459
|
+
}).parseAsync(data),
|
|
3460
|
+
responseValidator: async (data) => await zEventsPatchResponse.parseAsync(data),
|
|
3461
|
+
url: "/api/v1/events/{id}",
|
|
3462
|
+
...options,
|
|
3463
|
+
headers: {
|
|
3464
|
+
"Content-Type": "application/json",
|
|
3465
|
+
...options.headers
|
|
3466
|
+
}
|
|
3467
|
+
});
|
|
3468
|
+
}
|
|
3547
3469
|
/**
|
|
3548
3470
|
* Update an event (draft only)
|
|
3549
3471
|
*/
|
|
3550
3472
|
update(options) {
|
|
3551
3473
|
return (options.client ?? this.client).put({
|
|
3552
|
-
requestValidator: async (data) => await
|
|
3474
|
+
requestValidator: async (data) => await z2.object({
|
|
3475
|
+
body: zEventsUpdateBody,
|
|
3476
|
+
path: zEventsUpdatePath,
|
|
3477
|
+
query: z2.never().optional()
|
|
3478
|
+
}).parseAsync(data),
|
|
3553
3479
|
responseValidator: async (data) => await zEventsUpdateResponse.parseAsync(data),
|
|
3554
3480
|
url: "/api/v1/events/{id}",
|
|
3555
3481
|
...options,
|
|
@@ -3564,7 +3490,11 @@ var Events = class extends HeyApiClient {
|
|
|
3564
3490
|
*/
|
|
3565
3491
|
archive(options) {
|
|
3566
3492
|
return (options.client ?? this.client).post({
|
|
3567
|
-
requestValidator: async (data) => await
|
|
3493
|
+
requestValidator: async (data) => await z2.object({
|
|
3494
|
+
body: z2.never().optional(),
|
|
3495
|
+
path: zEventsArchivePath,
|
|
3496
|
+
query: z2.never().optional()
|
|
3497
|
+
}).parseAsync(data),
|
|
3568
3498
|
responseValidator: async (data) => await zEventsArchiveResponse.parseAsync(data),
|
|
3569
3499
|
url: "/api/v1/events/{id}/archive",
|
|
3570
3500
|
...options
|
|
@@ -3575,7 +3505,11 @@ var Events = class extends HeyApiClient {
|
|
|
3575
3505
|
*/
|
|
3576
3506
|
listAttendees(options) {
|
|
3577
3507
|
return (options.client ?? this.client).get({
|
|
3578
|
-
requestValidator: async (data) => await
|
|
3508
|
+
requestValidator: async (data) => await z2.object({
|
|
3509
|
+
body: z2.never().optional(),
|
|
3510
|
+
path: zEventsListAttendeesPath,
|
|
3511
|
+
query: zEventsListAttendeesQuery.optional()
|
|
3512
|
+
}).parseAsync(data),
|
|
3579
3513
|
responseValidator: async (data) => await zEventsListAttendeesResponse.parseAsync(data),
|
|
3580
3514
|
url: "/api/v1/events/{id}/attendees",
|
|
3581
3515
|
...options
|
|
@@ -3586,7 +3520,11 @@ var Events = class extends HeyApiClient {
|
|
|
3586
3520
|
*/
|
|
3587
3521
|
addAttendee(options) {
|
|
3588
3522
|
return (options.client ?? this.client).post({
|
|
3589
|
-
requestValidator: async (data) => await
|
|
3523
|
+
requestValidator: async (data) => await z2.object({
|
|
3524
|
+
body: zEventsAddAttendeeBody,
|
|
3525
|
+
path: zEventsAddAttendeePath,
|
|
3526
|
+
query: z2.never().optional()
|
|
3527
|
+
}).parseAsync(data),
|
|
3590
3528
|
responseValidator: async (data) => await zEventsAddAttendeeResponse.parseAsync(data),
|
|
3591
3529
|
url: "/api/v1/events/{id}/attendees",
|
|
3592
3530
|
...options,
|
|
@@ -3596,12 +3534,73 @@ var Events = class extends HeyApiClient {
|
|
|
3596
3534
|
}
|
|
3597
3535
|
});
|
|
3598
3536
|
}
|
|
3537
|
+
/**
|
|
3538
|
+
* Bulk remove attendees from an event
|
|
3539
|
+
*/
|
|
3540
|
+
bulkRemoveAttendees(options) {
|
|
3541
|
+
return (options.client ?? this.client).delete({
|
|
3542
|
+
requestValidator: async (data) => await z2.object({
|
|
3543
|
+
body: zEventsBulkRemoveAttendeesBody,
|
|
3544
|
+
path: zEventsBulkRemoveAttendeesPath,
|
|
3545
|
+
query: z2.never().optional()
|
|
3546
|
+
}).parseAsync(data),
|
|
3547
|
+
responseValidator: async (data) => await zEventsBulkRemoveAttendeesResponse.parseAsync(data),
|
|
3548
|
+
url: "/api/v1/events/{id}/attendees/bulk",
|
|
3549
|
+
...options,
|
|
3550
|
+
headers: {
|
|
3551
|
+
"Content-Type": "application/json",
|
|
3552
|
+
...options.headers
|
|
3553
|
+
}
|
|
3554
|
+
});
|
|
3555
|
+
}
|
|
3556
|
+
/**
|
|
3557
|
+
* Bulk add attendees to an event
|
|
3558
|
+
*/
|
|
3559
|
+
bulkAddAttendees(options) {
|
|
3560
|
+
return (options.client ?? this.client).post({
|
|
3561
|
+
requestValidator: async (data) => await z2.object({
|
|
3562
|
+
body: zEventsBulkAddAttendeesBody,
|
|
3563
|
+
path: zEventsBulkAddAttendeesPath,
|
|
3564
|
+
query: z2.never().optional()
|
|
3565
|
+
}).parseAsync(data),
|
|
3566
|
+
responseValidator: async (data) => await zEventsBulkAddAttendeesResponse.parseAsync(data),
|
|
3567
|
+
url: "/api/v1/events/{id}/attendees/bulk",
|
|
3568
|
+
...options,
|
|
3569
|
+
headers: {
|
|
3570
|
+
"Content-Type": "application/json",
|
|
3571
|
+
...options.headers
|
|
3572
|
+
}
|
|
3573
|
+
});
|
|
3574
|
+
}
|
|
3575
|
+
/**
|
|
3576
|
+
* Bulk update attendee statuses
|
|
3577
|
+
*/
|
|
3578
|
+
bulkUpdateAttendeeStatus(options) {
|
|
3579
|
+
return (options.client ?? this.client).patch({
|
|
3580
|
+
requestValidator: async (data) => await z2.object({
|
|
3581
|
+
body: zEventsBulkUpdateAttendeeStatusBody,
|
|
3582
|
+
path: zEventsBulkUpdateAttendeeStatusPath,
|
|
3583
|
+
query: z2.never().optional()
|
|
3584
|
+
}).parseAsync(data),
|
|
3585
|
+
responseValidator: async (data) => await zEventsBulkUpdateAttendeeStatusResponse.parseAsync(data),
|
|
3586
|
+
url: "/api/v1/events/{id}/attendees/bulk/status",
|
|
3587
|
+
...options,
|
|
3588
|
+
headers: {
|
|
3589
|
+
"Content-Type": "application/json",
|
|
3590
|
+
...options.headers
|
|
3591
|
+
}
|
|
3592
|
+
});
|
|
3593
|
+
}
|
|
3599
3594
|
/**
|
|
3600
3595
|
* Remove an attendee from an event
|
|
3601
3596
|
*/
|
|
3602
3597
|
removeAttendee(options) {
|
|
3603
3598
|
return (options.client ?? this.client).delete({
|
|
3604
|
-
requestValidator: async (data) => await
|
|
3599
|
+
requestValidator: async (data) => await z2.object({
|
|
3600
|
+
body: z2.never().optional(),
|
|
3601
|
+
path: zEventsRemoveAttendeePath,
|
|
3602
|
+
query: z2.never().optional()
|
|
3603
|
+
}).parseAsync(data),
|
|
3605
3604
|
responseValidator: async (data) => await zEventsRemoveAttendeeResponse.parseAsync(data),
|
|
3606
3605
|
url: "/api/v1/events/{id}/attendees/{contact_id}",
|
|
3607
3606
|
...options
|
|
@@ -3612,7 +3611,11 @@ var Events = class extends HeyApiClient {
|
|
|
3612
3611
|
*/
|
|
3613
3612
|
updateAttendeeStatus(options) {
|
|
3614
3613
|
return (options.client ?? this.client).patch({
|
|
3615
|
-
requestValidator: async (data) => await
|
|
3614
|
+
requestValidator: async (data) => await z2.object({
|
|
3615
|
+
body: zEventsUpdateAttendeeStatusBody,
|
|
3616
|
+
path: zEventsUpdateAttendeeStatusPath,
|
|
3617
|
+
query: z2.never().optional()
|
|
3618
|
+
}).parseAsync(data),
|
|
3616
3619
|
responseValidator: async (data) => await zEventsUpdateAttendeeStatusResponse.parseAsync(data),
|
|
3617
3620
|
url: "/api/v1/events/{id}/attendees/{contact_id}",
|
|
3618
3621
|
...options,
|
|
@@ -3622,23 +3625,119 @@ var Events = class extends HeyApiClient {
|
|
|
3622
3625
|
}
|
|
3623
3626
|
});
|
|
3624
3627
|
}
|
|
3628
|
+
/**
|
|
3629
|
+
* Check in an attendee
|
|
3630
|
+
*/
|
|
3631
|
+
checkInAttendee(options) {
|
|
3632
|
+
return (options.client ?? this.client).post({
|
|
3633
|
+
requestValidator: async (data) => await z2.object({
|
|
3634
|
+
body: zEventsCheckInAttendeeBody,
|
|
3635
|
+
path: zEventsCheckInAttendeePath,
|
|
3636
|
+
query: z2.never().optional()
|
|
3637
|
+
}).parseAsync(data),
|
|
3638
|
+
responseValidator: async (data) => await zEventsCheckInAttendeeResponse.parseAsync(data),
|
|
3639
|
+
url: "/api/v1/events/{id}/attendees/{contact_id}/check-in",
|
|
3640
|
+
...options,
|
|
3641
|
+
headers: {
|
|
3642
|
+
"Content-Type": "application/json",
|
|
3643
|
+
...options.headers
|
|
3644
|
+
}
|
|
3645
|
+
});
|
|
3646
|
+
}
|
|
3647
|
+
/**
|
|
3648
|
+
* Upload event cover image (multipart/form-data, field: file)
|
|
3649
|
+
*/
|
|
3650
|
+
uploadCover(options) {
|
|
3651
|
+
return (options.client ?? this.client).put({
|
|
3652
|
+
bodySerializer: null,
|
|
3653
|
+
requestValidator: async (data) => await z2.object({
|
|
3654
|
+
body: zEventsUploadCoverBody,
|
|
3655
|
+
headers: zEventsUploadCoverHeaders.optional(),
|
|
3656
|
+
path: zEventsUploadCoverPath,
|
|
3657
|
+
query: z2.never().optional()
|
|
3658
|
+
}).parseAsync(data),
|
|
3659
|
+
responseValidator: async (data) => await zEventsUploadCoverResponse.parseAsync(data),
|
|
3660
|
+
url: "/api/v1/events/{id}/cover",
|
|
3661
|
+
...options,
|
|
3662
|
+
headers: {
|
|
3663
|
+
"Content-Type": "application/octet-stream",
|
|
3664
|
+
...options.headers
|
|
3665
|
+
}
|
|
3666
|
+
});
|
|
3667
|
+
}
|
|
3625
3668
|
/**
|
|
3626
3669
|
* Discard draft, keep published version
|
|
3627
3670
|
*/
|
|
3628
3671
|
discard(options) {
|
|
3629
3672
|
return (options.client ?? this.client).post({
|
|
3630
|
-
requestValidator: async (data) => await
|
|
3673
|
+
requestValidator: async (data) => await z2.object({
|
|
3674
|
+
body: z2.never().optional(),
|
|
3675
|
+
path: zEventsDiscardPath,
|
|
3676
|
+
query: z2.never().optional()
|
|
3677
|
+
}).parseAsync(data),
|
|
3631
3678
|
responseValidator: async (data) => await zEventsDiscardResponse.parseAsync(data),
|
|
3632
3679
|
url: "/api/v1/events/{id}/discard",
|
|
3633
3680
|
...options
|
|
3634
3681
|
});
|
|
3635
3682
|
}
|
|
3683
|
+
/**
|
|
3684
|
+
* List documents linked to an event
|
|
3685
|
+
*/
|
|
3686
|
+
listDocuments(options) {
|
|
3687
|
+
return (options.client ?? this.client).get({
|
|
3688
|
+
requestValidator: async (data) => await z2.object({
|
|
3689
|
+
body: z2.never().optional(),
|
|
3690
|
+
path: zEventsListDocumentsPath,
|
|
3691
|
+
query: z2.never().optional()
|
|
3692
|
+
}).parseAsync(data),
|
|
3693
|
+
responseValidator: async (data) => await zEventsListDocumentsResponse.parseAsync(data),
|
|
3694
|
+
url: "/api/v1/events/{id}/documents",
|
|
3695
|
+
...options
|
|
3696
|
+
});
|
|
3697
|
+
}
|
|
3698
|
+
/**
|
|
3699
|
+
* Unlink a document from an event
|
|
3700
|
+
*/
|
|
3701
|
+
removeDocument(options) {
|
|
3702
|
+
return (options.client ?? this.client).delete({
|
|
3703
|
+
requestValidator: async (data) => await z2.object({
|
|
3704
|
+
body: z2.never().optional(),
|
|
3705
|
+
path: zEventsRemoveDocumentPath,
|
|
3706
|
+
query: z2.never().optional()
|
|
3707
|
+
}).parseAsync(data),
|
|
3708
|
+
responseValidator: async (data) => await zEventsRemoveDocumentResponse.parseAsync(data),
|
|
3709
|
+
url: "/api/v1/events/{id}/documents/{document_id}",
|
|
3710
|
+
...options
|
|
3711
|
+
});
|
|
3712
|
+
}
|
|
3713
|
+
/**
|
|
3714
|
+
* Link a document to an event
|
|
3715
|
+
*/
|
|
3716
|
+
addDocument(options) {
|
|
3717
|
+
return (options.client ?? this.client).post({
|
|
3718
|
+
requestValidator: async (data) => await z2.object({
|
|
3719
|
+
body: zEventsAddDocumentBody,
|
|
3720
|
+
path: zEventsAddDocumentPath,
|
|
3721
|
+
query: z2.never().optional()
|
|
3722
|
+
}).parseAsync(data),
|
|
3723
|
+
url: "/api/v1/events/{id}/documents/{document_id}",
|
|
3724
|
+
...options,
|
|
3725
|
+
headers: {
|
|
3726
|
+
"Content-Type": "application/json",
|
|
3727
|
+
...options.headers
|
|
3728
|
+
}
|
|
3729
|
+
});
|
|
3730
|
+
}
|
|
3636
3731
|
/**
|
|
3637
3732
|
* Get draft version of an event
|
|
3638
3733
|
*/
|
|
3639
3734
|
getDraft(options) {
|
|
3640
3735
|
return (options.client ?? this.client).get({
|
|
3641
|
-
requestValidator: async (data) => await
|
|
3736
|
+
requestValidator: async (data) => await z2.object({
|
|
3737
|
+
body: z2.never().optional(),
|
|
3738
|
+
path: zEventsGetDraftPath,
|
|
3739
|
+
query: z2.never().optional()
|
|
3740
|
+
}).parseAsync(data),
|
|
3642
3741
|
responseValidator: async (data) => await zEventsGetDraftResponse.parseAsync(data),
|
|
3643
3742
|
url: "/api/v1/events/{id}/draft",
|
|
3644
3743
|
...options
|
|
@@ -3649,7 +3748,11 @@ var Events = class extends HeyApiClient {
|
|
|
3649
3748
|
*/
|
|
3650
3749
|
startEdit(options) {
|
|
3651
3750
|
return (options.client ?? this.client).post({
|
|
3652
|
-
requestValidator: async (data) => await
|
|
3751
|
+
requestValidator: async (data) => await z2.object({
|
|
3752
|
+
body: z2.never().optional(),
|
|
3753
|
+
path: zEventsStartEditPath,
|
|
3754
|
+
query: z2.never().optional()
|
|
3755
|
+
}).parseAsync(data),
|
|
3653
3756
|
responseValidator: async (data) => await zEventsStartEditResponse.parseAsync(data),
|
|
3654
3757
|
url: "/api/v1/events/{id}/edit",
|
|
3655
3758
|
...options
|
|
@@ -3660,7 +3763,11 @@ var Events = class extends HeyApiClient {
|
|
|
3660
3763
|
*/
|
|
3661
3764
|
listManagers(options) {
|
|
3662
3765
|
return (options.client ?? this.client).get({
|
|
3663
|
-
requestValidator: async (data) => await
|
|
3766
|
+
requestValidator: async (data) => await z2.object({
|
|
3767
|
+
body: z2.never().optional(),
|
|
3768
|
+
path: zEventsListManagersPath,
|
|
3769
|
+
query: zEventsListManagersQuery.optional()
|
|
3770
|
+
}).parseAsync(data),
|
|
3664
3771
|
responseValidator: async (data) => await zEventsListManagersResponse.parseAsync(data),
|
|
3665
3772
|
url: "/api/v1/events/{id}/managers",
|
|
3666
3773
|
...options
|
|
@@ -3671,7 +3778,11 @@ var Events = class extends HeyApiClient {
|
|
|
3671
3778
|
*/
|
|
3672
3779
|
addManager(options) {
|
|
3673
3780
|
return (options.client ?? this.client).post({
|
|
3674
|
-
requestValidator: async (data) => await
|
|
3781
|
+
requestValidator: async (data) => await z2.object({
|
|
3782
|
+
body: zEventsAddManagerBody,
|
|
3783
|
+
path: zEventsAddManagerPath,
|
|
3784
|
+
query: z2.never().optional()
|
|
3785
|
+
}).parseAsync(data),
|
|
3675
3786
|
responseValidator: async (data) => await zEventsAddManagerResponse.parseAsync(data),
|
|
3676
3787
|
url: "/api/v1/events/{id}/managers",
|
|
3677
3788
|
...options,
|
|
@@ -3686,7 +3797,11 @@ var Events = class extends HeyApiClient {
|
|
|
3686
3797
|
*/
|
|
3687
3798
|
removeManager(options) {
|
|
3688
3799
|
return (options.client ?? this.client).delete({
|
|
3689
|
-
requestValidator: async (data) => await
|
|
3800
|
+
requestValidator: async (data) => await z2.object({
|
|
3801
|
+
body: z2.never().optional(),
|
|
3802
|
+
path: zEventsRemoveManagerPath,
|
|
3803
|
+
query: z2.never().optional()
|
|
3804
|
+
}).parseAsync(data),
|
|
3690
3805
|
responseValidator: async (data) => await zEventsRemoveManagerResponse.parseAsync(data),
|
|
3691
3806
|
url: "/api/v1/events/{id}/managers/{user_id}",
|
|
3692
3807
|
...options
|
|
@@ -3697,7 +3812,11 @@ var Events = class extends HeyApiClient {
|
|
|
3697
3812
|
*/
|
|
3698
3813
|
getManager(options) {
|
|
3699
3814
|
return (options.client ?? this.client).get({
|
|
3700
|
-
requestValidator: async (data) => await
|
|
3815
|
+
requestValidator: async (data) => await z2.object({
|
|
3816
|
+
body: z2.never().optional(),
|
|
3817
|
+
path: zEventsGetManagerPath,
|
|
3818
|
+
query: z2.never().optional()
|
|
3819
|
+
}).parseAsync(data),
|
|
3701
3820
|
responseValidator: async (data) => await zEventsGetManagerResponse.parseAsync(data),
|
|
3702
3821
|
url: "/api/v1/events/{id}/managers/{user_id}",
|
|
3703
3822
|
...options
|
|
@@ -3708,7 +3827,11 @@ var Events = class extends HeyApiClient {
|
|
|
3708
3827
|
*/
|
|
3709
3828
|
updateManager(options) {
|
|
3710
3829
|
return (options.client ?? this.client).put({
|
|
3711
|
-
requestValidator: async (data) => await
|
|
3830
|
+
requestValidator: async (data) => await z2.object({
|
|
3831
|
+
body: zEventsUpdateManagerBody,
|
|
3832
|
+
path: zEventsUpdateManagerPath,
|
|
3833
|
+
query: z2.never().optional()
|
|
3834
|
+
}).parseAsync(data),
|
|
3712
3835
|
responseValidator: async (data) => await zEventsUpdateManagerResponse.parseAsync(data),
|
|
3713
3836
|
url: "/api/v1/events/{id}/managers/{user_id}",
|
|
3714
3837
|
...options,
|
|
@@ -3723,7 +3846,11 @@ var Events = class extends HeyApiClient {
|
|
|
3723
3846
|
*/
|
|
3724
3847
|
listMilestones(options) {
|
|
3725
3848
|
return (options.client ?? this.client).get({
|
|
3726
|
-
requestValidator: async (data) => await
|
|
3849
|
+
requestValidator: async (data) => await z2.object({
|
|
3850
|
+
body: z2.never().optional(),
|
|
3851
|
+
path: zEventsListMilestonesPath,
|
|
3852
|
+
query: zEventsListMilestonesQuery.optional()
|
|
3853
|
+
}).parseAsync(data),
|
|
3727
3854
|
responseValidator: async (data) => await zEventsListMilestonesResponse.parseAsync(data),
|
|
3728
3855
|
url: "/api/v1/events/{id}/milestones",
|
|
3729
3856
|
...options
|
|
@@ -3734,7 +3861,11 @@ var Events = class extends HeyApiClient {
|
|
|
3734
3861
|
*/
|
|
3735
3862
|
addMilestone(options) {
|
|
3736
3863
|
return (options.client ?? this.client).post({
|
|
3737
|
-
requestValidator: async (data) => await
|
|
3864
|
+
requestValidator: async (data) => await z2.object({
|
|
3865
|
+
body: zEventsAddMilestoneBody,
|
|
3866
|
+
path: zEventsAddMilestonePath,
|
|
3867
|
+
query: z2.never().optional()
|
|
3868
|
+
}).parseAsync(data),
|
|
3738
3869
|
responseValidator: async (data) => await zEventsAddMilestoneResponse.parseAsync(data),
|
|
3739
3870
|
url: "/api/v1/events/{id}/milestones",
|
|
3740
3871
|
...options,
|
|
@@ -3749,7 +3880,11 @@ var Events = class extends HeyApiClient {
|
|
|
3749
3880
|
*/
|
|
3750
3881
|
removeMilestone(options) {
|
|
3751
3882
|
return (options.client ?? this.client).delete({
|
|
3752
|
-
requestValidator: async (data) => await
|
|
3883
|
+
requestValidator: async (data) => await z2.object({
|
|
3884
|
+
body: z2.never().optional(),
|
|
3885
|
+
path: zEventsRemoveMilestonePath,
|
|
3886
|
+
query: z2.never().optional()
|
|
3887
|
+
}).parseAsync(data),
|
|
3753
3888
|
responseValidator: async (data) => await zEventsRemoveMilestoneResponse.parseAsync(data),
|
|
3754
3889
|
url: "/api/v1/events/{id}/milestones/{milestone_event_id}",
|
|
3755
3890
|
...options
|
|
@@ -3760,7 +3895,11 @@ var Events = class extends HeyApiClient {
|
|
|
3760
3895
|
*/
|
|
3761
3896
|
updateMilestone(options) {
|
|
3762
3897
|
return (options.client ?? this.client).put({
|
|
3763
|
-
requestValidator: async (data) => await
|
|
3898
|
+
requestValidator: async (data) => await z2.object({
|
|
3899
|
+
body: zEventsUpdateMilestoneBody,
|
|
3900
|
+
path: zEventsUpdateMilestonePath,
|
|
3901
|
+
query: z2.never().optional()
|
|
3902
|
+
}).parseAsync(data),
|
|
3764
3903
|
responseValidator: async (data) => await zEventsUpdateMilestoneResponse.parseAsync(data),
|
|
3765
3904
|
url: "/api/v1/events/{id}/milestones/{milestone_event_id}",
|
|
3766
3905
|
...options,
|
|
@@ -3772,13 +3911,23 @@ var Events = class extends HeyApiClient {
|
|
|
3772
3911
|
}
|
|
3773
3912
|
/**
|
|
3774
3913
|
* Publish an event
|
|
3914
|
+
*
|
|
3915
|
+
* Promotes a draft event to published. Optionally sends a notification to the creator by providing a JSON body with notification options.
|
|
3775
3916
|
*/
|
|
3776
3917
|
publish(options) {
|
|
3777
3918
|
return (options.client ?? this.client).post({
|
|
3778
|
-
requestValidator: async (data) => await
|
|
3919
|
+
requestValidator: async (data) => await z2.object({
|
|
3920
|
+
body: zEventsPublishBody.optional(),
|
|
3921
|
+
path: zEventsPublishPath,
|
|
3922
|
+
query: z2.never().optional()
|
|
3923
|
+
}).parseAsync(data),
|
|
3779
3924
|
responseValidator: async (data) => await zEventsPublishResponse.parseAsync(data),
|
|
3780
3925
|
url: "/api/v1/events/{id}/publish",
|
|
3781
|
-
...options
|
|
3926
|
+
...options,
|
|
3927
|
+
headers: {
|
|
3928
|
+
"Content-Type": "application/json",
|
|
3929
|
+
...options.headers
|
|
3930
|
+
}
|
|
3782
3931
|
});
|
|
3783
3932
|
}
|
|
3784
3933
|
/**
|
|
@@ -3786,7 +3935,11 @@ var Events = class extends HeyApiClient {
|
|
|
3786
3935
|
*/
|
|
3787
3936
|
listSpaces(options) {
|
|
3788
3937
|
return (options.client ?? this.client).get({
|
|
3789
|
-
requestValidator: async (data) => await
|
|
3938
|
+
requestValidator: async (data) => await z2.object({
|
|
3939
|
+
body: z2.never().optional(),
|
|
3940
|
+
path: zEventsListSpacesPath,
|
|
3941
|
+
query: zEventsListSpacesQuery.optional()
|
|
3942
|
+
}).parseAsync(data),
|
|
3790
3943
|
responseValidator: async (data) => await zEventsListSpacesResponse.parseAsync(data),
|
|
3791
3944
|
url: "/api/v1/events/{id}/spaces",
|
|
3792
3945
|
...options
|
|
@@ -3797,7 +3950,11 @@ var Events = class extends HeyApiClient {
|
|
|
3797
3950
|
*/
|
|
3798
3951
|
addSpace(options) {
|
|
3799
3952
|
return (options.client ?? this.client).post({
|
|
3800
|
-
requestValidator: async (data) => await
|
|
3953
|
+
requestValidator: async (data) => await z2.object({
|
|
3954
|
+
body: zEventsAddSpaceBody,
|
|
3955
|
+
path: zEventsAddSpacePath,
|
|
3956
|
+
query: z2.never().optional()
|
|
3957
|
+
}).parseAsync(data),
|
|
3801
3958
|
responseValidator: async (data) => await zEventsAddSpaceResponse.parseAsync(data),
|
|
3802
3959
|
url: "/api/v1/events/{id}/spaces",
|
|
3803
3960
|
...options,
|
|
@@ -3812,7 +3969,11 @@ var Events = class extends HeyApiClient {
|
|
|
3812
3969
|
*/
|
|
3813
3970
|
removeSpace(options) {
|
|
3814
3971
|
return (options.client ?? this.client).delete({
|
|
3815
|
-
requestValidator: async (data) => await
|
|
3972
|
+
requestValidator: async (data) => await z2.object({
|
|
3973
|
+
body: z2.never().optional(),
|
|
3974
|
+
path: zEventsRemoveSpacePath,
|
|
3975
|
+
query: z2.never().optional()
|
|
3976
|
+
}).parseAsync(data),
|
|
3816
3977
|
responseValidator: async (data) => await zEventsRemoveSpaceResponse.parseAsync(data),
|
|
3817
3978
|
url: "/api/v1/events/{id}/spaces/{space_id}",
|
|
3818
3979
|
...options
|
|
@@ -3828,7 +3989,12 @@ var Zitadel = class extends HeyApiClient {
|
|
|
3828
3989
|
webhook(options) {
|
|
3829
3990
|
return (options.client ?? this.client).post({
|
|
3830
3991
|
bodySerializer: null,
|
|
3831
|
-
requestValidator: async (data) => await
|
|
3992
|
+
requestValidator: async (data) => await z2.object({
|
|
3993
|
+
body: zIntegrationsZitadelWebhookBody,
|
|
3994
|
+
headers: zIntegrationsZitadelWebhookHeaders.optional(),
|
|
3995
|
+
path: z2.never().optional(),
|
|
3996
|
+
query: z2.never().optional()
|
|
3997
|
+
}).parseAsync(data),
|
|
3832
3998
|
url: "/api/v1/integrations/zitadel/webhook",
|
|
3833
3999
|
...options,
|
|
3834
4000
|
headers: {
|
|
@@ -3849,7 +4015,11 @@ var Invites = class extends HeyApiClient {
|
|
|
3849
4015
|
*/
|
|
3850
4016
|
list(options) {
|
|
3851
4017
|
return (options.client ?? this.client).get({
|
|
3852
|
-
requestValidator: async (data) => await
|
|
4018
|
+
requestValidator: async (data) => await z2.object({
|
|
4019
|
+
body: z2.never().optional(),
|
|
4020
|
+
path: zOrganizationsInvitesListPath,
|
|
4021
|
+
query: z2.never().optional()
|
|
4022
|
+
}).parseAsync(data),
|
|
3853
4023
|
responseValidator: async (data) => await zOrganizationsInvitesListResponse.parseAsync(data),
|
|
3854
4024
|
url: "/api/v1/organizations/{id}/invites",
|
|
3855
4025
|
...options
|
|
@@ -3860,7 +4030,11 @@ var Invites = class extends HeyApiClient {
|
|
|
3860
4030
|
*/
|
|
3861
4031
|
create(options) {
|
|
3862
4032
|
return (options.client ?? this.client).post({
|
|
3863
|
-
requestValidator: async (data) => await
|
|
4033
|
+
requestValidator: async (data) => await z2.object({
|
|
4034
|
+
body: zOrganizationsInvitesCreateBody,
|
|
4035
|
+
path: zOrganizationsInvitesCreatePath,
|
|
4036
|
+
query: z2.never().optional()
|
|
4037
|
+
}).parseAsync(data),
|
|
3864
4038
|
responseValidator: async (data) => await zOrganizationsInvitesCreateResponse.parseAsync(data),
|
|
3865
4039
|
url: "/api/v1/organizations/{id}/invites",
|
|
3866
4040
|
...options,
|
|
@@ -3875,7 +4049,11 @@ var Invites = class extends HeyApiClient {
|
|
|
3875
4049
|
*/
|
|
3876
4050
|
delete(options) {
|
|
3877
4051
|
return (options.client ?? this.client).delete({
|
|
3878
|
-
requestValidator: async (data) => await
|
|
4052
|
+
requestValidator: async (data) => await z2.object({
|
|
4053
|
+
body: z2.never().optional(),
|
|
4054
|
+
path: zOrganizationsInvitesDeletePath,
|
|
4055
|
+
query: z2.never().optional()
|
|
4056
|
+
}).parseAsync(data),
|
|
3879
4057
|
responseValidator: async (data) => await zOrganizationsInvitesDeleteResponse.parseAsync(data),
|
|
3880
4058
|
url: "/api/v1/organizations/{id}/invites/{inviteId}",
|
|
3881
4059
|
...options
|
|
@@ -3888,7 +4066,11 @@ var Organizations = class extends HeyApiClient {
|
|
|
3888
4066
|
*/
|
|
3889
4067
|
list(options) {
|
|
3890
4068
|
return (options?.client ?? this.client).get({
|
|
3891
|
-
requestValidator: async (data) => await
|
|
4069
|
+
requestValidator: async (data) => await z2.object({
|
|
4070
|
+
body: z2.never().optional(),
|
|
4071
|
+
path: z2.never().optional(),
|
|
4072
|
+
query: z2.never().optional()
|
|
4073
|
+
}).parseAsync(data),
|
|
3892
4074
|
responseValidator: async (data) => await zOrganizationsListResponse.parseAsync(data),
|
|
3893
4075
|
url: "/api/v1/organizations",
|
|
3894
4076
|
...options
|
|
@@ -3899,7 +4081,11 @@ var Organizations = class extends HeyApiClient {
|
|
|
3899
4081
|
*/
|
|
3900
4082
|
create(options) {
|
|
3901
4083
|
return (options.client ?? this.client).post({
|
|
3902
|
-
requestValidator: async (data) => await
|
|
4084
|
+
requestValidator: async (data) => await z2.object({
|
|
4085
|
+
body: zOrganizationsCreateBody,
|
|
4086
|
+
path: z2.never().optional(),
|
|
4087
|
+
query: z2.never().optional()
|
|
4088
|
+
}).parseAsync(data),
|
|
3903
4089
|
responseValidator: async (data) => await zOrganizationsCreateResponse.parseAsync(data),
|
|
3904
4090
|
url: "/api/v1/organizations",
|
|
3905
4091
|
...options,
|
|
@@ -3914,7 +4100,11 @@ var Organizations = class extends HeyApiClient {
|
|
|
3914
4100
|
*/
|
|
3915
4101
|
archive(options) {
|
|
3916
4102
|
return (options.client ?? this.client).delete({
|
|
3917
|
-
requestValidator: async (data) => await
|
|
4103
|
+
requestValidator: async (data) => await z2.object({
|
|
4104
|
+
body: z2.never().optional(),
|
|
4105
|
+
path: zOrganizationsArchivePath,
|
|
4106
|
+
query: z2.never().optional()
|
|
4107
|
+
}).parseAsync(data),
|
|
3918
4108
|
responseValidator: async (data) => await zOrganizationsArchiveResponse.parseAsync(data),
|
|
3919
4109
|
url: "/api/v1/organizations/{id}",
|
|
3920
4110
|
...options
|
|
@@ -3925,7 +4115,11 @@ var Organizations = class extends HeyApiClient {
|
|
|
3925
4115
|
*/
|
|
3926
4116
|
get(options) {
|
|
3927
4117
|
return (options.client ?? this.client).get({
|
|
3928
|
-
requestValidator: async (data) => await
|
|
4118
|
+
requestValidator: async (data) => await z2.object({
|
|
4119
|
+
body: z2.never().optional(),
|
|
4120
|
+
path: zOrganizationsGetPath,
|
|
4121
|
+
query: z2.never().optional()
|
|
4122
|
+
}).parseAsync(data),
|
|
3929
4123
|
responseValidator: async (data) => await zOrganizationsGetResponse.parseAsync(data),
|
|
3930
4124
|
url: "/api/v1/organizations/{id}",
|
|
3931
4125
|
...options
|
|
@@ -3936,7 +4130,11 @@ var Organizations = class extends HeyApiClient {
|
|
|
3936
4130
|
*/
|
|
3937
4131
|
update(options) {
|
|
3938
4132
|
return (options.client ?? this.client).put({
|
|
3939
|
-
requestValidator: async (data) => await
|
|
4133
|
+
requestValidator: async (data) => await z2.object({
|
|
4134
|
+
body: zOrganizationsUpdateBody,
|
|
4135
|
+
path: zOrganizationsUpdatePath,
|
|
4136
|
+
query: z2.never().optional()
|
|
4137
|
+
}).parseAsync(data),
|
|
3940
4138
|
responseValidator: async (data) => await zOrganizationsUpdateResponse.parseAsync(data),
|
|
3941
4139
|
url: "/api/v1/organizations/{id}",
|
|
3942
4140
|
...options,
|
|
@@ -3956,7 +4154,11 @@ var Permissions = class extends HeyApiClient {
|
|
|
3956
4154
|
*/
|
|
3957
4155
|
list(options) {
|
|
3958
4156
|
return (options?.client ?? this.client).get({
|
|
3959
|
-
requestValidator: async (data) => await
|
|
4157
|
+
requestValidator: async (data) => await z2.object({
|
|
4158
|
+
body: z2.never().optional(),
|
|
4159
|
+
path: z2.never().optional(),
|
|
4160
|
+
query: z2.never().optional()
|
|
4161
|
+
}).parseAsync(data),
|
|
3960
4162
|
responseValidator: async (data) => await zPermissionsListResponse.parseAsync(data),
|
|
3961
4163
|
url: "/api/v1/permissions",
|
|
3962
4164
|
...options
|
|
@@ -3969,7 +4171,11 @@ var Places = class extends HeyApiClient {
|
|
|
3969
4171
|
*/
|
|
3970
4172
|
list(options) {
|
|
3971
4173
|
return (options?.client ?? this.client).get({
|
|
3972
|
-
requestValidator: async (data) => await
|
|
4174
|
+
requestValidator: async (data) => await z2.object({
|
|
4175
|
+
body: z2.never().optional(),
|
|
4176
|
+
path: z2.never().optional(),
|
|
4177
|
+
query: zPlacesListQuery.optional()
|
|
4178
|
+
}).parseAsync(data),
|
|
3973
4179
|
responseValidator: async (data) => await zPlacesListResponse.parseAsync(data),
|
|
3974
4180
|
url: "/api/v1/places",
|
|
3975
4181
|
...options
|
|
@@ -3980,7 +4186,11 @@ var Places = class extends HeyApiClient {
|
|
|
3980
4186
|
*/
|
|
3981
4187
|
create(options) {
|
|
3982
4188
|
return (options.client ?? this.client).post({
|
|
3983
|
-
requestValidator: async (data) => await
|
|
4189
|
+
requestValidator: async (data) => await z2.object({
|
|
4190
|
+
body: zPlacesCreateBody,
|
|
4191
|
+
path: z2.never().optional(),
|
|
4192
|
+
query: z2.never().optional()
|
|
4193
|
+
}).parseAsync(data),
|
|
3984
4194
|
responseValidator: async (data) => await zPlacesCreateResponse.parseAsync(data),
|
|
3985
4195
|
url: "/api/v1/places",
|
|
3986
4196
|
...options,
|
|
@@ -3995,7 +4205,11 @@ var Places = class extends HeyApiClient {
|
|
|
3995
4205
|
*/
|
|
3996
4206
|
delete(options) {
|
|
3997
4207
|
return (options.client ?? this.client).delete({
|
|
3998
|
-
requestValidator: async (data) => await
|
|
4208
|
+
requestValidator: async (data) => await z2.object({
|
|
4209
|
+
body: z2.never().optional(),
|
|
4210
|
+
path: zPlacesDeletePath,
|
|
4211
|
+
query: z2.never().optional()
|
|
4212
|
+
}).parseAsync(data),
|
|
3999
4213
|
responseValidator: async (data) => await zPlacesDeleteResponse.parseAsync(data),
|
|
4000
4214
|
url: "/api/v1/places/{id}",
|
|
4001
4215
|
...options
|
|
@@ -4006,7 +4220,11 @@ var Places = class extends HeyApiClient {
|
|
|
4006
4220
|
*/
|
|
4007
4221
|
get(options) {
|
|
4008
4222
|
return (options.client ?? this.client).get({
|
|
4009
|
-
requestValidator: async (data) => await
|
|
4223
|
+
requestValidator: async (data) => await z2.object({
|
|
4224
|
+
body: z2.never().optional(),
|
|
4225
|
+
path: zPlacesGetPath,
|
|
4226
|
+
query: z2.never().optional()
|
|
4227
|
+
}).parseAsync(data),
|
|
4010
4228
|
responseValidator: async (data) => await zPlacesGetResponse.parseAsync(data),
|
|
4011
4229
|
url: "/api/v1/places/{id}",
|
|
4012
4230
|
...options
|
|
@@ -4017,7 +4235,11 @@ var Places = class extends HeyApiClient {
|
|
|
4017
4235
|
*/
|
|
4018
4236
|
update(options) {
|
|
4019
4237
|
return (options.client ?? this.client).put({
|
|
4020
|
-
requestValidator: async (data) => await
|
|
4238
|
+
requestValidator: async (data) => await z2.object({
|
|
4239
|
+
body: zPlacesUpdateBody,
|
|
4240
|
+
path: zPlacesUpdatePath,
|
|
4241
|
+
query: z2.never().optional()
|
|
4242
|
+
}).parseAsync(data),
|
|
4021
4243
|
responseValidator: async (data) => await zPlacesUpdateResponse.parseAsync(data),
|
|
4022
4244
|
url: "/api/v1/places/{id}",
|
|
4023
4245
|
...options,
|
|
@@ -4032,7 +4254,11 @@ var Places = class extends HeyApiClient {
|
|
|
4032
4254
|
*/
|
|
4033
4255
|
archive(options) {
|
|
4034
4256
|
return (options.client ?? this.client).patch({
|
|
4035
|
-
requestValidator: async (data) => await
|
|
4257
|
+
requestValidator: async (data) => await z2.object({
|
|
4258
|
+
body: z2.never().optional(),
|
|
4259
|
+
path: zPlacesArchivePath,
|
|
4260
|
+
query: z2.never().optional()
|
|
4261
|
+
}).parseAsync(data),
|
|
4036
4262
|
responseValidator: async (data) => await zPlacesArchiveResponse.parseAsync(data),
|
|
4037
4263
|
url: "/api/v1/places/{id}/archive",
|
|
4038
4264
|
...options
|
|
@@ -4043,7 +4269,11 @@ var Places = class extends HeyApiClient {
|
|
|
4043
4269
|
*/
|
|
4044
4270
|
publish(options) {
|
|
4045
4271
|
return (options.client ?? this.client).patch({
|
|
4046
|
-
requestValidator: async (data) => await
|
|
4272
|
+
requestValidator: async (data) => await z2.object({
|
|
4273
|
+
body: z2.never().optional(),
|
|
4274
|
+
path: zPlacesPublishPath,
|
|
4275
|
+
query: z2.never().optional()
|
|
4276
|
+
}).parseAsync(data),
|
|
4047
4277
|
responseValidator: async (data) => await zPlacesPublishResponse.parseAsync(data),
|
|
4048
4278
|
url: "/api/v1/places/{id}/publish",
|
|
4049
4279
|
...options
|
|
@@ -4056,7 +4286,11 @@ var Me = class extends HeyApiClient {
|
|
|
4056
4286
|
*/
|
|
4057
4287
|
get(options) {
|
|
4058
4288
|
return (options?.client ?? this.client).get({
|
|
4059
|
-
requestValidator: async (data) => await
|
|
4289
|
+
requestValidator: async (data) => await z2.object({
|
|
4290
|
+
body: z2.never().optional(),
|
|
4291
|
+
path: z2.never().optional(),
|
|
4292
|
+
query: z2.never().optional()
|
|
4293
|
+
}).parseAsync(data),
|
|
4060
4294
|
responseValidator: async (data) => await zProfilesMeGetResponse.parseAsync(data),
|
|
4061
4295
|
url: "/api/v1/profiles/me",
|
|
4062
4296
|
...options
|
|
@@ -4067,7 +4301,11 @@ var Me = class extends HeyApiClient {
|
|
|
4067
4301
|
*/
|
|
4068
4302
|
update(options) {
|
|
4069
4303
|
return (options.client ?? this.client).put({
|
|
4070
|
-
requestValidator: async (data) => await
|
|
4304
|
+
requestValidator: async (data) => await z2.object({
|
|
4305
|
+
body: zProfilesMeUpdateBody,
|
|
4306
|
+
path: z2.never().optional(),
|
|
4307
|
+
query: z2.never().optional()
|
|
4308
|
+
}).parseAsync(data),
|
|
4071
4309
|
responseValidator: async (data) => await zProfilesMeUpdateResponse.parseAsync(data),
|
|
4072
4310
|
url: "/api/v1/profiles/me",
|
|
4073
4311
|
...options,
|
|
@@ -4082,7 +4320,11 @@ var Me = class extends HeyApiClient {
|
|
|
4082
4320
|
*/
|
|
4083
4321
|
acceptTerms(options) {
|
|
4084
4322
|
return (options?.client ?? this.client).post({
|
|
4085
|
-
requestValidator: async (data) => await
|
|
4323
|
+
requestValidator: async (data) => await z2.object({
|
|
4324
|
+
body: z2.never().optional(),
|
|
4325
|
+
path: z2.never().optional(),
|
|
4326
|
+
query: z2.never().optional()
|
|
4327
|
+
}).parseAsync(data),
|
|
4086
4328
|
responseValidator: async (data) => await zProfilesMeAcceptTermsResponse.parseAsync(data),
|
|
4087
4329
|
url: "/api/v1/profiles/me/terms",
|
|
4088
4330
|
...options
|
|
@@ -4095,7 +4337,11 @@ var Profiles = class extends HeyApiClient {
|
|
|
4095
4337
|
*/
|
|
4096
4338
|
list(options) {
|
|
4097
4339
|
return (options?.client ?? this.client).get({
|
|
4098
|
-
requestValidator: async (data) => await
|
|
4340
|
+
requestValidator: async (data) => await z2.object({
|
|
4341
|
+
body: z2.never().optional(),
|
|
4342
|
+
path: z2.never().optional(),
|
|
4343
|
+
query: zProfilesListQuery.optional()
|
|
4344
|
+
}).parseAsync(data),
|
|
4099
4345
|
responseValidator: async (data) => await zProfilesListResponse.parseAsync(data),
|
|
4100
4346
|
url: "/api/v1/profiles",
|
|
4101
4347
|
...options
|
|
@@ -4106,7 +4352,11 @@ var Profiles = class extends HeyApiClient {
|
|
|
4106
4352
|
*/
|
|
4107
4353
|
search(options) {
|
|
4108
4354
|
return (options?.client ?? this.client).get({
|
|
4109
|
-
requestValidator: async (data) => await
|
|
4355
|
+
requestValidator: async (data) => await z2.object({
|
|
4356
|
+
body: z2.never().optional(),
|
|
4357
|
+
path: z2.never().optional(),
|
|
4358
|
+
query: zProfilesSearchQuery.optional()
|
|
4359
|
+
}).parseAsync(data),
|
|
4110
4360
|
responseValidator: async (data) => await zProfilesSearchResponse.parseAsync(data),
|
|
4111
4361
|
url: "/api/v1/profiles/search",
|
|
4112
4362
|
...options
|
|
@@ -4117,7 +4367,11 @@ var Profiles = class extends HeyApiClient {
|
|
|
4117
4367
|
*/
|
|
4118
4368
|
get(options) {
|
|
4119
4369
|
return (options.client ?? this.client).get({
|
|
4120
|
-
requestValidator: async (data) => await
|
|
4370
|
+
requestValidator: async (data) => await z2.object({
|
|
4371
|
+
body: z2.never().optional(),
|
|
4372
|
+
path: zProfilesGetPath,
|
|
4373
|
+
query: z2.never().optional()
|
|
4374
|
+
}).parseAsync(data),
|
|
4121
4375
|
responseValidator: async (data) => await zProfilesGetResponse.parseAsync(data),
|
|
4122
4376
|
url: "/api/v1/profiles/{id}",
|
|
4123
4377
|
...options
|
|
@@ -4135,7 +4389,11 @@ var Events2 = class extends HeyApiClient {
|
|
|
4135
4389
|
*/
|
|
4136
4390
|
list(options) {
|
|
4137
4391
|
return (options?.client ?? this.client).get({
|
|
4138
|
-
requestValidator: async (data) => await
|
|
4392
|
+
requestValidator: async (data) => await z2.object({
|
|
4393
|
+
body: z2.never().optional(),
|
|
4394
|
+
path: z2.never().optional(),
|
|
4395
|
+
query: zPublicEventsListQuery.optional()
|
|
4396
|
+
}).parseAsync(data),
|
|
4139
4397
|
responseValidator: async (data) => await zPublicEventsListResponse.parseAsync(data),
|
|
4140
4398
|
url: "/api/v1/public/events",
|
|
4141
4399
|
...options
|
|
@@ -4148,7 +4406,11 @@ var Events2 = class extends HeyApiClient {
|
|
|
4148
4406
|
*/
|
|
4149
4407
|
get(options) {
|
|
4150
4408
|
return (options.client ?? this.client).get({
|
|
4151
|
-
requestValidator: async (data) => await
|
|
4409
|
+
requestValidator: async (data) => await z2.object({
|
|
4410
|
+
body: z2.never().optional(),
|
|
4411
|
+
path: zPublicEventsGetPath,
|
|
4412
|
+
query: z2.never().optional()
|
|
4413
|
+
}).parseAsync(data),
|
|
4152
4414
|
responseValidator: async (data) => await zPublicEventsGetResponse.parseAsync(data),
|
|
4153
4415
|
url: "/api/v1/public/events/{id}",
|
|
4154
4416
|
...options
|
|
@@ -4163,7 +4425,11 @@ var Spaces = class extends HeyApiClient {
|
|
|
4163
4425
|
*/
|
|
4164
4426
|
list(options) {
|
|
4165
4427
|
return (options?.client ?? this.client).get({
|
|
4166
|
-
requestValidator: async (data) => await
|
|
4428
|
+
requestValidator: async (data) => await z2.object({
|
|
4429
|
+
body: z2.never().optional(),
|
|
4430
|
+
path: z2.never().optional(),
|
|
4431
|
+
query: zPublicSpacesListQuery.optional()
|
|
4432
|
+
}).parseAsync(data),
|
|
4167
4433
|
responseValidator: async (data) => await zPublicSpacesListResponse.parseAsync(data),
|
|
4168
4434
|
url: "/api/v1/public/spaces",
|
|
4169
4435
|
...options
|
|
@@ -4176,7 +4442,11 @@ var Spaces = class extends HeyApiClient {
|
|
|
4176
4442
|
*/
|
|
4177
4443
|
get(options) {
|
|
4178
4444
|
return (options.client ?? this.client).get({
|
|
4179
|
-
requestValidator: async (data) => await
|
|
4445
|
+
requestValidator: async (data) => await z2.object({
|
|
4446
|
+
body: z2.never().optional(),
|
|
4447
|
+
path: zPublicSpacesGetPath,
|
|
4448
|
+
query: z2.never().optional()
|
|
4449
|
+
}).parseAsync(data),
|
|
4180
4450
|
responseValidator: async (data) => await zPublicSpacesGetResponse.parseAsync(data),
|
|
4181
4451
|
url: "/api/v1/public/spaces/{id}",
|
|
4182
4452
|
...options
|
|
@@ -4197,7 +4467,11 @@ var Roles = class extends HeyApiClient {
|
|
|
4197
4467
|
*/
|
|
4198
4468
|
list(options) {
|
|
4199
4469
|
return (options?.client ?? this.client).get({
|
|
4200
|
-
requestValidator: async (data) => await
|
|
4470
|
+
requestValidator: async (data) => await z2.object({
|
|
4471
|
+
body: z2.never().optional(),
|
|
4472
|
+
path: z2.never().optional(),
|
|
4473
|
+
query: z2.never().optional()
|
|
4474
|
+
}).parseAsync(data),
|
|
4201
4475
|
responseValidator: async (data) => await zRolesListResponse.parseAsync(data),
|
|
4202
4476
|
url: "/api/v1/roles",
|
|
4203
4477
|
...options
|
|
@@ -4208,7 +4482,11 @@ var Roles = class extends HeyApiClient {
|
|
|
4208
4482
|
*/
|
|
4209
4483
|
create(options) {
|
|
4210
4484
|
return (options.client ?? this.client).post({
|
|
4211
|
-
requestValidator: async (data) => await
|
|
4485
|
+
requestValidator: async (data) => await z2.object({
|
|
4486
|
+
body: zRolesCreateBody,
|
|
4487
|
+
path: z2.never().optional(),
|
|
4488
|
+
query: z2.never().optional()
|
|
4489
|
+
}).parseAsync(data),
|
|
4212
4490
|
responseValidator: async (data) => await zRolesCreateResponse.parseAsync(data),
|
|
4213
4491
|
url: "/api/v1/roles",
|
|
4214
4492
|
...options,
|
|
@@ -4223,7 +4501,11 @@ var Roles = class extends HeyApiClient {
|
|
|
4223
4501
|
*/
|
|
4224
4502
|
delete(options) {
|
|
4225
4503
|
return (options.client ?? this.client).delete({
|
|
4226
|
-
requestValidator: async (data) => await
|
|
4504
|
+
requestValidator: async (data) => await z2.object({
|
|
4505
|
+
body: z2.never().optional(),
|
|
4506
|
+
path: zRolesDeletePath,
|
|
4507
|
+
query: z2.never().optional()
|
|
4508
|
+
}).parseAsync(data),
|
|
4227
4509
|
responseValidator: async (data) => await zRolesDeleteResponse.parseAsync(data),
|
|
4228
4510
|
url: "/api/v1/roles/{name}",
|
|
4229
4511
|
...options
|
|
@@ -4234,7 +4516,11 @@ var Roles = class extends HeyApiClient {
|
|
|
4234
4516
|
*/
|
|
4235
4517
|
get(options) {
|
|
4236
4518
|
return (options.client ?? this.client).get({
|
|
4237
|
-
requestValidator: async (data) => await
|
|
4519
|
+
requestValidator: async (data) => await z2.object({
|
|
4520
|
+
body: z2.never().optional(),
|
|
4521
|
+
path: zRolesGetPath,
|
|
4522
|
+
query: z2.never().optional()
|
|
4523
|
+
}).parseAsync(data),
|
|
4238
4524
|
responseValidator: async (data) => await zRolesGetResponse.parseAsync(data),
|
|
4239
4525
|
url: "/api/v1/roles/{name}",
|
|
4240
4526
|
...options
|
|
@@ -4245,7 +4531,11 @@ var Roles = class extends HeyApiClient {
|
|
|
4245
4531
|
*/
|
|
4246
4532
|
update(options) {
|
|
4247
4533
|
return (options.client ?? this.client).put({
|
|
4248
|
-
requestValidator: async (data) => await
|
|
4534
|
+
requestValidator: async (data) => await z2.object({
|
|
4535
|
+
body: zRolesUpdateBody,
|
|
4536
|
+
path: zRolesUpdatePath,
|
|
4537
|
+
query: z2.never().optional()
|
|
4538
|
+
}).parseAsync(data),
|
|
4249
4539
|
responseValidator: async (data) => await zRolesUpdateResponse.parseAsync(data),
|
|
4250
4540
|
url: "/api/v1/roles/{name}",
|
|
4251
4541
|
...options,
|
|
@@ -4262,7 +4552,11 @@ var Spaces2 = class extends HeyApiClient {
|
|
|
4262
4552
|
*/
|
|
4263
4553
|
list(options) {
|
|
4264
4554
|
return (options?.client ?? this.client).get({
|
|
4265
|
-
requestValidator: async (data) => await
|
|
4555
|
+
requestValidator: async (data) => await z2.object({
|
|
4556
|
+
body: z2.never().optional(),
|
|
4557
|
+
path: z2.never().optional(),
|
|
4558
|
+
query: zSpacesListQuery.optional()
|
|
4559
|
+
}).parseAsync(data),
|
|
4266
4560
|
responseValidator: async (data) => await zSpacesListResponse.parseAsync(data),
|
|
4267
4561
|
url: "/api/v1/spaces",
|
|
4268
4562
|
...options
|
|
@@ -4273,7 +4567,11 @@ var Spaces2 = class extends HeyApiClient {
|
|
|
4273
4567
|
*/
|
|
4274
4568
|
create(options) {
|
|
4275
4569
|
return (options.client ?? this.client).post({
|
|
4276
|
-
requestValidator: async (data) => await
|
|
4570
|
+
requestValidator: async (data) => await z2.object({
|
|
4571
|
+
body: zSpacesCreateBody,
|
|
4572
|
+
path: z2.never().optional(),
|
|
4573
|
+
query: z2.never().optional()
|
|
4574
|
+
}).parseAsync(data),
|
|
4277
4575
|
responseValidator: async (data) => await zSpacesCreateResponse.parseAsync(data),
|
|
4278
4576
|
url: "/api/v1/spaces",
|
|
4279
4577
|
...options,
|
|
@@ -4288,7 +4586,11 @@ var Spaces2 = class extends HeyApiClient {
|
|
|
4288
4586
|
*/
|
|
4289
4587
|
managerPermissions(options) {
|
|
4290
4588
|
return (options?.client ?? this.client).get({
|
|
4291
|
-
requestValidator: async (data) => await
|
|
4589
|
+
requestValidator: async (data) => await z2.object({
|
|
4590
|
+
body: z2.never().optional(),
|
|
4591
|
+
path: z2.never().optional(),
|
|
4592
|
+
query: z2.never().optional()
|
|
4593
|
+
}).parseAsync(data),
|
|
4292
4594
|
responseValidator: async (data) => await zSpacesManagerPermissionsResponse.parseAsync(data),
|
|
4293
4595
|
url: "/api/v1/spaces/manager-permissions",
|
|
4294
4596
|
...options
|
|
@@ -4299,7 +4601,11 @@ var Spaces2 = class extends HeyApiClient {
|
|
|
4299
4601
|
*/
|
|
4300
4602
|
delete(options) {
|
|
4301
4603
|
return (options.client ?? this.client).delete({
|
|
4302
|
-
requestValidator: async (data) => await
|
|
4604
|
+
requestValidator: async (data) => await z2.object({
|
|
4605
|
+
body: z2.never().optional(),
|
|
4606
|
+
path: zSpacesDeletePath,
|
|
4607
|
+
query: z2.never().optional()
|
|
4608
|
+
}).parseAsync(data),
|
|
4303
4609
|
responseValidator: async (data) => await zSpacesDeleteResponse.parseAsync(data),
|
|
4304
4610
|
url: "/api/v1/spaces/{id}",
|
|
4305
4611
|
...options
|
|
@@ -4310,18 +4616,45 @@ var Spaces2 = class extends HeyApiClient {
|
|
|
4310
4616
|
*/
|
|
4311
4617
|
get(options) {
|
|
4312
4618
|
return (options.client ?? this.client).get({
|
|
4313
|
-
requestValidator: async (data) => await
|
|
4619
|
+
requestValidator: async (data) => await z2.object({
|
|
4620
|
+
body: z2.never().optional(),
|
|
4621
|
+
path: zSpacesGetPath,
|
|
4622
|
+
query: z2.never().optional()
|
|
4623
|
+
}).parseAsync(data),
|
|
4314
4624
|
responseValidator: async (data) => await zSpacesGetResponse.parseAsync(data),
|
|
4315
4625
|
url: "/api/v1/spaces/{id}",
|
|
4316
4626
|
...options
|
|
4317
4627
|
});
|
|
4318
4628
|
}
|
|
4629
|
+
/**
|
|
4630
|
+
* Partially update a space (draft only, merge-patch)
|
|
4631
|
+
*/
|
|
4632
|
+
patch(options) {
|
|
4633
|
+
return (options.client ?? this.client).patch({
|
|
4634
|
+
requestValidator: async (data) => await z2.object({
|
|
4635
|
+
body: zSpacesPatchBody,
|
|
4636
|
+
path: zSpacesPatchPath,
|
|
4637
|
+
query: z2.never().optional()
|
|
4638
|
+
}).parseAsync(data),
|
|
4639
|
+
responseValidator: async (data) => await zSpacesPatchResponse.parseAsync(data),
|
|
4640
|
+
url: "/api/v1/spaces/{id}",
|
|
4641
|
+
...options,
|
|
4642
|
+
headers: {
|
|
4643
|
+
"Content-Type": "application/json",
|
|
4644
|
+
...options.headers
|
|
4645
|
+
}
|
|
4646
|
+
});
|
|
4647
|
+
}
|
|
4319
4648
|
/**
|
|
4320
4649
|
* Update a space (draft only)
|
|
4321
4650
|
*/
|
|
4322
4651
|
update(options) {
|
|
4323
4652
|
return (options.client ?? this.client).put({
|
|
4324
|
-
requestValidator: async (data) => await
|
|
4653
|
+
requestValidator: async (data) => await z2.object({
|
|
4654
|
+
body: zSpacesUpdateBody,
|
|
4655
|
+
path: zSpacesUpdatePath,
|
|
4656
|
+
query: z2.never().optional()
|
|
4657
|
+
}).parseAsync(data),
|
|
4325
4658
|
responseValidator: async (data) => await zSpacesUpdateResponse.parseAsync(data),
|
|
4326
4659
|
url: "/api/v1/spaces/{id}",
|
|
4327
4660
|
...options,
|
|
@@ -4336,7 +4669,11 @@ var Spaces2 = class extends HeyApiClient {
|
|
|
4336
4669
|
*/
|
|
4337
4670
|
archive(options) {
|
|
4338
4671
|
return (options.client ?? this.client).post({
|
|
4339
|
-
requestValidator: async (data) => await
|
|
4672
|
+
requestValidator: async (data) => await z2.object({
|
|
4673
|
+
body: z2.never().optional(),
|
|
4674
|
+
path: zSpacesArchivePath,
|
|
4675
|
+
query: z2.never().optional()
|
|
4676
|
+
}).parseAsync(data),
|
|
4340
4677
|
responseValidator: async (data) => await zSpacesArchiveResponse.parseAsync(data),
|
|
4341
4678
|
url: "/api/v1/spaces/{id}/archive",
|
|
4342
4679
|
...options
|
|
@@ -4347,7 +4684,11 @@ var Spaces2 = class extends HeyApiClient {
|
|
|
4347
4684
|
*/
|
|
4348
4685
|
listContacts(options) {
|
|
4349
4686
|
return (options.client ?? this.client).get({
|
|
4350
|
-
requestValidator: async (data) => await
|
|
4687
|
+
requestValidator: async (data) => await z2.object({
|
|
4688
|
+
body: z2.never().optional(),
|
|
4689
|
+
path: zSpacesListContactsPath,
|
|
4690
|
+
query: zSpacesListContactsQuery.optional()
|
|
4691
|
+
}).parseAsync(data),
|
|
4351
4692
|
responseValidator: async (data) => await zSpacesListContactsResponse.parseAsync(data),
|
|
4352
4693
|
url: "/api/v1/spaces/{id}/contacts",
|
|
4353
4694
|
...options
|
|
@@ -4358,7 +4699,11 @@ var Spaces2 = class extends HeyApiClient {
|
|
|
4358
4699
|
*/
|
|
4359
4700
|
addContact(options) {
|
|
4360
4701
|
return (options.client ?? this.client).post({
|
|
4361
|
-
requestValidator: async (data) => await
|
|
4702
|
+
requestValidator: async (data) => await z2.object({
|
|
4703
|
+
body: zSpacesAddContactBody,
|
|
4704
|
+
path: zSpacesAddContactPath,
|
|
4705
|
+
query: z2.never().optional()
|
|
4706
|
+
}).parseAsync(data),
|
|
4362
4707
|
responseValidator: async (data) => await zSpacesAddContactResponse.parseAsync(data),
|
|
4363
4708
|
url: "/api/v1/spaces/{id}/contacts",
|
|
4364
4709
|
...options,
|
|
@@ -4373,7 +4718,11 @@ var Spaces2 = class extends HeyApiClient {
|
|
|
4373
4718
|
*/
|
|
4374
4719
|
removeContact(options) {
|
|
4375
4720
|
return (options.client ?? this.client).delete({
|
|
4376
|
-
requestValidator: async (data) => await
|
|
4721
|
+
requestValidator: async (data) => await z2.object({
|
|
4722
|
+
body: z2.never().optional(),
|
|
4723
|
+
path: zSpacesRemoveContactPath,
|
|
4724
|
+
query: z2.never().optional()
|
|
4725
|
+
}).parseAsync(data),
|
|
4377
4726
|
responseValidator: async (data) => await zSpacesRemoveContactResponse.parseAsync(data),
|
|
4378
4727
|
url: "/api/v1/spaces/{id}/contacts/{contact_id}",
|
|
4379
4728
|
...options
|
|
@@ -4384,7 +4733,11 @@ var Spaces2 = class extends HeyApiClient {
|
|
|
4384
4733
|
*/
|
|
4385
4734
|
discard(options) {
|
|
4386
4735
|
return (options.client ?? this.client).post({
|
|
4387
|
-
requestValidator: async (data) => await
|
|
4736
|
+
requestValidator: async (data) => await z2.object({
|
|
4737
|
+
body: z2.never().optional(),
|
|
4738
|
+
path: zSpacesDiscardPath,
|
|
4739
|
+
query: z2.never().optional()
|
|
4740
|
+
}).parseAsync(data),
|
|
4388
4741
|
responseValidator: async (data) => await zSpacesDiscardResponse.parseAsync(data),
|
|
4389
4742
|
url: "/api/v1/spaces/{id}/discard",
|
|
4390
4743
|
...options
|
|
@@ -4395,7 +4748,11 @@ var Spaces2 = class extends HeyApiClient {
|
|
|
4395
4748
|
*/
|
|
4396
4749
|
getDraft(options) {
|
|
4397
4750
|
return (options.client ?? this.client).get({
|
|
4398
|
-
requestValidator: async (data) => await
|
|
4751
|
+
requestValidator: async (data) => await z2.object({
|
|
4752
|
+
body: z2.never().optional(),
|
|
4753
|
+
path: zSpacesGetDraftPath,
|
|
4754
|
+
query: z2.never().optional()
|
|
4755
|
+
}).parseAsync(data),
|
|
4399
4756
|
responseValidator: async (data) => await zSpacesGetDraftResponse.parseAsync(data),
|
|
4400
4757
|
url: "/api/v1/spaces/{id}/draft",
|
|
4401
4758
|
...options
|
|
@@ -4406,7 +4763,11 @@ var Spaces2 = class extends HeyApiClient {
|
|
|
4406
4763
|
*/
|
|
4407
4764
|
startEdit(options) {
|
|
4408
4765
|
return (options.client ?? this.client).post({
|
|
4409
|
-
requestValidator: async (data) => await
|
|
4766
|
+
requestValidator: async (data) => await z2.object({
|
|
4767
|
+
body: z2.never().optional(),
|
|
4768
|
+
path: zSpacesStartEditPath,
|
|
4769
|
+
query: z2.never().optional()
|
|
4770
|
+
}).parseAsync(data),
|
|
4410
4771
|
responseValidator: async (data) => await zSpacesStartEditResponse.parseAsync(data),
|
|
4411
4772
|
url: "/api/v1/spaces/{id}/edit",
|
|
4412
4773
|
...options
|
|
@@ -4417,7 +4778,11 @@ var Spaces2 = class extends HeyApiClient {
|
|
|
4417
4778
|
*/
|
|
4418
4779
|
listEvents(options) {
|
|
4419
4780
|
return (options.client ?? this.client).get({
|
|
4420
|
-
requestValidator: async (data) => await
|
|
4781
|
+
requestValidator: async (data) => await z2.object({
|
|
4782
|
+
body: z2.never().optional(),
|
|
4783
|
+
path: zSpacesListEventsPath,
|
|
4784
|
+
query: zSpacesListEventsQuery.optional()
|
|
4785
|
+
}).parseAsync(data),
|
|
4421
4786
|
responseValidator: async (data) => await zSpacesListEventsResponse.parseAsync(data),
|
|
4422
4787
|
url: "/api/v1/spaces/{id}/events",
|
|
4423
4788
|
...options
|
|
@@ -4428,7 +4793,11 @@ var Spaces2 = class extends HeyApiClient {
|
|
|
4428
4793
|
*/
|
|
4429
4794
|
addEvent(options) {
|
|
4430
4795
|
return (options.client ?? this.client).post({
|
|
4431
|
-
requestValidator: async (data) => await
|
|
4796
|
+
requestValidator: async (data) => await z2.object({
|
|
4797
|
+
body: zSpacesAddEventBody,
|
|
4798
|
+
path: zSpacesAddEventPath,
|
|
4799
|
+
query: z2.never().optional()
|
|
4800
|
+
}).parseAsync(data),
|
|
4432
4801
|
responseValidator: async (data) => await zSpacesAddEventResponse.parseAsync(data),
|
|
4433
4802
|
url: "/api/v1/spaces/{id}/events",
|
|
4434
4803
|
...options,
|
|
@@ -4443,7 +4812,11 @@ var Spaces2 = class extends HeyApiClient {
|
|
|
4443
4812
|
*/
|
|
4444
4813
|
removeEvent(options) {
|
|
4445
4814
|
return (options.client ?? this.client).delete({
|
|
4446
|
-
requestValidator: async (data) => await
|
|
4815
|
+
requestValidator: async (data) => await z2.object({
|
|
4816
|
+
body: z2.never().optional(),
|
|
4817
|
+
path: zSpacesRemoveEventPath,
|
|
4818
|
+
query: z2.never().optional()
|
|
4819
|
+
}).parseAsync(data),
|
|
4447
4820
|
responseValidator: async (data) => await zSpacesRemoveEventResponse.parseAsync(data),
|
|
4448
4821
|
url: "/api/v1/spaces/{id}/events/{event_id}",
|
|
4449
4822
|
...options
|
|
@@ -4454,7 +4827,11 @@ var Spaces2 = class extends HeyApiClient {
|
|
|
4454
4827
|
*/
|
|
4455
4828
|
listManagers(options) {
|
|
4456
4829
|
return (options.client ?? this.client).get({
|
|
4457
|
-
requestValidator: async (data) => await
|
|
4830
|
+
requestValidator: async (data) => await z2.object({
|
|
4831
|
+
body: z2.never().optional(),
|
|
4832
|
+
path: zSpacesListManagersPath,
|
|
4833
|
+
query: zSpacesListManagersQuery.optional()
|
|
4834
|
+
}).parseAsync(data),
|
|
4458
4835
|
responseValidator: async (data) => await zSpacesListManagersResponse.parseAsync(data),
|
|
4459
4836
|
url: "/api/v1/spaces/{id}/managers",
|
|
4460
4837
|
...options
|
|
@@ -4465,7 +4842,11 @@ var Spaces2 = class extends HeyApiClient {
|
|
|
4465
4842
|
*/
|
|
4466
4843
|
addManager(options) {
|
|
4467
4844
|
return (options.client ?? this.client).post({
|
|
4468
|
-
requestValidator: async (data) => await
|
|
4845
|
+
requestValidator: async (data) => await z2.object({
|
|
4846
|
+
body: zSpacesAddManagerBody,
|
|
4847
|
+
path: zSpacesAddManagerPath,
|
|
4848
|
+
query: z2.never().optional()
|
|
4849
|
+
}).parseAsync(data),
|
|
4469
4850
|
responseValidator: async (data) => await zSpacesAddManagerResponse.parseAsync(data),
|
|
4470
4851
|
url: "/api/v1/spaces/{id}/managers",
|
|
4471
4852
|
...options,
|
|
@@ -4480,7 +4861,11 @@ var Spaces2 = class extends HeyApiClient {
|
|
|
4480
4861
|
*/
|
|
4481
4862
|
removeManager(options) {
|
|
4482
4863
|
return (options.client ?? this.client).delete({
|
|
4483
|
-
requestValidator: async (data) => await
|
|
4864
|
+
requestValidator: async (data) => await z2.object({
|
|
4865
|
+
body: z2.never().optional(),
|
|
4866
|
+
path: zSpacesRemoveManagerPath,
|
|
4867
|
+
query: z2.never().optional()
|
|
4868
|
+
}).parseAsync(data),
|
|
4484
4869
|
responseValidator: async (data) => await zSpacesRemoveManagerResponse.parseAsync(data),
|
|
4485
4870
|
url: "/api/v1/spaces/{id}/managers/{user_id}",
|
|
4486
4871
|
...options
|
|
@@ -4491,7 +4876,11 @@ var Spaces2 = class extends HeyApiClient {
|
|
|
4491
4876
|
*/
|
|
4492
4877
|
getManager(options) {
|
|
4493
4878
|
return (options.client ?? this.client).get({
|
|
4494
|
-
requestValidator: async (data) => await
|
|
4879
|
+
requestValidator: async (data) => await z2.object({
|
|
4880
|
+
body: z2.never().optional(),
|
|
4881
|
+
path: zSpacesGetManagerPath,
|
|
4882
|
+
query: z2.never().optional()
|
|
4883
|
+
}).parseAsync(data),
|
|
4495
4884
|
responseValidator: async (data) => await zSpacesGetManagerResponse.parseAsync(data),
|
|
4496
4885
|
url: "/api/v1/spaces/{id}/managers/{user_id}",
|
|
4497
4886
|
...options
|
|
@@ -4502,7 +4891,11 @@ var Spaces2 = class extends HeyApiClient {
|
|
|
4502
4891
|
*/
|
|
4503
4892
|
updateManager(options) {
|
|
4504
4893
|
return (options.client ?? this.client).put({
|
|
4505
|
-
requestValidator: async (data) => await
|
|
4894
|
+
requestValidator: async (data) => await z2.object({
|
|
4895
|
+
body: zSpacesUpdateManagerBody,
|
|
4896
|
+
path: zSpacesUpdateManagerPath,
|
|
4897
|
+
query: z2.never().optional()
|
|
4898
|
+
}).parseAsync(data),
|
|
4506
4899
|
responseValidator: async (data) => await zSpacesUpdateManagerResponse.parseAsync(data),
|
|
4507
4900
|
url: "/api/v1/spaces/{id}/managers/{user_id}",
|
|
4508
4901
|
...options,
|
|
@@ -4517,7 +4910,11 @@ var Spaces2 = class extends HeyApiClient {
|
|
|
4517
4910
|
*/
|
|
4518
4911
|
listMembers(options) {
|
|
4519
4912
|
return (options.client ?? this.client).get({
|
|
4520
|
-
requestValidator: async (data) => await
|
|
4913
|
+
requestValidator: async (data) => await z2.object({
|
|
4914
|
+
body: z2.never().optional(),
|
|
4915
|
+
path: zSpacesListMembersPath,
|
|
4916
|
+
query: zSpacesListMembersQuery.optional()
|
|
4917
|
+
}).parseAsync(data),
|
|
4521
4918
|
responseValidator: async (data) => await zSpacesListMembersResponse.parseAsync(data),
|
|
4522
4919
|
url: "/api/v1/spaces/{id}/members",
|
|
4523
4920
|
...options
|
|
@@ -4528,7 +4925,11 @@ var Spaces2 = class extends HeyApiClient {
|
|
|
4528
4925
|
*/
|
|
4529
4926
|
addMember(options) {
|
|
4530
4927
|
return (options.client ?? this.client).post({
|
|
4531
|
-
requestValidator: async (data) => await
|
|
4928
|
+
requestValidator: async (data) => await z2.object({
|
|
4929
|
+
body: zSpacesAddMemberBody,
|
|
4930
|
+
path: zSpacesAddMemberPath,
|
|
4931
|
+
query: z2.never().optional()
|
|
4932
|
+
}).parseAsync(data),
|
|
4532
4933
|
responseValidator: async (data) => await zSpacesAddMemberResponse.parseAsync(data),
|
|
4533
4934
|
url: "/api/v1/spaces/{id}/members",
|
|
4534
4935
|
...options,
|
|
@@ -4543,7 +4944,11 @@ var Spaces2 = class extends HeyApiClient {
|
|
|
4543
4944
|
*/
|
|
4544
4945
|
removeMember(options) {
|
|
4545
4946
|
return (options.client ?? this.client).delete({
|
|
4546
|
-
requestValidator: async (data) => await
|
|
4947
|
+
requestValidator: async (data) => await z2.object({
|
|
4948
|
+
body: z2.never().optional(),
|
|
4949
|
+
path: zSpacesRemoveMemberPath,
|
|
4950
|
+
query: z2.never().optional()
|
|
4951
|
+
}).parseAsync(data),
|
|
4547
4952
|
responseValidator: async (data) => await zSpacesRemoveMemberResponse.parseAsync(data),
|
|
4548
4953
|
url: "/api/v1/spaces/{id}/members/{user_id}",
|
|
4549
4954
|
...options
|
|
@@ -4551,13 +4956,23 @@ var Spaces2 = class extends HeyApiClient {
|
|
|
4551
4956
|
}
|
|
4552
4957
|
/**
|
|
4553
4958
|
* Publish a space
|
|
4959
|
+
*
|
|
4960
|
+
* Promotes a draft space to published. Optionally sends a notification to the creator by providing a JSON body with notification options.
|
|
4554
4961
|
*/
|
|
4555
4962
|
publish(options) {
|
|
4556
4963
|
return (options.client ?? this.client).post({
|
|
4557
|
-
requestValidator: async (data) => await
|
|
4964
|
+
requestValidator: async (data) => await z2.object({
|
|
4965
|
+
body: zSpacesPublishBody.optional(),
|
|
4966
|
+
path: zSpacesPublishPath,
|
|
4967
|
+
query: z2.never().optional()
|
|
4968
|
+
}).parseAsync(data),
|
|
4558
4969
|
responseValidator: async (data) => await zSpacesPublishResponse.parseAsync(data),
|
|
4559
4970
|
url: "/api/v1/spaces/{id}/publish",
|
|
4560
|
-
...options
|
|
4971
|
+
...options,
|
|
4972
|
+
headers: {
|
|
4973
|
+
"Content-Type": "application/json",
|
|
4974
|
+
...options.headers
|
|
4975
|
+
}
|
|
4561
4976
|
});
|
|
4562
4977
|
}
|
|
4563
4978
|
};
|
|
@@ -4573,7 +4988,11 @@ var _Linebundle = class _Linebundle extends HeyApiClient {
|
|
|
4573
4988
|
*/
|
|
4574
4989
|
liveness(options) {
|
|
4575
4990
|
return (options?.client ?? this.client).get({
|
|
4576
|
-
requestValidator: async (data) => await
|
|
4991
|
+
requestValidator: async (data) => await z2.object({
|
|
4992
|
+
body: z2.never().optional(),
|
|
4993
|
+
path: z2.never().optional(),
|
|
4994
|
+
query: z2.never().optional()
|
|
4995
|
+
}).parseAsync(data),
|
|
4577
4996
|
responseValidator: async (data) => await zLivenessResponse.parseAsync(data),
|
|
4578
4997
|
url: "/health",
|
|
4579
4998
|
...options
|
|
@@ -4586,7 +5005,11 @@ var _Linebundle = class _Linebundle extends HeyApiClient {
|
|
|
4586
5005
|
*/
|
|
4587
5006
|
readiness(options) {
|
|
4588
5007
|
return (options?.client ?? this.client).get({
|
|
4589
|
-
requestValidator: async (data) => await
|
|
5008
|
+
requestValidator: async (data) => await z2.object({
|
|
5009
|
+
body: z2.never().optional(),
|
|
5010
|
+
path: z2.never().optional(),
|
|
5011
|
+
query: z2.never().optional()
|
|
5012
|
+
}).parseAsync(data),
|
|
4590
5013
|
responseValidator: async (data) => await zReadinessResponse.parseAsync(data),
|
|
4591
5014
|
url: "/health/ready",
|
|
4592
5015
|
...options
|