@wildix/xbees-conversations-client 1.1.21 → 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 +3 -0
- package/dist-cjs/protocols/Aws_restJson1.js +6 -0
- package/dist-es/models/models_0.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +6 -0
- package/dist-types/commands/CreateGroupChannelCommand.d.ts +3 -0
- package/dist-types/commands/PartialUpdateChannelCommand.d.ts +4 -1
- package/dist-types/commands/UpdateChannelCommand.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +60 -0
- package/package.json +1 -1
|
@@ -347,9 +347,12 @@ 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",
|
|
353
356
|
WHATSAPP_STATUS: "whatsappStatus",
|
|
354
357
|
};
|
|
355
358
|
exports.MessageUnsetFields = {
|
|
@@ -98,9 +98,12 @@ 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': [],
|
|
104
107
|
'whatsappStatus': [],
|
|
105
108
|
}));
|
|
106
109
|
b.m("POST")
|
|
@@ -1172,10 +1175,13 @@ const se_UpdateChannelCommand = async (input, context) => {
|
|
|
1172
1175
|
'broadcast': [],
|
|
1173
1176
|
'context': _ => (0, smithy_client_1._json)(_),
|
|
1174
1177
|
'description': [],
|
|
1178
|
+
'mms': [],
|
|
1175
1179
|
'picture': [],
|
|
1176
1180
|
'pictureColor': [],
|
|
1177
1181
|
'silent': [],
|
|
1182
|
+
'sms': [],
|
|
1178
1183
|
'subject': [],
|
|
1184
|
+
'whatsapp': [],
|
|
1179
1185
|
'whatsappStatus': [],
|
|
1180
1186
|
}));
|
|
1181
1187
|
b.m("PUT")
|
|
@@ -329,9 +329,12 @@ 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",
|
|
335
338
|
WHATSAPP_STATUS: "whatsappStatus",
|
|
336
339
|
};
|
|
337
340
|
export const MessageUnsetFields = {
|
|
@@ -90,9 +90,12 @@ 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': [],
|
|
96
99
|
'whatsappStatus': [],
|
|
97
100
|
}));
|
|
98
101
|
b.m("POST")
|
|
@@ -1106,10 +1109,13 @@ export const se_UpdateChannelCommand = async (input, context) => {
|
|
|
1106
1109
|
'broadcast': [],
|
|
1107
1110
|
'context': _ => _json(_),
|
|
1108
1111
|
'description': [],
|
|
1112
|
+
'mms': [],
|
|
1109
1113
|
'picture': [],
|
|
1110
1114
|
'pictureColor': [],
|
|
1111
1115
|
'silent': [],
|
|
1116
|
+
'sms': [],
|
|
1112
1117
|
'subject': [],
|
|
1118
|
+
'whatsapp': [],
|
|
1113
1119
|
'whatsappStatus': [],
|
|
1114
1120
|
}));
|
|
1115
1121
|
b.m("PUT")
|
|
@@ -65,6 +65,9 @@ declare const CreateGroupChannelCommand_base: {
|
|
|
65
65
|
* },
|
|
66
66
|
* },
|
|
67
67
|
* whatsappStatus: "24h_channel_closed",
|
|
68
|
+
* sms: true || false,
|
|
69
|
+
* mms: true || false,
|
|
70
|
+
* whatsapp: true || false,
|
|
68
71
|
* userId: "STRING_VALUE",
|
|
69
72
|
* channelId: "STRING_VALUE",
|
|
70
73
|
* members: [ // UsersIdList
|
|
@@ -69,9 +69,12 @@ declare const PartialUpdateChannelCommand_base: {
|
|
|
69
69
|
* },
|
|
70
70
|
* },
|
|
71
71
|
* whatsappStatus: "24h_channel_closed",
|
|
72
|
+
* sms: true || false,
|
|
73
|
+
* mms: true || false,
|
|
74
|
+
* whatsapp: true || false,
|
|
72
75
|
* },
|
|
73
76
|
* unset: [ // PartialUpdateChannelUnsetOptions
|
|
74
|
-
* "subject" || "description" || "picture" || "pictureColor" || "access" || "broadcast" || "context" || "contextPtt" || "contextEvents" || "whatsappStatus",
|
|
77
|
+
* "subject" || "description" || "picture" || "pictureColor" || "access" || "broadcast" || "context" || "contextPtt" || "contextEvents" || "whatsappStatus" || "sms" || "mms" || "whatsapp",
|
|
75
78
|
* ],
|
|
76
79
|
* };
|
|
77
80
|
* const command = new PartialUpdateChannelCommand(input);
|
|
@@ -65,6 +65,9 @@ declare const UpdateChannelCommand_base: {
|
|
|
65
65
|
* },
|
|
66
66
|
* },
|
|
67
67
|
* whatsappStatus: "24h_channel_closed",
|
|
68
|
+
* sms: true || false,
|
|
69
|
+
* mms: true || false,
|
|
70
|
+
* whatsapp: true || false,
|
|
68
71
|
* channelId: "STRING_VALUE", // required
|
|
69
72
|
* userId: "STRING_VALUE",
|
|
70
73
|
* silent: true || false,
|
|
@@ -764,7 +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
|
+
*/
|
|
767
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;
|
|
768
787
|
/**
|
|
769
788
|
* The unique identifier of the user when a service token is used.
|
|
770
789
|
* @public
|
|
@@ -2398,7 +2417,26 @@ export interface PartialUpdateChannelSetOptions {
|
|
|
2398
2417
|
* @public
|
|
2399
2418
|
*/
|
|
2400
2419
|
context?: ChannelContext | undefined;
|
|
2420
|
+
/**
|
|
2421
|
+
* The WhatsApp status of the channel.
|
|
2422
|
+
* @public
|
|
2423
|
+
*/
|
|
2401
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;
|
|
2402
2440
|
}
|
|
2403
2441
|
/**
|
|
2404
2442
|
* @public
|
|
@@ -2411,9 +2449,12 @@ export declare const GroupChannelUnsetOptions: {
|
|
|
2411
2449
|
readonly CONTEXT_EVENTS: "contextEvents";
|
|
2412
2450
|
readonly CONTEXT_PTT: "contextPtt";
|
|
2413
2451
|
readonly DESCRIPTION: "description";
|
|
2452
|
+
readonly MMS: "mms";
|
|
2414
2453
|
readonly PICTURE: "picture";
|
|
2415
2454
|
readonly PICTURE_COLOR: "pictureColor";
|
|
2455
|
+
readonly SMS: "sms";
|
|
2416
2456
|
readonly SUBJECT: "subject";
|
|
2457
|
+
readonly WHATSAPP: "whatsapp";
|
|
2417
2458
|
readonly WHATSAPP_STATUS: "whatsappStatus";
|
|
2418
2459
|
};
|
|
2419
2460
|
/**
|
|
@@ -3097,7 +3138,26 @@ export interface UpdateChannelInput {
|
|
|
3097
3138
|
* @public
|
|
3098
3139
|
*/
|
|
3099
3140
|
context?: ChannelContext | undefined;
|
|
3141
|
+
/**
|
|
3142
|
+
* The WhatsApp status of the channel.
|
|
3143
|
+
* @public
|
|
3144
|
+
*/
|
|
3100
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;
|
|
3101
3161
|
/**
|
|
3102
3162
|
* The unique identifier of the channel to be updated.
|
|
3103
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",
|