@wildix/xbees-kite-client 1.5.0 → 3.1.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 (128) hide show
  1. package/dist-cjs/Kite.js +3 -3
  2. package/dist-cjs/KiteClient.js +34 -28
  3. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  4. package/dist-cjs/auth/httpAuthSchemeProvider.js +40 -0
  5. package/dist-cjs/commands/CancelCalendarEventCommand.js +10 -11
  6. package/dist-cjs/commands/CreateOrUpdateWidgetPreviewCommand.js +10 -11
  7. package/dist-cjs/commands/CreateWidgetCommand.js +10 -11
  8. package/dist-cjs/commands/DeleteWidgetCommand.js +10 -11
  9. package/dist-cjs/commands/GetCalendarSlotsCommand.js +10 -11
  10. package/dist-cjs/commands/GetConfigCommand.js +10 -11
  11. package/dist-cjs/commands/GetSmsNumberConfigurationCommand.js +10 -11
  12. package/dist-cjs/commands/GetWhatsAppNumberConfigurationCommand.js +10 -11
  13. package/dist-cjs/commands/GetWidgetCommand.js +10 -11
  14. package/dist-cjs/commands/ListAgentsCommand.js +10 -11
  15. package/dist-cjs/commands/ListServicesCommand.js +10 -11
  16. package/dist-cjs/commands/ListSmsConfigurationsCommand.js +10 -11
  17. package/dist-cjs/commands/ListSmsNumbersCommand.js +10 -11
  18. package/dist-cjs/commands/ListWhatsAppConfigurationsCommand.js +10 -11
  19. package/dist-cjs/commands/ListWhatsAppNumbersCommand.js +10 -11
  20. package/dist-cjs/commands/ListWhatsAppTemplatesCommand.js +10 -11
  21. package/dist-cjs/commands/ListWidgetsCommand.js +10 -11
  22. package/dist-cjs/commands/PutSmsNumberConfigurationCommand.js +10 -11
  23. package/dist-cjs/commands/PutWhatsAppNumberConfigurationCommand.js +10 -11
  24. package/dist-cjs/commands/RescheduleCalendarEventCommand.js +10 -11
  25. package/dist-cjs/commands/ScheduleCalendarEventCommand.js +10 -11
  26. package/dist-cjs/commands/UpdateWidgetCommand.js +10 -11
  27. package/dist-cjs/endpoint/EndpointParameters.js +16 -0
  28. package/dist-cjs/endpoint/bdd.js +28 -0
  29. package/dist-cjs/endpoint/endpointResolver.js +16 -0
  30. package/dist-cjs/index.js +7 -4
  31. package/dist-cjs/models/KiteSyntheticServiceException.js +12 -0
  32. package/dist-cjs/models/enums.js +80 -0
  33. package/dist-cjs/models/errors.js +116 -0
  34. package/dist-cjs/models/models_0.js +0 -303
  35. package/dist-cjs/runtimeConfig.browser.js +11 -11
  36. package/dist-cjs/runtimeConfig.js +22 -18
  37. package/dist-cjs/runtimeConfig.shared.js +30 -10
  38. package/dist-cjs/runtimeExtensions.js +6 -5
  39. package/dist-cjs/schemas/schemas_0.js +1160 -0
  40. package/dist-es/Kite.js +4 -4
  41. package/dist-es/KiteClient.js +30 -24
  42. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  43. package/dist-es/auth/httpAuthSchemeProvider.js +34 -0
  44. package/dist-es/commands/CancelCalendarEventCommand.js +9 -10
  45. package/dist-es/commands/CreateOrUpdateWidgetPreviewCommand.js +9 -10
  46. package/dist-es/commands/CreateWidgetCommand.js +9 -10
  47. package/dist-es/commands/DeleteWidgetCommand.js +9 -10
  48. package/dist-es/commands/GetCalendarSlotsCommand.js +9 -10
  49. package/dist-es/commands/GetConfigCommand.js +9 -10
  50. package/dist-es/commands/GetSmsNumberConfigurationCommand.js +9 -10
  51. package/dist-es/commands/GetWhatsAppNumberConfigurationCommand.js +9 -10
  52. package/dist-es/commands/GetWidgetCommand.js +9 -10
  53. package/dist-es/commands/ListAgentsCommand.js +9 -10
  54. package/dist-es/commands/ListServicesCommand.js +9 -10
  55. package/dist-es/commands/ListSmsConfigurationsCommand.js +9 -10
  56. package/dist-es/commands/ListSmsNumbersCommand.js +9 -10
  57. package/dist-es/commands/ListWhatsAppConfigurationsCommand.js +9 -10
  58. package/dist-es/commands/ListWhatsAppNumbersCommand.js +9 -10
  59. package/dist-es/commands/ListWhatsAppTemplatesCommand.js +9 -10
  60. package/dist-es/commands/ListWidgetsCommand.js +9 -10
  61. package/dist-es/commands/PutSmsNumberConfigurationCommand.js +9 -10
  62. package/dist-es/commands/PutWhatsAppNumberConfigurationCommand.js +9 -10
  63. package/dist-es/commands/RescheduleCalendarEventCommand.js +9 -10
  64. package/dist-es/commands/ScheduleCalendarEventCommand.js +9 -10
  65. package/dist-es/commands/UpdateWidgetCommand.js +9 -10
  66. package/dist-es/endpoint/EndpointParameters.js +12 -0
  67. package/dist-es/endpoint/bdd.js +25 -0
  68. package/dist-es/endpoint/endpointResolver.js +12 -0
  69. package/dist-es/index.js +5 -2
  70. package/dist-es/models/KiteSyntheticServiceException.js +8 -0
  71. package/dist-es/models/enums.js +77 -0
  72. package/dist-es/models/errors.js +105 -0
  73. package/dist-es/models/models_0.js +1 -294
  74. package/dist-es/runtimeConfig.browser.js +7 -7
  75. package/dist-es/runtimeConfig.js +17 -13
  76. package/dist-es/runtimeConfig.shared.js +24 -4
  77. package/dist-es/runtimeExtensions.js +6 -5
  78. package/dist-es/schemas/schemas_0.js +1155 -0
  79. package/dist-types/Kite.d.ts +23 -23
  80. package/dist-types/KiteClient.d.ts +52 -34
  81. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  82. package/dist-types/auth/httpAuthSchemeProvider.d.ts +81 -0
  83. package/dist-types/commands/CancelCalendarEventCommand.d.ts +12 -8
  84. package/dist-types/commands/CreateOrUpdateWidgetPreviewCommand.d.ts +12 -8
  85. package/dist-types/commands/CreateWidgetCommand.d.ts +12 -8
  86. package/dist-types/commands/DeleteWidgetCommand.d.ts +12 -8
  87. package/dist-types/commands/GetCalendarSlotsCommand.d.ts +12 -8
  88. package/dist-types/commands/GetConfigCommand.d.ts +12 -8
  89. package/dist-types/commands/GetSmsNumberConfigurationCommand.d.ts +12 -8
  90. package/dist-types/commands/GetWhatsAppNumberConfigurationCommand.d.ts +12 -8
  91. package/dist-types/commands/GetWidgetCommand.d.ts +12 -8
  92. package/dist-types/commands/ListAgentsCommand.d.ts +12 -8
  93. package/dist-types/commands/ListServicesCommand.d.ts +12 -8
  94. package/dist-types/commands/ListSmsConfigurationsCommand.d.ts +12 -8
  95. package/dist-types/commands/ListSmsNumbersCommand.d.ts +12 -8
  96. package/dist-types/commands/ListWhatsAppConfigurationsCommand.d.ts +12 -8
  97. package/dist-types/commands/ListWhatsAppNumbersCommand.d.ts +12 -8
  98. package/dist-types/commands/ListWhatsAppTemplatesCommand.d.ts +12 -8
  99. package/dist-types/commands/ListWidgetsCommand.d.ts +12 -8
  100. package/dist-types/commands/PutSmsNumberConfigurationCommand.d.ts +12 -8
  101. package/dist-types/commands/PutWhatsAppNumberConfigurationCommand.d.ts +12 -8
  102. package/dist-types/commands/RescheduleCalendarEventCommand.d.ts +12 -8
  103. package/dist-types/commands/ScheduleCalendarEventCommand.d.ts +12 -8
  104. package/dist-types/commands/UpdateWidgetCommand.d.ts +12 -8
  105. package/dist-types/endpoint/EndpointParameters.d.ts +41 -0
  106. package/dist-types/endpoint/bdd.d.ts +2 -0
  107. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  108. package/dist-types/extensionConfiguration.d.ts +4 -3
  109. package/dist-types/index.d.ts +6 -2
  110. package/dist-types/models/{KiteServiceException.d.ts → KiteSyntheticServiceException.d.ts} +2 -2
  111. package/dist-types/models/enums.d.ts +197 -0
  112. package/dist-types/models/errors.d.ts +110 -0
  113. package/dist-types/models/models_0.d.ts +105 -381
  114. package/dist-types/runtimeConfig.browser.d.ts +35 -16
  115. package/dist-types/runtimeConfig.d.ts +34 -15
  116. package/dist-types/runtimeConfig.native.d.ts +36 -17
  117. package/dist-types/runtimeConfig.shared.d.ts +20 -3
  118. package/dist-types/runtimeExtensions.d.ts +1 -1
  119. package/dist-types/schemas/schemas_0.d.ts +153 -0
  120. package/package.json +14 -40
  121. package/dist-cjs/models/KiteServiceException.js +0 -12
  122. package/dist-cjs/models/index.js +0 -4
  123. package/dist-cjs/protocols/Aws_restJson1.js +0 -963
  124. package/dist-es/models/KiteServiceException.js +0 -8
  125. package/dist-es/models/index.js +0 -1
  126. package/dist-es/protocols/Aws_restJson1.js +0 -916
  127. package/dist-types/models/index.d.ts +0 -1
  128. package/dist-types/protocols/Aws_restJson1.d.ts +0 -200
