@wildix/xbees-conversations-client 4.2.2 → 4.2.3

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.
@@ -387,12 +387,12 @@ const _kDS = "kiteDefaultSubject";
387
387
  const _kSN = "kiteServiceName";
388
388
  const _kT = "kiteTarget";
389
389
  const _kV = "kiteVariant";
390
- const _l = "limit";
390
+ const _l = "locale";
391
391
  const _lR = "lastRead";
392
392
  const _lRMI = "lastReadMessageId";
393
393
  const _lRa = "latestReactions";
394
- const _li = "link";
395
- const _lo = "locale";
394
+ const _li = "limit";
395
+ const _lin = "link";
396
396
  const _m = "message";
397
397
  const _mC = "memberCount";
398
398
  const _mCe = "messagingChannel";
@@ -1063,8 +1063,8 @@ exports.InitialMessage$ = [3, n1, _IM,
1063
1063
  ];
1064
1064
  exports.InvitedUser$ = [3, n1, _IU,
1065
1065
  0,
1066
- [_i, _n, _em, _ph, _co, _pUI],
1067
- [0, 0, 0, 0, 0, 0], 1
1066
+ [_i, _n, _em, _ph, _co, _pUI, _l],
1067
+ [0, 0, 0, 0, 0, 0, 0], 1
1068
1068
  ];
