@wildix/xbees-conversations-client 4.2.0-messaging.1 → 4.2.0
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/schemas/schemas_0.js +8 -8
- package/dist-es/schemas/schemas_0.js +8 -8
- package/dist-types/commands/CreateGroupChannelCommand.d.ts +0 -1
- package/dist-types/commands/PartialUpdateChannelCommand.d.ts +0 -1
- package/dist-types/commands/UpdateChannelCommand.d.ts +0 -1
- package/dist-types/models/models_0.d.ts +1 -16
- package/package.json +3 -2
|
@@ -311,6 +311,7 @@ const _WM = "WelcomeMessage";
|
|
|
311
311
|
const _WML = "WelcomeMessagesList";
|
|
312
312
|
const _XRL = "X-RateLimit-Limit";
|
|
313
313
|
const _XRR = "X-RateLimit-Remaining";
|
|
314
|
+
const _XRR_ = "X-RateLimit-Reset";
|
|
314
315
|
const _a = "assignee";
|
|
315
316
|
const _aI = "actionId";
|
|
316
317
|
const _aM = "addedMembers";
|
|
@@ -504,7 +505,6 @@ const _wGVO = "wizyGuestViewOnly";
|
|
|
504
505
|
const _wM = "welcomeMessages";
|
|
505
506
|
const _wS = "whatsappStatus";
|
|
506
507
|
const _wi = "width";
|
|
507
|
-
const _xRR = "x-RateLimit-Reset";
|
|
508
508
|
const n0 = "smithy.framework";
|
|
509
509
|
const n1 = "wildix.xbees.conversations";
|
|
510
510
|
const n2 = "wildix.xbees.kite";
|
|
@@ -527,7 +527,7 @@ n0_registry.registerError(exports.ForbiddenException$, errors_1.ForbiddenExcepti
|
|
|
527
527
|
exports.RateLimitExceededException$ = [-3, n0, _RLEE,
|
|
528
528
|
{ [_e]: _c, [_hE]: 429 },
|
|
529
529
|
[_m, _rL, _rLR, _rLRa, _rA],
|
|
530
|
-
[0, [0, { [_hH]: _XRL }], [1, { [_hH]: _XRR }], [1, { [_hH]:
|
|
530
|
+
[0, [0, { [_hH]: _XRL }], [1, { [_hH]: _XRR }], [1, { [_hH]: _XRR_ }], [1, { [_hH]: _RA }]], 1
|
|
531
531
|
];
|
|
532
532
|
n0_registry.registerError(exports.RateLimitExceededException$, errors_1.RateLimitExceededException);
|
|
533
533
|
exports.ValidationException$ = [-3, n0, _VE,
|
|
@@ -751,8 +751,8 @@ exports.ChannelsQuery$ = [3, n1, _CQ,
|
|
|
751
751
|
];
|
|
752
752
|
exports.CreateGroupChannelInput$ = [3, n1, _CGCI,
|
|
753
753
|
0,
|
|
754
|
-
[_su, _de, _pi, _pC, _ac, _b, _con, _wS, _sm, _mm, _w,
|
|
755
|
-
[0, 0, 0, 0, 0, 2, () => exports.ChannelContext$, 0, 2, 2, 2, 0, 0,
|
|
754
|
+
[_su, _de, _pi, _pC, _ac, _b, _con, _wS, _sm, _mm, _w, _mS, _mSI, _mRU, _kA, _sT, _a, _aR, _tL, _wGVO, _uI, _cI, _mem, _mTIe, _cET],
|
|
755
|
+
[0, 0, 0, 0, 0, 2, () => exports.ChannelContext$, 0, 2, 2, 2, 0, 0, 1, 0, 0, () => exports.User$, 2, 0, 2, [0, { [_hQ]: _us }], 0, 64 | 0, () => UsersToInviteList, 0]
|
|
756
756
|
];
|
|
757
757
|
exports.CreateGroupChannelOutput$ = [3, n1, _CGCO,
|
|
758
758
|
0,
|
|
@@ -1236,8 +1236,8 @@ exports.PartialUpdateChannelOutput$ = [3, n1, _PUCO,
|
|
|
1236
1236
|
];
|
|
1237
1237
|
exports.PartialUpdateChannelSetOptions$ = [3, n1, _PUCSO,
|
|
1238
1238
|
0,
|
|
1239
|
-
[_su, _de, _pi, _pC, _ac, _b, _con, _wS, _sm, _mm, _w,
|
|
1240
|
-
[0, 0, 0, 0, 0, 2, () => exports.ChannelContext$, 0, 2, 2, 2, 0, 0,
|
|
1239
|
+
[_su, _de, _pi, _pC, _ac, _b, _con, _wS, _sm, _mm, _w, _mS, _mSI, _mRU, _kA, _sT, _a, _aR, _tL, _wGVO],
|
|
1240
|
+
[0, 0, 0, 0, 0, 2, () => exports.ChannelContext$, 0, 2, 2, 2, 0, 0, 1, 0, 0, () => exports.User$, 2, 0, 2]
|
|
1241
1241
|
];
|
|
1242
1242
|
exports.PartialUpdateMessageInput$ = [3, n1, _PUMI,
|
|
1243
1243
|
0,
|
|
@@ -1436,8 +1436,8 @@ exports.UntagChannelOutput$ = [3, n1, _UCOn,
|
|
|
1436
1436
|
];
|
|
1437
1437
|
exports.UpdateChannelInput$ = [3, n1, _UCIp,
|
|
1438
1438
|
0,
|
|
1439
|
-
[_cI, _su, _de, _pi, _pC, _ac, _b, _con, _wS, _sm, _mm, _w,
|
|
1440
|
-
[[0, 1], 0, 0, 0, 0, 0, 2, () => exports.ChannelContext$, 0, 2, 2, 2, 0, 0,
|
|
1439
|
+
[_cI, _su, _de, _pi, _pC, _ac, _b, _con, _wS, _sm, _mm, _w, _mS, _mSI, _mRU, _kA, _sT, _a, _aR, _tL, _wGVO, _uI, _si],
|
|
1440
|
+
[[0, 1], 0, 0, 0, 0, 0, 2, () => exports.ChannelContext$, 0, 2, 2, 2, 0, 0, 1, 0, 0, () => exports.User$, 2, 0, 2, [0, { [_hQ]: _us }], 2], 1
|
|
1441
1441
|
];
|
|
1442
1442
|
exports.UpdateChannelOutput$ = [3, n1, _UCOp,
|
|
1443
1443
|
0,
|
|
@@ -303,6 +303,7 @@ const _WM = "WelcomeMessage";
|
|
|
303
303
|
const _WML = "WelcomeMessagesList";
|
|
304
304
|
const _XRL = "X-RateLimit-Limit";
|
|
305
305
|
const _XRR = "X-RateLimit-Remaining";
|
|
306
|
+
const _XRR_ = "X-RateLimit-Reset";
|
|
306
307
|
const _a = "assignee";
|
|
307
308
|
const _aI = "actionId";
|
|
308
309
|
const _aM = "addedMembers";
|
|
@@ -496,7 +497,6 @@ const _wGVO = "wizyGuestViewOnly";
|
|
|
496
497
|
const _wM = "welcomeMessages";
|
|
497
498
|
const _wS = "whatsappStatus";
|
|
498
499
|
const _wi = "width";
|
|
499
|
-
const _xRR = "x-RateLimit-Reset";
|
|
500
500
|
const n0 = "smithy.framework";
|
|
501
501
|
const n1 = "wildix.xbees.conversations";
|
|
502
502
|
const n2 = "wildix.xbees.kite";
|
|
@@ -519,7 +519,7 @@ n0_registry.registerError(ForbiddenException$, ForbiddenException);
|
|
|
519
519
|
export var RateLimitExceededException$ = [-3, n0, _RLEE,
|
|
520
520
|
{ [_e]: _c, [_hE]: 429 },
|
|
521
521
|
[_m, _rL, _rLR, _rLRa, _rA],
|
|
522
|
-
[0, [0, { [_hH]: _XRL }], [1, { [_hH]: _XRR }], [1, { [_hH]:
|
|
522
|
+
[0, [0, { [_hH]: _XRL }], [1, { [_hH]: _XRR }], [1, { [_hH]: _XRR_ }], [1, { [_hH]: _RA }]], 1
|
|
523
523
|
];
|
|
524
524
|
n0_registry.registerError(RateLimitExceededException$, RateLimitExceededException);
|
|
525
525
|
export var ValidationException$ = [-3, n0, _VE,
|
|
@@ -743,8 +743,8 @@ export var ChannelsQuery$ = [3, n1, _CQ,
|
|
|
743
743
|
];
|
|
744
744
|
export var CreateGroupChannelInput$ = [3, n1, _CGCI,
|
|
745
745
|
0,
|
|
746
|
-
[_su, _de, _pi, _pC, _ac, _b, _con, _wS, _sm, _mm, _w,
|
|
747
|
-
[0, 0, 0, 0, 0, 2, () => ChannelContext$, 0, 2, 2, 2, 0, 0,
|
|
746
|
+
[_su, _de, _pi, _pC, _ac, _b, _con, _wS, _sm, _mm, _w, _mS, _mSI, _mRU, _kA, _sT, _a, _aR, _tL, _wGVO, _uI, _cI, _mem, _mTIe, _cET],
|
|
747
|
+
[0, 0, 0, 0, 0, 2, () => ChannelContext$, 0, 2, 2, 2, 0, 0, 1, 0, 0, () => User$, 2, 0, 2, [0, { [_hQ]: _us }], 0, 64 | 0, () => UsersToInviteList, 0]
|
|
748
748
|
];
|
|
749
749
|
export var CreateGroupChannelOutput$ = [3, n1, _CGCO,
|
|
750
750
|
0,
|
|
@@ -1228,8 +1228,8 @@ export var PartialUpdateChannelOutput$ = [3, n1, _PUCO,
|
|
|
1228
1228
|
];
|
|
1229
1229
|
export var PartialUpdateChannelSetOptions$ = [3, n1, _PUCSO,
|
|
1230
1230
|
0,
|
|
1231
|
-
[_su, _de, _pi, _pC, _ac, _b, _con, _wS, _sm, _mm, _w,
|
|
1232
|
-
[0, 0, 0, 0, 0, 2, () => ChannelContext$, 0, 2, 2, 2, 0, 0,
|
|
1231
|
+
[_su, _de, _pi, _pC, _ac, _b, _con, _wS, _sm, _mm, _w, _mS, _mSI, _mRU, _kA, _sT, _a, _aR, _tL, _wGVO],
|
|
1232
|
+
[0, 0, 0, 0, 0, 2, () => ChannelContext$, 0, 2, 2, 2, 0, 0, 1, 0, 0, () => User$, 2, 0, 2]
|
|
1233
1233
|
];
|
|
1234
1234
|
export var PartialUpdateMessageInput$ = [3, n1, _PUMI,
|
|
1235
1235
|
0,
|
|
@@ -1428,8 +1428,8 @@ export var UntagChannelOutput$ = [3, n1, _UCOn,
|
|
|
1428
1428
|
];
|
|
1429
1429
|
export var UpdateChannelInput$ = [3, n1, _UCIp,
|
|
1430
1430
|
0,
|
|
1431
|
-
[_cI, _su, _de, _pi, _pC, _ac, _b, _con, _wS, _sm, _mm, _w,
|
|
1432
|
-
[[0, 1], 0, 0, 0, 0, 0, 2, () => ChannelContext$, 0, 2, 2, 2, 0, 0,
|
|
1431
|
+
[_cI, _su, _de, _pi, _pC, _ac, _b, _con, _wS, _sm, _mm, _w, _mS, _mSI, _mRU, _kA, _sT, _a, _aR, _tL, _wGVO, _uI, _si],
|
|
1432
|
+
[[0, 1], 0, 0, 0, 0, 0, 2, () => ChannelContext$, 0, 2, 2, 2, 0, 0, 1, 0, 0, () => User$, 2, 0, 2, [0, { [_hQ]: _us }], 2], 1
|
|
1433
1433
|
];
|
|
1434
1434
|
export var UpdateChannelOutput$ = [3, n1, _UCOp,
|
|
1435
1435
|
0,
|
|
@@ -70,7 +70,6 @@ declare const CreateGroupChannelCommand_base: {
|
|
|
70
70
|
* sms: true || false,
|
|
71
71
|
* mms: true || false,
|
|
72
72
|
* whatsapp: true || false,
|
|
73
|
-
* messagingChannel: "messenger" || "instagram" || "rcs",
|
|
74
73
|
* messagingStatus: "window_closed",
|
|
75
74
|
* messagingSenderId: "STRING_VALUE",
|
|
76
75
|
* messagingReplyUntil: Number("long"),
|
|
@@ -74,7 +74,6 @@ declare const PartialUpdateChannelCommand_base: {
|
|
|
74
74
|
* sms: true || false,
|
|
75
75
|
* mms: true || false,
|
|
76
76
|
* whatsapp: true || false,
|
|
77
|
-
* messagingChannel: "messenger" || "instagram" || "rcs",
|
|
78
77
|
* messagingStatus: "window_closed",
|
|
79
78
|
* messagingSenderId: "STRING_VALUE",
|
|
80
79
|
* messagingReplyUntil: Number("long"),
|
|
@@ -70,7 +70,6 @@ declare const UpdateChannelCommand_base: {
|
|
|
70
70
|
* sms: true || false,
|
|
71
71
|
* mms: true || false,
|
|
72
72
|
* whatsapp: true || false,
|
|
73
|
-
* messagingChannel: "messenger" || "instagram" || "rcs",
|
|
74
73
|
* messagingStatus: "window_closed",
|
|
75
74
|
* messagingSenderId: "STRING_VALUE",
|
|
76
75
|
* messagingReplyUntil: Number("long"),
|
|
@@ -108,7 +108,7 @@ export interface Channel {
|
|
|
108
108
|
whatsapp?: boolean | undefined;
|
|
109
109
|
whatsappStatus?: ChannelWhatsAppStatus | undefined;
|
|
110
110
|
/**
|
|
111
|
-
*
|
|
111
|
+
* The customer messaging channel this conversation runs over. Set when the channel is created and never changed. Absent on every other channel.
|
|
112
112
|
* @public
|
|
113
113
|
*/
|
|
114
114
|
messagingChannel?: MessagingChannel | undefined;
|
|
@@ -790,11 +790,6 @@ export interface CreateGroupChannelInput {
|
|
|
790
790
|
* @public
|
|
791
791
|
*/
|
|
792
792
|
whatsapp?: boolean | undefined;
|
|
793
|
-
/**
|
|
794
|
-
* The customer messaging channel this conversation runs over. Set when the channel is created and never changed. Absent on every other channel.
|
|
795
|
-
* @public
|
|
796
|
-
*/
|
|
797
|
-
messagingChannel?: MessagingChannel | undefined;
|
|
798
793
|
/**
|
|
799
794
|
* The reply state of the channel: WINDOW_CLOSED after classound refused a reply, absent while a reply can be sent.
|
|
800
795
|
* @public
|
|
@@ -2331,11 +2326,6 @@ export interface PartialUpdateChannelSetOptions {
|
|
|
2331
2326
|
* @public
|
|
2332
2327
|
*/
|
|
2333
2328
|
whatsapp?: boolean | undefined;
|
|
2334
|
-
/**
|
|
2335
|
-
* The customer messaging channel this conversation runs over. Set when the channel is created and never changed. Absent on every other channel.
|
|
2336
|
-
* @public
|
|
2337
|
-
*/
|
|
2338
|
-
messagingChannel?: MessagingChannel | undefined;
|
|
2339
2329
|
/**
|
|
2340
2330
|
* The reply state of the channel: WINDOW_CLOSED after classound refused a reply, absent while a reply can be sent.
|
|
2341
2331
|
* @public
|
|
@@ -3050,11 +3040,6 @@ export interface UpdateChannelInput {
|
|
|
3050
3040
|
* @public
|
|
3051
3041
|
*/
|
|
3052
3042
|
whatsapp?: boolean | undefined;
|
|
3053
|
-
/**
|
|
3054
|
-
* The customer messaging channel this conversation runs over. Set when the channel is created and never changed. Absent on every other channel.
|
|
3055
|
-
* @public
|
|
3056
|
-
*/
|
|
3057
|
-
messagingChannel?: MessagingChannel | undefined;
|
|
3058
3043
|
/**
|
|
3059
3044
|
* The reply state of the channel: WINDOW_CLOSED after classound refused a reply, absent while a reply can be sent.
|
|
3060
3045
|
* @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": "4.2.0
|
|
4
|
+
"version": "4.2.0",
|
|
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",
|
|
@@ -25,7 +25,8 @@
|
|
|
25
25
|
"@smithy/fetch-http-handler": "^5.4.5",
|
|
26
26
|
"@smithy/node-http-handler": "^4.7.5",
|
|
27
27
|
"@smithy/types": "^4.14.2",
|
|
28
|
-
"@wildix/smithy-react-native": "^1.0.0"
|
|
28
|
+
"@wildix/smithy-react-native": "^1.0.0",
|
|
29
|
+
"@smithy/middleware-endpoint": "^4.7.2"
|
|
29
30
|
},
|
|
30
31
|
"devDependencies": {
|
|
31
32
|
"@tsconfig/node20": "20.1.8",
|