@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
|
@@ -1,46 +1,33 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ListAgentsFilter = exports.WidgetNotFoundException = exports.RouteTarget = exports.RouteRule = exports.KiteVariant = exports.KiteFeatures = exports.EventNotFoundException = exports.WidgetTarget = exports.WidgetRouteRule = exports.RouteTimeFrameDay = exports.RouteActionTask = exports.RouteActionCondition = exports.TargetNotFoundException = exports.
|
|
3
|
+
exports.ListAgentsFilter = exports.WidgetNotFoundException = exports.RouteTarget = exports.RouteRule = exports.KiteVariant = exports.KiteFeatures = exports.EventNotFoundException = exports.WidgetTarget = exports.WidgetRouteRule = exports.RouteTimeFrameDay = exports.RouteActionTask = exports.RouteActionCondition = exports.TargetNotFoundException = exports.ChannelNotFoundException = exports.Element = exports.ActionElement = exports.ButtonVariant = exports.ButtonHandler = exports.ChannelWhatsAppStatus = exports.ChannelContextSource = exports.ChannelContextEventAttendeeStatus = exports.ChannelType = exports.ChannelAccess = exports.TemplateStatus = exports.ParameterFormat = exports.ComponentType = exports.ComponentFormat = exports.TemplateCategory = exports.ButtonType = exports.ValidationException = exports.RateLimitExceededException = exports.NotFoundException = exports.ForbiddenException = void 0;
|
|
4
4
|
const KiteServiceException_1 = require("./KiteServiceException");
|
|
5
|
-
class
|
|
6
|
-
name = "
|
|
7
|
-
$fault = "client";
|
|
8
|
-
constructor(opts) {
|
|
9
|
-
super({
|
|
10
|
-
name: "NotFoundException",
|
|
11
|
-
$fault: "client",
|
|
12
|
-
...opts
|
|
13
|
-
});
|
|
14
|
-
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
exports.NotFoundException = NotFoundException;
|
|
18
|
-
class ValidationException extends KiteServiceException_1.KiteServiceException {
|
|
19
|
-
name = "ValidationException";
|
|
5
|
+
class ForbiddenException extends KiteServiceException_1.KiteServiceException {
|
|
6
|
+
name = "ForbiddenException";
|
|
20
7
|
$fault = "client";
|
|
21
8
|
constructor(opts) {
|
|
22
9
|
super({
|
|
23
|
-
name: "
|
|
10
|
+
name: "ForbiddenException",
|
|
24
11
|
$fault: "client",
|
|
25
12
|
...opts
|
|
26
13
|
});
|
|
27
|
-
Object.setPrototypeOf(this,
|
|
14
|
+
Object.setPrototypeOf(this, ForbiddenException.prototype);
|
|
28
15
|
}
|
|
29
16
|
}
|
|
30
|
-
exports.
|
|
31
|
-
class
|
|
32
|
-
name = "
|
|
17
|
+
exports.ForbiddenException = ForbiddenException;
|
|
18
|
+
class NotFoundException extends KiteServiceException_1.KiteServiceException {
|
|
19
|
+
name = "NotFoundException";
|
|
33
20
|
$fault = "client";
|
|
34
21
|
constructor(opts) {
|
|
35
22
|
super({
|
|
36
|
-
name: "
|
|
23
|
+
name: "NotFoundException",
|
|
37
24
|
$fault: "client",
|
|
38
25
|
...opts
|
|
39
26
|
});
|
|
40
|
-
Object.setPrototypeOf(this,
|
|
27
|
+
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
41
28
|
}
|
|
42
29
|
}
|
|
43
|
-
exports.
|
|
30
|
+
exports.NotFoundException = NotFoundException;
|
|
44
31
|
class RateLimitExceededException extends KiteServiceException_1.KiteServiceException {
|
|
45
32
|
name = "RateLimitExceededException";
|
|
46
33
|
$fault = "client";
|
|
@@ -62,6 +49,19 @@ class RateLimitExceededException extends KiteServiceException_1.KiteServiceExcep
|
|
|
62
49
|
}
|
|
63
50
|
}
|
|
64
51
|
exports.RateLimitExceededException = RateLimitExceededException;
|
|
52
|
+
class ValidationException extends KiteServiceException_1.KiteServiceException {
|
|
53
|
+
name = "ValidationException";
|
|
54
|
+
$fault = "client";
|
|
55
|
+
constructor(opts) {
|
|
56
|
+
super({
|
|
57
|
+
name: "ValidationException",
|
|
58
|
+
$fault: "client",
|
|
59
|
+
...opts
|
|
60
|
+
});
|
|
61
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
exports.ValidationException = ValidationException;
|
|
65
65
|
exports.ButtonType = {
|
|
66
66
|
APP: "APP",
|
|
67
67
|
CATALOG: "CATALOG",
|
|
@@ -96,10 +96,26 @@ exports.TemplateStatus = {
|
|
|
96
96
|
PAUSED: "PAUSED",
|
|
97
97
|
REJECTED: "REJECTED",
|
|
98
98
|
};
|
|
99
|
+
exports.ChannelAccess = {
|
|
100
|
+
PRIVATE: "private",
|
|
101
|
+
PUBLIC: "public",
|
|
102
|
+
};
|
|
99
103
|
exports.ChannelType = {
|
|
100
104
|
DIRECT: "direct",
|
|
101
105
|
GROUP: "group",
|
|
102
106
|
};
|
|
107
|
+
exports.ChannelContextEventAttendeeStatus = {
|
|
108
|
+
ACCEPTED: "accepted",
|
|
109
|
+
DECLINED: "declined",
|
|
110
|
+
NONE: "none",
|
|
111
|
+
TENTATIVE: "tentative",
|
|
112
|
+
};
|
|
113
|
+
exports.ChannelContextSource = {
|
|
114
|
+
KITE: "kite",
|
|
115
|
+
};
|
|
116
|
+
exports.ChannelWhatsAppStatus = {
|
|
117
|
+
CHANNEL_CLOSED: "24h_channel_closed",
|
|
118
|
+
};
|
|
103
119
|
var ButtonHandler;
|
|
104
120
|
(function (ButtonHandler) {
|
|
105
121
|
ButtonHandler.visit = (value, visitor) => {
|
|
@@ -124,6 +140,16 @@ var ActionElement;
|
|
|
124
140
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
125
141
|
};
|
|
126
142
|
})(ActionElement || (exports.ActionElement = ActionElement = {}));
|
|
143
|
+
var Element;
|
|
144
|
+
(function (Element) {
|
|
145
|
+
Element.visit = (value, visitor) => {
|
|
146
|
+
if (value.template !== undefined)
|
|
147
|
+
return visitor.template(value.template);
|
|
148
|
+
if (value.actions !== undefined)
|
|
149
|
+
return visitor.actions(value.actions);
|
|
150
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
151
|
+
};
|
|
152
|
+
})(Element || (exports.Element = Element = {}));
|
|
127
153
|
class ChannelNotFoundException extends KiteServiceException_1.KiteServiceException {
|
|
128
154
|
name = "ChannelNotFoundException";
|
|
129
155
|
$fault = "client";
|
|
@@ -137,32 +163,6 @@ class ChannelNotFoundException extends KiteServiceException_1.KiteServiceExcepti
|
|
|
137
163
|
}
|
|
138
164
|
}
|
|
139
165
|
exports.ChannelNotFoundException = ChannelNotFoundException;
|
|
140
|
-
exports.ChannelAccess = {
|
|
141
|
-
PRIVATE: "private",
|
|
142
|
-
PUBLIC: "public",
|
|
143
|
-
};
|
|
144
|
-
exports.ChannelContextEventAttendeeStatus = {
|
|
145
|
-
ACCEPTED: "accepted",
|
|
146
|
-
DECLINED: "declined",
|
|
147
|
-
NONE: "none",
|
|
148
|
-
TENTATIVE: "tentative",
|
|
149
|
-
};
|
|
150
|
-
exports.ChannelContextSource = {
|
|
151
|
-
KITE: "kite",
|
|
152
|
-
};
|
|
153
|
-
exports.ChannelWhatsAppStatus = {
|
|
154
|
-
CHANNEL_CLOSED: "24h_channel_closed",
|
|
155
|
-
};
|
|
156
|
-
var Element;
|
|
157
|
-
(function (Element) {
|
|
158
|
-
Element.visit = (value, visitor) => {
|
|
159
|
-
if (value.template !== undefined)
|
|
160
|
-
return visitor.template(value.template);
|
|
161
|
-
if (value.actions !== undefined)
|
|
162
|
-
return visitor.actions(value.actions);
|
|
163
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
164
|
-
};
|
|
165
|
-
})(Element || (exports.Element = Element = {}));
|
|
166
166
|
class TargetNotFoundException extends KiteServiceException_1.KiteServiceException {
|
|
167
167
|
name = "TargetNotFoundException";
|
|
168
168
|
$fault = "client";
|
|
@@ -36,6 +36,7 @@ const se_CreateOrUpdateWidgetPreviewCommand = async (input, context) => {
|
|
|
36
36
|
let body;
|
|
37
37
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
38
38
|
'actions': _ => (0, smithy_client_1._json)(_),
|
|
39
|
+
'anonymousSessionsEnabled': [],
|
|
39
40
|
'appearance': _ => (0, smithy_client_1._json)(_),
|
|
40
41
|
'name': [],
|
|
41
42
|
'routes': _ => se_WidgetRoutesList(_, context),
|
|
@@ -62,6 +63,7 @@ const se_CreateWidgetCommand = async (input, context) => {
|
|
|
62
63
|
let body;
|
|
63
64
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
64
65
|
'actions': _ => (0, smithy_client_1._json)(_),
|
|
66
|
+
'anonymousSessionsEnabled': [],
|
|
65
67
|
'appearance': _ => (0, smithy_client_1._json)(_),
|
|
66
68
|
'name': [],
|
|
67
69
|
'routes': _ => se_WidgetRoutesList(_, context),
|
|
@@ -401,6 +403,7 @@ const se_UpdateWidgetCommand = async (input, context) => {
|
|
|
401
403
|
let body;
|
|
402
404
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
403
405
|
'actions': _ => (0, smithy_client_1._json)(_),
|
|
406
|
+
'anonymousSessionsEnabled': [],
|
|
404
407
|
'appearance': _ => (0, smithy_client_1._json)(_),
|
|
405
408
|
'name': [],
|
|
406
409
|
'routes': _ => se_WidgetRoutesList(_, context),
|
|
@@ -901,6 +904,7 @@ const se_WidgetRoutesList = (input, context) => {
|
|
|
901
904
|
const de_Widget = (output, context) => {
|
|
902
905
|
return (0, smithy_client_1.take)(output, {
|
|
903
906
|
'actions': smithy_client_1._json,
|
|
907
|
+
'anonymousSessionsEnabled': smithy_client_1.expectBoolean,
|
|
904
908
|
'appearance': smithy_client_1._json,
|
|
905
909
|
'company': smithy_client_1.expectString,
|
|
906
910
|
'createdAt': smithy_client_1.expectString,
|
|
@@ -1,38 +1,26 @@
|
|
|
1
1
|
import { KiteServiceException as __BaseException } from "./KiteServiceException";
|
|
2
|
-
export class
|
|
3
|
-
name = "
|
|
4
|
-
$fault = "client";
|
|
5
|
-
constructor(opts) {
|
|
6
|
-
super({
|
|
7
|
-
name: "NotFoundException",
|
|
8
|
-
$fault: "client",
|
|
9
|
-
...opts
|
|
10
|
-
});
|
|
11
|
-
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
export class ValidationException extends __BaseException {
|
|
15
|
-
name = "ValidationException";
|
|
2
|
+
export class ForbiddenException extends __BaseException {
|
|
3
|
+
name = "ForbiddenException";
|
|
16
4
|
$fault = "client";
|
|
17
5
|
constructor(opts) {
|
|
18
6
|
super({
|
|
19
|
-
name: "
|
|
7
|
+
name: "ForbiddenException",
|
|
20
8
|
$fault: "client",
|
|
21
9
|
...opts
|
|
22
10
|
});
|
|
23
|
-
Object.setPrototypeOf(this,
|
|
11
|
+
Object.setPrototypeOf(this, ForbiddenException.prototype);
|
|
24
12
|
}
|
|
25
13
|
}
|
|
26
|
-
export class
|
|
27
|
-
name = "
|
|
14
|
+
export class NotFoundException extends __BaseException {
|
|
15
|
+
name = "NotFoundException";
|
|
28
16
|
$fault = "client";
|
|
29
17
|
constructor(opts) {
|
|
30
18
|
super({
|
|
31
|
-
name: "
|
|
19
|
+
name: "NotFoundException",
|
|
32
20
|
$fault: "client",
|
|
33
21
|
...opts
|
|
34
22
|
});
|
|
35
|
-
Object.setPrototypeOf(this,
|
|
23
|
+
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
36
24
|
}
|
|
37
25
|
}
|
|
38
26
|
export class RateLimitExceededException extends __BaseException {
|
|
@@ -55,6 +43,18 @@ export class RateLimitExceededException extends __BaseException {
|
|
|
55
43
|
this.retryAfter = opts.retryAfter;
|
|
56
44
|
}
|
|
57
45
|
}
|
|
46
|
+
export class ValidationException extends __BaseException {
|
|
47
|
+
name = "ValidationException";
|
|
48
|
+
$fault = "client";
|
|
49
|
+
constructor(opts) {
|
|
50
|
+
super({
|
|
51
|
+
name: "ValidationException",
|
|
52
|
+
$fault: "client",
|
|
53
|
+
...opts
|
|
54
|
+
});
|
|
55
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
58
|
export const ButtonType = {
|
|
59
59
|
APP: "APP",
|
|
60
60
|
CATALOG: "CATALOG",
|
|
@@ -89,10 +89,26 @@ export const TemplateStatus = {
|
|
|
89
89
|
PAUSED: "PAUSED",
|
|
90
90
|
REJECTED: "REJECTED",
|
|
91
91
|
};
|
|
92
|
+
export const ChannelAccess = {
|
|
93
|
+
PRIVATE: "private",
|
|
94
|
+
PUBLIC: "public",
|
|
95
|
+
};
|
|
92
96
|
export const ChannelType = {
|
|
93
97
|
DIRECT: "direct",
|
|
94
98
|
GROUP: "group",
|
|
95
99
|
};
|
|
100
|
+
export const ChannelContextEventAttendeeStatus = {
|
|
101
|
+
ACCEPTED: "accepted",
|
|
102
|
+
DECLINED: "declined",
|
|
103
|
+
NONE: "none",
|
|
104
|
+
TENTATIVE: "tentative",
|
|
105
|
+
};
|
|
106
|
+
export const ChannelContextSource = {
|
|
107
|
+
KITE: "kite",
|
|
108
|
+
};
|
|
109
|
+
export const ChannelWhatsAppStatus = {
|
|
110
|
+
CHANNEL_CLOSED: "24h_channel_closed",
|
|
111
|
+
};
|
|
96
112
|
export var ButtonHandler;
|
|
97
113
|
(function (ButtonHandler) {
|
|
98
114
|
ButtonHandler.visit = (value, visitor) => {
|
|
@@ -117,6 +133,16 @@ export var ActionElement;
|
|
|
117
133
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
118
134
|
};
|
|
119
135
|
})(ActionElement || (ActionElement = {}));
|
|
136
|
+
export var Element;
|
|
137
|
+
(function (Element) {
|
|
138
|
+
Element.visit = (value, visitor) => {
|
|
139
|
+
if (value.template !== undefined)
|
|
140
|
+
return visitor.template(value.template);
|
|
141
|
+
if (value.actions !== undefined)
|
|
142
|
+
return visitor.actions(value.actions);
|
|
143
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
144
|
+
};
|
|
145
|
+
})(Element || (Element = {}));
|
|
120
146
|
export class ChannelNotFoundException extends __BaseException {
|
|
121
147
|
name = "ChannelNotFoundException";
|
|
122
148
|
$fault = "client";
|
|
@@ -129,32 +155,6 @@ export class ChannelNotFoundException extends __BaseException {
|
|
|
129
155
|
Object.setPrototypeOf(this, ChannelNotFoundException.prototype);
|
|
130
156
|
}
|
|
131
157
|
}
|
|
132
|
-
export const ChannelAccess = {
|
|
133
|
-
PRIVATE: "private",
|
|
134
|
-
PUBLIC: "public",
|
|
135
|
-
};
|
|
136
|
-
export const ChannelContextEventAttendeeStatus = {
|
|
137
|
-
ACCEPTED: "accepted",
|
|
138
|
-
DECLINED: "declined",
|
|
139
|
-
NONE: "none",
|
|
140
|
-
TENTATIVE: "tentative",
|
|
141
|
-
};
|
|
142
|
-
export const ChannelContextSource = {
|
|
143
|
-
KITE: "kite",
|
|
144
|
-
};
|
|
145
|
-
export const ChannelWhatsAppStatus = {
|
|
146
|
-
CHANNEL_CLOSED: "24h_channel_closed",
|
|
147
|
-
};
|
|
148
|
-
export var Element;
|
|
149
|
-
(function (Element) {
|
|
150
|
-
Element.visit = (value, visitor) => {
|
|
151
|
-
if (value.template !== undefined)
|
|
152
|
-
return visitor.template(value.template);
|
|
153
|
-
if (value.actions !== undefined)
|
|
154
|
-
return visitor.actions(value.actions);
|
|
155
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
156
|
-
};
|
|
157
|
-
})(Element || (Element = {}));
|
|
158
158
|
export class TargetNotFoundException extends __BaseException {
|
|
159
159
|
name = "TargetNotFoundException";
|
|
160
160
|
$fault = "client";
|
|
@@ -2,7 +2,7 @@ import { KiteServiceException as __BaseException } from "../models/KiteServiceEx
|
|
|
2
2
|
import { ChannelNotFoundException, EventNotFoundException, ForbiddenException, NotFoundException, RateLimitExceededException, TargetNotFoundException, ValidationException, WidgetNotFoundException, } from "../models/models_0";
|
|
3
3
|
import { awsExpectUnion as __expectUnion, loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody, } from "@aws-sdk/core";
|
|
4
4
|
import { requestBuilder as rb } from "@smithy/core";
|
|
5
|
-
import { decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, strictParseInt32 as __strictParseInt32, _json, collectBody, map, take, withBaseException, } from "@smithy/smithy-client";
|
|
5
|
+
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, strictParseInt32 as __strictParseInt32, _json, collectBody, map, take, withBaseException, } from "@smithy/smithy-client";
|
|
6
6
|
export const se_CancelCalendarEventCommand = async (input, context) => {
|
|
7
7
|
const b = rb(input, context);
|
|
8
8
|
const headers = {};
|
|
@@ -32,6 +32,7 @@ export const se_CreateOrUpdateWidgetPreviewCommand = async (input, context) => {
|
|
|
32
32
|
let body;
|
|
33
33
|
body = JSON.stringify(take(input, {
|
|
34
34
|
'actions': _ => _json(_),
|
|
35
|
+
'anonymousSessionsEnabled': [],
|
|
35
36
|
'appearance': _ => _json(_),
|
|
36
37
|
'name': [],
|
|
37
38
|
'routes': _ => se_WidgetRoutesList(_, context),
|
|
@@ -57,6 +58,7 @@ export const se_CreateWidgetCommand = async (input, context) => {
|
|
|
57
58
|
let body;
|
|
58
59
|
body = JSON.stringify(take(input, {
|
|
59
60
|
'actions': _ => _json(_),
|
|
61
|
+
'anonymousSessionsEnabled': [],
|
|
60
62
|
'appearance': _ => _json(_),
|
|
61
63
|
'name': [],
|
|
62
64
|
'routes': _ => se_WidgetRoutesList(_, context),
|
|
@@ -377,6 +379,7 @@ export const se_UpdateWidgetCommand = async (input, context) => {
|
|
|
377
379
|
let body;
|
|
378
380
|
body = JSON.stringify(take(input, {
|
|
379
381
|
'actions': _ => _json(_),
|
|
382
|
+
'anonymousSessionsEnabled': [],
|
|
380
383
|
'appearance': _ => _json(_),
|
|
381
384
|
'name': [],
|
|
382
385
|
'routes': _ => se_WidgetRoutesList(_, context),
|
|
@@ -854,6 +857,7 @@ const se_WidgetRoutesList = (input, context) => {
|
|
|
854
857
|
const de_Widget = (output, context) => {
|
|
855
858
|
return take(output, {
|
|
856
859
|
'actions': _json,
|
|
860
|
+
'anonymousSessionsEnabled': __expectBoolean,
|
|
857
861
|
'appearance': _json,
|
|
858
862
|
'company': __expectString,
|
|
859
863
|
'createdAt': __expectString,
|
|
@@ -27,8 +27,7 @@ declare const CancelCalendarEventCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
31
|
-
*
|
|
30
|
+
* Cancels an existing calendar event, optionally providing a reason for cancellation.
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|
|
@@ -98,6 +97,7 @@ declare const CancelCalendarEventCommand_base: {
|
|
|
98
97
|
* // pbxExtension: "STRING_VALUE",
|
|
99
98
|
* // pbxSerial: "STRING_VALUE",
|
|
100
99
|
* // pbxUserId: "STRING_VALUE",
|
|
100
|
+
* // pbxGroupId: "STRING_VALUE",
|
|
101
101
|
* // createdAt: "STRING_VALUE",
|
|
102
102
|
* // updatedAt: "STRING_VALUE",
|
|
103
103
|
* // },
|
|
@@ -110,6 +110,7 @@ declare const CancelCalendarEventCommand_base: {
|
|
|
110
110
|
* // external: true || false,
|
|
111
111
|
* // autoRecord: true || false,
|
|
112
112
|
* // transcriptionLanguage: "STRING_VALUE",
|
|
113
|
+
* // wizyGuestViewOnly: true || false,
|
|
113
114
|
* // channelId: "STRING_VALUE", // required
|
|
114
115
|
* // channelType: "direct" || "group", // required
|
|
115
116
|
* // memberCount: Number("int"), // required
|
|
@@ -151,6 +152,7 @@ declare const CancelCalendarEventCommand_base: {
|
|
|
151
152
|
* <p>Base exception class for all service exceptions from Kite service.</p>
|
|
152
153
|
*
|
|
153
154
|
*
|
|
155
|
+
* @public
|
|
154
156
|
*/
|
|
155
157
|
export declare class CancelCalendarEventCommand extends CancelCalendarEventCommand_base {
|
|
156
158
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -68,7 +68,7 @@ declare const CreateOrUpdateWidgetPreviewCommand_base: {
|
|
|
68
68
|
* template: { // MessageTemplateConfig
|
|
69
69
|
* whatsapp: { // TemplateWithParameters
|
|
70
70
|
* name: "STRING_VALUE", // required
|
|
71
|
-
* parameters: [ // ListTemplateParameter
|
|
71
|
+
* parameters: [ // ListTemplateParameter
|
|
72
72
|
* { // TemplateParameter
|
|
73
73
|
* name: "STRING_VALUE", // required
|
|
74
74
|
* value: "STRING_VALUE", // required
|
|
@@ -181,7 +181,7 @@ declare const CreateOrUpdateWidgetPreviewCommand_base: {
|
|
|
181
181
|
* template: {
|
|
182
182
|
* whatsapp: {
|
|
183
183
|
* name: "STRING_VALUE", // required
|
|
184
|
-
* parameters: [
|
|
184
|
+
* parameters: [
|
|
185
185
|
* {
|
|
186
186
|
* name: "STRING_VALUE", // required
|
|
187
187
|
* value: "STRING_VALUE", // required
|
|
@@ -227,6 +227,7 @@ declare const CreateOrUpdateWidgetPreviewCommand_base: {
|
|
|
227
227
|
* id: "STRING_VALUE", // required
|
|
228
228
|
* },
|
|
229
229
|
* },
|
|
230
|
+
* anonymousSessionsEnabled: true || false,
|
|
230
231
|
* actions: [
|
|
231
232
|
* {
|
|
232
233
|
* id: "STRING_VALUE", // required
|
|
@@ -325,7 +326,7 @@ declare const CreateOrUpdateWidgetPreviewCommand_base: {
|
|
|
325
326
|
* // template: { // MessageTemplateConfig
|
|
326
327
|
* // whatsapp: { // TemplateWithParameters
|
|
327
328
|
* // name: "STRING_VALUE", // required
|
|
328
|
-
* // parameters: [ // ListTemplateParameter
|
|
329
|
+
* // parameters: [ // ListTemplateParameter
|
|
329
330
|
* // { // TemplateParameter
|
|
330
331
|
* // name: "STRING_VALUE", // required
|
|
331
332
|
* // value: "STRING_VALUE", // required
|
|
@@ -438,7 +439,7 @@ declare const CreateOrUpdateWidgetPreviewCommand_base: {
|
|
|
438
439
|
* // template: {
|
|
439
440
|
* // whatsapp: {
|
|
440
441
|
* // name: "STRING_VALUE", // required
|
|
441
|
-
* // parameters: [
|
|
442
|
+
* // parameters: [
|
|
442
443
|
* // {
|
|
443
444
|
* // name: "STRING_VALUE", // required
|
|
444
445
|
* // value: "STRING_VALUE", // required
|
|
@@ -484,6 +485,7 @@ declare const CreateOrUpdateWidgetPreviewCommand_base: {
|
|
|
484
485
|
* // id: "STRING_VALUE", // required
|
|
485
486
|
* // },
|
|
486
487
|
* // },
|
|
488
|
+
* // anonymousSessionsEnabled: true || false,
|
|
487
489
|
* // actions: [
|
|
488
490
|
* // {
|
|
489
491
|
* // id: "STRING_VALUE", // required
|
|
@@ -68,7 +68,7 @@ declare const CreateWidgetCommand_base: {
|
|
|
68
68
|
* template: { // MessageTemplateConfig
|
|
69
69
|
* whatsapp: { // TemplateWithParameters
|
|
70
70
|
* name: "STRING_VALUE", // required
|
|
71
|
-
* parameters: [ // ListTemplateParameter
|
|
71
|
+
* parameters: [ // ListTemplateParameter
|
|
72
72
|
* { // TemplateParameter
|
|
73
73
|
* name: "STRING_VALUE", // required
|
|
74
74
|
* value: "STRING_VALUE", // required
|
|
@@ -181,7 +181,7 @@ declare const CreateWidgetCommand_base: {
|
|
|
181
181
|
* template: {
|
|
182
182
|
* whatsapp: {
|
|
183
183
|
* name: "STRING_VALUE", // required
|
|
184
|
-
* parameters: [
|
|
184
|
+
* parameters: [
|
|
185
185
|
* {
|
|
186
186
|
* name: "STRING_VALUE", // required
|
|
187
187
|
* value: "STRING_VALUE", // required
|
|
@@ -227,6 +227,7 @@ declare const CreateWidgetCommand_base: {
|
|
|
227
227
|
* id: "STRING_VALUE", // required
|
|
228
228
|
* },
|
|
229
229
|
* },
|
|
230
|
+
* anonymousSessionsEnabled: true || false,
|
|
230
231
|
* actions: [
|
|
231
232
|
* {
|
|
232
233
|
* id: "STRING_VALUE", // required
|
|
@@ -324,7 +325,7 @@ declare const CreateWidgetCommand_base: {
|
|
|
324
325
|
* // template: { // MessageTemplateConfig
|
|
325
326
|
* // whatsapp: { // TemplateWithParameters
|
|
326
327
|
* // name: "STRING_VALUE", // required
|
|
327
|
-
* // parameters: [ // ListTemplateParameter
|
|
328
|
+
* // parameters: [ // ListTemplateParameter
|
|
328
329
|
* // { // TemplateParameter
|
|
329
330
|
* // name: "STRING_VALUE", // required
|
|
330
331
|
* // value: "STRING_VALUE", // required
|
|
@@ -437,7 +438,7 @@ declare const CreateWidgetCommand_base: {
|
|
|
437
438
|
* // template: {
|
|
438
439
|
* // whatsapp: {
|
|
439
440
|
* // name: "STRING_VALUE", // required
|
|
440
|
-
* // parameters: [
|
|
441
|
+
* // parameters: [
|
|
441
442
|
* // {
|
|
442
443
|
* // name: "STRING_VALUE", // required
|
|
443
444
|
* // value: "STRING_VALUE", // required
|
|
@@ -483,6 +484,7 @@ declare const CreateWidgetCommand_base: {
|
|
|
483
484
|
* // id: "STRING_VALUE", // required
|
|
484
485
|
* // },
|
|
485
486
|
* // },
|
|
487
|
+
* // anonymousSessionsEnabled: true || false,
|
|
486
488
|
* // actions: [
|
|
487
489
|
* // {
|
|
488
490
|
* // id: "STRING_VALUE", // required
|
|
@@ -27,8 +27,7 @@ declare const GetCalendarSlotsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
31
|
-
*
|
|
30
|
+
* Retrieves available calendar time slots for a specific Kite widget or agent within the specified date range.
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|
|
@@ -89,6 +88,7 @@ declare const GetCalendarSlotsCommand_base: {
|
|
|
89
88
|
* <p>Base exception class for all service exceptions from Kite service.</p>
|
|
90
89
|
*
|
|
91
90
|
*
|
|
91
|
+
* @public
|
|
92
92
|
*/
|
|
93
93
|
export declare class GetCalendarSlotsCommand extends GetCalendarSlotsCommand_base {
|
|
94
94
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -27,8 +27,7 @@ declare const GetConfigCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
31
|
-
*
|
|
30
|
+
* Retrieves the configuration settings for a specific Kite widget or agent, optionally filtered by route.
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|
|
@@ -67,6 +66,7 @@ declare const GetConfigCommand_base: {
|
|
|
67
66
|
* // pbxExtension: "STRING_VALUE",
|
|
68
67
|
* // pbxSerial: "STRING_VALUE",
|
|
69
68
|
* // pbxUserId: "STRING_VALUE",
|
|
69
|
+
* // pbxGroupId: "STRING_VALUE",
|
|
70
70
|
* // createdAt: "STRING_VALUE",
|
|
71
71
|
* // updatedAt: "STRING_VALUE",
|
|
72
72
|
* // },
|
|
@@ -91,7 +91,7 @@ declare const GetConfigCommand_base: {
|
|
|
91
91
|
* // template: { // MessageTemplateConfig
|
|
92
92
|
* // whatsapp: { // TemplateWithParameters
|
|
93
93
|
* // name: "STRING_VALUE", // required
|
|
94
|
-
* // parameters: [ // ListTemplateParameter
|
|
94
|
+
* // parameters: [ // ListTemplateParameter
|
|
95
95
|
* // { // TemplateParameter
|
|
96
96
|
* // name: "STRING_VALUE", // required
|
|
97
97
|
* // value: "STRING_VALUE", // required
|
|
@@ -124,6 +124,7 @@ declare const GetConfigCommand_base: {
|
|
|
124
124
|
* // delay: Number("int"),
|
|
125
125
|
* // },
|
|
126
126
|
* // ],
|
|
127
|
+
* // anonymousSessionsEnabled: true || false,
|
|
127
128
|
* // features: [ // KiteFeaturesList
|
|
128
129
|
* // "scheduling",
|
|
129
130
|
* // ],
|
|
@@ -152,6 +153,7 @@ declare const GetConfigCommand_base: {
|
|
|
152
153
|
* <p>Base exception class for all service exceptions from Kite service.</p>
|
|
153
154
|
*
|
|
154
155
|
*
|
|
156
|
+
* @public
|
|
155
157
|
*/
|
|
156
158
|
export declare class GetConfigCommand extends GetConfigCommand_base {
|
|
157
159
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -27,8 +27,7 @@ declare const GetSmsNumberConfigurationCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
31
|
-
*
|
|
30
|
+
* Retrieves the SMS configuration settings for a specific service number.
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|
|
@@ -226,6 +225,7 @@ declare const GetSmsNumberConfigurationCommand_base: {
|
|
|
226
225
|
* <p>Base exception class for all service exceptions from Kite service.</p>
|
|
227
226
|
*
|
|
228
227
|
*
|
|
228
|
+
* @public
|
|
229
229
|
*/
|
|
230
230
|
export declare class GetSmsNumberConfigurationCommand extends GetSmsNumberConfigurationCommand_base {
|
|
231
231
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -27,8 +27,7 @@ declare const GetWhatsAppNumberConfigurationCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
31
|
-
*
|
|
30
|
+
* Retrieves the WhatsApp configuration settings for a specific service number.
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|
|
@@ -226,6 +225,7 @@ declare const GetWhatsAppNumberConfigurationCommand_base: {
|
|
|
226
225
|
* <p>Base exception class for all service exceptions from Kite service.</p>
|
|
227
226
|
*
|
|
228
227
|
*
|
|
228
|
+
* @public
|
|
229
229
|
*/
|
|
230
230
|
export declare class GetWhatsAppNumberConfigurationCommand extends GetWhatsAppNumberConfigurationCommand_base {
|
|
231
231
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -74,7 +74,7 @@ declare const GetWidgetCommand_base: {
|
|
|
74
74
|
* // template: { // MessageTemplateConfig
|
|
75
75
|
* // whatsapp: { // TemplateWithParameters
|
|
76
76
|
* // name: "STRING_VALUE", // required
|
|
77
|
-
* // parameters: [ // ListTemplateParameter
|
|
77
|
+
* // parameters: [ // ListTemplateParameter
|
|
78
78
|
* // { // TemplateParameter
|
|
79
79
|
* // name: "STRING_VALUE", // required
|
|
80
80
|
* // value: "STRING_VALUE", // required
|
|
@@ -187,7 +187,7 @@ declare const GetWidgetCommand_base: {
|
|
|
187
187
|
* // template: {
|
|
188
188
|
* // whatsapp: {
|
|
189
189
|
* // name: "STRING_VALUE", // required
|
|
190
|
-
* // parameters: [
|
|
190
|
+
* // parameters: [
|
|
191
191
|
* // {
|
|
192
192
|
* // name: "STRING_VALUE", // required
|
|
193
193
|
* // value: "STRING_VALUE", // required
|
|
@@ -233,6 +233,7 @@ declare const GetWidgetCommand_base: {
|
|
|
233
233
|
* // id: "STRING_VALUE", // required
|
|
234
234
|
* // },
|
|
235
235
|
* // },
|
|
236
|
+
* // anonymousSessionsEnabled: true || false,
|
|
236
237
|
* // actions: [
|
|
237
238
|
* // {
|
|
238
239
|
* // id: "STRING_VALUE", // required
|
|
@@ -27,8 +27,7 @@ declare const ListAgentsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
31
|
-
*
|
|
30
|
+
* Retrieves a list of agents available for Kite-based conversations, filtered by service, extensions, or emails.
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|
|
@@ -66,6 +65,7 @@ declare const ListAgentsCommand_base: {
|
|
|
66
65
|
* // pbxExtension: "STRING_VALUE",
|
|
67
66
|
* // pbxSerial: "STRING_VALUE",
|
|
68
67
|
* // pbxUserId: "STRING_VALUE",
|
|
68
|
+
* // pbxGroupId: "STRING_VALUE",
|
|
69
69
|
* // createdAt: "STRING_VALUE",
|
|
70
70
|
* // updatedAt: "STRING_VALUE",
|
|
71
71
|
* // },
|
|
@@ -92,6 +92,7 @@ declare const ListAgentsCommand_base: {
|
|
|
92
92
|
* <p>Base exception class for all service exceptions from Kite service.</p>
|
|
93
93
|
*
|
|
94
94
|
*
|
|
95
|
+
* @public
|
|
95
96
|
*/
|
|
96
97
|
export declare class ListAgentsCommand extends ListAgentsCommand_base {
|
|
97
98
|
/** @internal type navigation helper, not in runtime. */
|