@chronary/toolkit 1.0.1 → 1.1.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
@@ -6,27 +6,31 @@ import '@chronary/sdk';
6
6
  declare const TOOL_DEFINITIONS: ToolDefinition[];
7
7
 
8
8
  declare const ListCalendarsSchema: z.ZodObject<{
9
- agent_id: z.ZodOptional<z.ZodString>;
10
9
  include: z.ZodOptional<z.ZodEnum<{
11
10
  all: "all";
12
11
  }>>;
13
- limit: z.ZodOptional<z.ZodNumber>;
14
- offset: z.ZodOptional<z.ZodNumber>;
12
+ limit: z.ZodDefault<z.ZodNumber>;
13
+ offset: z.ZodDefault<z.ZodNumber>;
15
14
  }, z.core.$strip>;
16
15
  declare const GetCalendarSchema: z.ZodObject<{
17
16
  calendar_id: z.ZodString;
18
17
  }, z.core.$strip>;
19
18
  declare const CreateCalendarSchema: z.ZodObject<{
20
19
  name: z.ZodString;
21
- timezone: z.ZodString;
22
20
  agent_id: z.ZodOptional<z.ZodString>;
21
+ timezone: z.ZodString;
23
22
  default_reminders: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
24
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
25
23
  }, z.core.$strip>;
26
24
  declare const UpdateCalendarSchema: z.ZodObject<{
27
25
  calendar_id: z.ZodString;
28
26
  name: z.ZodOptional<z.ZodString>;
29
27
  timezone: z.ZodOptional<z.ZodString>;
28
+ agent_status: z.ZodOptional<z.ZodEnum<{
29
+ error: "error";
30
+ idle: "idle";
31
+ working: "working";
32
+ waiting: "waiting";
33
+ }>>;
30
34
  default_reminders: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
31
35
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
32
36
  }, z.core.$strip>;
@@ -34,25 +38,15 @@ declare const DeleteCalendarSchema: z.ZodObject<{
34
38
  calendar_id: z.ZodString;
35
39
  }, z.core.$strip>;
36
40
  declare const ListEventsSchema: z.ZodObject<{
37
- calendar_id: z.ZodOptional<z.ZodString>;
38
- agent_id: z.ZodOptional<z.ZodString>;
41
+ calendar_id: z.ZodString;
39
42
  start_after: z.ZodOptional<z.ZodString>;
40
43
  start_before: z.ZodOptional<z.ZodString>;
41
- status: z.ZodOptional<z.ZodEnum<{
42
- confirmed: "confirmed";
43
- tentative: "tentative";
44
- cancelled: "cancelled";
45
- }>>;
46
- source: z.ZodOptional<z.ZodEnum<{
47
- internal: "internal";
48
- external_ical: "external_ical";
49
- }>>;
50
- limit: z.ZodOptional<z.ZodNumber>;
51
- offset: z.ZodOptional<z.ZodNumber>;
44
+ limit: z.ZodDefault<z.ZodNumber>;
45
+ offset: z.ZodDefault<z.ZodNumber>;
52
46
  }, z.core.$strip>;
53
47
  declare const GetEventSchema: z.ZodObject<{
54
- calendar_id: z.ZodString;
55
48
  event_id: z.ZodString;
49
+ calendar_id: z.ZodString;
56
50
  }, z.core.$strip>;
