@wildix/wim-tools-client 0.0.42 → 1.0.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.
@@ -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.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,6 @@ 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 = {}));
71
57
  var ToolChatRecipient;
72
58
  (function (ToolChatRecipient) {
73
59
  ToolChatRecipient.visit = (value, visitor) => {
@@ -130,8 +116,6 @@ var ToolHandler;
130
116
  return visitor.chat(value.chat);
131
117
  if (value.sms !== undefined)
132
118
  return visitor.sms(value.sms);
133
- if (value.calendar !== undefined)
134
- return visitor.calendar(value.calendar);
135
119
  if (value.mcp !== undefined)
136
120
  return visitor.mcp(value.mcp);
137
121
  if (value.mcpTool !== undefined)
@@ -47,20 +47,6 @@ 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 = {}));
64
50
  export var ToolChatRecipient;
65
51
  (function (ToolChatRecipient) {
66
52
  ToolChatRecipient.visit = (value, visitor) => {
@@ -123,8 +109,6 @@ export var ToolHandler;
123
109
  return visitor.chat(value.chat);
124
110
  if (value.sms !== undefined)
125
111
  return visitor.sms(value.sms);
126
- if (value.calendar !== undefined)
127
- return visitor.calendar(value.calendar);
128
112
  if (value.mcp !== undefined)
129
113
  return visitor.mcp(value.mcp);
130
114
  if (value.mcpTool !== undefined)
@@ -120,47 +120,6 @@ declare const CreateToolCommand_base: {
120
120
  * message: "STRING_VALUE", // required
121
121
  * },
122
122
  * },
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
- * },
163
- * },
164
123
  * mcp: { // ToolMcpHandler
165
124
  * serverUrl: "STRING_VALUE", // required
166
125
  * authorization: { // ToolMcpAuthorization Union: only one key present
@@ -271,47 +230,6 @@ declare const CreateToolCommand_base: {
271
230
  * // message: "STRING_VALUE", // required
272
231
  * // },
273
232
  * // },
274
- * // 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
- * // },
314
- * // },
315
233
  * // mcp: { // ToolMcpHandler
316
234
  * // serverUrl: "STRING_VALUE", // required
317
235
  * // authorization: { // ToolMcpAuthorization Union: only one key present
@@ -128,47 +128,6 @@ declare const GetToolCommand_base: {
128
128
  * // message: "STRING_VALUE", // required
129
129
  * // },
130
130
  * // },
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
- * // },
171
- * // },
172
131
  * // mcp: { // ToolMcpHandler
173
132
  * // serverUrl: "STRING_VALUE", // required
174
133
  * // authorization: { // ToolMcpAuthorization Union: only one key present
@@ -128,47 +128,6 @@ declare const ListToolsCommand_base: {
128
128
  * // message: "STRING_VALUE", // required
129
129
  * // },
130
130
  * // },
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
- * // },
171
- * // },
172
131
  * // mcp: { // ToolMcpHandler
173
132
  * // serverUrl: "STRING_VALUE", // required
174
133
  * // authorization: { // ToolMcpAuthorization Union: only one key present
@@ -121,47 +121,6 @@ declare const UpdateToolCommand_base: {
121
121
  * message: "STRING_VALUE", // required
122
122
  * },
123
123
  * },
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
- * },
164
- * },
165
124
  * mcp: { // ToolMcpHandler
166
125
  * serverUrl: "STRING_VALUE", // required
167
126
  * authorization: { // ToolMcpAuthorization Union: only one key present
@@ -272,47 +231,6 @@ declare const UpdateToolCommand_base: {
272
231
  * // message: "STRING_VALUE", // required
273
232
  * // },
274
233
  * // },
275
- * // 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
- * // },
315
- * // },
316
234
  * // mcp: { // ToolMcpHandler
317
235
  * // serverUrl: "STRING_VALUE", // required
318
236
  * // authorization: { // ToolMcpAuthorization Union: only one key present
@@ -45,258 +45,6 @@ export declare class ValidationException extends __BaseException {
45
45
  */
46
46
  constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
47
47
  }
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
- * @public
220
- */
221
- export type ToolCalendarInput = ToolCalendarInput.CancelMember | ToolCalendarInput.Get_slotsMember | ToolCalendarInput.RescheduleMember | ToolCalendarInput.ScheduleMember | ToolCalendarInput.$UnknownMember;
222
- /**
223
- * @public
224
- */
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
- }
289
- /**
290
- * Calendar handler configuration. Contains one of the calendar operation input types.
291
- * @public
292
- */
293
- export interface ToolCalendarConfig {
294
- /**
295
- * Calendar tool input for scheduling, rescheduling, cancelling events or querying available slots
296
- * @public
297
- */
298
- input: ToolCalendarInput;
299
- }
300
48
  /**
301
49
  * @public
302
50
  */
@@ -794,7 +542,7 @@ export interface ToolWebhookConfig {
794
542
  /**
795
543
  * @public
796
544
  */
797
- export type ToolHandler = ToolHandler.CalendarMember | ToolHandler.ChatMember | ToolHandler.EmailMember | ToolHandler.McpMember | ToolHandler.McpToolMember | ToolHandler.SearchMember | ToolHandler.SmsMember | ToolHandler.WebhookMember | ToolHandler.$UnknownMember;
545
+ export type ToolHandler = ToolHandler.ChatMember | ToolHandler.EmailMember | ToolHandler.McpMember | ToolHandler.McpToolMember | ToolHandler.SearchMember | ToolHandler.SmsMember | ToolHandler.WebhookMember | ToolHandler.$UnknownMember;
798
546
  /**
799
547
  * @public
800
548
  */
@@ -805,7 +553,6 @@ export declare namespace ToolHandler {
805
553
  search?: never;
806
554
  chat?: never;
807
555
  sms?: never;
808
- calendar?: never;
809
556
  mcp?: never;
810
557
  mcpTool?: never;
811
558
  $unknown?: never;
@@ -816,7 +563,6 @@ export declare namespace ToolHandler {
816
563
  search?: never;
817
564
  chat?: never;
818
565
  sms?: never;
819
- calendar?: never;
820
566
  mcp?: never;
821
567
  mcpTool?: never;
822
568
  $unknown?: never;
@@ -831,7 +577,6 @@ export declare namespace ToolHandler {
831
577
  search: ToolSearchConfig;
832
578
  chat?: never;
833
579
  sms?: never;
834
- calendar?: never;
835
580
  mcp?: never;
836
581
  mcpTool?: never;
837
582
  $unknown?: never;
@@ -842,7 +587,6 @@ export declare namespace ToolHandler {
842
587
  search?: never;
843
588
  chat: ToolChatHandler;
844
589
  sms?: never;
845
- calendar?: never;
846
590
  mcp?: never;
847
591
  mcpTool?: never;
848
592
  $unknown?: never;
@@ -853,22 +597,6 @@ export declare namespace ToolHandler {
853
597
  search?: never;
854
598
  chat?: never;
855
599
  sms: ToolSmsHandler;
856
- calendar?: never;
857
- mcp?: never;
858
- mcpTool?: never;
859
- $unknown?: never;
860
- }
861
- /**
862
- * Calendar handler configuration. Contains one of the calendar operation input types.
863
- * @public
864
- */
865
- interface CalendarMember {
866
- email?: never;
867
- webhook?: never;
868
- search?: never;
869
- chat?: never;
870
- sms?: never;
871
- calendar: ToolCalendarConfig;
872
600
  mcp?: never;
873
601
  mcpTool?: never;
874
602
  $unknown?: never;
@@ -879,7 +607,6 @@ export declare namespace ToolHandler {
879
607
  search?: never;
880
608
  chat?: never;
881
609
  sms?: never;
882
- calendar?: never;
883
610
  mcp: ToolMcpHandler;
884
611
  mcpTool?: never;
885
612
  $unknown?: never;
@@ -890,7 +617,6 @@ export declare namespace ToolHandler {
890
617
  search?: never;
891
618
  chat?: never;
892
619
  sms?: never;
893
- calendar?: never;
894
620
  mcp?: never;
895
621
  mcpTool: ToolMcpToolHandler;
896
622
  $unknown?: never;
@@ -904,7 +630,6 @@ export declare namespace ToolHandler {
904
630
  search?: never;
905
631
  chat?: never;
906
632
  sms?: never;
907
- calendar?: never;
908
633
  mcp?: never;
909
634
  mcpTool?: never;
910
635
  $unknown: [string, any];
@@ -915,7 +640,6 @@ export declare namespace ToolHandler {
915
640
  search: (value: ToolSearchConfig) => T;
916
641
  chat: (value: ToolChatHandler) => T;
917
642
  sms: (value: ToolSmsHandler) => T;
918
- calendar: (value: ToolCalendarConfig) => T;
919
643
  mcp: (value: ToolMcpHandler) => T;
920
644
  mcpTool: (value: ToolMcpToolHandler) => T;
921
645
  _: (name: string, value: any) => T;
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": "1.0.0",
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",