@etsoo/smarterp-core 1.0.18 → 1.0.20

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.
@@ -122,7 +122,7 @@ class UserApi extends appscript_1.EntityApi {
122
122
  * @returns Result
123
123
  */
124
124
  updateRead(payload) {
125
- return this.api.put(`${this.flag}/UpdateRead`, undefined, payload);
125
+ return this.api.get(`${this.flag}/UpdateRead`, undefined, payload);
126
126
  }
127
127
  }
128
128
  exports.UserApi = UserApi;
@@ -49,6 +49,10 @@ export type MemberReadDto = {
49
49
  * Status
50
50
  */
51
51
  status: EntityStatus;
52
+ /**
53
+ * User's avatar
54
+ */
55
+ avatar?: string;
52
56
  /**
53
57
  * Inviter
54
58
  */
@@ -34,6 +34,8 @@
34
34
  "inviteMember": "Invite member",
35
35
  "inviter": "Inviter",
36
36
  "isFrozen": "Is frozen",
37
+ "latinFamilyName": "Family name (Latin)",
38
+ "latinGivenName": "Given name (Latin)",
37
39
  "lightMode": "Light mode",
38
40
  "members": "Members",
39
41
  "monthsUnit": "Months",
@@ -34,6 +34,8 @@
34
34
  "inviteMember": "邀请成员",
35
35
  "inviter": "邀请人",
36
36
  "isFrozen": "是否被冻结",
37
+ "latinFamilyName": "姓氏(拼音)",
38
+ "latinGivenName": "名(拼音)",
37
39
  "lightMode": "浅色模式",
38
40
  "members": "成员数",
39
41
  "monthsUnit": "个月",
@@ -26,6 +26,8 @@
26
26
  "expandMenu": "展開菜單",
27
27
  "expandNavMenuAriaLabel": "展開導航菜單",
28
28
  "fullName": "全稱",
29
+ "latinFamilyName": "姓氏(拼音)",
30
+ "latinGivenName": "名(拼音)",
29
31
  "lightMode": "淺色模式",
30
32
  "idCustomer": "客戶",
31
33
  "idSupplier": "供應商",
@@ -119,6 +119,6 @@ export class UserApi extends EntityApi {
119
119
  * @returns Result
120
120
  */
121
121
  updateRead(payload) {
122
- return this.api.put(`${this.flag}/UpdateRead`, undefined, payload);
122
+ return this.api.get(`${this.flag}/UpdateRead`, undefined, payload);
123
123
  }
124
124
  }
@@ -49,6 +49,10 @@ export type MemberReadDto = {
49
49
  * Status
50
50
  */
51
51
  status: EntityStatus;
52
+ /**
53
+ * User's avatar
54
+ */
55
+ avatar?: string;
52
56
  /**
53
57
  * Inviter
54
58
  */
@@ -34,6 +34,8 @@
34
34
  "inviteMember": "Invite member",
35
35
  "inviter": "Inviter",
36
36
  "isFrozen": "Is frozen",
37
+ "latinFamilyName": "Family name (Latin)",
38
+ "latinGivenName": "Given name (Latin)",
37
39
  "lightMode": "Light mode",
38
40
  "members": "Members",
39
41
  "monthsUnit": "Months",
@@ -34,6 +34,8 @@
34
34
  "inviteMember": "邀请成员",
35
35
  "inviter": "邀请人",
36
36
  "isFrozen": "是否被冻结",
37
+ "latinFamilyName": "姓氏(拼音)",
38
+ "latinGivenName": "名(拼音)",
37
39
  "lightMode": "浅色模式",
38
40
  "members": "成员数",
39
41
  "monthsUnit": "个月",
@@ -26,6 +26,8 @@
26
26
  "expandMenu": "展開菜單",
27
27
  "expandNavMenuAriaLabel": "展開導航菜單",
28
28
  "fullName": "全稱",
29
+ "latinFamilyName": "姓氏(拼音)",
30
+ "latinGivenName": "名(拼音)",
29
31
  "lightMode": "淺色模式",
30
32
  "idCustomer": "客戶",
31
33
  "idSupplier": "供應商",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/smarterp-core",
3
- "version": "1.0.18",
3
+ "version": "1.0.20",
4
4
  "description": "TypeScript APIs for SmartERP Core",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/mjs/index.js",
package/src/UserApi.ts CHANGED
@@ -158,6 +158,6 @@ export class UserApi extends EntityApi {
158
158
  * @returns Result
159
159
  */
160
160
  updateRead(payload?: IApiPayload<UserUpdateReadDto>) {
161
- return this.api.put(`${this.flag}/UpdateRead`, undefined, payload);
161
+ return this.api.get(`${this.flag}/UpdateRead`, undefined, payload);
162
162
  }
163
163
  }
@@ -61,6 +61,11 @@ export type MemberReadDto = {
61
61
  */
62
62
  status: EntityStatus;
63
63
 
64
+ /**
65
+ * User's avatar
66
+ */
67
+ avatar?: string;
68
+
64
69
  /**
65
70
  * Inviter
66
71
  */
package/src/i18n/en.json CHANGED
@@ -34,6 +34,8 @@
34
34
  "inviteMember": "Invite member",
35
35
  "inviter": "Inviter",
36
36
  "isFrozen": "Is frozen",
37
+ "latinFamilyName": "Family name (Latin)",
38
+ "latinGivenName": "Given name (Latin)",
37
39
  "lightMode": "Light mode",
38
40
  "members": "Members",
39
41
  "monthsUnit": "Months",
@@ -34,6 +34,8 @@
34
34
  "inviteMember": "邀请成员",
35
35
  "inviter": "邀请人",
36
36
  "isFrozen": "是否被冻结",
37
+ "latinFamilyName": "姓氏(拼音)",
38
+ "latinGivenName": "名(拼音)",
37
39
  "lightMode": "浅色模式",
38
40
  "members": "成员数",
39
41
  "monthsUnit": "个月",
@@ -26,6 +26,8 @@
26
26
  "expandMenu": "展開菜單",
27
27
  "expandNavMenuAriaLabel": "展開導航菜單",
28
28
  "fullName": "全稱",
29
+ "latinFamilyName": "姓氏(拼音)",
30
+ "latinGivenName": "名(拼音)",
29
31
  "lightMode": "淺色模式",
30
32
  "idCustomer": "客戶",
31
33
  "idSupplier": "供應商",