@@ -1,69 +1,4 @@
1
- import { KiteServiceException as __BaseException } from "./KiteServiceException";
2
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
3
- /**
4
- * @public
5
- */
6
- export declare class ForbiddenException extends __BaseException {
7
- readonly name: "ForbiddenException";
8
- readonly $fault: "client";
9
- /**
10
- * @internal
11
- */
12
- constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
13
- }
14
- /**
15
- * @public
16
- */
17
- export declare class NotFoundException extends __BaseException {
18
- readonly name: "NotFoundException";
19
- readonly $fault: "client";
20
- /**
21
- * @internal
22
- */
23
- constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
24
- }
25
- /**
26
- * @public
27
- */
28
- export declare class RateLimitExceededException extends __BaseException {
29
- readonly name: "RateLimitExceededException";
30
- readonly $fault: "client";
31
- /**
32
- * Displays the applicable rate limits for the current request.
33
- * @public
34
- */
35
- rateLimit?: string | undefined;
36
- /**
37
- * Indicates how many requests a user can still make within the current time window.
38
- * @public
39
- */
40
- rateLimitRemaining?: number | undefined;
41
- /**
42
- * Shows the time in seconds until the rate limit resets.
43
- * @public
44
- */
45
- rateLimitReset?: number | undefined;
46
- /**
47
- * Displays how many seconds the user agent should wait before making a follow-up request.
48
- * @public
49
- */
50
- retryAfter?: number | undefined;
51
- /**
52
- * @internal
53
- */
54
- constructor(opts: __ExceptionOptionType<RateLimitExceededException, __BaseException>);
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
- }
1
+ import type { ButtonType, ButtonVariant, ChannelAccess, ChannelContextEventAttendeeStatus, ChannelContextSource, ChannelType, ChannelWhatsAppStatus, ComponentFormat, ComponentType, KiteFeatures, KiteVariant, ParameterFormat, RouteTimeFrameDay, TemplateCategory, TemplateStatus } from "./enums";
67
2
  /**
68
3
  * @public
69
4
  */
@@ -71,25 +6,6 @@ export interface BodyTextNamedParam {
71
6
  paramName: string;
72
7
  example: string;
73
8
  }
74
- /**
75
- * @public
76
- * @enum
77
- */
78
- export declare const ButtonType: {
79
- readonly APP: "APP";
80
- readonly CATALOG: "CATALOG";
81
- readonly FLOW: "FLOW";
82
- readonly MPM: "MPM";
83
- readonly OTP: "OTP";
84
- readonly PHONE_NUMBER: "PHONE_NUMBER";
85
- readonly QUICK_REPLY: "QUICK_REPLY";
86
- readonly URL: "URL";
87
- readonly VOICE_CALL: "VOICE_CALL";
88
- };
89
- /**
90
- * @public
91
- */
92
- export type ButtonType = typeof ButtonType[keyof typeof ButtonType];
93
9
  /**
94
10
  * @public
95
11
  */
