@ysgroup/contracts 0.1.15 → 0.1.17
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/package.json +1 -1
- package/src/index.ts +32 -69
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -411,9 +411,9 @@ export interface Owner {
|
|
|
411
411
|
"take_over_date"?: string; /** 接管日期 */
|
|
412
412
|
"funding_source"?: string; /** 资金来源 */
|
|
413
413
|
"performance_fee_accrual_dates"?: string[]; /** 业绩报酬计提日期 */
|
|
414
|
-
"address"?: string; /**
|
|
415
|
-
"phone"?: string; /**
|
|
416
|
-
"email"?: string; /**
|
|
414
|
+
"address"?: string; /** 地址 */
|
|
415
|
+
"phone"?: string; /** 手机 */
|
|
416
|
+
"email"?: string; /** 邮箱 */
|
|
417
417
|
"memo"?: string; /** 备注 */
|
|
418
418
|
}
|
|
419
419
|
|
|
@@ -442,9 +442,6 @@ export interface Account {
|
|
|
442
442
|
"trade_servers"?: TradeServer[]; /** 交易网关;sensitivity=restricted(仅风险提示,不决定应用授权) */
|
|
443
443
|
"trade_counter"?: string; /** 交易柜台;sensitivity=restricted(仅风险提示,不决定应用授权) */
|
|
444
444
|
"bank_card_id"?: string; /** 银行卡ID;sensitivity=restricted(仅风险提示,不决定应用授权) */
|
|
445
|
-
"login_password_hint"?: string; /** 登录密码提示 */
|
|
446
|
-
"fund_password_hint"?: string; /** 资金密码提示 */
|
|
447
|
-
"cfmmc_password_hint"?: string; /** CFMMC密码提示 */
|
|
448
445
|
"memo"?: string; /** 备注 */
|
|
449
446
|
"primary_color"?: string; /** 主题色 */
|
|
450
447
|
}
|
|
@@ -556,7 +553,7 @@ export interface Broker {
|
|
|
556
553
|
"updated_at"?: number; /** 更新时间 */
|
|
557
554
|
"deleted_at"?: null | number; /** 软删除时间 */
|
|
558
555
|
"type": string; /** 类型 */
|
|
559
|
-
"
|
|
556
|
+
"broker_code": string; /** 公司编号 */
|
|
560
557
|
"broker_name": string; /** 公司名称 */
|
|
561
558
|
"broker_ename"?: string; /** 公司英文名 */
|
|
562
559
|
}
|
|
@@ -945,6 +942,13 @@ export const DERIVED_FIELD_SPECS = {
|
|
|
945
942
|
"source_field": "name",
|
|
946
943
|
"dependency_policy": "same_record"
|
|
947
944
|
},
|
|
945
|
+
{
|
|
946
|
+
"key": "broker_code",
|
|
947
|
+
"title": "开户公司编码",
|
|
948
|
+
"source_table": "brokers",
|
|
949
|
+
"source_field": "broker_code",
|
|
950
|
+
"dependency_policy": "same_record"
|
|
951
|
+
},
|
|
948
952
|
{
|
|
949
953
|
"key": "broker_name",
|
|
950
954
|
"title": "开户公司名称",
|
|
@@ -1388,7 +1392,7 @@ export const AUTHORIZATION_FIELD_CATALOG = {
|
|
|
1388
1392
|
},
|
|
1389
1393
|
{
|
|
1390
1394
|
"key": "address",
|
|
1391
|
-
"title": "
|
|
1395
|
+
"title": "地址",
|
|
1392
1396
|
"kind": "original",
|
|
1393
1397
|
"type": "<class 'str'>",
|
|
1394
1398
|
"sensitivity": "public",
|
|
@@ -1398,7 +1402,7 @@ export const AUTHORIZATION_FIELD_CATALOG = {
|
|
|
1398
1402
|
},
|
|
1399
1403
|
{
|
|
1400
1404
|
"key": "phone",
|
|
1401
|
-
"title": "
|
|
1405
|
+
"title": "手机",
|
|
1402
1406
|
"kind": "original",
|
|
1403
1407
|
"type": "<class 'str'>",
|
|
1404
1408
|
"sensitivity": "public",
|
|
@@ -1408,7 +1412,7 @@ export const AUTHORIZATION_FIELD_CATALOG = {
|
|
|
1408
1412
|
},
|
|
1409
1413
|
{
|
|
1410
1414
|
"key": "email",
|
|
1411
|
-
"title": "
|
|
1415
|
+
"title": "邮箱",
|
|
1412
1416
|
"kind": "original",
|
|
1413
1417
|
"type": "<class 'str'>",
|
|
1414
1418
|
"sensitivity": "public",
|
|
@@ -1681,36 +1685,6 @@ export const AUTHORIZATION_FIELD_CATALOG = {
|
|
|
1681
1685
|
"system_required": false,
|
|
1682
1686
|
"blocked_reason": ""
|
|
1683
1687
|
},
|
|
1684
|
-
{
|
|
1685
|
-
"key": "login_password_hint",
|
|
1686
|
-
"title": "登录密码提示",
|
|
1687
|
-
"kind": "original",
|
|
1688
|
-
"type": "<class 'str'>",
|
|
1689
|
-
"sensitivity": "public",
|
|
1690
|
-
"selectable": true,
|
|
1691
|
-
"system_required": false,
|
|
1692
|
-
"blocked_reason": ""
|
|
1693
|
-
},
|
|
1694
|
-
{
|
|
1695
|
-
"key": "fund_password_hint",
|
|
1696
|
-
"title": "资金密码提示",
|
|
1697
|
-
"kind": "original",
|
|
1698
|
-
"type": "<class 'str'>",
|
|
1699
|
-
"sensitivity": "public",
|
|
1700
|
-
"selectable": true,
|
|
1701
|
-
"system_required": false,
|
|
1702
|
-
"blocked_reason": ""
|
|
1703
|
-
},
|
|
1704
|
-
{
|
|
1705
|
-
"key": "cfmmc_password_hint",
|
|
1706
|
-
"title": "CFMMC密码提示",
|
|
1707
|
-
"kind": "original",
|
|
1708
|
-
"type": "<class 'str'>",
|
|
1709
|
-
"sensitivity": "public",
|
|
1710
|
-
"selectable": true,
|
|
1711
|
-
"system_required": false,
|
|
1712
|
-
"blocked_reason": ""
|
|
1713
|
-
},
|
|
1714
1688
|
{
|
|
1715
1689
|
"key": "memo",
|
|
1716
1690
|
"title": "备注",
|
|
@@ -1744,6 +1718,19 @@ export const AUTHORIZATION_FIELD_CATALOG = {
|
|
|
1744
1718
|
"system_required": false,
|
|
1745
1719
|
"blocked_reason": ""
|
|
1746
1720
|
},
|
|
1721
|
+
{
|
|
1722
|
+
"key": "broker_code",
|
|
1723
|
+
"title": "开户公司编码",
|
|
1724
|
+
"source_table": "brokers",
|
|
1725
|
+
"source_field": "broker_code",
|
|
1726
|
+
"dependency_policy": "same_record",
|
|
1727
|
+
"kind": "derived",
|
|
1728
|
+
"type": "derived",
|
|
1729
|
+
"sensitivity": "public",
|
|
1730
|
+
"selectable": true,
|
|
1731
|
+
"system_required": false,
|
|
1732
|
+
"blocked_reason": ""
|
|
1733
|
+
},
|
|
1747
1734
|
{
|
|
1748
1735
|
"key": "broker_name",
|
|
1749
1736
|
"title": "开户公司名称",
|
|
@@ -2684,7 +2671,7 @@ export const AUTHORIZATION_FIELD_CATALOG = {
|
|
|
2684
2671
|
"blocked_reason": ""
|
|
2685
2672
|
},
|
|
2686
2673
|
{
|
|
2687
|
-
"key": "
|
|
2674
|
+
"key": "broker_code",
|
|
2688
2675
|
"title": "公司编号",
|
|
2689
2676
|
"kind": "original",
|
|
2690
2677
|
"type": "<class 'str'>",
|
|
@@ -3448,7 +3435,7 @@ export const FIELD_SPECS = {
|
|
|
3448
3435
|
},
|
|
3449
3436
|
{
|
|
3450
3437
|
"key": "address",
|
|
3451
|
-
"title": "
|
|
3438
|
+
"title": "地址",
|
|
3452
3439
|
"widget": "text",
|
|
3453
3440
|
"enum": null,
|
|
3454
3441
|
"required": false,
|
|
@@ -3456,7 +3443,7 @@ export const FIELD_SPECS = {
|
|
|
3456
3443
|
},
|
|
3457
3444
|
{
|
|
3458
3445
|
"key": "phone",
|
|
3459
|
-
"title": "
|
|
3446
|
+
"title": "手机",
|
|
3460
3447
|
"widget": "text",
|
|
3461
3448
|
"enum": null,
|
|
3462
3449
|
"required": false,
|
|
@@ -3464,7 +3451,7 @@ export const FIELD_SPECS = {
|
|
|
3464
3451
|
},
|
|
3465
3452
|
{
|
|
3466
3453
|
"key": "email",
|
|
3467
|
-
"title": "
|
|
3454
|
+
"title": "邮箱",
|
|
3468
3455
|
"widget": "text",
|
|
3469
3456
|
"enum": null,
|
|
3470
3457
|
"required": false,
|
|
@@ -3640,30 +3627,6 @@ export const FIELD_SPECS = {
|
|
|
3640
3627
|
"required": false,
|
|
3641
3628
|
"sensitivity": "restricted"
|
|
3642
3629
|
},
|
|
3643
|
-
{
|
|
3644
|
-
"key": "login_password_hint",
|
|
3645
|
-
"title": "登录密码提示",
|
|
3646
|
-
"widget": "text",
|
|
3647
|
-
"enum": null,
|
|
3648
|
-
"required": false,
|
|
3649
|
-
"sensitivity": "public"
|
|
3650
|
-
},
|
|
3651
|
-
{
|
|
3652
|
-
"key": "fund_password_hint",
|
|
3653
|
-
"title": "资金密码提示",
|
|
3654
|
-
"widget": "text",
|
|
3655
|
-
"enum": null,
|
|
3656
|
-
"required": false,
|
|
3657
|
-
"sensitivity": "public"
|
|
3658
|
-
},
|
|
3659
|
-
{
|
|
3660
|
-
"key": "cfmmc_password_hint",
|
|
3661
|
-
"title": "CFMMC密码提示",
|
|
3662
|
-
"widget": "text",
|
|
3663
|
-
"enum": null,
|
|
3664
|
-
"required": false,
|
|
3665
|
-
"sensitivity": "public"
|
|
3666
|
-
},
|
|
3667
3630
|
{
|
|
3668
3631
|
"key": "memo",
|
|
3669
3632
|
"title": "备注",
|
|
@@ -4013,7 +3976,7 @@ export const FIELD_SPECS = {
|
|
|
4013
3976
|
"sensitivity": "public"
|
|
4014
3977
|
},
|
|
4015
3978
|
{
|
|
4016
|
-
"key": "
|
|
3979
|
+
"key": "broker_code",
|
|
4017
3980
|
"title": "公司编号",
|
|
4018
3981
|
"widget": "text",
|
|
4019
3982
|
"enum": null,
|