@wildix/xbees-conversations-client 1.1.20 → 1.1.22
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 -0
- package/dist-cjs/protocols/Aws_restJson1.js +8 -0
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +8 -0
- package/dist-types/commands/CreateGroupChannelCommand.d.ts +4 -0
- package/dist-types/commands/PartialUpdateChannelCommand.d.ts +5 -1
- package/dist-types/commands/UpdateChannelCommand.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +64 -0
- package/package.json +1 -1
|
@@ -347,9 +347,13 @@ exports.GroupChannelUnsetOptions = {
|
|
|
347
347
|
CONTEXT_EVENTS: "contextEvents",
|
|
348
348
|
CONTEXT_PTT: "contextPtt",
|
|
349
349
|
DESCRIPTION: "description",
|
|
350
|
+
MMS: "mms",
|
|
350
351
|
PICTURE: "picture",
|
|
351
352
|
PICTURE_COLOR: "pictureColor",
|
|
353
|
+
SMS: "sms",
|
|
352
354
|
SUBJECT: "subject",
|
|
355
|
+
WHATSAPP: "whatsapp",
|
|
356
|
+
WHATSAPP_STATUS: "whatsappStatus",
|
|
353
357
|
};
|
|
354
358
|
exports.MessageUnsetFields = {
|
|
355
359
|
ATTACHMENTS: "attachments",
|
|
@@ -98,9 +98,13 @@ const se_CreateGroupChannelCommand = async (input, context) => {
|
|
|
98
98
|
'description': [],
|
|
99
99
|
'members': _ => (0, smithy_client_1._json)(_),
|
|
100
100
|
'membersToInvite': _ => (0, smithy_client_1._json)(_),
|
|
101
|
+
'mms': [],
|
|
101
102
|
'picture': [],
|
|
102
103
|
'pictureColor': [],
|
|
104
|
+
'sms': [],
|
|
103
105
|
'subject': [],
|
|
106
|
+
'whatsapp': [],
|
|
107
|
+
'whatsappStatus': [],
|
|
104
108
|
}));
|
|
105
109
|
b.m("POST")
|
|
106
110
|
.h(headers)
|
|
@@ -1171,10 +1175,14 @@ const se_UpdateChannelCommand = async (input, context) => {
|
|
|
1171
1175
|
'broadcast': [],
|
|
1172
1176
|
'context': _ => (0, smithy_client_1._json)(_),
|
|
1173
1177
|
'description': [],
|
|
1178
|
+
'mms': [],
|
|
1174
1179
|
'picture': [],
|
|
1175
1180
|
'pictureColor': [],
|
|
1176
1181
|
'silent': [],
|
|
1182
|
+
'sms': [],
|
|
1177
1183
|
'subject': [],
|
|
1184
|
+
'whatsapp': [],
|
|
1185
|
+
'whatsappStatus': [],
|
|
1178
1186
|
}));
|
|
1179
1187
|
b.m("PUT")
|
|
1180
1188
|
.h(headers)
|
|
@@ -329,9 +329,13 @@ export const GroupChannelUnsetOptions = {
|
|
|
329
329
|
CONTEXT_EVENTS: "contextEvents",
|
|
330
330
|
CONTEXT_PTT: "contextPtt",
|
|
331
331
|
DESCRIPTION: "description",
|
|
332
|
+
MMS: "mms",
|
|
332
333
|
PICTURE: "picture",
|
|
333
334
|
PICTURE_COLOR: "pictureColor",
|
|
335
|
+
SMS: "sms",
|
|
334
336
|
SUBJECT: "subject",
|
|
337
|
+
WHATSAPP: "whatsapp",
|
|
338
|
+
WHATSAPP_STATUS: "whatsappStatus",
|
|
335
339
|
};
|
|
336
340
|
export const MessageUnsetFields = {
|
|
337
341
|
ATTACHMENTS: "attachments",
|
|
@@ -90,9 +90,13 @@ export const se_CreateGroupChannelCommand = async (input, context) => {
|
|
|
90
90
|
'description': [],
|
|
91
91
|
'members': _ => _json(_),
|
|
92
92
|
'membersToInvite': _ => _json(_),
|
|
93
|
+
'mms': [],
|
|
93
94
|
'picture': [],
|
|
94
95
|
'pictureColor': [],
|
|
96
|
+
'sms': [],
|
|
95
97
|
'subject': [],
|
|
98
|
+
'whatsapp': [],
|
|
99
|
+
'whatsappStatus': [],
|
|
96
100
|
}));
|
|
97
101
|
b.m("POST")
|
|
98
102
|
.h(headers)
|
|
@@ -1105,10 +1109,14 @@ export const se_UpdateChannelCommand = async (input, context) => {
|
|
|
1105
1109
|
'broadcast': [],
|
|
1106
1110
|
'context': _ => _json(_),
|
|
1107
1111
|
'description': [],
|
|
1112
|
+
'mms': [],
|
|
1108
1113
|
'picture': [],
|
|
1109
1114
|
'pictureColor': [],
|
|
1110
1115
|
'silent': [],
|
|
1116
|
+
'sms': [],
|
|
1111
1117
|
'subject': [],
|
|
1118
|
+
'whatsapp': [],
|
|
1119
|
+
'whatsappStatus': [],
|
|
1112
1120
|
}));
|
|
1113
1121
|
b.m("PUT")
|
|
1114
1122
|
.h(headers)
|
|
@@ -64,6 +64,10 @@ declare const CreateGroupChannelCommand_base: {
|
|
|
64
64
|
* broadcastId: "STRING_VALUE",
|
|
65
65
|
* },
|
|
66
66
|
* },
|
|
67
|
+
* whatsappStatus: "24h_channel_closed",
|
|
68
|
+
* sms: true || false,
|
|
69
|
+
* mms: true || false,
|
|
70
|
+
* whatsapp: true || false,
|
|
67
71
|
* userId: "STRING_VALUE",
|
|
68
72
|
* channelId: "STRING_VALUE",
|
|
69
73
|
* members: [ // UsersIdList
|
|
@@ -68,9 +68,13 @@ declare const PartialUpdateChannelCommand_base: {
|
|
|
68
68
|
* broadcastId: "STRING_VALUE",
|
|
69
69
|
* },
|
|
70
70
|
* },
|
|
71
|
+
* whatsappStatus: "24h_channel_closed",
|
|
72
|
+
* sms: true || false,
|
|
73
|
+
* mms: true || false,
|
|
74
|
+
* whatsapp: true || false,
|
|
71
75
|
* },
|
|
72
76
|
* unset: [ // PartialUpdateChannelUnsetOptions
|
|
73
|
-
* "subject" || "description" || "picture" || "pictureColor" || "access" || "broadcast" || "context" || "contextPtt" || "contextEvents",
|
|
77
|
+
* "subject" || "description" || "picture" || "pictureColor" || "access" || "broadcast" || "context" || "contextPtt" || "contextEvents" || "whatsappStatus" || "sms" || "mms" || "whatsapp",
|
|
74
78
|
* ],
|
|
75
79
|
* };
|
|
76
80
|
* const command = new PartialUpdateChannelCommand(input);
|
|
@@ -64,6 +64,10 @@ declare const UpdateChannelCommand_base: {
|
|
|
64
64
|
* broadcastId: "STRING_VALUE",
|
|
65
65
|
* },
|
|
66
66
|
* },
|
|
67
|
+
* whatsappStatus: "24h_channel_closed",
|
|
68
|
+
* sms: true || false,
|
|
69
|
+
* mms: true || false,
|
|
70
|
+
* whatsapp: true || false,
|
|
67
71
|
* channelId: "STRING_VALUE", // required
|
|
68
72
|
* userId: "STRING_VALUE",
|
|
69
73
|
* silent: true || false,
|
|
@@ -764,6 +764,26 @@ 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
|
+
whatsappStatus?: ChannelWhatsAppStatus | undefined;
|
|
772
|
+
/**
|
|
773
|
+
* Indicates if the channel supports SMS. Default is false.
|
|
774
|
+
* @public
|
|
775
|
+
*/
|
|
776
|
+
sms?: boolean | undefined;
|
|
777
|
+
/**
|
|
778
|
+
* Indicates if the channel supports MMS. Default is false.
|
|
779
|
+
* @public
|
|
780
|
+
*/
|
|
781
|
+
mms?: boolean | undefined;
|
|
782
|
+
/**
|
|
783
|
+
* Indicates if the channel supports WhatsApp. Default is false.
|
|
784
|
+
* @public
|
|
785
|
+
*/
|
|
786
|
+
whatsapp?: boolean | undefined;
|
|
767
787
|
/**
|
|
768
788
|
* The unique identifier of the user when a service token is used.
|
|
769
789
|
* @public
|
|
@@ -2397,6 +2417,26 @@ export interface PartialUpdateChannelSetOptions {
|
|
|
2397
2417
|
* @public
|
|
2398
2418
|
*/
|
|
2399
2419
|
context?: ChannelContext | undefined;
|
|
2420
|
+
/**
|
|
2421
|
+
* The WhatsApp status of the channel.
|
|
2422
|
+
* @public
|
|
2423
|
+
*/
|
|
2424
|
+
whatsappStatus?: ChannelWhatsAppStatus | undefined;
|
|
2425
|
+
/**
|
|
2426
|
+
* Indicates if the channel supports SMS. Default is false.
|
|
2427
|
+
* @public
|
|
2428
|
+
*/
|
|
2429
|
+
sms?: boolean | undefined;
|
|
2430
|
+
/**
|
|
2431
|
+
* Indicates if the channel supports MMS. Default is false.
|
|
2432
|
+
* @public
|
|
2433
|
+
*/
|
|
2434
|
+
mms?: boolean | undefined;
|
|
2435
|
+
/**
|
|
2436
|
+
* Indicates if the channel supports WhatsApp. Default is false.
|
|
2437
|
+
* @public
|
|
2438
|
+
*/
|
|
2439
|
+
whatsapp?: boolean | undefined;
|
|
2400
2440
|
}
|
|
2401
2441
|
/**
|
|
2402
2442
|
* @public
|
|
@@ -2409,9 +2449,13 @@ export declare const GroupChannelUnsetOptions: {
|
|
|
2409
2449
|
readonly CONTEXT_EVENTS: "contextEvents";
|
|
2410
2450
|
readonly CONTEXT_PTT: "contextPtt";
|
|
2411
2451
|
readonly DESCRIPTION: "description";
|
|
2452
|
+
readonly MMS: "mms";
|
|
2412
2453
|
readonly PICTURE: "picture";
|
|
2413
2454
|
readonly PICTURE_COLOR: "pictureColor";
|
|
2455
|
+
readonly SMS: "sms";
|
|
2414
2456
|
readonly SUBJECT: "subject";
|
|
2457
|
+
readonly WHATSAPP: "whatsapp";
|
|
2458
|
+
readonly WHATSAPP_STATUS: "whatsappStatus";
|
|
2415
2459
|
};
|
|
2416
2460
|
/**
|
|
2417
2461
|
* @public
|
|
@@ -3094,6 +3138,26 @@ export interface UpdateChannelInput {
|
|
|
3094
3138
|
* @public
|
|
3095
3139
|
*/
|
|
3096
3140
|
context?: ChannelContext | undefined;
|
|
3141
|
+
/**
|
|
3142
|
+
* The WhatsApp status of the channel.
|
|
3143
|
+
* @public
|
|
3144
|
+
*/
|
|
3145
|
+
whatsappStatus?: ChannelWhatsAppStatus | undefined;
|
|
3146
|
+
/**
|
|
3147
|
+
* Indicates if the channel supports SMS. Default is false.
|
|
3148
|
+
* @public
|
|
3149
|
+
*/
|
|
3150
|
+
sms?: boolean | undefined;
|
|
3151
|
+
/**
|
|
3152
|
+
* Indicates if the channel supports MMS. Default is false.
|
|
3153
|
+
* @public
|
|
3154
|
+
*/
|
|
3155
|
+
mms?: boolean | undefined;
|
|
3156
|
+
/**
|
|
3157
|
+
* Indicates if the channel supports WhatsApp. Default is false.
|
|
3158
|
+
* @public
|
|
3159
|
+
*/
|
|
3160
|
+
whatsapp?: boolean | undefined;
|
|
3097
3161
|
/**
|
|
3098
3162
|
* The unique identifier of the channel to be updated.
|
|
3099
3163
|
* @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.22",
|
|
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",
|