@@ -100,52 +16,13 @@ export interface Button {
100
16
  flowAction?: string | undefined;
101
17
  navigateScreen?: string | undefined;
102
18
  }
103
- /**
104
- * @public
105
- * @enum
106
- */
107
- export declare const TemplateCategory: {
108
- readonly AUTHENTICATION: "AUTHENTICATION";
109
- readonly MARKETING: "MARKETING";
110
- readonly UTILITY: "UTILITY";
111
- };
112
- /**
113
- * @public
114
- */
115
- export type TemplateCategory = typeof TemplateCategory[keyof typeof TemplateCategory];
116
19
  /**
117
20
  * @public
118
21
  */
119
22
  export interface ComponentExample {
120
- headerHandle?: (string)[] | undefined;
121
- bodyTextNamedParams?: (BodyTextNamedParam)[] | undefined;
23
+ headerHandle?: string[] | undefined;
24
+ bodyTextNamedParams?: BodyTextNamedParam[] | undefined;
122
25
  }
123
- /**
124
- * @public
125
- * @enum
126
- */
127
- export declare const ComponentFormat: {
128
- readonly IMAGE: "IMAGE";
129
- readonly TEXT: "TEXT";
130
- };
131
- /**
132
- * @public
133
- */
134
- export type ComponentFormat = typeof ComponentFormat[keyof typeof ComponentFormat];
135
- /**
136
- * @public
137
- * @enum
138
- */
139
- export declare const ComponentType: {
140
- readonly BODY: "BODY";
141
- readonly BUTTONS: "BUTTONS";
142
- readonly FOOTER: "FOOTER";
143
- readonly HEADER: "HEADER";
144
- };
145
- /**
146
- * @public
147
- */
148
- export type ComponentType = typeof ComponentType[keyof typeof ComponentType];
149
26
  /**
150
27
  * @public
151
28
  */
@@ -154,39 +31,15 @@ export interface Component {
154
31
  format: ComponentFormat;
155
32
  text?: string | undefined;
156
33
  example?: ComponentExample | undefined;
157
- buttons?: (Button)[] | undefined;
34
+ buttons?: Button[] | undefined;
158
35
  }
159
- /**
160
- * @public
161
- * @enum
162
- */
163
- export declare const ParameterFormat: {
164
- readonly NAMED: "NAMED";
165
- };
166
- /**
167
- * @public
168
- */
169
- export type ParameterFormat = typeof ParameterFormat[keyof typeof ParameterFormat];
170
- /**
171
- * @public
172
- * @enum
173
- */
174
- export declare const TemplateStatus: {
175
- readonly APPROVED: "APPROVED";
176
- readonly PAUSED: "PAUSED";
177
- readonly REJECTED: "REJECTED";
178
- };
179
- /**
180
- * @public
181
- */
182
- export type TemplateStatus = typeof TemplateStatus[keyof typeof TemplateStatus];
183
36
  /**
184
37
  * @public
185
38
  */
186
39
  export interface Template {
187
40
  name: string;
188
41
  parameterFormat: ParameterFormat;
189
- components: (Component)[];
42
+ components: Component[];
190
43
  language: string;
191
44
  status: TemplateStatus;
192
45
  category: TemplateCategory;
@@ -205,31 +58,8 @@ export interface TemplateParameter {
205
58
  */
206
59
  export interface TemplateWithParameters {
207
60
  name: string;
208
- parameters?: (TemplateParameter)[] | undefined;
61
+ parameters?: TemplateParameter[] | undefined;
209
62
  }
210
- /**
211
- * @public
212
- */
213
- export declare class TargetNotFoundException extends __BaseException {
214
- readonly name: "TargetNotFoundException";
215
- readonly $fault: "client";
216
- /**
217
- * @internal
218
- */
219
- constructor(opts: __ExceptionOptionType<TargetNotFoundException, __BaseException>);
220
- }
221
- /**
222
- * @public
223
- * @enum
224
- */
225
- export declare const ChannelAccess: {
226
- readonly PRIVATE: "private";
227
- readonly PUBLIC: "public";
228
- };
229
- /**
230
- * @public
231
- */
232
- export type ChannelAccess = typeof ChannelAccess[keyof typeof ChannelAccess];
233
63
  /**
234
64
  * @public
235
65
  */
@@ -252,32 +82,6 @@ export interface User {
252
82
  createdAt?: string | undefined;
253
83
  updatedAt?: string | undefined;
254
84
  }
255
- /**
256
- * @public
257
- * @enum
258
- */
259
- export declare const ChannelType: {
260
- readonly DIRECT: "direct";
261
- readonly GROUP: "group";
262
- };
263
- /**
264
- * @public
265
- */
266
- export type ChannelType = typeof ChannelType[keyof typeof ChannelType];
267
- /**
268
- * @public
269
- * @enum
270
- */
271
- export declare const ChannelContextEventAttendeeStatus: {
272
- readonly ACCEPTED: "accepted";
273
- readonly DECLINED: "declined";
274
- readonly NONE: "none";
275
- readonly TENTATIVE: "tentative";
276
- };
277
- /**
278
- * @public
279
- */
280
- export type ChannelContextEventAttendeeStatus = typeof ChannelContextEventAttendeeStatus[keyof typeof ChannelContextEventAttendeeStatus];
281
85
  /**
282
86
  * @public
283
87
  */
@@ -295,7 +99,7 @@ export interface ChannelContextEvent {
295
99
  start?: string | undefined;
296
100
  end?: string | undefined;
297
101
  summary?: string | undefined;
298
- attendees?: (ChannelContextEventAttendee)[] | undefined;
102
+ attendees?: ChannelContextEventAttendee[] | undefined;
299
103
  }
300
104
  /**
301
105
  * @public
@@ -307,37 +111,15 @@ export interface ChannelContextPushToTalk {
307
111
  */
308
112
  broadcastId?: string | undefined;
309
113
  }
310
- /**
311
- * @public
312
- * @enum
313
- */
314
- export declare const ChannelContextSource: {
315
- readonly KITE: "kite";
316
- };
317
- /**
318
- * @public
319
- */
320
- export type ChannelContextSource = typeof ChannelContextSource[keyof typeof ChannelContextSource];
321
114
  /**
322
115
  * @public
323
116
  */
324
117
  export interface ChannelContext {
325
118
  source?: ChannelContextSource | undefined;
326
119
  target?: string | undefined;
327
- events?: (ChannelContextEvent)[] | undefined;
120
+ events?: ChannelContextEvent[] | undefined;
328
121
  ptt?: ChannelContextPushToTalk | undefined;
329
122
  }
330
- /**
331
- * @public
332
- * @enum
333
- */
334
- export declare const ChannelWhatsAppStatus: {
335
- readonly CHANNEL_CLOSED: "24h_channel_closed";
336
- };
337
- /**
338
- * @public
339
- */
340
- export type ChannelWhatsAppStatus = typeof ChannelWhatsAppStatus[keyof typeof ChannelWhatsAppStatus];
341
123
  /**
342
124
  * @public
343
125
  */
@@ -441,26 +223,17 @@ export declare namespace ButtonHandler {
441
223
  action?: never;
442
224
  $unknown: [string, any];
443
225
  }
226
+ /**
227
+ * @deprecated unused in schema-serde mode.
228
+ *
229
+ */
444
230
  interface Visitor<T> {
445
231
  link: (value: ButtonLinkHandler) => T;
446
232
  reply: (value: ButtonReplyHandler) => T;
447
233
  action: (value: ButtonActionHandler) => T;
448
234
  _: (name: string, value: any) => T;
449
235
  }
450
- const visit: <T>(value: ButtonHandler, visitor: Visitor<T>) => T;
451
236
  }