57
51
  declare const CreateEventSchema: z.ZodObject<{
58
52
  calendar_id: z.ZodString;
@@ -60,18 +54,19 @@ declare const CreateEventSchema: z.ZodObject<{
60
54
  start_time: z.ZodString;
61
55
  end_time: z.ZodString;
62
56
  description: z.ZodOptional<z.ZodString>;
63
- all_day: z.ZodOptional<z.ZodBoolean>;
57
+ all_day: z.ZodDefault<z.ZodBoolean>;
64
58
  status: z.ZodOptional<z.ZodEnum<{
65
59
  confirmed: "confirmed";
66
60
  tentative: "tentative";
67
- cancelled: "cancelled";
61
+ hold: "hold";
68
62
  }>>;
69
63
  reminders: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
70
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
64
+ hold_expires_at: z.ZodOptional<z.ZodString>;
65
+ hold_priority: z.ZodOptional<z.ZodNumber>;
71
66
  }, z.core.$strip>;
72
67
  declare const UpdateEventSchema: z.ZodObject<{
73
- calendar_id: z.ZodString;
74
68
  event_id: z.ZodString;
69
+ calendar_id: z.ZodString;
75
70
  title: z.ZodOptional<z.ZodString>;
76
71
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
77
72
  start_time: z.ZodOptional<z.ZodString>;
@@ -82,12 +77,12 @@ declare const UpdateEventSchema: z.ZodObject<{
82
77
  tentative: "tentative";
83
78
  cancelled: "cancelled";
84
79
  }>>;
85
- reminders: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
86
80
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
81
+ reminders: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
87
82
  }, z.core.$strip>;
88
83
  declare const CancelEventSchema: z.ZodObject<{
89
- calendar_id: z.ZodString;
90
84
  event_id: z.ZodString;
85
+ calendar_id: z.ZodString;
91
86
  }, z.core.$strip>;
92
87
  declare const ConfirmEventSchema: z.ZodObject<{
93
88
  event_id: z.ZodString;
@@ -103,7 +98,6 @@ declare const CreateAgentSchema: z.ZodObject<{
103
98
  resource: "resource";
104
99
  }>;
105
100
  description: z.ZodOptional<z.ZodString>;
106
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
107
101
  }, z.core.$strip>;
108
102
  declare const ListAgentsSchema: z.ZodObject<{
109
103
  type: z.ZodOptional<z.ZodEnum<{
@@ -116,8 +110,8 @@ declare const ListAgentsSchema: z.ZodObject<{
116
110
  paused: "paused";
117
111
  decommissioned: "decommissioned";
118
112
  }>>;
119
- limit: z.ZodOptional<z.ZodNumber>;
120
- offset: z.ZodOptional<z.ZodNumber>;
113
+ limit: z.ZodDefault<z.ZodNumber>;
114
+ offset: z.ZodDefault<z.ZodNumber>;
121
115
  }, z.core.$strip>;
122
116
  declare const GetAgentSchema: z.ZodObject<{
123
117
  agent_id: z.ZodString;
@@ -137,22 +131,27 @@ declare const DeleteAgentSchema: z.ZodObject<{
137
131
  }, z.core.$strip>;
138
132
  declare const GetAvailabilitySchema: z.ZodObject<{
139
133
  agent_id: z.ZodString;
140
- start: z.ZodString;
141
- end: z.ZodString;
142
- slot_duration: z.ZodOptional<z.ZodEnum<{
134
+ start: z.ZodOptional<z.ZodString>;
135
+ end: z.ZodOptional<z.ZodString>;
136
+ start_time: z.ZodOptional<z.ZodString>;
137
+ end_time: z.ZodOptional<z.ZodString>;
138
+ slot_duration: z.ZodDefault<z.ZodEnum<{
143
139
  "15m": "15m";
144
140
  "30m": "30m";
145
141
  "45m": "45m";
146
142
  "1h": "1h";
147
143
  "2h": "2h";
148
144
  }>>;
149
- include_busy: z.ZodOptional<z.ZodBoolean>;
145
+ include_busy: z.ZodDefault<z.ZodBoolean>;
150
146
  }, z.core.$strip>;
151
147
  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<{
148
+ agents: z.ZodOptional<z.ZodArray<z.ZodString>>;
149
+ agent_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
150
+ start: z.ZodOptional<z.ZodString>;
151
+ end: z.ZodOptional<z.ZodString>;
152
+ start_time: z.ZodOptional<z.ZodString>;
153
+ end_time: z.ZodOptional<z.ZodString>;
154
+ slot_duration: z.ZodDefault<z.ZodEnum<{
156
155
  "15m": "15m";
157
156
  "30m": "30m";
158
157
  "45m": "45m";
@@ -160,7 +159,7 @@ declare const FindMeetingTimeSchema: z.ZodObject<{
160
159
  "2h": "2h";
161
160
  }>>;
162
161
  calendars: z.ZodOptional<z.ZodArray<z.ZodString>>;
163
- include_busy: z.ZodOptional<z.ZodBoolean>;
162
+ include_busy: z.ZodDefault<z.ZodBoolean>;
164
163
  }, z.core.$strip>;
165
164
  declare const GetCalendarContextSchema: z.ZodObject<{
166
165
  calendar_id: z.ZodString;
@@ -174,16 +173,16 @@ declare const CreateProposalSchema: z.ZodObject<{
174
173
  slots: z.ZodArray<z.ZodObject<{
175
174
  start_time: z.ZodString;
176
175
  end_time: z.ZodString;
177
- weight: z.ZodOptional<z.ZodNumber>;
176
+ weight: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
178
177
  calendar_id: z.ZodOptional<z.ZodString>;
179
178
  }, z.core.$strip>>;
180
179
  expires_at: z.ZodOptional<z.ZodString>;
181
180
  }, z.core.$strip>;
182
181
  declare const ListProposalsSchema: z.ZodObject<{
183
182
  status: z.ZodOptional<z.ZodEnum<{
183
+ pending: "pending";
184
184
  confirmed: "confirmed";
185
185
  cancelled: "cancelled";
186
- pending: "pending";
187
186
  expired: "expired";
188
187
  }>>;
189
188
  organizer_agent_id: z.ZodOptional<z.ZodString>;
@@ -205,7 +204,7 @@ declare const RespondToProposalSchema: z.ZodObject<{
205
204
  counter_slots: z.ZodOptional<z.ZodArray<z.ZodObject<{
206
205
  start_time: z.ZodString;
207
206
  end_time: z.ZodString;
208
- weight: z.ZodOptional<z.ZodNumber>;
207
+ weight: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
209
208
  calendar_id: z.ZodOptional<z.ZodString>;
210
209
  }, z.core.$strip>>>;
211
210
  message: z.ZodOptional<z.ZodString>;
@@ -218,9 +217,9 @@ declare const CancelProposalSchema: z.ZodObject<{
218
217
  }, z.core.$strip>;
219
218
  declare const SetAvailabilityRulesSchema: z.ZodObject<{
220
219
  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<{
220
+ buffer_before_minutes: z.ZodDefault<z.ZodNumber>;
221
+ buffer_after_minutes: z.ZodDefault<z.ZodNumber>;
222
+ working_hours: z.ZodDefault<z.ZodNullable<z.ZodObject<{
224
223
  mon: z.ZodOptional<z.ZodObject<{
225
224
  start: z.ZodString;
226
225
  end: z.ZodString;
@@ -250,7 +249,7 @@ declare const SetAvailabilityRulesSchema: z.ZodObject<{
250
249
  end: z.ZodString;
251
250
  }, z.core.$strip>>;
252
251
  }, z.core.$strip>>>;
253
- timezone: z.ZodOptional<z.ZodString>;
252
+ timezone: z.ZodDefault<z.ZodString>;
254
253
  }, z.core.$strip>;
255
254
  declare const GetAvailabilityRulesSchema: z.ZodObject<{
256
255
  calendar_id: z.ZodString;
@@ -278,25 +277,74 @@ declare const AcceptTermsSchema: z.ZodObject<{
278
277
  tos_version: z.ZodString;
279
278
  }, z.core.$strip>;
280
279
  declare const ListWebhooksSchema: z.ZodObject<{
281
- limit: z.ZodOptional<z.ZodNumber>;
282
- offset: z.ZodOptional<z.ZodNumber>;
280
+ limit: z.ZodDefault<z.ZodNumber>;
281
+ offset: z.ZodDefault<z.ZodNumber>;
283
282
  }, z.core.$strip>;
284
283
  declare const GetWebhookSchema: z.ZodObject<{
285
284
  webhook_id: z.ZodString;
286
285
  }, z.core.$strip>;
287
286
  declare const CreateWebhookSchema: z.ZodObject<{
288
287
  url: z.ZodString;
289
- events: z.ZodArray<z.ZodString>;
288
+ events: z.ZodArray<z.ZodEnum<{
289
+ "agent.created": "agent.created";
290
+ "agent.updated": "agent.updated";
291
+ "event.created": "event.created";
292
+ "event.updated": "event.updated";
293
+ "event.deleted": "event.deleted";
294
+ "event.started": "event.started";
295
+ "event.ended": "event.ended";
296
+ "event.reminder": "event.reminder";
297
+ "event.hold_created": "event.hold_created";
298
+ "event.hold_expired": "event.hold_expired";
299
+ "event.hold_released": "event.hold_released";
300
+ "event.hold_confirmed": "event.hold_confirmed";
301
+ "proposal.created": "proposal.created";
302
+ "proposal.responded": "proposal.responded";
303
+ "proposal.confirmed": "proposal.confirmed";
304
+ "proposal.expired": "proposal.expired";
305
+ "proposal.cancelled": "proposal.cancelled";
306
+ "webhook.deactivated": "webhook.deactivated";
307
+ }>>;
290
308
  }, z.core.$strip>;
291
309
  declare const UpdateWebhookSchema: z.ZodObject<{
292
310
  webhook_id: z.ZodString;
293
311
  url: z.ZodOptional<z.ZodString>;
294
- events: z.ZodOptional<z.ZodArray<z.ZodString>>;
312
+ events: z.ZodOptional<z.ZodArray<z.ZodEnum<{
313
+ "agent.created": "agent.created";
314
+ "agent.updated": "agent.updated";
315
+ "event.created": "event.created";
316
+ "event.updated": "event.updated";
317
+ "event.deleted": "event.deleted";
318
+ "event.started": "event.started";
319
+ "event.ended": "event.ended";
320
+ "event.reminder": "event.reminder";
321
+ "event.hold_created": "event.hold_created";
322
+ "event.hold_expired": "event.hold_expired";
323
+ "event.hold_released": "event.hold_released";
324
+ "event.hold_confirmed": "event.hold_confirmed";
325
+ "proposal.created": "proposal.created";
326
+ "proposal.responded": "proposal.responded";
327
+ "proposal.confirmed": "proposal.confirmed";
328
+ "proposal.expired": "proposal.expired";
329
+ "proposal.cancelled": "proposal.cancelled";
330
+ "webhook.deactivated": "webhook.deactivated";
331
+ }>>>;
295
332
  active: z.ZodOptional<z.ZodBoolean>;
296
333
  }, z.core.$strip>;
297
334
  declare const DeleteWebhookSchema: z.ZodObject<{
298
335
  webhook_id: z.ZodString;
299
336
  }, z.core.$strip>;
337
+ declare const ListWebhookDeliveriesSchema: z.ZodObject<{
338
+ webhook_id: z.ZodString;
339
+ limit: z.ZodDefault<z.ZodNumber>;
340
+ offset: z.ZodDefault<z.ZodNumber>;
341
+ status: z.ZodOptional<z.ZodEnum<{
342
+ pending: "pending";
343
+ delivered: "delivered";
344
+ failed: "failed";
345
+ }>>;
346
+ include_payload: z.ZodOptional<z.ZodBoolean>;
347
+ }, z.core.$strip>;
300
348
  declare const ListICalSubscriptionsSchema: z.ZodObject<{
301
349
  agent_id: z.ZodString;
302
350
  status: z.ZodOptional<z.ZodEnum<{
@@ -304,8 +352,8 @@ declare const ListICalSubscriptionsSchema: z.ZodObject<{
304
352
  active: "active";
305
353
  paused: "paused";
306
354
  }>>;
307
- limit: z.ZodOptional<z.ZodNumber>;
308
- offset: z.ZodOptional<z.ZodNumber>;
355
+ limit: z.ZodDefault<z.ZodNumber>;
356
+ offset: z.ZodDefault<z.ZodNumber>;
309
357
  }, z.core.$strip>;
310
358
  declare const GetICalSubscriptionSchema: z.ZodObject<{
311
359
  subscription_id: z.ZodString;
@@ -316,17 +364,6 @@ declare const SubscribeICalSchema: z.ZodObject<{
316
364
  url: z.ZodString;
317
365
  label: z.ZodOptional<z.ZodString>;
318
366
  }, 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
367
  declare const UpdateICalSubscriptionSchema: z.ZodObject<{
331
368
  subscription_id: z.ZodString;
332
369
  label: z.ZodOptional<z.ZodString>;
package/dist/index.d.ts CHANGED
@@ -6,27 +6,31 @@ import '@chronary/sdk';
6
6
  declare const TOOL_DEFINITIONS: ToolDefinition[];
7
7
 
8
8
  declare const ListCalendarsSchema: z.ZodObject<{
9
- agent_id: z.ZodOptional<z.ZodString>;
10
9
  include: z.ZodOptional<z.ZodEnum<{
11
10
  all: "all";
12
11
  }>>;
13
- limit: z.ZodOptional<z.ZodNumber>;
14
- offset: z.ZodOptional<z.ZodNumber>;
12
+ limit: z.ZodDefault<z.ZodNumber>;
13
+ offset: z.ZodDefault<z.ZodNumber>;
15
14
  }, z.core.$strip>;
16
15
  declare const GetCalendarSchema: z.ZodObject<{
17
16
  calendar_id: z.ZodString;
18
17
  }, z.core.$strip>;
19
18
  declare const CreateCalendarSchema: z.ZodObject<{
20
19
  name: z.ZodString;
21
- timezone: z.ZodString;
22
20
  agent_id: z.ZodOptional<z.ZodString>;
21
+ timezone: z.ZodString;
23
22
  default_reminders: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
24
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
25
23
  }, z.core.$strip>;
26
24
  declare const UpdateCalendarSchema: z.ZodObject<{
27
25
  calendar_id: z.ZodString;
28
26
  name: z.ZodOptional<z.ZodString>;
29
27
  timezone: z.ZodOptional<z.ZodString>;
28
+ agent_status: z.ZodOptional<z.ZodEnum<{
29
+ error: "error";
30
+ idle: "idle";
31
+ working: "working";
32
+ waiting: "waiting";
33
+ }>>;
30
34
  default_reminders: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
31
35
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
32
36
  }, z.core.$strip>;
@@ -34,25 +38,15 @@ declare const DeleteCalendarSchema: z.ZodObject<{
34
38
  calendar_id: z.ZodString;
35
39
  }, z.core.$strip>;
36
40
  declare const ListEventsSchema: z.ZodObject<{
37
- calendar_id: z.ZodOptional<z.ZodString>;
38
- agent_id: z.ZodOptional<z.ZodString>;
41
+ calendar_id: z.ZodString;
39
42
  start_after: z.ZodOptional<z.ZodString>;
40
43
  start_before: z.ZodOptional<z.ZodString>;
41
- status: z.ZodOptional<z.ZodEnum<{
42
- confirmed: "confirmed";
43
- tentative: "tentative";
44
- cancelled: "cancelled";
45
- }>>;
46
- source: z.ZodOptional<z.ZodEnum<{
47
- internal: "internal";
48
- external_ical: "external_ical";
49
- }>>;
50
- limit: z.ZodOptional<z.ZodNumber>;
51
- offset: z.ZodOptional<z.ZodNumber>;
44
+ limit: z.ZodDefault<z.ZodNumber>;
45
+ offset: z.ZodDefault<z.ZodNumber>;
52
46
  }, z.core.$strip>;
53
47
  declare const GetEventSchema: z.ZodObject<{
54
- calendar_id: z.ZodString;
55
48
  event_id: z.ZodString;
49
+ calendar_id: z.ZodString;
56
50
  }, z.core.$strip>;
57
51
  declare const CreateEventSchema: z.ZodObject<{
58
52
  calendar_id: z.ZodString;
@@ -60,18 +54,19 @@ declare const CreateEventSchema: z.ZodObject<{
60
54
  start_time: z.ZodString;
61
55
  end_time: z.ZodString;
62
56
  description: z.ZodOptional<z.ZodString>;
63
- all_day: z.ZodOptional<z.ZodBoolean>;
57
+ all_day: z.ZodDefault<z.ZodBoolean>;
64
58
  status: z.ZodOptional<z.ZodEnum<{
65
59
  confirmed: "confirmed";
66
60
  tentative: "tentative";
67
- cancelled: "cancelled";
61
+ hold: "hold";
68
62
  }>>;
69
63
  reminders: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
70
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
64
+ hold_expires_at: z.ZodOptional<z.ZodString>;
65
+ hold_priority: z.ZodOptional<z.ZodNumber>;
71
66
  }, z.core.$strip>;
72
67
  declare const UpdateEventSchema: z.ZodObject<{
73
- calendar_id: z.ZodString;
74
68
  event_id: z.ZodString;
69
+ calendar_id: z.ZodString;
75
70
  title: z.ZodOptional<z.ZodString>;
76
71
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
77
72
  start_time: z.ZodOptional<z.ZodString>;
@@ -82,12 +77,12 @@ declare const UpdateEventSchema: z.ZodObject<{
82
77
  tentative: "tentative";
83
78
  cancelled: "cancelled";
84
79
  }>>;
85
- reminders: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
86
80
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
81
+ reminders: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
87
82
  }, z.core.$strip>;
88
83
  declare const CancelEventSchema: z.ZodObject<{
89
- calendar_id: z.ZodString;
90
84
  event_id: z.ZodString;
85
+ calendar_id: z.ZodString;
91
86
  }, z.core.$strip>;
92
87
  declare const ConfirmEventSchema: z.ZodObject<{
93
88
  event_id: z.ZodString;
@@ -103,7 +98,6 @@ declare const CreateAgentSchema: z.ZodObject<{
103
98
  resource: "resource";
104
99
  }>;
105
100
  description: z.ZodOptional<z.ZodString>;
106
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
107
101
  }, z.core.$strip>;
108
102
  declare const ListAgentsSchema: z.ZodObject<{
109
103
  type: z.ZodOptional<z.ZodEnum<{
@@ -116,8 +110,8 @@ declare const ListAgentsSchema: z.ZodObject<{
116
110
  paused: "paused";
117
111
  decommissioned: "decommissioned";
118
112
  }>>;
119
- limit: z.ZodOptional<z.ZodNumber>;
120
- offset: z.ZodOptional<z.ZodNumber>;
113
+ limit: z.ZodDefault<z.ZodNumber>;
114
+ offset: z.ZodDefault<z.ZodNumber>;
121
115
  }, z.core.$strip>;
122
116
  declare const GetAgentSchema: z.ZodObject<{
123
117
  agent_id: z.ZodString;
@@ -137,22 +131,27 @@ declare const DeleteAgentSchema: z.ZodObject<{
137
131
  }, z.core.$strip>;
138
132
  declare const GetAvailabilitySchema: z.ZodObject<{
139
133
  agent_id: z.ZodString;
140
- start: z.ZodString;
141
- end: z.ZodString;
142
- slot_duration: z.ZodOptional<z.ZodEnum<{
134
+ start: z.ZodOptional<z.ZodString>;
135
+ end: z.ZodOptional<z.ZodString>;
136
+ start_time: z.ZodOptional<z.ZodString>;
137
+ end_time: z.ZodOptional<z.ZodString>;
138
+ slot_duration: z.ZodDefault<z.ZodEnum<{
143
139
  "15m": "15m";
144
140
  "30m": "30m";
145
141
  "45m": "45m";
146
142
  "1h": "1h";
147
143
  "2h": "2h";
148
144
  }>>;
149
- include_busy: z.ZodOptional<z.ZodBoolean>;
145
+ include_busy: z.ZodDefault<z.ZodBoolean>;
150
146
  }, z.core.$strip>;
151
147
  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<{
148
+ agents: z.ZodOptional<z.ZodArray<z.ZodString>>;
149
+ agent_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
150
+ start: z.ZodOptional<z.ZodString>;
151
+ end: z.ZodOptional<z.ZodString>;
152
+ start_time: z.ZodOptional<z.ZodString>;
153
+ end_time: z.ZodOptional<z.ZodString>;
154
+ slot_duration: z.ZodDefault<z.ZodEnum<{
156
155
  "15m": "15m";
157
156
  "30m": "30m";
158
157
  "45m": "45m";
@@ -160,7 +159,7 @@ declare const FindMeetingTimeSchema: z.ZodObject<{
160
159
  "2h": "2h";
161
160
  }>>;
162
161
  calendars: z.ZodOptional<z.ZodArray<z.ZodString>>;
163
- include_busy: z.ZodOptional<z.ZodBoolean>;
162
+ include_busy: z.ZodDefault<z.ZodBoolean>;
164
163
  }, z.core.$strip>;
165
164
  declare const GetCalendarContextSchema: z.ZodObject<{
166
165
  calendar_id: z.ZodString;
@@ -174,16 +173,16 @@ declare const CreateProposalSchema: z.ZodObject<{
174
173
  slots: z.ZodArray<z.ZodObject<{
175
174
  start_time: z.ZodString;
176
175
  end_time: z.ZodString;
177
- weight: z.ZodOptional<z.ZodNumber>;
176
+ weight: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
178
177
  calendar_id: z.ZodOptional<z.ZodString>;
179
178
  }, z.core.$strip>>;
180
179
  expires_at: z.ZodOptional<z.ZodString>;
181
180
  }, z.core.$strip>;
182
181
  declare const ListProposalsSchema: z.ZodObject<{
183
182
  status: z.ZodOptional<z.ZodEnum<{
183
+ pending: "pending";
184
184
  confirmed: "confirmed";
185
185
  cancelled: "cancelled";
186
- pending: "pending";
187
186
  expired: "expired";
188
187
  }>>;
189
188
  organizer_agent_id: z.ZodOptional<z.ZodString>;
@@ -205,7 +204,7 @@ declare const RespondToProposalSchema: z.ZodObject<{
205
204
  counter_slots: z.ZodOptional<z.ZodArray<z.ZodObject<{
206
205
  start_time: z.ZodString;
207
206
  end_time: z.ZodString;
208
- weight: z.ZodOptional<z.ZodNumber>;
207
+ weight: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
209
208
  calendar_id: z.ZodOptional<z.ZodString>;
210
209
  }, z.core.$strip>>>;
211
210
  message: z.ZodOptional<z.ZodString>;
@@ -218,9 +217,9 @@ declare const CancelProposalSchema: z.ZodObject<{
218
217
  }, z.core.$strip>;
219
218
  declare const SetAvailabilityRulesSchema: z.ZodObject<{
220
219
  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<{
220
+ buffer_before_minutes: z.ZodDefault<z.ZodNumber>;
221
+ buffer_after_minutes: z.ZodDefault<z.ZodNumber>;
222
+ working_hours: z.ZodDefault<z.ZodNullable<z.ZodObject<{
224
223
  mon: z.ZodOptional<z.ZodObject<{
225
224
  start: z.ZodString;
226
225
  end: z.ZodString;
@@ -250,7 +249,7 @@ declare const SetAvailabilityRulesSchema: z.ZodObject<{
250
249
  end: z.ZodString;
251
250
  }, z.core.$strip>>;
252
251
  }, z.core.$strip>>>;
253
- timezone: z.ZodOptional<z.ZodString>;
252
+ timezone: z.ZodDefault<z.ZodString>;
254
253
  }, z.core.$strip>;
255
254
  declare const GetAvailabilityRulesSchema: z.ZodObject<{
256
255
  calendar_id: z.ZodString;
@@ -278,25 +277,74 @@ declare const AcceptTermsSchema: z.ZodObject<{
278
277
  tos_version: z.ZodString;
279
278
  }, z.core.$strip>;
280
279
  declare const ListWebhooksSchema: z.ZodObject<{
281
- limit: z.ZodOptional<z.ZodNumber>;
282
- offset: z.ZodOptional<z.ZodNumber>;
280
+ limit: z.ZodDefault<z.ZodNumber>;
281
+ offset: z.ZodDefault<z.ZodNumber>;
283
282
  }, z.core.$strip>;
284
283
  declare const GetWebhookSchema: z.ZodObject<{
285
284
  webhook_id: z.ZodString;
286
285
  }, z.core.$strip>;
287
286
  declare const CreateWebhookSchema: z.ZodObject<{
288
287
  url: z.ZodString;
289
- events: z.ZodArray<z.ZodString>;
288
+ events: z.ZodArray<z.ZodEnum<{
289
+ "agent.created": "agent.created";
290
+ "agent.updated": "agent.updated";
291
+ "event.created": "event.created";
292
+ "event.updated": "event.updated";
293
+ "event.deleted": "event.deleted";
294
+ "event.started": "event.started";
295
+ "event.ended": "event.ended";
296
+ "event.reminder": "event.reminder";
297
+ "event.hold_created": "event.hold_created";
298
+ "event.hold_expired": "event.hold_expired";
299
+ "event.hold_released": "event.hold_released";
300
+ "event.hold_confirmed": "event.hold_confirmed";
301
+ "proposal.created": "proposal.created";
302
+ "proposal.responded": "proposal.responded";
303
+ "proposal.confirmed": "proposal.confirmed";
304
+ "proposal.expired": "proposal.expired";
305
+ "proposal.cancelled": "proposal.cancelled";
306
+ "webhook.deactivated": "webhook.deactivated";
307
+ }>>;
290
308
  }, z.core.$strip>;
291
309
  declare const UpdateWebhookSchema: z.ZodObject<{
292
310
  webhook_id: z.ZodString;
293
311
  url: z.ZodOptional<z.ZodString>;
294
- events: z.ZodOptional<z.ZodArray<z.ZodString>>;
312
+ events: z.ZodOptional<z.ZodArray<z.ZodEnum<{
313
+ "agent.created": "agent.created";
314
+ "agent.updated": "agent.updated";
315
+ "event.created": "event.created";
316
+ "event.updated": "event.updated";
317
+ "event.deleted": "event.deleted";
318
+ "event.started": "event.started";
319
+ "event.ended": "event.ended";
320
+ "event.reminder": "event.reminder";
321
+ "event.hold_created": "event.hold_created";
322
+ "event.hold_expired": "event.hold_expired";
323
+ "event.hold_released": "event.hold_released";
324
+ "event.hold_confirmed": "event.hold_confirmed";
325
+ "proposal.created": "proposal.created";
326
+ "proposal.responded": "proposal.responded";
327
+ "proposal.confirmed": "proposal.confirmed";
328
+ "proposal.expired": "proposal.expired";
329
+ "proposal.cancelled": "proposal.cancelled";
330
+ "webhook.deactivated": "webhook.deactivated";
331
+ }>>>;
295
332
  active: z.ZodOptional<z.ZodBoolean>;
296
333
  }, z.core.$strip>;
297
334
  declare const DeleteWebhookSchema: z.ZodObject<{
298
335
  webhook_id: z.ZodString;
299
336
  }, z.core.$strip>;
337
+ declare const ListWebhookDeliveriesSchema: z.ZodObject<{
338
+ webhook_id: z.ZodString;
339
+ limit: z.ZodDefault<z.ZodNumber>;
340
+ offset: z.ZodDefault<z.ZodNumber>;
341
+ status: z.ZodOptional<z.ZodEnum<{
342
+ pending: "pending";
343
+ delivered: "delivered";
344
+ failed: "failed";
345
+ }>>;
346
+ include_payload: z.ZodOptional<z.ZodBoolean>;
347
+ }, z.core.$strip>;
300
348
  declare const ListICalSubscriptionsSchema: z.ZodObject<{
301
349
  agent_id: z.ZodString;
302
350
  status: z.ZodOptional<z.ZodEnum<{
@@ -304,8 +352,8 @@ declare const ListICalSubscriptionsSchema: z.ZodObject<{
304
352
  active: "active";
305
353
  paused: "paused";
306
354
  }>>;
307
- limit: z.ZodOptional<z.ZodNumber>;
308
- offset: z.ZodOptional<z.ZodNumber>;
355
+ limit: z.ZodDefault<z.ZodNumber>;
356
+ offset: z.ZodDefault<z.ZodNumber>;
309
357
  }, z.core.$strip>;
310
358
  declare const GetICalSubscriptionSchema: z.ZodObject<{
311
359
  subscription_id: z.ZodString;
@@ -316,17 +364,6 @@ declare const SubscribeICalSchema: z.ZodObject<{
316
364
  url: z.ZodString;
317
365
  label: z.ZodOptional<z.ZodString>;
318
366
  }, 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
367
  declare const UpdateICalSubscriptionSchema: z.ZodObject<{
331
368
  subscription_id: z.ZodString;
332
369
  label: z.ZodOptional<z.ZodString>;