@ysgroup/contracts 0.1.11 → 0.1.13
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 +0 -132
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -430,7 +430,6 @@ export interface Account {
|
|
|
430
430
|
"type": AccountType; /** 账户类型 */
|
|
431
431
|
"broker_id": string; /** 开户公司ID */
|
|
432
432
|
"trade_env": TradeEnvType; /** 交易环境 */
|
|
433
|
-
"fee_rate"?: number; /** 交易手续费 */
|
|
434
433
|
"login_password"?: string; /** 登录密码;sensitivity=credential(仅风险提示,不决定应用授权) */
|
|
435
434
|
"fund_password"?: string; /** 资金密码;sensitivity=credential(仅风险提示,不决定应用授权) */
|
|
436
435
|
"cfmmc_password"?: string; /** CFMMC密码;sensitivity=credential(仅风险提示,不决定应用授权) */
|
|
@@ -447,9 +446,6 @@ export interface Account {
|
|
|
447
446
|
"fund_password_hint"?: string; /** 资金密码提示 */
|
|
448
447
|
"cfmmc_password_hint"?: string; /** CFMMC密码提示 */
|
|
449
448
|
"profit_enabled"?: boolean; /** 计算盈亏 */
|
|
450
|
-
"commission_refund"?: number; /** 手续费返还 */
|
|
451
|
-
"positions_refund"?: number; /** 持仓返还 */
|
|
452
|
-
"interest"?: number; /** 利息 */
|
|
453
449
|
"memo"?: string; /** 备注 */
|
|
454
450
|
"primary_color"?: string; /** 主题色 */
|
|
455
451
|
}
|
|
@@ -624,24 +620,6 @@ export interface UserApp {
|
|
|
624
620
|
"admin"?: boolean; /** 应用管理员 */
|
|
625
621
|
}
|
|
626
622
|
|
|
627
|
-
export interface AccountApp {
|
|
628
|
-
"_id"?: string; /** 主键 */
|
|
629
|
-
"created_at"?: number; /** 创建时间 */
|
|
630
|
-
"updated_at"?: number; /** 更新时间 */
|
|
631
|
-
"deleted_at"?: null | number; /** 软删除时间 */
|
|
632
|
-
"account_id": string; /** 账户ID */
|
|
633
|
-
"app_id": string; /** 应用ID */
|
|
634
|
-
}
|
|
635
|
-
|
|
636
|
-
export interface OwnerApp {
|
|
637
|
-
"_id"?: string; /** 主键 */
|
|
638
|
-
"created_at"?: number; /** 创建时间 */
|
|
639
|
-
"updated_at"?: number; /** 更新时间 */
|
|
640
|
-
"deleted_at"?: null | number; /** 软删除时间 */
|
|
641
|
-
"owner_id": string; /** 主体ID */
|
|
642
|
-
"app_id": string; /** 应用ID */
|
|
643
|
-
}
|
|
644
|
-
|
|
645
623
|
export interface AccountStrategy {
|
|
646
624
|
"_id"?: string; /** 主键 */
|
|
647
625
|
"created_at"?: number; /** 创建时间 */
|
|
@@ -783,8 +761,6 @@ export const TABLES = {
|
|
|
783
761
|
"counter_suppliers": "CounterSupplier",
|
|
784
762
|
"server_rooms": "ServerRoom",
|
|
785
763
|
"user_app": "UserApp",
|
|
786
|
-
"account_app": "AccountApp",
|
|
787
|
-
"owner_app": "OwnerApp",
|
|
788
764
|
"account_strategy": "AccountStrategy",
|
|
789
765
|
"owner_strategy": "OwnerStrategy",
|
|
790
766
|
"project_owner": "ProjectOwner",
|
|
@@ -1586,16 +1562,6 @@ export const AUTHORIZATION_FIELD_CATALOG = {
|
|
|
1586
1562
|
"system_required": false,
|
|
1587
1563
|
"blocked_reason": ""
|
|
1588
1564
|
},
|
|
1589
|
-
{
|
|
1590
|
-
"key": "fee_rate",
|
|
1591
|
-
"title": "交易手续费",
|
|
1592
|
-
"kind": "original",
|
|
1593
|
-
"type": "<class 'float'>",
|
|
1594
|
-
"sensitivity": "public",
|
|
1595
|
-
"selectable": true,
|
|
1596
|
-
"system_required": false,
|
|
1597
|
-
"blocked_reason": ""
|
|
1598
|
-
},
|
|
1599
1565
|
{
|
|
1600
1566
|
"key": "login_password",
|
|
1601
1567
|
"title": "登录密码",
|
|
@@ -1756,36 +1722,6 @@ export const AUTHORIZATION_FIELD_CATALOG = {
|
|
|
1756
1722
|
"system_required": false,
|
|
1757
1723
|
"blocked_reason": ""
|
|
1758
1724
|
},
|
|
1759
|
-
{
|
|
1760
|
-
"key": "commission_refund",
|
|
1761
|
-
"title": "手续费返还",
|
|
1762
|
-
"kind": "original",
|
|
1763
|
-
"type": "<class 'float'>",
|
|
1764
|
-
"sensitivity": "public",
|
|
1765
|
-
"selectable": true,
|
|
1766
|
-
"system_required": false,
|
|
1767
|
-
"blocked_reason": ""
|
|
1768
|
-
},
|
|
1769
|
-
{
|
|
1770
|
-
"key": "positions_refund",
|
|
1771
|
-
"title": "持仓返还",
|
|
1772
|
-
"kind": "original",
|
|
1773
|
-
"type": "<class 'float'>",
|
|
1774
|
-
"sensitivity": "public",
|
|
1775
|
-
"selectable": true,
|
|
1776
|
-
"system_required": false,
|
|
1777
|
-
"blocked_reason": ""
|
|
1778
|
-
},
|
|
1779
|
-
{
|
|
1780
|
-
"key": "interest",
|
|
1781
|
-
"title": "利息",
|
|
1782
|
-
"kind": "original",
|
|
1783
|
-
"type": "<class 'float'>",
|
|
1784
|
-
"sensitivity": "public",
|
|
1785
|
-
"selectable": true,
|
|
1786
|
-
"system_required": false,
|
|
1787
|
-
"blocked_reason": ""
|
|
1788
|
-
},
|
|
1789
1725
|
{
|
|
1790
1726
|
"key": "memo",
|
|
1791
1727
|
"title": "备注",
|
|
@@ -3619,14 +3555,6 @@ export const FIELD_SPECS = {
|
|
|
3619
3555
|
"required": true,
|
|
3620
3556
|
"sensitivity": "public"
|
|
3621
3557
|
},
|
|
3622
|
-
{
|
|
3623
|
-
"key": "fee_rate",
|
|
3624
|
-
"title": "交易手续费",
|
|
3625
|
-
"widget": "number",
|
|
3626
|
-
"enum": null,
|
|
3627
|
-
"required": false,
|
|
3628
|
-
"sensitivity": "public"
|
|
3629
|
-
},
|
|
3630
3558
|
{
|
|
3631
3559
|
"key": "login_password",
|
|
3632
3560
|
"title": "登录密码",
|
|
@@ -3755,30 +3683,6 @@ export const FIELD_SPECS = {
|
|
|
3755
3683
|
"required": false,
|
|
3756
3684
|
"sensitivity": "public"
|
|
3757
3685
|
},
|
|
3758
|
-
{
|
|
3759
|
-
"key": "commission_refund",
|
|
3760
|
-
"title": "手续费返还",
|
|
3761
|
-
"widget": "number",
|
|
3762
|
-
"enum": null,
|
|
3763
|
-
"required": false,
|
|
3764
|
-
"sensitivity": "public"
|
|
3765
|
-
},
|
|
3766
|
-
{
|
|
3767
|
-
"key": "positions_refund",
|
|
3768
|
-
"title": "持仓返还",
|
|
3769
|
-
"widget": "number",
|
|
3770
|
-
"enum": null,
|
|
3771
|
-
"required": false,
|
|
3772
|
-
"sensitivity": "public"
|
|
3773
|
-
},
|
|
3774
|
-
{
|
|
3775
|
-
"key": "interest",
|
|
3776
|
-
"title": "利息",
|
|
3777
|
-
"widget": "number",
|
|
3778
|
-
"enum": null,
|
|
3779
|
-
"required": false,
|
|
3780
|
-
"sensitivity": "public"
|
|
3781
|
-
},
|
|
3782
3686
|
{
|
|
3783
3687
|
"key": "memo",
|
|
3784
3688
|
"title": "备注",
|
|
@@ -4346,42 +4250,6 @@ export const FIELD_SPECS = {
|
|
|
4346
4250
|
"sensitivity": "public"
|
|
4347
4251
|
}
|
|
4348
4252
|
],
|
|
4349
|
-
"account_app": [
|
|
4350
|
-
{
|
|
4351
|
-
"key": "account_id",
|
|
4352
|
-
"title": "账户ID",
|
|
4353
|
-
"widget": "text",
|
|
4354
|
-
"enum": null,
|
|
4355
|
-
"required": true,
|
|
4356
|
-
"sensitivity": "public"
|
|
4357
|
-
},
|
|
4358
|
-
{
|
|
4359
|
-
"key": "app_id",
|
|
4360
|
-
"title": "应用ID",
|
|
4361
|
-
"widget": "text",
|
|
4362
|
-
"enum": null,
|
|
4363
|
-
"required": true,
|
|
4364
|
-
"sensitivity": "public"
|
|
4365
|
-
}
|
|
4366
|
-
],
|
|
4367
|
-
"owner_app": [
|
|
4368
|
-
{
|
|
4369
|
-
"key": "owner_id",
|
|
4370
|
-
"title": "主体ID",
|
|
4371
|
-
"widget": "text",
|
|
4372
|
-
"enum": null,
|
|
4373
|
-
"required": true,
|
|
4374
|
-
"sensitivity": "public"
|
|
4375
|
-
},
|
|
4376
|
-
{
|
|
4377
|
-
"key": "app_id",
|
|
4378
|
-
"title": "应用ID",
|
|
4379
|
-
"widget": "text",
|
|
4380
|
-
"enum": null,
|
|
4381
|
-
"required": true,
|
|
4382
|
-
"sensitivity": "public"
|
|
4383
|
-
}
|
|
4384
|
-
],
|
|
4385
4253
|
"account_strategy": [
|
|
4386
4254
|
{
|
|
4387
4255
|
"key": "account_id",
|