oak-pay-business 2.4.2 → 2.5.0

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.
@@ -36,6 +36,7 @@ export const entityDesc = {
36
36
  codes: '微信分享二维码',
37
37
  isRoot: '是否超级用户',
38
38
  addresses: '收货地址',
39
+ hasPassword: '用户是否存在密码',
39
40
  accounts: '用户帐户',
40
41
  withdrawAccounts: '用户提现帐户',
41
42
  },
@@ -48,6 +48,7 @@ export type OpSchema = EntityShape & {
48
48
  idCardType?: ("ID-Card" | "passport" | "Mainland-passport") | null;
49
49
  idNumber?: String<32> | null;
50
50
  isRoot?: Boolean | null;
51
+ hasPassword?: Boolean | null;
51
52
  idState?: IdState | null;
52
53
  userState?: UserState | null;
53
54
  };
@@ -63,6 +64,7 @@ export type Schema = EntityShape & {
63
64
  idCardType?: ("ID-Card" | "passport" | "Mainland-passport") | null;
64
65
  idNumber?: String<32> | null;
65
66
  isRoot?: Boolean | null;
67
+ hasPassword?: Boolean | null;
66
68
  idState?: IdState | null;
67
69
  userState?: UserState | null;
68
70
  ref?: Schema | null;
@@ -153,6 +155,7 @@ type AttrFilter = {
153
155
  idCardType: Q_EnumValue<"ID-Card" | "passport" | "Mainland-passport">;
154
156
  idNumber: Q_StringValue;
155
157
  isRoot: Q_BooleanValue;
158
+ hasPassword: Q_BooleanValue;
156
159
  idState: Q_EnumValue<IdState>;
157
160
  userState: Q_EnumValue<UserState>;
158
161
  oper$operator: Oper.Filter & SubQueryPredicateMetadata;
@@ -209,6 +212,7 @@ export type Projection = {
209
212
  idCardType?: number;
210
213
  idNumber?: number;
211
214
  isRoot?: number;
215
+ hasPassword?: number;
212
216
  idState?: number;
213
217
  userState?: number;
214
218
  oper$operator?: Oper.Selection & {
@@ -450,6 +454,8 @@ export type SortAttr = {
450
454
  idNumber: number;
451
455
  } | {
452
456
  isRoot: number;
457
+ } | {
458
+ hasPassword: number;
453
459
  } | {
454
460
  idState: number;
455
461
  } | {
@@ -43,6 +43,9 @@ export const desc = {
43
43
  isRoot: {
44
44
  type: "boolean"
45
45
  },
46
+ hasPassword: {
47
+ type: "boolean"
48
+ },
46
49
  idState: {
47
50
  type: "enum",
48
51
  enumeration: ["unverified", "verified", "verifying"]
@@ -1 +1 @@
1
- { "name": "用户", "attr": { "name": "姓名", "nickname": "昵称", "birth": "生日", "password": "密码", "passwordSha1": "sha1加密密码", "gender": "性别", "idCardType": "证件类型", "idNumber": "证件号码", "ref": "指向用户", "files": "相关文件", "userState": "用户状态", "idState": "身份验证状态", "codes": "微信分享二维码", "isRoot": "是否超级用户", "addresses": "收货地址", "accounts": "用户帐户", "withdrawAccounts": "用户提现帐户" }, "action": { "activate": "激活", "accept": "同意", "verify": "验证", "reject": "拒绝", "enable": "启用", "disable": "禁用", "mergeTo": "合并", "mergeFrom": "使合并" }, "v": { "userState": { "shadow": "未激活", "normal": "正常", "disabled": "禁用", "merged": "已被合并" }, "idState": { "unverified": "未验证", "verifying": "验证中", "verified": "已验证" }, "gender": { "male": "男", "female": "女" }, "idCardType": { "ID-Card": "身份证", "passport": "护照", "Mainland-passport": "港澳台通行证" } } }
1
+ { "name": "用户", "attr": { "name": "姓名", "nickname": "昵称", "birth": "生日", "password": "密码", "passwordSha1": "sha1加密密码", "gender": "性别", "idCardType": "证件类型", "idNumber": "证件号码", "ref": "指向用户", "files": "相关文件", "userState": "用户状态", "idState": "身份验证状态", "codes": "微信分享二维码", "isRoot": "是否超级用户", "addresses": "收货地址", "hasPassword": "用户是否存在密码", "accounts": "用户帐户", "withdrawAccounts": "用户提现帐户" }, "action": { "activate": "激活", "accept": "同意", "verify": "验证", "reject": "拒绝", "enable": "启用", "disable": "禁用", "mergeTo": "合并", "mergeFrom": "使合并" }, "v": { "userState": { "shadow": "未激活", "normal": "正常", "disabled": "禁用", "merged": "已被合并" }, "idState": { "unverified": "未验证", "verifying": "验证中", "verified": "已验证" }, "gender": { "male": "男", "female": "女" }, "idCardType": { "ID-Card": "身份证", "passport": "护照", "Mainland-passport": "港澳台通行证" } } }
@@ -39,6 +39,7 @@ exports.entityDesc = {
39
39
  codes: '微信分享二维码',
40
40
  isRoot: '是否超级用户',
41
41
  addresses: '收货地址',
42
+ hasPassword: '用户是否存在密码',
42
43
  accounts: '用户帐户',
43
44
  withdrawAccounts: '用户提现帐户',
44
45
  },
@@ -48,6 +48,7 @@ export type OpSchema = EntityShape & {
48
48
  idCardType?: ("ID-Card" | "passport" | "Mainland-passport") | null;
49
49
  idNumber?: String<32> | null;
50
50
  isRoot?: Boolean | null;
51
+ hasPassword?: Boolean | null;
51
52
  idState?: IdState | null;
52
53
  userState?: UserState | null;
53
54
  };
@@ -63,6 +64,7 @@ export type Schema = EntityShape & {
63
64
  idCardType?: ("ID-Card" | "passport" | "Mainland-passport") | null;
64
65
  idNumber?: String<32> | null;
65
66
  isRoot?: Boolean | null;
67
+ hasPassword?: Boolean | null;
66
68
  idState?: IdState | null;
67
69
  userState?: UserState | null;
68
70
  ref?: Schema | null;
@@ -153,6 +155,7 @@ type AttrFilter = {
153
155
  idCardType: Q_EnumValue<"ID-Card" | "passport" | "Mainland-passport">;
154
156
  idNumber: Q_StringValue;
155
157
  isRoot: Q_BooleanValue;
158
+ hasPassword: Q_BooleanValue;
156
159
  idState: Q_EnumValue<IdState>;
157
160
  userState: Q_EnumValue<UserState>;
158
161
  oper$operator: Oper.Filter & SubQueryPredicateMetadata;
@@ -209,6 +212,7 @@ export type Projection = {
209
212
  idCardType?: number;
210
213
  idNumber?: number;
211
214
  isRoot?: number;
215
+ hasPassword?: number;
212
216
  idState?: number;
213
217
  userState?: number;
214
218
  oper$operator?: Oper.Selection & {
@@ -450,6 +454,8 @@ export type SortAttr = {
450
454
  idNumber: number;
451
455
  } | {
452
456
  isRoot: number;
457
+ } | {
458
+ hasPassword: number;
453
459
  } | {
454
460
  idState: number;
455
461
  } | {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oak-pay-business",
3
- "version": "2.4.2",
3
+ "version": "2.5.0",
4
4
  "description": "",
5
5
  "files": [
6
6
  "lib/**/*",
@@ -29,9 +29,9 @@
29
29
  "dependencies": {
30
30
  "classnames": "^2.3.1",
31
31
  "dayjs": "^1.11.5",
32
- "oak-domain": "^5.1.0",
33
- "oak-frontend-base": "^5.3.6",
34
- "oak-general-business": "~5.4.1",
32
+ "oak-domain": "^5.1.1",
33
+ "oak-frontend-base": "^5.3.8",
34
+ "oak-general-business": "~5.5.0",
35
35
  "wechat-pay-nodejs": "^0.2.3"
36
36
  },
37
37
  "peerDependencies": {
@@ -57,6 +57,7 @@ export const entityDesc: EntityDesc<Schema, Action, '', {
57
57
  codes: '微信分享二维码',
58
58
  isRoot: '是否超级用户',
59
59
  addresses: '收货地址',
60
+ hasPassword: '用户是否存在密码',
60
61
  accounts: '用户帐户',
61
62
  withdrawAccounts: '用户提现帐户',
62
63
  },