@etsoo/smarterp-core 1.0.81 → 1.0.83

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.
@@ -89,7 +89,7 @@ class CoreApp {
89
89
  * @returns List of API services
90
90
  */
91
91
  getApiServices() {
92
- return this.app.getEnumList(CoreApiService_1.CoreApiService, "api");
92
+ return this.app.getEnumList(CoreApiService_1.CoreApiService, "apiService");
93
93
  }
94
94
  /**
95
95
  * Get app name
package/lib/cjs/OrgApi.js CHANGED
@@ -236,7 +236,7 @@ class OrgApi extends appscript_1.EntityApi {
236
236
  * @returns Result
237
237
  */
238
238
  updateApiRead(id, payload) {
239
- return this.updateReadBase(id, payload);
239
+ return this.api.get(`${this.flag}/UpdateApiRead/${id}`, undefined, payload);
240
240
  }
241
241
  /**
242
242
  * Upload profle attachments
@@ -4,6 +4,8 @@
4
4
  "addResource": "Add resource",
5
5
  "allowInheritance": "Allow inheritance",
6
6
  "apiService": "API service",
7
+ "apiServiceSMTP": "SMTP",
8
+ "apiServiceStorage": "Storage",
7
9
  "appId": "App key or username",
8
10
  "appKey": "App key",
9
11
  "appSecret": "App secret",
@@ -57,6 +59,7 @@
57
59
  "oneTimePin": "One Time Pin",
58
60
  "oneTimePinEmailTip": "Enter up the One Time Pin just sent to your email address. If you can't find it, please check your spam folder.",
59
61
  "oneTimePinMobileTip": "Enter up the One Time Pin just sent to your mobile phone number",
62
+ "options": "Options",
60
63
  "org": "Organization",
61
64
  "orgName": "Org name",
62
65
  "orgPin": "Org No.",
@@ -4,6 +4,8 @@
4
4
  "addResource": "添加资源",
5
5
  "allowInheritance": "允许继承",
6
6
  "apiService": "接口服务",
7
+ "apiServiceSMTP": "邮件发送",
8
+ "apiServiceStorage": "存储",
7
9
  "appId": "应用键或用户名",
8
10
  "appKey": "应用键",
9
11
  "appSecret": "应用密钥",
@@ -57,6 +59,7 @@
57
59
  "oneTimePin": "验证码",
58
60
  "oneTimePinEmailTip": "输入刚发送到您电子邮箱的验证码,如果没有找到,请查找垃圾邮件",
59
61
  "oneTimePinMobileTip": "输入刚发送到您手机号码的验证码",
62
+ "options": "选项",
60
63
  "org": "机构",
61
64
  "orgName": "机构名称",
62
65
  "orgPin": "机构编号",
@@ -4,6 +4,8 @@
4
4
  "addResource": "添加資源",
5
5
  "allowInheritance": "允許繼承",
6
6
  "apiService": "接口服務",
7
+ "apiServiceSMTP": "郵件發送",
8
+ "apiServiceStorage": "存儲",
7
9
  "appId": "應用鍵或用戶名",
8
10
  "appKey": "應用程式鍵",
9
11
  "appSecret": "應用金鑰",
@@ -57,6 +59,7 @@
57
59
  "oneTimePin": "驗證碼",
58
60
  "oneTimePinEmailTip": "輸入剛傳送到您電子郵件信箱的驗證碼,如果沒有找到,請檢查垃圾信箱",
59
61
  "oneTimePinMobileTip": "輸入剛傳送到您手機號碼的驗證碼",
62
+ "options": "選項",
60
63
  "org": "機構",
61
64
  "orgName": "機構名稱",
62
65
  "orgPin": "機構編號",
@@ -86,7 +86,7 @@ export class CoreApp {
86
86
  * @returns List of API services
87
87
  */
88
88
  getApiServices() {
89
- return this.app.getEnumList(CoreApiService, "api");
89
+ return this.app.getEnumList(CoreApiService, "apiService");
90
90
  }
91
91
  /**
92
92
  * Get app name
package/lib/mjs/OrgApi.js CHANGED
@@ -233,7 +233,7 @@ export class OrgApi extends EntityApi {
233
233
  * @returns Result
234
234
  */
235
235
  updateApiRead(id, payload) {
236
- return this.updateReadBase(id, payload);
236
+ return this.api.get(`${this.flag}/UpdateApiRead/${id}`, undefined, payload);
237
237
  }
238
238
  /**
239
239
  * Upload profle attachments
@@ -4,6 +4,8 @@
4
4
  "addResource": "Add resource",
5
5
  "allowInheritance": "Allow inheritance",
6
6
  "apiService": "API service",
7
+ "apiServiceSMTP": "SMTP",
8
+ "apiServiceStorage": "Storage",
7
9
  "appId": "App key or username",
8
10
  "appKey": "App key",
9
11
  "appSecret": "App secret",
@@ -57,6 +59,7 @@
57
59
  "oneTimePin": "One Time Pin",
58
60
  "oneTimePinEmailTip": "Enter up the One Time Pin just sent to your email address. If you can't find it, please check your spam folder.",
59
61
  "oneTimePinMobileTip": "Enter up the One Time Pin just sent to your mobile phone number",
62
+ "options": "Options",
60
63
  "org": "Organization",
61
64
  "orgName": "Org name",
62
65
  "orgPin": "Org No.",
@@ -4,6 +4,8 @@
4
4
  "addResource": "添加资源",
5
5
  "allowInheritance": "允许继承",
6
6
  "apiService": "接口服务",
7
+ "apiServiceSMTP": "邮件发送",
8
+ "apiServiceStorage": "存储",
7
9
  "appId": "应用键或用户名",
8
10
  "appKey": "应用键",
9
11
  "appSecret": "应用密钥",
@@ -57,6 +59,7 @@
57
59
  "oneTimePin": "验证码",
58
60
  "oneTimePinEmailTip": "输入刚发送到您电子邮箱的验证码,如果没有找到,请查找垃圾邮件",
59
61
  "oneTimePinMobileTip": "输入刚发送到您手机号码的验证码",
62
+ "options": "选项",
60
63
  "org": "机构",
61
64
  "orgName": "机构名称",
62
65
  "orgPin": "机构编号",
@@ -4,6 +4,8 @@
4
4
  "addResource": "添加資源",
5
5
  "allowInheritance": "允許繼承",
6
6
  "apiService": "接口服務",
7
+ "apiServiceSMTP": "郵件發送",
8
+ "apiServiceStorage": "存儲",
7
9
  "appId": "應用鍵或用戶名",
8
10
  "appKey": "應用程式鍵",
9
11
  "appSecret": "應用金鑰",
@@ -57,6 +59,7 @@
57
59
  "oneTimePin": "驗證碼",
58
60
  "oneTimePinEmailTip": "輸入剛傳送到您電子郵件信箱的驗證碼,如果沒有找到,請檢查垃圾信箱",
59
61
  "oneTimePinMobileTip": "輸入剛傳送到您手機號碼的驗證碼",
62
+ "options": "選項",
60
63
  "org": "機構",
61
64
  "orgName": "機構名稱",
62
65
  "orgPin": "機構編號",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/smarterp-core",
3
- "version": "1.0.81",
3
+ "version": "1.0.83",
4
4
  "description": "TypeScript APIs for SmartERP Core",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/mjs/index.js",
@@ -47,14 +47,14 @@
47
47
  "@babel/runtime-corejs3": "^7.27.6",
48
48
  "@types/react": "^18.3.23",
49
49
  "@types/react-dom": "^18.3.7",
50
- "@vitejs/plugin-react": "^4.5.2",
50
+ "@vitejs/plugin-react": "^4.6.0",
51
51
  "jsdom": "^26.1.0",
52
52
  "typescript": "^5.8.3",
53
53
  "vitest": "^3.2.4"
54
54
  },
55
55
  "dependencies": {
56
- "@etsoo/appscript": "^1.6.40",
57
- "@etsoo/materialui": "^1.5.62",
56
+ "@etsoo/appscript": "^1.6.41",
57
+ "@etsoo/materialui": "^1.5.63",
58
58
  "@etsoo/react": "^1.8.49",
59
59
  "@etsoo/shared": "^1.2.75",
60
60
  "@etsoo/toolpad": "^1.0.39",
package/src/CoreApp.ts CHANGED
@@ -203,7 +203,7 @@ export class CoreApp implements ICoreApp {
203
203
  * @returns List of API services
204
204
  */
205
205
  getApiServices() {
206
- return this.app.getEnumList(CoreApiService, "api");
206
+ return this.app.getEnumList(CoreApiService, "apiService");
207
207
  }
208
208
 
209
209
  /**
package/src/OrgApi.ts CHANGED
@@ -303,7 +303,7 @@ export class OrgApi extends EntityApi {
303
303
  * @returns Result
304
304
  */
305
305
  updateApiRead(id: number, payload?: IApiPayload<OrgUpdateApiReadDto>) {
306
- return this.updateReadBase(id, payload);
306
+ return this.api.get(`${this.flag}/UpdateApiRead/${id}`, undefined, payload);
307
307
  }
308
308
 
309
309
  /**
package/src/i18n/en.json CHANGED
@@ -4,6 +4,8 @@
4
4
  "addResource": "Add resource",
5
5
  "allowInheritance": "Allow inheritance",
6
6
  "apiService": "API service",
7
+ "apiServiceSMTP": "SMTP",
8
+ "apiServiceStorage": "Storage",
7
9
  "appId": "App key or username",
8
10
  "appKey": "App key",
9
11
  "appSecret": "App secret",
@@ -57,6 +59,7 @@
57
59
  "oneTimePin": "One Time Pin",
58
60
  "oneTimePinEmailTip": "Enter up the One Time Pin just sent to your email address. If you can't find it, please check your spam folder.",
59
61
  "oneTimePinMobileTip": "Enter up the One Time Pin just sent to your mobile phone number",
62
+ "options": "Options",
60
63
  "org": "Organization",
61
64
  "orgName": "Org name",
62
65
  "orgPin": "Org No.",
@@ -4,6 +4,8 @@
4
4
  "addResource": "添加资源",
5
5
  "allowInheritance": "允许继承",
6
6
  "apiService": "接口服务",
7
+ "apiServiceSMTP": "邮件发送",
8
+ "apiServiceStorage": "存储",
7
9
  "appId": "应用键或用户名",
8
10
  "appKey": "应用键",
9
11
  "appSecret": "应用密钥",
@@ -57,6 +59,7 @@
57
59
  "oneTimePin": "验证码",
58
60
  "oneTimePinEmailTip": "输入刚发送到您电子邮箱的验证码,如果没有找到,请查找垃圾邮件",
59
61
  "oneTimePinMobileTip": "输入刚发送到您手机号码的验证码",
62
+ "options": "选项",
60
63
  "org": "机构",
61
64
  "orgName": "机构名称",
62
65
  "orgPin": "机构编号",
@@ -4,6 +4,8 @@
4
4
  "addResource": "添加資源",
5
5
  "allowInheritance": "允許繼承",
6
6
  "apiService": "接口服務",
7
+ "apiServiceSMTP": "郵件發送",
8
+ "apiServiceStorage": "存儲",
7
9
  "appId": "應用鍵或用戶名",
8
10
  "appKey": "應用程式鍵",
9
11
  "appSecret": "應用金鑰",
@@ -57,6 +59,7 @@
57
59
  "oneTimePin": "驗證碼",
58
60
  "oneTimePinEmailTip": "輸入剛傳送到您電子郵件信箱的驗證碼,如果沒有找到,請檢查垃圾信箱",
59
61
  "oneTimePinMobileTip": "輸入剛傳送到您手機號碼的驗證碼",
62
+ "options": "選項",
60
63
  "org": "機構",
61
64
  "orgName": "機構名稱",
62
65
  "orgPin": "機構編號",