@etsoo/smarterp-core 1.1.74 → 1.1.75
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/lib/cjs/DocumentApi.d.ts +1 -1
- package/lib/cjs/i18n/en.json +1 -0
- package/lib/cjs/i18n/zh-Hans.json +1 -0
- package/lib/cjs/i18n/zh-Hant.json +1 -0
- package/lib/mjs/DocumentApi.d.ts +1 -1
- package/lib/mjs/i18n/en.json +1 -0
- package/lib/mjs/i18n/zh-Hans.json +1 -0
- package/lib/mjs/i18n/zh-Hant.json +1 -0
- package/package.json +2 -2
- package/src/DocumentApi.ts +1 -1
- package/src/i18n/en.json +1 -0
- package/src/i18n/zh-Hans.json +1 -0
- package/src/i18n/zh-Hant.json +1 -0
package/lib/cjs/DocumentApi.d.ts
CHANGED
|
@@ -38,7 +38,7 @@ export declare class DocumentApi extends EntityApi {
|
|
|
38
38
|
* @param payload Payload
|
|
39
39
|
* @returns Result
|
|
40
40
|
*/
|
|
41
|
-
generate(rq: DocumentGenerateRQ, payload
|
|
41
|
+
generate(rq: DocumentGenerateRQ, payload?: IApiPayload<string | IActionResult>): Promise<string | IActionResult<{}> | undefined>;
|
|
42
42
|
/**
|
|
43
43
|
* List
|
|
44
44
|
* @param rq Request data
|
package/lib/cjs/i18n/en.json
CHANGED
|
@@ -67,6 +67,7 @@
|
|
|
67
67
|
"mainSlotProps": "Main slot props",
|
|
68
68
|
"members": "Members",
|
|
69
69
|
"monthsUnit": "Months",
|
|
70
|
+
"noCache": "No cache",
|
|
70
71
|
"noCodeId": "Need to resend the verification code, please do not close the add window",
|
|
71
72
|
"oneTimePin": "One Time Pin",
|
|
72
73
|
"oneTimePinEmailTip": "Enter up the One Time Pin just sent to your email address. If you can't find it, please check your spam folder.",
|
package/lib/mjs/DocumentApi.d.ts
CHANGED
|
@@ -38,7 +38,7 @@ export declare class DocumentApi extends EntityApi {
|
|
|
38
38
|
* @param payload Payload
|
|
39
39
|
* @returns Result
|
|
40
40
|
*/
|
|
41
|
-
generate(rq: DocumentGenerateRQ, payload
|
|
41
|
+
generate(rq: DocumentGenerateRQ, payload?: IApiPayload<string | IActionResult>): Promise<string | IActionResult<{}> | undefined>;
|
|
42
42
|
/**
|
|
43
43
|
* List
|
|
44
44
|
* @param rq Request data
|
package/lib/mjs/i18n/en.json
CHANGED
|
@@ -67,6 +67,7 @@
|
|
|
67
67
|
"mainSlotProps": "Main slot props",
|
|
68
68
|
"members": "Members",
|
|
69
69
|
"monthsUnit": "Months",
|
|
70
|
+
"noCache": "No cache",
|
|
70
71
|
"noCodeId": "Need to resend the verification code, please do not close the add window",
|
|
71
72
|
"oneTimePin": "One Time Pin",
|
|
72
73
|
"oneTimePinEmailTip": "Enter up the One Time Pin just sent to your email address. If you can't find it, please check your spam folder.",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@etsoo/smarterp-core",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.75",
|
|
4
4
|
"description": "TypeScript APIs for SmartERP Core",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/mjs/index.js",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
59
|
"@etsoo/appscript": "^1.6.69",
|
|
60
|
-
"@etsoo/materialui": "^1.6.
|
|
60
|
+
"@etsoo/materialui": "^1.6.74",
|
|
61
61
|
"@etsoo/react": "^1.8.93",
|
|
62
62
|
"@etsoo/shared": "^1.2.87",
|
|
63
63
|
"@etsoo/toolpad": "^1.0.51",
|
package/src/DocumentApi.ts
CHANGED
|
@@ -56,7 +56,7 @@ export class DocumentApi extends EntityApi {
|
|
|
56
56
|
*/
|
|
57
57
|
generate(
|
|
58
58
|
rq: DocumentGenerateRQ,
|
|
59
|
-
payload
|
|
59
|
+
payload?: IApiPayload<string | IActionResult>
|
|
60
60
|
) {
|
|
61
61
|
return this.api.post(`${this.flag}/Generate`, rq, payload);
|
|
62
62
|
}
|
package/src/i18n/en.json
CHANGED
|
@@ -67,6 +67,7 @@
|
|
|
67
67
|
"mainSlotProps": "Main slot props",
|
|
68
68
|
"members": "Members",
|
|
69
69
|
"monthsUnit": "Months",
|
|
70
|
+
"noCache": "No cache",
|
|
70
71
|
"noCodeId": "Need to resend the verification code, please do not close the add window",
|
|
71
72
|
"oneTimePin": "One Time Pin",
|
|
72
73
|
"oneTimePinEmailTip": "Enter up the One Time Pin just sent to your email address. If you can't find it, please check your spam folder.",
|
package/src/i18n/zh-Hans.json
CHANGED