@etsoo/appscript 1.4.17 → 1.4.19
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/business/ApiService.d.ts +23 -2
- package/lib/cjs/business/ApiService.js +23 -2
- package/lib/cjs/erp/OrgApi.d.ts +1 -1
- package/lib/mjs/business/ApiService.d.ts +23 -2
- package/lib/mjs/business/ApiService.js +23 -2
- package/lib/mjs/erp/OrgApi.d.ts +1 -1
- package/package.json +1 -1
- package/src/business/ApiService.ts +27 -2
- package/src/erp/OrgApi.ts +1 -4
|
@@ -3,7 +3,28 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export declare enum ApiService {
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* SMTP
|
|
7
|
+
* 邮件发送
|
|
7
8
|
*/
|
|
8
|
-
|
|
9
|
+
SMTP = 1,
|
|
10
|
+
/**
|
|
11
|
+
* SMTP delegation
|
|
12
|
+
* 邮件发送代理
|
|
13
|
+
*/
|
|
14
|
+
SMTPDelegation = 2,
|
|
15
|
+
/**
|
|
16
|
+
* SMS
|
|
17
|
+
* 短信发送
|
|
18
|
+
*/
|
|
19
|
+
SMS = 3,
|
|
20
|
+
/**
|
|
21
|
+
* Wechat service account
|
|
22
|
+
* 微信服务号
|
|
23
|
+
*/
|
|
24
|
+
Wechat = 4,
|
|
25
|
+
/**
|
|
26
|
+
* Business Wechat
|
|
27
|
+
* 企业微信
|
|
28
|
+
*/
|
|
29
|
+
WechatBusiness = 5
|
|
9
30
|
}
|
|
@@ -7,7 +7,28 @@ exports.ApiService = void 0;
|
|
|
7
7
|
var ApiService;
|
|
8
8
|
(function (ApiService) {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* SMTP
|
|
11
|
+
* 邮件发送
|
|
11
12
|
*/
|
|
12
|
-
ApiService[ApiService["
|
|
13
|
+
ApiService[ApiService["SMTP"] = 1] = "SMTP";
|
|
14
|
+
/**
|
|
15
|
+
* SMTP delegation
|
|
16
|
+
* 邮件发送代理
|
|
17
|
+
*/
|
|
18
|
+
ApiService[ApiService["SMTPDelegation"] = 2] = "SMTPDelegation";
|
|
19
|
+
/**
|
|
20
|
+
* SMS
|
|
21
|
+
* 短信发送
|
|
22
|
+
*/
|
|
23
|
+
ApiService[ApiService["SMS"] = 3] = "SMS";
|
|
24
|
+
/**
|
|
25
|
+
* Wechat service account
|
|
26
|
+
* 微信服务号
|
|
27
|
+
*/
|
|
28
|
+
ApiService[ApiService["Wechat"] = 4] = "Wechat";
|
|
29
|
+
/**
|
|
30
|
+
* Business Wechat
|
|
31
|
+
* 企业微信
|
|
32
|
+
*/
|
|
33
|
+
ApiService[ApiService["WechatBusiness"] = 5] = "WechatBusiness";
|
|
13
34
|
})(ApiService || (exports.ApiService = ApiService = {}));
|
package/lib/cjs/erp/OrgApi.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ export declare class OrgApi extends EntityApi {
|
|
|
25
25
|
* @param payload Payload
|
|
26
26
|
* @returns Result
|
|
27
27
|
*/
|
|
28
|
-
checkApiService(api: ApiService, payload?:
|
|
28
|
+
checkApiService(api: ApiService, payload?: StringIdResultPayload): Promise<import("..").IdActionResult<string> | undefined>;
|
|
29
29
|
/**
|
|
30
30
|
* Get organization list
|
|
31
31
|
* @param items Max items or request data
|
|
@@ -3,7 +3,28 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export declare enum ApiService {
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* SMTP
|
|
7
|
+
* 邮件发送
|
|
7
8
|
*/
|
|
8
|
-
|
|
9
|
+
SMTP = 1,
|
|
10
|
+
/**
|
|
11
|
+
* SMTP delegation
|
|
12
|
+
* 邮件发送代理
|
|
13
|
+
*/
|
|
14
|
+
SMTPDelegation = 2,
|
|
15
|
+
/**
|
|
16
|
+
* SMS
|
|
17
|
+
* 短信发送
|
|
18
|
+
*/
|
|
19
|
+
SMS = 3,
|
|
20
|
+
/**
|
|
21
|
+
* Wechat service account
|
|
22
|
+
* 微信服务号
|
|
23
|
+
*/
|
|
24
|
+
Wechat = 4,
|
|
25
|
+
/**
|
|
26
|
+
* Business Wechat
|
|
27
|
+
* 企业微信
|
|
28
|
+
*/
|
|
29
|
+
WechatBusiness = 5
|
|
9
30
|
}
|
|
@@ -4,7 +4,28 @@
|
|
|
4
4
|
export var ApiService;
|
|
5
5
|
(function (ApiService) {
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* SMTP
|
|
8
|
+
* 邮件发送
|
|
8
9
|
*/
|
|
9
|
-
ApiService[ApiService["
|
|
10
|
+
ApiService[ApiService["SMTP"] = 1] = "SMTP";
|
|
11
|
+
/**
|
|
12
|
+
* SMTP delegation
|
|
13
|
+
* 邮件发送代理
|
|
14
|
+
*/
|
|
15
|
+
ApiService[ApiService["SMTPDelegation"] = 2] = "SMTPDelegation";
|
|
16
|
+
/**
|
|
17
|
+
* SMS
|
|
18
|
+
* 短信发送
|
|
19
|
+
*/
|
|
20
|
+
ApiService[ApiService["SMS"] = 3] = "SMS";
|
|
21
|
+
/**
|
|
22
|
+
* Wechat service account
|
|
23
|
+
* 微信服务号
|
|
24
|
+
*/
|
|
25
|
+
ApiService[ApiService["Wechat"] = 4] = "Wechat";
|
|
26
|
+
/**
|
|
27
|
+
* Business Wechat
|
|
28
|
+
* 企业微信
|
|
29
|
+
*/
|
|
30
|
+
ApiService[ApiService["WechatBusiness"] = 5] = "WechatBusiness";
|
|
10
31
|
})(ApiService || (ApiService = {}));
|
package/lib/mjs/erp/OrgApi.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ export declare class OrgApi extends EntityApi {
|
|
|
25
25
|
* @param payload Payload
|
|
26
26
|
* @returns Result
|
|
27
27
|
*/
|
|
28
|
-
checkApiService(api: ApiService, payload?:
|
|
28
|
+
checkApiService(api: ApiService, payload?: StringIdResultPayload): Promise<import("..").IdActionResult<string> | undefined>;
|
|
29
29
|
/**
|
|
30
30
|
* Get organization list
|
|
31
31
|
* @param items Max items or request data
|
package/package.json
CHANGED
|
@@ -3,7 +3,32 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export enum ApiService {
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* SMTP
|
|
7
|
+
* 邮件发送
|
|
7
8
|
*/
|
|
8
|
-
|
|
9
|
+
SMTP = 1,
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* SMTP delegation
|
|
13
|
+
* 邮件发送代理
|
|
14
|
+
*/
|
|
15
|
+
SMTPDelegation = 2,
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* SMS
|
|
19
|
+
* 短信发送
|
|
20
|
+
*/
|
|
21
|
+
SMS = 3,
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Wechat service account
|
|
25
|
+
* 微信服务号
|
|
26
|
+
*/
|
|
27
|
+
Wechat = 4,
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Business Wechat
|
|
31
|
+
* 企业微信
|
|
32
|
+
*/
|
|
33
|
+
WechatBusiness = 5
|
|
9
34
|
}
|
package/src/erp/OrgApi.ts
CHANGED
|
@@ -31,10 +31,7 @@ export class OrgApi extends EntityApi {
|
|
|
31
31
|
* @param payload Payload
|
|
32
32
|
* @returns Result
|
|
33
33
|
*/
|
|
34
|
-
checkApiService(
|
|
35
|
-
api: ApiService,
|
|
36
|
-
payload?: IApiPayload<StringIdResultPayload>
|
|
37
|
-
) {
|
|
34
|
+
checkApiService(api: ApiService, payload?: StringIdResultPayload) {
|
|
38
35
|
payload ??= { showLoading: false };
|
|
39
36
|
return this.api.get(`${this.flag}/CheckApiService`, { api }, payload);
|
|
40
37
|
}
|