@wildix/wim-tools-client 0.0.42 → 0.0.43

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.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ToolExecutionServerException = exports.ToolExecutionException = exports.ToolVariableType = exports.ToolHandler = exports.ToolWebhookMethod = exports.ToolWebhookAuth = exports.ToolMcpAuthorization = exports.ToolEmailHandler = exports.ToolChatRecipient = exports.ToolCalendarInput = exports.ValidationException = exports.NotFoundException = exports.ForbiddenException = exports.AlreadyExistException = void 0;
3
+ exports.ToolExecutionServerException = exports.ToolExecutionException = exports.ToolVariableType = exports.ToolHandler = exports.ToolWebhookMethod = exports.ToolWebhookAuth = exports.ToolMcpAuthorization = exports.ToolEmailHandler = exports.ToolChatRecipient = exports.ToolCalendarOperation = exports.ValidationException = exports.NotFoundException = exports.ForbiddenException = exports.AlreadyExistException = void 0;
4
4
  const ToolsServiceException_1 = require("./ToolsServiceException");
5
5
  class AlreadyExistException extends ToolsServiceException_1.ToolsServiceException {
6
6
  name = "AlreadyExistException";
@@ -54,20 +54,12 @@ class ValidationException extends ToolsServiceException_1.ToolsServiceException
54
54
  }
55
55
  }
56
56
  exports.ValidationException = ValidationException;
57
- var ToolCalendarInput;
58
- (function (ToolCalendarInput) {
59
- ToolCalendarInput.visit = (value, visitor) => {
60
- if (value.schedule !== undefined)
61
- return visitor.schedule(value.schedule);
62
- if (value.reschedule !== undefined)
63
- return visitor.reschedule(value.reschedule);
64
- if (value.cancel !== undefined)
65
- return visitor.cancel(value.cancel);
66
- if (value.get_slots !== undefined)
67
- return visitor.get_slots(value.get_slots);
68
- return visitor._(value.$unknown[0], value.$unknown[1]);
69
- };
70
- })(ToolCalendarInput || (exports.ToolCalendarInput = ToolCalendarInput = {}));
57
+ exports.ToolCalendarOperation = {
58
+ CANCEL: "cancel",
59
+ GET_SLOTS: "get_slots",
60
+ RESCHEDULE: "reschedule",
61
+ SCHEDULE: "schedule",
62
+ };
71
63
  var ToolChatRecipient;
