@ysgroup/contracts 0.1.21 → 0.1.22

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 +19 -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.22",
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 {
@@ -2085,6 +2086,16 @@ export const AUTHORIZATION_FIELD_CATALOG = {
2085
2086
  "selectable": true,
2086
2087
  "system_required": false,
2087
2088
  "blocked_reason": ""
2089
+ },
2090
+ {
2091
+ "key": "password",
2092
+ "title": "银行卡密码",
2093
+ "kind": "original",
2094
+ "type": "<class 'str'>",
2095
+ "sensitivity": "credential",
2096
+ "selectable": true,
2097
+ "system_required": false,
2098
+ "blocked_reason": ""
2088
2099
  }
2089
2100
  ],
2090
2101
  "banks": [
@@ -4012,6 +4023,14 @@ export const FIELD_SPECS = {
4012
4023
  "enum": null,
4013
4024
  "required": true,
4014
4025
  "sensitivity": "restricted"
4026
+ },
4027
+ {
4028
+ "key": "password",
4029
+ "title": "银行卡密码",
4030
+ "widget": "text",
4031
+ "enum": null,
4032
+ "required": false,
4033
+ "sensitivity": "credential"
4015
4034
  }
4016
4035
  ],
4017
4036
  "banks": [