452
- /**
453
- * @public
454
- * @enum
455
- */
456
- export declare const ButtonVariant: {
457
- readonly CONTAINED: "contained";
458
- readonly OUTLINED: "outlined";
459
- };
460
- /**
461
- * @public
462
- */
463
- export type ButtonVariant = typeof ButtonVariant[keyof typeof ButtonVariant];
464
237
  /**
465
238
  * @public
466
239
  */
@@ -489,11 +262,14 @@ export declare namespace ActionElement {
489
262
  button?: never;
490
263
  $unknown: [string, any];
491
264
  }
265
+ /**
266
+ * @deprecated unused in schema-serde mode.
267
+ *
268
+ */
492
269
  interface Visitor<T> {
493
270
  button: (value: ButtonElement) => T;
494
271
  _: (name: string, value: any) => T;
495
272
  }
496
- const visit: <T>(value: ActionElement, visitor: Visitor<T>) => T;
497
273
  }
498
274
  /**
499
275
  * @public
@@ -516,7 +292,7 @@ export declare namespace Element {
516
292
  }
517
293
  interface ActionsMember {
518
294
  template?: never;
519
- actions: (ActionElement)[];
295
+ actions: ActionElement[];
520
296
  $unknown?: never;
521
297
  }
522
298
  /**
@@ -527,12 +303,15 @@ export declare namespace Element {
527
303
  actions?: never;
528
304
  $unknown: [string, any];
529
305
  }
306
+ /**
307
+ * @deprecated unused in schema-serde mode.
308
+ *
309
+ */
530
310
  interface Visitor<T> {
531
311
  template: (value: MessageTemplateConfig) => T;
532
- actions: (value: (ActionElement)[]) => T;
312
+ actions: (value: ActionElement[]) => T;
533
313
  _: (name: string, value: any) => T;
534
314
  }
535
- const visit: <T>(value: Element, visitor: Visitor<T>) => T;
536
315
  }
537
316
  /**
538
317
  * @public
@@ -545,34 +324,23 @@ export interface CalendarSlot {
545
324
  */
546
325
  export interface CalendarDaySlots {
547
326
  date?: string | undefined;
548
- slots?: (CalendarSlot)[] | undefined;
327
+ slots?: CalendarSlot[] | undefined;
549
328
  }
550
329
  /**
551
330
  * @public
552
331
  */
553
332
  export interface CalendarAvailabilitySettings {
554
- duration?: (string)[] | undefined;
333
+ duration?: string[] | undefined;
555
334
  }
556
335
  /**
557
336
  * @public
558
337
  */
559
338
  export interface CalendarAvailability {
560
- days?: (CalendarDaySlots)[] | undefined;
339
+ days?: CalendarDaySlots[] | undefined;
561
340
  duration?: string | undefined;
562
341
  timeZone?: string | undefined;
563
342
  settings?: CalendarAvailabilitySettings | undefined;
564
343
  }
565
- /**
566
- * @public
567
- */
568
- export declare class ChannelNotFoundException extends __BaseException {
569
- readonly name: "ChannelNotFoundException";
570
- readonly $fault: "client";
571
- /**
572
- * @internal
573
- */
574
- constructor(opts: __ExceptionOptionType<ChannelNotFoundException, __BaseException>);
575
- }
576
344
  /**
577
345
  * @public
578
346
  */
@@ -595,7 +363,7 @@ export interface Service {
595
363
  uri: string;
596
364
  title: string;
597
365
  settings: ServiceSettings;
598
- extensions: (string)[];
366
+ extensions: string[];
599
367
  pbx: ServicePbx;
600
368
  }
601
369
  /**
@@ -607,7 +375,7 @@ export interface CalendarEvent {
607
375
  start?: string | undefined;
608
376
  end?: string | undefined;
609
377
  summary?: string | undefined;
610
- attendees?: (string)[] | undefined;
378
+ attendees?: string[] | undefined;
611
379
  }
612
380
  /**
613
381
  * @public
@@ -715,6 +483,10 @@ export declare namespace RouteActionCondition {
715
483
  evaluation?: never;
716
484
  $unknown: [string, any];
717
485
  }
486
+ /**
487
+ * @deprecated unused in schema-serde mode.
488
+ *
489
+ */
718
490
  interface Visitor<T> {
719
491
  replyTimeout: (value: RouteReplyTimeoutCondition) => T;
720
492
  readTimeout: (value: RouteReadTimeoutCondition) => T;
@@ -722,13 +494,12 @@ export declare namespace RouteActionCondition {
722
494
  evaluation: (value: RouteEvaluationCondition) => T;
723
495
  _: (name: string, value: any) => T;
724
496
  }
725
- const visit: <T>(value: RouteActionCondition, visitor: Visitor<T>) => T;
726
497
  }
727
498
  /**
728
499
  * @public
729
500
  */
730
501
  export interface RouteAddMembersTask {
731
- emails: (string)[];
502
+ emails: string[];
732
503
  }
