@chronary/toolkit 1.0.1 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -10,23 +10,28 @@ declare const ListCalendarsSchema: z.ZodObject<{
10
10
  include: z.ZodOptional<z.ZodEnum<{
11
11
  all: "all";
12
12
  }>>;
13
- limit: z.ZodOptional<z.ZodNumber>;
14
- offset: z.ZodOptional<z.ZodNumber>;
13
+ limit: z.ZodDefault<z.ZodNumber>;
14
+ offset: z.ZodDefault<z.ZodNumber>;
15
15
  }, z.core.$strip>;
16
16
  declare const GetCalendarSchema: z.ZodObject<{
17
17
  calendar_id: z.ZodString;
18
18
  }, z.core.$strip>;
19
19
  declare const CreateCalendarSchema: z.ZodObject<{
20
20
  name: z.ZodString;
21
- timezone: z.ZodString;
22
21
  agent_id: z.ZodOptional<z.ZodString>;
22
+ timezone: z.ZodString;
23
23
  default_reminders: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
24
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
25
24
  }, z.core.$strip>;
26
25
  declare const UpdateCalendarSchema: z.ZodObject<{
27
26
  calendar_id: z.ZodString;
28
27
  name: z.ZodOptional<z.ZodString>;
29
28
  timezone: z.ZodOptional<z.ZodString>;
29
+ agent_status: z.ZodOptional<z.ZodEnum<{
30
+ error: "error";
31
+ idle: "idle";
32
+ working: "working";
33
+ waiting: "waiting";
34
+ }>>;
30
35
  default_reminders: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
31
36
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
32
37
  }, z.core.$strip>;
@@ -42,17 +47,18 @@ declare const ListEventsSchema: z.ZodObject<{
42
47
  confirmed: "confirmed";
43
48
  tentative: "tentative";
44
49
  cancelled: "cancelled";
50
+ hold: "hold";
45
51
  }>>;
46
52
  source: z.ZodOptional<z.ZodEnum<{
47
53
  internal: "internal";
48
54
  external_ical: "external_ical";
49
55
  }>>;
50
- limit: z.ZodOptional<z.ZodNumber>;
51
- offset: z.ZodOptional<z.ZodNumber>;
56
+ limit: z.ZodDefault<z.ZodNumber>;
57
+ offset: z.ZodDefault<z.ZodNumber>;
52
58
  }, z.core.$strip>;
53
59
  declare const GetEventSchema: z.ZodObject<{
54
- calendar_id: z.ZodString;
55
60
  event_id: z.ZodString;
61
+ calendar_id: z.ZodOptional<z.ZodString>;
56
62
  }, z.core.$strip>;
