@wildix/xbees-kite-client 1.1.1 → 1.2.1
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-cjs/models/models_0.js +50 -50
- package/dist-cjs/protocols/Aws_restJson1.js +4 -0
- package/dist-es/models/models_0.js +46 -46
- package/dist-es/protocols/Aws_restJson1.js +5 -1
- package/dist-types/commands/CancelCalendarEventCommand.d.ts +4 -2
- package/dist-types/commands/CreateOrUpdateWidgetPreviewCommand.d.ts +6 -4
- package/dist-types/commands/CreateWidgetCommand.d.ts +6 -4
- package/dist-types/commands/GetCalendarSlotsCommand.d.ts +2 -2
- package/dist-types/commands/GetConfigCommand.d.ts +5 -3
- package/dist-types/commands/GetSmsNumberConfigurationCommand.d.ts +2 -2
- package/dist-types/commands/GetWhatsAppNumberConfigurationCommand.d.ts +2 -2
- package/dist-types/commands/GetWidgetCommand.d.ts +3 -2
- package/dist-types/commands/ListAgentsCommand.d.ts +3 -2
- package/dist-types/commands/ListServicesCommand.d.ts +2 -2
- package/dist-types/commands/ListSmsConfigurationsCommand.d.ts +2 -2
- package/dist-types/commands/ListSmsNumbersCommand.d.ts +2 -2
- package/dist-types/commands/ListWhatsAppConfigurationsCommand.d.ts +2 -2
- package/dist-types/commands/ListWhatsAppNumbersCommand.d.ts +2 -2
- package/dist-types/commands/ListWhatsAppTemplatesCommand.d.ts +2 -2
- package/dist-types/commands/ListWidgetsCommand.d.ts +5 -4
- package/dist-types/commands/PutSmsNumberConfigurationCommand.d.ts +2 -2
- package/dist-types/commands/PutWhatsAppNumberConfigurationCommand.d.ts +2 -2
- package/dist-types/commands/RescheduleCalendarEventCommand.d.ts +4 -2
- package/dist-types/commands/ScheduleCalendarEventCommand.d.ts +4 -2
- package/dist-types/commands/UpdateWidgetCommand.d.ts +6 -4
- package/dist-types/models/models_0.d.ts +219 -192
- package/dist-types/runtimeConfig.browser.d.ts +6 -1
- package/dist-types/runtimeConfig.d.ts +6 -1
- package/dist-types/runtimeConfig.native.d.ts +6 -1
- package/package.json +1 -1
|
@@ -3,35 +3,24 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-cli
|
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
6
|
-
export declare class
|
|
7
|
-
readonly name: "
|
|
8
|
-
readonly $fault: "client";
|
|
9
|
-
/**
|
|
10
|
-
* @internal
|
|
11
|
-
*/
|
|
12
|
-
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* @public
|
|
16
|
-
*/
|
|
17
|
-
export declare class ValidationException extends __BaseException {
|
|
18
|
-
readonly name: "ValidationException";
|
|
6
|
+
export declare class ForbiddenException extends __BaseException {
|
|
7
|
+
readonly name: "ForbiddenException";
|
|
19
8
|
readonly $fault: "client";
|
|
20
9
|
/**
|
|
21
10
|
* @internal
|
|
22
11
|
*/
|
|
23
|
-
constructor(opts: __ExceptionOptionType<
|
|
12
|
+
constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
|
|
24
13
|
}
|
|
25
14
|
/**
|
|
26
15
|
* @public
|
|
27
16
|
*/
|
|
28
|
-
export declare class
|
|
29
|
-
readonly name: "
|
|
17
|
+
export declare class NotFoundException extends __BaseException {
|
|
18
|
+
readonly name: "NotFoundException";
|
|
30
19
|
readonly $fault: "client";
|
|
31
20
|
/**
|
|
32
21
|
* @internal
|
|
33
22
|
*/
|
|
34
|
-
constructor(opts: __ExceptionOptionType<
|
|
23
|
+
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
35
24
|
}
|
|
36
25
|
/**
|
|
37
26
|
* @public
|
|
@@ -64,6 +53,17 @@ export declare class RateLimitExceededException extends __BaseException {
|
|
|
64
53
|
*/
|
|
65
54
|
constructor(opts: __ExceptionOptionType<RateLimitExceededException, __BaseException>);
|
|
66
55
|
}
|
|
56
|
+
/**
|
|
57
|
+
* @public
|
|
58
|
+
*/
|
|
59
|
+
export declare class ValidationException extends __BaseException {
|
|
60
|
+
readonly name: "ValidationException";
|
|
61
|
+
readonly $fault: "client";
|
|
62
|
+
/**
|
|
63
|
+
* @internal
|
|
64
|
+
*/
|
|
65
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
66
|
+
}
|
|
67
67
|
/**
|
|
68
68
|
* @public
|
|
69
69
|
*/
|
|
@@ -205,8 +205,20 @@ export interface TemplateParameter {
|
|
|
205
205
|
*/
|
|
206
206
|
export interface TemplateWithParameters {
|
|
207
207
|
name: string;
|
|
208
|
-
parameters
|
|
208
|
+
parameters?: (TemplateParameter)[] | undefined;
|
|
209
209
|
}
|
|
210
|
+
/**
|
|
211
|
+
* @public
|
|
212
|
+
* @enum
|
|
213
|
+
*/
|
|
214
|
+
export declare const ChannelAccess: {
|
|
215
|
+
readonly PRIVATE: "private";
|
|
216
|
+
readonly PUBLIC: "public";
|
|
217
|
+
};
|
|
218
|
+
/**
|
|
219
|
+
* @public
|
|
220
|
+
*/
|
|
221
|
+
export type ChannelAccess = typeof ChannelAccess[keyof typeof ChannelAccess];
|
|
210
222
|
/**
|
|
211
223
|
* @public
|
|
212
224
|
*/
|
|
@@ -225,6 +237,7 @@ export interface User {
|
|
|
225
237
|
pbxExtension?: string | undefined;
|
|
226
238
|
pbxSerial?: string | undefined;
|
|
227
239
|
pbxUserId?: string | undefined;
|
|
240
|
+
pbxGroupId?: string | undefined;
|
|
228
241
|
createdAt?: string | undefined;
|
|
229
242
|
updatedAt?: string | undefined;
|
|
230
243
|
}
|
|
@@ -242,31 +255,123 @@ export declare const ChannelType: {
|
|
|
242
255
|
export type ChannelType = typeof ChannelType[keyof typeof ChannelType];
|
|
243
256
|
/**
|
|
244
257
|
* @public
|
|
258
|
+
* @enum
|
|
245
259
|
*/
|
|
246
|
-
export
|
|
247
|
-
|
|
260
|
+
export declare const ChannelContextEventAttendeeStatus: {
|
|
261
|
+
readonly ACCEPTED: "accepted";
|
|
262
|
+
readonly DECLINED: "declined";
|
|
263
|
+
readonly NONE: "none";
|
|
264
|
+
readonly TENTATIVE: "tentative";
|
|
265
|
+
};
|
|
266
|
+
/**
|
|
267
|
+
* @public
|
|
268
|
+
*/
|
|
269
|
+
export type ChannelContextEventAttendeeStatus = typeof ChannelContextEventAttendeeStatus[keyof typeof ChannelContextEventAttendeeStatus];
|
|
270
|
+
/**
|
|
271
|
+
* @public
|
|
272
|
+
*/
|
|
273
|
+
export interface ChannelContextEventAttendee {
|
|
274
|
+
email: string;
|
|
275
|
+
name?: string | undefined;
|
|
276
|
+
status: ChannelContextEventAttendeeStatus;
|
|
248
277
|
}
|
|
249
278
|
/**
|
|
250
279
|
* @public
|
|
251
280
|
*/
|
|
252
|
-
export interface
|
|
253
|
-
|
|
254
|
-
|
|
281
|
+
export interface ChannelContextEvent {
|
|
282
|
+
id?: string | undefined;
|
|
283
|
+
owner?: string | undefined;
|
|
284
|
+
start?: string | undefined;
|
|
285
|
+
end?: string | undefined;
|
|
286
|
+
summary?: string | undefined;
|
|
287
|
+
attendees?: (ChannelContextEventAttendee)[] | undefined;
|
|
255
288
|
}
|
|
256
289
|
/**
|
|
257
290
|
* @public
|
|
258
291
|
*/
|
|
259
|
-
export interface
|
|
260
|
-
|
|
292
|
+
export interface ChannelContextPushToTalk {
|
|
293
|
+
/**
|
|
294
|
+
* A unique identifier of x-hoppers broadcast conference. If present x-hoppers application will use broadcast and push-to-talk functionality for the channel.
|
|
295
|
+
* @public
|
|
296
|
+
*/
|
|
297
|
+
broadcastId?: string | undefined;
|
|
261
298
|
}
|
|
262
299
|
/**
|
|
263
300
|
* @public
|
|
301
|
+
* @enum
|
|
264
302
|
*/
|
|
265
|
-
export
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
303
|
+
export declare const ChannelContextSource: {
|
|
304
|
+
readonly KITE: "kite";
|
|
305
|
+
};
|
|
306
|
+
/**
|
|
307
|
+
* @public
|
|
308
|
+
*/
|
|
309
|
+
export type ChannelContextSource = typeof ChannelContextSource[keyof typeof ChannelContextSource];
|
|
310
|
+
/**
|
|
311
|
+
* @public
|
|
312
|
+
*/
|
|
313
|
+
export interface ChannelContext {
|
|
314
|
+
source?: ChannelContextSource | undefined;
|
|
315
|
+
target?: string | undefined;
|
|
316
|
+
events?: (ChannelContextEvent)[] | undefined;
|
|
317
|
+
ptt?: ChannelContextPushToTalk | undefined;
|
|
318
|
+
}
|
|
319
|
+
/**
|
|
320
|
+
* @public
|
|
321
|
+
* @enum
|
|
322
|
+
*/
|
|
323
|
+
export declare const ChannelWhatsAppStatus: {
|
|
324
|
+
readonly CHANNEL_CLOSED: "24h_channel_closed";
|
|
325
|
+
};
|
|
326
|
+
/**
|
|
327
|
+
* @public
|
|
328
|
+
*/
|
|
329
|
+
export type ChannelWhatsAppStatus = typeof ChannelWhatsAppStatus[keyof typeof ChannelWhatsAppStatus];
|
|
330
|
+
/**
|
|
331
|
+
* @public
|
|
332
|
+
*/
|
|
333
|
+
export interface Channel {
|
|
334
|
+
subject?: string | undefined;
|
|
335
|
+
description?: string | undefined;
|
|
336
|
+
/**
|
|
337
|
+
* Picture URL
|
|
338
|
+
* @public
|
|
339
|
+
*/
|
|
340
|
+
picture?: string | undefined;
|
|
341
|
+
/**
|
|
342
|
+
* Picture dominant color represented by a hex value.
|
|
343
|
+
* @public
|
|
344
|
+
*/
|
|
345
|
+
pictureColor?: string | undefined;
|
|
346
|
+
access?: ChannelAccess | undefined;
|
|
347
|
+
company?: string | undefined;
|
|
348
|
+
context?: ChannelContext | undefined;
|
|
349
|
+
kite?: boolean | undefined;
|
|
350
|
+
kiteTarget?: string | undefined;
|
|
351
|
+
kiteVariant?: string | undefined;
|
|
352
|
+
kiteAssign?: string | undefined;
|
|
353
|
+
kiteServiceName?: string | undefined;
|
|
354
|
+
kiteDefaultSubject?: string | undefined;
|
|
355
|
+
service?: string | undefined;
|
|
356
|
+
serviceTitle?: string | undefined;
|
|
357
|
+
serviceRecipient?: string | undefined;
|
|
358
|
+
assignee?: User | undefined;
|
|
359
|
+
telephony?: boolean | undefined;
|
|
360
|
+
sms?: boolean | undefined;
|
|
361
|
+
mms?: boolean | undefined;
|
|
362
|
+
whatsapp?: boolean | undefined;
|
|
363
|
+
whatsappStatus?: ChannelWhatsAppStatus | undefined;
|
|
364
|
+
broadcast?: boolean | undefined;
|
|
365
|
+
external?: boolean | undefined;
|
|
366
|
+
autoRecord?: boolean | undefined;
|
|
367
|
+
transcriptionLanguage?: string | undefined;
|
|
368
|
+
wizyGuestViewOnly?: boolean | undefined;
|
|
369
|
+
channelId: string;
|
|
370
|
+
channelType: ChannelType;
|
|
371
|
+
memberCount: number;
|
|
372
|
+
createdAt: string;
|
|
373
|
+
createdBy: string;
|
|
374
|
+
updatedAt?: string | undefined;
|
|
270
375
|
}
|
|
271
376
|
/**
|
|
272
377
|
* @public
|
|
@@ -382,208 +487,105 @@ export declare namespace ActionElement {
|
|
|
382
487
|
/**
|
|
383
488
|
* @public
|
|
384
489
|
*/
|
|
385
|
-
export
|
|
386
|
-
|
|
387
|
-
readonly $fault: "client";
|
|
388
|
-
/**
|
|
389
|
-
* @internal
|
|
390
|
-
*/
|
|
391
|
-
constructor(opts: __ExceptionOptionType<ChannelNotFoundException, __BaseException>);
|
|
392
|
-
}
|
|
393
|
-
/**
|
|
394
|
-
* @public
|
|
395
|
-
*/
|
|
396
|
-
export interface ServicePbx {
|
|
397
|
-
domain: string;
|
|
398
|
-
port: number;
|
|
399
|
-
}
|
|
400
|
-
/**
|
|
401
|
-
* @public
|
|
402
|
-
*/
|
|
403
|
-
export interface ServiceSettings {
|
|
404
|
-
phoneNumber?: string | undefined;
|
|
405
|
-
messagingNumber?: string | undefined;
|
|
406
|
-
}
|
|
407
|
-
/**
|
|
408
|
-
* @public
|
|
409
|
-
*/
|
|
410
|
-
export interface Service {
|
|
411
|
-
id: number;
|
|
412
|
-
uri: string;
|
|
413
|
-
title: string;
|
|
414
|
-
settings: ServiceSettings;
|
|
415
|
-
extensions: (string)[];
|
|
416
|
-
pbx: ServicePbx;
|
|
417
|
-
}
|
|
418
|
-
/**
|
|
419
|
-
* @public
|
|
420
|
-
* @enum
|
|
421
|
-
*/
|
|
422
|
-
export declare const ChannelAccess: {
|
|
423
|
-
readonly PRIVATE: "private";
|
|
424
|
-
readonly PUBLIC: "public";
|
|
425
|
-
};
|
|
426
|
-
/**
|
|
427
|
-
* @public
|
|
428
|
-
*/
|
|
429
|
-
export type ChannelAccess = typeof ChannelAccess[keyof typeof ChannelAccess];
|
|
430
|
-
/**
|
|
431
|
-
* @public
|
|
432
|
-
* @enum
|
|
433
|
-
*/
|
|
434
|
-
export declare const ChannelContextEventAttendeeStatus: {
|
|
435
|
-
readonly ACCEPTED: "accepted";
|
|
436
|
-
readonly DECLINED: "declined";
|
|
437
|
-
readonly NONE: "none";
|
|
438
|
-
readonly TENTATIVE: "tentative";
|
|
439
|
-
};
|
|
440
|
-
/**
|
|
441
|
-
* @public
|
|
442
|
-
*/
|
|
443
|
-
export type ChannelContextEventAttendeeStatus = typeof ChannelContextEventAttendeeStatus[keyof typeof ChannelContextEventAttendeeStatus];
|
|
444
|
-
/**
|
|
445
|
-
* @public
|
|
446
|
-
*/
|
|
447
|
-
export interface ChannelContextEventAttendee {
|
|
448
|
-
email: string;
|
|
449
|
-
name?: string | undefined;
|
|
450
|
-
status: ChannelContextEventAttendeeStatus;
|
|
490
|
+
export interface MessageTemplateConfig {
|
|
491
|
+
whatsapp?: TemplateWithParameters | undefined;
|
|
451
492
|
}
|
|
452
493
|
/**
|
|
453
494
|
* @public
|
|
454
495
|
*/
|
|
455
|
-
export
|
|
456
|
-
id?: string | undefined;
|
|
457
|
-
owner?: string | undefined;
|
|
458
|
-
start?: string | undefined;
|
|
459
|
-
end?: string | undefined;
|
|
460
|
-
summary?: string | undefined;
|
|
461
|
-
attendees?: (ChannelContextEventAttendee)[] | undefined;
|
|
462
|
-
}
|
|
496
|
+
export type Element = Element.ActionsMember | Element.TemplateMember | Element.$UnknownMember;
|
|
463
497
|
/**
|
|
464
498
|
* @public
|
|
465
499
|
*/
|
|
466
|
-
export
|
|
500
|
+
export declare namespace Element {
|
|
501
|
+
interface TemplateMember {
|
|
502
|
+
template: MessageTemplateConfig;
|
|
503
|
+
actions?: never;
|
|
504
|
+
$unknown?: never;
|
|
505
|
+
}
|
|
506
|
+
interface ActionsMember {
|
|
507
|
+
template?: never;
|
|
508
|
+
actions: (ActionElement)[];
|
|
509
|
+
$unknown?: never;
|
|
510
|
+
}
|
|
467
511
|
/**
|
|
468
|
-
* A unique identifier of x-hoppers broadcast conference. If present x-hoppers application will use broadcast and push-to-talk functionality for the channel.
|
|
469
512
|
* @public
|
|
470
513
|
*/
|
|
471
|
-
|
|
514
|
+
interface $UnknownMember {
|
|
515
|
+
template?: never;
|
|
516
|
+
actions?: never;
|
|
517
|
+
$unknown: [string, any];
|
|
518
|
+
}
|
|
519
|
+
interface Visitor<T> {
|
|
520
|
+
template: (value: MessageTemplateConfig) => T;
|
|
521
|
+
actions: (value: (ActionElement)[]) => T;
|
|
522
|
+
_: (name: string, value: any) => T;
|
|
523
|
+
}
|
|
524
|
+
const visit: <T>(value: Element, visitor: Visitor<T>) => T;
|
|
472
525
|
}
|
|
473
|
-
/**
|
|
474
|
-
* @public
|
|
475
|
-
* @enum
|
|
476
|
-
*/
|
|
477
|
-
export declare const ChannelContextSource: {
|
|
478
|
-
readonly KITE: "kite";
|
|
479
|
-
};
|
|
480
526
|
/**
|
|
481
527
|
* @public
|
|
482
528
|
*/
|
|
483
|
-
export
|
|
529
|
+
export interface CalendarSlot {
|
|
530
|
+
startTime?: string | undefined;
|
|
531
|
+
}
|
|
484
532
|
/**
|
|
485
533
|
* @public
|
|
486
534
|
*/
|
|
487
|
-
export interface
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
events?: (ChannelContextEvent)[] | undefined;
|
|
491
|
-
ptt?: ChannelContextPushToTalk | undefined;
|
|
535
|
+
export interface CalendarDaySlots {
|
|
536
|
+
date?: string | undefined;
|
|
537
|
+
slots?: (CalendarSlot)[] | undefined;
|
|
492
538
|
}
|
|
493
539
|
/**
|
|
494
540
|
* @public
|
|
495
|
-
* @enum
|
|
496
541
|
*/
|
|
497
|
-
export
|
|
498
|
-
|
|
499
|
-
}
|
|
542
|
+
export interface CalendarAvailabilitySettings {
|
|
543
|
+
duration?: (string)[] | undefined;
|
|
544
|
+
}
|
|
500
545
|
/**
|
|
501
546
|
* @public
|
|
502
547
|
*/
|
|
503
|
-
export
|
|
548
|
+
export interface CalendarAvailability {
|
|
549
|
+
days?: (CalendarDaySlots)[] | undefined;
|
|
550
|
+
duration?: string | undefined;
|
|
551
|
+
timeZone?: string | undefined;
|
|
552
|
+
settings?: CalendarAvailabilitySettings | undefined;
|
|
553
|
+
}
|
|
504
554
|
/**
|
|
505
555
|
* @public
|
|
506
556
|
*/
|
|
507
|
-
export
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
/**
|
|
511
|
-
* Picture URL
|
|
512
|
-
* @public
|
|
513
|
-
*/
|
|
514
|
-
picture?: string | undefined;
|
|
557
|
+
export declare class ChannelNotFoundException extends __BaseException {
|
|
558
|
+
readonly name: "ChannelNotFoundException";
|
|
559
|
+
readonly $fault: "client";
|
|
515
560
|
/**
|
|
516
|
-
*
|
|
517
|
-
* @public
|
|
561
|
+
* @internal
|
|
518
562
|
*/
|
|
519
|
-
|
|
520
|
-
access?: ChannelAccess | undefined;
|
|
521
|
-
company?: string | undefined;
|
|
522
|
-
context?: ChannelContext | undefined;
|
|
523
|
-
kite?: boolean | undefined;
|
|
524
|
-
kiteTarget?: string | undefined;
|
|
525
|
-
kiteVariant?: string | undefined;
|
|
526
|
-
kiteAssign?: string | undefined;
|
|
527
|
-
kiteServiceName?: string | undefined;
|
|
528
|
-
kiteDefaultSubject?: string | undefined;
|
|
529
|
-
service?: string | undefined;
|
|
530
|
-
serviceTitle?: string | undefined;
|
|
531
|
-
serviceRecipient?: string | undefined;
|
|
532
|
-
assignee?: User | undefined;
|
|
533
|
-
telephony?: boolean | undefined;
|
|
534
|
-
sms?: boolean | undefined;
|
|
535
|
-
mms?: boolean | undefined;
|
|
536
|
-
whatsapp?: boolean | undefined;
|
|
537
|
-
whatsappStatus?: ChannelWhatsAppStatus | undefined;
|
|
538
|
-
broadcast?: boolean | undefined;
|
|
539
|
-
external?: boolean | undefined;
|
|
540
|
-
autoRecord?: boolean | undefined;
|
|
541
|
-
transcriptionLanguage?: string | undefined;
|
|
542
|
-
channelId: string;
|
|
543
|
-
channelType: ChannelType;
|
|
544
|
-
memberCount: number;
|
|
545
|
-
createdAt: string;
|
|
546
|
-
createdBy: string;
|
|
547
|
-
updatedAt?: string | undefined;
|
|
563
|
+
constructor(opts: __ExceptionOptionType<ChannelNotFoundException, __BaseException>);
|
|
548
564
|
}
|
|
549
565
|
/**
|
|
550
566
|
* @public
|
|
551
567
|
*/
|
|
552
|
-
export interface
|
|
553
|
-
|
|
568
|
+
export interface ServicePbx {
|
|
569
|
+
domain: string;
|
|
570
|
+
port: number;
|
|
554
571
|
}
|
|
555
572
|
/**
|
|
556
573
|
* @public
|
|
557
574
|
*/
|
|
558
|
-
export
|
|
575
|
+
export interface ServiceSettings {
|
|
576
|
+
phoneNumber?: string | undefined;
|
|
577
|
+
messagingNumber?: string | undefined;
|
|
578
|
+
}
|
|
559
579
|
/**
|
|
560
580
|
* @public
|
|
561
581
|
*/
|
|
562
|
-
export
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
template?: never;
|
|
570
|
-
actions: (ActionElement)[];
|
|
571
|
-
$unknown?: never;
|
|
572
|
-
}
|
|
573
|
-
/**
|
|
574
|
-
* @public
|
|
575
|
-
*/
|
|
576
|
-
interface $UnknownMember {
|
|
577
|
-
template?: never;
|
|
578
|
-
actions?: never;
|
|
579
|
-
$unknown: [string, any];
|
|
580
|
-
}
|
|
581
|
-
interface Visitor<T> {
|
|
582
|
-
template: (value: MessageTemplateConfig) => T;
|
|
583
|
-
actions: (value: (ActionElement)[]) => T;
|
|
584
|
-
_: (name: string, value: any) => T;
|
|
585
|
-
}
|
|
586
|
-
const visit: <T>(value: Element, visitor: Visitor<T>) => T;
|
|
582
|
+
export interface Service {
|
|
583
|
+
id: number;
|
|
584
|
+
uri: string;
|
|
585
|
+
title: string;
|
|
586
|
+
settings: ServiceSettings;
|
|
587
|
+
extensions: (string)[];
|
|
588
|
+
pbx: ServicePbx;
|
|
587
589
|
}
|
|
588
590
|
/**
|
|
589
591
|
* @public
|
|
@@ -1170,6 +1172,11 @@ export interface CreateOrUpdateWidgetPreviewInput {
|
|
|
1170
1172
|
* @public
|
|
1171
1173
|
*/
|
|
1172
1174
|
target: WidgetTarget;
|
|
1175
|
+
/**
|
|
1176
|
+
* Controls whether unauthenticated users are allowed to start guest sessions through this widget. If omitted, the widget should be treated as authenticated-only.
|
|
1177
|
+
* @public
|
|
1178
|
+
*/
|
|
1179
|
+
anonymousSessionsEnabled?: boolean | undefined;
|
|
1173
1180
|
/**
|
|
1174
1181
|
* Actions that will be used if the specified route and the conditions within a specific action are met.
|
|
1175
1182
|
* @public
|
|
@@ -1207,6 +1214,11 @@ export interface Widget {
|
|
|
1207
1214
|
* @public
|
|
1208
1215
|
*/
|
|
1209
1216
|
target: WidgetTarget;
|
|
1217
|
+
/**
|
|
1218
|
+
* Controls whether unauthenticated users are allowed to start guest sessions through this widget. If omitted, the widget should be treated as authenticated-only.
|
|
1219
|
+
* @public
|
|
1220
|
+
*/
|
|
1221
|
+
anonymousSessionsEnabled?: boolean | undefined;
|
|
1210
1222
|
/**
|
|
1211
1223
|
* Actions that will be used if the specified route and the conditions within a specific action are met.
|
|
1212
1224
|
* @public
|
|
@@ -1248,6 +1260,11 @@ export interface CreateWidgetInput {
|
|
|
1248
1260
|
* @public
|
|
1249
1261
|
*/
|
|
1250
1262
|
target: WidgetTarget;
|
|
1263
|
+
/**
|
|
1264
|
+
* Controls whether unauthenticated users are allowed to start guest sessions through this widget. If omitted, the widget should be treated as authenticated-only.
|
|
1265
|
+
* @public
|
|
1266
|
+
*/
|
|
1267
|
+
anonymousSessionsEnabled?: boolean | undefined;
|
|
1251
1268
|
/**
|
|
1252
1269
|
* Actions that will be used if the specified route and the conditions within a specific action are met.
|
|
1253
1270
|
* @public
|
|
@@ -1389,6 +1406,11 @@ export interface KiteConfig {
|
|
|
1389
1406
|
* @public
|
|
1390
1407
|
*/
|
|
1391
1408
|
welcomeMessages?: (WidgetWelcomeMessage)[] | undefined;
|
|
1409
|
+
/**
|
|
1410
|
+
* Controls whether unauthenticated users are allowed to start guest sessions through this widget.
|
|
1411
|
+
* @public
|
|
1412
|
+
*/
|
|
1413
|
+
anonymousSessionsEnabled?: boolean | undefined;
|
|
1392
1414
|
/**
|
|
1393
1415
|
* A list of features that are supported.
|
|
1394
1416
|
* @public
|
|
@@ -2057,6 +2079,11 @@ export interface UpdateWidgetInput {
|
|
|
2057
2079
|
* @public
|
|
2058
2080
|
*/
|
|
2059
2081
|
target: WidgetTarget;
|
|
2082
|
+
/**
|
|
2083
|
+
* Controls whether unauthenticated users are allowed to start guest sessions through this widget. If omitted, the widget should be treated as authenticated-only.
|
|
2084
|
+
* @public
|
|
2085
|
+
*/
|
|
2086
|
+
anonymousSessionsEnabled?: boolean | undefined;
|
|
2060
2087
|
/**
|
|
2061
2088
|
* Actions that will be used if the specified route and the conditions within a specific action are met.
|
|
2062
2089
|
* @public
|
|
@@ -15,8 +15,13 @@ export declare const getRuntimeConfig: (config: KiteClientConfig) => {
|
|
|
15
15
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
16
16
|
env?: "stage" | "stable" | "prod" | undefined;
|
|
17
17
|
token?: import("@wildix/smithy-utils").TokenProvider | undefined;
|
|
18
|
-
apiVersion: string;
|
|
19
18
|
cacheMiddleware?: boolean | undefined;
|
|
19
|
+
protocol?: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | undefined;
|
|
20
|
+
protocolSettings?: {
|
|
21
|
+
[setting: string]: unknown;
|
|
22
|
+
defaultNamespace?: string | undefined;
|
|
23
|
+
} | undefined;
|
|
24
|
+
apiVersion: string;
|
|
20
25
|
urlParser: import("@smithy/types").UrlParser;
|
|
21
26
|
base64Decoder: import("@smithy/types").Decoder;
|
|
22
27
|
base64Encoder: (_input: string | Uint8Array) => string;
|
|
@@ -16,8 +16,13 @@ export declare const getRuntimeConfig: (config: KiteClientConfig) => {
|
|
|
16
16
|
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
17
17
|
env?: "stage" | "stable" | "prod" | undefined;
|
|
18
18
|
token?: import("@wildix/smithy-utils").TokenProvider | undefined;
|
|
19
|
-
apiVersion: string;
|
|
20
19
|
cacheMiddleware?: boolean | undefined;
|
|
20
|
+
protocol?: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | undefined;
|
|
21
|
+
protocolSettings?: {
|
|
22
|
+
[setting: string]: unknown;
|
|
23
|
+
defaultNamespace?: string | undefined;
|
|
24
|
+
} | undefined;
|
|
25
|
+
apiVersion: string;
|
|
21
26
|
urlParser: import("@smithy/types").UrlParser;
|
|
22
27
|
base64Decoder: import("@smithy/types").Decoder;
|
|
23
28
|
base64Encoder: (_input: string | Uint8Array) => string;
|
|
@@ -8,8 +8,13 @@ export declare const getRuntimeConfig: (config: KiteClientConfig) => {
|
|
|
8
8
|
env?: "stage" | "stable" | "prod" | undefined;
|
|
9
9
|
token?: import("@wildix/smithy-utils").TokenProvider | undefined;
|
|
10
10
|
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
11
|
-
apiVersion: string;
|
|
12
11
|
cacheMiddleware?: boolean | undefined;
|
|
12
|
+
protocol?: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | undefined;
|
|
13
|
+
protocolSettings?: {
|
|
14
|
+
[setting: string]: unknown;
|
|
15
|
+
defaultNamespace?: string | undefined;
|
|
16
|
+
} | undefined;
|
|
17
|
+
apiVersion: string;
|
|
13
18
|
urlParser: import("@smithy/types").UrlParser;
|
|
14
19
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
15
20
|
streamCollector: import("@smithy/types").StreamCollector;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wildix/xbees-kite-client",
|
|
3
3
|
"description": "@wildix/xbees-kite-client client",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.2.1",
|
|
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",
|