733
504
  /**
734
505
  * @public
@@ -763,7 +534,7 @@ export interface RouteNotifyEmail {
763
534
  * List of generative variables that can be used to customize the email message content.
764
535
  * @public
765
536
  */
766
- variables?: (RouteGenerativeVariable)[] | undefined;
537
+ variables?: RouteGenerativeVariable[] | undefined;
767
538
  }
768
539
  /**
769
540
  * @public
@@ -793,7 +564,7 @@ export interface RouteNotifyMessage {
793
564
  * List of generative variables that can be used to customize the email message content.
794
565
  * @public
795
566
  */
796
- variables?: (RouteGenerativeVariable)[] | undefined;
567
+ variables?: RouteGenerativeVariable[] | undefined;
797
568
  }
798
569
  /**
799
570
  * @public
@@ -879,6 +650,10 @@ export declare namespace RouteActionTask {
879
650
  notifyEmail?: never;
880
651
  $unknown: [string, any];
881
652
  }
653
+ /**
654
+ * @deprecated unused in schema-serde mode.
655
+ *
656
+ */
882
657
  interface Visitor<T> {
883
658
  sendMessage: (value: RouteSendMessageTask) => T;
884
659
  sendGenerativeMessage: (value: RouteSendGenerativeMessageTask) => T;
@@ -887,7 +662,6 @@ export declare namespace RouteActionTask {
887
662
  notifyEmail: (value: RouteNotifyEmail) => T;
888
663
  _: (name: string, value: any) => T;
889
664
  }
890
- const visit: <T>(value: RouteActionTask, visitor: Visitor<T>) => T;
891
665
  }
892
666
  /**
893
667
  * @public
@@ -898,7 +672,7 @@ export interface RouteAction {
898
672
  * List of conditions that must match before making an action.
899
673
  * @public
900
674
  */
901
- conditions?: (RouteActionCondition)[] | undefined;
675
+ conditions?: RouteActionCondition[] | undefined;
902
676
  /**
903
677
  * Task that must be performed once all conditions are met.
904
678
  * @public
@@ -965,26 +739,6 @@ export interface WidgetAppearance {
965
739
  */
966
740
  text?: WidgetTextSettings | undefined;
967
741
  }
968
- /**
969
- * @public
970
- * @enum
971
- */
972
- export declare const RouteTimeFrameDay: {
973
- readonly EVERY_DAY: "EVERY_DAY";
974
- readonly FRIDAY: "FRIDAY";
975
- readonly MONDAY: "MONDAY";
976
- readonly SATURDAY: "SATURDAY";
977
- readonly SUNDAY: "SUNDAY";
978
- readonly THURSDAY: "THURSDAY";
979
- readonly TUESDAY: "TUESDAY";
980
- readonly WEDNESDAY: "WEDNESDAY";
981
- readonly WEEKDAYS: "WEEKDAYS";
982
- readonly WEEKENDS: "WEEKENDS";
983
- };
984
- /**
985
- * @public
986
- */
987
- export type RouteTimeFrameDay = typeof RouteTimeFrameDay[keyof typeof RouteTimeFrameDay];
988
742
  /**
989
743
  * @public
990
744
  */
@@ -1029,11 +783,14 @@ export declare namespace WidgetRouteRule {
1029
783
  timeFrame?: never;
1030
784
  $unknown: [string, any];
1031
785
  }
786
+ /**
787
+ * @deprecated unused in schema-serde mode.
788
+ *
789
+ */
1032
790
  interface Visitor<T> {
1033
791
  timeFrame: (value: WidgetRouteTimeFrameRule) => T;
1034
792
  _: (name: string, value: any) => T;
1035
793
  }
1036
- const visit: <T>(value: WidgetRouteRule, visitor: Visitor<T>) => T;
1037
794
  }
1038
795
  /**
1039
796
  * @public
@@ -1105,20 +862,23 @@ export declare namespace WidgetTarget {
1105
862
  bot?: never;
1106
863
  $unknown: [string, any];
1107
864
  }
865
+ /**
866
+ * @deprecated unused in schema-serde mode.
867
+ *
868
+ */
1108
869
  interface Visitor<T> {
1109
870
  service: (value: WidgetServiceTarget) => T;
1110
871
  agent: (value: WidgetAgentTarget) => T;
1111
872
  bot: (value: WidgetBotTarget) => T;
1112
873
  _: (name: string, value: any) => T;
1113
874
  }
1114
- const visit: <T>(value: WidgetTarget, visitor: Visitor<T>) => T;
1115
875
  }
1116
876
  /**
1117
877
  * @public
1118
878
  */
