@chronary/toolkit 0.1.2 → 1.0.1
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 +11 -7
- package/LICENSE +189 -189
- package/README.md +113 -113
- package/dist/ai-sdk.cjs +472 -38
- package/dist/ai-sdk.cjs.map +1 -1
- package/dist/ai-sdk.d.cts +5 -6
- package/dist/ai-sdk.d.ts +5 -6
- package/dist/ai-sdk.js +472 -38
- package/dist/ai-sdk.js.map +1 -1
- package/dist/{base-BZ_wFEVc.d.cts → base-C6QWbxc1.d.cts} +3 -3
- package/dist/{base-BZ_wFEVc.d.ts → base-C6QWbxc1.d.ts} +3 -3
- package/dist/index.cjs +526 -44
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +283 -233
- package/dist/index.d.ts +283 -233
- package/dist/index.js +526 -44
- package/dist/index.js.map +1 -1
- package/dist/langchain.cjs +472 -38
- package/dist/langchain.cjs.map +1 -1
- package/dist/langchain.d.cts +1 -1
- package/dist/langchain.d.ts +1 -1
- package/dist/langchain.js +472 -38
- package/dist/langchain.js.map +1 -1
- package/dist/mastra.cjs +472 -38
- package/dist/mastra.cjs.map +1 -1
- package/dist/mastra.d.cts +1 -1
- package/dist/mastra.d.ts +1 -1
- package/dist/mastra.js +472 -38
- package/dist/mastra.js.map +1 -1
- package/dist/mcp.cjs +474 -40
- package/dist/mcp.cjs.map +1 -1
- package/dist/mcp.d.cts +1 -1
- package/dist/mcp.d.ts +1 -1
- package/dist/mcp.js +474 -40
- package/dist/mcp.js.map +1 -1
- package/dist/openai.cjs +475 -41
- package/dist/openai.cjs.map +1 -1
- package/dist/openai.d.cts +1 -1
- package/dist/openai.d.ts +1 -1
- package/dist/openai.js +475 -41
- package/dist/openai.js.map +1 -1
- package/package.json +11 -11
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as ToolDefinition,
|
|
2
|
-
export { B as BaseToolkit, C as ChronaryToolkitConfig, L as ListToolkit, M as MapToolkit,
|
|
1
|
+
import { T as ToolDefinition, b as ToolResult } from './base-C6QWbxc1.cjs';
|
|
2
|
+
export { B as BaseToolkit, C as ChronaryToolkitConfig, L as ListToolkit, M as MapToolkit, c as TOOL_NAMES, a as ToolAnnotations, d as ToolName } from './base-C6QWbxc1.cjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import '@chronary/sdk';
|
|
5
5
|
|
|
@@ -7,104 +7,53 @@ declare const TOOL_DEFINITIONS: ToolDefinition[];
|
|
|
7
7
|
|
|
8
8
|
declare const ListCalendarsSchema: z.ZodObject<{
|
|
9
9
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
10
|
-
include: z.ZodOptional<z.ZodEnum<
|
|
10
|
+
include: z.ZodOptional<z.ZodEnum<{
|
|
11
|
+
all: "all";
|
|
12
|
+
}>>;
|
|
11
13
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
12
14
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
13
|
-
},
|
|
14
|
-
agent_id?: string | undefined;
|
|
15
|
-
include?: "all" | undefined;
|
|
16
|
-
limit?: number | undefined;
|
|
17
|
-
offset?: number | undefined;
|
|
18
|
-
}, {
|
|
19
|
-
agent_id?: string | undefined;
|
|
20
|
-
include?: "all" | undefined;
|
|
21
|
-
limit?: number | undefined;
|
|
22
|
-
offset?: number | undefined;
|
|
23
|
-
}>;
|
|
15
|
+
}, z.core.$strip>;
|
|
24
16
|
declare const GetCalendarSchema: z.ZodObject<{
|
|
25
17
|
calendar_id: z.ZodString;
|
|
26
|
-
},
|
|
27
|
-
calendar_id: string;
|
|
28
|
-
}, {
|
|
29
|
-
calendar_id: string;
|
|
30
|
-
}>;
|
|
18
|
+
}, z.core.$strip>;
|
|
31
19
|
declare const CreateCalendarSchema: z.ZodObject<{
|
|
32
20
|
name: z.ZodString;
|
|
33
21
|
timezone: z.ZodString;
|
|
34
22
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
23
|
+
default_reminders: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
|
|
35
24
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
36
|
-
},
|
|
37
|
-
name: string;
|
|
38
|
-
timezone: string;
|
|
39
|
-
agent_id?: string | undefined;
|
|
40
|
-
metadata?: Record<string, unknown> | undefined;
|
|
41
|
-
}, {
|
|
42
|
-
name: string;
|
|
43
|
-
timezone: string;
|
|
44
|
-
agent_id?: string | undefined;
|
|
45
|
-
metadata?: Record<string, unknown> | undefined;
|
|
46
|
-
}>;
|
|
25
|
+
}, z.core.$strip>;
|
|
47
26
|
declare const UpdateCalendarSchema: z.ZodObject<{
|
|
48
27
|
calendar_id: z.ZodString;
|
|
49
28
|
name: z.ZodOptional<z.ZodString>;
|
|
50
29
|
timezone: z.ZodOptional<z.ZodString>;
|
|
30
|
+
default_reminders: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
|
|
51
31
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
52
|
-
},
|
|
53
|
-
calendar_id: string;
|
|
54
|
-
name?: string | undefined;
|
|
55
|
-
timezone?: string | undefined;
|
|
56
|
-
metadata?: Record<string, unknown> | undefined;
|
|
57
|
-
}, {
|
|
58
|
-
calendar_id: string;
|
|
59
|
-
name?: string | undefined;
|
|
60
|
-
timezone?: string | undefined;
|
|
61
|
-
metadata?: Record<string, unknown> | undefined;
|
|
62
|
-
}>;
|
|
32
|
+
}, z.core.$strip>;
|
|
63
33
|
declare const DeleteCalendarSchema: z.ZodObject<{
|
|
64
34
|
calendar_id: z.ZodString;
|
|
65
|
-
},
|
|
66
|
-
calendar_id: string;
|
|
67
|
-
}, {
|
|
68
|
-
calendar_id: string;
|
|
69
|
-
}>;
|
|
35
|
+
}, z.core.$strip>;
|
|
70
36
|
declare const ListEventsSchema: z.ZodObject<{
|
|
71
37
|
calendar_id: z.ZodOptional<z.ZodString>;
|
|
72
38
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
73
39
|
start_after: z.ZodOptional<z.ZodString>;
|
|
74
40
|
start_before: z.ZodOptional<z.ZodString>;
|
|
75
|
-
status: z.ZodOptional<z.ZodEnum<
|
|
76
|
-
|
|
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
|
+
}>>;
|
|
77
50
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
78
51
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
79
|
-
},
|
|
80
|
-
status?: "confirmed" | "tentative" | "cancelled" | undefined;
|
|
81
|
-
agent_id?: string | undefined;
|
|
82
|
-
limit?: number | undefined;
|
|
83
|
-
offset?: number | undefined;
|
|
84
|
-
calendar_id?: string | undefined;
|
|
85
|
-
start_after?: string | undefined;
|
|
86
|
-
start_before?: string | undefined;
|
|
87
|
-
source?: "internal" | "external_ical" | undefined;
|
|
88
|
-
}, {
|
|
89
|
-
status?: "confirmed" | "tentative" | "cancelled" | undefined;
|
|
90
|
-
agent_id?: string | undefined;
|
|
91
|
-
limit?: number | undefined;
|
|
92
|
-
offset?: number | undefined;
|
|
93
|
-
calendar_id?: string | undefined;
|
|
94
|
-
start_after?: string | undefined;
|
|
95
|
-
start_before?: string | undefined;
|
|
96
|
-
source?: "internal" | "external_ical" | undefined;
|
|
97
|
-
}>;
|
|
52
|
+
}, z.core.$strip>;
|
|
98
53
|
declare const GetEventSchema: z.ZodObject<{
|
|
99
54
|
calendar_id: z.ZodString;
|
|
100
55
|
event_id: z.ZodString;
|
|
101
|
-
},
|
|
102
|
-
calendar_id: string;
|
|
103
|
-
event_id: string;
|
|
104
|
-
}, {
|
|
105
|
-
calendar_id: string;
|
|
106
|
-
event_id: string;
|
|
107
|
-
}>;
|
|
56
|
+
}, z.core.$strip>;
|
|
108
57
|
declare const CreateEventSchema: z.ZodObject<{
|
|
109
58
|
calendar_id: z.ZodString;
|
|
110
59
|
title: z.ZodString;
|
|
@@ -112,27 +61,14 @@ declare const CreateEventSchema: z.ZodObject<{
|
|
|
112
61
|
end_time: z.ZodString;
|
|
113
62
|
description: z.ZodOptional<z.ZodString>;
|
|
114
63
|
all_day: z.ZodOptional<z.ZodBoolean>;
|
|
115
|
-
status: z.ZodOptional<z.ZodEnum<
|
|
64
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
65
|
+
confirmed: "confirmed";
|
|
66
|
+
tentative: "tentative";
|
|
67
|
+
cancelled: "cancelled";
|
|
68
|
+
}>>;
|
|
69
|
+
reminders: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
|
|
116
70
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
117
|
-
},
|
|
118
|
-
calendar_id: string;
|
|
119
|
-
title: string;
|
|
120
|
-
start_time: string;
|
|
121
|
-
end_time: string;
|
|
122
|
-
status?: "confirmed" | "tentative" | "cancelled" | undefined;
|
|
123
|
-
metadata?: Record<string, unknown> | undefined;
|
|
124
|
-
description?: string | undefined;
|
|
125
|
-
all_day?: boolean | undefined;
|
|
126
|
-
}, {
|
|
127
|
-
calendar_id: string;
|
|
128
|
-
title: string;
|
|
129
|
-
start_time: string;
|
|
130
|
-
end_time: string;
|
|
131
|
-
status?: "confirmed" | "tentative" | "cancelled" | undefined;
|
|
132
|
-
metadata?: Record<string, unknown> | undefined;
|
|
133
|
-
description?: string | undefined;
|
|
134
|
-
all_day?: boolean | undefined;
|
|
135
|
-
}>;
|
|
71
|
+
}, z.core.$strip>;
|
|
136
72
|
declare const UpdateEventSchema: z.ZodObject<{
|
|
137
73
|
calendar_id: z.ZodString;
|
|
138
74
|
event_id: z.ZodString;
|
|
@@ -141,204 +77,318 @@ declare const UpdateEventSchema: z.ZodObject<{
|
|
|
141
77
|
start_time: z.ZodOptional<z.ZodString>;
|
|
142
78
|
end_time: z.ZodOptional<z.ZodString>;
|
|
143
79
|
all_day: z.ZodOptional<z.ZodBoolean>;
|
|
144
|
-
status: z.ZodOptional<z.ZodEnum<
|
|
80
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
81
|
+
confirmed: "confirmed";
|
|
82
|
+
tentative: "tentative";
|
|
83
|
+
cancelled: "cancelled";
|
|
84
|
+
}>>;
|
|
85
|
+
reminders: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
|
|
145
86
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
146
|
-
},
|
|
147
|
-
|
|
148
|
-
event_id: string;
|
|
149
|
-
status?: "confirmed" | "tentative" | "cancelled" | undefined;
|
|
150
|
-
metadata?: Record<string, unknown> | undefined;
|
|
151
|
-
title?: string | undefined;
|
|
152
|
-
start_time?: string | undefined;
|
|
153
|
-
end_time?: string | undefined;
|
|
154
|
-
description?: string | null | undefined;
|
|
155
|
-
all_day?: boolean | undefined;
|
|
156
|
-
}, {
|
|
157
|
-
calendar_id: string;
|
|
158
|
-
event_id: string;
|
|
159
|
-
status?: "confirmed" | "tentative" | "cancelled" | undefined;
|
|
160
|
-
metadata?: Record<string, unknown> | undefined;
|
|
161
|
-
title?: string | undefined;
|
|
162
|
-
start_time?: string | undefined;
|
|
163
|
-
end_time?: string | undefined;
|
|
164
|
-
description?: string | null | undefined;
|
|
165
|
-
all_day?: boolean | undefined;
|
|
166
|
-
}>;
|
|
167
|
-
declare const DeleteEventSchema: z.ZodObject<{
|
|
87
|
+
}, z.core.$strip>;
|
|
88
|
+
declare const CancelEventSchema: z.ZodObject<{
|
|
168
89
|
calendar_id: z.ZodString;
|
|
169
90
|
event_id: z.ZodString;
|
|
170
|
-
},
|
|
171
|
-
|
|
172
|
-
event_id:
|
|
173
|
-
},
|
|
174
|
-
|
|
175
|
-
event_id:
|
|
176
|
-
}>;
|
|
177
|
-
declare const
|
|
178
|
-
|
|
91
|
+
}, z.core.$strip>;
|
|
92
|
+
declare const ConfirmEventSchema: z.ZodObject<{
|
|
93
|
+
event_id: z.ZodString;
|
|
94
|
+
}, z.core.$strip>;
|
|
95
|
+
declare const ReleaseEventSchema: z.ZodObject<{
|
|
96
|
+
event_id: z.ZodString;
|
|
97
|
+
}, z.core.$strip>;
|
|
98
|
+
declare const CreateAgentSchema: z.ZodObject<{
|
|
99
|
+
name: z.ZodString;
|
|
100
|
+
type: z.ZodEnum<{
|
|
101
|
+
ai: "ai";
|
|
102
|
+
human: "human";
|
|
103
|
+
resource: "resource";
|
|
104
|
+
}>;
|
|
105
|
+
description: z.ZodOptional<z.ZodString>;
|
|
106
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
107
|
+
}, z.core.$strip>;
|
|
108
|
+
declare const ListAgentsSchema: z.ZodObject<{
|
|
109
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
110
|
+
ai: "ai";
|
|
111
|
+
human: "human";
|
|
112
|
+
resource: "resource";
|
|
113
|
+
}>>;
|
|
114
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
115
|
+
active: "active";
|
|
116
|
+
paused: "paused";
|
|
117
|
+
decommissioned: "decommissioned";
|
|
118
|
+
}>>;
|
|
119
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
120
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
121
|
+
}, z.core.$strip>;
|
|
122
|
+
declare const GetAgentSchema: z.ZodObject<{
|
|
123
|
+
agent_id: z.ZodString;
|
|
124
|
+
}, z.core.$strip>;
|
|
125
|
+
declare const UpdateAgentSchema: z.ZodObject<{
|
|
126
|
+
agent_id: z.ZodString;
|
|
127
|
+
name: z.ZodOptional<z.ZodString>;
|
|
128
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
129
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
130
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
131
|
+
active: "active";
|
|
132
|
+
paused: "paused";
|
|
133
|
+
}>>;
|
|
134
|
+
}, z.core.$strip>;
|
|
135
|
+
declare const DeleteAgentSchema: z.ZodObject<{
|
|
136
|
+
agent_id: z.ZodString;
|
|
137
|
+
}, z.core.$strip>;
|
|
138
|
+
declare const GetAvailabilitySchema: z.ZodObject<{
|
|
139
|
+
agent_id: z.ZodString;
|
|
140
|
+
start: z.ZodString;
|
|
141
|
+
end: z.ZodString;
|
|
142
|
+
slot_duration: z.ZodOptional<z.ZodEnum<{
|
|
143
|
+
"15m": "15m";
|
|
144
|
+
"30m": "30m";
|
|
145
|
+
"45m": "45m";
|
|
146
|
+
"1h": "1h";
|
|
147
|
+
"2h": "2h";
|
|
148
|
+
}>>;
|
|
149
|
+
include_busy: z.ZodOptional<z.ZodBoolean>;
|
|
150
|
+
}, z.core.$strip>;
|
|
151
|
+
declare const FindMeetingTimeSchema: z.ZodObject<{
|
|
152
|
+
agents: z.ZodArray<z.ZodString>;
|
|
179
153
|
start: z.ZodString;
|
|
180
154
|
end: z.ZodString;
|
|
181
|
-
slot_duration: z.ZodOptional<z.ZodEnum<
|
|
182
|
-
|
|
155
|
+
slot_duration: z.ZodOptional<z.ZodEnum<{
|
|
156
|
+
"15m": "15m";
|
|
157
|
+
"30m": "30m";
|
|
158
|
+
"45m": "45m";
|
|
159
|
+
"1h": "1h";
|
|
160
|
+
"2h": "2h";
|
|
161
|
+
}>>;
|
|
162
|
+
calendars: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
183
163
|
include_busy: z.ZodOptional<z.ZodBoolean>;
|
|
184
|
-
},
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
164
|
+
}, z.core.$strip>;
|
|
165
|
+
declare const GetCalendarContextSchema: z.ZodObject<{
|
|
166
|
+
calendar_id: z.ZodString;
|
|
167
|
+
}, z.core.$strip>;
|
|
168
|
+
declare const CreateProposalSchema: z.ZodObject<{
|
|
169
|
+
title: z.ZodString;
|
|
170
|
+
description: z.ZodOptional<z.ZodString>;
|
|
171
|
+
organizer_agent_id: z.ZodString;
|
|
172
|
+
participant_agent_ids: z.ZodArray<z.ZodString>;
|
|
173
|
+
calendar_id: z.ZodString;
|
|
174
|
+
slots: z.ZodArray<z.ZodObject<{
|
|
175
|
+
start_time: z.ZodString;
|
|
176
|
+
end_time: z.ZodString;
|
|
177
|
+
weight: z.ZodOptional<z.ZodNumber>;
|
|
178
|
+
calendar_id: z.ZodOptional<z.ZodString>;
|
|
179
|
+
}, z.core.$strip>>;
|
|
180
|
+
expires_at: z.ZodOptional<z.ZodString>;
|
|
181
|
+
}, z.core.$strip>;
|
|
182
|
+
declare const ListProposalsSchema: z.ZodObject<{
|
|
183
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
184
|
+
confirmed: "confirmed";
|
|
185
|
+
cancelled: "cancelled";
|
|
186
|
+
pending: "pending";
|
|
187
|
+
expired: "expired";
|
|
188
|
+
}>>;
|
|
189
|
+
organizer_agent_id: z.ZodOptional<z.ZodString>;
|
|
190
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
191
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
192
|
+
}, z.core.$strip>;
|
|
193
|
+
declare const GetProposalSchema: z.ZodObject<{
|
|
194
|
+
proposal_id: z.ZodString;
|
|
195
|
+
}, z.core.$strip>;
|
|
196
|
+
declare const RespondToProposalSchema: z.ZodObject<{
|
|
197
|
+
proposal_id: z.ZodString;
|
|
198
|
+
agent_id: z.ZodString;
|
|
199
|
+
response: z.ZodEnum<{
|
|
200
|
+
accept: "accept";
|
|
201
|
+
decline: "decline";
|
|
202
|
+
counter: "counter";
|
|
203
|
+
}>;
|
|
204
|
+
selected_slot_id: z.ZodOptional<z.ZodString>;
|
|
205
|
+
counter_slots: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
206
|
+
start_time: z.ZodString;
|
|
207
|
+
end_time: z.ZodString;
|
|
208
|
+
weight: z.ZodOptional<z.ZodNumber>;
|
|
209
|
+
calendar_id: z.ZodOptional<z.ZodString>;
|
|
210
|
+
}, z.core.$strip>>>;
|
|
211
|
+
message: z.ZodOptional<z.ZodString>;
|
|
212
|
+
}, z.core.$strip>;
|
|
213
|
+
declare const ResolveProposalSchema: z.ZodObject<{
|
|
214
|
+
proposal_id: z.ZodString;
|
|
215
|
+
}, z.core.$strip>;
|
|
216
|
+
declare const CancelProposalSchema: z.ZodObject<{
|
|
217
|
+
proposal_id: z.ZodString;
|
|
218
|
+
}, z.core.$strip>;
|
|
219
|
+
declare const SetAvailabilityRulesSchema: z.ZodObject<{
|
|
220
|
+
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<{
|
|
224
|
+
mon: z.ZodOptional<z.ZodObject<{
|
|
225
|
+
start: z.ZodString;
|
|
226
|
+
end: z.ZodString;
|
|
227
|
+
}, z.core.$strip>>;
|
|
228
|
+
tue: z.ZodOptional<z.ZodObject<{
|
|
229
|
+
start: z.ZodString;
|
|
230
|
+
end: z.ZodString;
|
|
231
|
+
}, z.core.$strip>>;
|
|
232
|
+
wed: z.ZodOptional<z.ZodObject<{
|
|
233
|
+
start: z.ZodString;
|
|
234
|
+
end: z.ZodString;
|
|
235
|
+
}, z.core.$strip>>;
|
|
236
|
+
thu: z.ZodOptional<z.ZodObject<{
|
|
237
|
+
start: z.ZodString;
|
|
238
|
+
end: z.ZodString;
|
|
239
|
+
}, z.core.$strip>>;
|
|
240
|
+
fri: z.ZodOptional<z.ZodObject<{
|
|
241
|
+
start: z.ZodString;
|
|
242
|
+
end: z.ZodString;
|
|
243
|
+
}, z.core.$strip>>;
|
|
244
|
+
sat: z.ZodOptional<z.ZodObject<{
|
|
245
|
+
start: z.ZodString;
|
|
246
|
+
end: z.ZodString;
|
|
247
|
+
}, z.core.$strip>>;
|
|
248
|
+
sun: z.ZodOptional<z.ZodObject<{
|
|
249
|
+
start: z.ZodString;
|
|
250
|
+
end: z.ZodString;
|
|
251
|
+
}, z.core.$strip>>;
|
|
252
|
+
}, z.core.$strip>>>;
|
|
253
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
254
|
+
}, z.core.$strip>;
|
|
255
|
+
declare const GetAvailabilityRulesSchema: z.ZodObject<{
|
|
256
|
+
calendar_id: z.ZodString;
|
|
257
|
+
}, z.core.$strip>;
|
|
258
|
+
declare const ClearAvailabilityRulesSchema: z.ZodObject<{
|
|
259
|
+
calendar_id: z.ZodString;
|
|
260
|
+
}, z.core.$strip>;
|
|
261
|
+
declare const CreateScopedKeySchema: z.ZodObject<{
|
|
262
|
+
agent_id: z.ZodString;
|
|
263
|
+
label: z.ZodOptional<z.ZodString>;
|
|
264
|
+
}, z.core.$strip>;
|
|
265
|
+
declare const ListScopedKeysSchema: z.ZodObject<{}, z.core.$strip>;
|
|
266
|
+
declare const RevokeScopedKeySchema: z.ZodObject<{
|
|
267
|
+
key_id: z.ZodString;
|
|
268
|
+
}, z.core.$strip>;
|
|
269
|
+
declare const GetAuditLogSchema: z.ZodObject<{
|
|
270
|
+
from: z.ZodOptional<z.ZodString>;
|
|
271
|
+
to: z.ZodOptional<z.ZodString>;
|
|
272
|
+
action: z.ZodOptional<z.ZodString>;
|
|
273
|
+
actor_key_prefix: z.ZodOptional<z.ZodString>;
|
|
274
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
275
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
276
|
+
}, z.core.$strip>;
|
|
277
|
+
declare const AcceptTermsSchema: z.ZodObject<{
|
|
278
|
+
tos_version: z.ZodString;
|
|
279
|
+
}, z.core.$strip>;
|
|
199
280
|
declare const ListWebhooksSchema: z.ZodObject<{
|
|
200
281
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
201
282
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
202
|
-
},
|
|
203
|
-
limit?: number | undefined;
|
|
204
|
-
offset?: number | undefined;
|
|
205
|
-
}, {
|
|
206
|
-
limit?: number | undefined;
|
|
207
|
-
offset?: number | undefined;
|
|
208
|
-
}>;
|
|
283
|
+
}, z.core.$strip>;
|
|
209
284
|
declare const GetWebhookSchema: z.ZodObject<{
|
|
210
285
|
webhook_id: z.ZodString;
|
|
211
|
-
},
|
|
212
|
-
webhook_id: string;
|
|
213
|
-
}, {
|
|
214
|
-
webhook_id: string;
|
|
215
|
-
}>;
|
|
286
|
+
}, z.core.$strip>;
|
|
216
287
|
declare const CreateWebhookSchema: z.ZodObject<{
|
|
217
288
|
url: z.ZodString;
|
|
218
|
-
events: z.ZodArray<z.ZodString
|
|
219
|
-
},
|
|
220
|
-
url: string;
|
|
221
|
-
events: string[];
|
|
222
|
-
}, {
|
|
223
|
-
url: string;
|
|
224
|
-
events: string[];
|
|
225
|
-
}>;
|
|
289
|
+
events: z.ZodArray<z.ZodString>;
|
|
290
|
+
}, z.core.$strip>;
|
|
226
291
|
declare const UpdateWebhookSchema: z.ZodObject<{
|
|
227
292
|
webhook_id: z.ZodString;
|
|
228
293
|
url: z.ZodOptional<z.ZodString>;
|
|
229
|
-
events: z.ZodOptional<z.ZodArray<z.ZodString
|
|
294
|
+
events: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
230
295
|
active: z.ZodOptional<z.ZodBoolean>;
|
|
231
|
-
},
|
|
232
|
-
webhook_id: string;
|
|
233
|
-
url?: string | undefined;
|
|
234
|
-
events?: string[] | undefined;
|
|
235
|
-
active?: boolean | undefined;
|
|
236
|
-
}, {
|
|
237
|
-
webhook_id: string;
|
|
238
|
-
url?: string | undefined;
|
|
239
|
-
events?: string[] | undefined;
|
|
240
|
-
active?: boolean | undefined;
|
|
241
|
-
}>;
|
|
296
|
+
}, z.core.$strip>;
|
|
242
297
|
declare const DeleteWebhookSchema: z.ZodObject<{
|
|
243
298
|
webhook_id: z.ZodString;
|
|
244
|
-
},
|
|
245
|
-
webhook_id: string;
|
|
246
|
-
}, {
|
|
247
|
-
webhook_id: string;
|
|
248
|
-
}>;
|
|
299
|
+
}, z.core.$strip>;
|
|
249
300
|
declare const ListICalSubscriptionsSchema: z.ZodObject<{
|
|
250
301
|
agent_id: z.ZodString;
|
|
251
|
-
status: z.ZodOptional<z.ZodEnum<
|
|
302
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
303
|
+
error: "error";
|
|
304
|
+
active: "active";
|
|
305
|
+
paused: "paused";
|
|
306
|
+
}>>;
|
|
252
307
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
253
308
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
254
|
-
},
|
|
255
|
-
agent_id: string;
|
|
256
|
-
status?: "active" | "error" | "paused" | undefined;
|
|
257
|
-
limit?: number | undefined;
|
|
258
|
-
offset?: number | undefined;
|
|
259
|
-
}, {
|
|
260
|
-
agent_id: string;
|
|
261
|
-
status?: "active" | "error" | "paused" | undefined;
|
|
262
|
-
limit?: number | undefined;
|
|
263
|
-
offset?: number | undefined;
|
|
264
|
-
}>;
|
|
309
|
+
}, z.core.$strip>;
|
|
265
310
|
declare const GetICalSubscriptionSchema: z.ZodObject<{
|
|
266
311
|
subscription_id: z.ZodString;
|
|
267
|
-
},
|
|
268
|
-
|
|
269
|
-
}, {
|
|
270
|
-
subscription_id: string;
|
|
271
|
-
}>;
|
|
272
|
-
declare const CreateICalSubscriptionSchema: z.ZodObject<{
|
|
312
|
+
}, z.core.$strip>;
|
|
313
|
+
declare const SubscribeICalSchema: z.ZodObject<{
|
|
273
314
|
agent_id: z.ZodString;
|
|
274
315
|
calendar_id: z.ZodString;
|
|
275
316
|
url: z.ZodString;
|
|
276
317
|
label: z.ZodOptional<z.ZodString>;
|
|
277
|
-
},
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
318
|
+
}, 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>;
|
|
288
330
|
declare const UpdateICalSubscriptionSchema: z.ZodObject<{
|
|
289
331
|
subscription_id: z.ZodString;
|
|
290
332
|
label: z.ZodOptional<z.ZodString>;
|
|
291
333
|
url: z.ZodOptional<z.ZodString>;
|
|
292
|
-
},
|
|
293
|
-
subscription_id: string;
|
|
294
|
-
url?: string | undefined;
|
|
295
|
-
label?: string | undefined;
|
|
296
|
-
}, {
|
|
297
|
-
subscription_id: string;
|
|
298
|
-
url?: string | undefined;
|
|
299
|
-
label?: string | undefined;
|
|
300
|
-
}>;
|
|
334
|
+
}, z.core.$strip>;
|
|
301
335
|
declare const DeleteICalSubscriptionSchema: z.ZodObject<{
|
|
302
336
|
subscription_id: z.ZodString;
|
|
303
|
-
},
|
|
304
|
-
subscription_id: string;
|
|
305
|
-
}, {
|
|
306
|
-
subscription_id: string;
|
|
307
|
-
}>;
|
|
337
|
+
}, z.core.$strip>;
|
|
308
338
|
declare const SyncICalSubscriptionSchema: z.ZodObject<{
|
|
309
339
|
subscription_id: z.ZodString;
|
|
310
|
-
},
|
|
311
|
-
|
|
312
|
-
}, {
|
|
313
|
-
subscription_id: string;
|
|
314
|
-
}>;
|
|
315
|
-
declare const GetUsageSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
340
|
+
}, z.core.$strip>;
|
|
341
|
+
declare const GetUsageSchema: z.ZodObject<{}, z.core.$strip>;
|
|
316
342
|
|
|
317
|
-
declare const
|
|
343
|
+
declare const schemas_AcceptTermsSchema: typeof AcceptTermsSchema;
|
|
344
|
+
declare const schemas_CancelEventSchema: typeof CancelEventSchema;
|
|
345
|
+
declare const schemas_CancelProposalSchema: typeof CancelProposalSchema;
|
|
346
|
+
declare const schemas_ClearAvailabilityRulesSchema: typeof ClearAvailabilityRulesSchema;
|
|
347
|
+
declare const schemas_ConfirmEventSchema: typeof ConfirmEventSchema;
|
|
348
|
+
declare const schemas_CreateAgentSchema: typeof CreateAgentSchema;
|
|
318
349
|
declare const schemas_CreateCalendarSchema: typeof CreateCalendarSchema;
|
|
319
350
|
declare const schemas_CreateEventSchema: typeof CreateEventSchema;
|
|
320
|
-
declare const
|
|
351
|
+
declare const schemas_CreateProposalSchema: typeof CreateProposalSchema;
|
|
352
|
+
declare const schemas_CreateScopedKeySchema: typeof CreateScopedKeySchema;
|
|
321
353
|
declare const schemas_CreateWebhookSchema: typeof CreateWebhookSchema;
|
|
354
|
+
declare const schemas_DeleteAgentSchema: typeof DeleteAgentSchema;
|
|
322
355
|
declare const schemas_DeleteCalendarSchema: typeof DeleteCalendarSchema;
|
|
323
|
-
declare const schemas_DeleteEventSchema: typeof DeleteEventSchema;
|
|
324
356
|
declare const schemas_DeleteICalSubscriptionSchema: typeof DeleteICalSubscriptionSchema;
|
|
325
357
|
declare const schemas_DeleteWebhookSchema: typeof DeleteWebhookSchema;
|
|
358
|
+
declare const schemas_FindMeetingTimeSchema: typeof FindMeetingTimeSchema;
|
|
359
|
+
declare const schemas_GetAgentSchema: typeof GetAgentSchema;
|
|
360
|
+
declare const schemas_GetAuditLogSchema: typeof GetAuditLogSchema;
|
|
361
|
+
declare const schemas_GetAvailabilityRulesSchema: typeof GetAvailabilityRulesSchema;
|
|
362
|
+
declare const schemas_GetAvailabilitySchema: typeof GetAvailabilitySchema;
|
|
363
|
+
declare const schemas_GetCalendarContextSchema: typeof GetCalendarContextSchema;
|
|
326
364
|
declare const schemas_GetCalendarSchema: typeof GetCalendarSchema;
|
|
327
365
|
declare const schemas_GetEventSchema: typeof GetEventSchema;
|
|
328
366
|
declare const schemas_GetICalSubscriptionSchema: typeof GetICalSubscriptionSchema;
|
|
367
|
+
declare const schemas_GetProposalSchema: typeof GetProposalSchema;
|
|
329
368
|
declare const schemas_GetUsageSchema: typeof GetUsageSchema;
|
|
330
369
|
declare const schemas_GetWebhookSchema: typeof GetWebhookSchema;
|
|
370
|
+
declare const schemas_ListAgentsSchema: typeof ListAgentsSchema;
|
|
331
371
|
declare const schemas_ListCalendarsSchema: typeof ListCalendarsSchema;
|
|
332
372
|
declare const schemas_ListEventsSchema: typeof ListEventsSchema;
|
|
333
373
|
declare const schemas_ListICalSubscriptionsSchema: typeof ListICalSubscriptionsSchema;
|
|
374
|
+
declare const schemas_ListProposalsSchema: typeof ListProposalsSchema;
|
|
375
|
+
declare const schemas_ListScopedKeysSchema: typeof ListScopedKeysSchema;
|
|
376
|
+
declare const schemas_ListWebhookDeliveriesSchema: typeof ListWebhookDeliveriesSchema;
|
|
334
377
|
declare const schemas_ListWebhooksSchema: typeof ListWebhooksSchema;
|
|
378
|
+
declare const schemas_ReleaseEventSchema: typeof ReleaseEventSchema;
|
|
379
|
+
declare const schemas_ResolveProposalSchema: typeof ResolveProposalSchema;
|
|
380
|
+
declare const schemas_RespondToProposalSchema: typeof RespondToProposalSchema;
|
|
381
|
+
declare const schemas_RevokeScopedKeySchema: typeof RevokeScopedKeySchema;
|
|
382
|
+
declare const schemas_SetAvailabilityRulesSchema: typeof SetAvailabilityRulesSchema;
|
|
383
|
+
declare const schemas_SubscribeICalSchema: typeof SubscribeICalSchema;
|
|
335
384
|
declare const schemas_SyncICalSubscriptionSchema: typeof SyncICalSubscriptionSchema;
|
|
385
|
+
declare const schemas_UpdateAgentSchema: typeof UpdateAgentSchema;
|
|
336
386
|
declare const schemas_UpdateCalendarSchema: typeof UpdateCalendarSchema;
|
|
337
387
|
declare const schemas_UpdateEventSchema: typeof UpdateEventSchema;
|
|
338
388
|
declare const schemas_UpdateICalSubscriptionSchema: typeof UpdateICalSubscriptionSchema;
|
|
339
389
|
declare const schemas_UpdateWebhookSchema: typeof UpdateWebhookSchema;
|
|
340
390
|
declare namespace schemas {
|
|
341
|
-
export {
|
|
391
|
+
export { schemas_AcceptTermsSchema as AcceptTermsSchema, schemas_CancelEventSchema as CancelEventSchema, schemas_CancelProposalSchema as CancelProposalSchema, schemas_ClearAvailabilityRulesSchema as ClearAvailabilityRulesSchema, schemas_ConfirmEventSchema as ConfirmEventSchema, schemas_CreateAgentSchema as CreateAgentSchema, schemas_CreateCalendarSchema as CreateCalendarSchema, schemas_CreateEventSchema as CreateEventSchema, schemas_CreateProposalSchema as CreateProposalSchema, schemas_CreateScopedKeySchema as CreateScopedKeySchema, schemas_CreateWebhookSchema as CreateWebhookSchema, schemas_DeleteAgentSchema as DeleteAgentSchema, schemas_DeleteCalendarSchema as DeleteCalendarSchema, schemas_DeleteICalSubscriptionSchema as DeleteICalSubscriptionSchema, schemas_DeleteWebhookSchema as DeleteWebhookSchema, schemas_FindMeetingTimeSchema as FindMeetingTimeSchema, schemas_GetAgentSchema as GetAgentSchema, schemas_GetAuditLogSchema as GetAuditLogSchema, schemas_GetAvailabilityRulesSchema as GetAvailabilityRulesSchema, schemas_GetAvailabilitySchema as GetAvailabilitySchema, schemas_GetCalendarContextSchema as GetCalendarContextSchema, schemas_GetCalendarSchema as GetCalendarSchema, schemas_GetEventSchema as GetEventSchema, schemas_GetICalSubscriptionSchema as GetICalSubscriptionSchema, schemas_GetProposalSchema as GetProposalSchema, schemas_GetUsageSchema as GetUsageSchema, schemas_GetWebhookSchema as GetWebhookSchema, schemas_ListAgentsSchema as ListAgentsSchema, schemas_ListCalendarsSchema as ListCalendarsSchema, schemas_ListEventsSchema as ListEventsSchema, schemas_ListICalSubscriptionsSchema as ListICalSubscriptionsSchema, schemas_ListProposalsSchema as ListProposalsSchema, schemas_ListScopedKeysSchema as ListScopedKeysSchema, schemas_ListWebhookDeliveriesSchema as ListWebhookDeliveriesSchema, schemas_ListWebhooksSchema as ListWebhooksSchema, schemas_ReleaseEventSchema as ReleaseEventSchema, schemas_ResolveProposalSchema as ResolveProposalSchema, schemas_RespondToProposalSchema as RespondToProposalSchema, schemas_RevokeScopedKeySchema as RevokeScopedKeySchema, schemas_SetAvailabilityRulesSchema as SetAvailabilityRulesSchema, schemas_SubscribeICalSchema as SubscribeICalSchema, schemas_SyncICalSubscriptionSchema as SyncICalSubscriptionSchema, schemas_UpdateAgentSchema as UpdateAgentSchema, schemas_UpdateCalendarSchema as UpdateCalendarSchema, schemas_UpdateEventSchema as UpdateEventSchema, schemas_UpdateICalSubscriptionSchema as UpdateICalSubscriptionSchema, schemas_UpdateWebhookSchema as UpdateWebhookSchema };
|
|
342
392
|
}
|
|
343
393
|
|
|
344
394
|
/**
|