72
64
  (function (ToolChatRecipient) {
73
65
  ToolChatRecipient.visit = (value, visitor) => {
@@ -47,20 +47,12 @@ export class ValidationException extends __BaseException {
47
47
  Object.setPrototypeOf(this, ValidationException.prototype);
48
48
  }
49
49
  }
50
- export var ToolCalendarInput;
51
- (function (ToolCalendarInput) {
52
- ToolCalendarInput.visit = (value, visitor) => {
53
- if (value.schedule !== undefined)
54
- return visitor.schedule(value.schedule);
55
- if (value.reschedule !== undefined)
56
- return visitor.reschedule(value.reschedule);
57
- if (value.cancel !== undefined)
58
- return visitor.cancel(value.cancel);
59
- if (value.get_slots !== undefined)
60
- return visitor.get_slots(value.get_slots);
61
- return visitor._(value.$unknown[0], value.$unknown[1]);
62
- };
63
- })(ToolCalendarInput || (ToolCalendarInput = {}));
50
+ export const ToolCalendarOperation = {
51
+ CANCEL: "cancel",
52
+ GET_SLOTS: "get_slots",
53
+ RESCHEDULE: "reschedule",
54
+ SCHEDULE: "schedule",
55
+ };
64
56
  export var ToolChatRecipient;
65
57
  (function (ToolChatRecipient) {
66
58
  ToolChatRecipient.visit = (value, visitor) => {
@@ -121,45 +121,7 @@ declare const CreateToolCommand_base: {
121
121
  * },
122
122
  * },
123
123
  * calendar: { // ToolCalendarConfig
124
- * input: { // ToolCalendarInput Union: only one key present
125
- * schedule: { // ToolCalendarScheduleInput
126
- * owner_email: "STRING_VALUE", // required
127
- * owner_name: "STRING_VALUE",
128
- * start: "STRING_VALUE", // required
129
- * duration: "STRING_VALUE", // required
130
- * summary: "STRING_VALUE",
131
- * description: "STRING_VALUE",
132
- * resource: "STRING_VALUE",
133
- * attendees: "STRING_VALUE",
134
- * send_notification: "STRING_VALUE",
135
- * },
136
- * reschedule: { // ToolCalendarRescheduleInput
137
- * event_id: "STRING_VALUE", // required
138
- * owner_email: "STRING_VALUE", // required
139
- * start: "STRING_VALUE", // required
140
- * duration: "STRING_VALUE", // required
141
- * summary: "STRING_VALUE",
142
- * description: "STRING_VALUE",
143
- * reason: "STRING_VALUE",
144
- * attendees: "STRING_VALUE",
145
- * changed_fields: "STRING_VALUE",
146
- * send_notification: "STRING_VALUE",
147
- * },
148
- * cancel: { // ToolCalendarCancelInput
149
- * event_id: "STRING_VALUE", // required
150
- * owner_email: "STRING_VALUE", // required
151
- * reason: "STRING_VALUE",
152
- * send_notification: "STRING_VALUE",
153
- * },
154
- * get_slots: { // ToolCalendarGetSlotsInput
155
- * owner_email: "STRING_VALUE", // required
156
- * from_date: "STRING_VALUE", // required
157
- * till_date: "STRING_VALUE", // required
158
- * timezone: "STRING_VALUE", // required
159
- * duration: "STRING_VALUE",
160
- * excluded: "STRING_VALUE",
161
- * },
162
- * },
124
+ * operation: "schedule" || "reschedule" || "cancel" || "get_slots", // required
163
125
  * },
164
126
  * mcp: { // ToolMcpHandler
165
127
  * serverUrl: "STRING_VALUE", // required
@@ -272,45 +234,7 @@ declare const CreateToolCommand_base: {
272
234
  * // },
273
235
  * // },
274
236
  * // calendar: { // ToolCalendarConfig
275
- * // input: { // ToolCalendarInput Union: only one key present
276
- * // schedule: { // ToolCalendarScheduleInput
277
- * // owner_email: "STRING_VALUE", // required
278
- * // owner_name: "STRING_VALUE",
279
- * // start: "STRING_VALUE", // required
280
- * // duration: "STRING_VALUE", // required
281
- * // summary: "STRING_VALUE",
282
- * // description: "STRING_VALUE",
283
- * // resource: "STRING_VALUE",
284
- * // attendees: "STRING_VALUE",
285
- * // send_notification: "STRING_VALUE",
286
- * // },
287
- * // reschedule: { // ToolCalendarRescheduleInput
288
- * // event_id: "STRING_VALUE", // required
289
- * // owner_email: "STRING_VALUE", // required
290
- * // start: "STRING_VALUE", // required
291
- * // duration: "STRING_VALUE", // required
292
- * // summary: "STRING_VALUE",
293
- * // description: "STRING_VALUE",
294
- * // reason: "STRING_VALUE",
295
- * // attendees: "STRING_VALUE",
296
- * // changed_fields: "STRING_VALUE",
297
- * // send_notification: "STRING_VALUE",
298
- * // },
299
- * // cancel: { // ToolCalendarCancelInput
300
- * // event_id: "STRING_VALUE", // required
301
- * // owner_email: "STRING_VALUE", // required
302
- * // reason: "STRING_VALUE",
303
- * // send_notification: "STRING_VALUE",
304
- * // },
305
- * // get_slots: { // ToolCalendarGetSlotsInput
306
- * // owner_email: "STRING_VALUE", // required
307
- * // from_date: "STRING_VALUE", // required
308
- * // till_date: "STRING_VALUE", // required
309
- * // timezone: "STRING_VALUE", // required
310
- * // duration: "STRING_VALUE",
311
- * // excluded: "STRING_VALUE",
312
- * // },
313
- * // },
237
+ * // operation: "schedule" || "reschedule" || "cancel" || "get_slots", // required
314
238
  * // },
315
239
  * // mcp: { // ToolMcpHandler
316
240
  * // serverUrl: "STRING_VALUE", // required
@@ -129,45 +129,7 @@ declare const GetToolCommand_base: {
129
129
  * // },
130
130
  * // },
131
131
  * // calendar: { // ToolCalendarConfig
132
- * // input: { // ToolCalendarInput Union: only one key present
133
- * // schedule: { // ToolCalendarScheduleInput
134
- * // owner_email: "STRING_VALUE", // required
135
- * // owner_name: "STRING_VALUE",
136
- * // start: "STRING_VALUE", // required
137
- * // duration: "STRING_VALUE", // required
138
- * // summary: "STRING_VALUE",
139
- * // description: "STRING_VALUE",
140
- * // resource: "STRING_VALUE",
141
- * // attendees: "STRING_VALUE",
142
- * // send_notification: "STRING_VALUE",
143
- * // },
144
- * // reschedule: { // ToolCalendarRescheduleInput
145
- * // event_id: "STRING_VALUE", // required
146
- * // owner_email: "STRING_VALUE", // required
147
- * // start: "STRING_VALUE", // required
148
- * // duration: "STRING_VALUE", // required
149
- * // summary: "STRING_VALUE",
150
- * // description: "STRING_VALUE",
151
- * // reason: "STRING_VALUE",
152
- * // attendees: "STRING_VALUE",
153
- * // changed_fields: "STRING_VALUE",
154
- * // send_notification: "STRING_VALUE",
155
- * // },
156
- * // cancel: { // ToolCalendarCancelInput
157
- * // event_id: "STRING_VALUE", // required
158
- * // owner_email: "STRING_VALUE", // required
159
- * // reason: "STRING_VALUE",
160
- * // send_notification: "STRING_VALUE",
161
- * // },
162
- * // get_slots: { // ToolCalendarGetSlotsInput
163
- * // owner_email: "STRING_VALUE", // required
164
- * // from_date: "STRING_VALUE", // required
165
- * // till_date: "STRING_VALUE", // required
166
- * // timezone: "STRING_VALUE", // required
167
- * // duration: "STRING_VALUE",
168
- * // excluded: "STRING_VALUE",
169
- * // },
170
- * // },
132
+ * // operation: "schedule" || "reschedule" || "cancel" || "get_slots", // required
171
133
  * // },
172
134
  * // mcp: { // ToolMcpHandler
173
135
  * // serverUrl: "STRING_VALUE", // required
@@ -129,45 +129,7 @@ declare const ListToolsCommand_base: {
129
129
  * // },
130
130
  * // },
131
131
  * // calendar: { // ToolCalendarConfig
132
- * // input: { // ToolCalendarInput Union: only one key present
133
- * // schedule: { // ToolCalendarScheduleInput
134
- * // owner_email: "STRING_VALUE", // required
135
- * // owner_name: "STRING_VALUE",
136
- * // start: "STRING_VALUE", // required
137
- * // duration: "STRING_VALUE", // required
138
- * // summary: "STRING_VALUE",
139
- * // description: "STRING_VALUE",
140
- * // resource: "STRING_VALUE",
141
- * // attendees: "STRING_VALUE",
142
- * // send_notification: "STRING_VALUE",
143
- * // },
144
- * // reschedule: { // ToolCalendarRescheduleInput
145
- * // event_id: "STRING_VALUE", // required
146
- * // owner_email: "STRING_VALUE", // required
147
- * // start: "STRING_VALUE", // required
148
- * // duration: "STRING_VALUE", // required
149
- * // summary: "STRING_VALUE",
150
- * // description: "STRING_VALUE",
151
- * // reason: "STRING_VALUE",
152
- * // attendees: "STRING_VALUE",
153
- * // changed_fields: "STRING_VALUE",
154
- * // send_notification: "STRING_VALUE",
155
- * // },
156
- * // cancel: { // ToolCalendarCancelInput
157
- * // event_id: "STRING_VALUE", // required
158
- * // owner_email: "STRING_VALUE", // required
159
- * // reason: "STRING_VALUE",
160
- * // send_notification: "STRING_VALUE",
161
- * // },
162
- * // get_slots: { // ToolCalendarGetSlotsInput
163
- * // owner_email: "STRING_VALUE", // required
164
- * // from_date: "STRING_VALUE", // required
165
- * // till_date: "STRING_VALUE", // required
166
- * // timezone: "STRING_VALUE", // required
167
- * // duration: "STRING_VALUE",
168
- * // excluded: "STRING_VALUE",
169
- * // },
170
- * // },
132
+ * // operation: "schedule" || "reschedule" || "cancel" || "get_slots", // required
171
133
  * // },
172
134
  * // mcp: { // ToolMcpHandler
173
135
  * // serverUrl: "STRING_VALUE", // required
@@ -122,45 +122,7 @@ declare const UpdateToolCommand_base: {
122
122
  * },
123
123
  * },
124
124
  * calendar: { // ToolCalendarConfig
125
- * input: { // ToolCalendarInput Union: only one key present
126
- * schedule: { // ToolCalendarScheduleInput
127
- * owner_email: "STRING_VALUE", // required
128
- * owner_name: "STRING_VALUE",
129
- * start: "STRING_VALUE", // required
130
- * duration: "STRING_VALUE", // required
131
- * summary: "STRING_VALUE",
132
- * description: "STRING_VALUE",
133
- * resource: "STRING_VALUE",
134
- * attendees: "STRING_VALUE",
135
- * send_notification: "STRING_VALUE",
136
- * },
137
- * reschedule: { // ToolCalendarRescheduleInput
138
- * event_id: "STRING_VALUE", // required
139
- * owner_email: "STRING_VALUE", // required
140
- * start: "STRING_VALUE", // required
141
- * duration: "STRING_VALUE", // required
142
- * summary: "STRING_VALUE",
143
- * description: "STRING_VALUE",
144
- * reason: "STRING_VALUE",
145
- * attendees: "STRING_VALUE",
146
- * changed_fields: "STRING_VALUE",
147
- * send_notification: "STRING_VALUE",
148
- * },
149
- * cancel: { // ToolCalendarCancelInput
150
- * event_id: "STRING_VALUE", // required
151
- * owner_email: "STRING_VALUE", // required
152
- * reason: "STRING_VALUE",
153
- * send_notification: "STRING_VALUE",
154
- * },
155
- * get_slots: { // ToolCalendarGetSlotsInput
156
- * owner_email: "STRING_VALUE", // required
157
- * from_date: "STRING_VALUE", // required
158
- * till_date: "STRING_VALUE", // required
159
- * timezone: "STRING_VALUE", // required
160
- * duration: "STRING_VALUE",
161
- * excluded: "STRING_VALUE",
162
- * },
163
- * },
125
+ * operation: "schedule" || "reschedule" || "cancel" || "get_slots", // required
164
126
  * },
165
127
  * mcp: { // ToolMcpHandler
166
128
  * serverUrl: "STRING_VALUE", // required
@@ -273,45 +235,7 @@ declare const UpdateToolCommand_base: {
273
235
  * // },
274
236
  * // },
275
237
  * // calendar: { // ToolCalendarConfig
276
- * // input: { // ToolCalendarInput Union: only one key present
277
- * // schedule: { // ToolCalendarScheduleInput
278
- * // owner_email: "STRING_VALUE", // required
279
- * // owner_name: "STRING_VALUE",
280
- * // start: "STRING_VALUE", // required
281
- * // duration: "STRING_VALUE", // required
282
- * // summary: "STRING_VALUE",
283
- * // description: "STRING_VALUE",
284
- * // resource: "STRING_VALUE",
285
- * // attendees: "STRING_VALUE",
286
- * // send_notification: "STRING_VALUE",
287
- * // },
288
- * // reschedule: { // ToolCalendarRescheduleInput
289
- * // event_id: "STRING_VALUE", // required
290
- * // owner_email: "STRING_VALUE", // required
291
- * // start: "STRING_VALUE", // required
292
- * // duration: "STRING_VALUE", // required
293
- * // summary: "STRING_VALUE",
294
- * // description: "STRING_VALUE",
295
- * // reason: "STRING_VALUE",
296
- * // attendees: "STRING_VALUE",
297
- * // changed_fields: "STRING_VALUE",
298
- * // send_notification: "STRING_VALUE",
299
- * // },
300
- * // cancel: { // ToolCalendarCancelInput
301
- * // event_id: "STRING_VALUE", // required
302
- * // owner_email: "STRING_VALUE", // required
303
- * // reason: "STRING_VALUE",
304
- * // send_notification: "STRING_VALUE",
305
- * // },
306
- * // get_slots: { // ToolCalendarGetSlotsInput
307
- * // owner_email: "STRING_VALUE", // required
308
- * // from_date: "STRING_VALUE", // required
309
- * // till_date: "STRING_VALUE", // required
310
- * // timezone: "STRING_VALUE", // required
311
- * // duration: "STRING_VALUE",
312
- * // excluded: "STRING_VALUE",
313
- * // },
314
- * // },
238
+ * // operation: "schedule" || "reschedule" || "cancel" || "get_slots", // required
315
239
  * // },
316
240
  * // mcp: { // ToolMcpHandler
317
241
  * // serverUrl: "STRING_VALUE", // required
@@ -46,256 +46,28 @@ export declare class ValidationException extends __BaseException {
46
46
  constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
47
47
  }
48
48
  /**
49
- * Cancel an existing calendar event
50
- * @public
51
- */
52
- export interface ToolCalendarCancelInput {
53
- /**
54
- * Unique identifier of the event to cancel
55
- * @public
56
- */
57
- event_id: string;
58
- /**
59
- * Email of the calendar owner (event owner ID). Format: user@example.com
60
- * @public
61
- */
62
- owner_email: string;
63
- /**
64
- * Reason for cancellation
65
- * @public
66
- */
67
- reason?: string | undefined;
68
- /**
69
- * Send cancellation notifications to attendees
70
- * @public
71
- */
72
- send_notification?: string | undefined;
73
- }
74
- /**
75
- * Get available time slots for scheduling meetings
76
- * @public
77
- */
78
- export interface ToolCalendarGetSlotsInput {
79
- /**
80
- * Email of the calendar owner. Format: user@example.com
81
- * @public
82
- */
83
- owner_email: string;
84
- /**
85
- * Start date for availability check in YYYY-MM-DD format. Example: '2024-03-21'
86
- * @public
87
- */
88
- from_date: string;
89
- /**
90
- * End date for availability check in YYYY-MM-DD format. Example: '2024-03-31'
91
- * @public
92
- */
93
- till_date: string;
94
- /**
95
- * IANA timezone identifier. Examples: 'America/New_York', 'Europe/London', 'UTC'
96
- * @public
97
- */
98
- timezone: string;
99
- /**
100
- * Requested slot duration in minutes. Valid range: 15-360 minutes
101
- * @public
102
- */
103
- duration?: string | undefined;
104
- /**
105
- * Comma-separated list of event IDs to exclude from availability check
106
- * @public
107
- */
108
- excluded?: string | undefined;
109
- }
110
- /**
111
- * Reschedule an existing calendar event
112
- * @public
113
- */
114
- export interface ToolCalendarRescheduleInput {
115
- /**
116
- * Unique identifier of the event to reschedule
117
- * @public
118
- */
119
- event_id: string;
120
- /**
121
- * Email of the calendar owner (event owner ID). Format: user@example.com
122
- * @public
123
- */
124
- owner_email: string;
125
- /**
126
- * New event start time in ISO 8601 format with timezone. Format: YYYY-MM-DDTHH:mm:ssZ
127
- * @public
128
- */
129
- start: string;
130
- /**
131
- * New event duration in minutes. Valid range: 15-360 minutes
132
- * @public
133
- */
134
- duration: string;
135
- /**
136
- * Updated event title/subject
137
- * @public
138
- */
139
- summary?: string | undefined;
140
- /**
141
- * Updated event description
142
- * @public
143
- */
144
- description?: string | undefined;
145
- /**
146
- * Reason for rescheduling
147
- * @public
148
- */
149
- reason?: string | undefined;
150
- /**
151
- * Updated list of attendees as JSON array. Format: [\{"email": "user@example.com", "name": "John Doe", "id": "user123"\}]
152
- * @public
153
- */
154
- attendees?: string | undefined;
155
- /**
156
- * List of changed fields as JSON array. Valid values: 'time', 'subject', 'attendees'
157
- * @public
158
- */
159
- changed_fields?: string | undefined;
160
- /**
161
- * Send email notifications about the reschedule
162
- * @public
163
- */
164
- send_notification?: string | undefined;
165
- }
166
- /**
167
- * Schedule a new calendar event
168
- * @public
169
- */
170
- export interface ToolCalendarScheduleInput {
171
- /**
172
- * Email of the calendar owner. Format: user@example.com
173
- * @public
174
- */
175
- owner_email: string;
176
- /**
177
- * Display name of the calendar owner. Example: 'John Doe'
178
- * @public
179
- */
180
- owner_name?: string | undefined;
181
- /**
182
- * Event start time in ISO 8601 format with timezone. Format: YYYY-MM-DDTHH:mm:ssZ
183
- * @public
184
- */
185
- start: string;
186
- /**
187
- * Event duration in minutes. Valid range: 15-360 minutes
188
- * @public
189
- */
190
- duration: string;
191
- /**
192
- * Event title/subject. Maximum 255 characters
193
- * @public
194
- */
195
- summary?: string | undefined;
196
- /**
197
- * Event description. If not provided, will be generated automatically
198
- * @public
199
- */
200
- description?: string | undefined;
201
- /**
202
- * Resource identifier to track event source. Format: service#identifier
203
- * @public
204
- */
205
- resource?: string | undefined;
206
- /**
207
- * List of attendees as JSON array. Format: [\{"email": "user@example.com", "name": "John Doe", "id": "user123"\}]
208
- * @public
209
- */
210
- attendees?: string | undefined;
211
- /**
212
- * Send email notifications to attendees
213
- * @public
214
- */
215
- send_notification?: string | undefined;
216
- }
217
- /**
218
- * Calendar tool input for scheduling, rescheduling, cancelling events or querying available slots
219
49
  * @public
50
+ * @enum
220
51
  */
221
- export type ToolCalendarInput = ToolCalendarInput.CancelMember | ToolCalendarInput.Get_slotsMember | ToolCalendarInput.RescheduleMember | ToolCalendarInput.ScheduleMember | ToolCalendarInput.$UnknownMember;
52
+ export declare const ToolCalendarOperation: {
53
+ readonly CANCEL: "cancel";
54
+ readonly GET_SLOTS: "get_slots";
55
+ readonly RESCHEDULE: "reschedule";
56
+ readonly SCHEDULE: "schedule";
57
+ };
222
58
  /**
223
59
  * @public
224
60
  */
225
- export declare namespace ToolCalendarInput {
226
- /**
227
- * Schedule a new calendar event
228
- * @public
229
- */
230
- interface ScheduleMember {
231
- schedule: ToolCalendarScheduleInput;
232
- reschedule?: never;
233
- cancel?: never;
234
- get_slots?: never;
235
- $unknown?: never;
236
- }
237
- /**
238
- * Reschedule an existing calendar event
239
- * @public
240
- */
241
- interface RescheduleMember {
242
- schedule?: never;
243
- reschedule: ToolCalendarRescheduleInput;
244
- cancel?: never;
245
- get_slots?: never;
246
- $unknown?: never;
247
- }
248
- /**
249
- * Cancel an existing calendar event
250
- * @public
251
- */
252
- interface CancelMember {
253
- schedule?: never;
254
- reschedule?: never;
255
- cancel: ToolCalendarCancelInput;
256
- get_slots?: never;
257
- $unknown?: never;
258
- }
259
- /**
260
- * Query available time slots for scheduling
261
- * @public
262
- */
263
- interface Get_slotsMember {
264
- schedule?: never;
265
- reschedule?: never;
266
- cancel?: never;
267
- get_slots: ToolCalendarGetSlotsInput;
268
- $unknown?: never;
269
- }
270
- /**
271
- * @public
272
- */
273
- interface $UnknownMember {
274
- schedule?: never;
275
- reschedule?: never;
276
- cancel?: never;
277
- get_slots?: never;
278
- $unknown: [string, any];
279
- }
280
- interface Visitor<T> {
281
- schedule: (value: ToolCalendarScheduleInput) => T;
282
- reschedule: (value: ToolCalendarRescheduleInput) => T;
283
- cancel: (value: ToolCalendarCancelInput) => T;
284
- get_slots: (value: ToolCalendarGetSlotsInput) => T;
285
- _: (name: string, value: any) => T;
286
- }
287
- const visit: <T>(value: ToolCalendarInput, visitor: Visitor<T>) => T;
288
- }
61
+ export type ToolCalendarOperation = typeof ToolCalendarOperation[keyof typeof ToolCalendarOperation];
289
62
  /**
290
- * Calendar handler configuration. Contains one of the calendar operation input types.
291
63
  * @public
292
64
  */
293
65
  export interface ToolCalendarConfig {
294
66
  /**
295
- * Calendar tool input for scheduling, rescheduling, cancelling events or querying available slots
67
+ * Type of calendar operation to perform
296
68
  * @public
297
69
  */
298
- input: ToolCalendarInput;
70
+ operation: ToolCalendarOperation;
299
71
  }
300
72
  /**
301
73
  * @public
@@ -858,10 +630,6 @@ export declare namespace ToolHandler {
858
630
  mcpTool?: never;
859
631
  $unknown?: never;
860
632
  }
861
- /**
862
- * Calendar handler configuration. Contains one of the calendar operation input types.
863
- * @public
864
- */
865
633
  interface CalendarMember {
866
634
  email?: never;
867
635
  webhook?: never;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wildix/wim-tools-client",
3
3
  "description": "@wildix/wim-tools-client client",
4
- "version": "0.0.42",
4
+ "version": "0.0.43",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",