1119
879
  export interface WidgetWelcomeMessage {
1120
880
  text?: string | undefined;
1121
- elements?: (Element)[] | undefined;
881
+ elements?: Element[] | undefined;
1122
882
  /**
1123
883
  * The time in milliseconds until the message will be visible to the end user.
1124
884
  * @public
@@ -1130,12 +890,12 @@ export interface WidgetWelcomeMessage {
1130
890
  */
1131
891
  export interface WidgetRoute {
1132
892
  id: string;
1133
- rules: (WidgetRouteRule)[];
893
+ rules: WidgetRouteRule[];
1134
894
  /**
1135
895
  * A list of welcome messages that will be sent to the user when they first interact with the widget.
1136
896
  * @public
1137
897
  */
1138
- welcomeMessages?: (WidgetWelcomeMessage)[] | undefined;
898
+ welcomeMessages?: WidgetWelcomeMessage[] | undefined;
1139
899
  /**
1140
900
  * 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.
1141
901
  * @public
@@ -1145,7 +905,7 @@ export interface WidgetRoute {
1145
905
  * Actions that will be used if the specified route and the conditions within a specific action are met.
1146
906
  * @public
1147
907
  */
1148
- actions?: (RouteAction)[] | undefined;
908
+ actions?: RouteAction[] | undefined;
1149
909
  }
1150
910
  /**
1151
911
  * @public
@@ -1160,12 +920,12 @@ export interface CreateOrUpdateWidgetPreviewInput {
1160
920
  * 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.
1161
921
  * @public
1162
922
  */
1163
- routes?: (WidgetRoute)[] | undefined;
923
+ routes?: WidgetRoute[] | undefined;
1164
924
  /**
1165
925
  * A list of welcome messages that will be sent to the user when they first interact with the widget.
1166
926
  * @public
1167
927
  */
1168
- welcomeMessages?: (WidgetWelcomeMessage)[] | undefined;
928
+ welcomeMessages?: WidgetWelcomeMessage[] | undefined;
1169
929
  name: string;
1170
930
  /**
1171
931
  * 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.
@@ -1191,7 +951,7 @@ export interface CreateOrUpdateWidgetPreviewInput {
1191
951
  * Actions that will be used if the specified route and the conditions within a specific action are met.
1192
952
  * @public
1193
953
  */
1194
- actions?: (RouteAction)[] | undefined;
954
+ actions?: RouteAction[] | undefined;
1195
955
  /**
1196
956
  * The unique identifier of the company when a service token is used.
1197
957
  * @public
@@ -1212,12 +972,12 @@ export interface Widget {
1212
972
  * 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.
1213
973
  * @public
1214
974
  */
1215
- routes?: (WidgetRoute)[] | undefined;
975
+ routes?: WidgetRoute[] | undefined;
1216
976
  /**
1217
977
  * A list of welcome messages that will be sent to the user when they first interact with the widget.
1218
978
  * @public
1219
979
  */
1220
- welcomeMessages?: (WidgetWelcomeMessage)[] | undefined;
980
+ welcomeMessages?: WidgetWelcomeMessage[] | undefined;
1221
981
  name: string;
1222
982
  /**
1223
983
  * 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.
@@ -1243,7 +1003,7 @@ export interface Widget {
1243
1003
  * Actions that will be used if the specified route and the conditions within a specific action are met.
1244
1004
  * @public
1245
1005
  */
1246
- actions?: (RouteAction)[] | undefined;
1006
+ actions?: RouteAction[] | undefined;
1247
1007
  id: string;
1248
1008
  company: string;
1249
1009
  createdAt: string;
@@ -1268,12 +1028,12 @@ export interface CreateWidgetInput {
1268
1028
  * 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.
1269
1029
  * @public
1270
1030
  */
1271
- routes?: (WidgetRoute)[] | undefined;
1031
+ routes?: WidgetRoute[] | undefined;
1272
1032
  /**
1273
1033
  * A list of welcome messages that will be sent to the user when they first interact with the widget.
1274
1034
  * @public
1275
1035
  */
1276
- welcomeMessages?: (WidgetWelcomeMessage)[] | undefined;
1036
+ welcomeMessages?: WidgetWelcomeMessage[] | undefined;
1277
1037
  name: string;
1278
1038
  /**
1279
1039
  * 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.
@@ -1299,7 +1059,7 @@ export interface CreateWidgetInput {
1299
1059
  * Actions that will be used if the specified route and the conditions within a specific action are met.
1300
1060
  * @public
1301
1061
  */
1302
- actions?: (RouteAction)[] | undefined;
1062
+ actions?: RouteAction[] | undefined;
1303
1063
  /**
1304
1064
  * The unique identifier of the company when a service token is used.
1305
1065
  * @public
@@ -1327,17 +1087,6 @@ export interface DeleteWidgetInput {
1327
1087
  */
1328
1088
  export interface DeleteWidgetOutput {
1329
1089
  }
1330
- /**
1331
- * @public
1332
- */
1333
- export declare class EventNotFoundException extends __BaseException {
1334
- readonly name: "EventNotFoundException";
1335
- readonly $fault: "client";
1336
- /**
1337
- * @internal
1338
- */
1339
- constructor(opts: __ExceptionOptionType<EventNotFoundException, __BaseException>);
1340
- }
1341
1090
  /**
1342
1091
  * @public
1343
1092
  */
@@ -1393,17 +1142,6 @@ export interface KiteConfigAgent {
1393
1142
  createdAt?: string | undefined;
1394
1143
  updatedAt?: string | undefined;
1395
1144
  }
1396
- /**
1397
- * @public
1398
- * @enum
1399
- */
1400
- export declare const KiteFeatures: {
1401
- readonly SCHEDULING: "scheduling";
1402
- };
1403
- /**
1404
- * @public
1405
- */
1406
- export type KiteFeatures = typeof KiteFeatures[keyof typeof KiteFeatures];
1407
1145
  /**
1408
1146
  * @public
1409
1147
  */
@@ -1411,18 +1149,6 @@ export interface KiteTargetService {
1411
1149
  uri: string;
1412
1150
  title: string;
1413
1151
  }
1414
- /**
1415
- * @public
1416
- * @enum
1417
- */
1418
- export declare const KiteVariant: {
1419
- readonly DIRECT: "direct";
1420
- readonly GROUP: "group";
1421
- };
1422
- /**
1423
- * @public
1424
- */
1425
- export type KiteVariant = typeof KiteVariant[keyof typeof KiteVariant];
1426
1152
  /**
1427
1153
  * @public
1428
1154
  */
@@ -1444,7 +1170,7 @@ export interface KiteConfig {
1444
1170
  targetRouteId?: string | undefined;
1445
1171
  targetVariant: KiteVariant;
1446
1172
  targetService?: KiteTargetService | undefined;
1447
- agents: (KiteConfigAgent)[];
1173
+ agents: KiteConfigAgent[];
1448
1174
  /**
1449
1175
  * The appearance settings like color scheme or custom texts.
1450
1176
  * @public
@@ -1454,7 +1180,7 @@ export interface KiteConfig {
1454
1180
  * A list of welcome messages that should be visible to the user.
1455
1181
  * @public
1456
1182
  */
1457
- welcomeMessages?: (WidgetWelcomeMessage)[] | undefined;
1183
+ welcomeMessages?: WidgetWelcomeMessage[] | undefined;
1458
1184
  /**
1459
1185
  * Controls whether unauthenticated users are allowed to start guest sessions through this widget. If omitted, false is assumed and the widget should be treated as authenticated-only.
1460
1186
  * @public
@@ -1474,7 +1200,7 @@ export interface KiteConfig {
1474
1200
  * A list of features that are supported.
1475
1201
  * @public
1476
1202
  */
1477
- features?: (KiteFeatures)[] | undefined;
1203
+ features?: KiteFeatures[] | undefined;
1478
1204
  }
1479
1205
  /**
1480
1206
  * @public
@@ -1537,11 +1263,14 @@ export declare namespace RouteRule {
1537
1263
  timeFrame?: never;
1538
1264
  $unknown: [string, any];
1539
1265
  }
1266
+ /**
1267
+ * @deprecated unused in schema-serde mode.
1268
+ *
1269
+ */
1540
1270
  interface Visitor<T> {
1541
1271
  timeFrame: (value: RouteTimeFrameRule) => T;
1542
1272
  _: (name: string, value: any) => T;
1543
1273
  }
1544
- const visit: <T>(value: RouteRule, visitor: Visitor<T>) => T;
1545
1274
  }
1546
1275
  /**
1547
1276
  * @public
@@ -1613,20 +1342,23 @@ export declare namespace RouteTarget {
1613
1342
  bot?: never;
1614
1343
  $unknown: [string, any];
1615
1344
  }
1345
+ /**
1346
+ * @deprecated unused in schema-serde mode.
1347
+ *
1348
+ */
1616
1349
  interface Visitor<T> {
1617
1350
  service: (value: RouteServiceTarget) => T;
1618
1351
  agent: (value: RouteAgentTarget) => T;
1619
1352
  bot: (value: RouteBotTarget) => T;
1620
1353
  _: (name: string, value: any) => T;
1621
1354
  }
1622
- const visit: <T>(value: RouteTarget, visitor: Visitor<T>) => T;
1623
1355
  }
