@ysgroup/contracts 0.1.20 → 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 +38 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ysgroup/contracts",
3
- "version": "0.1.20",
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 {
@@ -572,6 +573,7 @@ export interface BrokerBranch {
572
573
  "broker_id": string; /** 开户公司ID */
573
574
  "code": string; /** 营业部代码 */
574
575
  "name": string; /** 营业部名称 */
576
+ "short_name": string; /** 营业部简称 */
575
577
  "contact_name"?: string; /** 联系人姓名 */
576
578
  "contact_phone"?: string; /** 联系人电话 */
577
579
  }
@@ -2084,6 +2086,16 @@ export const AUTHORIZATION_FIELD_CATALOG = {
2084
2086
  "selectable": true,
2085
2087
  "system_required": false,
2086
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": ""
2087
2099
  }
2088
2100
  ],
2089
2101
  "banks": [
@@ -2807,6 +2819,16 @@ export const AUTHORIZATION_FIELD_CATALOG = {
2807
2819
  "system_required": false,
2808
2820
  "blocked_reason": ""
2809
2821
  },
2822
+ {
2823
+ "key": "short_name",
2824
+ "title": "营业部简称",
2825
+ "kind": "original",
2826
+ "type": "<class 'str'>",
2827
+ "sensitivity": "public",
2828
+ "selectable": true,
2829
+ "system_required": false,
2830
+ "blocked_reason": ""
2831
+ },
2810
2832
  {
2811
2833
  "key": "contact_name",
2812
2834
  "title": "联系人姓名",
@@ -4001,6 +4023,14 @@ export const FIELD_SPECS = {
4001
4023
  "enum": null,
4002
4024
  "required": true,
4003
4025
  "sensitivity": "restricted"
4026
+ },
4027
+ {
4028
+ "key": "password",
4029
+ "title": "银行卡密码",
4030
+ "widget": "text",
4031
+ "enum": null,
4032
+ "required": false,
4033
+ "sensitivity": "credential"
4004
4034
  }
4005
4035
  ],
4006
4036
  "banks": [
@@ -4160,6 +4190,14 @@ export const FIELD_SPECS = {
4160
4190
  "required": true,
4161
4191
  "sensitivity": "public"
4162
4192
  },
4193
+ {
4194
+ "key": "short_name",
4195
+ "title": "营业部简称",
4196
+ "widget": "text",
4197
+ "enum": null,
4198
+ "required": true,
4199
+ "sensitivity": "public"
4200
+ },
4163
4201
  {
4164
4202
  "key": "contact_name",
4165
4203
  "title": "联系人姓名",