@wildix/xbees-kite-client 1.0.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.
Files changed (64) hide show
  1. package/dist-cjs/Kite.js +25 -0
  2. package/dist-cjs/KiteClient.js +37 -0
  3. package/dist-cjs/commands/CreateWidgetCommand.js +21 -0
  4. package/dist-cjs/commands/DeleteWidgetCommand.js +21 -0
  5. package/dist-cjs/commands/GetConfigCommand.js +21 -0
  6. package/dist-cjs/commands/GetWidgetCommand.js +21 -0
  7. package/dist-cjs/commands/ListServicesCommand.js +21 -0
  8. package/dist-cjs/commands/ListWidgetsCommand.js +21 -0
  9. package/dist-cjs/commands/UpdateWidgetCommand.js +21 -0
  10. package/dist-cjs/commands/index.js +10 -0
  11. package/dist-cjs/extensionConfiguration.js +2 -0
  12. package/dist-cjs/index.js +10 -0
  13. package/dist-cjs/models/KiteServiceException.js +12 -0
  14. package/dist-cjs/models/index.js +4 -0
  15. package/dist-cjs/models/models_0.js +112 -0
  16. package/dist-cjs/protocols/Aws_restJson1.js +387 -0
  17. package/dist-cjs/runtimeConfig.browser.js +32 -0
  18. package/dist-cjs/runtimeConfig.js +36 -0
  19. package/dist-cjs/runtimeConfig.native.js +15 -0
  20. package/dist-cjs/runtimeConfig.shared.js +21 -0
  21. package/dist-cjs/runtimeExtensions.js +19 -0
  22. package/dist-es/Kite.js +21 -0
  23. package/dist-es/KiteClient.js +33 -0
  24. package/dist-es/commands/CreateWidgetCommand.js +17 -0
  25. package/dist-es/commands/DeleteWidgetCommand.js +17 -0
  26. package/dist-es/commands/GetConfigCommand.js +17 -0
  27. package/dist-es/commands/GetWidgetCommand.js +17 -0
  28. package/dist-es/commands/ListServicesCommand.js +17 -0
  29. package/dist-es/commands/ListWidgetsCommand.js +17 -0
  30. package/dist-es/commands/UpdateWidgetCommand.js +17 -0
  31. package/dist-es/commands/index.js +7 -0
  32. package/dist-es/extensionConfiguration.js +1 -0
  33. package/dist-es/index.js +5 -0
  34. package/dist-es/models/KiteServiceException.js +8 -0
  35. package/dist-es/models/index.js +1 -0
  36. package/dist-es/models/models_0.js +104 -0
  37. package/dist-es/protocols/Aws_restJson1.js +370 -0
  38. package/dist-es/runtimeConfig.browser.js +27 -0
  39. package/dist-es/runtimeConfig.js +31 -0
  40. package/dist-es/runtimeConfig.native.js +11 -0
  41. package/dist-es/runtimeConfig.shared.js +17 -0
  42. package/dist-es/runtimeExtensions.js +15 -0
  43. package/dist-types/Kite.d.ts +60 -0
  44. package/dist-types/KiteClient.d.ts +149 -0
  45. package/dist-types/commands/CreateWidgetCommand.d.ts +199 -0
  46. package/dist-types/commands/DeleteWidgetCommand.d.ts +64 -0
  47. package/dist-types/commands/GetConfigCommand.d.ts +107 -0
  48. package/dist-types/commands/GetWidgetCommand.d.ts +137 -0
  49. package/dist-types/commands/ListServicesCommand.d.ts +94 -0
  50. package/dist-types/commands/ListWidgetsCommand.d.ts +137 -0
  51. package/dist-types/commands/UpdateWidgetCommand.d.ts +200 -0
  52. package/dist-types/commands/index.d.ts +7 -0
  53. package/dist-types/extensionConfiguration.d.ts +7 -0
  54. package/dist-types/index.d.ts +7 -0
  55. package/dist-types/models/KiteServiceException.d.ts +14 -0
  56. package/dist-types/models/index.d.ts +1 -0
  57. package/dist-types/models/models_0.d.ts +617 -0
  58. package/dist-types/protocols/Aws_restJson1.d.ts +65 -0
  59. package/dist-types/runtimeConfig.browser.d.ts +28 -0
  60. package/dist-types/runtimeConfig.d.ts +28 -0
  61. package/dist-types/runtimeConfig.native.d.ts +27 -0
  62. package/dist-types/runtimeConfig.shared.d.ts +15 -0
  63. package/dist-types/runtimeExtensions.d.ts +17 -0
  64. package/package.json +78 -0