1624
1356
  /**
1625
1357
  * @public
1626
1358
  */
1627
1359
  export interface SmsConfigRoute {
1628
1360
  id: string;
1629
- rules: (RouteRule)[];
1361
+ rules: RouteRule[];
1630
1362
  /**
1631
1363
  * 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.
1632
1364
  * @public
@@ -1636,7 +1368,7 @@ export interface SmsConfigRoute {
1636
1368
  * Actions that will be used if the specified route and the conditions within a specific action are met.
1637
1369
  * @public
1638
1370
  */
1639
- actions?: (RouteAction)[] | undefined;
1371
+ actions?: RouteAction[] | undefined;
1640
1372
  }
1641
1373
  /**
1642
1374
  * @public
@@ -1651,7 +1383,7 @@ export interface SmsConfig {
1651
1383
  * 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.
1652
1384
  * @public
1653
1385
  */
1654
- routes?: (SmsConfigRoute)[] | undefined;
1386
+ routes?: SmsConfigRoute[] | undefined;
1655
1387
  /**
1656
1388
  * 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.
1657
1389
  * @public
@@ -1661,7 +1393,7 @@ export interface SmsConfig {
1661
1393
  * Actions that will be used if the specified route and the conditions within a specific action are met.
1662
1394
  * @public
1663
1395
  */
1664
- actions?: (RouteAction)[] | undefined;
1396
+ actions?: RouteAction[] | undefined;
1665
1397
  companyId: string;
1666
1398
  serviceNumber: string;
1667
1399
  createdAt: string;
