@wildix/xbees-users-client 4.1.2 → 4.1.5

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.
@@ -571,8 +571,8 @@ exports.PbxColleague$ = [3, n4, _PC,
571
571
  ];
572
572
  exports.InvitedUser$ = [3, n1, _IU,
573
573
  0,
574
- [_i, _n, _em, _ph, _co, _pUI],
575
- [0, 0, 0, 0, 0, 0], 1
574
+ [_i, _n, _em, _ph, _pi, _co, _pUI, _loc],
575
+ [0, 0, 0, 0, 0, 0, 0, 0], 1
576
576
  ];
577
577
  exports.SkippedMember$ = [3, n1, _SM,
578
578
  0,
@@ -564,8 +564,8 @@ export var PbxColleague$ = [3, n4, _PC,
564
564
  ];
565
565
  export var InvitedUser$ = [3, n1, _IU,
566
566
  0,
567
- [_i, _n, _em, _ph, _co, _pUI],
568
- [0, 0, 0, 0, 0, 0], 1
567
+ [_i, _n, _em, _ph, _pi, _co, _pUI, _loc],
568
+ [0, 0, 0, 0, 0, 0, 0, 0], 1
569
569
  ];
570
570
  export var SkippedMember$ = [3, n1, _SM,
571
571
  0,
@@ -58,8 +58,10 @@ declare const InviteCommand_base: {
58
58
  * // name: "STRING_VALUE",
59
59
  * // email: "STRING_VALUE",
60
60
  * // phone: "STRING_VALUE",
61
+ * // picture: "STRING_VALUE",
61
62
  * // company: "STRING_VALUE",
62
63
  * // pbxUserId: "STRING_VALUE",
64
+ * // locale: "STRING_VALUE",
63
65
  * // },
64
66
  * // ],
65
67
  * // skippedInvitees: [ // SkippedMembersList // required
@@ -144,8 +144,8 @@ export interface SkippedMember {
144
144
  phone?: string | undefined;
145
145
  }
146
146
  /**
147
- * 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.
148
- * PBX installation details (domain, port, extension, serial, group), profile metadata (picture, locale, time zone, bot), and timestamps are not included.
147
+ * 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, picture, company, pbxUserId, and locale.
148
+ * PBX installation details (domain, port, extension, serial, group), profile metadata (time zone, bot), and timestamps are not included.
149
149
  *
150
150
  * @public
151
151
  */
@@ -154,6 +154,11 @@ export interface InvitedUser {
154
154
  name?: string | undefined;
155
155
  email?: string | undefined;
156
156
  phone?: string | undefined;
157
+ /**
158
+ * Avatar URL. Notification emails render it as the sender's avatar.
159
+ * @public
160
+ */
161
+ picture?: string | undefined;
157
162
  /**
158
163
  * Tenant id. Callers use it to tell a colleague from an external user.
159
164
  * @public
@@ -164,6 +169,11 @@ export interface InvitedUser {
164
169
  * @public
165
170
  */
166
171
  pbxUserId?: string | undefined;
172
+ /**
173
+ * Preferred user language. Notification emails sent to the invitee use it to pick the template language.
174
+ * @public
175
+ */
176
+ locale?: string | undefined;
167
177
  }
168
178
  /**
169
179
  * @public
@@ -1546,7 +1556,7 @@ export interface InviteInput {
1546
1556
  */
1547
1557
  export interface InviteOutput {
1548
1558
  /**
1549
- * A list of users who were successfully invited. Each entry contains only id, name, email, phone, company, and pbxUserId.
1559
+ * A list of users who were successfully invited. Each entry contains only id, name, email, phone, picture, company, pbxUserId, and locale.
1550
1560
  * @public
1551
1561
  */
1552
1562
  users: InvitedUser[];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wildix/xbees-users-client",
3
3
  "description": "@wildix/xbees-users-client client",
4
- "version": "4.1.2",
4
+ "version": "4.1.5",
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",