@ysgroup/contracts 0.1.21 → 0.1.23

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.ts +39 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ysgroup/contracts",
3
- "version": "0.1.21",
3
+ "version": "0.1.23",
4
4
  "type": "module",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.ts",
package/src/index.ts CHANGED
@@ -505,6 +505,7 @@ export interface BankCard {
505
505
  "owner_id": string; /** 主体ID */
506
506
  "cnaps_id": string; /** 联行ID */
507
507
  "card_no": string; /** 卡号;sensitivity=restricted(仅风险提示,不决定应用授权) */
508
+ "password"?: string; /** 银行卡密码;sensitivity=credential(仅风险提示,不决定应用授权) */
508
509
  }
509
510
 
510
511
  export interface Bank {
@@ -968,6 +969,13 @@ export const DERIVED_FIELD_SPECS = {
968
969
  "source_field": "name",
969
970
  "dependency_policy": "same_record"
970
971
  },
972
+ {
973
+ "key": "owner_type",
974
+ "title": "所属主体类型",
975
+ "source_table": "owners",
976
+ "source_field": "type",
977
+ "dependency_policy": "same_record"
978
+ },
971
979
  {
972
980
  "key": "broker_code",
973
981
  "title": "开户公司编码",
@@ -1754,6 +1762,19 @@ export const AUTHORIZATION_FIELD_CATALOG = {
1754
1762
  "system_required": false,
1755
1763
  "blocked_reason": ""
1756
1764
  },
1765
+ {
1766
+ "key": "owner_type",
1767
+ "title": "所属主体类型",
1768
+ "source_table": "owners",
1769
+ "source_field": "type",
1770
+ "dependency_policy": "same_record",
1771
+ "kind": "derived",
1772
+ "type": "derived",
1773
+ "sensitivity": "public",
1774
+ "selectable": true,
1775
+ "system_required": false,
1776
+ "blocked_reason": ""
1777
+ },
1757
1778
  {
1758
1779
  "key": "broker_code",
1759
1780
  "title": "开户公司编码",
@@ -2085,6 +2106,16 @@ export const AUTHORIZATION_FIELD_CATALOG = {
2085
2106
  "selectable": true,
2086
2107
  "system_required": false,
2087
2108
  "blocked_reason": ""
2109
+ },
2110
+ {
2111
+ "key": "password",
2112
+ "title": "银行卡密码",
2113
+ "kind": "original",
2114
+ "type": "<class 'str'>",
2115
+ "sensitivity": "credential",
2116
+ "selectable": true,
2117
+ "system_required": false,
2118
+ "blocked_reason": ""
2088
2119
  }
2089
2120
  ],
2090
2121
  "banks": [
@@ -4012,6 +4043,14 @@ export const FIELD_SPECS = {
4012
4043
  "enum": null,
4013
4044
  "required": true,
4014
4045
  "sensitivity": "restricted"
4046
+ },
4047
+ {
4048
+ "key": "password",
4049
+ "title": "银行卡密码",
4050
+ "widget": "text",
4051
+ "enum": null,
4052
+ "required": false,
4053
+ "sensitivity": "credential"
4015
4054
  }
4016
4055
  ],
4017
4056
  "banks": [