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