@@ -1689,7 +1421,7 @@ export interface GetWhatsAppNumberConfigurationInput {
1689
1421
  */
1690
1422
  export interface WhatsAppConfigRoute {
1691
1423
  id: string;
1692
- rules: (RouteRule)[];
1424
+ rules: RouteRule[];
1693
1425
  /**
1694
1426
  * 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.
1695
1427
  * @public
@@ -1699,7 +1431,7 @@ export interface WhatsAppConfigRoute {
1699
1431
  * Actions that will be used if the specified route and the conditions within a specific action are met.
1700
1432
  * @public
1701
1433
  */
1702
- actions?: (RouteAction)[] | undefined;
1434
+ actions?: RouteAction[] | undefined;
1703
1435
  }
1704
1436
  /**
1705
1437
  * @public
@@ -1714,7 +1446,7 @@ export interface WhatsAppConfig {
1714
1446
  * 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.
1715
1447
  * @public
1716
1448
  */
1717
- routes?: (WhatsAppConfigRoute)[] | undefined;
1449
+ routes?: WhatsAppConfigRoute[] | undefined;
1718
1450
  /**
1719
1451
  * 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.
1720
1452
  * @public
@@ -1724,7 +1456,7 @@ export interface WhatsAppConfig {
1724
1456
  * Actions that will be used if the specified route and the conditions within a specific action are met.
1725
1457
  * @public
1726
1458
  */
1727
- actions?: (RouteAction)[] | undefined;
1459
+ actions?: RouteAction[] | undefined;
1728
1460
  companyId: string;
1729
1461
  serviceNumber: string;
1730
1462
  createdAt: string;
@@ -1752,17 +1484,6 @@ export interface GetWidgetInput {
1752
1484
  export interface GetWidgetOutput {
1753
1485
  widget: Widget;
1754
1486
  }
1755
- /**
1756
- * @public
1757
- */
1758
- export declare class WidgetNotFoundException extends __BaseException {
1759
- readonly name: "WidgetNotFoundException";
1760
- readonly $fault: "client";
1761
- /**
1762
- * @internal
1763
- */
1764
- constructor(opts: __ExceptionOptionType<WidgetNotFoundException, __BaseException>);
1765
- }
1766
1487
  /**
1767
1488
  * @public
1768
1489
  */
@@ -1787,7 +1508,7 @@ export declare namespace ListAgentsFilter {
1787
1508
  */
1788
1509
  interface ExtensionsMember {
1789
1510
  service?: never;
1790
- extensions: (string)[];
1511
+ extensions: string[];
1791
1512
  emails?: never;
1792
1513
  $unknown?: never;
1793
1514
  }
@@ -1798,7 +1519,7 @@ export declare namespace ListAgentsFilter {
1798
1519
  interface EmailsMember {
1799
1520
  service?: never;
1800
1521
  extensions?: never;
1801
- emails: (string)[];
1522
+ emails: string[];
1802
1523
  $unknown?: never;
1803
1524
  }
1804
1525
  /**
@@ -1810,13 +1531,16 @@ export declare namespace ListAgentsFilter {
1810
1531
  emails?: never;
1811
1532
  $unknown: [string, any];
1812
1533
  }
1534
+ /**
1535
+ * @deprecated unused in schema-serde mode.
1536
+ *
1537
+ */
1813
1538
  interface Visitor<T> {
1814
1539
  service: (value: string) => T;
1815
- extensions: (value: (string)[]) => T;
1816
- emails: (value: (string)[]) => T;
1540
+ extensions: (value: string[]) => T;
1541
+ emails: (value: string[]) => T;
1817
1542
  _: (name: string, value: any) => T;
1818
1543
  }
1819
- const visit: <T>(value: ListAgentsFilter, visitor: Visitor<T>) => T;
1820
1544
  }
1821
1545
  /**
1822
1546
  * @public
@@ -1837,7 +1561,7 @@ export interface ListAgentsInput {
1837
1561
  * @public
1838
1562
  */
1839
1563
  export interface ListAgentsOutput {
1840
- users: (User)[];
1564
+ users: User[];
1841
1565
  }
1842
1566
  /**
1843
1567
  * @public
@@ -1853,7 +1577,7 @@ export interface ListServicesInput {
1853
1577
  * @public
1854
1578
  */
1855
1579
  export interface ListServicesOutput {
1856
- services: (Service)[];
1580
+ services: Service[];
1857
1581
  }
1858
1582
  /**
1859
1583
  * @public
@@ -1869,7 +1593,7 @@ export interface ListSmsConfigurationsInput {
1869
1593
  * @public
1870
1594
  */
1871
1595
  export interface ListSmsConfigurationsOutput {
1872
- configurations: (SmsConfig)[];
1596
+ configurations: SmsConfig[];
1873
1597
  }
1874
1598
  /**
1875
1599
  * @public
@@ -1900,7 +1624,7 @@ export interface SmsServiceNumber {
1900
1624
  * @public
1901
1625
  */
1902
1626
  export interface ListSmsNumbersOutput {
1903
- numbers: (SmsServiceNumber)[];
1627
+ numbers: SmsServiceNumber[];
1904
1628
  }
1905
1629
  /**
1906
1630
  * @public
@@ -1916,7 +1640,7 @@ export interface ListWhatsAppConfigurationsInput {
1916
1640
  * @public
1917
1641
  */
1918
1642
  export interface ListWhatsAppConfigurationsOutput {
1919
- configurations: (WhatsAppConfig)[];
1643
+ configurations: WhatsAppConfig[];
1920
1644
  }
1921
1645
  /**
1922
1646
  * @public
@@ -1947,7 +1671,7 @@ export interface WhatsAppServiceNumber {
1947
1671
  * @public
1948
1672
  */
1949
1673
  export interface ListWhatsAppNumbersOutput {
1950
- numbers: (WhatsAppServiceNumber)[];
1674
+ numbers: WhatsAppServiceNumber[];
1951
1675
  }
1952
1676
  /**
1953
1677
  * @public
@@ -1964,7 +1688,7 @@ export interface ListWhatsAppTemplatesInput {
1964
1688
  * @public
1965
1689
  */
1966
1690
  export interface ListWhatsAppTemplatesOutput {
1967
- templates: (Template)[];
1691
+ templates: Template[];
1968
1692
  }
1969
1693
  /**
1970
1694
  * @public
@@ -1980,7 +1704,7 @@ export interface ListWidgetsInput {
1980
1704
  * @public
1981
1705
  */
1982
1706
  export interface ListWidgetsOutput {
1983
- widgets: (Widget)[];
1707
+ widgets: Widget[];
1984
1708
  }
1985
1709
  /**
1986
1710
  * @public
@@ -1995,7 +1719,7 @@ export interface PutSmsNumberConfigurationInput {
1995
1719
  * 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.
1996
1720
  * @public
1997
1721
  */
1998
- routes?: (SmsConfigRoute)[] | undefined;
1722
+ routes?: SmsConfigRoute[] | undefined;
1999
1723
  /**
2000
1724
  * 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.
2001
1725
  * @public
@@ -2005,7 +1729,7 @@ export interface PutSmsNumberConfigurationInput {
2005
1729
  * Actions that will be used if the specified route and the conditions within a specific action are met.
2006
1730
  * @public
2007
1731
  */
2008
- actions?: (RouteAction)[] | undefined;
1732
+ actions?: RouteAction[] | undefined;
2009
1733
  /**
2010
1734
  * The unique identifier of the company when a service token is used.
2011
1735
  * @public
@@ -2032,7 +1756,7 @@ export interface PutWhatsAppNumberConfigurationInput {
2032
1756
  * 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.
2033
1757
  * @public
2034
1758
  */
2035
- routes?: (WhatsAppConfigRoute)[] | undefined;
1759
+ routes?: WhatsAppConfigRoute[] | undefined;
2036
1760
  /**
2037
1761
  * 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.
2038
1762
  * @public
@@ -2042,7 +1766,7 @@ export interface PutWhatsAppNumberConfigurationInput {
2042
1766
  * Actions that will be used if the specified route and the conditions within a specific action are met.
2043
1767
  * @public
2044
1768
  */
2045
- actions?: (RouteAction)[] | undefined;
1769
+ actions?: RouteAction[] | undefined;
2046
1770
  /**
2047
1771
  * The unique identifier of the company when a service token is used.
2048
1772
  * @public
@@ -2075,8 +1799,8 @@ export interface RescheduleCalendarEventInput {
2075
1799
  * @public
2076
1800
  */
2077
1801
  summary?: string | undefined;
2078
- attendees?: (string)[] | undefined;
2079
- changed?: (string)[] | undefined;
1802
+ attendees?: string[] | undefined;
1803
+ changed?: string[] | undefined;
2080
1804
  }
2081
1805
  /**
2082
1806
  * @public
@@ -2097,7 +1821,7 @@ export interface ScheduleCalendarEventInput {
2097
1821
  channelId?: string | undefined;
2098
1822
  start: string;
2099
1823
  duration: string;
2100
- attendees?: (string)[] | undefined;
1824
+ attendees?: string[] | undefined;
2101
1825
  /**
2102
1826
  * Event title
2103
1827
  * @public
@@ -2126,12 +1850,12 @@ export interface UpdateWidgetInput {
2126
1850
  * 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.
2127
1851
  * @public
2128
1852
  */
2129
- routes?: (WidgetRoute)[] | undefined;
1853
+ routes?: WidgetRoute[] | undefined;
2130
1854
  /**
2131
1855
  * A list of welcome messages that will be sent to the user when they first interact with the widget.
2132
1856
  * @public
2133
1857
  */
2134
- welcomeMessages?: (WidgetWelcomeMessage)[] | undefined;
1858
+ welcomeMessages?: WidgetWelcomeMessage[] | undefined;
2135
1859
  name: string;
2136
1860
  /**
2137
1861
  * 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.
@@ -2157,7 +1881,7 @@ export interface UpdateWidgetInput {
2157
1881
  * Actions that will be used if the specified route and the conditions within a specific action are met.
2158
1882
  * @public
2159
1883
  */
2160
- actions?: (RouteAction)[] | undefined;
1884
+ actions?: RouteAction[] | undefined;
2161
1885
  /**
2162
1886
  * The unique identifier of the company when a service token is used.
2163
1887
  * @public