@wildix/xbees-conversations-client 1.1.22 → 1.1.23
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 +4 -3
- package/dist-cjs/protocols/Aws_restJson1.js +6 -0
- package/dist-es/models/models_0.js +4 -3
- package/dist-es/protocols/Aws_restJson1.js +6 -0
- package/dist-types/commands/CreateGroupChannelCommand.d.ts +20 -0
- package/dist-types/commands/PartialUpdateChannelCommand.d.ts +21 -1
- package/dist-types/commands/UpdateChannelCommand.d.ts +20 -0
- package/dist-types/models/models_0.d.ts +37 -15
- package/package.json +1 -1
|
@@ -342,17 +342,18 @@ class MarkUnreadChannelsLimitReachedException extends ConversationsServiceExcept
|
|
|
342
342
|
exports.MarkUnreadChannelsLimitReachedException = MarkUnreadChannelsLimitReachedException;
|
|
343
343
|
exports.GroupChannelUnsetOptions = {
|
|
344
344
|
ACCESS: "access",
|
|
345
|
+
ASSIGNEE: "assignee",
|
|
345
346
|
BROADCAST: "broadcast",
|
|
346
347
|
CONTEXT: "context",
|
|
347
348
|
CONTEXT_EVENTS: "contextEvents",
|
|
348
349
|
CONTEXT_PTT: "contextPtt",
|
|
349
350
|
DESCRIPTION: "description",
|
|
350
|
-
|
|
351
|
+
KITE_ASSIGN: "kiteAssign",
|
|
351
352
|
PICTURE: "picture",
|
|
352
353
|
PICTURE_COLOR: "pictureColor",
|
|
353
|
-
|
|
354
|
+
SERVICE: "service",
|
|
355
|
+
SERVICE_TITLE: "serviceTitle",
|
|
354
356
|
SUBJECT: "subject",
|
|
355
|
-
WHATSAPP: "whatsapp",
|
|
356
357
|
WHATSAPP_STATUS: "whatsappStatus",
|
|
357
358
|
};
|
|
358
359
|
exports.MessageUnsetFields = {
|
|
@@ -92,15 +92,18 @@ const se_CreateGroupChannelCommand = async (input, context) => {
|
|
|
92
92
|
let body;
|
|
93
93
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
94
94
|
'access': [],
|
|
95
|
+
'assignee': _ => (0, smithy_client_1._json)(_),
|
|
95
96
|
'broadcast': [],
|
|
96
97
|
'channelId': [],
|
|
97
98
|
'context': _ => (0, smithy_client_1._json)(_),
|
|
98
99
|
'description': [],
|
|
100
|
+
'kiteAssign': [],
|
|
99
101
|
'members': _ => (0, smithy_client_1._json)(_),
|
|
100
102
|
'membersToInvite': _ => (0, smithy_client_1._json)(_),
|
|
101
103
|
'mms': [],
|
|
102
104
|
'picture': [],
|
|
103
105
|
'pictureColor': [],
|
|
106
|
+
'serviceTitle': [],
|
|
104
107
|
'sms': [],
|
|
105
108
|
'subject': [],
|
|
106
109
|
'whatsapp': [],
|
|
@@ -1172,12 +1175,15 @@ const se_UpdateChannelCommand = async (input, context) => {
|
|
|
1172
1175
|
let body;
|
|
1173
1176
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1174
1177
|
'access': [],
|
|
1178
|
+
'assignee': _ => (0, smithy_client_1._json)(_),
|
|
1175
1179
|
'broadcast': [],
|
|
1176
1180
|
'context': _ => (0, smithy_client_1._json)(_),
|
|
1177
1181
|
'description': [],
|
|
1182
|
+
'kiteAssign': [],
|
|
1178
1183
|
'mms': [],
|
|
1179
1184
|
'picture': [],
|
|
1180
1185
|
'pictureColor': [],
|
|
1186
|
+
'serviceTitle': [],
|
|
1181
1187
|
'silent': [],
|
|
1182
1188
|
'sms': [],
|
|
1183
1189
|
'subject': [],
|
|
@@ -324,17 +324,18 @@ export class MarkUnreadChannelsLimitReachedException extends __BaseException {
|
|
|
324
324
|
}
|
|
325
325
|
export const GroupChannelUnsetOptions = {
|
|
326
326
|
ACCESS: "access",
|
|
327
|
+
ASSIGNEE: "assignee",
|
|
327
328
|
BROADCAST: "broadcast",
|
|
328
329
|
CONTEXT: "context",
|
|
329
330
|
CONTEXT_EVENTS: "contextEvents",
|
|
330
331
|
CONTEXT_PTT: "contextPtt",
|
|
331
332
|
DESCRIPTION: "description",
|
|
332
|
-
|
|
333
|
+
KITE_ASSIGN: "kiteAssign",
|
|
333
334
|
PICTURE: "picture",
|
|
334
335
|
PICTURE_COLOR: "pictureColor",
|
|
335
|
-
|
|
336
|
+
SERVICE: "service",
|
|
337
|
+
SERVICE_TITLE: "serviceTitle",
|
|
336
338
|
SUBJECT: "subject",
|
|
337
|
-
WHATSAPP: "whatsapp",
|
|
338
339
|
WHATSAPP_STATUS: "whatsappStatus",
|
|
339
340
|
};
|
|
340
341
|
export const MessageUnsetFields = {
|
|
@@ -84,15 +84,18 @@ export const se_CreateGroupChannelCommand = async (input, context) => {
|
|
|
84
84
|
let body;
|
|
85
85
|
body = JSON.stringify(take(input, {
|
|
86
86
|
'access': [],
|
|
87
|
+
'assignee': _ => _json(_),
|
|
87
88
|
'broadcast': [],
|
|
88
89
|
'channelId': [],
|
|
89
90
|
'context': _ => _json(_),
|
|
90
91
|
'description': [],
|
|
92
|
+
'kiteAssign': [],
|
|
91
93
|
'members': _ => _json(_),
|
|
92
94
|
'membersToInvite': _ => _json(_),
|
|
93
95
|
'mms': [],
|
|
94
96
|
'picture': [],
|
|
95
97
|
'pictureColor': [],
|
|
98
|
+
'serviceTitle': [],
|
|
96
99
|
'sms': [],
|
|
97
100
|
'subject': [],
|
|
98
101
|
'whatsapp': [],
|
|
@@ -1106,12 +1109,15 @@ export const se_UpdateChannelCommand = async (input, context) => {
|
|
|
1106
1109
|
let body;
|
|
1107
1110
|
body = JSON.stringify(take(input, {
|
|
1108
1111
|
'access': [],
|
|
1112
|
+
'assignee': _ => _json(_),
|
|
1109
1113
|
'broadcast': [],
|
|
1110
1114
|
'context': _ => _json(_),
|
|
1111
1115
|
'description': [],
|
|
1116
|
+
'kiteAssign': [],
|
|
1112
1117
|
'mms': [],
|
|
1113
1118
|
'picture': [],
|
|
1114
1119
|
'pictureColor': [],
|
|
1120
|
+
'serviceTitle': [],
|
|
1115
1121
|
'silent': [],
|
|
1116
1122
|
'sms': [],
|
|
1117
1123
|
'subject': [],
|
|
@@ -68,6 +68,26 @@ declare const CreateGroupChannelCommand_base: {
|
|
|
68
68
|
* sms: true || false,
|
|
69
69
|
* mms: true || false,
|
|
70
70
|
* whatsapp: true || false,
|
|
71
|
+
* kiteAssign: "STRING_VALUE",
|
|
72
|
+
* serviceTitle: "STRING_VALUE",
|
|
73
|
+
* assignee: { // User
|
|
74
|
+
* id: "STRING_VALUE", // required
|
|
75
|
+
* name: "STRING_VALUE",
|
|
76
|
+
* email: "STRING_VALUE",
|
|
77
|
+
* phone: "STRING_VALUE",
|
|
78
|
+
* picture: "STRING_VALUE",
|
|
79
|
+
* locale: "STRING_VALUE",
|
|
80
|
+
* timeZone: "STRING_VALUE",
|
|
81
|
+
* company: "STRING_VALUE",
|
|
82
|
+
* bot: true || false,
|
|
83
|
+
* pbxDomain: "STRING_VALUE",
|
|
84
|
+
* pbxPort: "STRING_VALUE",
|
|
85
|
+
* pbxExtension: "STRING_VALUE",
|
|
86
|
+
* pbxSerial: "STRING_VALUE",
|
|
87
|
+
* pbxUserId: "STRING_VALUE",
|
|
88
|
+
* createdAt: "STRING_VALUE",
|
|
89
|
+
* updatedAt: "STRING_VALUE",
|
|
90
|
+
* },
|
|
71
91
|
* userId: "STRING_VALUE",
|
|
72
92
|
* channelId: "STRING_VALUE",
|
|
73
93
|
* members: [ // UsersIdList
|
|
@@ -72,9 +72,29 @@ declare const PartialUpdateChannelCommand_base: {
|
|
|
72
72
|
* sms: true || false,
|
|
73
73
|
* mms: true || false,
|
|
74
74
|
* whatsapp: true || false,
|
|
75
|
+
* kiteAssign: "STRING_VALUE",
|
|
76
|
+
* serviceTitle: "STRING_VALUE",
|
|
77
|
+
* assignee: { // User
|
|
78
|
+
* id: "STRING_VALUE", // required
|
|
79
|
+
* name: "STRING_VALUE",
|
|
80
|
+
* email: "STRING_VALUE",
|
|
81
|
+
* phone: "STRING_VALUE",
|
|
82
|
+
* picture: "STRING_VALUE",
|
|
83
|
+
* locale: "STRING_VALUE",
|
|
84
|
+
* timeZone: "STRING_VALUE",
|
|
85
|
+
* company: "STRING_VALUE",
|
|
86
|
+
* bot: true || false,
|
|
87
|
+
* pbxDomain: "STRING_VALUE",
|
|
88
|
+
* pbxPort: "STRING_VALUE",
|
|
89
|
+
* pbxExtension: "STRING_VALUE",
|
|
90
|
+
* pbxSerial: "STRING_VALUE",
|
|
91
|
+
* pbxUserId: "STRING_VALUE",
|
|
92
|
+
* createdAt: "STRING_VALUE",
|
|
93
|
+
* updatedAt: "STRING_VALUE",
|
|
94
|
+
* },
|
|
75
95
|
* },
|
|
76
96
|
* unset: [ // PartialUpdateChannelUnsetOptions
|
|
77
|
-
* "subject" || "description" || "picture" || "pictureColor" || "access" || "broadcast" || "context" || "contextPtt" || "contextEvents" || "whatsappStatus" || "
|
|
97
|
+
* "subject" || "description" || "picture" || "pictureColor" || "access" || "broadcast" || "context" || "contextPtt" || "contextEvents" || "whatsappStatus" || "kiteAssign" || "service" || "serviceTitle" || "assignee",
|
|
78
98
|
* ],
|
|
79
99
|
* };
|
|
80
100
|
* const command = new PartialUpdateChannelCommand(input);
|
|
@@ -68,6 +68,26 @@ declare const UpdateChannelCommand_base: {
|
|
|
68
68
|
* sms: true || false,
|
|
69
69
|
* mms: true || false,
|
|
70
70
|
* whatsapp: true || false,
|
|
71
|
+
* kiteAssign: "STRING_VALUE",
|
|
72
|
+
* serviceTitle: "STRING_VALUE",
|
|
73
|
+
* assignee: { // User
|
|
74
|
+
* id: "STRING_VALUE", // required
|
|
75
|
+
* name: "STRING_VALUE",
|
|
76
|
+
* email: "STRING_VALUE",
|
|
77
|
+
* phone: "STRING_VALUE",
|
|
78
|
+
* picture: "STRING_VALUE",
|
|
79
|
+
* locale: "STRING_VALUE",
|
|
80
|
+
* timeZone: "STRING_VALUE",
|
|
81
|
+
* company: "STRING_VALUE",
|
|
82
|
+
* bot: true || false,
|
|
83
|
+
* pbxDomain: "STRING_VALUE",
|
|
84
|
+
* pbxPort: "STRING_VALUE",
|
|
85
|
+
* pbxExtension: "STRING_VALUE",
|
|
86
|
+
* pbxSerial: "STRING_VALUE",
|
|
87
|
+
* pbxUserId: "STRING_VALUE",
|
|
88
|
+
* createdAt: "STRING_VALUE",
|
|
89
|
+
* updatedAt: "STRING_VALUE",
|
|
90
|
+
* },
|
|
71
91
|
* channelId: "STRING_VALUE", // required
|
|
72
92
|
* userId: "STRING_VALUE",
|
|
73
93
|
* silent: true || false,
|
|
@@ -764,10 +764,6 @@ export interface CreateGroupChannelInput {
|
|
|
764
764
|
* @public
|
|
765
765
|
*/
|
|
766
766
|
context?: ChannelContext | undefined;
|
|
767
|
-
/**
|
|
768
|
-
* The WhatsApp status of the channel.
|
|
769
|
-
* @public
|
|
770
|
-
*/
|
|
771
767
|
whatsappStatus?: ChannelWhatsAppStatus | undefined;
|
|
772
768
|
/**
|
|
773
769
|
* Indicates if the channel supports SMS. Default is false.
|
|
@@ -784,6 +780,17 @@ export interface CreateGroupChannelInput {
|
|
|
784
780
|
* @public
|
|
785
781
|
*/
|
|
786
782
|
whatsapp?: boolean | undefined;
|
|
783
|
+
/**
|
|
784
|
+
* The unique identifier of the assignee.
|
|
785
|
+
* @public
|
|
786
|
+
*/
|
|
787
|
+
kiteAssign?: string | undefined;
|
|
788
|
+
serviceTitle?: string | undefined;
|
|
789
|
+
/**
|
|
790
|
+
* A user that assigned to the channel if specified in the request, otherwise previously assigned user or undefined.
|
|
791
|
+
* @public
|
|
792
|
+
*/
|
|
793
|
+
assignee?: User | undefined;
|
|
787
794
|
/**
|
|
788
795
|
* The unique identifier of the user when a service token is used.
|
|
789
796
|
* @public
|
|
@@ -2417,10 +2424,6 @@ export interface PartialUpdateChannelSetOptions {
|
|
|
2417
2424
|
* @public
|
|
2418
2425
|
*/
|
|
2419
2426
|
context?: ChannelContext | undefined;
|
|
2420
|
-
/**
|
|
2421
|
-
* The WhatsApp status of the channel.
|
|
2422
|
-
* @public
|
|
2423
|
-
*/
|
|
2424
2427
|
whatsappStatus?: ChannelWhatsAppStatus | undefined;
|
|
2425
2428
|
/**
|
|
2426
2429
|
* Indicates if the channel supports SMS. Default is false.
|
|
@@ -2437,6 +2440,17 @@ export interface PartialUpdateChannelSetOptions {
|
|
|
2437
2440
|
* @public
|
|
2438
2441
|
*/
|
|
2439
2442
|
whatsapp?: boolean | undefined;
|
|
2443
|
+
/**
|
|
2444
|
+
* The unique identifier of the assignee.
|
|
2445
|
+
* @public
|
|
2446
|
+
*/
|
|
2447
|
+
kiteAssign?: string | undefined;
|
|
2448
|
+
serviceTitle?: string | undefined;
|
|
2449
|
+
/**
|
|
2450
|
+
* A user that assigned to the channel if specified in the request, otherwise previously assigned user or undefined.
|
|
2451
|
+
* @public
|
|
2452
|
+
*/
|
|
2453
|
+
assignee?: User | undefined;
|
|
2440
2454
|
}
|
|
2441
2455
|
/**
|
|
2442
2456
|
* @public
|
|
@@ -2444,17 +2458,18 @@ export interface PartialUpdateChannelSetOptions {
|
|
|
2444
2458
|
*/
|
|
2445
2459
|
export declare const GroupChannelUnsetOptions: {
|
|
2446
2460
|
readonly ACCESS: "access";
|
|
2461
|
+
readonly ASSIGNEE: "assignee";
|
|
2447
2462
|
readonly BROADCAST: "broadcast";
|
|
2448
2463
|
readonly CONTEXT: "context";
|
|
2449
2464
|
readonly CONTEXT_EVENTS: "contextEvents";
|
|
2450
2465
|
readonly CONTEXT_PTT: "contextPtt";
|
|
2451
2466
|
readonly DESCRIPTION: "description";
|
|
2452
|
-
readonly
|
|
2467
|
+
readonly KITE_ASSIGN: "kiteAssign";
|
|
2453
2468
|
readonly PICTURE: "picture";
|
|
2454
2469
|
readonly PICTURE_COLOR: "pictureColor";
|
|
2455
|
-
readonly
|
|
2470
|
+
readonly SERVICE: "service";
|
|
2471
|
+
readonly SERVICE_TITLE: "serviceTitle";
|
|
2456
2472
|
readonly SUBJECT: "subject";
|
|
2457
|
-
readonly WHATSAPP: "whatsapp";
|
|
2458
2473
|
readonly WHATSAPP_STATUS: "whatsappStatus";
|
|
2459
2474
|
};
|
|
2460
2475
|
/**
|
|
@@ -3138,10 +3153,6 @@ export interface UpdateChannelInput {
|
|
|
3138
3153
|
* @public
|
|
3139
3154
|
*/
|
|
3140
3155
|
context?: ChannelContext | undefined;
|
|
3141
|
-
/**
|
|
3142
|
-
* The WhatsApp status of the channel.
|
|
3143
|
-
* @public
|
|
3144
|
-
*/
|
|
3145
3156
|
whatsappStatus?: ChannelWhatsAppStatus | undefined;
|
|
3146
3157
|
/**
|
|
3147
3158
|
* Indicates if the channel supports SMS. Default is false.
|
|
@@ -3158,6 +3169,17 @@ export interface UpdateChannelInput {
|
|
|
3158
3169
|
* @public
|
|
3159
3170
|
*/
|
|
3160
3171
|
whatsapp?: boolean | undefined;
|
|
3172
|
+
/**
|
|
3173
|
+
* The unique identifier of the assignee.
|
|
3174
|
+
* @public
|
|
3175
|
+
*/
|
|
3176
|
+
kiteAssign?: string | undefined;
|
|
3177
|
+
serviceTitle?: string | undefined;
|
|
3178
|
+
/**
|
|
3179
|
+
* A user that assigned to the channel if specified in the request, otherwise previously assigned user or undefined.
|
|
3180
|
+
* @public
|
|
3181
|
+
*/
|
|
3182
|
+
assignee?: User | undefined;
|
|
3161
3183
|
/**
|
|
3162
3184
|
* The unique identifier of the channel to be updated.
|
|
3163
3185
|
* @public
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wildix/xbees-conversations-client",
|
|
3
3
|
"description": "@wildix/xbees-conversations-client client",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.23",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|