@ysgroup/contracts 0.1.12 → 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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.ts +0 -76
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ysgroup/contracts",
3
- "version": "0.1.12",
3
+ "version": "0.1.13",
4
4
  "type": "module",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.ts",
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
  }
@@ -1566,16 +1562,6 @@ export const AUTHORIZATION_FIELD_CATALOG = {
1566
1562
  "system_required": false,
1567
1563
  "blocked_reason": ""
1568
1564
  },
1569
- {
1570
- "key": "fee_rate",
1571
- "title": "交易手续费",
1572
- "kind": "original",
1573
- "type": "<class 'float'>",
1574
- "sensitivity": "public",
1575
- "selectable": true,
1576
- "system_required": false,
1577
- "blocked_reason": ""
1578
- },
1579
1565
  {
1580
1566
  "key": "login_password",
1581
1567
  "title": "登录密码",
@@ -1736,36 +1722,6 @@ export const AUTHORIZATION_FIELD_CATALOG = {
1736
1722
  "system_required": false,
1737
1723
  "blocked_reason": ""
1738
1724
  },
1739
- {
1740
- "key": "commission_refund",
1741
- "title": "手续费返还",
1742
- "kind": "original",
1743
- "type": "<class 'float'>",
1744
- "sensitivity": "public",
1745
- "selectable": true,
1746
- "system_required": false,
1747
- "blocked_reason": ""
1748
- },
1749
- {
1750
- "key": "positions_refund",
1751
- "title": "持仓返还",
1752
- "kind": "original",
1753
- "type": "<class 'float'>",
1754
- "sensitivity": "public",
1755
- "selectable": true,
1756
- "system_required": false,
1757
- "blocked_reason": ""
1758
- },
1759
- {
1760
- "key": "interest",
1761
- "title": "利息",
1762
- "kind": "original",
1763
- "type": "<class 'float'>",
1764
- "sensitivity": "public",
1765
- "selectable": true,
1766
- "system_required": false,
1767
- "blocked_reason": ""
1768
- },
1769
1725
  {
1770
1726
  "key": "memo",
1771
1727
  "title": "备注",
@@ -3599,14 +3555,6 @@ export const FIELD_SPECS = {
3599
3555
  "required": true,
3600
3556
  "sensitivity": "public"
3601
3557
  },
3602
- {
3603
- "key": "fee_rate",
3604
- "title": "交易手续费",
3605
- "widget": "number",
3606
- "enum": null,
3607
- "required": false,
3608
- "sensitivity": "public"
3609
- },
3610
3558
  {
3611
3559
  "key": "login_password",
3612
3560
  "title": "登录密码",
@@ -3735,30 +3683,6 @@ export const FIELD_SPECS = {
3735
3683
  "required": false,
3736
3684
  "sensitivity": "public"
3737
3685
  },
3738
- {
3739
- "key": "commission_refund",
3740
- "title": "手续费返还",
3741
- "widget": "number",
3742
- "enum": null,
3743
- "required": false,
3744
- "sensitivity": "public"
3745
- },
3746
- {
3747
- "key": "positions_refund",
3748
- "title": "持仓返还",
3749
- "widget": "number",
3750
- "enum": null,
3751
- "required": false,
3752
- "sensitivity": "public"
3753
- },
3754
- {
3755
- "key": "interest",
3756
- "title": "利息",
3757
- "widget": "number",
3758
- "enum": null,
3759
- "required": false,
3760
- "sensitivity": "public"
3761
- },
3762
3686
  {
3763
3687
  "key": "memo",
3764
3688
  "title": "备注",