@freelog/tools-lib 0.1.46 → 0.1.50
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/dist/service-API/contracts.d.ts +3 -1
- package/dist/service-API/transactions.d.ts +7 -0
- package/dist/tools-lib.cjs.development.js +17 -2
- package/dist/tools-lib.cjs.development.js.map +1 -1
- package/dist/tools-lib.cjs.production.min.js +1 -1
- package/dist/tools-lib.cjs.production.min.js.map +1 -1
- package/dist/tools-lib.esm.js +17 -2
- package/dist/tools-lib.esm.js.map +1 -1
- package/dist/utils/predefined.d.ts +2 -0
- package/package.json +1 -1
- package/src/service-API/contracts.ts +3 -1
- package/src/service-API/transactions.ts +16 -0
- package/src/utils/predefined.ts +37 -33
|
@@ -12,7 +12,7 @@ interface ContractsParamsType {
|
|
|
12
12
|
licensorId?: string;
|
|
13
13
|
licenseeId?: string;
|
|
14
14
|
subjectIds?: string;
|
|
15
|
-
subjectType?:
|
|
15
|
+
subjectType?: 1 | 2 | 3;
|
|
16
16
|
isDefault?: number;
|
|
17
17
|
keywords?: string;
|
|
18
18
|
status?: 0 | 1 | 2;
|
|
@@ -21,6 +21,8 @@ interface ContractsParamsType {
|
|
|
21
21
|
licenseeIdentityType?: number;
|
|
22
22
|
isLoadPolicyInfo?: 0 | 1;
|
|
23
23
|
isTranslate?: 0 | 1;
|
|
24
|
+
startDate?: string;
|
|
25
|
+
endDate?: string;
|
|
24
26
|
projection?: string;
|
|
25
27
|
}
|
|
26
28
|
export declare function contracts(params: ContractsParamsType): Promise<any>;
|
|
@@ -32,4 +32,11 @@ interface ResetPasswordParamsType {
|
|
|
32
32
|
messageAddress: string;
|
|
33
33
|
}
|
|
34
34
|
export declare function resetPassword({ ...params }: ResetPasswordParamsType): Promise<any>;
|
|
35
|
+
interface VerifyTransactionPasswordParamsType {
|
|
36
|
+
loginPassword: string;
|
|
37
|
+
password: string;
|
|
38
|
+
authCode: string;
|
|
39
|
+
messageAddress: string;
|
|
40
|
+
}
|
|
41
|
+
export declare function verifyTransactionPassword({ ...params }: VerifyTransactionPasswordParamsType): Promise<any>;
|
|
35
42
|
export {};
|
|
@@ -1218,7 +1218,10 @@ var LinkTo = {
|
|
|
1218
1218
|
// 预设资源类型
|
|
1219
1219
|
var resourceTypes = ['json', 'widget', 'image', 'audio', 'markdown', 'theme', 'reveal_slide', 'license', 'video', 'catalog']; // 全局列表加载条目数
|
|
1220
1220
|
|
|
1221
|
-
var pageSize =
|
|
1221
|
+
var pageSize = 100; // Moment 日期时间格式
|
|
1222
|
+
|
|
1223
|
+
var momentDateFormat = 'YYYY-MM-DD';
|
|
1224
|
+
var momentDateTimeFormat = 'YYYY-MM-DD HH:mm'; // 签约方用户的身份类型定义
|
|
1222
1225
|
|
|
1223
1226
|
var EnumContractPartyIdentityType;
|
|
1224
1227
|
|
|
@@ -1253,6 +1256,8 @@ var Predefined = {
|
|
|
1253
1256
|
__proto__: null,
|
|
1254
1257
|
resourceTypes: resourceTypes,
|
|
1255
1258
|
pageSize: pageSize,
|
|
1259
|
+
momentDateFormat: momentDateFormat,
|
|
1260
|
+
momentDateTimeFormat: momentDateTimeFormat,
|
|
1256
1261
|
get EnumContractPartyIdentityType () { return EnumContractPartyIdentityType; },
|
|
1257
1262
|
get EnumSubjectType () { return EnumSubjectType; },
|
|
1258
1263
|
get EnumContractStatus () { return EnumContractStatus; }
|
|
@@ -2659,6 +2664,15 @@ function resetPassword$1(_ref6) {
|
|
|
2659
2664
|
data: params
|
|
2660
2665
|
});
|
|
2661
2666
|
}
|
|
2667
|
+
function verifyTransactionPassword(_ref7) {
|
|
2668
|
+
var params = _extends({}, _ref7);
|
|
2669
|
+
|
|
2670
|
+
return FUtil.Request({
|
|
2671
|
+
method: 'GET',
|
|
2672
|
+
url: "/v2/accounts/individualAccounts/verifyTransactionPassword?password=123456",
|
|
2673
|
+
data: params
|
|
2674
|
+
});
|
|
2675
|
+
}
|
|
2662
2676
|
|
|
2663
2677
|
var Transaction = {
|
|
2664
2678
|
__proto__: null,
|
|
@@ -2667,7 +2681,8 @@ var Transaction = {
|
|
|
2667
2681
|
transactionDetails: transactionDetails,
|
|
2668
2682
|
activateIndividualAccounts: activateIndividualAccounts,
|
|
2669
2683
|
changePassword: changePassword,
|
|
2670
|
-
resetPassword: resetPassword$1
|
|
2684
|
+
resetPassword: resetPassword$1,
|
|
2685
|
+
verifyTransactionPassword: verifyTransactionPassword
|
|
2671
2686
|
};
|
|
2672
2687
|
|
|
2673
2688
|
function sendVerificationCode(params) {
|