1069
1069
  exports.InviteInput$ = [3, n1, _II,
1070
1070
  0,
@@ -1098,8 +1098,8 @@ exports.LeaveChannelOutput$ = [3, n1, _LCO,
1098
1098
  ];
1099
1099
  exports.ListChannelMembersInput$ = [3, n1, _LCMI,
1100
1100
  0,
1101
- [_cI, _l, _of],
1102
- [[0, 1], [1, { [_hQ]: _l }], [1, { [_hQ]: _of }]], 1
1101
+ [_cI, _li, _of],
1102
+ [[0, 1], [1, { [_hQ]: _li }], [1, { [_hQ]: _of }]], 1
1103
1103
  ];
1104
1104
  exports.ListChannelMembersOutput$ = [3, n1, _LCMO,
1105
1105
  0,
@@ -1118,8 +1118,8 @@ exports.ListChannelMembersReadStatusOutput$ = [3, n1, _LCMRSO,
1118
1118
  ];
1119
1119
  exports.ListChannelsInput$ = [3, n1, _LCIi,
1120
1120
  0,
1121
- [_cIo, _uI, _l, _of],
1122
- [[0, { [_hQ]: _co }], [0, { [_hQ]: _us }], [1, { [_hQ]: _l }], [1, { [_hQ]: _of }]]
1121
+ [_cIo, _uI, _li, _of],
1122
+ [[0, { [_hQ]: _co }], [0, { [_hQ]: _us }], [1, { [_hQ]: _li }], [1, { [_hQ]: _of }]]
1123
1123
  ];
1124
1124
  exports.ListChannelsOutput$ = [3, n1, _LCOi,
1125
1125
  0,
@@ -1148,8 +1148,8 @@ exports.ListInboxTagsOutput$ = [3, n1, _LITO,
1148
1148
  ];
1149
1149
  exports.ListMessageReactionsInput$ = [3, n1, _LMRI,
1150
1150
  0,
1151
- [_cI, _mIe, _l, _of],
1152
- [[0, 1], [0, 1], [1, { [_hQ]: _l }], [1, { [_hQ]: _of }]], 2
1151
+ [_cI, _mIe, _li, _of],
1152
+ [[0, 1], [0, 1], [1, { [_hQ]: _li }], [1, { [_hQ]: _of }]], 2
1153
1153
  ];
1154
1154
  exports.ListMessageReactionsOutput$ = [3, n1, _LMRO,
1155
1155
  0,
@@ -1158,8 +1158,8 @@ exports.ListMessageReactionsOutput$ = [3, n1, _LMRO,
1158
1158
  ];
1159
1159
  exports.ListMessagesInput$ = [3, n1, _LMI,
1160
1160
  0,
1161
- [_cI, _l, _of],
1162
- [[0, 1], [1, { [_hQ]: _l }], [1, { [_hQ]: _of }]], 1
1161
+ [_cI, _li, _of],
1162
+ [[0, 1], [1, { [_hQ]: _li }], [1, { [_hQ]: _of }]], 1
1163
1163
  ];
1164
1164
  exports.ListMessagesOutput$ = [3, n1, _LMO,
1165
1165
  0,
@@ -1168,8 +1168,8 @@ exports.ListMessagesOutput$ = [3, n1, _LMO,
1168
1168
  ];
1169
1169
  exports.ListPinnedMessagesInput$ = [3, n1, _LPMI,
1170
1170
  0,
1171
- [_cI, _l, _of],
1172
- [[0, 1], [1, { [_hQ]: _l }], [1, { [_hQ]: _of }]], 1
1171
+ [_cI, _li, _of],
1172
+ [[0, 1], [1, { [_hQ]: _li }], [1, { [_hQ]: _of }]], 1
1173
1173
  ];
1174
1174
  exports.ListPinnedMessagesOutput$ = [3, n1, _LPMO,
1175
1175
  0,
@@ -1283,8 +1283,8 @@ exports.PinMessageOutput$ = [3, n1, _PMO,
1283
1283
  ];
1284
1284
  exports.QueryChannelsInput$ = [3, n1, _QCI,
1285
1285
  0,
1286
- [_cIo, _uI, _qu, _l, _of],
1287
- [[0, { [_hQ]: _co }], [0, { [_hQ]: _us }], () => exports.ChannelsQuery$, [1, { [_hQ]: _l }], [1, { [_hQ]: _of }]]
1286
+ [_cIo, _uI, _qu, _li, _of],
1287
+ [[0, { [_hQ]: _co }], [0, { [_hQ]: _us }], () => exports.ChannelsQuery$, [1, { [_hQ]: _li }], [1, { [_hQ]: _of }]]
1288
1288
  ];
1289
1289
  exports.QueryChannelsOutput$ = [3, n1, _QCO,
1290
1290
  0,
@@ -1488,7 +1488,7 @@ exports.UploadFileOutput$ = [3, n1, _UFOp,
1488
1488
  ];
1489
1489
  exports.User$ = [3, n1, _U,
1490
1490
  0,
1491
- [_i, _n, _em, _ph, _pi, _lo, _tZ, _co, _bo, _pD, _pP, _pE, _pS, _pUI, _pGI, _cA, _uA],
1491
+ [_i, _n, _em, _ph, _pi, _l, _tZ, _co, _bo, _pD, _pP, _pE, _pS, _pUI, _pGI, _cA, _uA],
1492
1492
  [0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0], 1
1493
1493
  ];
1494
1494
  exports.UserToInvite$ = [3, n1, _UTI,
@@ -1684,7 +1684,7 @@ exports.AssignChannelServiceRequest$ = [4, n1, _ACSR,
1684
1684
  ];
1685
1685
  exports.ButtonHandler$ = [4, n1, _BH,
1686
1686
  0,
1687
- [_li, _rep, _act],
1687
+ [_lin, _rep, _act],
1688
1688
  [() => exports.ButtonLinkHandler$, () => exports.ButtonReplyHandler$, () => exports.ButtonActionHandler$]
1689
1689
  ];
1690
1690
  exports.Element$ = [4, n1, _E,
@@ -379,12 +379,12 @@ const _kDS = "kiteDefaultSubject";
379
379
  const _kSN = "kiteServiceName";
380
380
  const _kT = "kiteTarget";
381
381
  const _kV = "kiteVariant";
382
- const _l = "limit";
382
+ const _l = "locale";
383
383
  const _lR = "lastRead";
384
384
  const _lRMI = "lastReadMessageId";
385
385
  const _lRa = "latestReactions";
386
- const _li = "link";
387
- const _lo = "locale";
386
+ const _li = "limit";
387
+ const _lin = "link";
388
388
  const _m = "message";
389
389
  const _mC = "memberCount";
390
390
  const _mCe = "messagingChannel";
@@ -1055,8 +1055,8 @@ export var InitialMessage$ = [3, n1, _IM,
1055
1055
  ];
1056
1056
  export var InvitedUser$ = [3, n1, _IU,
1057
1057
  0,
1058
- [_i, _n, _em, _ph, _co, _pUI],
1059
- [0, 0, 0, 0, 0, 0], 1
1058
+ [_i, _n, _em, _ph, _co, _pUI, _l],
1059
+ [0, 0, 0, 0, 0, 0, 0], 1
1060
1060
  ];
1061
1061
  export var InviteInput$ = [3, n1, _II,
1062
1062
  0,
@@ -1090,8 +1090,8 @@ export var LeaveChannelOutput$ = [3, n1, _LCO,
1090
1090
  ];
1091
1091
  export var ListChannelMembersInput$ = [3, n1, _LCMI,
1092
1092
  0,
1093
- [_cI, _l, _of],
1094
- [[0, 1], [1, { [_hQ]: _l }], [1, { [_hQ]: _of }]], 1
1093
+ [_cI, _li, _of],
1094
+ [[0, 1], [1, { [_hQ]: _li }], [1, { [_hQ]: _of }]], 1
1095
1095
  ];
1096
1096
  export var ListChannelMembersOutput$ = [3, n1, _LCMO,
1097
1097
  0,
@@ -1110,8 +1110,8 @@ export var ListChannelMembersReadStatusOutput$ = [3, n1, _LCMRSO,
1110
1110
  ];
1111
1111
  export var ListChannelsInput$ = [3, n1, _LCIi,
1112
1112
  0,
1113
- [_cIo, _uI, _l, _of],
1114
- [[0, { [_hQ]: _co }], [0, { [_hQ]: _us }], [1, { [_hQ]: _l }], [1, { [_hQ]: _of }]]
1113
+ [_cIo, _uI, _li, _of],
1114
+ [[0, { [_hQ]: _co }], [0, { [_hQ]: _us }], [1, { [_hQ]: _li }], [1, { [_hQ]: _of }]]
1115
1115
  ];
1116
1116
  export var ListChannelsOutput$ = [3, n1, _LCOi,
1117
1117
  0,
@@ -1140,8 +1140,8 @@ export var ListInboxTagsOutput$ = [3, n1, _LITO,
1140
1140
  ];
1141
1141
  export var ListMessageReactionsInput$ = [3, n1, _LMRI,
1142
1142
  0,
1143
- [_cI, _mIe, _l, _of],
1144
- [[0, 1], [0, 1], [1, { [_hQ]: _l }], [1, { [_hQ]: _of }]], 2
1143
+ [_cI, _mIe, _li, _of],
1144
+ [[0, 1], [0, 1], [1, { [_hQ]: _li }], [1, { [_hQ]: _of }]], 2
1145
1145
  ];
1146
1146
  export var ListMessageReactionsOutput$ = [3, n1, _LMRO,
1147
1147
  0,
@@ -1150,8 +1150,8 @@ export var ListMessageReactionsOutput$ = [3, n1, _LMRO,
1150
1150
  ];
1151
1151
  export var ListMessagesInput$ = [3, n1, _LMI,
1152
1152
  0,
1153
- [_cI, _l, _of],
1154
- [[0, 1], [1, { [_hQ]: _l }], [1, { [_hQ]: _of }]], 1
1153
+ [_cI, _li, _of],
1154
+ [[0, 1], [1, { [_hQ]: _li }], [1, { [_hQ]: _of }]], 1
1155
1155
  ];
1156
1156
  export var ListMessagesOutput$ = [3, n1, _LMO,
1157
1157
  0,
@@ -1160,8 +1160,8 @@ export var ListMessagesOutput$ = [3, n1, _LMO,
1160
1160
  ];
1161
1161
  export var ListPinnedMessagesInput$ = [3, n1, _LPMI,
1162
1162
  0,
1163
- [_cI, _l, _of],
1164
- [[0, 1], [1, { [_hQ]: _l }], [1, { [_hQ]: _of }]], 1
1163
+ [_cI, _li, _of],
1164
+ [[0, 1], [1, { [_hQ]: _li }], [1, { [_hQ]: _of }]], 1
1165
1165
  ];
1166
1166
  export var ListPinnedMessagesOutput$ = [3, n1, _LPMO,
1167
1167
  0,
@@ -1275,8 +1275,8 @@ export var PinMessageOutput$ = [3, n1, _PMO,
1275
1275
  ];
1276
1276
  export var QueryChannelsInput$ = [3, n1, _QCI,
1277
1277
  0,
1278
- [_cIo, _uI, _qu, _l, _of],
1279
- [[0, { [_hQ]: _co }], [0, { [_hQ]: _us }], () => ChannelsQuery$, [1, { [_hQ]: _l }], [1, { [_hQ]: _of }]]
1278
+ [_cIo, _uI, _qu, _li, _of],
1279
+ [[0, { [_hQ]: _co }], [0, { [_hQ]: _us }], () => ChannelsQuery$, [1, { [_hQ]: _li }], [1, { [_hQ]: _of }]]
1280
1280
  ];
1281
1281
  export var QueryChannelsOutput$ = [3, n1, _QCO,
1282
1282
  0,
@@ -1480,7 +1480,7 @@ export var UploadFileOutput$ = [3, n1, _UFOp,
1480
1480
  ];
1481
1481
  export var User$ = [3, n1, _U,
1482
1482
  0,
1483
- [_i, _n, _em, _ph, _pi, _lo, _tZ, _co, _bo, _pD, _pP, _pE, _pS, _pUI, _pGI, _cA, _uA],
1483
+ [_i, _n, _em, _ph, _pi, _l, _tZ, _co, _bo, _pD, _pP, _pE, _pS, _pUI, _pGI, _cA, _uA],
1484
1484
  [0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0], 1
1485
1485
  ];
1486
1486
  export var UserToInvite$ = [3, n1, _UTI,
@@ -1676,7 +1676,7 @@ export var AssignChannelServiceRequest$ = [4, n1, _ACSR,
1676
1676
  ];
1677
1677
  export var ButtonHandler$ = [4, n1, _BH,
1678
1678
  0,
1679
- [_li, _rep, _act],
1679
+ [_lin, _rep, _act],
1680
1680
  [() => ButtonLinkHandler$, () => ButtonReplyHandler$, () => ButtonActionHandler$]
1681
1681
  ];
1682
1682
  export var Element$ = [4, n1, _E,
@@ -62,6 +62,7 @@ declare const InviteCommand_base: {
62
62
  * // phone: "STRING_VALUE",
63
63
  * // company: "STRING_VALUE",
64
64
  * // pbxUserId: "STRING_VALUE",
65
+ * // locale: "STRING_VALUE",
65
66
  * // },
66
67
  * // ],
67
68
  * // skippedInvitees: [ // SkippedMembersList // required
@@ -1930,8 +1930,8 @@ export interface InviteInput {
1930
1930
  invitees: UserToInvite[];
1931
1931
  }
1932
1932
  /**
1933
- * Reduced user record returned by Invite. Callers receive only the fields they use to correlate the invitee and continue the conversation flow: id, name, email, phone, company, and pbxUserId.
1934
- * PBX installation details (domain, port, extension, serial, group), profile metadata (picture, locale, time zone, bot), and timestamps are not included.
1933
+ * Reduced user record returned by Invite. Callers receive only the fields they use to correlate the invitee and continue the conversation flow: id, name, email, phone, company, pbxUserId, and locale.
1934
+ * PBX installation details (domain, port, extension, serial, group), profile metadata (picture, time zone, bot), and timestamps are not included.
1935
1935
  *
1936
1936
  * @public
1937
1937
  */
@@ -1950,13 +1950,18 @@ export interface InvitedUser {
1950
1950
  * @public
1951
1951
  */
1952
1952
  pbxUserId?: string | undefined;
1953
+ /**
1954
+ * Preferred user language. Notification emails sent to the invitee use it to pick the template language.
1955
+ * @public
1956
+ */
1957
+ locale?: string | undefined;
1953
1958
  }
1954
1959
  /**
1955
1960
  * @public
1956
1961
  */
1957
1962
  export interface InviteOutput {
1958
1963
  /**
1959
- * A list of users who were successfully invited. Each entry contains only id, name, email, phone, company, and pbxUserId.
1964
+ * A list of users who were successfully invited. Each entry contains only id, name, email, phone, company, pbxUserId, and locale.
1960
1965
  * @public
1961
1966
  */
1962
1967
  users: InvitedUser[];
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.2",
4
+ "version": "4.2.3",
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",