57
63
  declare const CreateEventSchema: z.ZodObject<{
58
64
  calendar_id: z.ZodString;
@@ -60,18 +66,19 @@ declare const CreateEventSchema: z.ZodObject<{
60
66
  start_time: z.ZodString;
61
67
  end_time: z.ZodString;
62
68
  description: z.ZodOptional<z.ZodString>;
63
- all_day: z.ZodOptional<z.ZodBoolean>;
69
+ all_day: z.ZodDefault<z.ZodBoolean>;
64
70
  status: z.ZodOptional<z.ZodEnum<{
65
71
  confirmed: "confirmed";
66
72
  tentative: "tentative";
67
- cancelled: "cancelled";
73
+ hold: "hold";
68
74
  }>>;
69
75
  reminders: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
70
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
76
+ hold_expires_at: z.ZodOptional<z.ZodString>;
77
+ hold_priority: z.ZodOptional<z.ZodNumber>;
71
78
  }, z.core.$strip>;
72
79
  declare const UpdateEventSchema: z.ZodObject<{
73
- calendar_id: z.ZodString;
74
80
  event_id: z.ZodString;
81
+ calendar_id: z.ZodOptional<z.ZodString>;
75
82
  title: z.ZodOptional<z.ZodString>;
76
83
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
77
84
  start_time: z.ZodOptional<z.ZodString>;
@@ -82,12 +89,12 @@ declare const UpdateEventSchema: z.ZodObject<{
82
89
  tentative: "tentative";
83
90
  cancelled: "cancelled";
84
91
  }>>;
85
- reminders: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
86
92
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
93
+ reminders: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
87
94
  }, z.core.$strip>;
88
95
  declare const CancelEventSchema: z.ZodObject<{
89
- calendar_id: z.ZodString;
90
96
  event_id: z.ZodString;
97
+ calendar_id: z.ZodOptional<z.ZodString>;
91
98
  }, z.core.$strip>;
92
99
  declare const ConfirmEventSchema: z.ZodObject<{
93
100
  event_id: z.ZodString;
@@ -103,7 +110,6 @@ declare const CreateAgentSchema: z.ZodObject<{
103
110
  resource: "resource";
104
111
  }>;
105
112
  description: z.ZodOptional<z.ZodString>;
106
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
107
113
  }, z.core.$strip>;
108
114
  declare const ListAgentsSchema: z.ZodObject<{
109
115
  type: z.ZodOptional<z.ZodEnum<{
@@ -116,8 +122,8 @@ declare const ListAgentsSchema: z.ZodObject<{
116
122
  paused: "paused";
117
123
  decommissioned: "decommissioned";
118
124
  }>>;
119
- limit: z.ZodOptional<z.ZodNumber>;
120
- offset: z.ZodOptional<z.ZodNumber>;
125
+ limit: z.ZodDefault<z.ZodNumber>;
126
+ offset: z.ZodDefault<z.ZodNumber>;
121
127
  }, z.core.$strip>;
122
128
  declare const GetAgentSchema: z.ZodObject<{
123
129
  agent_id: z.ZodString;
@@ -137,22 +143,27 @@ declare const DeleteAgentSchema: z.ZodObject<{
137
143
  }, z.core.$strip>;
138
144
  declare const GetAvailabilitySchema: z.ZodObject<{
139
145
  agent_id: z.ZodString;
140
- start: z.ZodString;
141
- end: z.ZodString;
142
- slot_duration: z.ZodOptional<z.ZodEnum<{
146
+ start: z.ZodOptional<z.ZodString>;
147
+ end: z.ZodOptional<z.ZodString>;
148
+ start_time: z.ZodOptional<z.ZodString>;
149
+ end_time: z.ZodOptional<z.ZodString>;
150
+ slot_duration: z.ZodDefault<z.ZodEnum<{
143
151
  "15m": "15m";
144
152
  "30m": "30m";
145
153
  "45m": "45m";
146
154
  "1h": "1h";
147
155
  "2h": "2h";
148
156
  }>>;
149
- include_busy: z.ZodOptional<z.ZodBoolean>;
157
+ include_busy: z.ZodDefault<z.ZodBoolean>;
150
158
  }, z.core.$strip>;
151
159
  declare const FindMeetingTimeSchema: z.ZodObject<{
152
- agents: z.ZodArray<z.ZodString>;
153
- start: z.ZodString;
154
- end: z.ZodString;
155
- slot_duration: z.ZodOptional<z.ZodEnum<{
160
+ agents: z.ZodOptional<z.ZodArray<z.ZodString>>;
161
+ agent_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
162
+ start: z.ZodOptional<z.ZodString>;
163
+ end: z.ZodOptional<z.ZodString>;
164
+ start_time: z.ZodOptional<z.ZodString>;
165
+ end_time: z.ZodOptional<z.ZodString>;
166
+ slot_duration: z.ZodDefault<z.ZodEnum<{
156
167
  "15m": "15m";
157
168
  "30m": "30m";
158
169
  "45m": "45m";
@@ -160,7 +171,7 @@ declare const FindMeetingTimeSchema: z.ZodObject<{
160
171
  "2h": "2h";
161
172
  }>>;
162
173
  calendars: z.ZodOptional<z.ZodArray<z.ZodString>>;
163
- include_busy: z.ZodOptional<z.ZodBoolean>;
174
+ include_busy: z.ZodDefault<z.ZodBoolean>;
164
175
  }, z.core.$strip>;
165
176
  declare const GetCalendarContextSchema: z.ZodObject<{
166
177
  calendar_id: z.ZodString;
@@ -174,16 +185,16 @@ declare const CreateProposalSchema: z.ZodObject<{
174
185
  slots: z.ZodArray<z.ZodObject<{
175
186
  start_time: z.ZodString;
176
187
  end_time: z.ZodString;
177
- weight: z.ZodOptional<z.ZodNumber>;
188
+ weight: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
178
189
  calendar_id: z.ZodOptional<z.ZodString>;
179
190
  }, z.core.$strip>>;
180
191
  expires_at: z.ZodOptional<z.ZodString>;
181
192
  }, z.core.$strip>;
182
193
  declare const ListProposalsSchema: z.ZodObject<{
183
194
  status: z.ZodOptional<z.ZodEnum<{
195
+ pending: "pending";
184
196
  confirmed: "confirmed";
185
197
  cancelled: "cancelled";
186
- pending: "pending";
187
198
  expired: "expired";
188
199
  }>>;
189
200
  organizer_agent_id: z.ZodOptional<z.ZodString>;
@@ -205,7 +216,7 @@ declare const RespondToProposalSchema: z.ZodObject<{
205
216
  counter_slots: z.ZodOptional<z.ZodArray<z.ZodObject<{
206
217
  start_time: z.ZodString;
207
218
  end_time: z.ZodString;
208
- weight: z.ZodOptional<z.ZodNumber>;
219
+ weight: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
209
220
  calendar_id: z.ZodOptional<z.ZodString>;
210
221
  }, z.core.$strip>>>;
211
222
  message: z.ZodOptional<z.ZodString>;
@@ -218,9 +229,9 @@ declare const CancelProposalSchema: z.ZodObject<{
218
229
  }, z.core.$strip>;
219
230
  declare const SetAvailabilityRulesSchema: z.ZodObject<{
220
231
  calendar_id: z.ZodString;
221
- buffer_before_minutes: z.ZodOptional<z.ZodNumber>;
222
- buffer_after_minutes: z.ZodOptional<z.ZodNumber>;
223
- working_hours: z.ZodOptional<z.ZodNullable<z.ZodObject<{
232
+ buffer_before_minutes: z.ZodDefault<z.ZodNumber>;
233
+ buffer_after_minutes: z.ZodDefault<z.ZodNumber>;
234
+ working_hours: z.ZodDefault<z.ZodNullable<z.ZodObject<{
224
235
  mon: z.ZodOptional<z.ZodObject<{
225
236
  start: z.ZodString;
226
237
  end: z.ZodString;
@@ -250,7 +261,7 @@ declare const SetAvailabilityRulesSchema: z.ZodObject<{
250
261
  end: z.ZodString;
251
262
  }, z.core.$strip>>;
252
263
  }, z.core.$strip>>>;
253
- timezone: z.ZodOptional<z.ZodString>;
264
+ timezone: z.ZodDefault<z.ZodString>;
254
265
  }, z.core.$strip>;
255
266
  declare const GetAvailabilityRulesSchema: z.ZodObject<{
256
267
  calendar_id: z.ZodString;
@@ -278,25 +289,74 @@ declare const AcceptTermsSchema: z.ZodObject<{
278
289
  tos_version: z.ZodString;
279
290
  }, z.core.$strip>;
280
291
  declare const ListWebhooksSchema: z.ZodObject<{
281
- limit: z.ZodOptional<z.ZodNumber>;
282
- offset: z.ZodOptional<z.ZodNumber>;
292
+ limit: z.ZodDefault<z.ZodNumber>;
293
+ offset: z.ZodDefault<z.ZodNumber>;
283
294
  }, z.core.$strip>;
284
295
  declare const GetWebhookSchema: z.ZodObject<{
285
296
  webhook_id: z.ZodString;
286
297
  }, z.core.$strip>;
287
298
  declare const CreateWebhookSchema: z.ZodObject<{
288
299
  url: z.ZodString;
289
- events: z.ZodArray<z.ZodString>;
300
+ events: z.ZodArray<z.ZodEnum<{
301
+ "agent.created": "agent.created";
302
+ "agent.updated": "agent.updated";
303
+ "event.created": "event.created";
304
+ "event.updated": "event.updated";
305
+ "event.deleted": "event.deleted";
306
+ "event.started": "event.started";
307
+ "event.ended": "event.ended";
308
+ "event.reminder": "event.reminder";
309
+ "event.hold_created": "event.hold_created";
310
+ "event.hold_expired": "event.hold_expired";
311
+ "event.hold_released": "event.hold_released";
312
+ "event.hold_confirmed": "event.hold_confirmed";
313
+ "proposal.created": "proposal.created";
314
+ "proposal.responded": "proposal.responded";
315
+ "proposal.confirmed": "proposal.confirmed";
316
+ "proposal.expired": "proposal.expired";
317
+ "proposal.cancelled": "proposal.cancelled";
318
+ "webhook.deactivated": "webhook.deactivated";
319
+ }>>;
290
320
  }, z.core.$strip>;
291
321
  declare const UpdateWebhookSchema: z.ZodObject<{
292
322
  webhook_id: z.ZodString;
293
323
  url: z.ZodOptional<z.ZodString>;
294
- events: z.ZodOptional<z.ZodArray<z.ZodString>>;
324
+ events: z.ZodOptional<z.ZodArray<z.ZodEnum<{
325
+ "agent.created": "agent.created";
326
+ "agent.updated": "agent.updated";
327
+ "event.created": "event.created";
328
+ "event.updated": "event.updated";
329
+ "event.deleted": "event.deleted";
330
+ "event.started": "event.started";
331
+ "event.ended": "event.ended";
332
+ "event.reminder": "event.reminder";
333
+ "event.hold_created": "event.hold_created";
334
+ "event.hold_expired": "event.hold_expired";
335
+ "event.hold_released": "event.hold_released";
336
+ "event.hold_confirmed": "event.hold_confirmed";
337
+ "proposal.created": "proposal.created";
338
+ "proposal.responded": "proposal.responded";
339
+ "proposal.confirmed": "proposal.confirmed";
340
+ "proposal.expired": "proposal.expired";
341
+ "proposal.cancelled": "proposal.cancelled";
342
+ "webhook.deactivated": "webhook.deactivated";
343
+ }>>>;
295
344
  active: z.ZodOptional<z.ZodBoolean>;
296
345
  }, z.core.$strip>;
297
346
  declare const DeleteWebhookSchema: z.ZodObject<{
298
347
  webhook_id: z.ZodString;
299
348
  }, z.core.$strip>;
349
+ declare const ListWebhookDeliveriesSchema: z.ZodObject<{
350
+ webhook_id: z.ZodString;
351
+ limit: z.ZodDefault<z.ZodNumber>;
352
+ offset: z.ZodDefault<z.ZodNumber>;
353
+ status: z.ZodOptional<z.ZodEnum<{
354
+ pending: "pending";
355
+ delivered: "delivered";
356
+ failed: "failed";
357
+ }>>;
358
+ include_payload: z.ZodOptional<z.ZodBoolean>;
359
+ }, z.core.$strip>;
300
360
  declare const ListICalSubscriptionsSchema: z.ZodObject<{
301
361
  agent_id: z.ZodString;
302
362
  status: z.ZodOptional<z.ZodEnum<{
@@ -304,8 +364,8 @@ declare const ListICalSubscriptionsSchema: z.ZodObject<{
304
364
  active: "active";
305
365
  paused: "paused";
306
366
  }>>;
307
- limit: z.ZodOptional<z.ZodNumber>;
308
- offset: z.ZodOptional<z.ZodNumber>;
367
+ limit: z.ZodDefault<z.ZodNumber>;
368
+ offset: z.ZodDefault<z.ZodNumber>;
309
369
  }, z.core.$strip>;
310
370
  declare const GetICalSubscriptionSchema: z.ZodObject<{
311
371
  subscription_id: z.ZodString;
@@ -316,17 +376,6 @@ declare const SubscribeICalSchema: z.ZodObject<{
316
376
  url: z.ZodString;
317
377
  label: z.ZodOptional<z.ZodString>;
318
378
  }, z.core.$strip>;
319
- declare const ListWebhookDeliveriesSchema: z.ZodObject<{
320
- webhook_id: z.ZodString;
321
- limit: z.ZodOptional<z.ZodNumber>;
322
- offset: z.ZodOptional<z.ZodNumber>;
323
- status: z.ZodOptional<z.ZodEnum<{
324
- pending: "pending";
325
- delivered: "delivered";
326
- failed: "failed";
327
- }>>;
328
- include_payload: z.ZodOptional<z.ZodBoolean>;
329
- }, z.core.$strip>;
330
379
  declare const UpdateICalSubscriptionSchema: z.ZodObject<{
331
380
  subscription_id: z.ZodString;
332
381
  label: z.ZodOptional<z.ZodString>;
package/dist/index.d.ts CHANGED
@@ -10,23 +10,28 @@ declare const ListCalendarsSchema: z.ZodObject<{
10
10
  include: z.ZodOptional<z.ZodEnum<{
11
11
  all: "all";
12
12
  }>>;
13
- limit: z.ZodOptional<z.ZodNumber>;
14
- offset: z.ZodOptional<z.ZodNumber>;
13
+ limit: z.ZodDefault<z.ZodNumber>;
14
+ offset: z.ZodDefault<z.ZodNumber>;
15
15
  }, z.core.$strip>;
16
16
  declare const GetCalendarSchema: z.ZodObject<{
17
17
  calendar_id: z.ZodString;
18
18
  }, z.core.$strip>;
19
19
  declare const CreateCalendarSchema: z.ZodObject<{
20
20
  name: z.ZodString;
21
- timezone: z.ZodString;
22
21
  agent_id: z.ZodOptional<z.ZodString>;
22
+ timezone: z.ZodString;
23
23
  default_reminders: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
24
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
25
24
  }, z.core.$strip>;
26
25
  declare const UpdateCalendarSchema: z.ZodObject<{
27
26
  calendar_id: z.ZodString;
28
27
  name: z.ZodOptional<z.ZodString>;
29
28
  timezone: z.ZodOptional<z.ZodString>;
29
+ agent_status: z.ZodOptional<z.ZodEnum<{
30
+ error: "error";
31
+ idle: "idle";
32
+ working: "working";
33
+ waiting: "waiting";
34
+ }>>;
30
35
  default_reminders: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
31
36
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
32
37
  }, z.core.$strip>;
@@ -42,17 +47,18 @@ declare const ListEventsSchema: z.ZodObject<{
42
47
  confirmed: "confirmed";
43
48
  tentative: "tentative";
44
49
  cancelled: "cancelled";
50
+ hold: "hold";
45
51
  }>>;
46
52
  source: z.ZodOptional<z.ZodEnum<{
47
53
  internal: "internal";
48
54
  external_ical: "external_ical";
49
55
  }>>;
50
- limit: z.ZodOptional<z.ZodNumber>;
51
- offset: z.ZodOptional<z.ZodNumber>;
56
+ limit: z.ZodDefault<z.ZodNumber>;
57
+ offset: z.ZodDefault<z.ZodNumber>;
52
58
  }, z.core.$strip>;
53
59
  declare const GetEventSchema: z.ZodObject<{
54
- calendar_id: z.ZodString;
55
60
  event_id: z.ZodString;
61
+ calendar_id: z.ZodOptional<z.ZodString>;
56
62
  }, z.core.$strip>;
57
63
  declare const CreateEventSchema: z.ZodObject<{
58
64
  calendar_id: z.ZodString;
@@ -60,18 +66,19 @@ declare const CreateEventSchema: z.ZodObject<{
60
66
  start_time: z.ZodString;
61
67
  end_time: z.ZodString;
62
68
  description: z.ZodOptional<z.ZodString>;
63
- all_day: z.ZodOptional<z.ZodBoolean>;
69
+ all_day: z.ZodDefault<z.ZodBoolean>;
64
70
  status: z.ZodOptional<z.ZodEnum<{
65
71
  confirmed: "confirmed";
66
72
  tentative: "tentative";
67
- cancelled: "cancelled";
73
+ hold: "hold";
68
74
  }>>;
69
75
  reminders: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
70
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
76
+ hold_expires_at: z.ZodOptional<z.ZodString>;
77
+ hold_priority: z.ZodOptional<z.ZodNumber>;
71
78
  }, z.core.$strip>;
72
79
  declare const UpdateEventSchema: z.ZodObject<{
73
- calendar_id: z.ZodString;
74
80
  event_id: z.ZodString;
81
+ calendar_id: z.ZodOptional<z.ZodString>;
75
82
  title: z.ZodOptional<z.ZodString>;
76
83
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
77
84
  start_time: z.ZodOptional<z.ZodString>;
@@ -82,12 +89,12 @@ declare const UpdateEventSchema: z.ZodObject<{
82
89
  tentative: "tentative";
83
90
  cancelled: "cancelled";
84
91
  }>>;
85
- reminders: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
86
92
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
93
+ reminders: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
87
94
  }, z.core.$strip>;
88
95
  declare const CancelEventSchema: z.ZodObject<{
89
- calendar_id: z.ZodString;
90
96
  event_id: z.ZodString;
97
+ calendar_id: z.ZodOptional<z.ZodString>;
91
98
  }, z.core.$strip>;
92
99
  declare const ConfirmEventSchema: z.ZodObject<{
93
100
  event_id: z.ZodString;
@@ -103,7 +110,6 @@ declare const CreateAgentSchema: z.ZodObject<{
103
110
  resource: "resource";
104
111
  }>;
105
112
  description: z.ZodOptional<z.ZodString>;
106
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
107
113
  }, z.core.$strip>;
108
114
  declare const ListAgentsSchema: z.ZodObject<{
109
115
  type: z.ZodOptional<z.ZodEnum<{
@@ -116,8 +122,8 @@ declare const ListAgentsSchema: z.ZodObject<{
116
122
  paused: "paused";
117
123
  decommissioned: "decommissioned";
118
124
  }>>;
119
- limit: z.ZodOptional<z.ZodNumber>;
120
- offset: z.ZodOptional<z.ZodNumber>;
125
+ limit: z.ZodDefault<z.ZodNumber>;
126
+ offset: z.ZodDefault<z.ZodNumber>;
121
127
  }, z.core.$strip>;
122
128
  declare const GetAgentSchema: z.ZodObject<{
123
129
  agent_id: z.ZodString;
@@ -137,22 +143,27 @@ declare const DeleteAgentSchema: z.ZodObject<{
137
143
  }, z.core.$strip>;
138
144
  declare const GetAvailabilitySchema: z.ZodObject<{
139
145
  agent_id: z.ZodString;
140
- start: z.ZodString;
141
- end: z.ZodString;
142
- slot_duration: z.ZodOptional<z.ZodEnum<{
146
+ start: z.ZodOptional<z.ZodString>;
147
+ end: z.ZodOptional<z.ZodString>;
148
+ start_time: z.ZodOptional<z.ZodString>;
149
+ end_time: z.ZodOptional<z.ZodString>;
150
+ slot_duration: z.ZodDefault<z.ZodEnum<{
143
151
  "15m": "15m";
144
152
  "30m": "30m";
145
153
  "45m": "45m";
146
154
  "1h": "1h";
147
155
  "2h": "2h";
148
156
  }>>;
149
- include_busy: z.ZodOptional<z.ZodBoolean>;
157
+ include_busy: z.ZodDefault<z.ZodBoolean>;
150
158
  }, z.core.$strip>;
151
159
  declare const FindMeetingTimeSchema: z.ZodObject<{
152
- agents: z.ZodArray<z.ZodString>;
153
- start: z.ZodString;
154
- end: z.ZodString;
155
- slot_duration: z.ZodOptional<z.ZodEnum<{
160
+ agents: z.ZodOptional<z.ZodArray<z.ZodString>>;
161
+ agent_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
162
+ start: z.ZodOptional<z.ZodString>;
163
+ end: z.ZodOptional<z.ZodString>;
164
+ start_time: z.ZodOptional<z.ZodString>;
165
+ end_time: z.ZodOptional<z.ZodString>;
166
+ slot_duration: z.ZodDefault<z.ZodEnum<{
156
167
  "15m": "15m";
157
168
  "30m": "30m";
158
169
  "45m": "45m";
@@ -160,7 +171,7 @@ declare const FindMeetingTimeSchema: z.ZodObject<{
160
171
  "2h": "2h";
161
172
  }>>;
162
173
  calendars: z.ZodOptional<z.ZodArray<z.ZodString>>;
163
- include_busy: z.ZodOptional<z.ZodBoolean>;
174
+ include_busy: z.ZodDefault<z.ZodBoolean>;
164
175
  }, z.core.$strip>;
165
176
  declare const GetCalendarContextSchema: z.ZodObject<{
166
177
  calendar_id: z.ZodString;
@@ -174,16 +185,16 @@ declare const CreateProposalSchema: z.ZodObject<{
174
185
  slots: z.ZodArray<z.ZodObject<{
175
186
  start_time: z.ZodString;
176
187
  end_time: z.ZodString;
177
- weight: z.ZodOptional<z.ZodNumber>;
188
+ weight: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
178
189
  calendar_id: z.ZodOptional<z.ZodString>;
179
190
  }, z.core.$strip>>;
180
191
  expires_at: z.ZodOptional<z.ZodString>;
181
192
  }, z.core.$strip>;
182
193
  declare const ListProposalsSchema: z.ZodObject<{
183
194
  status: z.ZodOptional<z.ZodEnum<{
195
+ pending: "pending";
184
196
  confirmed: "confirmed";
185
197
  cancelled: "cancelled";
186
- pending: "pending";
187
198
  expired: "expired";
188
199
  }>>;
189
200
  organizer_agent_id: z.ZodOptional<z.ZodString>;
@@ -205,7 +216,7 @@ declare const RespondToProposalSchema: z.ZodObject<{
205
216
  counter_slots: z.ZodOptional<z.ZodArray<z.ZodObject<{
206
217
  start_time: z.ZodString;
207
218
  end_time: z.ZodString;
208
- weight: z.ZodOptional<z.ZodNumber>;
219
+ weight: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
209
220
  calendar_id: z.ZodOptional<z.ZodString>;
210
221
  }, z.core.$strip>>>;
211
222
  message: z.ZodOptional<z.ZodString>;
@@ -218,9 +229,9 @@ declare const CancelProposalSchema: z.ZodObject<{
218
229
  }, z.core.$strip>;
219
230
  declare const SetAvailabilityRulesSchema: z.ZodObject<{
220
231
  calendar_id: z.ZodString;
221
- buffer_before_minutes: z.ZodOptional<z.ZodNumber>;
222
- buffer_after_minutes: z.ZodOptional<z.ZodNumber>;
223
- working_hours: z.ZodOptional<z.ZodNullable<z.ZodObject<{
232
+ buffer_before_minutes: z.ZodDefault<z.ZodNumber>;
233
+ buffer_after_minutes: z.ZodDefault<z.ZodNumber>;
234
+ working_hours: z.ZodDefault<z.ZodNullable<z.ZodObject<{
224
235
  mon: z.ZodOptional<z.ZodObject<{
225
236
  start: z.ZodString;
226
237
  end: z.ZodString;
@@ -250,7 +261,7 @@ declare const SetAvailabilityRulesSchema: z.ZodObject<{
250
261
  end: z.ZodString;
251
262
  }, z.core.$strip>>;
252
263
  }, z.core.$strip>>>;
253
- timezone: z.ZodOptional<z.ZodString>;
264
+ timezone: z.ZodDefault<z.ZodString>;
254
265
  }, z.core.$strip>;
255
266
  declare const GetAvailabilityRulesSchema: z.ZodObject<{
256
267
  calendar_id: z.ZodString;
@@ -278,25 +289,74 @@ declare const AcceptTermsSchema: z.ZodObject<{
278
289
  tos_version: z.ZodString;
279
290
  }, z.core.$strip>;
280
291
  declare const ListWebhooksSchema: z.ZodObject<{
281
- limit: z.ZodOptional<z.ZodNumber>;
282
- offset: z.ZodOptional<z.ZodNumber>;
292
+ limit: z.ZodDefault<z.ZodNumber>;
293
+ offset: z.ZodDefault<z.ZodNumber>;
283
294
  }, z.core.$strip>;
284
295
  declare const GetWebhookSchema: z.ZodObject<{
285
296
  webhook_id: z.ZodString;
286
297
  }, z.core.$strip>;
287
298
  declare const CreateWebhookSchema: z.ZodObject<{
288
299
  url: z.ZodString;
289
- events: z.ZodArray<z.ZodString>;
300
+ events: z.ZodArray<z.ZodEnum<{
301
+ "agent.created": "agent.created";
302
+ "agent.updated": "agent.updated";
303
+ "event.created": "event.created";
304
+ "event.updated": "event.updated";
305
+ "event.deleted": "event.deleted";
306
+ "event.started": "event.started";
307
+ "event.ended": "event.ended";
308
+ "event.reminder": "event.reminder";
309
+ "event.hold_created": "event.hold_created";
310
+ "event.hold_expired": "event.hold_expired";
311
+ "event.hold_released": "event.hold_released";
312
+ "event.hold_confirmed": "event.hold_confirmed";
313
+ "proposal.created": "proposal.created";
314
+ "proposal.responded": "proposal.responded";
315
+ "proposal.confirmed": "proposal.confirmed";
316
+ "proposal.expired": "proposal.expired";
317
+ "proposal.cancelled": "proposal.cancelled";
318
+ "webhook.deactivated": "webhook.deactivated";
319
+ }>>;
290
320
  }, z.core.$strip>;
291
321
  declare const UpdateWebhookSchema: z.ZodObject<{
292
322
  webhook_id: z.ZodString;
293
323
  url: z.ZodOptional<z.ZodString>;
294
- events: z.ZodOptional<z.ZodArray<z.ZodString>>;
324
+ events: z.ZodOptional<z.ZodArray<z.ZodEnum<{
325
+ "agent.created": "agent.created";
326
+ "agent.updated": "agent.updated";
327
+ "event.created": "event.created";
328
+ "event.updated": "event.updated";
329
+ "event.deleted": "event.deleted";
330
+ "event.started": "event.started";
331
+ "event.ended": "event.ended";
332
+ "event.reminder": "event.reminder";
333
+ "event.hold_created": "event.hold_created";
334
+ "event.hold_expired": "event.hold_expired";
335
+ "event.hold_released": "event.hold_released";
336
+ "event.hold_confirmed": "event.hold_confirmed";
337
+ "proposal.created": "proposal.created";
338
+ "proposal.responded": "proposal.responded";
339
+ "proposal.confirmed": "proposal.confirmed";
340
+ "proposal.expired": "proposal.expired";
341
+ "proposal.cancelled": "proposal.cancelled";
342
+ "webhook.deactivated": "webhook.deactivated";
343
+ }>>>;
295
344
  active: z.ZodOptional<z.ZodBoolean>;
296
345
  }, z.core.$strip>;
297
346
  declare const DeleteWebhookSchema: z.ZodObject<{
298
347
  webhook_id: z.ZodString;
299
348
  }, z.core.$strip>;
349
+ declare const ListWebhookDeliveriesSchema: z.ZodObject<{
350
+ webhook_id: z.ZodString;
351
+ limit: z.ZodDefault<z.ZodNumber>;
352
+ offset: z.ZodDefault<z.ZodNumber>;
353
+ status: z.ZodOptional<z.ZodEnum<{
354
+ pending: "pending";
355
+ delivered: "delivered";
356
+ failed: "failed";
357
+ }>>;
358
+ include_payload: z.ZodOptional<z.ZodBoolean>;
359
+ }, z.core.$strip>;
300
360
  declare const ListICalSubscriptionsSchema: z.ZodObject<{
301
361
  agent_id: z.ZodString;
302
362
  status: z.ZodOptional<z.ZodEnum<{
@@ -304,8 +364,8 @@ declare const ListICalSubscriptionsSchema: z.ZodObject<{
304
364
  active: "active";
305
365
  paused: "paused";
306
366
  }>>;
307
- limit: z.ZodOptional<z.ZodNumber>;
308
- offset: z.ZodOptional<z.ZodNumber>;
367
+ limit: z.ZodDefault<z.ZodNumber>;
368
+ offset: z.ZodDefault<z.ZodNumber>;
309
369
  }, z.core.$strip>;
310
370
  declare const GetICalSubscriptionSchema: z.ZodObject<{
311
371
  subscription_id: z.ZodString;
@@ -316,17 +376,6 @@ declare const SubscribeICalSchema: z.ZodObject<{
316
376
  url: z.ZodString;
317
377
  label: z.ZodOptional<z.ZodString>;
318
378
  }, z.core.$strip>;
319
- declare const ListWebhookDeliveriesSchema: z.ZodObject<{
320
- webhook_id: z.ZodString;
321
- limit: z.ZodOptional<z.ZodNumber>;
322
- offset: z.ZodOptional<z.ZodNumber>;
323
- status: z.ZodOptional<z.ZodEnum<{
324
- pending: "pending";
325
- delivered: "delivered";
326
- failed: "failed";
327
- }>>;
328
- include_payload: z.ZodOptional<z.ZodBoolean>;
329
- }, z.core.$strip>;
330
379
  declare const UpdateICalSubscriptionSchema: z.ZodObject<{
331
380
  subscription_id: z.ZodString;
332
381
  label: z.ZodOptional<z.ZodString>;