@@ -0,0 +1,617 @@
1
+ import { KiteServiceException as __BaseException } from "./KiteServiceException";
2
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
3
+ /**
4
+ * @public
5
+ */
6
+ export declare class ValidationException extends __BaseException {
7
+ readonly name: "ValidationException";
8
+ readonly $fault: "client";
9
+ /**
10
+ * @internal
11
+ */
12
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
13
+ }
14
+ /**
15
+ * @public
16
+ */
17
+ export declare class ForbiddenException extends __BaseException {
18
+ readonly name: "ForbiddenException";
19
+ readonly $fault: "client";
20
+ /**
21
+ * @internal
22
+ */
23
+ constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
24
+ }
25
+ /**
26
+ * @public
27
+ */
28
+ export declare class LimitExceededException extends __BaseException {
29
+ readonly name: "LimitExceededException";
30
+ readonly $fault: "client";
31
+ /**
32
+ * Displays the applicable rate limits for the current request.
33
+ * @public
34
+ */
35
+ rateLimit?: string;
36
+ /**
37
+ * Indicates how many requests a user can still make within the current time window.
38
+ * @public
39
+ */
40
+ rateLimitRemaining?: number;
41
+ /**
42
+ * Shows the time in seconds until the rate limit resets.
43
+ * @public
44
+ */
45
+ rateLimitReset?: number;
46
+ /**
47
+ * Displays how many seconds the user agent should wait before making a follow-up request.
48
+ * @public
49
+ */
50
+ retryAfter?: number;
51
+ /**
52
+ * @internal
53
+ */
54
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
55
+ }
56
+ /**
57
+ * @public
58
+ */
59
+ export interface User {
60
+ id: string;
61
+ name?: string;
62
+ email?: string;
63
+ phone?: string;
64
+ picture?: string;
65
+ locale?: string;
66
+ timeZone?: string;
67
+ company?: string;
68
+ bot?: boolean;
69
+ pbxDomain?: string;
70
+ pbxPort?: string;
71
+ pbxExtension?: string;
72
+ pbxSerial?: string;
73
+ pbxUserId?: string;
74
+ createdAt?: string;
75
+ updatedAt?: string;
76
+ }
77
+ /**
78
+ * @public
79
+ */
80
+ export interface MessagePredefinedReply {
81
+ /**
82
+ * Text that will be sent to the user; clicking the text will trigger sending this message.
83
+ * @public
84
+ */
85
+ text: string;
86
+ /**
87
+ * Label that will appear on the reply button; if no label is provided, the text will be used.
88
+ * @public
89
+ */
90
+ label?: string;
91
+ }
92
+ /**
93
+ * @public
94
+ */
95
+ export interface WidgetPalleteSettings {
96
+ /**
97
+ * The background color can be specified in hex format (#CCC or #FAFAFA), rgb format (rgb(22, 123, 200)), or rgba format (rgba(22, 123, 200, 1)).
98
+ * @public
99
+ */
100
+ backgroundColor?: string;
101
+ /**
102
+ * The accent color can be specified in hex format (#CCC or #FAFAFA), rgb format (rgb(22, 123, 200)), or rgba format (rgba(22, 123, 200, 1)).
103
+ * @public
104
+ */
105
+ accentColor?: string;
106
+ }
107
+ /**
108
+ * @public
109
+ */
110
+ export interface WidgetTextSettings {
111
+ /**
112
+ * Text that will be visible to the user inside Send button (default: Start new conversation)
113
+ * @public
114
+ */
115
+ button?: string;
116
+ /**
117
+ * Text that will be visible to the user below avatar (default: Support agent)
118
+ * @public
119
+ */
120
+ title?: string;
121
+ /**
122
+ * Text that will be visible to the user in the header title (default: Hello)
123
+ * @public
124
+ */
125
+ topTitle?: string;
126
+ /**
127
+ * Text that will be visible to the user in the header subtitle (default: How can we help you?)
128
+ * @public
129
+ */
130
+ topSubtitle?: string;
131
+ }
132
+ /**
133
+ * @public
134
+ */
135
+ export interface WidgetAppearance {
136
+ /**
137
+ * Configuration of the widget's color scheme settings.
138
+ * @public
139
+ */
140
+ pallete?: WidgetPalleteSettings;
141
+ /**
142
+ * Configuration of the widget's text elements.
143
+ * @public
144
+ */
145
+ text?: WidgetTextSettings;
146
+ }
147
+ /**
148
+ * @public
149
+ * @enum
150
+ */
151
+ export declare const WidgetRouteTimeFrameDay: {
152
+ readonly EVERY_DAY: "EVERY_DAY";
153
+ readonly FRIDAY: "FRIDAY";
154
+ readonly MONDAY: "MONDAY";
155
+ readonly SATURDAY: "SATURDAY";
156
+ readonly SUNDAY: "SUNDAY";
157
+ readonly THUESDAY: "THUESDAY";
158
+ readonly THURSDAY: "THURSDAY";
159
+ readonly WEDNESDAY: "WEDNESDAY";
160
+ readonly WEEKDAYS: "WEEKDAYS";
161
+ readonly WEEKENDS: "WEEKENDS";
162
+ };
163
+ /**
164
+ * @public
165
+ */
166
+ export type WidgetRouteTimeFrameDay = typeof WidgetRouteTimeFrameDay[keyof typeof WidgetRouteTimeFrameDay];
167
+ /**
168
+ * @public
169
+ */
170
+ export interface WidgetRouteTimeFrameRule {
171
+ /**
172
+ * The IANA time zone name (e.g., 'America/Los_Angeles') specifying the time zone in which the rule applies.
173
+ * @public
174
+ */
175
+ timeZone: string;
176
+ /**
177
+ * The day of the week or pattern when the rule applies.
178
+ * @public
179
+ */
180
+ day: WidgetRouteTimeFrameDay;
181
+ /**
182
+ * The minute of the day when the rule matches for the specified time zone (for example, 300 corresponds to 5AM)
183
+ * @public
184
+ */
185
+ startMinute: number;
186
+ /**
187
+ * The minute of the day when the rule matches for the specified time zone (for example, 300 corresponds to 5AM)
188
+ * @public
189
+ */
190
+ endMinute: number;
191
+ }
192
+ /**
193
+ * @public
194
+ */
195
+ export type WidgetRouteRule = WidgetRouteRule.TimeFrameMember | WidgetRouteRule.$UnknownMember;
196
+ /**
197
+ * @public
198
+ */
199
+ export declare namespace WidgetRouteRule {
200
+ interface TimeFrameMember {
201
+ timeFrame: WidgetRouteTimeFrameRule;
202
+ $unknown?: never;
203
+ }
204
+ /**
205
+ * @public
206
+ */
207
+ interface $UnknownMember {
208
+ timeFrame?: never;
209
+ $unknown: [string, any];
210
+ }
211
+ interface Visitor<T> {
212
+ timeFrame: (value: WidgetRouteTimeFrameRule) => T;
213
+ _: (name: string, value: any) => T;
214
+ }
215
+ const visit: <T>(value: WidgetRouteRule, visitor: Visitor<T>) => T;
216
+ }
217
+ /**
218
+ * @public
219
+ */
220
+ export interface WidgetAgentTarget {
221
+ /**
222
+ * An email of the user that registered on x-bees and account must be connected to the PBX.
223
+ * @public
224
+ */
225
+ email: string;
226
+ }
227
+ /**
228
+ * @public
229
+ */
230
+ export interface WidgetBotTarget {
231
+ /**
232
+ * An ID of the bot.
233
+ * @public
234
+ */
235
+ id: string;
236
+ }
237
+ /**
238
+ * @public
239
+ */
240
+ export interface WidgetServiceTarget {
241
+ /**
242
+ * An ID of the service. ID of the service equals the ID of the call group that available on the PBX.
243
+ * @public
244
+ */
245
+ id: number;
246
+ /**
247
+ * An URI of the service which includes ID, PBX domain and port (example - 1@example.wildixin.com:443
248
+ * @public
249
+ */
250
+ uri: string;
251
+ }
252
+ /**
253
+ * @public
254
+ */
255
+ export type WidgetTarget = WidgetTarget.AgentMember | WidgetTarget.BotMember | WidgetTarget.ServiceMember | WidgetTarget.$UnknownMember;
256
+ /**
257
+ * @public
258
+ */
259
+ export declare namespace WidgetTarget {
260
+ interface ServiceMember {
261
+ service: WidgetServiceTarget;
262
+ agent?: never;
263
+ bot?: never;
264
+ $unknown?: never;
265
+ }
266
+ interface AgentMember {
267
+ service?: never;
268
+ agent: WidgetAgentTarget;
269
+ bot?: never;
270
+ $unknown?: never;
271
+ }
272
+ interface BotMember {
273
+ service?: never;
274
+ agent?: never;
275
+ bot: WidgetBotTarget;
276
+ $unknown?: never;
277
+ }
278
+ /**
279
+ * @public
280
+ */
281
+ interface $UnknownMember {
282
+ service?: never;
283
+ agent?: never;
284
+ bot?: never;
285
+ $unknown: [string, any];
286
+ }
287
+ interface Visitor<T> {
288
+ service: (value: WidgetServiceTarget) => T;
289
+ agent: (value: WidgetAgentTarget) => T;
290
+ bot: (value: WidgetBotTarget) => T;
291
+ _: (name: string, value: any) => T;
292
+ }
293
+ const visit: <T>(value: WidgetTarget, visitor: Visitor<T>) => T;
294
+ }
295
+ /**
296
+ * @public
297
+ */
298
+ export interface WidgetRoute {
299
+ id: string;
300
+ rules: (WidgetRouteRule)[];
301
+ /**
302
+ * The target will be used if the specified route matches the specified rules. If no rules are matched, the default target of the widget will be used.
303
+ * @public
304
+ */
305
+ target: WidgetTarget;
306
+ }
307
+ /**
308
+ * @public
309
+ */
310
+ export interface WelcomeMessage {
311
+ /**
312
+ * Welcome message text.
313
+ * @public
314
+ */
315
+ text?: string;
316
+ /**
317
+ * A list of predefined replies will be visible to the user receiving the message. Once the user clicks on a reply, the system will automatically send the specified message to the conversation. You can specify up to 10 replies, which will only be visible if the message is the last one in the conversation.
318
+ * @public
319
+ */
320
+ predefinedReplies?: (MessagePredefinedReply)[];
321
+ /**
322
+ * The time in milliseconds until the message will be visible to the end user.
323
+ * @public
324
+ */
325
+ delay?: number;
326
+ }
327
+ /**
328
+ * @public
329
+ */
330
+ export interface CreateWidgetInput {
331
+ /**
332
+ * The appearance configuration allows you to customize colors and text settings.
333
+ * @public
334
+ */
335
+ appearance?: WidgetAppearance;
336
+ /**
337
+ * A list of routes that define different routing rules for the widget. Each route specifies a set of rules and a target to direct the interaction.
338
+ * @public
339
+ */
340
+ routes?: (WidgetRoute)[];
341
+ /**
342
+ * A list of welcome messages that will be sent to the user when they first interact with the widget.
343
+ * @public
344
+ */
345
+ welcomeMessages?: (WelcomeMessage)[];
346
+ name: string;
347
+ /**
348
+ * The primary target for the widget. This target is used if no route rules are matched. The target can be a service, an agent, or a bot, and it specifies where the widget directs its interactions.
349
+ * @public
350
+ */
351
+ target: WidgetTarget;
352
+ /**
353
+ * The unique identifier of the company when a service token is used.
354
+ * @public
355
+ */
356
+ companyId?: string;
357
+ }
358
+ /**
359
+ * @public
360
+ */
361
+ export interface Widget {
362
+ /**
363
+ * The appearance configuration allows you to customize colors and text settings.
364
+ * @public
365
+ */
366
+ appearance?: WidgetAppearance;
367
+ /**
368
+ * A list of routes that define different routing rules for the widget. Each route specifies a set of rules and a target to direct the interaction.
369
+ * @public
370
+ */
371
+ routes?: (WidgetRoute)[];
372
+ /**
373
+ * A list of welcome messages that will be sent to the user when they first interact with the widget.
374
+ * @public
375
+ */
376
+ welcomeMessages?: (WelcomeMessage)[];
377
+ name: string;
378
+ /**
379
+ * The primary target for the widget. This target is used if no route rules are matched. The target can be a service, an agent, or a bot, and it specifies where the widget directs its interactions.
380
+ * @public
381
+ */
382
+ target: WidgetTarget;
383
+ id: string;
384
+ company: string;
385
+ createdAt: string;
386
+ updatedAt?: string;
387
+ }
388
+ /**
389
+ * @public
390
+ */
391
+ export interface CreateWidgetOutput {
392
+ widget: Widget;
393
+ }
394
+ /**
395
+ * @public
396
+ */
397
+ export interface DeleteWidgetInput {
398
+ /**
399
+ * The unique identifier of the widget.
400
+ * @public
401
+ */
402
+ widgetId: string;
403
+ }
404
+ /**
405
+ * @public
406
+ */
407
+ export interface DeleteWidgetOutput {
408
+ }
409
+ /**
410
+ * @public
411
+ */
412
+ export interface GetConfigInput {
413
+ /**
414
+ * TODO
415
+ * @public
416
+ */
417
+ targetId: string;
418
+ }
419
+ /**
420
+ * @public
421
+ */
422
+ export interface KiteAgent {
423
+ id: string;
424
+ name?: string;
425
+ picture?: string;
426
+ bot?: boolean;
427
+ }
428
+ /**
429
+ * @public
430
+ * @enum
431
+ */
432
+ export declare const KiteFeatures: {
433
+ readonly SCHEDULING: "scheduling";
434
+ };
435
+ /**
436
+ * @public
437
+ */
438
+ export type KiteFeatures = typeof KiteFeatures[keyof typeof KiteFeatures];
439
+ /**
440
+ * @public
441
+ * @enum
442
+ */
443
+ export declare const KiteVariant: {
444
+ readonly DIRECT: "direct";
445
+ readonly GROUP: "group";
446
+ };
447
+ /**
448
+ * @public
449
+ */
450
+ export type KiteVariant = typeof KiteVariant[keyof typeof KiteVariant];
451
+ /**
452
+ * @public
453
+ */
454
+ export interface KiteConfig {
455
+ /**
456
+ * The unique identifier of the Kite widget or email of the agent (example: 36cv69ao or vadim.ruban@wildix.com).
457
+ * @public
458
+ */
459
+ targetId: string;
460
+ /**
461
+ * The unique identifier of the route for time-based configuration.
462
+ * @public
463
+ */
464
+ targetRouteId?: string;
465
+ targetVariant?: KiteVariant;
466
+ agents?: (KiteAgent)[];
467
+ /**
468
+ * The appearance settings like color scheme or custom texts.
469
+ * @public
470
+ */
471
+ appearance?: WidgetAppearance;
472
+ /**
473
+ * A list of welcome messages that should be visible to the user.
474
+ * @public
475
+ */
476
+ welcomeMessages?: (WelcomeMessage)[];
477
+ /**
478
+ * A list of features that are supported.
479
+ * @public
480
+ */
481
+ features?: (KiteFeatures)[];
482
+ }
483
+ /**
484
+ * @public
485
+ */
486
+ export interface GetConfigOutput {
487
+ config: KiteConfig;
488
+ }
489
+ /**
490
+ * @public
491
+ */
492
+ export declare class TargetNotFoundException extends __BaseException {
493
+ readonly name: "TargetNotFoundException";
494
+ readonly $fault: "client";
495
+ /**
496
+ * @internal
497
+ */
498
+ constructor(opts: __ExceptionOptionType<TargetNotFoundException, __BaseException>);
499
+ }
500
+ /**
501
+ * @public
502
+ */
503
+ export interface GetWidgetInput {
504
+ /**
505
+ * The unique identifier of the widget.
506
+ * @public
507
+ */
508
+ widgetId: string;
509
+ }
510
+ /**
511
+ * @public
512
+ */
513
+ export interface GetWidgetOutput {
514
+ widget: Widget;
515
+ }
516
+ /**
517
+ * @public
518
+ */
519
+ export declare class WidgetNotFoundException extends __BaseException {
520
+ readonly name: "WidgetNotFoundException";
521
+ readonly $fault: "client";
522
+ /**
523
+ * @internal
524
+ */
525
+ constructor(opts: __ExceptionOptionType<WidgetNotFoundException, __BaseException>);
526
+ }
527
+ /**
528
+ * @public
529
+ */
530
+ export interface ListServicesInput {
531
+ }
532
+ /**
533
+ * @public
534
+ */
535
+ export interface ServicePbx {
536
+ domain: string;
537
+ port: number;
538
+ }
539
+ /**
540
+ * @public
541
+ */
542
+ export interface ServiceSettings {
543
+ }
544
+ /**
545
+ * @public
546
+ */
547
+ export interface Service {
548
+ id: number;
549
+ title: string;
550
+ settings: ServiceSettings;
551
+ members: (User)[];
552
+ pbx: ServicePbx;
553
+ }
554
+ /**
555
+ * @public
556
+ */
557
+ export interface ListServicesOutput {
558
+ services: (Service)[];
559
+ }
560
+ /**
561
+ * @public
562
+ */
563
+ export interface ListWidgetsInput {
564
+ /**
565
+ * The unique identifier of the company when a service token is used.
566
+ * @public
567
+ */
568
+ companyId?: string;
569
+ }
570
+ /**
571
+ * @public
572
+ */
573
+ export interface ListWidgetsOutput {
574
+ widgets: (Widget)[];
575
+ }
576
+ /**
577
+ * @public
578
+ */
579
+ export interface UpdateWidgetInput {
580
+ /**
581
+ * The appearance configuration allows you to customize colors and text settings.
582
+ * @public
583
+ */
584
+ appearance?: WidgetAppearance;
585
+ /**
586
+ * A list of routes that define different routing rules for the widget. Each route specifies a set of rules and a target to direct the interaction.
587
+ * @public
588
+ */
589
+ routes?: (WidgetRoute)[];
590
+ /**
591
+ * A list of welcome messages that will be sent to the user when they first interact with the widget.
592
+ * @public
593
+ */
594
+ welcomeMessages?: (WelcomeMessage)[];
595
+ name: string;
596
+ /**
597
+ * The primary target for the widget. This target is used if no route rules are matched. The target can be a service, an agent, or a bot, and it specifies where the widget directs its interactions.
598
+ * @public
599
+ */
600
+ target: WidgetTarget;
601
+ /**
602
+ * The unique identifier of the company when a service token is used.
603
+ * @public
604
+ */
605
+ companyId?: string;
606
+ /**
607
+ * The unique identifier of the widget to be updated.
608
+ * @public
609
+ */
610
+ widgetId: string;
611
+ }
612
+ /**
613
+ * @public
614
+ */
615
+ export interface UpdateWidgetOutput {
616
+ widget: Widget;
617
+ }
@@ -0,0 +1,65 @@
1
+ import { CreateWidgetCommandInput, CreateWidgetCommandOutput } from "../commands/CreateWidgetCommand";
2
+ import { DeleteWidgetCommandInput, DeleteWidgetCommandOutput } from "../commands/DeleteWidgetCommand";
3
+ import { GetConfigCommandInput, GetConfigCommandOutput } from "../commands/GetConfigCommand";
4
+ import { GetWidgetCommandInput, GetWidgetCommandOutput } from "../commands/GetWidgetCommand";
5
+ import { ListServicesCommandInput, ListServicesCommandOutput } from "../commands/ListServicesCommand";
6
+ import { ListWidgetsCommandInput, ListWidgetsCommandOutput } from "../commands/ListWidgetsCommand";
7
+ import { UpdateWidgetCommandInput, UpdateWidgetCommandOutput } from "../commands/UpdateWidgetCommand";
8
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
9
+ import { SerdeContext as __SerdeContext } from "@smithy/types";
10
+ /**
11
+ * serializeAws_restJson1CreateWidgetCommand
12
+ */
13
+ export declare const se_CreateWidgetCommand: (input: CreateWidgetCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
14
+ /**
15
+ * serializeAws_restJson1DeleteWidgetCommand
16
+ */
17
+ export declare const se_DeleteWidgetCommand: (input: DeleteWidgetCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
18
+ /**
19
+ * serializeAws_restJson1GetConfigCommand
20
+ */
21
+ export declare const se_GetConfigCommand: (input: GetConfigCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
22
+ /**
23
+ * serializeAws_restJson1GetWidgetCommand
24
+ */
25
+ export declare const se_GetWidgetCommand: (input: GetWidgetCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
26
+ /**
27
+ * serializeAws_restJson1ListServicesCommand
28
+ */
29
+ export declare const se_ListServicesCommand: (input: ListServicesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
30
+ /**
31
+ * serializeAws_restJson1ListWidgetsCommand
32
+ */
33
+ export declare const se_ListWidgetsCommand: (input: ListWidgetsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
34
+ /**
35
+ * serializeAws_restJson1UpdateWidgetCommand
36
+ */
37
+ export declare const se_UpdateWidgetCommand: (input: UpdateWidgetCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
38
+ /**
39
+ * deserializeAws_restJson1CreateWidgetCommand
40
+ */
41
+ export declare const de_CreateWidgetCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateWidgetCommandOutput>;
42
+ /**
43
+ * deserializeAws_restJson1DeleteWidgetCommand
44
+ */
45
+ export declare const de_DeleteWidgetCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteWidgetCommandOutput>;
46
+ /**
47
+ * deserializeAws_restJson1GetConfigCommand
48
+ */
49
+ export declare const de_GetConfigCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetConfigCommandOutput>;
50
+ /**
51
+ * deserializeAws_restJson1GetWidgetCommand
52
+ */
53
+ export declare const de_GetWidgetCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetWidgetCommandOutput>;
54
+ /**
55
+ * deserializeAws_restJson1ListServicesCommand
56
+ */
57
+ export declare const de_ListServicesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListServicesCommandOutput>;
58
+ /**
59
+ * deserializeAws_restJson1ListWidgetsCommand
60
+ */
61
+ export declare const de_ListWidgetsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListWidgetsCommandOutput>;
62
+ /**
63
+ * deserializeAws_restJson1UpdateWidgetCommand
64
+ */
65
+ export declare const de_UpdateWidgetCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateWidgetCommandOutput>;
@@ -0,0 +1,28 @@
1
+ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
+ import { KiteClientConfig } from "./KiteClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: KiteClientConfig) => {
7
+ runtime: string;
8
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
+ defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
11
+ maxAttempts: number | import("@smithy/types").Provider<number>;
12
+ requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
13
+ retryMode: string | import("@smithy/types").Provider<string>;
14
+ sha256: import("@smithy/types").HashConstructor;
15
+ streamCollector: import("@smithy/types").StreamCollector;
16
+ env: "stage" | "stable" | "prod";
17
+ token: import("@wildix/smithy-utils").TokenProvider;
18
+ apiVersion: string;
19
+ urlParser: import("@smithy/types").UrlParser;
20
+ base64Decoder: import("@smithy/types").Decoder;
21
+ base64Encoder: (_input: string | Uint8Array) => string;
22
+ utf8Decoder: import("@smithy/types").Decoder;
23
+ utf8Encoder: (input: string | Uint8Array) => string;
24
+ disableHostPrefix: boolean;
25
+ logger: import("@smithy/types").Logger;
26
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
27
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
28
+ };