@wildix/xbees-kite-client 1.0.9 → 1.0.10

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.
Files changed (32) hide show
  1. package/dist-cjs/Kite.js +8 -2
  2. package/dist-cjs/commands/{ListCalendarSlotsCommand.js → CancelCalendarEventCommand.js} +7 -7
  3. package/dist-cjs/commands/GetCalendarAvailabilityCommand.js +21 -0
  4. package/dist-cjs/commands/RescheduleCalendarEventCommand.js +21 -0
  5. package/dist-cjs/commands/ScheduleCalendarEventCommand.js +21 -0
  6. package/dist-cjs/commands/index.js +4 -1
  7. package/dist-cjs/models/models_0.js +22 -2
  8. package/dist-cjs/protocols/Aws_restJson1.js +155 -24
  9. package/dist-es/Kite.js +8 -2
  10. package/dist-es/commands/CancelCalendarEventCommand.js +17 -0
  11. package/dist-es/commands/GetCalendarAvailabilityCommand.js +17 -0
  12. package/dist-es/commands/RescheduleCalendarEventCommand.js +17 -0
  13. package/dist-es/commands/ScheduleCalendarEventCommand.js +17 -0
  14. package/dist-es/commands/index.js +4 -1
  15. package/dist-es/models/models_0.js +21 -1
  16. package/dist-es/protocols/Aws_restJson1.js +144 -19
  17. package/dist-types/Kite.d.ts +28 -7
  18. package/dist-types/KiteClient.d.ts +6 -3
  19. package/dist-types/commands/CancelCalendarEventCommand.d.ts +146 -0
  20. package/dist-types/commands/CreateWidgetCommand.d.ts +2 -2
  21. package/dist-types/commands/GetCalendarAvailabilityCommand.d.ts +89 -0
  22. package/dist-types/commands/GetWidgetCommand.d.ts +1 -1
  23. package/dist-types/commands/ListWidgetsCommand.d.ts +1 -1
  24. package/dist-types/commands/RescheduleCalendarEventCommand.d.ts +155 -0
  25. package/dist-types/commands/ScheduleCalendarEventCommand.d.ts +152 -0
  26. package/dist-types/commands/UpdateWidgetCommand.d.ts +2 -2
  27. package/dist-types/commands/index.d.ts +4 -1
  28. package/dist-types/models/models_0.d.ts +272 -16
  29. package/dist-types/protocols/Aws_restJson1.d.ts +36 -9
  30. package/package.json +1 -1
  31. package/dist-es/commands/ListCalendarSlotsCommand.js +0 -17
  32. package/dist-types/commands/ListCalendarSlotsCommand.d.ts +0 -64
