@chronary/toolkit 1.6.2 → 1.7.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/CHANGELOG.md +12 -1
- package/README.md +18 -15
- package/dist/ai-sdk.cjs +37 -34
- package/dist/ai-sdk.cjs.map +1 -1
- package/dist/ai-sdk.d.cts +32 -27
- package/dist/ai-sdk.d.ts +32 -27
- package/dist/ai-sdk.js +37 -34
- package/dist/ai-sdk.js.map +1 -1
- package/dist/index.cjs +36 -34
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +36 -34
- package/dist/index.js.map +1 -1
- package/dist/langchain.cjs +36 -34
- package/dist/langchain.cjs.map +1 -1
- package/dist/langchain.js +36 -34
- package/dist/langchain.js.map +1 -1
- package/dist/mastra.cjs +36 -34
- package/dist/mastra.cjs.map +1 -1
- package/dist/mastra.js +36 -34
- package/dist/mastra.js.map +1 -1
- package/dist/mcp.cjs +36 -34
- package/dist/mcp.cjs.map +1 -1
- package/dist/mcp.js +36 -34
- package/dist/mcp.js.map +1 -1
- package/dist/openai.cjs +36 -34
- package/dist/openai.cjs.map +1 -1
- package/dist/openai.js +36 -34
- package/dist/openai.js.map +1 -1
- package/package.json +3 -2
package/dist/mcp.cjs
CHANGED
|
@@ -59,7 +59,7 @@ var ListCalendarsSchema = import_zod.z.object({
|
|
|
59
59
|
agent_id: import_zod.z.string().optional().describe("Filter to calendars owned by this agent. Organization keys only \u2014 Agent keys are always limited to their own agent and ignore this."),
|
|
60
60
|
include: import_zod.z.enum(["all"]).optional().describe('Pass "all" to include calendars across all agents (Organization keys only)'),
|
|
61
61
|
limit: import_zod.z.number().int().min(1).max(200).default(50).describe("Max results to return"),
|
|
62
|
-
offset: import_zod.z.number().int().min(0).default(0).describe("Pagination offset")
|
|
62
|
+
offset: import_zod.z.number().int().min(0).default(0).describe("Pagination offset, at most 10000")
|
|
63
63
|
});
|
|
64
64
|
var GetCalendarSchema = import_zod.z.object({
|
|
65
65
|
calendar_id: import_zod.z.string().describe("Calendar ID to fetch")
|
|
@@ -83,7 +83,7 @@ var DeleteCalendarSchema = import_zod.z.object({
|
|
|
83
83
|
});
|
|
84
84
|
var ListBookingPagesSchema = import_zod.z.object({
|
|
85
85
|
limit: import_zod.z.number().int().min(1).max(200).default(50).describe("Max results to return"),
|
|
86
|
-
offset: import_zod.z.number().int().min(0).default(0).describe("Pagination offset")
|
|
86
|
+
offset: import_zod.z.number().int().min(0).default(0).describe("Pagination offset, at most 10000")
|
|
87
87
|
});
|
|
88
88
|
var GetBookingPageSchema = import_zod.z.object({
|
|
89
89
|
booking_page_id: import_zod.z.string().describe("Booking page ID to fetch (bkp_...)")
|
|
@@ -106,25 +106,25 @@ var DeleteBookingPageSchema = import_zod.z.object({
|
|
|
106
106
|
var ListEventsSchema = import_zod.z.object({
|
|
107
107
|
calendar_id: import_zod.z.string().optional().describe("Calendar ID to list events from. Provide this or agent_id."),
|
|
108
108
|
agent_id: import_zod.z.string().optional().describe("Agent ID to list events for across all of the agent's calendars. Provide this or calendar_id."),
|
|
109
|
-
start_after: import_zod.z.string().datetime().optional().describe("Only events starting after this ISO 8601 time"),
|
|
110
|
-
start_before: import_zod.z.string().datetime().optional().describe("Only events starting before this ISO 8601 time"),
|
|
109
|
+
start_after: import_zod.z.string().datetime({ offset: true }).optional().describe("Only events starting after this ISO 8601 time"),
|
|
110
|
+
start_before: import_zod.z.string().datetime({ offset: true }).optional().describe("Only events starting before this ISO 8601 time"),
|
|
111
111
|
status: import_zod.z.enum(["confirmed", "tentative", "cancelled", "hold"]).optional().describe("Filter by event status"),
|
|
112
112
|
source: import_zod.z.enum(["internal", "external_ical"]).optional().describe('Filter by source: "internal" (created via the API) or "external_ical" (synced from an iCal subscription)'),
|
|
113
113
|
limit: import_zod.z.number().int().min(1).max(200).default(50).describe("Max results to return"),
|
|
114
|
-
offset: import_zod.z.number().int().min(0).default(0).describe("Pagination offset"),
|
|
114
|
+
offset: import_zod.z.number().int().min(0).default(0).describe("Pagination offset, at most 10000"),
|
|
115
115
|
expand: import_zod.z.boolean().default(false).describe("Expand recurring series into individual occurrence instances within the window. Requires both start_after and start_before (max 366 days apart). Instances carry recurringEventId + originalStartTime.")
|
|
116
116
|
});
|
|
117
117
|
var ListOrgEventsSchema = import_zod.z.object({
|
|
118
118
|
calendar_ids: import_zod.z.array(import_zod.z.string()).max(50).optional().describe("Only these calendar IDs (at most 50)"),
|
|
119
119
|
agent_id: import_zod.z.string().optional().describe("Only this agent's calendars"),
|
|
120
|
-
start_after: import_zod.z.string().datetime().optional().describe("Only events starting at or after this ISO 8601 time"),
|
|
121
|
-
start_before: import_zod.z.string().datetime().optional().describe("Only events starting at or before this ISO 8601 time"),
|
|
120
|
+
start_after: import_zod.z.string().datetime({ offset: true }).optional().describe("Only events starting at or after this ISO 8601 time"),
|
|
121
|
+
start_before: import_zod.z.string().datetime({ offset: true }).optional().describe("Only events starting at or before this ISO 8601 time"),
|
|
122
122
|
status: import_zod.z.enum(["confirmed", "tentative", "cancelled", "hold"]).optional().describe("Filter by event status"),
|
|
123
123
|
source: import_zod.z.enum(["internal", "external_ical"]).optional().describe('Filter by source: "internal" (created via the API) or "external_ical" (synced from an iCal subscription)'),
|
|
124
124
|
q: import_zod.z.string().optional().describe("Case-insensitive title search. Requires start_after and start_before at most 31 days apart"),
|
|
125
125
|
expand: import_zod.z.boolean().default(false).describe("Expand recurring series into individual occurrences within the window. Requires both start_after and start_before (max 366 days apart)."),
|
|
126
126
|
limit: import_zod.z.number().int().min(1).max(100).default(50).describe("Max results to return (1-100)"),
|
|
127
|
-
offset: import_zod.z.number().int().min(0).default(0).describe("Pagination offset")
|
|
127
|
+
offset: import_zod.z.number().int().min(0).default(0).describe("Pagination offset, at most 10000")
|
|
128
128
|
});
|
|
129
129
|
var GetEventSchema = import_zod.z.object({
|
|
130
130
|
event_id: import_zod.z.string().describe("Event ID to retrieve"),
|
|
@@ -133,33 +133,35 @@ var GetEventSchema = import_zod.z.object({
|
|
|
133
133
|
var CreateEventSchema = import_zod.z.object({
|
|
134
134
|
calendar_id: import_zod.z.string().describe("Calendar ID to add the event to"),
|
|
135
135
|
title: import_zod.z.string().min(1).max(500).describe("Event title"),
|
|
136
|
-
start_time: import_zod.z.string().datetime().describe("Start time (ISO 8601)"),
|
|
137
|
-
end_time: import_zod.z.string().datetime().describe("End time (ISO 8601)"),
|
|
136
|
+
start_time: import_zod.z.string().datetime({ offset: true }).describe("Start time (ISO 8601)"),
|
|
137
|
+
end_time: import_zod.z.string().datetime({ offset: true }).describe("End time (ISO 8601)"),
|
|
138
138
|
description: import_zod.z.string().max(1e4).optional().describe("Optional event description"),
|
|
139
139
|
all_day: import_zod.z.boolean().default(false).describe("Whether this is an all-day event"),
|
|
140
140
|
status: import_zod.z.enum(["confirmed", "tentative", "hold"]).optional().describe('Event status. "hold" creates a tentative reservation that auto-expires at hold_expires_at. Defaults to "confirmed".'),
|
|
141
141
|
reminders: import_zod.z.array(import_zod.z.number().int().min(1).max(40320)).max(5).nullable().optional().describe("Reminder offsets in minutes before start_time (e.g. [10, 1440]). Each fires an event.reminder webhook and shows as an alarm in the iCal feed. Omit or null to inherit the calendar default (then the system default of 10 min); [] for no reminders."),
|
|
142
|
-
hold_expires_at: import_zod.z.string().datetime().optional().describe('Required when status="hold". ISO 8601 timestamp 30s-15min in the future. Auto-releases the hold when reached.'),
|
|
142
|
+
hold_expires_at: import_zod.z.string().datetime({ offset: true }).optional().describe('Required when status="hold". ISO 8601 timestamp 30s-15min in the future. Auto-releases the hold when reached.'),
|
|
143
143
|
hold_priority: import_zod.z.number().int().min(0).max(100).optional().describe('Only valid with status="hold". Higher-priority overlapping holds pre-empt lower-priority ones. Defaults to 0.'),
|
|
144
|
-
recurrence_rule: import_zod.z.string().max(256).optional().describe('Make this a recurring series (RFC 5545 RRULE subset, no "RRULE:" prefix), e.g. "FREQ=WEEKLY;BYDAY=MO,WE;COUNT=12". Supports FREQ=DAILY/WEEKLY/MONTHLY/YEARLY, INTERVAL, COUNT (max 730) or UNTIL, BYDAY (weekly list or monthly ordinal like 2TU/-1FR), BYMONTHDAY (1-28 or -1). start_time must match the rule pattern
|
|
144
|
+
recurrence_rule: import_zod.z.string().max(256).optional().describe('Make this a recurring series (RFC 5545 RRULE subset, no "RRULE:" prefix), e.g. "FREQ=WEEKLY;BYDAY=MO,WE;COUNT=12". Supports FREQ=DAILY/WEEKLY/MONTHLY/YEARLY, INTERVAL, COUNT (max 730) or UNTIL, BYDAY (weekly list or monthly ordinal like 2TU/-1FR), BYMONTHDAY (1-28 or -1). start_time must match the rule pattern (in timezone when set, else UTC). Not allowed with status="hold". Free plan: 1 recurring series, must end within 90 days.'),
|
|
145
|
+
timezone: import_zod.z.string().max(64).optional().describe('IANA time zone the recurring series repeats in, e.g. "America/Los_Angeles". A weekly 16:00 then stays 16:00 local across daylight-saving changes; BYDAY and a date-only UNTIL are read in this zone. Omit for UTC.')
|
|
145
146
|
});
|
|
146
147
|
var UpdateEventSchema = import_zod.z.object({
|
|
147
148
|
event_id: import_zod.z.string().describe("Event ID to update"),
|
|
148
149
|
calendar_id: import_zod.z.string().optional().describe("Calendar ID that owns the event. Optional \u2014 if omitted the calendar is resolved from the event."),
|
|
149
150
|
title: import_zod.z.string().min(1).max(500).optional().describe("New event title"),
|
|
150
151
|
description: import_zod.z.string().max(1e4).nullable().optional().describe("New description, or null to clear it"),
|
|
151
|
-
start_time: import_zod.z.string().datetime().optional().describe("New start time (ISO 8601)"),
|
|
152
|
-
end_time: import_zod.z.string().datetime().optional().describe("New end time (ISO 8601)"),
|
|
152
|
+
start_time: import_zod.z.string().datetime({ offset: true }).optional().describe("New start time (ISO 8601)"),
|
|
153
|
+
end_time: import_zod.z.string().datetime({ offset: true }).optional().describe("New end time (ISO 8601)"),
|
|
153
154
|
all_day: import_zod.z.boolean().optional().describe("Whether this is an all-day event"),
|
|
154
155
|
status: import_zod.z.enum(["confirmed", "tentative", "cancelled"]).optional().describe("New event status"),
|
|
155
156
|
metadata: import_zod.z.record(import_zod.z.string(), import_zod.z.unknown()).optional().describe("Replacement metadata object"),
|
|
156
157
|
reminders: import_zod.z.array(import_zod.z.number().int().min(1).max(40320)).max(5).nullable().optional().describe("Reminder offsets in minutes before start_time. Omit to leave unchanged, null to inherit the calendar default, [] for no reminders."),
|
|
157
|
-
recurrence_rule: import_zod.z.string().max(256).nullable().optional().describe("Set/change the recurring series rule (RFC 5545 RRULE subset, full-series semantics), or null to make the event a one-off. Changing the rule or
|
|
158
|
+
recurrence_rule: import_zod.z.string().max(256).nullable().optional().describe("Set/change the recurring series rule (RFC 5545 RRULE subset, full-series semantics), or null to make the event a one-off. Changing the rule, start_time or timezone keeps each cancelled occurrence on its local date; the response lists any that no longer match in droppedExdates."),
|
|
159
|
+
timezone: import_zod.z.string().max(64).nullable().optional().describe('Set or change the IANA time zone the series repeats in (e.g. "America/Los_Angeles"), or null for UTC. Validated together with recurrence_rule and start_time, so a UTC-stored series can move to local time in one call (e.g. timezone + BYDAY=TU).')
|
|
158
160
|
});
|
|
159
161
|
var CancelEventSchema = import_zod.z.object({
|
|
160
162
|
event_id: import_zod.z.string().describe("Event ID to cancel"),
|
|
161
163
|
calendar_id: import_zod.z.string().optional().describe("Calendar ID that owns the event. Optional \u2014 if omitted the calendar is resolved from the event. Matches the asymmetry with confirm_event / release_event which never required this arg."),
|
|
162
|
-
occurrence_start: import_zod.z.string().datetime().optional().describe("For recurring events only: ISO 8601 start of the single occurrence to cancel. The rest of the series is unaffected.")
|
|
164
|
+
occurrence_start: import_zod.z.string().datetime({ offset: true }).optional().describe("For recurring events only: ISO 8601 start of the single occurrence to cancel. The rest of the series is unaffected.")
|
|
163
165
|
});
|
|
164
166
|
var ConfirmEventSchema = import_zod.z.object({
|
|
165
167
|
event_id: import_zod.z.string().describe("Event ID of the hold to confirm")
|
|
@@ -176,7 +178,7 @@ var ListAgentsSchema = import_zod.z.object({
|
|
|
176
178
|
type: import_zod.z.enum(["ai", "human", "resource"]).optional().describe("Filter by agent type"),
|
|
177
179
|
status: import_zod.z.enum(["active", "paused", "decommissioned"]).optional().describe("Filter by status"),
|
|
178
180
|
limit: import_zod.z.number().int().min(1).max(200).default(50).describe("Max results to return"),
|
|
179
|
-
offset: import_zod.z.number().int().min(0).default(0).describe("Pagination offset")
|
|
181
|
+
offset: import_zod.z.number().int().min(0).default(0).describe("Pagination offset, at most 10000")
|
|
180
182
|
});
|
|
181
183
|
var GetAgentSchema = import_zod.z.object({
|
|
182
184
|
agent_id: import_zod.z.string().describe("Agent ID to fetch")
|
|
@@ -193,10 +195,10 @@ var DeleteAgentSchema = import_zod.z.object({
|
|
|
193
195
|
});
|
|
194
196
|
var GetAvailabilitySchema = import_zod.z.object({
|
|
195
197
|
agent_id: import_zod.z.string().describe("Agent ID to check availability for"),
|
|
196
|
-
start: import_zod.z.string().datetime().optional().describe("Range start (ISO 8601). Alias: start_time."),
|
|
197
|
-
end: import_zod.z.string().datetime().optional().describe("Range end (ISO 8601). Alias: end_time."),
|
|
198
|
-
start_time: import_zod.z.string().datetime().optional().describe("Alias for `start` (matches REST events naming)."),
|
|
199
|
-
end_time: import_zod.z.string().datetime().optional().describe("Alias for `end` (matches REST events naming)."),
|
|
198
|
+
start: import_zod.z.string().datetime({ offset: true }).optional().describe("Range start (ISO 8601). Alias: start_time."),
|
|
199
|
+
end: import_zod.z.string().datetime({ offset: true }).optional().describe("Range end (ISO 8601). Alias: end_time."),
|
|
200
|
+
start_time: import_zod.z.string().datetime({ offset: true }).optional().describe("Alias for `start` (matches REST events naming)."),
|
|
201
|
+
end_time: import_zod.z.string().datetime({ offset: true }).optional().describe("Alias for `end` (matches REST events naming)."),
|
|
200
202
|
duration: import_zod.z.enum(["15m", "30m", "45m", "1h", "2h"]).optional().describe("Requested slot length (15m/30m/45m/1h/2h). Preferred over the deprecated slot_duration. Defaults to 30m."),
|
|
201
203
|
slot_duration: import_zod.z.enum(["15m", "30m", "45m", "1h", "2h"]).optional().describe("Deprecated alias for `duration` \u2014 minimum slot length. Prefer `duration`."),
|
|
202
204
|
include_busy: import_zod.z.boolean().default(false).describe("Include busy blocks in response")
|
|
@@ -204,10 +206,10 @@ var GetAvailabilitySchema = import_zod.z.object({
|
|
|
204
206
|
var FindMeetingTimeSchema = import_zod.z.object({
|
|
205
207
|
agents: import_zod.z.array(import_zod.z.string()).min(1).optional().describe("Array of agent IDs to find common free time for. All agents must be free during the returned slots. Alias: agent_ids."),
|
|
206
208
|
agent_ids: import_zod.z.array(import_zod.z.string()).min(1).optional().describe("Alias for `agents` (matches REST/scheduling-proposal naming)."),
|
|
207
|
-
start: import_zod.z.string().datetime().optional().describe("Search range start (ISO 8601). Alias: start_time."),
|
|
208
|
-
end: import_zod.z.string().datetime().optional().describe("Search range end (ISO 8601). Alias: end_time."),
|
|
209
|
-
start_time: import_zod.z.string().datetime().optional().describe("Alias for `start` (matches REST events naming)."),
|
|
210
|
-
end_time: import_zod.z.string().datetime().optional().describe("Alias for `end` (matches REST events naming)."),
|
|
209
|
+
start: import_zod.z.string().datetime({ offset: true }).optional().describe("Search range start (ISO 8601). Alias: start_time."),
|
|
210
|
+
end: import_zod.z.string().datetime({ offset: true }).optional().describe("Search range end (ISO 8601). Alias: end_time."),
|
|
211
|
+
start_time: import_zod.z.string().datetime({ offset: true }).optional().describe("Alias for `start` (matches REST events naming)."),
|
|
212
|
+
end_time: import_zod.z.string().datetime({ offset: true }).optional().describe("Alias for `end` (matches REST events naming)."),
|
|
211
213
|
duration: import_zod.z.enum(["15m", "30m", "45m", "1h", "2h"]).optional().describe("Requested slot length (15m/30m/45m/1h/2h). Preferred over the deprecated slot_duration. Defaults to 30m."),
|
|
212
214
|
slot_duration: import_zod.z.enum(["15m", "30m", "45m", "1h", "2h"]).optional().describe("Deprecated alias for `duration` \u2014 minimum slot length. Prefer `duration`."),
|
|
213
215
|
calendars: import_zod.z.array(import_zod.z.string()).optional().describe("Additional shared calendar IDs to treat as busy"),
|
|
@@ -226,8 +228,8 @@ var GetCalendarContextSchema = import_zod.z.object({
|
|
|
226
228
|
calendar_id: import_zod.z.string().describe("Calendar ID")
|
|
227
229
|
});
|
|
228
230
|
var proposalSlotSchema = import_zod.z.object({
|
|
229
|
-
start_time: import_zod.z.string().datetime().describe("Slot start time (ISO 8601)"),
|
|
230
|
-
end_time: import_zod.z.string().datetime().describe("Slot end time (ISO 8601), after start_time"),
|
|
231
|
+
start_time: import_zod.z.string().datetime({ offset: true }).describe("Slot start time (ISO 8601)"),
|
|
232
|
+
end_time: import_zod.z.string().datetime({ offset: true }).describe("Slot end time (ISO 8601), after start_time"),
|
|
231
233
|
weight: import_zod.z.number().min(0).max(10).default(1).optional().describe("Preference for this slot, 0\u201310 (higher = more preferred). Used to rank candidate slots when the proposal is resolved. Defaults to 1."),
|
|
232
234
|
calendar_id: import_zod.z.string().optional().describe("Calendar to create the event on if this slot is chosen. Defaults to the proposal's top-level calendar_id.")
|
|
233
235
|
});
|
|
@@ -238,13 +240,13 @@ var CreateProposalSchema = import_zod.z.object({
|
|
|
238
240
|
participant_agent_ids: import_zod.z.array(import_zod.z.string()).min(1).max(50).describe("Agent IDs invited to respond"),
|
|
239
241
|
calendar_id: import_zod.z.string().describe("Calendar the resolved event will be created on"),
|
|
240
242
|
slots: import_zod.z.array(proposalSlotSchema).min(1).max(20).describe("Candidate time slots (up to 20)"),
|
|
241
|
-
expires_at: import_zod.z.string().datetime().optional().describe("Auto-cancel cutoff if unresolved")
|
|
243
|
+
expires_at: import_zod.z.string().datetime({ offset: true }).optional().describe("Auto-cancel cutoff if unresolved")
|
|
242
244
|
});
|
|
243
245
|
var ListProposalsSchema = import_zod.z.object({
|
|
244
246
|
status: import_zod.z.enum(["pending", "resolving", "confirmed", "expired", "cancelled"]).optional().describe("Filter by proposal status"),
|
|
245
247
|
organizer_agent_id: import_zod.z.string().optional().describe("Filter by organizer agent"),
|
|
246
248
|
limit: import_zod.z.number().int().min(1).max(200).optional().describe("Max results (default 50)"),
|
|
247
|
-
offset: import_zod.z.number().int().min(0).optional().describe("Pagination offset (default 0)")
|
|
249
|
+
offset: import_zod.z.number().int().min(0).optional().describe("Pagination offset, at most 10000 (default 0)")
|
|
248
250
|
});
|
|
249
251
|
var GetProposalSchema = import_zod.z.object({
|
|
250
252
|
proposal_id: import_zod.z.string().describe("Proposal to fetch")
|
|
@@ -318,7 +320,7 @@ var AcceptTermsSchema = import_zod.z.object({
|
|
|
318
320
|
});
|
|
319
321
|
var ListWebhooksSchema = import_zod.z.object({
|
|
320
322
|
limit: import_zod.z.number().int().min(1).max(100).default(20).describe("Max results to return"),
|
|
321
|
-
offset: import_zod.z.number().int().min(0).default(0).describe("Pagination offset")
|
|
323
|
+
offset: import_zod.z.number().int().min(0).default(0).describe("Pagination offset, at most 10000")
|
|
322
324
|
});
|
|
323
325
|
var GetWebhookSchema = import_zod.z.object({
|
|
324
326
|
webhook_id: import_zod.z.string().describe("Webhook subscription to fetch")
|
|
@@ -339,12 +341,12 @@ var DeleteWebhookSchema = import_zod.z.object({
|
|
|
339
341
|
var ListWebhookDeliveriesSchema = import_zod.z.object({
|
|
340
342
|
webhook_id: import_zod.z.string().describe("Webhook subscription whose deliveries to list"),
|
|
341
343
|
limit: import_zod.z.number().int().min(1).max(100).default(20).describe("Max results to return"),
|
|
342
|
-
offset: import_zod.z.number().int().min(0).default(0).describe("Pagination offset. Cannot be combined with cursor"),
|
|
344
|
+
offset: import_zod.z.number().int().min(0).default(0).describe("Pagination offset, at most 10000. Cannot be combined with cursor"),
|
|
343
345
|
status: import_zod.z.enum(WEBHOOK_DELIVERY_STATUSES).optional().describe("Filter to a single delivery status"),
|
|
344
346
|
include_payload: import_zod.z.boolean().optional().describe("Include the full event payload sent on each delivery"),
|
|
345
347
|
event_type: import_zod.z.string().max(100).regex(/^[a-z_]+\.(?:[a-z_]+)?$/).optional().describe("An exact event type (event.created), or a prefix ending in a dot (event.) for a whole group"),
|
|
346
|
-
created_after: import_zod.z.string().datetime().optional().describe("Only deliveries created at or after this time (ISO 8601
|
|
347
|
-
created_before: import_zod.z.string().datetime().optional().describe("Only deliveries created before this time (ISO 8601
|
|
348
|
+
created_after: import_zod.z.string().datetime({ offset: true }).optional().describe("Only deliveries created at or after this time (ISO 8601)"),
|
|
349
|
+
created_before: import_zod.z.string().datetime({ offset: true }).optional().describe("Only deliveries created before this time (ISO 8601)"),
|
|
348
350
|
delivery_id: import_zod.z.string().max(100).regex(/^whd_[A-Za-z0-9_-]+$/).optional().describe("Only the delivery with this id"),
|
|
349
351
|
is_test: import_zod.z.boolean().optional().describe("true for test events only, false to leave them out"),
|
|
350
352
|
cursor: import_zod.z.string().min(1).max(1024).optional().describe("The next_cursor from the previous page")
|
|
@@ -365,7 +367,7 @@ var ListICalSubscriptionsSchema = import_zod.z.object({
|
|
|
365
367
|
agent_id: import_zod.z.string().describe("Agent ID whose iCal subscriptions to list"),
|
|
366
368
|
status: import_zod.z.enum(["active", "error", "paused"]).optional().describe("Filter by subscription status"),
|
|
367
369
|
limit: import_zod.z.number().int().min(1).max(200).default(50).describe("Max results to return"),
|
|
368
|
-
offset: import_zod.z.number().int().min(0).default(0).describe("Pagination offset")
|
|
370
|
+
offset: import_zod.z.number().int().min(0).default(0).describe("Pagination offset, at most 10000")
|
|
369
371
|
});
|
|
370
372
|
var GetICalSubscriptionSchema = import_zod.z.object({
|
|
371
373
|
subscription_id: import_zod.z.string().describe("iCal subscription ID to fetch")
|