@linebundle-sdk/ts 0.1.41 → 0.1.43

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.js CHANGED
@@ -802,6 +802,25 @@ import * as z2 from "zod";
802
802
 
803
803
  // src/zod.gen.ts
804
804
  import * as z from "zod";
805
+ var zAcceptEventManagerInviteInputBody = z.object({
806
+ $schema: z.url().readonly().optional(),
807
+ token: z.string().min(1)
808
+ });
809
+ var zAcceptSeriesManagerInviteInputBody = z.object({
810
+ $schema: z.url().readonly().optional(),
811
+ token: z.string()
812
+ });
813
+ var zAcceptSpaceManagerInviteInputBody = z.object({
814
+ $schema: z.url().readonly().optional(),
815
+ token: z.string().min(1)
816
+ });
817
+ var zActionDefinition = z.object({
818
+ category: z.string().optional(),
819
+ description: z.string().optional(),
820
+ icon: z.string().optional(),
821
+ label: z.string(),
822
+ type: z.string()
823
+ });
805
824
  var zAddAttendeeInputBody = z.object({
806
825
  $schema: z.url().readonly().optional(),
807
826
  contact_id: z.string(),
@@ -817,6 +836,10 @@ var zAddAttendeeInputBody = z.object({
817
836
  var zAddDocumentInputBody = z.object({
818
837
  $schema: z.url().readonly().optional()
819
838
  });
839
+ var zAddEventLinkInputBody = z.object({
840
+ $schema: z.url().readonly().optional(),
841
+ target_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" })
842
+ });
820
843
  var zAddEventManagerInputBody = z.object({
821
844
  $schema: z.url().readonly().optional(),
822
845
  channels: z.array(z.string()).nullish(),
@@ -839,7 +862,37 @@ var zAddMemberInputBody = z.object({
839
862
  var zAddMilestoneInputBody = z.object({
840
863
  $schema: z.url().readonly().optional(),
841
864
  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" }),
842
- 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" }).default(BigInt(0))
865
+ 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" }).optional()
866
+ });
867
+ var zAddSeriesAttendeeInputBody = z.object({
868
+ $schema: z.url().readonly().optional(),
869
+ contact_id: z.string(),
870
+ notes: z.string().optional(),
871
+ status: z.enum([
872
+ "invited",
873
+ "confirmed",
874
+ "declined",
875
+ "tentative",
876
+ "checked_in"
877
+ ]).optional()
878
+ });
879
+ var zAddSeriesDocumentInputBody = z.object({
880
+ $schema: z.url().readonly().optional()
881
+ });
882
+ var zAddSeriesLinkInputBody = z.object({
883
+ $schema: z.url().readonly().optional(),
884
+ target_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" })
885
+ });
886
+ var zAddSeriesMilestoneInputBody = z.object({
887
+ $schema: z.url().readonly().optional(),
888
+ 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" }),
889
+ 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" }).optional()
890
+ });
891
+ var zAddSpaceAnnouncementInputBody = z.object({
892
+ $schema: z.url().readonly().optional(),
893
+ body: z.string(),
894
+ send_email: z.boolean(),
895
+ title: z.string().min(1)
843
896
  });
844
897
  var zAddSpaceContactInputBody = z.object({
845
898
  $schema: z.url().readonly().optional(),
@@ -862,18 +915,58 @@ var zAddSpaceManagerInputBody = z.object({
862
915
  priority: z.string().optional(),
863
916
  user_id: z.string().min(1)
864
917
  });
918
+ var zAnnouncement = z.object({
919
+ $schema: z.url().readonly().optional(),
920
+ author_id: z.string(),
921
+ body: z.string(),
922
+ created_at: z.iso.datetime(),
923
+ 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" }),
924
+ org_id: z.string().optional(),
925
+ status: z.enum([
926
+ "draft",
927
+ "published",
928
+ "archived"
929
+ ]),
930
+ title: z.string(),
931
+ updated_at: z.iso.datetime()
932
+ });
933
+ var zAnnouncementCreate = z.object({
934
+ $schema: z.url().readonly().optional(),
935
+ body: z.string(),
936
+ org_id: z.string().optional(),
937
+ title: z.string().min(1)
938
+ });
939
+ var zAnnouncementPatch = z.object({
940
+ $schema: z.url().readonly().optional(),
941
+ body: z.string().optional(),
942
+ status: z.enum([
943
+ "draft",
944
+ "published",
945
+ "archived"
946
+ ]).optional(),
947
+ title: z.string().optional()
948
+ });
949
+ var zAnnouncementSummary = z.object({
950
+ author_email: z.string(),
951
+ author_id: z.string(),
952
+ body: z.string(),
953
+ created_at: z.iso.datetime(),
954
+ status: z.string(),
955
+ title: z.string()
956
+ });
865
957
  var zAttendee = z.object({
866
958
  $schema: z.url().readonly().optional(),
867
959
  checked_in_at: z.iso.datetime().optional(),
868
960
  contact_id: z.string(),
869
961
  created_at: z.iso.datetime(),
870
- 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" }),
962
+ 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" }).optional(),
871
963
  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" }),
872
964
  invited_at: z.iso.datetime().optional(),
873
965
  is_checked_in: z.boolean(),
874
966
  notes: z.string().optional(),
875
967
  org_id: z.string().optional(),
876
968
  responded_at: z.iso.datetime().optional(),
969
+ series_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(),
877
970
  status: z.enum([
878
971
  "invited",
879
972
  "confirmed",
@@ -945,6 +1038,9 @@ var zCheckAvailabilityInputBody = z.object({
945
1038
  var zCheckInInputBody = z.object({
946
1039
  $schema: z.url().readonly().optional()
947
1040
  });
1041
+ var zCheckInSeriesAttendeeInputBody = z.object({
1042
+ $schema: z.url().readonly().optional()
1043
+ });
948
1044
  var zContact = z.object({
949
1045
  $schema: z.url().readonly().optional(),
950
1046
  address_line1: z.string().nullable(),
@@ -1000,6 +1096,36 @@ var zContactBody = z.object({
1000
1096
  tags: z.array(z.string()).nullish(),
1001
1097
  website: z.string().max(255).optional()
1002
1098
  });
1099
+ var zContactSummary = z.object({
1100
+ avatar_url: z.string().optional(),
1101
+ company: z.string().optional(),
1102
+ email: z.string().optional(),
1103
+ first_name: z.string().optional(),
1104
+ last_name: z.string().optional(),
1105
+ phone: z.string().optional()
1106
+ });
1107
+ var zAttendeeDetail = z.object({
1108
+ checked_in_at: z.iso.datetime().optional(),
1109
+ contact: zContactSummary,
1110
+ contact_id: z.string(),
1111
+ created_at: z.iso.datetime(),
1112
+ 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" }).optional(),
1113
+ 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" }),
1114
+ invited_at: z.iso.datetime().optional(),
1115
+ is_checked_in: z.boolean(),
1116
+ notes: z.string().optional(),
1117
+ org_id: z.string().optional(),
1118
+ responded_at: z.iso.datetime().optional(),
1119
+ series_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(),
1120
+ status: z.enum([
1121
+ "invited",
1122
+ "confirmed",
1123
+ "declined",
1124
+ "tentative",
1125
+ "checked_in"
1126
+ ]),
1127
+ updated_at: z.iso.datetime()
1128
+ });
1003
1129
  var zCounts = z.object({
1004
1130
  $schema: z.url().readonly().optional(),
1005
1131
  events: 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" }),
@@ -1014,6 +1140,12 @@ var zCreateBookingInputBody = z.object({
1014
1140
  start_dt: z.string(),
1015
1141
  title: z.string().min(1).max(255)
1016
1142
  });
1143
+ var zCreateCredentialInputBody = z.object({
1144
+ $schema: z.url().readonly().optional(),
1145
+ expires_at: z.iso.datetime().optional(),
1146
+ name: z.string().min(1),
1147
+ permissions: z.array(z.string()).nullable()
1148
+ });
1017
1149
  var zCreateEventInputBody = z.object({
1018
1150
  $schema: z.url().readonly().optional(),
1019
1151
  address: z.string().optional(),
@@ -1049,6 +1181,24 @@ var zCreatePlaceInputBody = z.object({
1049
1181
  title: z.string().min(1),
1050
1182
  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()
1051
1183
  });
1184
+ var zCreateSeriesInput = z.object({
1185
+ $schema: z.url().readonly().optional(),
1186
+ end_count: 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(),
1187
+ end_date: z.iso.datetime().optional(),
1188
+ ends_on: z.enum([
1189
+ "never",
1190
+ "on_date",
1191
+ "after_n"
1192
+ ]),
1193
+ freq: z.enum([
1194
+ "daily",
1195
+ "weekly",
1196
+ "monthly",
1197
+ "custom"
1198
+ ]),
1199
+ interval: z.coerce.bigint().gte(BigInt(1)).lte(BigInt(99)),
1200
+ repeat_days: z.array(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" })).nullish()
1201
+ });
1052
1202
  var zCreateSpaceInputBody = z.object({
1053
1203
  $schema: z.url().readonly().optional(),
1054
1204
  description: z.string().optional(),
@@ -1058,14 +1208,34 @@ var zCreateSpaceInputBody = z.object({
1058
1208
  title: z.string().min(1),
1059
1209
  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()
1060
1210
  });
1061
- var zCustomRole = z.object({
1211
+ var zCreateWithSeriesInputBody = z.object({
1062
1212
  $schema: z.url().readonly().optional(),
1063
- created_at: z.iso.datetime(),
1213
+ address: z.string().optional(),
1064
1214
  description: z.string().optional(),
1215
+ end_dt: z.iso.datetime().optional(),
1216
+ keywords: z.array(z.string()).nullish(),
1217
+ latitude: z.number().optional(),
1218
+ longitude: z.number().optional(),
1219
+ metadata: z.record(z.string(), z.unknown()).optional(),
1220
+ parent_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" }).optional(),
1221
+ series: zCreateSeriesInput.optional(),
1222
+ start_dt: z.iso.datetime().optional(),
1223
+ timezone: z.string().optional().default("UTC"),
1224
+ title: z.string().min(1),
1225
+ 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().default(BigInt(10))
1226
+ });
1227
+ var zCredentialView = z.object({
1228
+ $schema: z.url().readonly().optional(),
1229
+ created_at: z.iso.datetime(),
1230
+ creator_id: z.string(),
1231
+ expires_at: z.iso.datetime().nullable(),
1065
1232
  id: z.string(),
1233
+ key_prefix: z.string(),
1234
+ last_used_at: z.iso.datetime().nullable(),
1066
1235
  name: z.string(),
1067
- org_id: z.string(),
1236
+ org_id: z.string().nullable(),
1068
1237
  permissions: z.array(z.string()).nullable(),
1238
+ revoked: z.boolean(),
1069
1239
  updated_at: z.iso.datetime()
1070
1240
  });
1071
1241
  var zEntry = z.object({
@@ -1102,6 +1272,7 @@ var zEvent = z.object({
1102
1272
  created_dt: z.iso.datetime(),
1103
1273
  creator_id: z.string(),
1104
1274
  description: z.string().optional(),
1275
+ description_override: z.string().optional(),
1105
1276
  end_dt: z.iso.datetime().optional(),
1106
1277
  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" }),
1107
1278
  is_deleted: z.boolean(),
@@ -1110,10 +1281,14 @@ var zEvent = z.object({
1110
1281
  latitude: z.number().optional(),
1111
1282
  longitude: z.number().optional(),
1112
1283
  metadata: z.record(z.string(), z.unknown()).optional(),
1284
+ metadata_override: z.record(z.string(), z.unknown()).optional(),
1113
1285
  org_id: z.string().optional(),
1114
1286
  parent_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" }).optional(),
1115
1287
  published_at: z.iso.datetime().optional(),
1116
1288
  published_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(),
1289
+ series_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(),
1290
+ series_index: 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(),
1291
+ series_title: z.string().optional(),
1117
1292
  start_dt: z.iso.datetime().optional(),
1118
1293
  status: z.enum([
1119
1294
  "draft",
@@ -1122,21 +1297,112 @@ var zEvent = z.object({
1122
1297
  ]),
1123
1298
  timezone: z.string(),
1124
1299
  title: z.string(),
1300
+ title_override: z.string().optional(),
1125
1301
  updated_at: z.iso.datetime(),
1126
1302
  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" }),
1127
1303
  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" })
1128
1304
  });
1129
1305
  var zCalendarEventsOutputBody = z.object({
1130
1306
  $schema: z.url().readonly().optional(),
1131
- items: z.array(zEvent).nullable()
1307
+ items: z.array(zEvent).nullable(),
1308
+ next_cursor: z.string().nullable()
1309
+ });
1310
+ var zCreateWithSeriesOutputBody = z.object({
1311
+ $schema: z.url().readonly().optional(),
1312
+ event: zEvent,
1313
+ occurrences: z.array(zEvent).nullish()
1314
+ });
1315
+ var zEventAutomationAction = z.object({
1316
+ body: z.string().optional(),
1317
+ event_type: z.string().optional(),
1318
+ payload: z.record(z.string(), z.unknown()).optional(),
1319
+ recipients: z.array(z.string()).nullish(),
1320
+ subject: z.string().optional(),
1321
+ type: z.enum([
1322
+ "send_email_notification",
1323
+ "send_push_notification",
1324
+ "send_in_app_notification",
1325
+ "webhook"
1326
+ ]),
1327
+ url: z.string().optional()
1328
+ });
1329
+ var zEventAutomationTrigger = z.object({
1330
+ offset_minutes: 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(),
1331
+ type: z.enum([
1332
+ "manual",
1333
+ "event.published",
1334
+ "before_start",
1335
+ "after_end"
1336
+ ])
1337
+ });
1338
+ var zEventAutomationRule = z.object({
1339
+ $schema: z.url().readonly().optional(),
1340
+ actions: z.array(zEventAutomationAction).nullable(),
1341
+ created_at: z.iso.datetime(),
1342
+ description: z.string().optional(),
1343
+ enabled: z.boolean(),
1344
+ id: z.string(),
1345
+ name: z.string(),
1346
+ trigger: zEventAutomationTrigger,
1347
+ updated_at: z.iso.datetime()
1348
+ });
1349
+ var zEventAutomationTemplate = z.object({
1350
+ actions: z.array(zEventAutomationAction).nullable(),
1351
+ description: z.string(),
1352
+ id: z.string(),
1353
+ name: z.string(),
1354
+ trigger: zEventAutomationTrigger
1355
+ });
1356
+ var zEventAutomationUpsertInput = z.object({
1357
+ $schema: z.url().readonly().optional(),
1358
+ actions: z.array(zEventAutomationAction).nullable(),
1359
+ description: z.string().optional(),
1360
+ enabled: z.boolean().optional(),
1361
+ name: z.string(),
1362
+ trigger: zEventAutomationTrigger
1363
+ });
1364
+ var zEventLink = z.object({
1365
+ $schema: z.url().readonly().optional(),
1366
+ created_at: z.iso.datetime(),
1367
+ 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" }).optional(),
1368
+ 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" }),
1369
+ series_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(),
1370
+ target_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" })
1371
+ });
1372
+ var zEventLinkTargetSummary = z.object({
1373
+ end_dt: z.iso.datetime(),
1374
+ 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" }),
1375
+ start_dt: z.iso.datetime(),
1376
+ title: z.string(),
1377
+ 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" })
1378
+ });
1379
+ var zEventLinkWithTarget = z.object({
1380
+ created_at: z.iso.datetime(),
1381
+ 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" }).optional(),
1382
+ 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" }),
1383
+ series_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(),
1384
+ target: zEventLinkTargetSummary,
1385
+ target_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" })
1132
1386
  });
1133
1387
  var zEventManager = z.object({
1134
1388
  $schema: z.url().readonly().optional(),
1389
+ accepted_at: z.iso.datetime().optional(),
1135
1390
  created_at: z.iso.datetime(),
1136
1391
  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" }),
1392
+ expires_at: z.iso.datetime(),
1137
1393
  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" }),
1394
+ invite_token: z.string().optional(),
1395
+ invited_at: z.iso.datetime(),
1396
+ invited_by: z.string().optional(),
1397
+ invited_email: z.string().optional(),
1138
1398
  org_id: z.string().optional(),
1139
1399
  permissions: z.array(z.string()).nullable(),
1400
+ series_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(),
1401
+ status: z.enum([
1402
+ "pending",
1403
+ "active",
1404
+ "revoked"
1405
+ ]),
1140
1406
  updated_at: z.iso.datetime(),
1141
1407
  user_id: z.string()
1142
1408
  });
@@ -1158,6 +1424,59 @@ var zEventPatch = z.object({
1158
1424
  title: z.string().min(1).optional(),
1159
1425
  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()
1160
1426
  });
1427
+ var zEventSeries = z.object({
1428
+ $schema: z.url().readonly().optional(),
1429
+ address: z.string().optional(),
1430
+ cover_image_key: z.string().optional(),
1431
+ created_at: z.iso.datetime(),
1432
+ creator_id: z.string(),
1433
+ description: z.string().optional(),
1434
+ duration: z.string(),
1435
+ end_count: 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(),
1436
+ end_date: z.iso.datetime().optional(),
1437
+ end_dt: z.iso.datetime().optional(),
1438
+ ends_on: z.enum([
1439
+ "never",
1440
+ "on_date",
1441
+ "after_n"
1442
+ ]),
1443
+ freq: z.enum([
1444
+ "daily",
1445
+ "weekly",
1446
+ "monthly",
1447
+ "custom"
1448
+ ]),
1449
+ 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" }),
1450
+ interval: 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" }),
1451
+ is_deleted: z.boolean(),
1452
+ keywords: z.array(z.string()).nullish(),
1453
+ latitude: z.number().optional(),
1454
+ longitude: z.number().optional(),
1455
+ metadata: z.record(z.string(), z.unknown()).optional(),
1456
+ org_id: z.string().optional(),
1457
+ published_at: z.iso.datetime().optional(),
1458
+ published_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(),
1459
+ repeat_days: z.array(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" })).nullish(),
1460
+ series_manager_accepted_at: z.iso.datetime().optional(),
1461
+ series_manager_expires_at: z.iso.datetime().optional(),
1462
+ series_manager_id: z.string().optional(),
1463
+ series_manager_invite_token: z.string().optional(),
1464
+ series_manager_invited_at: z.iso.datetime().optional(),
1465
+ series_manager_invited_by: z.string().optional(),
1466
+ series_manager_invited_email: z.string().optional(),
1467
+ series_manager_status: z.string().optional(),
1468
+ start_dt: z.iso.datetime().optional(),
1469
+ status: z.enum([
1470
+ "draft",
1471
+ "published",
1472
+ "archived"
1473
+ ]),
1474
+ timezone: z.string(),
1475
+ title: z.string(),
1476
+ updated_at: z.iso.datetime(),
1477
+ 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" }),
1478
+ 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" })
1479
+ });
1161
1480
  var zEventSpaceLink = z.object({
1162
1481
  $schema: z.url().readonly().optional(),
1163
1482
  created_at: z.iso.datetime(),
@@ -1167,6 +1486,22 @@ var zEventSpaceLink = z.object({
1167
1486
  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" }),
1168
1487
  updated_at: z.iso.datetime()
1169
1488
  });
1489
+ var zEventSpaceSummary = z.object({
1490
+ description: z.string(),
1491
+ status: z.string(),
1492
+ timezone: z.string(),
1493
+ title: z.string(),
1494
+ 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()
1495
+ });
1496
+ var zEventSpaceLinkDetail = z.object({
1497
+ created_at: z.iso.datetime(),
1498
+ 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" }),
1499
+ 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" }),
1500
+ org_id: z.string().optional(),
1501
+ space: zEventSpaceSummary,
1502
+ 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" }),
1503
+ updated_at: z.iso.datetime()
1504
+ });
1170
1505
  var zEventSummary = z.object({
1171
1506
  attendee_count: 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" }),
1172
1507
  end_dt: z.string(),
@@ -1182,6 +1517,10 @@ var zEventSummary = z.object({
1182
1517
  ]),
1183
1518
  title: z.string()
1184
1519
  });
1520
+ var zExecuteAutomationResponse = z.object({
1521
+ $schema: z.url().readonly().optional(),
1522
+ message: z.string()
1523
+ });
1185
1524
  var zExecuteOutputBody = z.object({
1186
1525
  $schema: z.url().readonly().optional(),
1187
1526
  message: z.string()
@@ -1218,6 +1557,20 @@ var zInvite = z.object({
1218
1557
  role: z.string(),
1219
1558
  status: z.string()
1220
1559
  });
1560
+ var zInviteEventManagerInputBody = z.object({
1561
+ $schema: z.url().readonly().optional(),
1562
+ email: z.string().min(1),
1563
+ permissions: z.array(z.string()).nullable()
1564
+ });
1565
+ var zInviteSeriesManagerInputBody = z.object({
1566
+ $schema: z.url().readonly().optional(),
1567
+ email: z.string()
1568
+ });
1569
+ var zInviteSpaceManagerInputBody = z.object({
1570
+ $schema: z.url().readonly().optional(),
1571
+ email: z.string().min(1),
1572
+ permissions: z.array(z.string()).nullable()
1573
+ });
1221
1574
  var zListInvitesOutputBody = z.object({
1222
1575
  $schema: z.url().readonly().optional(),
1223
1576
  items: z.array(zInvite).nullable(),
@@ -1230,16 +1583,6 @@ var zListOutputBody = z.object({
1230
1583
  size: 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" }),
1231
1584
  total: 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" })
1232
1585
  });
1233
- var zListPermissionsOutputBody = z.object({
1234
- $schema: z.url().readonly().optional(),
1235
- items: z.array(z.string()).nullable(),
1236
- total: 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" })
1237
- });
1238
- var zListRolesOutputBody = z.object({
1239
- $schema: z.url().readonly().optional(),
1240
- items: z.array(zCustomRole).nullable(),
1241
- total: 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" })
1242
- });
1243
1586
  var zLivenessOutputBody = z.object({
1244
1587
  $schema: z.url().readonly().optional(),
1245
1588
  service: z.string(),
@@ -1262,8 +1605,51 @@ var zMilestone = z.object({
1262
1605
  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" }),
1263
1606
  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" }),
1264
1607
  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" }),
1608
+ series_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(),
1609
+ status: z.enum([
1610
+ "planned",
1611
+ "ready",
1612
+ "active",
1613
+ "completed",
1614
+ "skipped"
1615
+ ]),
1616
+ status_mode: z.enum(["derived", "manual"]),
1617
+ status_updated_at: z.iso.datetime().optional(),
1618
+ updated_at: z.iso.datetime()
1619
+ });
1620
+ var zMilestoneEventSummary = z.object({
1621
+ end_dt: z.iso.datetime().nullable(),
1622
+ 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" }),
1623
+ start_dt: z.iso.datetime().nullable(),
1624
+ status: z.string(),
1625
+ timezone: z.string(),
1626
+ title: z.string(),
1627
+ 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" })
1628
+ });
1629
+ var zMilestoneDetail = z.object({
1630
+ base_event: zMilestoneEventSummary,
1631
+ base_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" }),
1632
+ created_at: z.iso.datetime(),
1633
+ 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" }),
1634
+ milestone_event: zMilestoneEventSummary,
1635
+ 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" }),
1636
+ 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" }),
1637
+ series_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(),
1638
+ status: z.enum([
1639
+ "planned",
1640
+ "ready",
1641
+ "active",
1642
+ "completed",
1643
+ "skipped"
1644
+ ]),
1645
+ status_mode: z.enum(["derived", "manual"]),
1646
+ status_updated_at: z.iso.datetime().optional(),
1265
1647
  updated_at: z.iso.datetime()
1266
1648
  });
1649
+ var zNewCredentialView = z.object({
1650
+ $schema: z.url().readonly().optional(),
1651
+ raw_token: z.string()
1652
+ });
1267
1653
  var zOptions = z.object({
1268
1654
  $schema: z.url().readonly().optional(),
1269
1655
  channels: z.array(z.string()).nullish(),
@@ -1287,9 +1673,53 @@ var zListOrgsOutputBody = z.object({
1287
1673
  items: z.array(zOrganization).nullable(),
1288
1674
  total: 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" })
1289
1675
  });
1290
- var zPagedBodyAttendee = z.object({
1676
+ var zOverviewActivity = z.object({
1677
+ created_at: z.iso.datetime(),
1678
+ message: z.string(),
1679
+ resource_id: z.string(),
1680
+ title: z.string(),
1681
+ type: z.enum([
1682
+ "contact",
1683
+ "material",
1684
+ "member",
1685
+ "event"
1686
+ ])
1687
+ });
1688
+ var zOverviewEvent = z.object({
1689
+ attendee_count: 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" }),
1690
+ end_at: z.iso.datetime().optional(),
1691
+ has_materials: z.boolean(),
1692
+ 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" }),
1693
+ space_title: z.string().optional(),
1694
+ start_at: z.iso.datetime().optional(),
1695
+ status: z.enum(["live", "upcoming"]),
1696
+ timezone: z.string(),
1697
+ title: z.string()
1698
+ });
1699
+ var zOverviewSpace = z.object({
1700
+ 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" }),
1701
+ member_count: 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" }),
1702
+ title: z.string(),
1703
+ upcoming_event_count: 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" })
1704
+ });
1705
+ var zOverview = z.object({
1706
+ $schema: z.url().readonly().optional(),
1707
+ generated_at: z.iso.datetime(),
1708
+ recent_activity: z.array(zOverviewActivity).nullable(),
1709
+ spaces: z.array(zOverviewSpace).nullable(),
1710
+ this_week: z.array(zOverviewEvent).nullable(),
1711
+ today: z.array(zOverviewEvent).nullable()
1712
+ });
1713
+ var zPagedBodyAnnouncement = z.object({
1714
+ $schema: z.url().readonly().optional(),
1715
+ items: z.array(zAnnouncement).nullable(),
1716
+ page: 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" }),
1717
+ size: 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" }),
1718
+ total: 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" })
1719
+ });
1720
+ var zPagedBodyAttendeeDetail = z.object({
1291
1721
  $schema: z.url().readonly().optional(),
1292
- items: z.array(zAttendee).nullable(),
1722
+ items: z.array(zAttendeeDetail).nullable(),
1293
1723
  page: 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" }),
1294
1724
  size: 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" }),
1295
1725
  total: 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" })
@@ -1308,6 +1738,13 @@ var zPagedBodyEvent = z.object({
1308
1738
  size: 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" }),
1309
1739
  total: 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" })
1310
1740
  });
1741
+ var zPagedBodyEventAutomationRule = z.object({
1742
+ $schema: z.url().readonly().optional(),
1743
+ items: z.array(zEventAutomationRule).nullable(),
1744
+ page: 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" }),
1745
+ size: 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" }),
1746
+ total: 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" })
1747
+ });
1311
1748
  var zPagedBodyEventManager = z.object({
1312
1749
  $schema: z.url().readonly().optional(),
1313
1750
  items: z.array(zEventManager).nullable(),
@@ -1315,9 +1752,9 @@ var zPagedBodyEventManager = z.object({
1315
1752
  size: 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" }),
1316
1753
  total: 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" })
1317
1754
  });
1318
- var zPagedBodyEventSpaceLink = z.object({
1755
+ var zPagedBodyEventSpaceLinkDetail = z.object({
1319
1756
  $schema: z.url().readonly().optional(),
1320
- items: z.array(zEventSpaceLink).nullable(),
1757
+ items: z.array(zEventSpaceLinkDetail).nullable(),
1321
1758
  page: 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" }),
1322
1759
  size: 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" }),
1323
1760
  total: 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" })
@@ -1336,23 +1773,94 @@ var zPagedBodyMember = z.object({
1336
1773
  size: 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" }),
1337
1774
  total: 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" })
1338
1775
  });
1339
- var zPagedBodyMilestone = z.object({
1776
+ var zPagedBodyMilestoneDetail = z.object({
1340
1777
  $schema: z.url().readonly().optional(),
1341
- items: z.array(zMilestone).nullable(),
1778
+ items: z.array(zMilestoneDetail).nullable(),
1342
1779
  page: 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" }),
1343
1780
  size: 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" }),
1344
1781
  total: 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" })
1345
1782
  });
1346
- var zPlace = z.object({
1783
+ var zPaginatedOccurrences = z.object({
1347
1784
  $schema: z.url().readonly().optional(),
1348
- amenities: z.array(z.string()).nullable(),
1349
- capacity: 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" }).nullable(),
1350
- created_at: z.iso.datetime(),
1351
- created_dt: z.iso.datetime(),
1352
- creator_id: z.string(),
1353
- description: z.string(),
1354
- 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" }),
1355
- is_deleted: z.boolean(),
1785
+ items: z.array(zEvent).nullable(),
1786
+ limit: 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" }),
1787
+ page: 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" }),
1788
+ total: 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" }),
1789
+ total_pages: 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" })
1790
+ });
1791
+ var zPatchMilestoneInputBody = z.object({
1792
+ $schema: z.url().readonly().optional(),
1793
+ reset_to_derived: z.boolean().optional(),
1794
+ status: z.enum([
1795
+ "planned",
1796
+ "ready",
1797
+ "active",
1798
+ "completed",
1799
+ "skipped"
1800
+ ]).optional()
1801
+ });
1802
+ var zPatchSeriesMilestoneInputBody = z.object({
1803
+ $schema: z.url().readonly().optional(),
1804
+ reset_to_derived: z.boolean().optional(),
1805
+ status: z.enum([
1806
+ "planned",
1807
+ "ready",
1808
+ "active",
1809
+ "completed",
1810
+ "skipped"
1811
+ ]).optional()
1812
+ });
1813
+ var zPendingEventManagerInvite = z.object({
1814
+ 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" }),
1815
+ event_title: z.string(),
1816
+ expires_at: z.iso.datetime(),
1817
+ invite_token: z.string(),
1818
+ invited_at: z.iso.datetime(),
1819
+ invited_by: z.string().optional(),
1820
+ invited_email: z.string().optional(),
1821
+ permissions: z.array(z.string()).nullable()
1822
+ });
1823
+ var zListPendingEventManagerInvitesOutputBody = z.object({
1824
+ $schema: z.url().readonly().optional(),
1825
+ items: z.array(zPendingEventManagerInvite).nullable()
1826
+ });
1827
+ var zPendingManagerInvite = z.object({
1828
+ expires_at: z.iso.datetime(),
1829
+ invite_token: z.string(),
1830
+ invited_at: z.iso.datetime(),
1831
+ invited_by: z.string().optional(),
1832
+ invited_email: z.string().optional(),
1833
+ permissions: z.array(z.string()).nullable(),
1834
+ 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" }),
1835
+ space_title: z.string()
1836
+ });
1837
+ var zListPendingManagerInvitesOutputBody = z.object({
1838
+ $schema: z.url().readonly().optional(),
1839
+ items: z.array(zPendingManagerInvite).nullable()
1840
+ });
1841
+ var zPendingSeriesManagerInvite = z.object({
1842
+ expires_at: z.iso.datetime(),
1843
+ invite_token: z.string(),
1844
+ invited_at: z.iso.datetime(),
1845
+ invited_by: z.string().optional(),
1846
+ invited_email: z.string().optional(),
1847
+ series_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" }),
1848
+ series_title: z.string()
1849
+ });
1850
+ var zPendingManagerInvitesOutputBody = z.object({
1851
+ $schema: z.url().readonly().optional(),
1852
+ items: z.array(zPendingSeriesManagerInvite).nullable()
1853
+ });
1854
+ var zPlace = z.object({
1855
+ $schema: z.url().readonly().optional(),
1856
+ amenities: z.array(z.string()).nullable(),
1857
+ capacity: 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" }).nullable(),
1858
+ created_at: z.iso.datetime(),
1859
+ created_dt: z.iso.datetime(),
1860
+ creator_id: z.string(),
1861
+ description: z.string(),
1862
+ 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" }),
1863
+ is_deleted: z.boolean(),
1356
1864
  is_locked: z.boolean(),
1357
1865
  keywords: z.array(z.string()).nullable(),
1358
1866
  location_description: z.string().nullable(),
@@ -1383,6 +1891,53 @@ var zProfile = z.object({
1383
1891
  updated_at: z.iso.datetime(),
1384
1892
  username: z.string().optional()
1385
1893
  });
1894
+ var zPublicEventSummary = z.object({
1895
+ address: z.string().optional(),
1896
+ description: z.string().optional(),
1897
+ end_dt: z.iso.datetime().optional(),
1898
+ 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" }),
1899
+ start_dt: z.iso.datetime().optional(),
1900
+ timezone: z.string(),
1901
+ title: z.string()
1902
+ });
1903
+ var zPublicOrganizationSummary = z.object({
1904
+ id: z.string(),
1905
+ name: z.string()
1906
+ });
1907
+ var zPublicOwnerSummary = z.object({
1908
+ avatar_url: z.string().optional(),
1909
+ name: z.string(),
1910
+ type: z.string()
1911
+ });
1912
+ var zPublicPersonPreview = z.object({
1913
+ avatar_url: z.string().optional(),
1914
+ display_name: z.string(),
1915
+ initials: z.string()
1916
+ });
1917
+ var zPublicSpaceStats = z.object({
1918
+ events_count: 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" }),
1919
+ managers_count: 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" }),
1920
+ members_count: 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" }),
1921
+ subspaces_count: 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" })
1922
+ });
1923
+ var zPublicSpaceSummary = z.object({
1924
+ description: z.string(),
1925
+ 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" }),
1926
+ parent_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(),
1927
+ published_at: z.iso.datetime().optional(),
1928
+ timezone: z.string(),
1929
+ title: z.string(),
1930
+ 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" })
1931
+ });
1932
+ var zPublicViewerCapabilities = z.object({
1933
+ can_manage: z.boolean(),
1934
+ can_open_in_studio: z.boolean(),
1935
+ can_request_join: z.boolean()
1936
+ });
1937
+ var zPublishAnnouncementInputBody = z.object({
1938
+ $schema: z.url().readonly().optional(),
1939
+ recipients: z.array(z.string()).nullable()
1940
+ });
1386
1941
  var zReadinessOutputBody = z.object({
1387
1942
  $schema: z.url().readonly().optional(),
1388
1943
  status: z.record(z.string(), z.string())
@@ -1402,12 +1957,6 @@ var zPulse = z.object({
1402
1957
  "quiet"
1403
1958
  ])
1404
1959
  });
1405
- var zRoleBody = z.object({
1406
- $schema: z.url().readonly().optional(),
1407
- description: z.string().max(500).optional(),
1408
- name: z.string().min(1).max(100),
1409
- permissions: z.array(z.string()).nullable()
1410
- });
1411
1960
  var zSchedule = z.object({
1412
1961
  cron_expression: z.string().optional(),
1413
1962
  event_type: z.string().optional()
@@ -1417,6 +1966,7 @@ var zRule = z.object({
1417
1966
  actions: z.array(z.record(z.string(), z.unknown())).nullable(),
1418
1967
  conditions: z.record(z.string(), z.unknown()),
1419
1968
  created_at: z.iso.datetime(),
1969
+ created_by_kind: z.string(),
1420
1970
  creator_id: z.string(),
1421
1971
  description: z.string().optional(),
1422
1972
  enabled: z.boolean(),
@@ -1462,6 +2012,47 @@ var zSearchOutputBody = z.object({
1462
2012
  query: z.string(),
1463
2013
  total: 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" })
1464
2014
  });
2015
+ var zSeriesPatch = z.object({
2016
+ $schema: z.url().readonly().optional(),
2017
+ address: z.string().optional(),
2018
+ cover_image_key: z.string().optional(),
2019
+ description: z.string().optional(),
2020
+ end_count: 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(),
2021
+ end_date: z.iso.datetime().optional(),
2022
+ end_dt: z.iso.datetime().optional(),
2023
+ ends_on: z.enum([
2024
+ "never",
2025
+ "on_date",
2026
+ "after_n"
2027
+ ]).optional(),
2028
+ freq: z.enum([
2029
+ "daily",
2030
+ "weekly",
2031
+ "monthly",
2032
+ "custom"
2033
+ ]).optional(),
2034
+ interval: 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(),
2035
+ keywords: z.array(z.string()).optional(),
2036
+ latitude: z.number().optional(),
2037
+ longitude: z.number().optional(),
2038
+ metadata: z.record(z.string(), z.unknown()).optional(),
2039
+ repeat_days: z.array(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(),
2040
+ start_dt: z.iso.datetime().optional(),
2041
+ timezone: z.string().optional(),
2042
+ title: z.string().min(1).optional(),
2043
+ 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()
2044
+ });
2045
+ var zSeriesWithOccurrences = z.object({
2046
+ $schema: z.url().readonly().optional(),
2047
+ attendee_counts: z.record(z.string(), 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" })),
2048
+ limit: 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" }),
2049
+ occurrences: z.array(zEvent).nullable(),
2050
+ page: 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" }),
2051
+ series: zEventSeries,
2052
+ total: 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" }),
2053
+ total_attendees: 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" }),
2054
+ total_pages: 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" })
2055
+ });
1465
2056
  var zSpace = z.object({
1466
2057
  $schema: z.url().readonly().optional(),
1467
2058
  created_at: z.iso.datetime(),
@@ -1492,6 +2083,131 @@ var zPagedBodySpace = z.object({
1492
2083
  size: 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" }),
1493
2084
  total: 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" })
1494
2085
  });
2086
+ var zSpaceActivity = z.object({
2087
+ created_at: z.iso.datetime(),
2088
+ message: z.string(),
2089
+ resource_id: z.string(),
2090
+ title: z.string(),
2091
+ type: z.enum([
2092
+ "contact",
2093
+ "event",
2094
+ "member",
2095
+ "announcement"
2096
+ ])
2097
+ });
2098
+ var zPagedBodySpaceActivity = z.object({
2099
+ $schema: z.url().readonly().optional(),
2100
+ items: z.array(zSpaceActivity).nullable(),
2101
+ page: 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" }),
2102
+ size: 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" }),
2103
+ total: 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" })
2104
+ });
2105
+ var zSpaceActivityContributor = z.object({
2106
+ actor_email: z.string().optional(),
2107
+ actor_id: z.string().optional(),
2108
+ actor_name: z.string(),
2109
+ count: 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" })
2110
+ });
2111
+ var zSpaceActivityLogItem = z.object({
2112
+ action: z.string(),
2113
+ actor_email: z.string().optional(),
2114
+ actor_id: z.string().optional(),
2115
+ actor_name: z.string(),
2116
+ created_at: z.iso.datetime(),
2117
+ detail: z.string().optional(),
2118
+ resource_id: z.string(),
2119
+ target: z.string(),
2120
+ type: z.enum([
2121
+ "contact",
2122
+ "event",
2123
+ "member",
2124
+ "announcement",
2125
+ "material"
2126
+ ])
2127
+ });
2128
+ var zSpaceActivitySummary = z.object({
2129
+ announcements: 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" }),
2130
+ documents_uploaded: 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" }),
2131
+ events_created: 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" }),
2132
+ members_joined: 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" })
2133
+ });
2134
+ var zSpaceActivityLogResult = z.object({
2135
+ $schema: z.url().readonly().optional(),
2136
+ contributors: z.array(zSpaceActivityContributor).nullable(),
2137
+ end_date: z.string().optional(),
2138
+ items: z.array(zSpaceActivityLogItem).nullable(),
2139
+ page: 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" }),
2140
+ size: 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" }),
2141
+ start_date: z.string().optional(),
2142
+ summary: zSpaceActivitySummary,
2143
+ total: 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" })
2144
+ });
2145
+ var zSpaceAnalyticsAttentionRow = z.object({
2146
+ 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" }),
2147
+ reason: z.string(),
2148
+ rsvps: 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" }),
2149
+ start_at: z.iso.datetime().optional(),
2150
+ threshold: 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" }),
2151
+ title: z.string()
2152
+ });
2153
+ var zSpaceAnalyticsEventRow = z.object({
2154
+ attended: 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" }),
2155
+ end_at: z.iso.datetime().optional(),
2156
+ 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" }),
2157
+ needs_care: z.boolean(),
2158
+ rate: 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" }),
2159
+ rsvps: 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" }),
2160
+ start_at: z.iso.datetime().optional(),
2161
+ status: z.string(),
2162
+ title: z.string(),
2163
+ upcoming: z.boolean()
2164
+ });
2165
+ var zSpaceAnalyticsGrowthPoint = z.object({
2166
+ date: z.iso.datetime(),
2167
+ label: z.string(),
2168
+ members: 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" })
2169
+ });
2170
+ var zSpaceAnalyticsSummary = z.object({
2171
+ active_members: 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" }),
2172
+ avg_attendance_rate: 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" }),
2173
+ events_published: 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" }),
2174
+ total_rsvps: 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" }),
2175
+ upcoming_events: 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" })
2176
+ });
2177
+ var zSpaceAnalyticsTrendPoint = z.object({
2178
+ attended: 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" }),
2179
+ date: z.iso.datetime(),
2180
+ 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" }),
2181
+ label: z.string(),
2182
+ rate: 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" }),
2183
+ rsvps: 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" })
2184
+ });
2185
+ var zSpaceAnalyticsResult = z.object({
2186
+ $schema: z.url().readonly().optional(),
2187
+ attendance_trend: z.array(zSpaceAnalyticsTrendPoint).nullable(),
2188
+ attention_needed: z.array(zSpaceAnalyticsAttentionRow).nullable(),
2189
+ events_performance: z.array(zSpaceAnalyticsEventRow).nullable(),
2190
+ member_growth: z.array(zSpaceAnalyticsGrowthPoint).nullable(),
2191
+ summary: zSpaceAnalyticsSummary,
2192
+ top_by_rsvp: z.array(zSpaceAnalyticsEventRow).nullable()
2193
+ });
2194
+ var zSpaceAnnouncementDetail = z.object({
2195
+ $schema: z.url().readonly().optional(),
2196
+ announcement: zAnnouncementSummary,
2197
+ announcement_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" }),
2198
+ created_at: z.iso.datetime(),
2199
+ 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" }),
2200
+ org_id: z.string().optional(),
2201
+ 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" }),
2202
+ updated_at: z.iso.datetime()
2203
+ });
2204
+ var zPagedBodySpaceAnnouncementDetail = z.object({
2205
+ $schema: z.url().readonly().optional(),
2206
+ items: z.array(zSpaceAnnouncementDetail).nullable(),
2207
+ page: 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" }),
2208
+ size: 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" }),
2209
+ total: 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" })
2210
+ });
1495
2211
  var zSpaceContact = z.object({
1496
2212
  $schema: z.url().readonly().optional(),
1497
2213
  contact_id: z.string(),
@@ -1500,9 +2216,23 @@ var zSpaceContact = z.object({
1500
2216
  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" }),
1501
2217
  updated_at: z.iso.datetime()
1502
2218
  });
1503
- var zPagedBodySpaceContact = z.object({
2219
+ var zSpaceContactSummary = z.object({
2220
+ email: z.string().optional(),
2221
+ first_name: z.string().optional(),
2222
+ last_name: z.string().optional(),
2223
+ phone_primary: z.string().optional()
2224
+ });
2225
+ var zSpaceContactDetail = z.object({
2226
+ contact: zSpaceContactSummary,
2227
+ contact_id: z.string(),
2228
+ created_at: z.iso.datetime(),
2229
+ 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" }),
2230
+ 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" }),
2231
+ updated_at: z.iso.datetime()
2232
+ });
2233
+ var zPagedBodySpaceContactDetail = z.object({
1504
2234
  $schema: z.url().readonly().optional(),
1505
- items: z.array(zSpaceContact).nullable(),
2235
+ items: z.array(zSpaceContactDetail).nullable(),
1506
2236
  page: 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" }),
1507
2237
  size: 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" }),
1508
2238
  total: 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" })
@@ -1516,20 +2246,46 @@ var zSpaceEventLink = z.object({
1516
2246
  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" }),
1517
2247
  updated_at: z.iso.datetime()
1518
2248
  });
1519
- var zPagedBodySpaceEventLink = z.object({
2249
+ var zSpaceEventSummary = z.object({
2250
+ end_dt: z.iso.datetime().optional(),
2251
+ start_dt: z.iso.datetime().optional(),
2252
+ status: z.string(),
2253
+ title: z.string()
2254
+ });
2255
+ var zSpaceEventLinkDetail = z.object({
2256
+ created_at: z.iso.datetime(),
2257
+ event: zSpaceEventSummary,
2258
+ 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" }),
2259
+ 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" }),
2260
+ org_id: z.string().optional(),
2261
+ 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" }),
2262
+ updated_at: z.iso.datetime()
2263
+ });
2264
+ var zPagedBodySpaceEventLinkDetail = z.object({
1520
2265
  $schema: z.url().readonly().optional(),
1521
- items: z.array(zSpaceEventLink).nullable(),
2266
+ items: z.array(zSpaceEventLinkDetail).nullable(),
1522
2267
  page: 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" }),
1523
2268
  size: 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" }),
1524
2269
  total: 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" })
1525
2270
  });
1526
2271
  var zSpaceManager = z.object({
1527
2272
  $schema: z.url().readonly().optional(),
2273
+ accepted_at: z.iso.datetime().optional(),
1528
2274
  created_at: z.iso.datetime(),
2275
+ expires_at: z.iso.datetime(),
1529
2276
  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" }),
2277
+ invite_token: z.string().optional(),
2278
+ invited_at: z.iso.datetime(),
2279
+ invited_by: z.string().optional(),
2280
+ invited_email: z.string().optional(),
1530
2281
  org_id: z.string().optional(),
1531
2282
  permissions: z.array(z.string()).nullable(),
1532
2283
  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" }),
2284
+ status: z.enum([
2285
+ "pending",
2286
+ "active",
2287
+ "revoked"
2288
+ ]),
1533
2289
  updated_at: z.iso.datetime(),
1534
2290
  user_id: z.string()
1535
2291
  });
@@ -1544,6 +2300,18 @@ var zSpaceManagerPermissionsOutputBody = z.object({
1544
2300
  $schema: z.url().readonly().optional(),
1545
2301
  permissions: z.array(z.string()).nullable()
1546
2302
  });
2303
+ var zSpacePage = z.object({
2304
+ $schema: z.url().readonly().optional(),
2305
+ managers: z.array(zPublicPersonPreview).nullable(),
2306
+ members: z.array(zPublicPersonPreview).nullable(),
2307
+ organization: zPublicOrganizationSummary.optional(),
2308
+ owner: zPublicOwnerSummary.optional(),
2309
+ space: zPublicSpaceSummary,
2310
+ stats: zPublicSpaceStats,
2311
+ subspaces: z.array(zPublicSpaceSummary).nullable(),
2312
+ upcoming_events: z.array(zPublicEventSummary).nullable(),
2313
+ viewer: zPublicViewerCapabilities.optional()
2314
+ });
1547
2315
  var zSpacePatch = z.object({
1548
2316
  $schema: z.url().readonly().optional(),
1549
2317
  description: z.string().optional(),
@@ -1552,6 +2320,22 @@ var zSpacePatch = z.object({
1552
2320
  title: z.string().min(1).optional(),
1553
2321
  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()
1554
2322
  });
2323
+ var zSpaceSettings = z.object({
2324
+ $schema: z.url().readonly().optional(),
2325
+ created_at: z.iso.datetime(),
2326
+ notify_on_announcement: z.boolean(),
2327
+ notify_on_document: z.boolean(),
2328
+ notify_on_event: z.boolean(),
2329
+ org_id: z.string().optional(),
2330
+ 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" }),
2331
+ updated_at: z.iso.datetime()
2332
+ });
2333
+ var zSpaceSettingsPatch = z.object({
2334
+ $schema: z.url().readonly().optional(),
2335
+ notify_on_announcement: z.boolean().optional(),
2336
+ notify_on_document: z.boolean().optional(),
2337
+ notify_on_event: z.boolean().optional()
2338
+ });
1555
2339
  var zSpaceSummary = z.object({
1556
2340
  active_events: z.array(zEventSummary).nullable(),
1557
2341
  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" }),
@@ -1573,6 +2357,12 @@ var zDashboard = z.object({
1573
2357
  spaces: z.array(zSpaceSummary).nullable(),
1574
2358
  total_spaces: 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" })
1575
2359
  });
2360
+ var zTriggerDefinition = z.object({
2361
+ category: z.string().optional(),
2362
+ description: z.string().optional(),
2363
+ label: z.string(),
2364
+ type: z.string()
2365
+ });
1576
2366
  var zUpdateAttendeeStatusInputBody = z.object({
1577
2367
  $schema: z.url().readonly().optional(),
1578
2368
  status: z.enum([
@@ -1634,11 +2424,6 @@ var zUpdatePlaceInputBody = z.object({
1634
2424
  title: z.string().min(1),
1635
2425
  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()
1636
2426
  });
1637
- var zUpdateRoleBody = z.object({
1638
- $schema: z.url().readonly().optional(),
1639
- description: z.string().max(500).optional(),
1640
- permissions: z.array(z.string()).nullable()
1641
- });
1642
2427
  var zUpdateRuleInput = z.object({
1643
2428
  $schema: z.url().readonly().optional(),
1644
2429
  actions: z.array(z.record(z.string(), z.unknown())).nullish(),
@@ -1649,6 +2434,20 @@ var zUpdateRuleInput = z.object({
1649
2434
  priority: 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(),
1650
2435
  schedule: zScheduleInput.optional()
1651
2436
  });
2437
+ var zUpdateSeriesAttendeeStatusInputBody = z.object({
2438
+ $schema: z.url().readonly().optional(),
2439
+ status: z.enum([
2440
+ "invited",
2441
+ "confirmed",
2442
+ "declined",
2443
+ "tentative",
2444
+ "checked_in"
2445
+ ])
2446
+ });
2447
+ var zUpdateSeriesMilestoneInputBody = z.object({
2448
+ $schema: z.url().readonly().optional(),
2449
+ 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" })
2450
+ });
1652
2451
  var zUpdateSpaceInputBody = z.object({
1653
2452
  $schema: z.url().readonly().optional(),
1654
2453
  description: z.string().optional(),
@@ -1661,6 +2460,15 @@ var zUpdateSpaceManagerInputBody = z.object({
1661
2460
  $schema: z.url().readonly().optional(),
1662
2461
  permissions: z.array(z.string()).nullable()
1663
2462
  });
2463
+ var zAcceptEventManagerInviteInputBodyWritable = z.object({
2464
+ token: z.string().min(1)
2465
+ });
2466
+ var zAcceptSeriesManagerInviteInputBodyWritable = z.object({
2467
+ token: z.string()
2468
+ });
2469
+ var zAcceptSpaceManagerInviteInputBodyWritable = z.object({
2470
+ token: z.string().min(1)
2471
+ });
1664
2472
  var zAddAttendeeInputBodyWritable = z.object({
1665
2473
  contact_id: z.string(),
1666
2474
  notes: z.string().optional(),
@@ -1672,6 +2480,9 @@ var zAddAttendeeInputBodyWritable = z.object({
1672
2480
  "checked_in"
1673
2481
  ]).optional()
1674
2482
  });
2483
+ var zAddEventLinkInputBodyWritable = z.object({
2484
+ target_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
+ });
1675
2486
  var zAddEventManagerInputBodyWritable = z.object({
1676
2487
  channels: z.array(z.string()).nullish(),
1677
2488
  message: z.string().optional(),
@@ -1691,7 +2502,30 @@ var zAddMemberInputBodyWritable = z.object({
1691
2502
  });
1692
2503
  var zAddMilestoneInputBodyWritable = z.object({
1693
2504
  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" }),
1694
- 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" }).default(BigInt(0))
2505
+ 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" }).optional()
2506
+ });
2507
+ var zAddSeriesAttendeeInputBodyWritable = z.object({
2508
+ contact_id: z.string(),
2509
+ notes: z.string().optional(),
2510
+ status: z.enum([
2511
+ "invited",
2512
+ "confirmed",
2513
+ "declined",
2514
+ "tentative",
2515
+ "checked_in"
2516
+ ]).optional()
2517
+ });
2518
+ var zAddSeriesLinkInputBodyWritable = z.object({
2519
+ target_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" })
2520
+ });
2521
+ var zAddSeriesMilestoneInputBodyWritable = z.object({
2522
+ 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" }),
2523
+ 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" }).optional()
2524
+ });
2525
+ var zAddSpaceAnnouncementInputBodyWritable = z.object({
2526
+ body: z.string(),
2527
+ send_email: z.boolean(),
2528
+ title: z.string().min(1)
1695
2529
  });
1696
2530
  var zAddSpaceContactInputBodyWritable = z.object({
1697
2531
  contact_id: z.string()
@@ -1710,17 +2544,46 @@ var zAddSpaceManagerInputBodyWritable = z.object({
1710
2544
  priority: z.string().optional(),
1711
2545
  user_id: z.string().min(1)
1712
2546
  });
2547
+ var zAnnouncementWritable = z.object({
2548
+ author_id: z.string(),
2549
+ body: z.string(),
2550
+ created_at: z.iso.datetime(),
2551
+ 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" }),
2552
+ org_id: z.string().optional(),
2553
+ status: z.enum([
2554
+ "draft",
2555
+ "published",
2556
+ "archived"
2557
+ ]),
2558
+ title: z.string(),
2559
+ updated_at: z.iso.datetime()
2560
+ });
2561
+ var zAnnouncementCreateWritable = z.object({
2562
+ body: z.string(),
2563
+ org_id: z.string().optional(),
2564
+ title: z.string().min(1)
2565
+ });
2566
+ var zAnnouncementPatchWritable = z.object({
2567
+ body: z.string().optional(),
2568
+ status: z.enum([
2569
+ "draft",
2570
+ "published",
2571
+ "archived"
2572
+ ]).optional(),
2573
+ title: z.string().optional()
2574
+ });
1713
2575
  var zAttendeeWritable = z.object({
1714
2576
  checked_in_at: z.iso.datetime().optional(),
1715
2577
  contact_id: z.string(),
1716
2578
  created_at: z.iso.datetime(),
1717
- 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" }),
2579
+ 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" }).optional(),
1718
2580
  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" }),
1719
2581
  invited_at: z.iso.datetime().optional(),
1720
2582
  is_checked_in: z.boolean(),
1721
2583
  notes: z.string().optional(),
1722
2584
  org_id: z.string().optional(),
1723
2585
  responded_at: z.iso.datetime().optional(),
2586
+ series_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(),
1724
2587
  status: z.enum([
1725
2588
  "invited",
1726
2589
  "confirmed",
@@ -1848,6 +2711,11 @@ var zCreateBookingInputBodyWritable = z.object({
1848
2711
  start_dt: z.string(),
1849
2712
  title: z.string().min(1).max(255)
1850
2713
  });
2714
+ var zCreateCredentialInputBodyWritable = z.object({
2715
+ expires_at: z.iso.datetime().optional(),
2716
+ name: z.string().min(1),
2717
+ permissions: z.array(z.string()).nullable()
2718
+ });
1851
2719
  var zCreateEventInputBodyWritable = z.object({
1852
2720
  address: z.string().optional(),
1853
2721
  description: z.string().optional(),
@@ -1890,6 +2758,23 @@ var zCreateRuleInputWritable = z.object({
1890
2758
  scope: z.string(),
1891
2759
  scope_id: z.string().optional()
1892
2760
  });
2761
+ var zCreateSeriesInputWritable = z.object({
2762
+ end_count: 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(),
2763
+ end_date: z.iso.datetime().optional(),
2764
+ ends_on: z.enum([
2765
+ "never",
2766
+ "on_date",
2767
+ "after_n"
2768
+ ]),
2769
+ freq: z.enum([
2770
+ "daily",
2771
+ "weekly",
2772
+ "monthly",
2773
+ "custom"
2774
+ ]),
2775
+ interval: z.coerce.bigint().gte(BigInt(1)).lte(BigInt(99)),
2776
+ repeat_days: z.array(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" })).nullish()
2777
+ });
1893
2778
  var zCreateSpaceInputBodyWritable = z.object({
1894
2779
  description: z.string().optional(),
1895
2780
  parent_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(),
@@ -1898,13 +2783,32 @@ var zCreateSpaceInputBodyWritable = z.object({
1898
2783
  title: z.string().min(1),
1899
2784
  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()
1900
2785
  });
1901
- var zCustomRoleWritable = z.object({
1902
- created_at: z.iso.datetime(),
2786
+ var zCreateWithSeriesInputBodyWritable = z.object({
2787
+ address: z.string().optional(),
1903
2788
  description: z.string().optional(),
2789
+ end_dt: z.iso.datetime().optional(),
2790
+ keywords: z.array(z.string()).nullish(),
2791
+ latitude: z.number().optional(),
2792
+ longitude: z.number().optional(),
2793
+ metadata: z.record(z.string(), z.unknown()).optional(),
2794
+ parent_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" }).optional(),
2795
+ series: zCreateSeriesInputWritable.optional(),
2796
+ start_dt: z.iso.datetime().optional(),
2797
+ timezone: z.string().optional().default("UTC"),
2798
+ title: z.string().min(1),
2799
+ 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().default(BigInt(10))
2800
+ });
2801
+ var zCredentialViewWritable = z.object({
2802
+ created_at: z.iso.datetime(),
2803
+ creator_id: z.string(),
2804
+ expires_at: z.iso.datetime().nullable(),
1904
2805
  id: z.string(),
2806
+ key_prefix: z.string(),
2807
+ last_used_at: z.iso.datetime().nullable(),
1905
2808
  name: z.string(),
1906
- org_id: z.string(),
2809
+ org_id: z.string().nullable(),
1907
2810
  permissions: z.array(z.string()).nullable(),
2811
+ revoked: z.boolean(),
1908
2812
  updated_at: z.iso.datetime()
1909
2813
  });
1910
2814
  var zDashboardWritable = z.object({
@@ -1926,6 +2830,7 @@ var zEventWritable = z.object({
1926
2830
  created_dt: z.iso.datetime(),
1927
2831
  creator_id: z.string(),
1928
2832
  description: z.string().optional(),
2833
+ description_override: z.string().optional(),
1929
2834
  end_dt: z.iso.datetime().optional(),
1930
2835
  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" }),
1931
2836
  is_deleted: z.boolean(),
@@ -1934,10 +2839,14 @@ var zEventWritable = z.object({
1934
2839
  latitude: z.number().optional(),
1935
2840
  longitude: z.number().optional(),
1936
2841
  metadata: z.record(z.string(), z.unknown()).optional(),
2842
+ metadata_override: z.record(z.string(), z.unknown()).optional(),
1937
2843
  org_id: z.string().optional(),
1938
2844
  parent_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" }).optional(),
1939
2845
  published_at: z.iso.datetime().optional(),
1940
2846
  published_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(),
2847
+ series_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(),
2848
+ series_index: 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(),
2849
+ series_title: z.string().optional(),
1941
2850
  start_dt: z.iso.datetime().optional(),
1942
2851
  status: z.enum([
1943
2852
  "draft",
@@ -1946,19 +2855,61 @@ var zEventWritable = z.object({
1946
2855
  ]),
1947
2856
  timezone: z.string(),
1948
2857
  title: z.string(),
2858
+ title_override: z.string().optional(),
1949
2859
  updated_at: z.iso.datetime(),
1950
2860
  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" }),
1951
2861
  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" })
1952
2862
  });
1953
2863
  var zCalendarEventsOutputBodyWritable = z.object({
1954
- items: z.array(zEventWritable).nullable()
2864
+ items: z.array(zEventWritable).nullable(),
2865
+ next_cursor: z.string().nullable()
2866
+ });
2867
+ var zCreateWithSeriesOutputBodyWritable = z.object({
2868
+ event: zEventWritable,
2869
+ occurrences: z.array(zEventWritable).nullish()
2870
+ });
2871
+ var zEventAutomationRuleWritable = z.object({
2872
+ actions: z.array(zEventAutomationAction).nullable(),
2873
+ created_at: z.iso.datetime(),
2874
+ description: z.string().optional(),
2875
+ enabled: z.boolean(),
2876
+ id: z.string(),
2877
+ name: z.string(),
2878
+ trigger: zEventAutomationTrigger,
2879
+ updated_at: z.iso.datetime()
2880
+ });
2881
+ var zEventAutomationUpsertInputWritable = z.object({
2882
+ actions: z.array(zEventAutomationAction).nullable(),
2883
+ description: z.string().optional(),
2884
+ enabled: z.boolean().optional(),
2885
+ name: z.string(),
2886
+ trigger: zEventAutomationTrigger
2887
+ });
2888
+ var zEventLinkWritable = z.object({
2889
+ created_at: z.iso.datetime(),
2890
+ 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" }).optional(),
2891
+ 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" }),
2892
+ series_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(),
2893
+ target_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" })
1955
2894
  });
1956
2895
  var zEventManagerWritable = z.object({
2896
+ accepted_at: z.iso.datetime().optional(),
1957
2897
  created_at: z.iso.datetime(),
1958
2898
  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" }),
2899
+ expires_at: z.iso.datetime(),
1959
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
+ invite_token: z.string().optional(),
2902
+ invited_at: z.iso.datetime(),
2903
+ invited_by: z.string().optional(),
2904
+ invited_email: z.string().optional(),
1960
2905
  org_id: z.string().optional(),
1961
2906
  permissions: z.array(z.string()).nullable(),
2907
+ series_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(),
2908
+ status: z.enum([
2909
+ "pending",
2910
+ "active",
2911
+ "revoked"
2912
+ ]),
1962
2913
  updated_at: z.iso.datetime(),
1963
2914
  user_id: z.string()
1964
2915
  });
@@ -1978,6 +2929,58 @@ var zEventPatchWritable = z.object({
1978
2929
  title: z.string().min(1).optional(),
1979
2930
  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()
1980
2931
  });
2932
+ var zEventSeriesWritable = z.object({
2933
+ address: z.string().optional(),
2934
+ cover_image_key: z.string().optional(),
2935
+ created_at: z.iso.datetime(),
2936
+ creator_id: z.string(),
2937
+ description: z.string().optional(),
2938
+ duration: z.string(),
2939
+ end_count: 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(),
2940
+ end_date: z.iso.datetime().optional(),
2941
+ end_dt: z.iso.datetime().optional(),
2942
+ ends_on: z.enum([
2943
+ "never",
2944
+ "on_date",
2945
+ "after_n"
2946
+ ]),
2947
+ freq: z.enum([
2948
+ "daily",
2949
+ "weekly",
2950
+ "monthly",
2951
+ "custom"
2952
+ ]),
2953
+ 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" }),
2954
+ interval: 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" }),
2955
+ is_deleted: z.boolean(),
2956
+ keywords: z.array(z.string()).nullish(),
2957
+ latitude: z.number().optional(),
2958
+ longitude: z.number().optional(),
2959
+ metadata: z.record(z.string(), z.unknown()).optional(),
2960
+ org_id: z.string().optional(),
2961
+ published_at: z.iso.datetime().optional(),
2962
+ published_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(),
2963
+ repeat_days: z.array(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" })).nullish(),
2964
+ series_manager_accepted_at: z.iso.datetime().optional(),
2965
+ series_manager_expires_at: z.iso.datetime().optional(),
2966
+ series_manager_id: z.string().optional(),
2967
+ series_manager_invite_token: z.string().optional(),
2968
+ series_manager_invited_at: z.iso.datetime().optional(),
2969
+ series_manager_invited_by: z.string().optional(),
2970
+ series_manager_invited_email: z.string().optional(),
2971
+ series_manager_status: z.string().optional(),
2972
+ start_dt: z.iso.datetime().optional(),
2973
+ status: z.enum([
2974
+ "draft",
2975
+ "published",
2976
+ "archived"
2977
+ ]),
2978
+ timezone: z.string(),
2979
+ title: z.string(),
2980
+ updated_at: z.iso.datetime(),
2981
+ 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" }),
2982
+ 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" })
2983
+ });
1981
2984
  var zEventSpaceLinkWritable = z.object({
1982
2985
  created_at: z.iso.datetime(),
1983
2986
  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" }),
@@ -1986,6 +2989,9 @@ var zEventSpaceLinkWritable = z.object({
1986
2989
  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" }),
1987
2990
  updated_at: z.iso.datetime()
1988
2991
  });
2992
+ var zExecuteAutomationResponseWritable = z.object({
2993
+ message: z.string()
2994
+ });
1989
2995
  var zExecuteOutputBodyWritable = z.object({
1990
2996
  message: z.string()
1991
2997
  });
@@ -2002,6 +3008,17 @@ var zInviteWritable = z.object({
2002
3008
  role: z.string(),
2003
3009
  status: z.string()
2004
3010
  });
3011
+ var zInviteEventManagerInputBodyWritable = z.object({
3012
+ email: z.string().min(1),
3013
+ permissions: z.array(z.string()).nullable()
3014
+ });
3015
+ var zInviteSeriesManagerInputBodyWritable = z.object({
3016
+ email: z.string()
3017
+ });
3018
+ var zInviteSpaceManagerInputBodyWritable = z.object({
3019
+ email: z.string().min(1),
3020
+ permissions: z.array(z.string()).nullable()
3021
+ });
2005
3022
  var zListInvitesOutputBodyWritable = z.object({
2006
3023
  items: z.array(zInviteWritable).nullable(),
2007
3024
  total: 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" })
@@ -2012,13 +3029,11 @@ var zListOutputBodyWritable = z.object({
2012
3029
  size: 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" }),
2013
3030
  total: 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" })
2014
3031
  });
2015
- var zListPermissionsOutputBodyWritable = z.object({
2016
- items: z.array(z.string()).nullable(),
2017
- total: 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" })
3032
+ var zListPendingEventManagerInvitesOutputBodyWritable = z.object({
3033
+ items: z.array(zPendingEventManagerInvite).nullable()
2018
3034
  });
2019
- var zListRolesOutputBodyWritable = z.object({
2020
- items: z.array(zCustomRoleWritable).nullable(),
2021
- total: 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" })
3035
+ var zListPendingManagerInvitesOutputBodyWritable = z.object({
3036
+ items: z.array(zPendingManagerInvite).nullable()
2022
3037
  });
2023
3038
  var zLivenessOutputBodyWritable = z.object({
2024
3039
  service: z.string(),
@@ -2039,8 +3054,21 @@ var zMilestoneWritable = z.object({
2039
3054
  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" }),
2040
3055
  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" }),
2041
3056
  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" }),
3057
+ series_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(),
3058
+ status: z.enum([
3059
+ "planned",
3060
+ "ready",
3061
+ "active",
3062
+ "completed",
3063
+ "skipped"
3064
+ ]),
3065
+ status_mode: z.enum(["derived", "manual"]),
3066
+ status_updated_at: z.iso.datetime().optional(),
2042
3067
  updated_at: z.iso.datetime()
2043
3068
  });
3069
+ var zNewCredentialViewWritable = z.object({
3070
+ raw_token: z.string()
3071
+ });
2044
3072
  var zOptionsWritable = z.object({
2045
3073
  channels: z.array(z.string()).nullish(),
2046
3074
  message: z.string().optional(),
@@ -2061,8 +3089,21 @@ var zListOrgsOutputBodyWritable = z.object({
2061
3089
  items: z.array(zOrganizationWritable).nullable(),
2062
3090
  total: 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" })
2063
3091
  });
2064
- var zPagedBodyAttendeeWritable = z.object({
2065
- items: z.array(zAttendeeWritable).nullable(),
3092
+ var zOverviewWritable = z.object({
3093
+ generated_at: z.iso.datetime(),
3094
+ recent_activity: z.array(zOverviewActivity).nullable(),
3095
+ spaces: z.array(zOverviewSpace).nullable(),
3096
+ this_week: z.array(zOverviewEvent).nullable(),
3097
+ today: z.array(zOverviewEvent).nullable()
3098
+ });
3099
+ var zPagedBodyAnnouncementWritable = z.object({
3100
+ items: z.array(zAnnouncementWritable).nullable(),
3101
+ page: 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" }),
3102
+ size: 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" }),
3103
+ total: 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" })
3104
+ });
3105
+ var zPagedBodyAttendeeDetailWritable = z.object({
3106
+ items: z.array(zAttendeeDetail).nullable(),
2066
3107
  page: 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" }),
2067
3108
  size: 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" }),
2068
3109
  total: 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" })
@@ -2079,14 +3120,20 @@ var zPagedBodyEventWritable = z.object({
2079
3120
  size: 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" }),
2080
3121
  total: 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" })
2081
3122
  });
3123
+ var zPagedBodyEventAutomationRuleWritable = z.object({
3124
+ items: z.array(zEventAutomationRuleWritable).nullable(),
3125
+ page: 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" }),
3126
+ size: 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" }),
3127
+ total: 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" })
3128
+ });
2082
3129
  var zPagedBodyEventManagerWritable = z.object({
2083
3130
  items: z.array(zEventManagerWritable).nullable(),
2084
3131
  page: 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" }),
2085
3132
  size: 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" }),
2086
3133
  total: 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" })
2087
3134
  });
2088
- var zPagedBodyEventSpaceLinkWritable = z.object({
2089
- items: z.array(zEventSpaceLinkWritable).nullable(),
3135
+ var zPagedBodyEventSpaceLinkDetailWritable = z.object({
3136
+ items: z.array(zEventSpaceLinkDetail).nullable(),
2090
3137
  page: 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" }),
2091
3138
  size: 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" }),
2092
3139
  total: 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" })
@@ -2103,12 +3150,60 @@ var zPagedBodyMemberWritable = z.object({
2103
3150
  size: 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" }),
2104
3151
  total: 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" })
2105
3152
  });
2106
- var zPagedBodyMilestoneWritable = z.object({
2107
- items: z.array(zMilestoneWritable).nullable(),
3153
+ var zPagedBodyMilestoneDetailWritable = z.object({
3154
+ items: z.array(zMilestoneDetail).nullable(),
3155
+ page: 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" }),
3156
+ size: 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" }),
3157
+ total: 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" })
3158
+ });
3159
+ var zPagedBodySpaceActivityWritable = z.object({
3160
+ items: z.array(zSpaceActivity).nullable(),
3161
+ page: 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" }),
3162
+ size: 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" }),
3163
+ total: 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" })
3164
+ });
3165
+ var zPagedBodySpaceContactDetailWritable = z.object({
3166
+ items: z.array(zSpaceContactDetail).nullable(),
3167
+ page: 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" }),
3168
+ size: 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" }),
3169
+ total: 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" })
3170
+ });
3171
+ var zPagedBodySpaceEventLinkDetailWritable = z.object({
3172
+ items: z.array(zSpaceEventLinkDetail).nullable(),
2108
3173
  page: 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" }),
2109
3174
  size: 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" }),
2110
3175
  total: 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" })
2111
3176
  });
3177
+ var zPaginatedOccurrencesWritable = z.object({
3178
+ items: z.array(zEventWritable).nullable(),
3179
+ limit: 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" }),
3180
+ page: 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" }),
3181
+ total: 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" }),
3182
+ total_pages: 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" })
3183
+ });
3184
+ var zPatchMilestoneInputBodyWritable = z.object({
3185
+ reset_to_derived: z.boolean().optional(),
3186
+ status: z.enum([
3187
+ "planned",
3188
+ "ready",
3189
+ "active",
3190
+ "completed",
3191
+ "skipped"
3192
+ ]).optional()
3193
+ });
3194
+ var zPatchSeriesMilestoneInputBodyWritable = z.object({
3195
+ reset_to_derived: z.boolean().optional(),
3196
+ status: z.enum([
3197
+ "planned",
3198
+ "ready",
3199
+ "active",
3200
+ "completed",
3201
+ "skipped"
3202
+ ]).optional()
3203
+ });
3204
+ var zPendingManagerInvitesOutputBodyWritable = z.object({
3205
+ items: z.array(zPendingSeriesManagerInvite).nullable()
3206
+ });
2112
3207
  var zPlaceWritable = z.object({
2113
3208
  amenities: z.array(z.string()).nullable(),
2114
3209
  capacity: 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" }).nullable(),
@@ -2146,18 +3241,17 @@ var zProfileWritable = z.object({
2146
3241
  updated_at: z.iso.datetime(),
2147
3242
  username: z.string().optional()
2148
3243
  });
3244
+ var zPublishAnnouncementInputBodyWritable = z.object({
3245
+ recipients: z.array(z.string()).nullable()
3246
+ });
2149
3247
  var zReadinessOutputBodyWritable = z.object({
2150
3248
  status: z.record(z.string(), z.string())
2151
3249
  });
2152
- var zRoleBodyWritable = z.object({
2153
- description: z.string().max(500).optional(),
2154
- name: z.string().min(1).max(100),
2155
- permissions: z.array(z.string()).nullable()
2156
- });
2157
3250
  var zRuleWritable = z.object({
2158
3251
  actions: z.array(z.record(z.string(), z.unknown())).nullable(),
2159
3252
  conditions: z.record(z.string(), z.unknown()),
2160
3253
  created_at: z.iso.datetime(),
3254
+ created_by_kind: z.string(),
2161
3255
  creator_id: z.string(),
2162
3256
  description: z.string().optional(),
2163
3257
  enabled: z.boolean(),
@@ -2182,6 +3276,45 @@ var zSearchOutputBodyWritable = z.object({
2182
3276
  query: z.string(),
2183
3277
  total: 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" })
2184
3278
  });
3279
+ var zSeriesPatchWritable = z.object({
3280
+ address: z.string().optional(),
3281
+ cover_image_key: z.string().optional(),
3282
+ description: z.string().optional(),
3283
+ end_count: 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(),
3284
+ end_date: z.iso.datetime().optional(),
3285
+ end_dt: z.iso.datetime().optional(),
3286
+ ends_on: z.enum([
3287
+ "never",
3288
+ "on_date",
3289
+ "after_n"
3290
+ ]).optional(),
3291
+ freq: z.enum([
3292
+ "daily",
3293
+ "weekly",
3294
+ "monthly",
3295
+ "custom"
3296
+ ]).optional(),
3297
+ interval: 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(),
3298
+ keywords: z.array(z.string()).optional(),
3299
+ latitude: z.number().optional(),
3300
+ longitude: z.number().optional(),
3301
+ metadata: z.record(z.string(), z.unknown()).optional(),
3302
+ repeat_days: z.array(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(),
3303
+ start_dt: z.iso.datetime().optional(),
3304
+ timezone: z.string().optional(),
3305
+ title: z.string().min(1).optional(),
3306
+ 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()
3307
+ });
3308
+ var zSeriesWithOccurrencesWritable = z.object({
3309
+ attendee_counts: z.record(z.string(), 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" })),
3310
+ limit: 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" }),
3311
+ occurrences: z.array(zEventWritable).nullable(),
3312
+ page: 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" }),
3313
+ series: zEventSeriesWritable,
3314
+ total: 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" }),
3315
+ total_attendees: 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" }),
3316
+ total_pages: 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" })
3317
+ });
2185
3318
  var zSpaceWritable = z.object({
2186
3319
  created_at: z.iso.datetime(),
2187
3320
  creator_id: z.string(),
@@ -2210,19 +3343,46 @@ var zPagedBodySpaceWritable = z.object({
2210
3343
  size: 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" }),
2211
3344
  total: 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" })
2212
3345
  });
2213
- var zSpaceContactWritable = z.object({
2214
- contact_id: z.string(),
3346
+ var zSpaceActivityLogResultWritable = z.object({
3347
+ contributors: z.array(zSpaceActivityContributor).nullable(),
3348
+ end_date: z.string().optional(),
3349
+ items: z.array(zSpaceActivityLogItem).nullable(),
3350
+ page: 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" }),
3351
+ size: 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" }),
3352
+ start_date: z.string().optional(),
3353
+ summary: zSpaceActivitySummary,
3354
+ total: 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" })
3355
+ });
3356
+ var zSpaceAnalyticsResultWritable = z.object({
3357
+ attendance_trend: z.array(zSpaceAnalyticsTrendPoint).nullable(),
3358
+ attention_needed: z.array(zSpaceAnalyticsAttentionRow).nullable(),
3359
+ events_performance: z.array(zSpaceAnalyticsEventRow).nullable(),
3360
+ member_growth: z.array(zSpaceAnalyticsGrowthPoint).nullable(),
3361
+ summary: zSpaceAnalyticsSummary,
3362
+ top_by_rsvp: z.array(zSpaceAnalyticsEventRow).nullable()
3363
+ });
3364
+ var zSpaceAnnouncementDetailWritable = z.object({
3365
+ announcement: zAnnouncementSummary,
3366
+ announcement_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" }),
2215
3367
  created_at: z.iso.datetime(),
2216
3368
  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" }),
3369
+ org_id: z.string().optional(),
2217
3370
  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" }),
2218
3371
  updated_at: z.iso.datetime()
2219
3372
  });
2220
- var zPagedBodySpaceContactWritable = z.object({
2221
- items: z.array(zSpaceContactWritable).nullable(),
3373
+ var zPagedBodySpaceAnnouncementDetailWritable = z.object({
3374
+ items: z.array(zSpaceAnnouncementDetailWritable).nullable(),
2222
3375
  page: 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" }),
2223
3376
  size: 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" }),
2224
3377
  total: 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" })
2225
3378
  });
3379
+ var zSpaceContactWritable = z.object({
3380
+ contact_id: z.string(),
3381
+ created_at: z.iso.datetime(),
3382
+ 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" }),
3383
+ 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" }),
3384
+ updated_at: z.iso.datetime()
3385
+ });
2226
3386
  var zSpaceEventLinkWritable = z.object({
2227
3387
  created_at: z.iso.datetime(),
2228
3388
  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" }),
@@ -2231,18 +3391,23 @@ var zSpaceEventLinkWritable = z.object({
2231
3391
  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" }),
2232
3392
  updated_at: z.iso.datetime()
2233
3393
  });
2234
- var zPagedBodySpaceEventLinkWritable = z.object({
2235
- items: z.array(zSpaceEventLinkWritable).nullable(),
2236
- page: 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" }),
2237
- size: 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" }),
2238
- total: 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" })
2239
- });
2240
3394
  var zSpaceManagerWritable = z.object({
3395
+ accepted_at: z.iso.datetime().optional(),
2241
3396
  created_at: z.iso.datetime(),
3397
+ expires_at: z.iso.datetime(),
2242
3398
  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" }),
3399
+ invite_token: z.string().optional(),
3400
+ invited_at: z.iso.datetime(),
3401
+ invited_by: z.string().optional(),
3402
+ invited_email: z.string().optional(),
2243
3403
  org_id: z.string().optional(),
2244
3404
  permissions: z.array(z.string()).nullable(),
2245
3405
  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" }),
3406
+ status: z.enum([
3407
+ "pending",
3408
+ "active",
3409
+ "revoked"
3410
+ ]),
2246
3411
  updated_at: z.iso.datetime(),
2247
3412
  user_id: z.string()
2248
3413
  });
@@ -2255,6 +3420,17 @@ var zPagedBodySpaceManagerWritable = z.object({
2255
3420
  var zSpaceManagerPermissionsOutputBodyWritable = z.object({
2256
3421
  permissions: z.array(z.string()).nullable()
2257
3422
  });
3423
+ var zSpacePageWritable = z.object({
3424
+ managers: z.array(zPublicPersonPreview).nullable(),
3425
+ members: z.array(zPublicPersonPreview).nullable(),
3426
+ organization: zPublicOrganizationSummary.optional(),
3427
+ owner: zPublicOwnerSummary.optional(),
3428
+ space: zPublicSpaceSummary,
3429
+ stats: zPublicSpaceStats,
3430
+ subspaces: z.array(zPublicSpaceSummary).nullable(),
3431
+ upcoming_events: z.array(zPublicEventSummary).nullable(),
3432
+ viewer: zPublicViewerCapabilities.optional()
3433
+ });
2258
3434
  var zSpacePatchWritable = z.object({
2259
3435
  description: z.string().optional(),
2260
3436
  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(),
@@ -2262,6 +3438,20 @@ var zSpacePatchWritable = z.object({
2262
3438
  title: z.string().min(1).optional(),
2263
3439
  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()
2264
3440
  });
3441
+ var zSpaceSettingsWritable = z.object({
3442
+ created_at: z.iso.datetime(),
3443
+ notify_on_announcement: z.boolean(),
3444
+ notify_on_document: z.boolean(),
3445
+ notify_on_event: z.boolean(),
3446
+ org_id: z.string().optional(),
3447
+ 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" }),
3448
+ updated_at: z.iso.datetime()
3449
+ });
3450
+ var zSpaceSettingsPatchWritable = z.object({
3451
+ notify_on_announcement: z.boolean().optional(),
3452
+ notify_on_document: z.boolean().optional(),
3453
+ notify_on_event: z.boolean().optional()
3454
+ });
2265
3455
  var zUpdateAttendeeStatusInputBodyWritable = z.object({
2266
3456
  status: z.enum([
2267
3457
  "invited",
@@ -2315,10 +3505,6 @@ var zUpdatePlaceInputBodyWritable = z.object({
2315
3505
  title: z.string().min(1),
2316
3506
  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()
2317
3507
  });
2318
- var zUpdateRoleBodyWritable = z.object({
2319
- description: z.string().max(500).optional(),
2320
- permissions: z.array(z.string()).nullable()
2321
- });
2322
3508
  var zUpdateRuleInputWritable = z.object({
2323
3509
  actions: z.array(z.record(z.string(), z.unknown())).nullish(),
2324
3510
  conditions: z.record(z.string(), z.unknown()).optional(),
@@ -2328,6 +3514,18 @@ var zUpdateRuleInputWritable = z.object({
2328
3514
  priority: 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(),
2329
3515
  schedule: zScheduleInput.optional()
2330
3516
  });
3517
+ var zUpdateSeriesAttendeeStatusInputBodyWritable = z.object({
3518
+ status: z.enum([
3519
+ "invited",
3520
+ "confirmed",
3521
+ "declined",
3522
+ "tentative",
3523
+ "checked_in"
3524
+ ])
3525
+ });
3526
+ var zUpdateSeriesMilestoneInputBodyWritable = z.object({
3527
+ 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" })
3528
+ });
2331
3529
  var zUpdateSpaceInputBodyWritable = z.object({
2332
3530
  description: z.string().optional(),
2333
3531
  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(),
@@ -2340,6 +3538,32 @@ var zUpdateSpaceManagerInputBodyWritable = z.object({
2340
3538
  });
2341
3539
  var zAnalyticsCountsResponse = zCounts;
2342
3540
  var zAnalyticsDashboardResponse = zDashboard;
3541
+ var zAnalyticsOverviewResponse = zOverview;
3542
+ var zAnnouncementsListQuery = z.object({
3543
+ page: z.coerce.bigint().gte(BigInt(1)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).optional().default(BigInt(1)),
3544
+ size: z.coerce.bigint().gte(BigInt(1)).lte(BigInt(100)).optional().default(BigInt(20))
3545
+ });
3546
+ var zAnnouncementsListResponse = zPagedBodyAnnouncement;
3547
+ var zAnnouncementsCreateBody = zAnnouncementCreateWritable;
3548
+ var zAnnouncementsCreateResponse = zAnnouncement;
3549
+ var zAnnouncementsDeletePath = z.object({
3550
+ 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" })
3551
+ });
3552
+ var zAnnouncementsDeleteResponse = z.void();
3553
+ var zAnnouncementsGetPath = z.object({
3554
+ 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" })
3555
+ });
3556
+ var zAnnouncementsGetResponse = zAnnouncement;
3557
+ var zAnnouncementsPatchBody = zAnnouncementPatchWritable;
3558
+ var zAnnouncementsPatchPath = z.object({
3559
+ 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" })
3560
+ });
3561
+ var zAnnouncementsPatchResponse = zAnnouncement;
3562
+ var zAnnouncementsPublishBody = zPublishAnnouncementInputBodyWritable;
3563
+ var zAnnouncementsPublishPath = z.object({
3564
+ 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" })
3565
+ });
3566
+ var zAnnouncementsPublishResponse = zAnnouncement;
2343
3567
  var zAuditListQuery = z.object({
2344
3568
  page: z.coerce.bigint().gte(BigInt(1)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).optional().default(BigInt(1)),
2345
3569
  size: z.coerce.bigint().gte(BigInt(1)).lte(BigInt(100)).optional().default(BigInt(20)),
@@ -2352,9 +3576,13 @@ var zAuditListQuery = z.object({
2352
3576
  var zAuditListResponse = zListOutputBody;
2353
3577
  var zAuthContextResponse = zAuthContext;
2354
3578
  var zAuthMeResponse = zAuthContext;
3579
+ var zAutomationListActionsResponse = z.array(zActionDefinition).nullable();
2355
3580
  var zAutomationListRulesQuery = z.object({
2356
3581
  page: z.coerce.bigint().gte(BigInt(1)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).optional().default(BigInt(1)),
2357
- size: z.coerce.bigint().gte(BigInt(1)).lte(BigInt(100)).optional().default(BigInt(20))
3582
+ size: z.coerce.bigint().gte(BigInt(1)).lte(BigInt(100)).optional().default(BigInt(20)),
3583
+ scope: z.string().optional(),
3584
+ scope_id: z.string().optional(),
3585
+ event_type: z.string().optional()
2358
3586
  });
2359
3587
  var zAutomationListRulesResponse = zPagedBodyRule;
2360
3588
  var zAutomationCreateRuleBody = zCreateRuleInputWritable;
@@ -2384,6 +3612,7 @@ var zAutomationListExecutionsQuery = z.object({
2384
3612
  size: z.coerce.bigint().gte(BigInt(1)).lte(BigInt(100)).optional().default(BigInt(20))
2385
3613
  });
2386
3614
  var zAutomationListExecutionsResponse = zPagedBodyExecution;
3615
+ var zAutomationListTriggersResponse = z.array(zTriggerDefinition).nullable();
2387
3616
  var zBookingsListQuery = z.object({
2388
3617
  user_id: z.string().optional(),
2389
3618
  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(),
@@ -2456,6 +3685,17 @@ var zContactsToggleFavoritePath = z.object({
2456
3685
  id: z.string()
2457
3686
  });
2458
3687
  var zContactsToggleFavoriteResponse = zContact;
3688
+ var zCredentialsListResponse = z.array(zCredentialView).nullable();
3689
+ var zCredentialsCreateBody = zCreateCredentialInputBodyWritable;
3690
+ var zCredentialsCreateResponse = zNewCredentialView;
3691
+ var zCredentialsRevokePath = z.object({
3692
+ id: z.string()
3693
+ });
3694
+ var zCredentialsRevokeResponse = z.void();
3695
+ var zCredentialsGetPath = z.object({
3696
+ id: z.string()
3697
+ });
3698
+ var zCredentialsGetResponse = zCredentialView;
2459
3699
  var zEventsListQuery = z.object({
2460
3700
  page: z.coerce.bigint().gte(BigInt(1)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).optional().default(BigInt(1)),
2461
3701
  size: z.coerce.bigint().gte(BigInt(1)).lte(BigInt(100)).optional().default(BigInt(20)),
@@ -2474,6 +3714,11 @@ var zEventsCalendarQuery = z.object({
2474
3714
  });
2475
3715
  var zEventsCalendarResponse = zCalendarEventsOutputBody;
2476
3716
  var zEventsManagerPermissionsResponse = zEventManagerPermissionsOutputBody;
3717
+ var zEventsAcceptManagerInviteBody = zAcceptEventManagerInviteInputBodyWritable;
3718
+ var zEventsAcceptManagerInviteResponse = zEventManager;
3719
+ var zEventsListPendingManagerInvitesResponse = zListPendingEventManagerInvitesOutputBody;
3720
+ var zEventsCreateWithSeriesBody = zCreateWithSeriesInputBodyWritable;
3721
+ var zEventsCreateWithSeriesResponse = zCreateWithSeriesOutputBody;
2477
3722
  var zEventsDeletePath = z.object({
2478
3723
  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
3724
  });
@@ -2486,6 +3731,13 @@ var zEventsPatchBody = zEventPatchWritable;
2486
3731
  var zEventsPatchPath = z.object({
2487
3732
  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" })
2488
3733
  });
3734
+ var zEventsPatchQuery = z.object({
3735
+ scope: z.enum([
3736
+ "this",
3737
+ "future",
3738
+ "all"
3739
+ ]).optional()
3740
+ });
2489
3741
  var zEventsPatchResponse = zEvent;
2490
3742
  var zEventsUpdateBody = zUpdateEventInputBodyWritable;
2491
3743
  var zEventsUpdatePath = z.object({
@@ -2503,7 +3755,7 @@ var zEventsListAttendeesQuery = z.object({
2503
3755
  page: z.coerce.bigint().gte(BigInt(1)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).optional().default(BigInt(1)),
2504
3756
  size: z.coerce.bigint().gte(BigInt(1)).lte(BigInt(100)).optional().default(BigInt(20))
2505
3757
  });
2506
- var zEventsListAttendeesResponse = zPagedBodyAttendee;
3758
+ var zEventsListAttendeesResponse = zPagedBodyAttendeeDetail;
2507
3759
  var zEventsAddAttendeeBody = zAddAttendeeInputBodyWritable;
2508
3760
  var zEventsAddAttendeePath = z.object({
2509
3761
  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" })
@@ -2541,6 +3793,53 @@ var zEventsCheckInAttendeePath = z.object({
2541
3793
  contact_id: z.string()
2542
3794
  });
2543
3795
  var zEventsCheckInAttendeeResponse = z.void();
3796
+ var zEventsListAutomationsPath = z.object({
3797
+ 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" })
3798
+ });
3799
+ var zEventsListAutomationsQuery = z.object({
3800
+ page: z.coerce.bigint().gte(BigInt(1)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).optional().default(BigInt(1)),
3801
+ size: z.coerce.bigint().gte(BigInt(1)).lte(BigInt(100)).optional().default(BigInt(20))
3802
+ });
3803
+ var zEventsListAutomationsResponse = zPagedBodyEventAutomationRule;
3804
+ var zEventsCreateAutomationBody = zEventAutomationUpsertInputWritable;
3805
+ var zEventsCreateAutomationPath = z.object({
3806
+ 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" })
3807
+ });
3808
+ var zEventsCreateAutomationResponse = zEventAutomationRule;
3809
+ var zEventsAutomationTemplatesPath = z.object({
3810
+ 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" })
3811
+ });
3812
+ var zEventsAutomationTemplatesResponse = z.array(zEventAutomationTemplate).nullable();
3813
+ var zEventsDeleteAutomationPath = z.object({
3814
+ 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" }),
3815
+ rule_id: z.string()
3816
+ });
3817
+ var zEventsDeleteAutomationResponse = z.void();
3818
+ var zEventsGetAutomationPath = z.object({
3819
+ 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" }),
3820
+ rule_id: z.string()
3821
+ });
3822
+ var zEventsGetAutomationResponse = zEventAutomationRule;
3823
+ var zEventsUpdateAutomationBody = zEventAutomationUpsertInputWritable;
3824
+ var zEventsUpdateAutomationPath = z.object({
3825
+ 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" }),
3826
+ rule_id: z.string()
3827
+ });
3828
+ var zEventsUpdateAutomationResponse = zEventAutomationRule;
3829
+ var zEventsExecuteAutomationPath = z.object({
3830
+ 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" }),
3831
+ rule_id: z.string()
3832
+ });
3833
+ var zEventsExecuteAutomationResponse = zExecuteAutomationResponse;
3834
+ var zEventsListAutomationExecutionsPath = z.object({
3835
+ 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" }),
3836
+ rule_id: z.string()
3837
+ });
3838
+ var zEventsListAutomationExecutionsQuery = z.object({
3839
+ page: z.coerce.bigint().gte(BigInt(1)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).optional().default(BigInt(1)),
3840
+ size: z.coerce.bigint().gte(BigInt(1)).lte(BigInt(100)).optional().default(BigInt(20))
3841
+ });
3842
+ var zEventsListAutomationExecutionsResponse = zPagedBodyExecution;
2544
3843
  var zEventsUploadCoverBody = z.string();
2545
3844
  var zEventsUploadCoverHeaders = z.object({
2546
3845
  "Content-Type": z.string().optional()
@@ -2575,6 +3874,20 @@ var zEventsStartEditPath = z.object({
2575
3874
  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" })
2576
3875
  });
2577
3876
  var zEventsStartEditResponse = zEvent;
3877
+ var zEventsListLinksPath = z.object({
3878
+ 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" })
3879
+ });
3880
+ var zEventsListLinksResponse = z.array(zEventLinkWithTarget).nullable();
3881
+ var zEventsAddLinkBody = zAddEventLinkInputBodyWritable;
3882
+ var zEventsAddLinkPath = z.object({
3883
+ 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" })
3884
+ });
3885
+ var zEventsAddLinkResponse = zEventLink;
3886
+ var zEventsRemoveLinkPath = z.object({
3887
+ 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" }),
3888
+ target_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" })
3889
+ });
3890
+ var zEventsRemoveLinkResponse = z.void();
2578
3891
  var zEventsListManagersPath = z.object({
2579
3892
  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" })
2580
3893
  });
@@ -2588,6 +3901,11 @@ var zEventsAddManagerPath = z.object({
2588
3901
  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" })
2589
3902
  });
2590
3903
  var zEventsAddManagerResponse = zEventManager;
3904
+ var zEventsInviteManagerBody = zInviteEventManagerInputBodyWritable;
3905
+ var zEventsInviteManagerPath = z.object({
3906
+ 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" })
3907
+ });
3908
+ var zEventsInviteManagerResponse = zEventManager;
2591
3909
  var zEventsRemoveManagerPath = z.object({
2592
3910
  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" }),
2593
3911
  user_id: z.string()
@@ -2611,7 +3929,7 @@ var zEventsListMilestonesQuery = z.object({
2611
3929
  page: z.coerce.bigint().gte(BigInt(1)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).optional().default(BigInt(1)),
2612
3930
  size: z.coerce.bigint().gte(BigInt(1)).lte(BigInt(100)).optional().default(BigInt(20))
2613
3931
  });
2614
- var zEventsListMilestonesResponse = zPagedBodyMilestone;
3932
+ var zEventsListMilestonesResponse = zPagedBodyMilestoneDetail;
2615
3933
  var zEventsAddMilestoneBody = zAddMilestoneInputBodyWritable;
2616
3934
  var zEventsAddMilestonePath = z.object({
2617
3935
  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" })
@@ -2622,6 +3940,12 @@ var zEventsRemoveMilestonePath = z.object({
2622
3940
  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
3941
  });
2624
3942
  var zEventsRemoveMilestoneResponse = z.void();
3943
+ var zEventsPatchMilestoneLifecycleBody = zPatchMilestoneInputBodyWritable;
3944
+ var zEventsPatchMilestoneLifecyclePath = z.object({
3945
+ 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" }),
3946
+ 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" })
3947
+ });
3948
+ var zEventsPatchMilestoneLifecycleResponse = zMilestone;
2625
3949
  var zEventsUpdateMilestoneBody = zUpdateMilestoneInputBodyWritable;
2626
3950
  var zEventsUpdateMilestonePath = z.object({
2627
3951
  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" }),
@@ -2633,6 +3957,53 @@ var zEventsPublishPath = z.object({
2633
3957
  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" })
2634
3958
  });
2635
3959
  var zEventsPublishResponse = z.void();
3960
+ var zEventsDeleteSeriesPath = z.object({
3961
+ 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" })
3962
+ });
3963
+ var zEventsDeleteSeriesQuery = z.object({
3964
+ scope: z.enum([
3965
+ "this",
3966
+ "future",
3967
+ "all"
3968
+ ])
3969
+ });
3970
+ var zEventsDeleteSeriesResponse = z.void();
3971
+ var zEventsGetSeriesPath = z.object({
3972
+ 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" })
3973
+ });
3974
+ var zEventsGetSeriesQuery = z.object({
3975
+ page: z.coerce.bigint().gte(BigInt(1)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).optional().default(BigInt(1)),
3976
+ limit: z.coerce.bigint().gte(BigInt(1)).lte(BigInt(200)).optional().default(BigInt(20))
3977
+ });
3978
+ var zEventsGetSeriesResponse = zSeriesWithOccurrences;
3979
+ var zEventsPatchSeriesBody = zSeriesPatchWritable;
3980
+ var zEventsPatchSeriesPath = z.object({
3981
+ 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" })
3982
+ });
3983
+ var zEventsPatchSeriesResponse = zEventSeries;
3984
+ var zEventsCreateSeriesBody = zCreateSeriesInputWritable;
3985
+ var zEventsCreateSeriesPath = z.object({
3986
+ 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" })
3987
+ });
3988
+ var zEventsCreateSeriesResponse = z.array(zEvent).nullable();
3989
+ var zEventsInviteSeriesManagerBody = zInviteSeriesManagerInputBodyWritable;
3990
+ var zEventsInviteSeriesManagerPath = z.object({
3991
+ 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" })
3992
+ });
3993
+ var zEventsInviteSeriesManagerResponse = zEventSeries;
3994
+ var zEventsListOccurrencesPath = z.object({
3995
+ 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" })
3996
+ });
3997
+ var zEventsListOccurrencesQuery = z.object({
3998
+ page: z.coerce.bigint().gte(BigInt(1)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).optional().default(BigInt(1)),
3999
+ limit: z.coerce.bigint().gte(BigInt(1)).lte(BigInt(200)).optional().default(BigInt(20))
4000
+ });
4001
+ var zEventsListOccurrencesResponse = zPaginatedOccurrences;
4002
+ var zEventsPublishSeriesBody = zOptionsWritable;
4003
+ var zEventsPublishSeriesPath = z.object({
4004
+ 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" })
4005
+ });
4006
+ var zEventsPublishSeriesResponse = z.void();
2636
4007
  var zEventsListSpacesPath = z.object({
2637
4008
  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" })
2638
4009
  });
@@ -2640,7 +4011,7 @@ var zEventsListSpacesQuery = z.object({
2640
4011
  page: z.coerce.bigint().gte(BigInt(1)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).optional().default(BigInt(1)),
2641
4012
  size: z.coerce.bigint().gte(BigInt(1)).lte(BigInt(100)).optional().default(BigInt(20))
2642
4013
  });
2643
- var zEventsListSpacesResponse = zPagedBodyEventSpaceLink;
4014
+ var zEventsListSpacesResponse = zPagedBodyEventSpaceLinkDetail;
2644
4015
  var zEventsAddSpaceBody = zAddSpaceInputBodyWritable;
2645
4016
  var zEventsAddSpacePath = z.object({
2646
4017
  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" })
@@ -2685,7 +4056,6 @@ var zOrganizationsInvitesDeletePath = z.object({
2685
4056
  inviteId: z.string()
2686
4057
  });
2687
4058
  var zOrganizationsInvitesDeleteResponse = z.void();
2688
- var zPermissionsListResponse = zListPermissionsOutputBody;
2689
4059
  var zPlacesListQuery = z.object({
2690
4060
  page: z.coerce.bigint().gte(BigInt(1)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).optional().default(BigInt(1)),
2691
4061
  size: z.coerce.bigint().gte(BigInt(1)).lte(BigInt(100)).optional().default(BigInt(20)),
@@ -2757,25 +4127,113 @@ var zPublicSpacesListQuery = z.object({
2757
4127
  });
2758
4128
  var zPublicSpacesListResponse = zPagedBodySpace;
2759
4129
  var zPublicSpacesGetPath = z.object({
4130
+ id: z.string()
4131
+ });
4132
+ var zPublicSpacesGetResponse = zSpacePage;
4133
+ var zSeriesAcceptManagerInviteBody = zAcceptSeriesManagerInviteInputBodyWritable;
4134
+ var zSeriesAcceptManagerInviteResponse = zEventSeries;
4135
+ var zSeriesListPendingManagerInvitesResponse = zPendingManagerInvitesOutputBody;
4136
+ var zSeriesGetByIdPath = z.object({
2760
4137
  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" })
2761
4138
  });
2762
- var zPublicSpacesGetResponse = zSpace;
2763
- var zRolesListResponse = zListRolesOutputBody;
2764
- var zRolesCreateBody = zRoleBodyWritable;
2765
- var zRolesCreateResponse = zCustomRole;
2766
- var zRolesDeletePath = z.object({
2767
- name: z.string()
4139
+ var zSeriesGetByIdQuery = z.object({
4140
+ page: z.coerce.bigint().gte(BigInt(1)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).optional().default(BigInt(1)),
4141
+ limit: z.coerce.bigint().gte(BigInt(1)).lte(BigInt(200)).optional().default(BigInt(20))
2768
4142
  });
2769
- var zRolesDeleteResponse = z.void();
2770
- var zRolesGetPath = z.object({
2771
- name: z.string()
4143
+ var zSeriesGetByIdResponse = zSeriesWithOccurrences;
4144
+ var zSeriesListAttendeesPath = z.object({
4145
+ 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" })
2772
4146
  });
2773
- var zRolesGetResponse = zCustomRole;
2774
- var zRolesUpdateBody = zUpdateRoleBodyWritable;
2775
- var zRolesUpdatePath = z.object({
2776
- name: z.string()
4147
+ var zSeriesListAttendeesQuery = z.object({
4148
+ page: z.coerce.bigint().gte(BigInt(1)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).optional().default(BigInt(1)),
4149
+ size: z.coerce.bigint().gte(BigInt(1)).lte(BigInt(100)).optional().default(BigInt(20))
4150
+ });
4151
+ var zSeriesListAttendeesResponse = zPagedBodyAttendeeDetail;
4152
+ var zSeriesAddAttendeeBody = zAddSeriesAttendeeInputBodyWritable;
4153
+ var zSeriesAddAttendeePath = z.object({
4154
+ 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" })
4155
+ });
4156
+ var zSeriesAddAttendeeResponse = zAttendee;
4157
+ var zSeriesBulkAddAttendeesBody = zBulkAttendeeBodyWritable;
4158
+ var zSeriesBulkAddAttendeesPath = z.object({
4159
+ 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" })
4160
+ });
4161
+ var zSeriesBulkAddAttendeesResponse = z.void();
4162
+ var zSeriesRemoveAttendeePath = z.object({
4163
+ 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" }),
4164
+ contact_id: z.string()
4165
+ });
4166
+ var zSeriesRemoveAttendeeResponse = z.void();
4167
+ var zSeriesUpdateAttendeeStatusBody = zUpdateSeriesAttendeeStatusInputBodyWritable;
4168
+ var zSeriesUpdateAttendeeStatusPath = z.object({
4169
+ 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" }),
4170
+ contact_id: z.string()
4171
+ });
4172
+ var zSeriesUpdateAttendeeStatusResponse = zAttendee;
4173
+ var zSeriesCheckInAttendeeBody = zCheckInSeriesAttendeeInputBody;
4174
+ var zSeriesCheckInAttendeePath = z.object({
4175
+ 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" }),
4176
+ contact_id: z.string()
4177
+ });
4178
+ var zSeriesCheckInAttendeeResponse = z.void();
4179
+ var zSeriesListDocumentsPath = z.object({
4180
+ 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" })
4181
+ });
4182
+ var zSeriesListDocumentsResponse = z.array(z.string()).nullable();
4183
+ var zSeriesRemoveDocumentPath = z.object({
4184
+ 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" }),
4185
+ document_id: z.string()
4186
+ });
4187
+ var zSeriesRemoveDocumentResponse = z.void();
4188
+ var zSeriesAddDocumentBody = zAddSeriesDocumentInputBody;
4189
+ var zSeriesAddDocumentPath = z.object({
4190
+ 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" }),
4191
+ document_id: z.string()
4192
+ });
4193
+ var zSeriesListLinksPath = z.object({
4194
+ 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" })
4195
+ });
4196
+ var zSeriesListLinksResponse = z.array(zEventLinkWithTarget).nullable();
4197
+ var zSeriesAddLinkBody = zAddSeriesLinkInputBodyWritable;
4198
+ var zSeriesAddLinkPath = z.object({
4199
+ 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" })
4200
+ });
4201
+ var zSeriesAddLinkResponse = zEventLink;
4202
+ var zSeriesRemoveLinkPath = z.object({
4203
+ 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" }),
4204
+ target_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" })
4205
+ });
4206
+ var zSeriesRemoveLinkResponse = z.void();
4207
+ var zSeriesListMilestonesPath = z.object({
4208
+ 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" })
4209
+ });
4210
+ var zSeriesListMilestonesQuery = z.object({
4211
+ page: z.coerce.bigint().gte(BigInt(1)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).optional().default(BigInt(1)),
4212
+ size: z.coerce.bigint().gte(BigInt(1)).lte(BigInt(100)).optional().default(BigInt(20))
4213
+ });
4214
+ var zSeriesListMilestonesResponse = zPagedBodyMilestoneDetail;
4215
+ var zSeriesAddMilestoneBody = zAddSeriesMilestoneInputBodyWritable;
4216
+ var zSeriesAddMilestonePath = z.object({
4217
+ 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" })
4218
+ });
4219
+ var zSeriesAddMilestoneResponse = zMilestone;
4220
+ var zSeriesRemoveMilestonePath = z.object({
4221
+ 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" }),
4222
+ 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" })
4223
+ });
4224
+ var zSeriesRemoveMilestoneResponse = z.void();
4225
+ var zSeriesPatchMilestoneLifecycleBody = zPatchSeriesMilestoneInputBodyWritable;
4226
+ var zSeriesPatchMilestoneLifecyclePath = z.object({
4227
+ 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" }),
4228
+ 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" })
4229
+ });
4230
+ var zSeriesPatchMilestoneLifecycleResponse = zMilestone;
4231
+ var zSeriesUpdateMilestoneBody = zUpdateSeriesMilestoneInputBodyWritable;
4232
+ var zSeriesUpdateMilestonePath = z.object({
4233
+ 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" }),
4234
+ 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" })
2777
4235
  });
2778
- var zRolesUpdateResponse = zCustomRole;
4236
+ var zSeriesUpdateMilestoneResponse = zMilestone;
2779
4237
  var zSpacesListQuery = z.object({
2780
4238
  page: z.coerce.bigint().gte(BigInt(1)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).optional().default(BigInt(1)),
2781
4239
  size: z.coerce.bigint().gte(BigInt(1)).lte(BigInt(100)).optional().default(BigInt(20)),
@@ -2787,6 +4245,9 @@ var zSpacesListResponse = zPagedBodySpace;
2787
4245
  var zSpacesCreateBody = zCreateSpaceInputBodyWritable;
2788
4246
  var zSpacesCreateResponse = zSpace;
2789
4247
  var zSpacesManagerPermissionsResponse = zSpaceManagerPermissionsOutputBody;
4248
+ var zSpacesAcceptManagerInviteBody = zAcceptSpaceManagerInviteInputBodyWritable;
4249
+ var zSpacesAcceptManagerInviteResponse = zSpaceManager;
4250
+ var zSpacesListPendingManagerInvitesResponse = zListPendingManagerInvitesOutputBody;
2790
4251
  var zSpacesDeletePath = z.object({
2791
4252
  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
4253
  });
@@ -2805,10 +4266,66 @@ var zSpacesUpdatePath = z.object({
2805
4266
  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" })
2806
4267
  });
2807
4268
  var zSpacesUpdateResponse = zSpace;
4269
+ var zSpacesListActivityPath = z.object({
4270
+ 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" })
4271
+ });
4272
+ var zSpacesListActivityQuery = z.object({
4273
+ page: z.coerce.bigint().gte(BigInt(1)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).optional().default(BigInt(1)),
4274
+ size: z.coerce.bigint().gte(BigInt(1)).lte(BigInt(100)).optional().default(BigInt(20))
4275
+ });
4276
+ var zSpacesListActivityResponse = zPagedBodySpaceActivity;
4277
+ var zSpacesListActivityLogPath = z.object({
4278
+ 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" })
4279
+ });
4280
+ var zSpacesListActivityLogQuery = z.object({
4281
+ start_date: z.string().optional(),
4282
+ end_date: z.string().optional(),
4283
+ type: z.enum([
4284
+ "all",
4285
+ "contact",
4286
+ "event",
4287
+ "member",
4288
+ "announcement",
4289
+ "material"
4290
+ ]).optional(),
4291
+ page: z.coerce.bigint().gte(BigInt(1)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).optional().default(BigInt(1)),
4292
+ size: z.coerce.bigint().gte(BigInt(1)).lte(BigInt(100)).optional().default(BigInt(20))
4293
+ });
4294
+ var zSpacesListActivityLogResponse = zSpaceActivityLogResult;
4295
+ var zSpacesGetAnalyticsPath = z.object({
4296
+ 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" })
4297
+ });
4298
+ var zSpacesGetAnalyticsResponse = zSpaceAnalyticsResult;
4299
+ var zSpacesListAnnouncementsPath = z.object({
4300
+ 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" })
4301
+ });
4302
+ var zSpacesListAnnouncementsQuery = z.object({
4303
+ page: z.coerce.bigint().gte(BigInt(1)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).optional().default(BigInt(1)),
4304
+ size: z.coerce.bigint().gte(BigInt(1)).lte(BigInt(100)).optional().default(BigInt(20))
4305
+ });
4306
+ var zSpacesListAnnouncementsResponse = zPagedBodySpaceAnnouncementDetail;
4307
+ var zSpacesAddAnnouncementBody = zAddSpaceAnnouncementInputBodyWritable;
4308
+ var zSpacesAddAnnouncementPath = z.object({
4309
+ 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" })
4310
+ });
4311
+ var zSpacesAddAnnouncementResponse = zSpaceAnnouncementDetail;
4312
+ var zSpacesRemoveAnnouncementPath = z.object({
4313
+ 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" }),
4314
+ announcement_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" })
4315
+ });
4316
+ var zSpacesRemoveAnnouncementResponse = z.void();
2808
4317
  var zSpacesArchivePath = z.object({
2809
4318
  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" })
2810
4319
  });
2811
4320
  var zSpacesArchiveResponse = z.void();
4321
+ var zSpacesListChildrenPath = z.object({
4322
+ 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" })
4323
+ });
4324
+ var zSpacesListChildrenQuery = z.object({
4325
+ page: z.coerce.bigint().gte(BigInt(1)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).optional().default(BigInt(1)),
4326
+ size: z.coerce.bigint().gte(BigInt(1)).lte(BigInt(100)).optional().default(BigInt(20))
4327
+ });
4328
+ var zSpacesListChildrenResponse = zPagedBodySpace;
2812
4329
  var zSpacesListContactsPath = z.object({
2813
4330
  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" })
2814
4331
  });
@@ -2816,7 +4333,7 @@ var zSpacesListContactsQuery = z.object({
2816
4333
  page: z.coerce.bigint().gte(BigInt(1)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).optional().default(BigInt(1)),
2817
4334
  size: z.coerce.bigint().gte(BigInt(1)).lte(BigInt(100)).optional().default(BigInt(20))
2818
4335
  });
2819
- var zSpacesListContactsResponse = zPagedBodySpaceContact;
4336
+ var zSpacesListContactsResponse = zPagedBodySpaceContactDetail;
2820
4337
  var zSpacesAddContactBody = zAddSpaceContactInputBodyWritable;
2821
4338
  var zSpacesAddContactPath = z.object({
2822
4339
  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" })
@@ -2846,7 +4363,7 @@ var zSpacesListEventsQuery = z.object({
2846
4363
  page: z.coerce.bigint().gte(BigInt(1)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).optional().default(BigInt(1)),
2847
4364
  size: z.coerce.bigint().gte(BigInt(1)).lte(BigInt(100)).optional().default(BigInt(20))
2848
4365
  });
2849
- var zSpacesListEventsResponse = zPagedBodySpaceEventLink;
4366
+ var zSpacesListEventsResponse = zPagedBodySpaceEventLinkDetail;
2850
4367
  var zSpacesAddEventBody = zAddSpaceEventInputBodyWritable;
2851
4368
  var zSpacesAddEventPath = z.object({
2852
4369
  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" })
@@ -2870,6 +4387,11 @@ var zSpacesAddManagerPath = z.object({
2870
4387
  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" })
2871
4388
  });
2872
4389
  var zSpacesAddManagerResponse = zSpaceManager;
4390
+ var zSpacesInviteManagerBody = zInviteSpaceManagerInputBodyWritable;
4391
+ var zSpacesInviteManagerPath = z.object({
4392
+ 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" })
4393
+ });
4394
+ var zSpacesInviteManagerResponse = zSpaceManager;
2873
4395
  var zSpacesRemoveManagerPath = z.object({
2874
4396
  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
4397
  user_id: z.string()
@@ -2909,6 +4431,15 @@ var zSpacesPublishPath = z.object({
2909
4431
  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" })
2910
4432
  });
2911
4433
  var zSpacesPublishResponse = z.void();
4434
+ var zSpacesGetSettingsPath = z.object({
4435
+ 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" })
4436
+ });
4437
+ var zSpacesGetSettingsResponse = zSpaceSettings;
4438
+ var zSpacesPatchSettingsBody = zSpaceSettingsPatchWritable;
4439
+ var zSpacesPatchSettingsPath = z.object({
4440
+ 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" })
4441
+ });
4442
+ var zSpacesPatchSettingsResponse = zSpaceSettings;
2912
4443
  var zLivenessResponse = zLivenessOutputBody;
2913
4444
  var zReadinessResponse = zReadinessOutputBody;
2914
4445
 
@@ -2965,6 +4496,125 @@ var Analytics = class extends HeyApiClient {
2965
4496
  ...options
2966
4497
  });
2967
4498
  }
4499
+ /**
4500
+ * Get the overview screen payload
4501
+ */
4502
+ overview(options) {
4503
+ return (options?.client ?? this.client).get({
4504
+ requestValidator: async (data) => await z2.object({
4505
+ body: z2.never().optional(),
4506
+ path: z2.never().optional(),
4507
+ query: z2.never().optional()
4508
+ }).parseAsync(data),
4509
+ responseValidator: async (data) => await zAnalyticsOverviewResponse.parseAsync(data),
4510
+ url: "/api/v1/analytics/overview",
4511
+ ...options
4512
+ });
4513
+ }
4514
+ };
4515
+ var Announcements = class extends HeyApiClient {
4516
+ /**
4517
+ * List announcements
4518
+ */
4519
+ list(options) {
4520
+ return (options?.client ?? this.client).get({
4521
+ requestValidator: async (data) => await z2.object({
4522
+ body: z2.never().optional(),
4523
+ path: z2.never().optional(),
4524
+ query: zAnnouncementsListQuery.optional()
4525
+ }).parseAsync(data),
4526
+ responseValidator: async (data) => await zAnnouncementsListResponse.parseAsync(data),
4527
+ url: "/api/v1/announcements",
4528
+ ...options
4529
+ });
4530
+ }
4531
+ /**
4532
+ * Create an announcement
4533
+ */
4534
+ create(options) {
4535
+ return (options.client ?? this.client).post({
4536
+ requestValidator: async (data) => await z2.object({
4537
+ body: zAnnouncementsCreateBody,
4538
+ path: z2.never().optional(),
4539
+ query: z2.never().optional()
4540
+ }).parseAsync(data),
4541
+ responseValidator: async (data) => await zAnnouncementsCreateResponse.parseAsync(data),
4542
+ url: "/api/v1/announcements",
4543
+ ...options,
4544
+ headers: {
4545
+ "Content-Type": "application/json",
4546
+ ...options.headers
4547
+ }
4548
+ });
4549
+ }
4550
+ /**
4551
+ * Delete an announcement
4552
+ */
4553
+ delete(options) {
4554
+ return (options.client ?? this.client).delete({
4555
+ requestValidator: async (data) => await z2.object({
4556
+ body: z2.never().optional(),
4557
+ path: zAnnouncementsDeletePath,
4558
+ query: z2.never().optional()
4559
+ }).parseAsync(data),
4560
+ responseValidator: async (data) => await zAnnouncementsDeleteResponse.parseAsync(data),
4561
+ url: "/api/v1/announcements/{id}",
4562
+ ...options
4563
+ });
4564
+ }
4565
+ /**
4566
+ * Get an announcement
4567
+ */
4568
+ get(options) {
4569
+ return (options.client ?? this.client).get({
4570
+ requestValidator: async (data) => await z2.object({
4571
+ body: z2.never().optional(),
4572
+ path: zAnnouncementsGetPath,
4573
+ query: z2.never().optional()
4574
+ }).parseAsync(data),
4575
+ responseValidator: async (data) => await zAnnouncementsGetResponse.parseAsync(data),
4576
+ url: "/api/v1/announcements/{id}",
4577
+ ...options
4578
+ });
4579
+ }
4580
+ /**
4581
+ * Partially update an announcement
4582
+ */
4583
+ patch(options) {
4584
+ return (options.client ?? this.client).patch({
4585
+ requestValidator: async (data) => await z2.object({
4586
+ body: zAnnouncementsPatchBody,
4587
+ path: zAnnouncementsPatchPath,
4588
+ query: z2.never().optional()
4589
+ }).parseAsync(data),
4590
+ responseValidator: async (data) => await zAnnouncementsPatchResponse.parseAsync(data),
4591
+ url: "/api/v1/announcements/{id}",
4592
+ ...options,
4593
+ headers: {
4594
+ "Content-Type": "application/json",
4595
+ ...options.headers
4596
+ }
4597
+ });
4598
+ }
4599
+ /**
4600
+ * Publish an announcement (queues email delivery)
4601
+ */
4602
+ publish(options) {
4603
+ return (options.client ?? this.client).post({
4604
+ requestValidator: async (data) => await z2.object({
4605
+ body: zAnnouncementsPublishBody,
4606
+ path: zAnnouncementsPublishPath,
4607
+ query: z2.never().optional()
4608
+ }).parseAsync(data),
4609
+ responseValidator: async (data) => await zAnnouncementsPublishResponse.parseAsync(data),
4610
+ url: "/api/v1/announcements/{id}/publish",
4611
+ ...options,
4612
+ headers: {
4613
+ "Content-Type": "application/json",
4614
+ ...options.headers
4615
+ }
4616
+ });
4617
+ }
2968
4618
  };
2969
4619
  var Audit = class extends HeyApiClient {
2970
4620
  /**
@@ -3016,6 +4666,21 @@ var Auth = class extends HeyApiClient {
3016
4666
  }
3017
4667
  };
3018
4668
  var Automation = class extends HeyApiClient {
4669
+ /**
4670
+ * List available native automation action types
4671
+ */
4672
+ listActions(options) {
4673
+ return (options?.client ?? this.client).get({
4674
+ requestValidator: async (data) => await z2.object({
4675
+ body: z2.never().optional(),
4676
+ path: z2.never().optional(),
4677
+ query: z2.never().optional()
4678
+ }).parseAsync(data),
4679
+ responseValidator: async (data) => await zAutomationListActionsResponse.parseAsync(data),
4680
+ url: "/api/v1/automation/actions",
4681
+ ...options
4682
+ });
4683
+ }
3019
4684
  /**
3020
4685
  * List automation rules
3021
4686
  */
@@ -3129,6 +4794,21 @@ var Automation = class extends HeyApiClient {
3129
4794
  ...options
3130
4795
  });
3131
4796
  }
4797
+ /**
4798
+ * List available automation trigger types
4799
+ */
4800
+ listTriggers(options) {
4801
+ return (options?.client ?? this.client).get({
4802
+ requestValidator: async (data) => await z2.object({
4803
+ body: z2.never().optional(),
4804
+ path: z2.never().optional(),
4805
+ query: z2.never().optional()
4806
+ }).parseAsync(data),
4807
+ responseValidator: async (data) => await zAutomationListTriggersResponse.parseAsync(data),
4808
+ url: "/api/v1/automation/triggers",
4809
+ ...options
4810
+ });
4811
+ }
3132
4812
  };
3133
4813
  var Bookings = class extends HeyApiClient {
3134
4814
  /**
@@ -3368,6 +5048,72 @@ var Contacts = class extends HeyApiClient {
3368
5048
  });
3369
5049
  }
3370
5050
  };
5051
+ var Credentials = class extends HeyApiClient {
5052
+ /**
5053
+ * List machine credentials
5054
+ */
5055
+ list(options) {
5056
+ return (options?.client ?? this.client).get({
5057
+ requestValidator: async (data) => await z2.object({
5058
+ body: z2.never().optional(),
5059
+ path: z2.never().optional(),
5060
+ query: z2.never().optional()
5061
+ }).parseAsync(data),
5062
+ responseValidator: async (data) => await zCredentialsListResponse.parseAsync(data),
5063
+ url: "/api/v1/credentials",
5064
+ ...options
5065
+ });
5066
+ }
5067
+ /**
5068
+ * Create a machine credential
5069
+ */
5070
+ create(options) {
5071
+ return (options.client ?? this.client).post({
5072
+ requestValidator: async (data) => await z2.object({
5073
+ body: zCredentialsCreateBody,
5074
+ path: z2.never().optional(),
5075
+ query: z2.never().optional()
5076
+ }).parseAsync(data),
5077
+ responseValidator: async (data) => await zCredentialsCreateResponse.parseAsync(data),
5078
+ url: "/api/v1/credentials",
5079
+ ...options,
5080
+ headers: {
5081
+ "Content-Type": "application/json",
5082
+ ...options.headers
5083
+ }
5084
+ });
5085
+ }
5086
+ /**
5087
+ * Revoke a machine credential
5088
+ */
5089
+ revoke(options) {
5090
+ return (options.client ?? this.client).delete({
5091
+ requestValidator: async (data) => await z2.object({
5092
+ body: z2.never().optional(),
5093
+ path: zCredentialsRevokePath,
5094
+ query: z2.never().optional()
5095
+ }).parseAsync(data),
5096
+ responseValidator: async (data) => await zCredentialsRevokeResponse.parseAsync(data),
5097
+ url: "/api/v1/credentials/{id}",
5098
+ ...options
5099
+ });
5100
+ }
5101
+ /**
5102
+ * Get a machine credential
5103
+ */
5104
+ get(options) {
5105
+ return (options.client ?? this.client).get({
5106
+ requestValidator: async (data) => await z2.object({
5107
+ body: z2.never().optional(),
5108
+ path: zCredentialsGetPath,
5109
+ query: z2.never().optional()
5110
+ }).parseAsync(data),
5111
+ responseValidator: async (data) => await zCredentialsGetResponse.parseAsync(data),
5112
+ url: "/api/v1/credentials/{id}",
5113
+ ...options
5114
+ });
5115
+ }
5116
+ };
3371
5117
  var Events = class extends HeyApiClient {
3372
5118
  /**
3373
5119
  * List events
@@ -3433,6 +5179,61 @@ var Events = class extends HeyApiClient {
3433
5179
  ...options
3434
5180
  });
3435
5181
  }
5182
+ /**
5183
+ * Accept an event manager invite via token
5184
+ */
5185
+ acceptManagerInvite(options) {
5186
+ return (options.client ?? this.client).post({
5187
+ requestValidator: async (data) => await z2.object({
5188
+ body: zEventsAcceptManagerInviteBody,
5189
+ path: z2.never().optional(),
5190
+ query: z2.never().optional()
5191
+ }).parseAsync(data),
5192
+ responseValidator: async (data) => await zEventsAcceptManagerInviteResponse.parseAsync(data),
5193
+ url: "/api/v1/events/managers/accept",
5194
+ ...options,
5195
+ headers: {
5196
+ "Content-Type": "application/json",
5197
+ ...options.headers
5198
+ }
5199
+ });
5200
+ }
5201
+ /**
5202
+ * List pending event manager invites for the current user
5203
+ */
5204
+ listPendingManagerInvites(options) {
5205
+ return (options?.client ?? this.client).get({
5206
+ requestValidator: async (data) => await z2.object({
5207
+ body: z2.never().optional(),
5208
+ path: z2.never().optional(),
5209
+ query: z2.never().optional()
5210
+ }).parseAsync(data),
5211
+ responseValidator: async (data) => await zEventsListPendingManagerInvitesResponse.parseAsync(data),
5212
+ url: "/api/v1/events/managers/pending",
5213
+ ...options
5214
+ });
5215
+ }
5216
+ /**
5217
+ * Create an event and optionally a recurring series in one atomic call
5218
+ *
5219
+ * If series.freq is provided the event is converted into the anchor of a new recurring series. On series creation failure the event is rolled back.
5220
+ */
5221
+ createWithSeries(options) {
5222
+ return (options.client ?? this.client).post({
5223
+ requestValidator: async (data) => await z2.object({
5224
+ body: zEventsCreateWithSeriesBody,
5225
+ path: z2.never().optional(),
5226
+ query: z2.never().optional()
5227
+ }).parseAsync(data),
5228
+ responseValidator: async (data) => await zEventsCreateWithSeriesResponse.parseAsync(data),
5229
+ url: "/api/v1/events/with-series",
5230
+ ...options,
5231
+ headers: {
5232
+ "Content-Type": "application/json",
5233
+ ...options.headers
5234
+ }
5235
+ });
5236
+ }
3436
5237
  /**
3437
5238
  * Delete an event
3438
5239
  */
@@ -3473,7 +5274,7 @@ var Events = class extends HeyApiClient {
3473
5274
  requestValidator: async (data) => await z2.object({
3474
5275
  body: zEventsPatchBody,
3475
5276
  path: zEventsPatchPath,
3476
- query: z2.never().optional()
5277
+ query: zEventsPatchQuery.optional()
3477
5278
  }).parseAsync(data),
3478
5279
  responseValidator: async (data) => await zEventsPatchResponse.parseAsync(data),
3479
5280
  url: "/api/v1/events/{id}",
@@ -3485,7 +5286,7 @@ var Events = class extends HeyApiClient {
3485
5286
  });
3486
5287
  }
3487
5288
  /**
3488
- * Update an event (draft only)
5289
+ * Update an event
3489
5290
  */
3490
5291
  update(options) {
3491
5292
  return (options.client ?? this.client).put({
@@ -3663,28 +5464,156 @@ var Events = class extends HeyApiClient {
3663
5464
  });
3664
5465
  }
3665
5466
  /**
3666
- * Upload event cover image (multipart/form-data, field: file)
5467
+ * List automations attached to an event
3667
5468
  */
3668
- uploadCover(options) {
3669
- return (options.client ?? this.client).put({
3670
- bodySerializer: null,
5469
+ listAutomations(options) {
5470
+ return (options.client ?? this.client).get({
3671
5471
  requestValidator: async (data) => await z2.object({
3672
- body: zEventsUploadCoverBody,
3673
- headers: zEventsUploadCoverHeaders.optional(),
3674
- path: zEventsUploadCoverPath,
5472
+ body: z2.never().optional(),
5473
+ path: zEventsListAutomationsPath,
5474
+ query: zEventsListAutomationsQuery.optional()
5475
+ }).parseAsync(data),
5476
+ responseValidator: async (data) => await zEventsListAutomationsResponse.parseAsync(data),
5477
+ url: "/api/v1/events/{id}/automations",
5478
+ ...options
5479
+ });
5480
+ }
5481
+ /**
5482
+ * Create an automation attached to an event
5483
+ */
5484
+ createAutomation(options) {
5485
+ return (options.client ?? this.client).post({
5486
+ requestValidator: async (data) => await z2.object({
5487
+ body: zEventsCreateAutomationBody,
5488
+ path: zEventsCreateAutomationPath,
3675
5489
  query: z2.never().optional()
3676
5490
  }).parseAsync(data),
3677
- responseValidator: async (data) => await zEventsUploadCoverResponse.parseAsync(data),
3678
- url: "/api/v1/events/{id}/cover",
5491
+ responseValidator: async (data) => await zEventsCreateAutomationResponse.parseAsync(data),
5492
+ url: "/api/v1/events/{id}/automations",
3679
5493
  ...options,
3680
5494
  headers: {
3681
- "Content-Type": "application/octet-stream",
5495
+ "Content-Type": "application/json",
3682
5496
  ...options.headers
3683
5497
  }
3684
5498
  });
3685
5499
  }
3686
5500
  /**
3687
- * Discard draft, keep published version
5501
+ * List event automation templates
5502
+ */
5503
+ automationTemplates(options) {
5504
+ return (options.client ?? this.client).get({
5505
+ requestValidator: async (data) => await z2.object({
5506
+ body: z2.never().optional(),
5507
+ path: zEventsAutomationTemplatesPath,
5508
+ query: z2.never().optional()
5509
+ }).parseAsync(data),
5510
+ responseValidator: async (data) => await zEventsAutomationTemplatesResponse.parseAsync(data),
5511
+ url: "/api/v1/events/{id}/automations/templates",
5512
+ ...options
5513
+ });
5514
+ }
5515
+ /**
5516
+ * Delete an event automation
5517
+ */
5518
+ deleteAutomation(options) {
5519
+ return (options.client ?? this.client).delete({
5520
+ requestValidator: async (data) => await z2.object({
5521
+ body: z2.never().optional(),
5522
+ path: zEventsDeleteAutomationPath,
5523
+ query: z2.never().optional()
5524
+ }).parseAsync(data),
5525
+ responseValidator: async (data) => await zEventsDeleteAutomationResponse.parseAsync(data),
5526
+ url: "/api/v1/events/{id}/automations/{rule_id}",
5527
+ ...options
5528
+ });
5529
+ }
5530
+ /**
5531
+ * Get an event automation
5532
+ */
5533
+ getAutomation(options) {
5534
+ return (options.client ?? this.client).get({
5535
+ requestValidator: async (data) => await z2.object({
5536
+ body: z2.never().optional(),
5537
+ path: zEventsGetAutomationPath,
5538
+ query: z2.never().optional()
5539
+ }).parseAsync(data),
5540
+ responseValidator: async (data) => await zEventsGetAutomationResponse.parseAsync(data),
5541
+ url: "/api/v1/events/{id}/automations/{rule_id}",
5542
+ ...options
5543
+ });
5544
+ }
5545
+ /**
5546
+ * Update an event automation
5547
+ */
5548
+ updateAutomation(options) {
5549
+ return (options.client ?? this.client).put({
5550
+ requestValidator: async (data) => await z2.object({
5551
+ body: zEventsUpdateAutomationBody,
5552
+ path: zEventsUpdateAutomationPath,
5553
+ query: z2.never().optional()
5554
+ }).parseAsync(data),
5555
+ responseValidator: async (data) => await zEventsUpdateAutomationResponse.parseAsync(data),
5556
+ url: "/api/v1/events/{id}/automations/{rule_id}",
5557
+ ...options,
5558
+ headers: {
5559
+ "Content-Type": "application/json",
5560
+ ...options.headers
5561
+ }
5562
+ });
5563
+ }
5564
+ /**
5565
+ * Run an event automation now
5566
+ */
5567
+ executeAutomation(options) {
5568
+ return (options.client ?? this.client).post({
5569
+ requestValidator: async (data) => await z2.object({
5570
+ body: z2.never().optional(),
5571
+ path: zEventsExecuteAutomationPath,
5572
+ query: z2.never().optional()
5573
+ }).parseAsync(data),
5574
+ responseValidator: async (data) => await zEventsExecuteAutomationResponse.parseAsync(data),
5575
+ url: "/api/v1/events/{id}/automations/{rule_id}/execute",
5576
+ ...options
5577
+ });
5578
+ }
5579
+ /**
5580
+ * List execution history for an event automation
5581
+ */
5582
+ listAutomationExecutions(options) {
5583
+ return (options.client ?? this.client).get({
5584
+ requestValidator: async (data) => await z2.object({
5585
+ body: z2.never().optional(),
5586
+ path: zEventsListAutomationExecutionsPath,
5587
+ query: zEventsListAutomationExecutionsQuery.optional()
5588
+ }).parseAsync(data),
5589
+ responseValidator: async (data) => await zEventsListAutomationExecutionsResponse.parseAsync(data),
5590
+ url: "/api/v1/events/{id}/automations/{rule_id}/executions",
5591
+ ...options
5592
+ });
5593
+ }
5594
+ /**
5595
+ * Upload event cover image (multipart/form-data, field: file)
5596
+ */
5597
+ uploadCover(options) {
5598
+ return (options.client ?? this.client).put({
5599
+ bodySerializer: null,
5600
+ requestValidator: async (data) => await z2.object({
5601
+ body: zEventsUploadCoverBody,
5602
+ headers: zEventsUploadCoverHeaders.optional(),
5603
+ path: zEventsUploadCoverPath,
5604
+ query: z2.never().optional()
5605
+ }).parseAsync(data),
5606
+ responseValidator: async (data) => await zEventsUploadCoverResponse.parseAsync(data),
5607
+ url: "/api/v1/events/{id}/cover",
5608
+ ...options,
5609
+ headers: {
5610
+ "Content-Type": "application/octet-stream",
5611
+ ...options.headers
5612
+ }
5613
+ });
5614
+ }
5615
+ /**
5616
+ * Discard draft, keep published version
3688
5617
  */
3689
5618
  discard(options) {
3690
5619
  return (options.client ?? this.client).post({
@@ -3776,6 +5705,55 @@ var Events = class extends HeyApiClient {
3776
5705
  ...options
3777
5706
  });
3778
5707
  }
5708
+ /**
5709
+ * List cross-reference links for this event
5710
+ */
5711
+ listLinks(options) {
5712
+ return (options.client ?? this.client).get({
5713
+ requestValidator: async (data) => await z2.object({
5714
+ body: z2.never().optional(),
5715
+ path: zEventsListLinksPath,
5716
+ query: z2.never().optional()
5717
+ }).parseAsync(data),
5718
+ responseValidator: async (data) => await zEventsListLinksResponse.parseAsync(data),
5719
+ url: "/api/v1/events/{id}/links",
5720
+ ...options
5721
+ });
5722
+ }
5723
+ /**
5724
+ * Link another event as a cross-reference
5725
+ */
5726
+ addLink(options) {
5727
+ return (options.client ?? this.client).post({
5728
+ requestValidator: async (data) => await z2.object({
5729
+ body: zEventsAddLinkBody,
5730
+ path: zEventsAddLinkPath,
5731
+ query: z2.never().optional()
5732
+ }).parseAsync(data),
5733
+ responseValidator: async (data) => await zEventsAddLinkResponse.parseAsync(data),
5734
+ url: "/api/v1/events/{id}/links",
5735
+ ...options,
5736
+ headers: {
5737
+ "Content-Type": "application/json",
5738
+ ...options.headers
5739
+ }
5740
+ });
5741
+ }
5742
+ /**
5743
+ * Remove a cross-reference link
5744
+ */
5745
+ removeLink(options) {
5746
+ return (options.client ?? this.client).delete({
5747
+ requestValidator: async (data) => await z2.object({
5748
+ body: z2.never().optional(),
5749
+ path: zEventsRemoveLinkPath,
5750
+ query: z2.never().optional()
5751
+ }).parseAsync(data),
5752
+ responseValidator: async (data) => await zEventsRemoveLinkResponse.parseAsync(data),
5753
+ url: "/api/v1/events/{id}/links/{target_id}",
5754
+ ...options
5755
+ });
5756
+ }
3779
5757
  /**
3780
5758
  * List managers for an event
3781
5759
  */
@@ -3810,6 +5788,25 @@ var Events = class extends HeyApiClient {
3810
5788
  }
3811
5789
  });
3812
5790
  }
5791
+ /**
5792
+ * Invite a manager to an event by email
5793
+ */
5794
+ inviteManager(options) {
5795
+ return (options.client ?? this.client).post({
5796
+ requestValidator: async (data) => await z2.object({
5797
+ body: zEventsInviteManagerBody,
5798
+ path: zEventsInviteManagerPath,
5799
+ query: z2.never().optional()
5800
+ }).parseAsync(data),
5801
+ responseValidator: async (data) => await zEventsInviteManagerResponse.parseAsync(data),
5802
+ url: "/api/v1/events/{id}/managers/invite",
5803
+ ...options,
5804
+ headers: {
5805
+ "Content-Type": "application/json",
5806
+ ...options.headers
5807
+ }
5808
+ });
5809
+ }
3813
5810
  /**
3814
5811
  * Remove a manager from an event
3815
5812
  */
@@ -3908,6 +5905,25 @@ var Events = class extends HeyApiClient {
3908
5905
  ...options
3909
5906
  });
3910
5907
  }
5908
+ /**
5909
+ * Update milestone lifecycle status or reset to automatic mode
5910
+ */
5911
+ patchMilestoneLifecycle(options) {
5912
+ return (options.client ?? this.client).patch({
5913
+ requestValidator: async (data) => await z2.object({
5914
+ body: zEventsPatchMilestoneLifecycleBody,
5915
+ path: zEventsPatchMilestoneLifecyclePath,
5916
+ query: z2.never().optional()
5917
+ }).parseAsync(data),
5918
+ responseValidator: async (data) => await zEventsPatchMilestoneLifecycleResponse.parseAsync(data),
5919
+ url: "/api/v1/events/{id}/milestones/{milestone_event_id}",
5920
+ ...options,
5921
+ headers: {
5922
+ "Content-Type": "application/json",
5923
+ ...options.headers
5924
+ }
5925
+ });
5926
+ }
3911
5927
  /**
3912
5928
  * Update milestone sequence
3913
5929
  */
@@ -3930,7 +5946,7 @@ var Events = class extends HeyApiClient {
3930
5946
  /**
3931
5947
  * Publish an event
3932
5948
  *
3933
- * Promotes a draft event to published. Optionally sends a notification to the creator by providing a JSON body with notification options.
5949
+ * Publishes a new draft or promotes the current draft changes for a published event. Optionally sends a notification to the creator by providing a JSON body with notification options.
3934
5950
  */
3935
5951
  publish(options) {
3936
5952
  return (options.client ?? this.client).post({
@@ -3948,6 +5964,131 @@ var Events = class extends HeyApiClient {
3948
5964
  }
3949
5965
  });
3950
5966
  }
5967
+ /**
5968
+ * Remove from series (scope: this | future | all)
5969
+ */
5970
+ deleteSeries(options) {
5971
+ return (options.client ?? this.client).delete({
5972
+ requestValidator: async (data) => await z2.object({
5973
+ body: z2.never().optional(),
5974
+ path: zEventsDeleteSeriesPath,
5975
+ query: zEventsDeleteSeriesQuery
5976
+ }).parseAsync(data),
5977
+ responseValidator: async (data) => await zEventsDeleteSeriesResponse.parseAsync(data),
5978
+ url: "/api/v1/events/{id}/series",
5979
+ ...options
5980
+ });
5981
+ }
5982
+ /**
5983
+ * Get series rule and all occurrences for a recurring event
5984
+ */
5985
+ getSeries(options) {
5986
+ return (options.client ?? this.client).get({
5987
+ requestValidator: async (data) => await z2.object({
5988
+ body: z2.never().optional(),
5989
+ path: zEventsGetSeriesPath,
5990
+ query: zEventsGetSeriesQuery.optional()
5991
+ }).parseAsync(data),
5992
+ responseValidator: async (data) => await zEventsGetSeriesResponse.parseAsync(data),
5993
+ url: "/api/v1/events/{id}/series",
5994
+ ...options
5995
+ });
5996
+ }
5997
+ /**
5998
+ * Update series fields. Cascades to occurrences without overrides.
5999
+ */
6000
+ patchSeries(options) {
6001
+ return (options.client ?? this.client).patch({
6002
+ requestValidator: async (data) => await z2.object({
6003
+ body: zEventsPatchSeriesBody,
6004
+ path: zEventsPatchSeriesPath,
6005
+ query: z2.never().optional()
6006
+ }).parseAsync(data),
6007
+ responseValidator: async (data) => await zEventsPatchSeriesResponse.parseAsync(data),
6008
+ url: "/api/v1/events/{id}/series",
6009
+ ...options,
6010
+ headers: {
6011
+ "Content-Type": "application/json",
6012
+ ...options.headers
6013
+ }
6014
+ });
6015
+ }
6016
+ /**
6017
+ * Convert an event into the anchor of a new recurring series
6018
+ */
6019
+ createSeries(options) {
6020
+ return (options.client ?? this.client).post({
6021
+ requestValidator: async (data) => await z2.object({
6022
+ body: zEventsCreateSeriesBody,
6023
+ path: zEventsCreateSeriesPath,
6024
+ query: z2.never().optional()
6025
+ }).parseAsync(data),
6026
+ responseValidator: async (data) => await zEventsCreateSeriesResponse.parseAsync(data),
6027
+ url: "/api/v1/events/{id}/series",
6028
+ ...options,
6029
+ headers: {
6030
+ "Content-Type": "application/json",
6031
+ ...options.headers
6032
+ }
6033
+ });
6034
+ }
6035
+ /**
6036
+ * Invite series manager
6037
+ *
6038
+ * Invites a user as series manager by email. Only the series owner can do this.
6039
+ */
6040
+ inviteSeriesManager(options) {
6041
+ return (options.client ?? this.client).post({
6042
+ requestValidator: async (data) => await z2.object({
6043
+ body: zEventsInviteSeriesManagerBody,
6044
+ path: zEventsInviteSeriesManagerPath,
6045
+ query: z2.never().optional()
6046
+ }).parseAsync(data),
6047
+ responseValidator: async (data) => await zEventsInviteSeriesManagerResponse.parseAsync(data),
6048
+ url: "/api/v1/events/{id}/series/manager",
6049
+ ...options,
6050
+ headers: {
6051
+ "Content-Type": "application/json",
6052
+ ...options.headers
6053
+ }
6054
+ });
6055
+ }
6056
+ /**
6057
+ * List occurrences of the series this event belongs to (paginated)
6058
+ */
6059
+ listOccurrences(options) {
6060
+ return (options.client ?? this.client).get({
6061
+ requestValidator: async (data) => await z2.object({
6062
+ body: z2.never().optional(),
6063
+ path: zEventsListOccurrencesPath,
6064
+ query: zEventsListOccurrencesQuery.optional()
6065
+ }).parseAsync(data),
6066
+ responseValidator: async (data) => await zEventsListOccurrencesResponse.parseAsync(data),
6067
+ url: "/api/v1/events/{id}/series/occurrences",
6068
+ ...options
6069
+ });
6070
+ }
6071
+ /**
6072
+ * Publish series
6073
+ *
6074
+ * Publishes a series and all its occurrences. Optionally sends a notification to attendees.
6075
+ */
6076
+ publishSeries(options) {
6077
+ return (options.client ?? this.client).post({
6078
+ requestValidator: async (data) => await z2.object({
6079
+ body: zEventsPublishSeriesBody.optional(),
6080
+ path: zEventsPublishSeriesPath,
6081
+ query: z2.never().optional()
6082
+ }).parseAsync(data),
6083
+ responseValidator: async (data) => await zEventsPublishSeriesResponse.parseAsync(data),
6084
+ url: "/api/v1/events/{id}/series/publish",
6085
+ ...options,
6086
+ headers: {
6087
+ "Content-Type": "application/json",
6088
+ ...options.headers
6089
+ }
6090
+ });
6091
+ }
3951
6092
  /**
3952
6093
  * List spaces this event belongs to
3953
6094
  */
@@ -4166,23 +6307,6 @@ var Organizations = class extends HeyApiClient {
4166
6307
  return this._invites ?? (this._invites = new Invites({ client: this.client }));
4167
6308
  }
4168
6309
  };
4169
- var Permissions = class extends HeyApiClient {
4170
- /**
4171
- * List all available permission codes
4172
- */
4173
- list(options) {
4174
- return (options?.client ?? this.client).get({
4175
- requestValidator: async (data) => await z2.object({
4176
- body: z2.never().optional(),
4177
- path: z2.never().optional(),
4178
- query: z2.never().optional()
4179
- }).parseAsync(data),
4180
- responseValidator: async (data) => await zPermissionsListResponse.parseAsync(data),
4181
- url: "/api/v1/permissions",
4182
- ...options
4183
- });
4184
- }
4185
- };
4186
6310
  var Places = class extends HeyApiClient {
4187
6311
  /**
4188
6312
  * List places
@@ -4356,157 +6480,413 @@ var Profiles = class extends HeyApiClient {
4356
6480
  list(options) {
4357
6481
  return (options?.client ?? this.client).get({
4358
6482
  requestValidator: async (data) => await z2.object({
4359
- body: z2.never().optional(),
4360
- path: z2.never().optional(),
4361
- query: zProfilesListQuery.optional()
6483
+ body: z2.never().optional(),
6484
+ path: z2.never().optional(),
6485
+ query: zProfilesListQuery.optional()
6486
+ }).parseAsync(data),
6487
+ responseValidator: async (data) => await zProfilesListResponse.parseAsync(data),
6488
+ url: "/api/v1/profiles",
6489
+ ...options
6490
+ });
6491
+ }
6492
+ /**
6493
+ * Search profiles by username or email
6494
+ */
6495
+ search(options) {
6496
+ return (options?.client ?? this.client).get({
6497
+ requestValidator: async (data) => await z2.object({
6498
+ body: z2.never().optional(),
6499
+ path: z2.never().optional(),
6500
+ query: zProfilesSearchQuery.optional()
6501
+ }).parseAsync(data),
6502
+ responseValidator: async (data) => await zProfilesSearchResponse.parseAsync(data),
6503
+ url: "/api/v1/profiles/search",
6504
+ ...options
6505
+ });
6506
+ }
6507
+ /**
6508
+ * Get a profile by ID
6509
+ */
6510
+ get(options) {
6511
+ return (options.client ?? this.client).get({
6512
+ requestValidator: async (data) => await z2.object({
6513
+ body: z2.never().optional(),
6514
+ path: zProfilesGetPath,
6515
+ query: z2.never().optional()
6516
+ }).parseAsync(data),
6517
+ responseValidator: async (data) => await zProfilesGetResponse.parseAsync(data),
6518
+ url: "/api/v1/profiles/{id}",
6519
+ ...options
6520
+ });
6521
+ }
6522
+ get me() {
6523
+ return this._me ?? (this._me = new Me({ client: this.client }));
6524
+ }
6525
+ };
6526
+ var Events2 = class extends HeyApiClient {
6527
+ /**
6528
+ * List public events
6529
+ *
6530
+ * Returns published events that the owning organisation has made publicly visible. No authentication required.
6531
+ */
6532
+ list(options) {
6533
+ return (options?.client ?? this.client).get({
6534
+ requestValidator: async (data) => await z2.object({
6535
+ body: z2.never().optional(),
6536
+ path: z2.never().optional(),
6537
+ query: zPublicEventsListQuery.optional()
6538
+ }).parseAsync(data),
6539
+ responseValidator: async (data) => await zPublicEventsListResponse.parseAsync(data),
6540
+ url: "/api/v1/public/events",
6541
+ ...options
6542
+ });
6543
+ }
6544
+ /**
6545
+ * Get a public event
6546
+ *
6547
+ * Returns a single published public event. Returns 404 if the event is not found or is not publicly visible.
6548
+ */
6549
+ get(options) {
6550
+ return (options.client ?? this.client).get({
6551
+ requestValidator: async (data) => await z2.object({
6552
+ body: z2.never().optional(),
6553
+ path: zPublicEventsGetPath,
6554
+ query: z2.never().optional()
6555
+ }).parseAsync(data),
6556
+ responseValidator: async (data) => await zPublicEventsGetResponse.parseAsync(data),
6557
+ url: "/api/v1/public/events/{id}",
6558
+ ...options
6559
+ });
6560
+ }
6561
+ };
6562
+ var Spaces = class extends HeyApiClient {
6563
+ /**
6564
+ * List public spaces
6565
+ *
6566
+ * Returns published spaces that the owning organisation has made publicly visible. No authentication required.
6567
+ */
6568
+ list(options) {
6569
+ return (options?.client ?? this.client).get({
6570
+ requestValidator: async (data) => await z2.object({
6571
+ body: z2.never().optional(),
6572
+ path: z2.never().optional(),
6573
+ query: zPublicSpacesListQuery.optional()
6574
+ }).parseAsync(data),
6575
+ responseValidator: async (data) => await zPublicSpacesListResponse.parseAsync(data),
6576
+ url: "/api/v1/public/spaces",
6577
+ ...options
6578
+ });
6579
+ }
6580
+ /**
6581
+ * Get a public space
6582
+ *
6583
+ * Returns the public live-space page payload. Returns 404 if the space is not found or is not publicly visible.
6584
+ */
6585
+ get(options) {
6586
+ return (options.client ?? this.client).get({
6587
+ requestValidator: async (data) => await z2.object({
6588
+ body: z2.never().optional(),
6589
+ path: zPublicSpacesGetPath,
6590
+ query: z2.never().optional()
6591
+ }).parseAsync(data),
6592
+ responseValidator: async (data) => await zPublicSpacesGetResponse.parseAsync(data),
6593
+ url: "/api/v1/public/spaces/{id}",
6594
+ ...options
6595
+ });
6596
+ }
6597
+ };
6598
+ var Public = class extends HeyApiClient {
6599
+ get events() {
6600
+ return this._events ?? (this._events = new Events2({ client: this.client }));
6601
+ }
6602
+ get spaces() {
6603
+ return this._spaces ?? (this._spaces = new Spaces({ client: this.client }));
6604
+ }
6605
+ };
6606
+ var Series = class extends HeyApiClient {
6607
+ /**
6608
+ * Accept series manager invite
6609
+ *
6610
+ * Accepts a pending series manager invite by token.
6611
+ */
6612
+ acceptManagerInvite(options) {
6613
+ return (options.client ?? this.client).post({
6614
+ requestValidator: async (data) => await z2.object({
6615
+ body: zSeriesAcceptManagerInviteBody,
6616
+ path: z2.never().optional(),
6617
+ query: z2.never().optional()
6618
+ }).parseAsync(data),
6619
+ responseValidator: async (data) => await zSeriesAcceptManagerInviteResponse.parseAsync(data),
6620
+ url: "/api/v1/series/accept-manager-invite",
6621
+ ...options,
6622
+ headers: {
6623
+ "Content-Type": "application/json",
6624
+ ...options.headers
6625
+ }
6626
+ });
6627
+ }
6628
+ /**
6629
+ * List pending series manager invites
6630
+ *
6631
+ * Lists pending series manager invites for the current user.
6632
+ */
6633
+ listPendingManagerInvites(options) {
6634
+ return (options?.client ?? this.client).get({
6635
+ requestValidator: async (data) => await z2.object({
6636
+ body: z2.never().optional(),
6637
+ path: z2.never().optional(),
6638
+ query: z2.never().optional()
6639
+ }).parseAsync(data),
6640
+ responseValidator: async (data) => await zSeriesListPendingManagerInvitesResponse.parseAsync(data),
6641
+ url: "/api/v1/series/pending-manager-invites",
6642
+ ...options
6643
+ });
6644
+ }
6645
+ /**
6646
+ * Get series by ID with all occurrences
6647
+ */
6648
+ getById(options) {
6649
+ return (options.client ?? this.client).get({
6650
+ requestValidator: async (data) => await z2.object({
6651
+ body: z2.never().optional(),
6652
+ path: zSeriesGetByIdPath,
6653
+ query: zSeriesGetByIdQuery.optional()
6654
+ }).parseAsync(data),
6655
+ responseValidator: async (data) => await zSeriesGetByIdResponse.parseAsync(data),
6656
+ url: "/api/v1/series/{id}",
6657
+ ...options
6658
+ });
6659
+ }
6660
+ /**
6661
+ * List series attendees
6662
+ */
6663
+ listAttendees(options) {
6664
+ return (options.client ?? this.client).get({
6665
+ requestValidator: async (data) => await z2.object({
6666
+ body: z2.never().optional(),
6667
+ path: zSeriesListAttendeesPath,
6668
+ query: zSeriesListAttendeesQuery.optional()
6669
+ }).parseAsync(data),
6670
+ responseValidator: async (data) => await zSeriesListAttendeesResponse.parseAsync(data),
6671
+ url: "/api/v1/series/{id}/attendees",
6672
+ ...options
6673
+ });
6674
+ }
6675
+ /**
6676
+ * Add attendee to series
6677
+ */
6678
+ addAttendee(options) {
6679
+ return (options.client ?? this.client).post({
6680
+ requestValidator: async (data) => await z2.object({
6681
+ body: zSeriesAddAttendeeBody,
6682
+ path: zSeriesAddAttendeePath,
6683
+ query: z2.never().optional()
6684
+ }).parseAsync(data),
6685
+ responseValidator: async (data) => await zSeriesAddAttendeeResponse.parseAsync(data),
6686
+ url: "/api/v1/series/{id}/attendees",
6687
+ ...options,
6688
+ headers: {
6689
+ "Content-Type": "application/json",
6690
+ ...options.headers
6691
+ }
6692
+ });
6693
+ }
6694
+ /**
6695
+ * Bulk add attendees to series
6696
+ */
6697
+ bulkAddAttendees(options) {
6698
+ return (options.client ?? this.client).post({
6699
+ requestValidator: async (data) => await z2.object({
6700
+ body: zSeriesBulkAddAttendeesBody,
6701
+ path: zSeriesBulkAddAttendeesPath,
6702
+ query: z2.never().optional()
6703
+ }).parseAsync(data),
6704
+ responseValidator: async (data) => await zSeriesBulkAddAttendeesResponse.parseAsync(data),
6705
+ url: "/api/v1/series/{id}/attendees/bulk",
6706
+ ...options,
6707
+ headers: {
6708
+ "Content-Type": "application/json",
6709
+ ...options.headers
6710
+ }
6711
+ });
6712
+ }
6713
+ /**
6714
+ * Remove attendee from series
6715
+ */
6716
+ removeAttendee(options) {
6717
+ return (options.client ?? this.client).delete({
6718
+ requestValidator: async (data) => await z2.object({
6719
+ body: z2.never().optional(),
6720
+ path: zSeriesRemoveAttendeePath,
6721
+ query: z2.never().optional()
6722
+ }).parseAsync(data),
6723
+ responseValidator: async (data) => await zSeriesRemoveAttendeeResponse.parseAsync(data),
6724
+ url: "/api/v1/series/{id}/attendees/{contact_id}",
6725
+ ...options
6726
+ });
6727
+ }
6728
+ /**
6729
+ * Update series attendee status
6730
+ */
6731
+ updateAttendeeStatus(options) {
6732
+ return (options.client ?? this.client).patch({
6733
+ requestValidator: async (data) => await z2.object({
6734
+ body: zSeriesUpdateAttendeeStatusBody,
6735
+ path: zSeriesUpdateAttendeeStatusPath,
6736
+ query: z2.never().optional()
6737
+ }).parseAsync(data),
6738
+ responseValidator: async (data) => await zSeriesUpdateAttendeeStatusResponse.parseAsync(data),
6739
+ url: "/api/v1/series/{id}/attendees/{contact_id}",
6740
+ ...options,
6741
+ headers: {
6742
+ "Content-Type": "application/json",
6743
+ ...options.headers
6744
+ }
6745
+ });
6746
+ }
6747
+ /**
6748
+ * Check in a series attendee
6749
+ */
6750
+ checkInAttendee(options) {
6751
+ return (options.client ?? this.client).post({
6752
+ requestValidator: async (data) => await z2.object({
6753
+ body: zSeriesCheckInAttendeeBody,
6754
+ path: zSeriesCheckInAttendeePath,
6755
+ query: z2.never().optional()
4362
6756
  }).parseAsync(data),
4363
- responseValidator: async (data) => await zProfilesListResponse.parseAsync(data),
4364
- url: "/api/v1/profiles",
4365
- ...options
6757
+ responseValidator: async (data) => await zSeriesCheckInAttendeeResponse.parseAsync(data),
6758
+ url: "/api/v1/series/{id}/attendees/{contact_id}/check-in",
6759
+ ...options,
6760
+ headers: {
6761
+ "Content-Type": "application/json",
6762
+ ...options.headers
6763
+ }
4366
6764
  });
4367
6765
  }
4368
6766
  /**
4369
- * Search profiles by username or email
6767
+ * List documents linked to series
4370
6768
  */
4371
- search(options) {
4372
- return (options?.client ?? this.client).get({
6769
+ listDocuments(options) {
6770
+ return (options.client ?? this.client).get({
4373
6771
  requestValidator: async (data) => await z2.object({
4374
6772
  body: z2.never().optional(),
4375
- path: z2.never().optional(),
4376
- query: zProfilesSearchQuery.optional()
6773
+ path: zSeriesListDocumentsPath,
6774
+ query: z2.never().optional()
4377
6775
  }).parseAsync(data),
4378
- responseValidator: async (data) => await zProfilesSearchResponse.parseAsync(data),
4379
- url: "/api/v1/profiles/search",
6776
+ responseValidator: async (data) => await zSeriesListDocumentsResponse.parseAsync(data),
6777
+ url: "/api/v1/series/{id}/documents",
4380
6778
  ...options
4381
6779
  });
4382
6780
  }
4383
6781
  /**
4384
- * Get a profile by ID
6782
+ * Unlink document from series
4385
6783
  */
4386
- get(options) {
4387
- return (options.client ?? this.client).get({
6784
+ removeDocument(options) {
6785
+ return (options.client ?? this.client).delete({
4388
6786
  requestValidator: async (data) => await z2.object({
4389
6787
  body: z2.never().optional(),
4390
- path: zProfilesGetPath,
6788
+ path: zSeriesRemoveDocumentPath,
4391
6789
  query: z2.never().optional()
4392
6790
  }).parseAsync(data),
4393
- responseValidator: async (data) => await zProfilesGetResponse.parseAsync(data),
4394
- url: "/api/v1/profiles/{id}",
6791
+ responseValidator: async (data) => await zSeriesRemoveDocumentResponse.parseAsync(data),
6792
+ url: "/api/v1/series/{id}/documents/{document_id}",
4395
6793
  ...options
4396
6794
  });
4397
6795
  }
4398
- get me() {
4399
- return this._me ?? (this._me = new Me({ client: this.client }));
4400
- }
4401
- };
4402
- var Events2 = class extends HeyApiClient {
4403
6796
  /**
4404
- * List public events
4405
- *
4406
- * Returns published events that the owning organisation has made publicly visible. No authentication required.
6797
+ * Link document to series
4407
6798
  */
4408
- list(options) {
4409
- return (options?.client ?? this.client).get({
6799
+ addDocument(options) {
6800
+ return (options.client ?? this.client).post({
4410
6801
  requestValidator: async (data) => await z2.object({
4411
- body: z2.never().optional(),
4412
- path: z2.never().optional(),
4413
- query: zPublicEventsListQuery.optional()
6802
+ body: zSeriesAddDocumentBody,
6803
+ path: zSeriesAddDocumentPath,
6804
+ query: z2.never().optional()
4414
6805
  }).parseAsync(data),
4415
- responseValidator: async (data) => await zPublicEventsListResponse.parseAsync(data),
4416
- url: "/api/v1/public/events",
4417
- ...options
6806
+ url: "/api/v1/series/{id}/documents/{document_id}",
6807
+ ...options,
6808
+ headers: {
6809
+ "Content-Type": "application/json",
6810
+ ...options.headers
6811
+ }
4418
6812
  });
4419
6813
  }
4420
6814
  /**
4421
- * Get a public event
4422
- *
4423
- * Returns a single published public event. Returns 404 if the event is not found or is not publicly visible.
6815
+ * List cross-reference links for series
4424
6816
  */
4425
- get(options) {
6817
+ listLinks(options) {
4426
6818
  return (options.client ?? this.client).get({
4427
6819
  requestValidator: async (data) => await z2.object({
4428
6820
  body: z2.never().optional(),
4429
- path: zPublicEventsGetPath,
6821
+ path: zSeriesListLinksPath,
4430
6822
  query: z2.never().optional()
4431
6823
  }).parseAsync(data),
4432
- responseValidator: async (data) => await zPublicEventsGetResponse.parseAsync(data),
4433
- url: "/api/v1/public/events/{id}",
6824
+ responseValidator: async (data) => await zSeriesListLinksResponse.parseAsync(data),
6825
+ url: "/api/v1/series/{id}/links",
4434
6826
  ...options
4435
6827
  });
4436
6828
  }
4437
- };
4438
- var Spaces = class extends HeyApiClient {
4439
6829
  /**
4440
- * List public spaces
4441
- *
4442
- * Returns published spaces that the owning organisation has made publicly visible. No authentication required.
6830
+ * Link event to series
4443
6831
  */
4444
- list(options) {
4445
- return (options?.client ?? this.client).get({
6832
+ addLink(options) {
6833
+ return (options.client ?? this.client).post({
4446
6834
  requestValidator: async (data) => await z2.object({
4447
- body: z2.never().optional(),
4448
- path: z2.never().optional(),
4449
- query: zPublicSpacesListQuery.optional()
6835
+ body: zSeriesAddLinkBody,
6836
+ path: zSeriesAddLinkPath,
6837
+ query: z2.never().optional()
4450
6838
  }).parseAsync(data),
4451
- responseValidator: async (data) => await zPublicSpacesListResponse.parseAsync(data),
4452
- url: "/api/v1/public/spaces",
4453
- ...options
6839
+ responseValidator: async (data) => await zSeriesAddLinkResponse.parseAsync(data),
6840
+ url: "/api/v1/series/{id}/links",
6841
+ ...options,
6842
+ headers: {
6843
+ "Content-Type": "application/json",
6844
+ ...options.headers
6845
+ }
4454
6846
  });
4455
6847
  }
4456
6848
  /**
4457
- * Get a public space
4458
- *
4459
- * Returns a single published public space. Returns 404 if the space is not found or is not publicly visible.
6849
+ * Remove cross-reference link from series
4460
6850
  */
4461
- get(options) {
4462
- return (options.client ?? this.client).get({
6851
+ removeLink(options) {
6852
+ return (options.client ?? this.client).delete({
4463
6853
  requestValidator: async (data) => await z2.object({
4464
6854
  body: z2.never().optional(),
4465
- path: zPublicSpacesGetPath,
6855
+ path: zSeriesRemoveLinkPath,
4466
6856
  query: z2.never().optional()
4467
6857
  }).parseAsync(data),
4468
- responseValidator: async (data) => await zPublicSpacesGetResponse.parseAsync(data),
4469
- url: "/api/v1/public/spaces/{id}",
6858
+ responseValidator: async (data) => await zSeriesRemoveLinkResponse.parseAsync(data),
6859
+ url: "/api/v1/series/{id}/links/{target_id}",
4470
6860
  ...options
4471
6861
  });
4472
6862
  }
4473
- };
4474
- var Public = class extends HeyApiClient {
4475
- get events() {
4476
- return this._events ?? (this._events = new Events2({ client: this.client }));
4477
- }
4478
- get spaces() {
4479
- return this._spaces ?? (this._spaces = new Spaces({ client: this.client }));
4480
- }
4481
- };
4482
- var Roles = class extends HeyApiClient {
4483
6863
  /**
4484
- * List custom roles for the org
6864
+ * List series milestones
4485
6865
  */
4486
- list(options) {
4487
- return (options?.client ?? this.client).get({
6866
+ listMilestones(options) {
6867
+ return (options.client ?? this.client).get({
4488
6868
  requestValidator: async (data) => await z2.object({
4489
6869
  body: z2.never().optional(),
4490
- path: z2.never().optional(),
4491
- query: z2.never().optional()
6870
+ path: zSeriesListMilestonesPath,
6871
+ query: zSeriesListMilestonesQuery.optional()
4492
6872
  }).parseAsync(data),
4493
- responseValidator: async (data) => await zRolesListResponse.parseAsync(data),
4494
- url: "/api/v1/roles",
6873
+ responseValidator: async (data) => await zSeriesListMilestonesResponse.parseAsync(data),
6874
+ url: "/api/v1/series/{id}/milestones",
4495
6875
  ...options
4496
6876
  });
4497
6877
  }
4498
6878
  /**
4499
- * Create a custom role
6879
+ * Add milestone to series
4500
6880
  */
4501
- create(options) {
6881
+ addMilestone(options) {
4502
6882
  return (options.client ?? this.client).post({
4503
6883
  requestValidator: async (data) => await z2.object({
4504
- body: zRolesCreateBody,
4505
- path: z2.never().optional(),
6884
+ body: zSeriesAddMilestoneBody,
6885
+ path: zSeriesAddMilestonePath,
4506
6886
  query: z2.never().optional()
4507
6887
  }).parseAsync(data),
4508
- responseValidator: async (data) => await zRolesCreateResponse.parseAsync(data),
4509
- url: "/api/v1/roles",
6888
+ responseValidator: async (data) => await zSeriesAddMilestoneResponse.parseAsync(data),
6889
+ url: "/api/v1/series/{id}/milestones",
4510
6890
  ...options,
4511
6891
  headers: {
4512
6892
  "Content-Type": "application/json",
@@ -4515,47 +6895,51 @@ var Roles = class extends HeyApiClient {
4515
6895
  });
4516
6896
  }
4517
6897
  /**
4518
- * Delete a custom role
6898
+ * Remove milestone from series
4519
6899
  */
4520
- delete(options) {
6900
+ removeMilestone(options) {
4521
6901
  return (options.client ?? this.client).delete({
4522
6902
  requestValidator: async (data) => await z2.object({
4523
6903
  body: z2.never().optional(),
4524
- path: zRolesDeletePath,
6904
+ path: zSeriesRemoveMilestonePath,
4525
6905
  query: z2.never().optional()
4526
6906
  }).parseAsync(data),
4527
- responseValidator: async (data) => await zRolesDeleteResponse.parseAsync(data),
4528
- url: "/api/v1/roles/{name}",
6907
+ responseValidator: async (data) => await zSeriesRemoveMilestoneResponse.parseAsync(data),
6908
+ url: "/api/v1/series/{id}/milestones/{milestone_event_id}",
4529
6909
  ...options
4530
6910
  });
4531
6911
  }
4532
6912
  /**
4533
- * Get a custom role
6913
+ * Update series milestone lifecycle
4534
6914
  */
4535
- get(options) {
4536
- return (options.client ?? this.client).get({
6915
+ patchMilestoneLifecycle(options) {
6916
+ return (options.client ?? this.client).patch({
4537
6917
  requestValidator: async (data) => await z2.object({
4538
- body: z2.never().optional(),
4539
- path: zRolesGetPath,
6918
+ body: zSeriesPatchMilestoneLifecycleBody,
6919
+ path: zSeriesPatchMilestoneLifecyclePath,
4540
6920
  query: z2.never().optional()
4541
6921
  }).parseAsync(data),
4542
- responseValidator: async (data) => await zRolesGetResponse.parseAsync(data),
4543
- url: "/api/v1/roles/{name}",
4544
- ...options
6922
+ responseValidator: async (data) => await zSeriesPatchMilestoneLifecycleResponse.parseAsync(data),
6923
+ url: "/api/v1/series/{id}/milestones/{milestone_event_id}",
6924
+ ...options,
6925
+ headers: {
6926
+ "Content-Type": "application/json",
6927
+ ...options.headers
6928
+ }
4545
6929
  });
4546
6930
  }
4547
6931
  /**
4548
- * Update a custom role's permissions
6932
+ * Update series milestone sequence
4549
6933
  */
4550
- update(options) {
6934
+ updateMilestone(options) {
4551
6935
  return (options.client ?? this.client).put({
4552
6936
  requestValidator: async (data) => await z2.object({
4553
- body: zRolesUpdateBody,
4554
- path: zRolesUpdatePath,
6937
+ body: zSeriesUpdateMilestoneBody,
6938
+ path: zSeriesUpdateMilestonePath,
4555
6939
  query: z2.never().optional()
4556
6940
  }).parseAsync(data),
4557
- responseValidator: async (data) => await zRolesUpdateResponse.parseAsync(data),
4558
- url: "/api/v1/roles/{name}",
6941
+ responseValidator: async (data) => await zSeriesUpdateMilestoneResponse.parseAsync(data),
6942
+ url: "/api/v1/series/{id}/milestones/{milestone_event_id}",
4559
6943
  ...options,
4560
6944
  headers: {
4561
6945
  "Content-Type": "application/json",
@@ -4614,6 +6998,40 @@ var Spaces2 = class extends HeyApiClient {
4614
6998
  ...options
4615
6999
  });
4616
7000
  }
7001
+ /**
7002
+ * Accept a space manager invitation
7003
+ */
7004
+ acceptManagerInvite(options) {
7005
+ return (options.client ?? this.client).post({
7006
+ requestValidator: async (data) => await z2.object({
7007
+ body: zSpacesAcceptManagerInviteBody,
7008
+ path: z2.never().optional(),
7009
+ query: z2.never().optional()
7010
+ }).parseAsync(data),
7011
+ responseValidator: async (data) => await zSpacesAcceptManagerInviteResponse.parseAsync(data),
7012
+ url: "/api/v1/spaces/managers/accept",
7013
+ ...options,
7014
+ headers: {
7015
+ "Content-Type": "application/json",
7016
+ ...options.headers
7017
+ }
7018
+ });
7019
+ }
7020
+ /**
7021
+ * List pending space manager invitations for the current user
7022
+ */
7023
+ listPendingManagerInvites(options) {
7024
+ return (options?.client ?? this.client).get({
7025
+ requestValidator: async (data) => await z2.object({
7026
+ body: z2.never().optional(),
7027
+ path: z2.never().optional(),
7028
+ query: z2.never().optional()
7029
+ }).parseAsync(data),
7030
+ responseValidator: async (data) => await zSpacesListPendingManagerInvitesResponse.parseAsync(data),
7031
+ url: "/api/v1/spaces/managers/pending",
7032
+ ...options
7033
+ });
7034
+ }
4617
7035
  /**
4618
7036
  * Delete a space
4619
7037
  */
@@ -4645,7 +7063,7 @@ var Spaces2 = class extends HeyApiClient {
4645
7063
  });
4646
7064
  }
4647
7065
  /**
4648
- * Partially update a space (draft only, merge-patch)
7066
+ * Partially update a space (merge-patch)
4649
7067
  */
4650
7068
  patch(options) {
4651
7069
  return (options.client ?? this.client).patch({
@@ -4664,7 +7082,7 @@ var Spaces2 = class extends HeyApiClient {
4664
7082
  });
4665
7083
  }
4666
7084
  /**
4667
- * Update a space (draft only)
7085
+ * Update a space
4668
7086
  */
4669
7087
  update(options) {
4670
7088
  return (options.client ?? this.client).put({
@@ -4682,6 +7100,100 @@ var Spaces2 = class extends HeyApiClient {
4682
7100
  }
4683
7101
  });
4684
7102
  }
7103
+ /**
7104
+ * List recent activity in a space
7105
+ */
7106
+ listActivity(options) {
7107
+ return (options.client ?? this.client).get({
7108
+ requestValidator: async (data) => await z2.object({
7109
+ body: z2.never().optional(),
7110
+ path: zSpacesListActivityPath,
7111
+ query: zSpacesListActivityQuery.optional()
7112
+ }).parseAsync(data),
7113
+ responseValidator: async (data) => await zSpacesListActivityResponse.parseAsync(data),
7114
+ url: "/api/v1/spaces/{id}/activity",
7115
+ ...options
7116
+ });
7117
+ }
7118
+ /**
7119
+ * List date-paginated activity logs in a space
7120
+ */
7121
+ listActivityLog(options) {
7122
+ return (options.client ?? this.client).get({
7123
+ requestValidator: async (data) => await z2.object({
7124
+ body: z2.never().optional(),
7125
+ path: zSpacesListActivityLogPath,
7126
+ query: zSpacesListActivityLogQuery.optional()
7127
+ }).parseAsync(data),
7128
+ responseValidator: async (data) => await zSpacesListActivityLogResponse.parseAsync(data),
7129
+ url: "/api/v1/spaces/{id}/activity-log",
7130
+ ...options
7131
+ });
7132
+ }
7133
+ /**
7134
+ * Get analytics for a space
7135
+ */
7136
+ getAnalytics(options) {
7137
+ return (options.client ?? this.client).get({
7138
+ requestValidator: async (data) => await z2.object({
7139
+ body: z2.never().optional(),
7140
+ path: zSpacesGetAnalyticsPath,
7141
+ query: z2.never().optional()
7142
+ }).parseAsync(data),
7143
+ responseValidator: async (data) => await zSpacesGetAnalyticsResponse.parseAsync(data),
7144
+ url: "/api/v1/spaces/{id}/analytics",
7145
+ ...options
7146
+ });
7147
+ }
7148
+ /**
7149
+ * List announcements in a space
7150
+ */
7151
+ listAnnouncements(options) {
7152
+ return (options.client ?? this.client).get({
7153
+ requestValidator: async (data) => await z2.object({
7154
+ body: z2.never().optional(),
7155
+ path: zSpacesListAnnouncementsPath,
7156
+ query: zSpacesListAnnouncementsQuery.optional()
7157
+ }).parseAsync(data),
7158
+ responseValidator: async (data) => await zSpacesListAnnouncementsResponse.parseAsync(data),
7159
+ url: "/api/v1/spaces/{id}/announcements",
7160
+ ...options
7161
+ });
7162
+ }
7163
+ /**
7164
+ * Link an announcement to a space
7165
+ */
7166
+ addAnnouncement(options) {
7167
+ return (options.client ?? this.client).post({
7168
+ requestValidator: async (data) => await z2.object({
7169
+ body: zSpacesAddAnnouncementBody,
7170
+ path: zSpacesAddAnnouncementPath,
7171
+ query: z2.never().optional()
7172
+ }).parseAsync(data),
7173
+ responseValidator: async (data) => await zSpacesAddAnnouncementResponse.parseAsync(data),
7174
+ url: "/api/v1/spaces/{id}/announcements",
7175
+ ...options,
7176
+ headers: {
7177
+ "Content-Type": "application/json",
7178
+ ...options.headers
7179
+ }
7180
+ });
7181
+ }
7182
+ /**
7183
+ * Remove an announcement from a space
7184
+ */
7185
+ removeAnnouncement(options) {
7186
+ return (options.client ?? this.client).delete({
7187
+ requestValidator: async (data) => await z2.object({
7188
+ body: z2.never().optional(),
7189
+ path: zSpacesRemoveAnnouncementPath,
7190
+ query: z2.never().optional()
7191
+ }).parseAsync(data),
7192
+ responseValidator: async (data) => await zSpacesRemoveAnnouncementResponse.parseAsync(data),
7193
+ url: "/api/v1/spaces/{id}/announcements/{announcement_id}",
7194
+ ...options
7195
+ });
7196
+ }
4685
7197
  /**
4686
7198
  * Archive a space
4687
7199
  */
@@ -4697,6 +7209,21 @@ var Spaces2 = class extends HeyApiClient {
4697
7209
  ...options
4698
7210
  });
4699
7211
  }
7212
+ /**
7213
+ * List child spaces (sub-spaces) of a space
7214
+ */
7215
+ listChildren(options) {
7216
+ return (options.client ?? this.client).get({
7217
+ requestValidator: async (data) => await z2.object({
7218
+ body: z2.never().optional(),
7219
+ path: zSpacesListChildrenPath,
7220
+ query: zSpacesListChildrenQuery.optional()
7221
+ }).parseAsync(data),
7222
+ responseValidator: async (data) => await zSpacesListChildrenResponse.parseAsync(data),
7223
+ url: "/api/v1/spaces/{id}/children",
7224
+ ...options
7225
+ });
7226
+ }
4700
7227
  /**
4701
7228
  * List contacts in a space
4702
7229
  */
@@ -4874,6 +7401,25 @@ var Spaces2 = class extends HeyApiClient {
4874
7401
  }
4875
7402
  });
4876
7403
  }
7404
+ /**
7405
+ * Invite a user to become a space manager by email
7406
+ */
7407
+ inviteManager(options) {
7408
+ return (options.client ?? this.client).post({
7409
+ requestValidator: async (data) => await z2.object({
7410
+ body: zSpacesInviteManagerBody,
7411
+ path: zSpacesInviteManagerPath,
7412
+ query: z2.never().optional()
7413
+ }).parseAsync(data),
7414
+ responseValidator: async (data) => await zSpacesInviteManagerResponse.parseAsync(data),
7415
+ url: "/api/v1/spaces/{id}/managers/invite",
7416
+ ...options,
7417
+ headers: {
7418
+ "Content-Type": "application/json",
7419
+ ...options.headers
7420
+ }
7421
+ });
7422
+ }
4877
7423
  /**
4878
7424
  * Remove a manager from a space
4879
7425
  */
@@ -4975,7 +7521,7 @@ var Spaces2 = class extends HeyApiClient {
4975
7521
  /**
4976
7522
  * Publish a space
4977
7523
  *
4978
- * Promotes a draft space to published. Optionally sends a notification to the creator by providing a JSON body with notification options.
7524
+ * Publishes a new draft or promotes the current draft changes for a published space. Optionally sends a notification to the creator by providing a JSON body with notification options.
4979
7525
  */
4980
7526
  publish(options) {
4981
7527
  return (options.client ?? this.client).post({
@@ -4993,6 +7539,40 @@ var Spaces2 = class extends HeyApiClient {
4993
7539
  }
4994
7540
  });
4995
7541
  }
7542
+ /**
7543
+ * Get settings for a space
7544
+ */
7545
+ getSettings(options) {
7546
+ return (options.client ?? this.client).get({
7547
+ requestValidator: async (data) => await z2.object({
7548
+ body: z2.never().optional(),
7549
+ path: zSpacesGetSettingsPath,
7550
+ query: z2.never().optional()
7551
+ }).parseAsync(data),
7552
+ responseValidator: async (data) => await zSpacesGetSettingsResponse.parseAsync(data),
7553
+ url: "/api/v1/spaces/{id}/settings",
7554
+ ...options
7555
+ });
7556
+ }
7557
+ /**
7558
+ * Partially update settings for a space
7559
+ */
7560
+ patchSettings(options) {
7561
+ return (options.client ?? this.client).patch({
7562
+ requestValidator: async (data) => await z2.object({
7563
+ body: zSpacesPatchSettingsBody,
7564
+ path: zSpacesPatchSettingsPath,
7565
+ query: z2.never().optional()
7566
+ }).parseAsync(data),
7567
+ responseValidator: async (data) => await zSpacesPatchSettingsResponse.parseAsync(data),
7568
+ url: "/api/v1/spaces/{id}/settings",
7569
+ ...options,
7570
+ headers: {
7571
+ "Content-Type": "application/json",
7572
+ ...options.headers
7573
+ }
7574
+ });
7575
+ }
4996
7576
  };
4997
7577
  var _Linebundle = class _Linebundle extends HeyApiClient {
4998
7578
  constructor(args) {
@@ -5036,6 +7616,9 @@ var _Linebundle = class _Linebundle extends HeyApiClient {
5036
7616
  get analytics() {
5037
7617
  return this._analytics ?? (this._analytics = new Analytics({ client: this.client }));
5038
7618
  }
7619
+ get announcements() {
7620
+ return this._announcements ?? (this._announcements = new Announcements({ client: this.client }));
7621
+ }
5039
7622
  get audit() {
5040
7623
  return this._audit ?? (this._audit = new Audit({ client: this.client }));
5041
7624
  }
@@ -5051,6 +7634,9 @@ var _Linebundle = class _Linebundle extends HeyApiClient {
5051
7634
  get contacts() {
5052
7635
  return this._contacts ?? (this._contacts = new Contacts({ client: this.client }));
5053
7636
  }
7637
+ get credentials() {
7638
+ return this._credentials ?? (this._credentials = new Credentials({ client: this.client }));
7639
+ }
5054
7640
  get events() {
5055
7641
  return this._events ?? (this._events = new Events({ client: this.client }));
5056
7642
  }
@@ -5060,9 +7646,6 @@ var _Linebundle = class _Linebundle extends HeyApiClient {
5060
7646
  get organizations() {
5061
7647
  return this._organizations ?? (this._organizations = new Organizations({ client: this.client }));
5062
7648
  }
5063
- get permissions() {
5064
- return this._permissions ?? (this._permissions = new Permissions({ client: this.client }));
5065
- }
5066
7649
  get places() {
5067
7650
  return this._places ?? (this._places = new Places({ client: this.client }));
5068
7651
  }
@@ -5072,8 +7655,8 @@ var _Linebundle = class _Linebundle extends HeyApiClient {
5072
7655
  get public() {
5073
7656
  return this._public ?? (this._public = new Public({ client: this.client }));
5074
7657
  }
5075
- get roles() {
5076
- return this._roles ?? (this._roles = new Roles({ client: this.client }));
7658
+ get series() {
7659
+ return this._series ?? (this._series = new Series({ client: this.client }));
5077
7660
  }
5078
7661
  get spaces() {
5079
7662
  return this._spaces ?? (this._spaces = new Spaces2({ client: this.client }));
@@ -5083,11 +7666,13 @@ _Linebundle.__registry = new HeyApiRegistry();
5083
7666
  var Linebundle = _Linebundle;
5084
7667
  export {
5085
7668
  Analytics,
7669
+ Announcements,
5086
7670
  Audit,
5087
7671
  Auth,
5088
7672
  Automation,
5089
7673
  Bookings,
5090
7674
  Contacts,
7675
+ Credentials,
5091
7676
  Events,
5092
7677
  Events2,
5093
7678
  Integrations,
@@ -5095,11 +7680,10 @@ export {
5095
7680
  Linebundle,
5096
7681
  Me,
5097
7682
  Organizations,
5098
- Permissions,
5099
7683
  Places,
5100
7684
  Profiles,
5101
7685
  Public,
5102
- Roles,
7686
+ Series,
5103
7687
  Spaces,
5104
7688
  Spaces2,
5105
7689
  Zitadel,