@@ -0,0 +1,155 @@
1
+ import { KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KiteClient";
2
+ import { RescheduleCalendarEventInput, RescheduleCalendarEventOutput } from "../models/models_0";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link RescheduleCalendarEventCommand}.
14
+ */
15
+ export interface RescheduleCalendarEventCommandInput extends RescheduleCalendarEventInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link RescheduleCalendarEventCommand}.
21
+ */
22
+ export interface RescheduleCalendarEventCommandOutput extends RescheduleCalendarEventOutput, __MetadataBearer {
23
+ }
24
+ declare const RescheduleCalendarEventCommand_base: {
25
+ new (input: RescheduleCalendarEventCommandInput): import("@smithy/smithy-client").CommandImpl<RescheduleCalendarEventCommandInput, RescheduleCalendarEventCommandOutput, KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: RescheduleCalendarEventCommandInput): import("@smithy/smithy-client").CommandImpl<RescheduleCalendarEventCommandInput, RescheduleCalendarEventCommandOutput, KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * @public
31
+ *
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { KiteClient, RescheduleCalendarEventCommand } from "@wildix/xbees-kite-client"; // ES Modules import
36
+ * // const { KiteClient, RescheduleCalendarEventCommand } = require("@wildix/xbees-kite-client"); // CommonJS import
37
+ * const client = new KiteClient(config);
38
+ * const input = { // RescheduleCalendarEventInput
39
+ * channelId: "STRING_VALUE", // required
40
+ * eventId: "STRING_VALUE", // required
41
+ * eventOwner: "STRING_VALUE", // required
42
+ * start: "STRING_VALUE",
43
+ * duration: "STRING_VALUE",
44
+ * reason: "STRING_VALUE",
45
+ * summary: "STRING_VALUE",
46
+ * attendees: [ // CalendarEventAttendeesList
47
+ * "STRING_VALUE",
48
+ * ],
49
+ * changed: [ // CalendarEventChangedList
50
+ * "STRING_VALUE",
51
+ * ],
52
+ * };
53
+ * const command = new RescheduleCalendarEventCommand(input);
54
+ * const response = await client.send(command);
55
+ * // { // RescheduleCalendarEventOutput
56
+ * // channel: { // Channel
57
+ * // subject: "STRING_VALUE",
58
+ * // description: "STRING_VALUE",
59
+ * // picture: "STRING_VALUE",
60
+ * // pictureColor: "STRING_VALUE",
61
+ * // access: "private" || "public",
62
+ * // company: "STRING_VALUE",
63
+ * // context: { // ChannelContext
64
+ * // source: "kite",
65
+ * // target: "STRING_VALUE",
66
+ * // events: [ // ChannelContextEventList
67
+ * // { // ChannelContextEvent
68
+ * // id: "STRING_VALUE",
69
+ * // owner: "STRING_VALUE",
70
+ * // start: "STRING_VALUE",
71
+ * // end: "STRING_VALUE",
72
+ * // summary: "STRING_VALUE",
73
+ * // attendees: [ // ChannelContextEventAttendeeList
74
+ * // { // ChannelContextEventAttendee
75
+ * // email: "STRING_VALUE", // required
76
+ * // name: "STRING_VALUE",
77
+ * // status: "accepted" || "tentative" || "declined" || "none", // required
78
+ * // },
79
+ * // ],
80
+ * // },
81
+ * // ],
82
+ * // },
83
+ * // kite: true || false,
84
+ * // kiteTarget: "STRING_VALUE",
85
+ * // kiteVariant: "STRING_VALUE",
86
+ * // kiteAssign: "STRING_VALUE",
87
+ * // kiteServiceName: "STRING_VALUE",
88
+ * // kiteDefaultSubject: "STRING_VALUE",
89
+ * // service: "STRING_VALUE",
90
+ * // serviceTitle: "STRING_VALUE",
91
+ * // serviceRecipient: "STRING_VALUE",
92
+ * // assignee: { // User
93
+ * // id: "STRING_VALUE", // required
94
+ * // name: "STRING_VALUE",
95
+ * // email: "STRING_VALUE",
96
+ * // phone: "STRING_VALUE",
97
+ * // picture: "STRING_VALUE",
98
+ * // locale: "STRING_VALUE",
99
+ * // timeZone: "STRING_VALUE",
100
+ * // company: "STRING_VALUE",
101
+ * // bot: true || false,
102
+ * // pbxDomain: "STRING_VALUE",
103
+ * // pbxPort: "STRING_VALUE",
104
+ * // pbxExtension: "STRING_VALUE",
105
+ * // pbxSerial: "STRING_VALUE",
106
+ * // pbxUserId: "STRING_VALUE",
107
+ * // createdAt: "STRING_VALUE",
108
+ * // updatedAt: "STRING_VALUE",
109
+ * // },
110
+ * // telephony: true || false,
111
+ * // sms: true || false,
112
+ * // mms: true || false,
113
+ * // whatsapp: true || false,
114
+ * // whatsappStatus: "24h_channel_closed",
115
+ * // broadcast: true || false,
116
+ * // external: true || false,
117
+ * // channelId: "STRING_VALUE", // required
118
+ * // channelType: "direct" || "group", // required
119
+ * // memberCount: Number("int"), // required
120
+ * // createdAt: "STRING_VALUE", // required
121
+ * // createdBy: "STRING_VALUE", // required
122
+ * // updatedAt: "STRING_VALUE",
123
+ * // },
124
+ * // event: { // CalendarEvent
125
+ * // id: "STRING_VALUE",
126
+ * // owner: "STRING_VALUE",
127
+ * // start: "STRING_VALUE",
128
+ * // end: "STRING_VALUE",
129
+ * // summary: "STRING_VALUE",
130
+ * // attendees: [ // CalendarEventAttendeesList
131
+ * // "STRING_VALUE",
132
+ * // ],
133
+ * // },
134
+ * // };
135
+ *
136
+ * ```
137
+ *
138
+ * @param RescheduleCalendarEventCommandInput - {@link RescheduleCalendarEventCommandInput}
139
+ * @returns {@link RescheduleCalendarEventCommandOutput}
140
+ * @see {@link RescheduleCalendarEventCommandInput} for command's `input` shape.
141
+ * @see {@link RescheduleCalendarEventCommandOutput} for command's `response` shape.
142
+ * @see {@link KiteClientResolvedConfig | config} for KiteClient's `config` shape.
143
+ *
144
+ * @throws {@link ValidationException} (client fault)
145
+ *
146
+ * @throws {@link ForbiddenException} (client fault)
147
+ *
148
+ * @throws {@link RateLimitExceededException} (client fault)
149
+ *
150
+ * @throws {@link KiteServiceException}
151
+ * <p>Base exception class for all service exceptions from Kite service.</p>
152
+ *
153
+ */
154
+ export declare class RescheduleCalendarEventCommand extends RescheduleCalendarEventCommand_base {
155
+ }
@@ -0,0 +1,152 @@
1
+ import { KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KiteClient";
2
+ import { ScheduleCalendarEventInput, ScheduleCalendarEventOutput } from "../models/models_0";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ScheduleCalendarEventCommand}.
14
+ */
15
+ export interface ScheduleCalendarEventCommandInput extends ScheduleCalendarEventInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ScheduleCalendarEventCommand}.
21
+ */
22
+ export interface ScheduleCalendarEventCommandOutput extends ScheduleCalendarEventOutput, __MetadataBearer {
23
+ }
24
+ declare const ScheduleCalendarEventCommand_base: {
25
+ new (input: ScheduleCalendarEventCommandInput): import("@smithy/smithy-client").CommandImpl<ScheduleCalendarEventCommandInput, ScheduleCalendarEventCommandOutput, KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: ScheduleCalendarEventCommandInput): import("@smithy/smithy-client").CommandImpl<ScheduleCalendarEventCommandInput, ScheduleCalendarEventCommandOutput, KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * @public
31
+ *
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { KiteClient, ScheduleCalendarEventCommand } from "@wildix/xbees-kite-client"; // ES Modules import
36
+ * // const { KiteClient, ScheduleCalendarEventCommand } = require("@wildix/xbees-kite-client"); // CommonJS import
37
+ * const client = new KiteClient(config);
38
+ * const input = { // ScheduleCalendarEventInput
39
+ * targetId: "STRING_VALUE", // required
40
+ * channelId: "STRING_VALUE",
41
+ * start: "STRING_VALUE", // required
42
+ * duration: "STRING_VALUE", // required
43
+ * attendees: [ // CalendarEventAttendeesList
44
+ * "STRING_VALUE",
45
+ * ],
46
+ * summary: "STRING_VALUE",
47
+ * language: "STRING_VALUE",
48
+ * timeZone: "STRING_VALUE",
49
+ * };
50
+ * const command = new ScheduleCalendarEventCommand(input);
51
+ * const response = await client.send(command);
52
+ * // { // ScheduleCalendarEventOutput
53
+ * // channel: { // Channel
54
+ * // subject: "STRING_VALUE",
55
+ * // description: "STRING_VALUE",
56
+ * // picture: "STRING_VALUE",
57
+ * // pictureColor: "STRING_VALUE",
58
+ * // access: "private" || "public",
59
+ * // company: "STRING_VALUE",
60
+ * // context: { // ChannelContext
61
+ * // source: "kite",
62
+ * // target: "STRING_VALUE",
63
+ * // events: [ // ChannelContextEventList
64
+ * // { // ChannelContextEvent
65
+ * // id: "STRING_VALUE",
66
+ * // owner: "STRING_VALUE",
67
+ * // start: "STRING_VALUE",
68
+ * // end: "STRING_VALUE",
69
+ * // summary: "STRING_VALUE",
70
+ * // attendees: [ // ChannelContextEventAttendeeList
71
+ * // { // ChannelContextEventAttendee
72
+ * // email: "STRING_VALUE", // required
73
+ * // name: "STRING_VALUE",
74
+ * // status: "accepted" || "tentative" || "declined" || "none", // required
75
+ * // },
76
+ * // ],
77
+ * // },
78
+ * // ],
79
+ * // },
80
+ * // kite: true || false,
81
+ * // kiteTarget: "STRING_VALUE",
82
+ * // kiteVariant: "STRING_VALUE",
83
+ * // kiteAssign: "STRING_VALUE",
84
+ * // kiteServiceName: "STRING_VALUE",
85
+ * // kiteDefaultSubject: "STRING_VALUE",
86
+ * // service: "STRING_VALUE",
87
+ * // serviceTitle: "STRING_VALUE",
88
+ * // serviceRecipient: "STRING_VALUE",
89
+ * // assignee: { // User
90
+ * // id: "STRING_VALUE", // required
91
+ * // name: "STRING_VALUE",
92
+ * // email: "STRING_VALUE",
93
+ * // phone: "STRING_VALUE",
94
+ * // picture: "STRING_VALUE",
95
+ * // locale: "STRING_VALUE",
96
+ * // timeZone: "STRING_VALUE",
97
+ * // company: "STRING_VALUE",
98
+ * // bot: true || false,
99
+ * // pbxDomain: "STRING_VALUE",
100
+ * // pbxPort: "STRING_VALUE",
101
+ * // pbxExtension: "STRING_VALUE",
102
+ * // pbxSerial: "STRING_VALUE",
103
+ * // pbxUserId: "STRING_VALUE",
104
+ * // createdAt: "STRING_VALUE",
105
+ * // updatedAt: "STRING_VALUE",
106
+ * // },
107
+ * // telephony: true || false,
108
+ * // sms: true || false,
109
+ * // mms: true || false,
110
+ * // whatsapp: true || false,
111
+ * // whatsappStatus: "24h_channel_closed",
112
+ * // broadcast: true || false,
113
+ * // external: true || false,
114
+ * // channelId: "STRING_VALUE", // required
115
+ * // channelType: "direct" || "group", // required
116
+ * // memberCount: Number("int"), // required
117
+ * // createdAt: "STRING_VALUE", // required
118
+ * // createdBy: "STRING_VALUE", // required
119
+ * // updatedAt: "STRING_VALUE",
120
+ * // },
121
+ * // event: { // CalendarEvent
122
+ * // id: "STRING_VALUE",
123
+ * // owner: "STRING_VALUE",
124
+ * // start: "STRING_VALUE",
125
+ * // end: "STRING_VALUE",
126
+ * // summary: "STRING_VALUE",
127
+ * // attendees: [ // CalendarEventAttendeesList
128
+ * // "STRING_VALUE",
129
+ * // ],
130
+ * // },
131
+ * // };
132
+ *
133
+ * ```
134
+ *
135
+ * @param ScheduleCalendarEventCommandInput - {@link ScheduleCalendarEventCommandInput}
136
+ * @returns {@link ScheduleCalendarEventCommandOutput}
137
+ * @see {@link ScheduleCalendarEventCommandInput} for command's `input` shape.
138
+ * @see {@link ScheduleCalendarEventCommandOutput} for command's `response` shape.
139
+ * @see {@link KiteClientResolvedConfig | config} for KiteClient's `config` shape.
140
+ *
141
+ * @throws {@link ValidationException} (client fault)
142
+ *
143
+ * @throws {@link ForbiddenException} (client fault)
144
+ *
145
+ * @throws {@link RateLimitExceededException} (client fault)
146
+ *
147
+ * @throws {@link KiteServiceException}
148
+ * <p>Base exception class for all service exceptions from Kite service.</p>
149
+ *
150
+ */
151
+ export declare class ScheduleCalendarEventCommand extends ScheduleCalendarEventCommand_base {
152
+ }
@@ -54,7 +54,7 @@ declare const UpdateWidgetCommand_base: {
54
54
  * { // WidgetRouteRule Union: only one key present
55
55
  * timeFrame: { // WidgetRouteTimeFrameRule
56
56
  * timeZone: "STRING_VALUE", // required
57
- * day: "EVERY_DAY" || "WEEKDAYS" || "WEEKENDS" || "MONDAY" || "THUESDAY" || "WEDNESDAY" || "THURSDAY" || "FRIDAY" || "SATURDAY" || "SUNDAY", // required
57
+ * day: "EVERY_DAY" || "WEEKDAYS" || "WEEKENDS" || "MONDAY" || "TUESDAY" || "WEDNESDAY" || "THURSDAY" || "FRIDAY" || "SATURDAY" || "SUNDAY", // required
58
58
  * startMinute: Number("int"), // required
59
59
  * endMinute: Number("int"), // required
60
60
  * },
@@ -143,7 +143,7 @@ declare const UpdateWidgetCommand_base: {
143
143
  * // { // WidgetRouteRule Union: only one key present
144
144
  * // timeFrame: { // WidgetRouteTimeFrameRule
145
145
  * // timeZone: "STRING_VALUE", // required
146
- * // day: "EVERY_DAY" || "WEEKDAYS" || "WEEKENDS" || "MONDAY" || "THUESDAY" || "WEDNESDAY" || "THURSDAY" || "FRIDAY" || "SATURDAY" || "SUNDAY", // required
146
+ * // day: "EVERY_DAY" || "WEEKDAYS" || "WEEKENDS" || "MONDAY" || "TUESDAY" || "WEDNESDAY" || "THURSDAY" || "FRIDAY" || "SATURDAY" || "SUNDAY", // required
147
147
  * // startMinute: Number("int"), // required
148
148
  * // endMinute: Number("int"), // required
149
149
  * // },
@@ -1,9 +1,12 @@
1
+ export * from "./CancelCalendarEventCommand";
1
2
  export * from "./CreateWidgetCommand";
2
3
  export * from "./DeleteWidgetCommand";
4
+ export * from "./GetCalendarAvailabilityCommand";
3
5
  export * from "./GetConfigCommand";
4
6
  export * from "./GetWidgetCommand";
5
7
  export * from "./ListAgentsCommand";
6
- export * from "./ListCalendarSlotsCommand";
7
8
  export * from "./ListServicesCommand";
8
9
  export * from "./ListWidgetsCommand";
10
+ export * from "./RescheduleCalendarEventCommand";
11
+ export * from "./ScheduleCalendarEventCommand";
9
12
  export * from "./UpdateWidgetCommand";
@@ -74,6 +74,46 @@ export interface User {
74
74
  createdAt?: string;
75
75
  updatedAt?: string;
76
76
  }
77
+ /**
78
+ * @public
79
+ * @enum
80
+ */
81
+ export declare const ChannelType: {
82
+ readonly DIRECT: "direct";
83
+ readonly GROUP: "group";
84
+ };
85
+ /**
86
+ * @public
87
+ */
88
+ export type ChannelType = typeof ChannelType[keyof typeof ChannelType];
89
+ /**
90
+ * @public
91
+ */
92
+ export interface CalendarSlot {
93
+ startTime?: string;
94
+ }
95
+ /**
96
+ * @public
97
+ */
98
+ export interface CalendarDaySlots {
99
+ date?: string;
100
+ slots?: (CalendarSlot)[];
101
+ }
102
+ /**
103
+ * @public
104
+ */
105
+ export interface CalendarAvailabilitySettings {
106
+ duration?: (string)[];
107
+ }
108
+ /**
109
+ * @public
110
+ */
111
+ export interface CalendarAvailability {
112
+ days?: (CalendarDaySlots)[];
113
+ duration?: string;
114
+ timeZone?: string;
115
+ settings?: CalendarAvailabilitySettings;
116
+ }
77
117
  /**
78
118
  * @public
79
119
  */
@@ -185,6 +225,124 @@ export declare namespace ActionElement {
185
225
  }
186
226
  const visit: <T>(value: ActionElement, visitor: Visitor<T>) => T;
187
227
  }
228
+ /**
229
+ * @public
230
+ * @enum
231
+ */
232
+ export declare const ChannelAccess: {
233
+ readonly PRIVATE: "private";
234
+ readonly PUBLIC: "public";
235
+ };
236
+ /**
237
+ * @public
238
+ */
239
+ export type ChannelAccess = typeof ChannelAccess[keyof typeof ChannelAccess];
240
+ /**
241
+ * @public
242
+ * @enum
243
+ */
244
+ export declare const ChannelContextEventAttendeeStatus: {
245
+ readonly ACCEPTED: "accepted";
246
+ readonly DECLINED: "declined";
247
+ readonly NONE: "none";
248
+ readonly TENTATIVE: "tentative";
249
+ };
250
+ /**
251
+ * @public
252
+ */
253
+ export type ChannelContextEventAttendeeStatus = typeof ChannelContextEventAttendeeStatus[keyof typeof ChannelContextEventAttendeeStatus];
254
+ /**
255
+ * @public
256
+ */
257
+ export interface ChannelContextEventAttendee {
258
+ email: string;
259
+ name?: string;
260
+ status: ChannelContextEventAttendeeStatus;
261
+ }
262
+ /**
263
+ * @public
264
+ */
265
+ export interface ChannelContextEvent {
266
+ id?: string;
267
+ owner?: string;
268
+ start?: string;
269
+ end?: string;
270
+ summary?: string;
271
+ attendees?: (ChannelContextEventAttendee)[];
272
+ }
273
+ /**
274
+ * @public
275
+ * @enum
276
+ */
277
+ export declare const ChannelContextSource: {
278
+ readonly KITE: "kite";
279
+ };
280
+ /**
281
+ * @public
282
+ */
283
+ export type ChannelContextSource = typeof ChannelContextSource[keyof typeof ChannelContextSource];
284
+ /**
285
+ * @public
286
+ */
287
+ export interface ChannelContext {
288
+ source?: ChannelContextSource;
289
+ target?: string;
290
+ events?: (ChannelContextEvent)[];
291
+ }
292
+ /**
293
+ * @public
294
+ * @enum
295
+ */
296
+ export declare const ChannelWhatsAppStatus: {
297
+ readonly CHANNEL_CLOSED: "24h_channel_closed";
298
+ };
299
+ /**
300
+ * @public
301
+ */
302
+ export type ChannelWhatsAppStatus = typeof ChannelWhatsAppStatus[keyof typeof ChannelWhatsAppStatus];
303
+ /**
304
+ * @public
305
+ */
306
+ export interface Channel {
307
+ subject?: string;
308
+ description?: string;
309
+ /**
310
+ * Picture URL
311
+ * @public
312
+ */
313
+ picture?: string;
314
+ /**
315
+ * Picture dominant color represented by a hex value.
316
+ * @public
317
+ */
318
+ pictureColor?: string;
319
+ access?: ChannelAccess;
320
+ company?: string;
321
+ context?: ChannelContext;
322
+ kite?: boolean;
323
+ kiteTarget?: string;
324
+ kiteVariant?: string;
325
+ kiteAssign?: string;
326
+ kiteServiceName?: string;
327
+ kiteDefaultSubject?: string;
328
+ service?: string;
329
+ serviceTitle?: string;
330
+ serviceRecipient?: string;
331
+ assignee?: User;
332
+ telephony?: boolean;
333
+ sms?: boolean;
334
+ mms?: boolean;
335
+ whatsapp?: boolean;
336
+ whatsappStatus?: ChannelWhatsAppStatus;
337
+ broadcast?: boolean;
338
+ external?: boolean;
339
+ channelId: string;
340
+ channelType: ChannelType;
341
+ memberCount: number;
342
+ createdAt: string;
343
+ createdBy: string;
344
+ updatedAt?: string;
345
+ }
188
346
  /**
189
347
  * @public
190
348
  */
@@ -284,6 +442,37 @@ export interface WelcomeMessage {
284
442
  mentions?: (string)[];
285
443
  user: User;
286
444
  }
445
+ /**
446
+ * @public
447
+ */
448
+ export interface CalendarEvent {
449
+ id?: string;
450
+ owner?: string;
451
+ start?: string;
452
+ end?: string;
453
+ summary?: string;
454
+ attendees?: (string)[];
455
+ }
456
+ /**
457
+ * @public
458
+ */
459
+ export interface CancelCalendarEventInput {
460
+ /**
461
+ * The unique identifier of the Kite widget or email of the agent (example: 36cv69ao or john.doe@example.com).
462
+ * @public
463
+ */
464
+ channelId: string;
465
+ eventId: string;
466
+ eventOwner: string;
467
+ reason?: string;
468
+ }
469
+ /**
470
+ * @public
471
+ */
472
+ export interface CancelCalendarEventOutput {
473
+ channel: Channel;
474
+ event: CalendarEvent;
475
+ }
287
476
  /**
288
477
  * @public
289
478
  */
@@ -349,8 +538,8 @@ export declare const WidgetRouteTimeFrameDay: {
349
538
  readonly MONDAY: "MONDAY";
350
539
  readonly SATURDAY: "SATURDAY";
351
540
  readonly SUNDAY: "SUNDAY";
352
- readonly THUESDAY: "THUESDAY";
353
541
  readonly THURSDAY: "THURSDAY";
542
+ readonly TUESDAY: "TUESDAY";
354
543
  readonly WEDNESDAY: "WEDNESDAY";
355
544
  readonly WEEKDAYS: "WEEKDAYS";
356
545
  readonly WEEKENDS: "WEEKENDS";
@@ -593,6 +782,27 @@ export interface DeleteWidgetInput {
593
782
  */
594
783
  export interface DeleteWidgetOutput {
595
784
  }
785
+ /**
786
+ * @public
787
+ */
788
+ export interface GetCalendarAvailabilityInput {
789
+ /**
790
+ * The unique identifier of the Kite widget or email of the agent (example: 36cv69ao or john.doe@example.com).
791
+ * @public
792
+ */
793
+ targetId: string;
794
+ from: string;
795
+ till: string;
796
+ duration?: string;
797
+ timeZone: string;
798
+ excluded?: string;
799
+ }
800
+ /**
801
+ * @public
802
+ */
803
+ export interface GetCalendarAvailabilityOutput {
804
+ availability: CalendarAvailability;
805
+ }
596
806
  /**
597
807
  * @public
598
808
  */
@@ -791,21 +1001,6 @@ export interface ListAgentsInput {
791
1001
  export interface ListAgentsOutput {
792
1002
  users: (User)[];
793
1003
  }
794
- /**
795
- * @public
796
- */
797
- export interface ListCalendarSlotsInput {
798
- /**
799
- * The unique identifier of the Kite widget or email of the agent (example: 36cv69ao or john.doe@example.com).
800
- * @public
801
- */
802
- targetId: string;
803
- }
804
- /**
805
- * @public
806
- */
807
- export interface ListCalendarSlotsOutput {
808
- }
809
1004
  /**
810
1005
  * @public
811
1006
  */
@@ -861,6 +1056,67 @@ export interface ListWidgetsInput {
861
1056
  export interface ListWidgetsOutput {
862
1057
  widgets: (Widget)[];
863
1058
  }
1059
+ /**
1060
+ * @public
1061
+ */
1062
+ export interface RescheduleCalendarEventInput {
1063
+ /**
1064
+ * The unique identifier of the Kite widget or email of the agent (example: 36cv69ao or john.doe@example.com).
1065
+ * @public
1066
+ */
1067
+ channelId: string;
1068
+ eventId: string;
1069
+ eventOwner: string;
1070
+ start?: string;
1071
+ duration?: string;
1072
+ reason?: string;
1073
+ /**
1074
+ * Event title
1075
+ * @public
1076
+ */
1077
+ summary?: string;
1078
+ attendees?: (string)[];
1079
+ changed?: (string)[];
1080
+ }
1081
+ /**
1082
+ * @public
1083
+ */
1084
+ export interface RescheduleCalendarEventOutput {
1085
+ channel: Channel;
1086
+ event: CalendarEvent;
1087
+ }
1088
+ /**
1089
+ * @public
1090
+ */
1091
+ export interface ScheduleCalendarEventInput {
1092
+ /**
1093
+ * The unique identifier of the Kite widget or email of the agent (example: 36cv69ao or john.doe@example.com).
1094
+ * @public
1095
+ */
1096
+ targetId: string;
1097
+ /**
1098
+ * The unique identifier of the Kite widget or email of the agent (example: 36cv69ao or john.doe@example.com).
1099
+ * @public
1100
+ */
1101
+ channelId?: string;
1102
+ start: string;
1103
+ duration: string;
1104
+ attendees?: (string)[];
1105
+ /**
1106
+ * Event title
1107
+ * @public
1108
+ */
1109
+ summary?: string;
1110
+ language?: string;
1111
+ timeZone?: string;
1112
+ }
1113
+ /**
1114
+ * @public
1115
+ */
1116
+ export interface ScheduleCalendarEventOutput {
1117
+ channel: Channel;
1118
+ event: CalendarEvent;
1119
+ }
864
1120
  /**
865
1121
  * @public
866
1122
  */