@wildix/wim-tools-client 0.0.40 → 0.0.41

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.
@@ -120,24 +120,7 @@ declare const CreateToolCommand_base: {
120
120
  * message: "STRING_VALUE", // required
121
121
  * },
122
122
  * },
123
- * calendar: { // ToolCalendarHandler
124
- * operation: "STRING_VALUE", // required
125
- * ownerEmail: "STRING_VALUE", // required
126
- * ownerName: "STRING_VALUE",
127
- * start: "STRING_VALUE",
128
- * duration: "STRING_VALUE",
129
- * summary: "STRING_VALUE",
130
- * description: "STRING_VALUE",
131
- * resource: "STRING_VALUE",
132
- * reason: "STRING_VALUE",
133
- * sendNotification: "STRING_VALUE",
134
- * changedFields: "STRING_VALUE",
135
- * attendees: "STRING_VALUE",
136
- * fromDate: "STRING_VALUE",
137
- * tillDate: "STRING_VALUE",
138
- * timeZone: "STRING_VALUE",
139
- * excluded: "STRING_VALUE",
140
- * },
123
+ * calendar: {},
141
124
  * mcp: { // ToolMcpHandler
142
125
  * serverUrl: "STRING_VALUE", // required
143
126
  * authorization: { // ToolMcpAuthorization Union: only one key present
@@ -248,24 +231,7 @@ declare const CreateToolCommand_base: {
248
231
  * // message: "STRING_VALUE", // required
249
232
  * // },
250
233
  * // },
251
- * // calendar: { // ToolCalendarHandler
252
- * // operation: "STRING_VALUE", // required
253
- * // ownerEmail: "STRING_VALUE", // required
254
- * // ownerName: "STRING_VALUE",
255
- * // start: "STRING_VALUE",
256
- * // duration: "STRING_VALUE",
257
- * // summary: "STRING_VALUE",
258
- * // description: "STRING_VALUE",
259
- * // resource: "STRING_VALUE",
260
- * // reason: "STRING_VALUE",
261
- * // sendNotification: "STRING_VALUE",
262
- * // changedFields: "STRING_VALUE",
263
- * // attendees: "STRING_VALUE",
264
- * // fromDate: "STRING_VALUE",
265
- * // tillDate: "STRING_VALUE",
266
- * // timeZone: "STRING_VALUE",
267
- * // excluded: "STRING_VALUE",
268
- * // },
234
+ * // calendar: {},
269
235
  * // mcp: { // ToolMcpHandler
270
236
  * // serverUrl: "STRING_VALUE", // required
271
237
  * // authorization: { // ToolMcpAuthorization Union: only one key present
@@ -128,24 +128,7 @@ declare const GetToolCommand_base: {
128
128
  * // message: "STRING_VALUE", // required
129
129
  * // },
130
130
  * // },
131
- * // calendar: { // ToolCalendarHandler
132
- * // operation: "STRING_VALUE", // required
133
- * // ownerEmail: "STRING_VALUE", // required
134
- * // ownerName: "STRING_VALUE",
135
- * // start: "STRING_VALUE",
136
- * // duration: "STRING_VALUE",
137
- * // summary: "STRING_VALUE",
138
- * // description: "STRING_VALUE",
139
- * // resource: "STRING_VALUE",
140
- * // reason: "STRING_VALUE",
141
- * // sendNotification: "STRING_VALUE",
142
- * // changedFields: "STRING_VALUE",
143
- * // attendees: "STRING_VALUE",
144
- * // fromDate: "STRING_VALUE",
145
- * // tillDate: "STRING_VALUE",
146
- * // timeZone: "STRING_VALUE",
147
- * // excluded: "STRING_VALUE",
148
- * // },
131
+ * // calendar: {},
149
132
  * // mcp: { // ToolMcpHandler
150
133
  * // serverUrl: "STRING_VALUE", // required
151
134
  * // authorization: { // ToolMcpAuthorization Union: only one key present
@@ -128,24 +128,7 @@ declare const ListToolsCommand_base: {
128
128
  * // message: "STRING_VALUE", // required
129
129
  * // },
130
130
  * // },
131
- * // calendar: { // ToolCalendarHandler
132
- * // operation: "STRING_VALUE", // required
133
- * // ownerEmail: "STRING_VALUE", // required
134
- * // ownerName: "STRING_VALUE",
135
- * // start: "STRING_VALUE",
136
- * // duration: "STRING_VALUE",
137
- * // summary: "STRING_VALUE",
138
- * // description: "STRING_VALUE",
139
- * // resource: "STRING_VALUE",
140
- * // reason: "STRING_VALUE",
141
- * // sendNotification: "STRING_VALUE",
142
- * // changedFields: "STRING_VALUE",
143
- * // attendees: "STRING_VALUE",
144
- * // fromDate: "STRING_VALUE",
145
- * // tillDate: "STRING_VALUE",
146
- * // timeZone: "STRING_VALUE",
147
- * // excluded: "STRING_VALUE",
148
- * // },
131
+ * // calendar: {},
149
132
  * // mcp: { // ToolMcpHandler
150
133
  * // serverUrl: "STRING_VALUE", // required
151
134
  * // authorization: { // ToolMcpAuthorization Union: only one key present
@@ -121,24 +121,7 @@ declare const UpdateToolCommand_base: {
121
121
  * message: "STRING_VALUE", // required
122
122
  * },
123
123
  * },
124
- * calendar: { // ToolCalendarHandler
125
- * operation: "STRING_VALUE", // required
126
- * ownerEmail: "STRING_VALUE", // required
127
- * ownerName: "STRING_VALUE",
128
- * start: "STRING_VALUE",
129
- * duration: "STRING_VALUE",
130
- * summary: "STRING_VALUE",
131
- * description: "STRING_VALUE",
132
- * resource: "STRING_VALUE",
133
- * reason: "STRING_VALUE",
134
- * sendNotification: "STRING_VALUE",
135
- * changedFields: "STRING_VALUE",
136
- * attendees: "STRING_VALUE",
137
- * fromDate: "STRING_VALUE",
138
- * tillDate: "STRING_VALUE",
139
- * timeZone: "STRING_VALUE",
140
- * excluded: "STRING_VALUE",
141
- * },
124
+ * calendar: {},
142
125
  * mcp: { // ToolMcpHandler
143
126
  * serverUrl: "STRING_VALUE", // required
144
127
  * authorization: { // ToolMcpAuthorization Union: only one key present
@@ -249,24 +232,7 @@ declare const UpdateToolCommand_base: {
249
232
  * // message: "STRING_VALUE", // required
250
233
  * // },
251
234
  * // },
252
- * // calendar: { // ToolCalendarHandler
253
- * // operation: "STRING_VALUE", // required
254
- * // ownerEmail: "STRING_VALUE", // required
255
- * // ownerName: "STRING_VALUE",
256
- * // start: "STRING_VALUE",
257
- * // duration: "STRING_VALUE",
258
- * // summary: "STRING_VALUE",
259
- * // description: "STRING_VALUE",
260
- * // resource: "STRING_VALUE",
261
- * // reason: "STRING_VALUE",
262
- * // sendNotification: "STRING_VALUE",
263
- * // changedFields: "STRING_VALUE",
264
- * // attendees: "STRING_VALUE",
265
- * // fromDate: "STRING_VALUE",
266
- * // tillDate: "STRING_VALUE",
267
- * // timeZone: "STRING_VALUE",
268
- * // excluded: "STRING_VALUE",
269
- * // },
235
+ * // calendar: {},
270
236
  * // mcp: { // ToolMcpHandler
271
237
  * // serverUrl: "STRING_VALUE", // required
272
238
  * // authorization: { // ToolMcpAuthorization Union: only one key present
@@ -46,89 +46,10 @@ export declare class ValidationException extends __BaseException {
46
46
  constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
47
47
  }
48
48
  /**
49
+ * Calendar handler configuration. All parameters come from tool input variables.
49
50
  * @public
50
51
  */
51
- export interface ToolCalendarHandler {
52
- /**
53
- * Calendar operation: schedule, reschedule, cancel, or get_slots
54
- * @public
55
- */
56
- operation: string;
57
- /**
58
- * Calendar owner email
59
- * @public
60
- */
61
- ownerEmail: string;
62
- /**
63
- * Calendar owner name
64
- * @public
65
- */
66
- ownerName?: string | undefined;
67
- /**
68
- * Event start datetime
69
- * @public
70
- */
71
- start?: string | undefined;
72
- /**
73
- * Event duration in ISO 8601 format (e.g. PT30M, PT1H)
74
- * @public
75
- */
76
- duration?: string | undefined;
77
- /**
78
- * Event title
79
- * @public
80
- */
81
- summary?: string | undefined;
82
- /**
83
- * Event description. Auto-generated if not provided
84
- * @public
85
- */
86
- description?: string | undefined;
87
- /**
88
- * Event source identifier. Example: voicebot#1234567890
89
- * @public
90
- */
91
- resource?: string | undefined;
92
- /**
93
- * Reason for reschedule or cancel
94
- * @public
95
- */
96
- reason?: string | undefined;
97
- /**
98
- * Send email notification to attendees. Default: true
99
- * @public
100
- */
101
- sendNotification?: string | undefined;
102
- /**
103
- * Changed fields for reschedule. Values: time, subject, attendees
104
- * @public
105
- */
106
- changedFields?: string | undefined;
107
- /**
108
- * Attendees list as JSON array of \{email, name\}
109
- * @public
110
- */
111
- attendees?: string | undefined;
112
- /**
113
- * Slots query start date
114
- * @public
115
- */
116
- fromDate?: string | undefined;
117
- /**
118
- * Slots query end date
119
- * @public
120
- */
121
- tillDate?: string | undefined;
122
- /**
123
- * IANA timezone. Example: America/New_York, UTC
124
- * @public
125
- */
126
- timeZone?: string | undefined;
127
- /**
128
- * Excluded slots
129
- * @public
130
- */
131
- excluded?: string | undefined;
52
+ export interface ToolCalendarConfig {
132
53
  }
133
54
  /**
134
55
  * @public
@@ -691,13 +612,17 @@ export declare namespace ToolHandler {
691
612
  mcpTool?: never;
692
613
  $unknown?: never;
693
614
  }
615
+ /**
616
+ * Calendar handler configuration. All parameters come from tool input variables.
617
+ * @public
618
+ */
694
619
  interface CalendarMember {
695
620
  email?: never;
696
621
  webhook?: never;
697
622
  search?: never;
698
623
  chat?: never;
699
624
  sms?: never;
700
- calendar: ToolCalendarHandler;
625
+ calendar: ToolCalendarConfig;
701
626
  mcp?: never;
702
627
  mcpTool?: never;
703
628
  $unknown?: never;
@@ -744,7 +669,7 @@ export declare namespace ToolHandler {
744
669
  search: (value: ToolSearchConfig) => T;
745
670
  chat: (value: ToolChatHandler) => T;
746
671
  sms: (value: ToolSmsHandler) => T;
747
- calendar: (value: ToolCalendarHandler) => T;
672
+ calendar: (value: ToolCalendarConfig) => T;
748
673
  mcp: (value: ToolMcpHandler) => T;
749
674
  mcpTool: (value: ToolMcpToolHandler) => T;
750
675
  _: (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.40",
4
+ "version": "0.0.41",
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",