@etsoo/appscript 1.5.93 → 1.5.94
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/api/AuthApi.d.ts +10 -1
- package/lib/cjs/api/AuthApi.js +15 -0
- package/lib/cjs/api/dto/UserIdentifierType.d.ts +12 -0
- package/lib/cjs/api/dto/UserIdentifierType.js +16 -0
- package/lib/cjs/api/rq/CheckUserIdentifierRQ.d.ts +22 -0
- package/lib/cjs/api/rq/CheckUserIdentifierRQ.js +2 -0
- package/lib/cjs/index.d.ts +2 -1
- package/lib/cjs/index.js +2 -1
- package/lib/mjs/api/AuthApi.d.ts +10 -1
- package/lib/mjs/api/AuthApi.js +15 -0
- package/lib/mjs/api/dto/UserIdentifierType.d.ts +12 -0
- package/lib/mjs/api/dto/UserIdentifierType.js +13 -0
- package/lib/mjs/api/rq/CheckUserIdentifierRQ.d.ts +22 -0
- package/lib/mjs/api/rq/CheckUserIdentifierRQ.js +1 -0
- package/lib/mjs/index.d.ts +2 -1
- package/lib/mjs/index.js +2 -1
- package/package.json +2 -2
- package/src/api/AuthApi.ts +22 -1
- package/src/api/dto/UserIdentifierType.ts +12 -0
- package/src/api/rq/CheckUserIdentifierRQ.ts +25 -0
- package/src/index.ts +2 -1
- package/lib/cjs/business/ApiService.d.ts +0 -30
- package/lib/cjs/business/ApiService.js +0 -34
- package/lib/mjs/business/ApiService.d.ts +0 -30
- package/lib/mjs/business/ApiService.js +0 -31
- package/src/business/ApiService.ts +0 -34
package/lib/cjs/api/AuthApi.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { IApiPayload } from "@etsoo/restclient";
|
|
|
2
2
|
import { IUser } from "../state/User";
|
|
3
3
|
import { BaseApi } from "./BaseApi";
|
|
4
4
|
import { ResultPayload } from "./dto/ResultPayload";
|
|
5
|
-
import { IActionResult } from "@etsoo/shared";
|
|
5
|
+
import { DataTypes, IActionResult } from "@etsoo/shared";
|
|
6
6
|
import { RefreshTokenProps, RefreshTokenResult } from "../app/IApp";
|
|
7
7
|
import { TokenRQ } from "./rq/TokenRQ";
|
|
8
8
|
import { ApiRefreshTokenDto } from "./dto/ApiRefreshTokenDto";
|
|
@@ -12,6 +12,7 @@ import { ResetPasswordRQ } from "./rq/ResetPasswordRQ";
|
|
|
12
12
|
import { SignoutRQ } from "./rq/SignoutRQ";
|
|
13
13
|
import { SwitchOrgRQ } from "./rq/SwitchOrgRQ";
|
|
14
14
|
import { AuthRequest } from "./rq/AuthRequest";
|
|
15
|
+
import { CheckUserIdentifierRQ } from "./rq/CheckUserIdentifierRQ";
|
|
15
16
|
/**
|
|
16
17
|
* Authentication API
|
|
17
18
|
*/
|
|
@@ -41,6 +42,14 @@ export declare class AuthApi extends BaseApi {
|
|
|
41
42
|
* @returns Result
|
|
42
43
|
*/
|
|
43
44
|
changePassword(oldPassword: string, password: string, payload?: ResultPayload): Promise<IActionResult<{}> | undefined>;
|
|
45
|
+
/**
|
|
46
|
+
* Check user identifier
|
|
47
|
+
* @param type User identifier type
|
|
48
|
+
* @param openid Open ID
|
|
49
|
+
* @param payload Payload
|
|
50
|
+
* @returns Result
|
|
51
|
+
*/
|
|
52
|
+
checkUserIdentifier(type: CheckUserIdentifierRQ["type"], openid: CheckUserIdentifierRQ["openid"], payload?: IApiPayload<DataTypes.TristateEnum>): Promise<DataTypes.TristateEnum | undefined>;
|
|
44
53
|
/**
|
|
45
54
|
* Exchange token
|
|
46
55
|
* @param rq Request data
|
package/lib/cjs/api/AuthApi.js
CHANGED
|
@@ -40,6 +40,21 @@ class AuthApi extends BaseApi_1.BaseApi {
|
|
|
40
40
|
};
|
|
41
41
|
return this.api.put("Auth/ChangePassword", rq, payload);
|
|
42
42
|
}
|
|
43
|
+
/**
|
|
44
|
+
* Check user identifier
|
|
45
|
+
* @param type User identifier type
|
|
46
|
+
* @param openid Open ID
|
|
47
|
+
* @param payload Payload
|
|
48
|
+
* @returns Result
|
|
49
|
+
*/
|
|
50
|
+
checkUserIdentifier(type, openid, payload) {
|
|
51
|
+
const rq = {
|
|
52
|
+
type,
|
|
53
|
+
openid: this.app.encrypt(openid),
|
|
54
|
+
deviceId: this.app.deviceId
|
|
55
|
+
};
|
|
56
|
+
return this.api.post("Auth/CheckUserIdentifier", rq, payload);
|
|
57
|
+
}
|
|
43
58
|
/**
|
|
44
59
|
* Exchange token
|
|
45
60
|
* @param rq Request data
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UserIdentifierType = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* User identifier type
|
|
6
|
+
* 用户编号类型
|
|
7
|
+
*/
|
|
8
|
+
var UserIdentifierType;
|
|
9
|
+
(function (UserIdentifierType) {
|
|
10
|
+
UserIdentifierType[UserIdentifierType["Email"] = 1] = "Email";
|
|
11
|
+
UserIdentifierType[UserIdentifierType["Mobile"] = 2] = "Mobile";
|
|
12
|
+
UserIdentifierType[UserIdentifierType["Wechat"] = 3] = "Wechat";
|
|
13
|
+
UserIdentifierType[UserIdentifierType["Alipay"] = 4] = "Alipay";
|
|
14
|
+
UserIdentifierType[UserIdentifierType["Google"] = 5] = "Google";
|
|
15
|
+
UserIdentifierType[UserIdentifierType["Microsoft"] = 6] = "Microsoft";
|
|
16
|
+
})(UserIdentifierType || (exports.UserIdentifierType = UserIdentifierType = {}));
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { UserIdentifierType } from "../dto/UserIdentifierType";
|
|
2
|
+
/**
|
|
3
|
+
* Check user identifier request data
|
|
4
|
+
* 检查用户编号请求数据
|
|
5
|
+
*/
|
|
6
|
+
export type CheckUserIdentifierRQ = {
|
|
7
|
+
/**
|
|
8
|
+
* User identifier type
|
|
9
|
+
* 用户编号类型
|
|
10
|
+
*/
|
|
11
|
+
type: UserIdentifierType;
|
|
12
|
+
/**
|
|
13
|
+
* Open ID
|
|
14
|
+
* 公开编号
|
|
15
|
+
*/
|
|
16
|
+
openid: string;
|
|
17
|
+
/**
|
|
18
|
+
* Device ID
|
|
19
|
+
* 设备编号
|
|
20
|
+
*/
|
|
21
|
+
deviceId: string;
|
|
22
|
+
};
|
package/lib/cjs/index.d.ts
CHANGED
|
@@ -16,9 +16,11 @@ export * from "./api/dto/IdLabelPrimaryDto";
|
|
|
16
16
|
export * from "./api/dto/InitCallDto";
|
|
17
17
|
export * from "./api/dto/PinDto";
|
|
18
18
|
export * from "./api/dto/ResultPayload";
|
|
19
|
+
export * from "./api/dto/UserIdentifierType";
|
|
19
20
|
export * from "./api/rq/ApiRefreshTokenRQ";
|
|
20
21
|
export * from "./api/rq/AuthRequest";
|
|
21
22
|
export * from "./api/rq/ChangePasswordRQ";
|
|
23
|
+
export * from "./api/rq/CheckUserIdentifierRQ";
|
|
22
24
|
export * from "./api/rq/GetLogInUrlRQ";
|
|
23
25
|
export * from "./api/rq/LoginIdRQ";
|
|
24
26
|
export * from "./api/rq/LoginRQ";
|
|
@@ -43,7 +45,6 @@ export * from "./app/IApp";
|
|
|
43
45
|
export * from "./app/UserRole";
|
|
44
46
|
export * from "./bridges/BridgeUtils";
|
|
45
47
|
export * from "./bridges/IBridgeHost";
|
|
46
|
-
export * from "./business/ApiService";
|
|
47
48
|
export * from "./business/BusinessTax";
|
|
48
49
|
export * from "./business/BusinessUtils";
|
|
49
50
|
export * from "./business/CultureItem";
|
package/lib/cjs/index.js
CHANGED
|
@@ -35,9 +35,11 @@ __exportStar(require("./api/dto/IdLabelPrimaryDto"), exports);
|
|
|
35
35
|
__exportStar(require("./api/dto/InitCallDto"), exports);
|
|
36
36
|
__exportStar(require("./api/dto/PinDto"), exports);
|
|
37
37
|
__exportStar(require("./api/dto/ResultPayload"), exports);
|
|
38
|
+
__exportStar(require("./api/dto/UserIdentifierType"), exports);
|
|
38
39
|
__exportStar(require("./api/rq/ApiRefreshTokenRQ"), exports);
|
|
39
40
|
__exportStar(require("./api/rq/AuthRequest"), exports);
|
|
40
41
|
__exportStar(require("./api/rq/ChangePasswordRQ"), exports);
|
|
42
|
+
__exportStar(require("./api/rq/CheckUserIdentifierRQ"), exports);
|
|
41
43
|
__exportStar(require("./api/rq/GetLogInUrlRQ"), exports);
|
|
42
44
|
__exportStar(require("./api/rq/LoginIdRQ"), exports);
|
|
43
45
|
__exportStar(require("./api/rq/LoginRQ"), exports);
|
|
@@ -65,7 +67,6 @@ __exportStar(require("./app/UserRole"), exports);
|
|
|
65
67
|
__exportStar(require("./bridges/BridgeUtils"), exports);
|
|
66
68
|
__exportStar(require("./bridges/IBridgeHost"), exports);
|
|
67
69
|
// business
|
|
68
|
-
__exportStar(require("./business/ApiService"), exports);
|
|
69
70
|
__exportStar(require("./business/BusinessTax"), exports);
|
|
70
71
|
__exportStar(require("./business/BusinessUtils"), exports);
|
|
71
72
|
__exportStar(require("./business/CultureItem"), exports);
|
package/lib/mjs/api/AuthApi.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { IApiPayload } from "@etsoo/restclient";
|
|
|
2
2
|
import { IUser } from "../state/User";
|
|
3
3
|
import { BaseApi } from "./BaseApi";
|
|
4
4
|
import { ResultPayload } from "./dto/ResultPayload";
|
|
5
|
-
import { IActionResult } from "@etsoo/shared";
|
|
5
|
+
import { DataTypes, IActionResult } from "@etsoo/shared";
|
|
6
6
|
import { RefreshTokenProps, RefreshTokenResult } from "../app/IApp";
|
|
7
7
|
import { TokenRQ } from "./rq/TokenRQ";
|
|
8
8
|
import { ApiRefreshTokenDto } from "./dto/ApiRefreshTokenDto";
|
|
@@ -12,6 +12,7 @@ import { ResetPasswordRQ } from "./rq/ResetPasswordRQ";
|
|
|
12
12
|
import { SignoutRQ } from "./rq/SignoutRQ";
|
|
13
13
|
import { SwitchOrgRQ } from "./rq/SwitchOrgRQ";
|
|
14
14
|
import { AuthRequest } from "./rq/AuthRequest";
|
|
15
|
+
import { CheckUserIdentifierRQ } from "./rq/CheckUserIdentifierRQ";
|
|
15
16
|
/**
|
|
16
17
|
* Authentication API
|
|
17
18
|
*/
|
|
@@ -41,6 +42,14 @@ export declare class AuthApi extends BaseApi {
|
|
|
41
42
|
* @returns Result
|
|
42
43
|
*/
|
|
43
44
|
changePassword(oldPassword: string, password: string, payload?: ResultPayload): Promise<IActionResult<{}> | undefined>;
|
|
45
|
+
/**
|
|
46
|
+
* Check user identifier
|
|
47
|
+
* @param type User identifier type
|
|
48
|
+
* @param openid Open ID
|
|
49
|
+
* @param payload Payload
|
|
50
|
+
* @returns Result
|
|
51
|
+
*/
|
|
52
|
+
checkUserIdentifier(type: CheckUserIdentifierRQ["type"], openid: CheckUserIdentifierRQ["openid"], payload?: IApiPayload<DataTypes.TristateEnum>): Promise<DataTypes.TristateEnum | undefined>;
|
|
44
53
|
/**
|
|
45
54
|
* Exchange token
|
|
46
55
|
* @param rq Request data
|
package/lib/mjs/api/AuthApi.js
CHANGED
|
@@ -37,6 +37,21 @@ export class AuthApi extends BaseApi {
|
|
|
37
37
|
};
|
|
38
38
|
return this.api.put("Auth/ChangePassword", rq, payload);
|
|
39
39
|
}
|
|
40
|
+
/**
|
|
41
|
+
* Check user identifier
|
|
42
|
+
* @param type User identifier type
|
|
43
|
+
* @param openid Open ID
|
|
44
|
+
* @param payload Payload
|
|
45
|
+
* @returns Result
|
|
46
|
+
*/
|
|
47
|
+
checkUserIdentifier(type, openid, payload) {
|
|
48
|
+
const rq = {
|
|
49
|
+
type,
|
|
50
|
+
openid: this.app.encrypt(openid),
|
|
51
|
+
deviceId: this.app.deviceId
|
|
52
|
+
};
|
|
53
|
+
return this.api.post("Auth/CheckUserIdentifier", rq, payload);
|
|
54
|
+
}
|
|
40
55
|
/**
|
|
41
56
|
* Exchange token
|
|
42
57
|
* @param rq Request data
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* User identifier type
|
|
3
|
+
* 用户编号类型
|
|
4
|
+
*/
|
|
5
|
+
export var UserIdentifierType;
|
|
6
|
+
(function (UserIdentifierType) {
|
|
7
|
+
UserIdentifierType[UserIdentifierType["Email"] = 1] = "Email";
|
|
8
|
+
UserIdentifierType[UserIdentifierType["Mobile"] = 2] = "Mobile";
|
|
9
|
+
UserIdentifierType[UserIdentifierType["Wechat"] = 3] = "Wechat";
|
|
10
|
+
UserIdentifierType[UserIdentifierType["Alipay"] = 4] = "Alipay";
|
|
11
|
+
UserIdentifierType[UserIdentifierType["Google"] = 5] = "Google";
|
|
12
|
+
UserIdentifierType[UserIdentifierType["Microsoft"] = 6] = "Microsoft";
|
|
13
|
+
})(UserIdentifierType || (UserIdentifierType = {}));
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { UserIdentifierType } from "../dto/UserIdentifierType";
|
|
2
|
+
/**
|
|
3
|
+
* Check user identifier request data
|
|
4
|
+
* 检查用户编号请求数据
|
|
5
|
+
*/
|
|
6
|
+
export type CheckUserIdentifierRQ = {
|
|
7
|
+
/**
|
|
8
|
+
* User identifier type
|
|
9
|
+
* 用户编号类型
|
|
10
|
+
*/
|
|
11
|
+
type: UserIdentifierType;
|
|
12
|
+
/**
|
|
13
|
+
* Open ID
|
|
14
|
+
* 公开编号
|
|
15
|
+
*/
|
|
16
|
+
openid: string;
|
|
17
|
+
/**
|
|
18
|
+
* Device ID
|
|
19
|
+
* 设备编号
|
|
20
|
+
*/
|
|
21
|
+
deviceId: string;
|
|
22
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/lib/mjs/index.d.ts
CHANGED
|
@@ -16,9 +16,11 @@ export * from "./api/dto/IdLabelPrimaryDto";
|
|
|
16
16
|
export * from "./api/dto/InitCallDto";
|
|
17
17
|
export * from "./api/dto/PinDto";
|
|
18
18
|
export * from "./api/dto/ResultPayload";
|
|
19
|
+
export * from "./api/dto/UserIdentifierType";
|
|
19
20
|
export * from "./api/rq/ApiRefreshTokenRQ";
|
|
20
21
|
export * from "./api/rq/AuthRequest";
|
|
21
22
|
export * from "./api/rq/ChangePasswordRQ";
|
|
23
|
+
export * from "./api/rq/CheckUserIdentifierRQ";
|
|
22
24
|
export * from "./api/rq/GetLogInUrlRQ";
|
|
23
25
|
export * from "./api/rq/LoginIdRQ";
|
|
24
26
|
export * from "./api/rq/LoginRQ";
|
|
@@ -43,7 +45,6 @@ export * from "./app/IApp";
|
|
|
43
45
|
export * from "./app/UserRole";
|
|
44
46
|
export * from "./bridges/BridgeUtils";
|
|
45
47
|
export * from "./bridges/IBridgeHost";
|
|
46
|
-
export * from "./business/ApiService";
|
|
47
48
|
export * from "./business/BusinessTax";
|
|
48
49
|
export * from "./business/BusinessUtils";
|
|
49
50
|
export * from "./business/CultureItem";
|
package/lib/mjs/index.js
CHANGED
|
@@ -18,9 +18,11 @@ export * from "./api/dto/IdLabelPrimaryDto";
|
|
|
18
18
|
export * from "./api/dto/InitCallDto";
|
|
19
19
|
export * from "./api/dto/PinDto";
|
|
20
20
|
export * from "./api/dto/ResultPayload";
|
|
21
|
+
export * from "./api/dto/UserIdentifierType";
|
|
21
22
|
export * from "./api/rq/ApiRefreshTokenRQ";
|
|
22
23
|
export * from "./api/rq/AuthRequest";
|
|
23
24
|
export * from "./api/rq/ChangePasswordRQ";
|
|
25
|
+
export * from "./api/rq/CheckUserIdentifierRQ";
|
|
24
26
|
export * from "./api/rq/GetLogInUrlRQ";
|
|
25
27
|
export * from "./api/rq/LoginIdRQ";
|
|
26
28
|
export * from "./api/rq/LoginRQ";
|
|
@@ -48,7 +50,6 @@ export * from "./app/UserRole";
|
|
|
48
50
|
export * from "./bridges/BridgeUtils";
|
|
49
51
|
export * from "./bridges/IBridgeHost";
|
|
50
52
|
// business
|
|
51
|
-
export * from "./business/ApiService";
|
|
52
53
|
export * from "./business/BusinessTax";
|
|
53
54
|
export * from "./business/BusinessUtils";
|
|
54
55
|
export * from "./business/CultureItem";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@etsoo/appscript",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.94",
|
|
4
4
|
"description": "Applications shared TypeScript framework",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/mjs/index.js",
|
|
@@ -50,6 +50,6 @@
|
|
|
50
50
|
"@vitejs/plugin-react": "^4.3.4",
|
|
51
51
|
"jsdom": "^26.0.0",
|
|
52
52
|
"typescript": "^5.7.3",
|
|
53
|
-
"vitest": "^3.0.
|
|
53
|
+
"vitest": "^3.0.4"
|
|
54
54
|
}
|
|
55
55
|
}
|
package/src/api/AuthApi.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { IApiPayload } from "@etsoo/restclient";
|
|
|
2
2
|
import { IUser } from "../state/User";
|
|
3
3
|
import { BaseApi } from "./BaseApi";
|
|
4
4
|
import { ResultPayload } from "./dto/ResultPayload";
|
|
5
|
-
import { ActionResult, IActionResult } from "@etsoo/shared";
|
|
5
|
+
import { ActionResult, DataTypes, IActionResult } from "@etsoo/shared";
|
|
6
6
|
import { RefreshTokenProps, RefreshTokenResult } from "../app/IApp";
|
|
7
7
|
import { TokenRQ } from "./rq/TokenRQ";
|
|
8
8
|
import { ApiRefreshTokenDto } from "./dto/ApiRefreshTokenDto";
|
|
@@ -15,6 +15,7 @@ import { SignoutRQ } from "./rq/SignoutRQ";
|
|
|
15
15
|
import { SwitchOrgRQ } from "./rq/SwitchOrgRQ";
|
|
16
16
|
import { AuthRequest } from "./rq/AuthRequest";
|
|
17
17
|
import { ChangePasswordRQ } from "./rq/ChangePasswordRQ";
|
|
18
|
+
import { CheckUserIdentifierRQ } from "./rq/CheckUserIdentifierRQ";
|
|
18
19
|
|
|
19
20
|
/**
|
|
20
21
|
* Authentication API
|
|
@@ -65,6 +66,26 @@ export class AuthApi extends BaseApi {
|
|
|
65
66
|
return this.api.put("Auth/ChangePassword", rq, payload);
|
|
66
67
|
}
|
|
67
68
|
|
|
69
|
+
/**
|
|
70
|
+
* Check user identifier
|
|
71
|
+
* @param type User identifier type
|
|
72
|
+
* @param openid Open ID
|
|
73
|
+
* @param payload Payload
|
|
74
|
+
* @returns Result
|
|
75
|
+
*/
|
|
76
|
+
checkUserIdentifier(
|
|
77
|
+
type: CheckUserIdentifierRQ["type"],
|
|
78
|
+
openid: CheckUserIdentifierRQ["openid"],
|
|
79
|
+
payload?: IApiPayload<DataTypes.TristateEnum>
|
|
80
|
+
) {
|
|
81
|
+
const rq: CheckUserIdentifierRQ = {
|
|
82
|
+
type,
|
|
83
|
+
openid: this.app.encrypt(openid),
|
|
84
|
+
deviceId: this.app.deviceId
|
|
85
|
+
};
|
|
86
|
+
return this.api.post("Auth/CheckUserIdentifier", rq, payload);
|
|
87
|
+
}
|
|
88
|
+
|
|
68
89
|
/**
|
|
69
90
|
* Exchange token
|
|
70
91
|
* @param rq Request data
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { UserIdentifierType } from "../dto/UserIdentifierType";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Check user identifier request data
|
|
5
|
+
* 检查用户编号请求数据
|
|
6
|
+
*/
|
|
7
|
+
export type CheckUserIdentifierRQ = {
|
|
8
|
+
/**
|
|
9
|
+
* User identifier type
|
|
10
|
+
* 用户编号类型
|
|
11
|
+
*/
|
|
12
|
+
type: UserIdentifierType;
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Open ID
|
|
16
|
+
* 公开编号
|
|
17
|
+
*/
|
|
18
|
+
openid: string;
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Device ID
|
|
22
|
+
* 设备编号
|
|
23
|
+
*/
|
|
24
|
+
deviceId: string;
|
|
25
|
+
};
|
package/src/index.ts
CHANGED
|
@@ -19,10 +19,12 @@ export * from "./api/dto/IdLabelPrimaryDto";
|
|
|
19
19
|
export * from "./api/dto/InitCallDto";
|
|
20
20
|
export * from "./api/dto/PinDto";
|
|
21
21
|
export * from "./api/dto/ResultPayload";
|
|
22
|
+
export * from "./api/dto/UserIdentifierType";
|
|
22
23
|
|
|
23
24
|
export * from "./api/rq/ApiRefreshTokenRQ";
|
|
24
25
|
export * from "./api/rq/AuthRequest";
|
|
25
26
|
export * from "./api/rq/ChangePasswordRQ";
|
|
27
|
+
export * from "./api/rq/CheckUserIdentifierRQ";
|
|
26
28
|
export * from "./api/rq/GetLogInUrlRQ";
|
|
27
29
|
export * from "./api/rq/LoginIdRQ";
|
|
28
30
|
export * from "./api/rq/LoginRQ";
|
|
@@ -54,7 +56,6 @@ export * from "./bridges/BridgeUtils";
|
|
|
54
56
|
export * from "./bridges/IBridgeHost";
|
|
55
57
|
|
|
56
58
|
// business
|
|
57
|
-
export * from "./business/ApiService";
|
|
58
59
|
export * from "./business/BusinessTax";
|
|
59
60
|
export * from "./business/BusinessUtils";
|
|
60
61
|
export * from "./business/CultureItem";
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* API service enum
|
|
3
|
-
*/
|
|
4
|
-
export declare enum ApiService {
|
|
5
|
-
/**
|
|
6
|
-
* SMTP
|
|
7
|
-
* 邮件发送
|
|
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
|
|
30
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ApiService = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* API service enum
|
|
6
|
-
*/
|
|
7
|
-
var ApiService;
|
|
8
|
-
(function (ApiService) {
|
|
9
|
-
/**
|
|
10
|
-
* SMTP
|
|
11
|
-
* 邮件发送
|
|
12
|
-
*/
|
|
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";
|
|
34
|
-
})(ApiService || (exports.ApiService = ApiService = {}));
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* API service enum
|
|
3
|
-
*/
|
|
4
|
-
export declare enum ApiService {
|
|
5
|
-
/**
|
|
6
|
-
* SMTP
|
|
7
|
-
* 邮件发送
|
|
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
|
|
30
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* API service enum
|
|
3
|
-
*/
|
|
4
|
-
export var ApiService;
|
|
5
|
-
(function (ApiService) {
|
|
6
|
-
/**
|
|
7
|
-
* SMTP
|
|
8
|
-
* 邮件发送
|
|
9
|
-
*/
|
|
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";
|
|
31
|
-
})(ApiService || (ApiService = {}));
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* API service enum
|
|
3
|
-
*/
|
|
4
|
-
export enum ApiService {
|
|
5
|
-
/**
|
|
6
|
-
* SMTP
|
|
7
|
-
* 邮件发送
|
|
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
|
|
34
|
-
}
|