@yigemo/choosefire 0.3.0 → 0.4.0
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/README.md +6 -1
- package/contracts/choosefire-family-wealth/v2/capability-matrix.v1.json +5 -5
- package/contracts/choosefire-family-wealth/v2/manifest.json +7 -7
- package/contracts/choosefire-family-wealth/v2/openapi.generated.json +812 -25
- package/contracts/choosefire-family-wealth/v2/runtime-schemas/family-wealth.v2.schema.json +544 -4
- package/dist/commands.js +91 -9
- package/dist/commands.js.map +1 -1
- package/dist/family-wealth-v2-contracts.d.ts +77 -6
- package/dist/family-wealth-v2-contracts.js +1 -1
- package/dist/family-wealth-v2-contracts.js.map +1 -1
- package/dist/family-wealth-v2-http.d.ts +8 -4
- package/dist/family-wealth-v2-http.js +44 -1
- package/dist/family-wealth-v2-http.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,163 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$defs": {
|
|
3
|
+
"AccountActivityTimelineItemV2": {
|
|
4
|
+
"oneOf": [
|
|
5
|
+
{
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"properties": {
|
|
8
|
+
"cashFlow": {
|
|
9
|
+
"$ref": "#/$defs/ExternalCashFlowV2"
|
|
10
|
+
},
|
|
11
|
+
"eventAt": {
|
|
12
|
+
"format": "date-time",
|
|
13
|
+
"type": "string"
|
|
14
|
+
},
|
|
15
|
+
"kind": {
|
|
16
|
+
"const": "external_cash_flow"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"required": [
|
|
20
|
+
"kind",
|
|
21
|
+
"eventAt",
|
|
22
|
+
"cashFlow"
|
|
23
|
+
],
|
|
24
|
+
"type": "object"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"additionalProperties": false,
|
|
28
|
+
"properties": {
|
|
29
|
+
"eventAt": {
|
|
30
|
+
"format": "date-time",
|
|
31
|
+
"type": "string"
|
|
32
|
+
},
|
|
33
|
+
"kind": {
|
|
34
|
+
"const": "investment_transaction"
|
|
35
|
+
},
|
|
36
|
+
"transaction": {
|
|
37
|
+
"$ref": "#/$defs/InvestmentTransactionV2"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"required": [
|
|
41
|
+
"kind",
|
|
42
|
+
"eventAt",
|
|
43
|
+
"transaction"
|
|
44
|
+
],
|
|
45
|
+
"type": "object"
|
|
46
|
+
}
|
|
47
|
+
]
|
|
48
|
+
},
|
|
49
|
+
"AccountActivityTimelineQueryV2": {
|
|
50
|
+
"additionalProperties": false,
|
|
51
|
+
"properties": {
|
|
52
|
+
"accountId": {
|
|
53
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
|
54
|
+
"type": "string"
|
|
55
|
+
},
|
|
56
|
+
"holdingId": {
|
|
57
|
+
"anyOf": [
|
|
58
|
+
{
|
|
59
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
|
60
|
+
"type": "string"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"type": "null"
|
|
64
|
+
}
|
|
65
|
+
]
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"required": [
|
|
69
|
+
"accountId",
|
|
70
|
+
"holdingId"
|
|
71
|
+
],
|
|
72
|
+
"type": "object"
|
|
73
|
+
},
|
|
74
|
+
"AccountActivityTimelineSuccessV2": {
|
|
75
|
+
"additionalProperties": false,
|
|
76
|
+
"properties": {
|
|
77
|
+
"code": {
|
|
78
|
+
"const": 0
|
|
79
|
+
},
|
|
80
|
+
"data": {
|
|
81
|
+
"$ref": "#/$defs/AccountActivityTimelineV2"
|
|
82
|
+
},
|
|
83
|
+
"kind": {
|
|
84
|
+
"const": "family_wealth_success.v2"
|
|
85
|
+
},
|
|
86
|
+
"status": {
|
|
87
|
+
"const": "success"
|
|
88
|
+
},
|
|
89
|
+
"success": {
|
|
90
|
+
"const": true
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"required": [
|
|
94
|
+
"kind",
|
|
95
|
+
"success",
|
|
96
|
+
"status",
|
|
97
|
+
"code",
|
|
98
|
+
"data"
|
|
99
|
+
],
|
|
100
|
+
"type": "object"
|
|
101
|
+
},
|
|
102
|
+
"AccountActivityTimelineV2": {
|
|
103
|
+
"additionalProperties": false,
|
|
104
|
+
"properties": {
|
|
105
|
+
"accountId": {
|
|
106
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
|
107
|
+
"type": "string"
|
|
108
|
+
},
|
|
109
|
+
"asOf": {
|
|
110
|
+
"format": "date-time",
|
|
111
|
+
"type": "string"
|
|
112
|
+
},
|
|
113
|
+
"authority": {
|
|
114
|
+
"$ref": "#/$defs/WorkspaceAuthorityV2"
|
|
115
|
+
},
|
|
116
|
+
"contractVersion": {
|
|
117
|
+
"const": 2
|
|
118
|
+
},
|
|
119
|
+
"holdingId": {
|
|
120
|
+
"anyOf": [
|
|
121
|
+
{
|
|
122
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
|
123
|
+
"type": "string"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"type": "null"
|
|
127
|
+
}
|
|
128
|
+
]
|
|
129
|
+
},
|
|
130
|
+
"items": {
|
|
131
|
+
"items": {
|
|
132
|
+
"$ref": "#/$defs/AccountActivityTimelineItemV2"
|
|
133
|
+
},
|
|
134
|
+
"maxItems": 1000,
|
|
135
|
+
"type": "array"
|
|
136
|
+
},
|
|
137
|
+
"kind": {
|
|
138
|
+
"const": "account.activity_timeline.v2"
|
|
139
|
+
},
|
|
140
|
+
"projectionVersion": {
|
|
141
|
+
"const": 1
|
|
142
|
+
},
|
|
143
|
+
"workspaceVersion": {
|
|
144
|
+
"minimum": 1,
|
|
145
|
+
"type": "integer"
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
"required": [
|
|
149
|
+
"kind",
|
|
150
|
+
"contractVersion",
|
|
151
|
+
"projectionVersion",
|
|
152
|
+
"workspaceVersion",
|
|
153
|
+
"asOf",
|
|
154
|
+
"authority",
|
|
155
|
+
"accountId",
|
|
156
|
+
"holdingId",
|
|
157
|
+
"items"
|
|
158
|
+
],
|
|
159
|
+
"type": "object"
|
|
160
|
+
},
|
|
3
161
|
"AccountTimelineQueryV2": {
|
|
4
162
|
"additionalProperties": false,
|
|
5
163
|
"properties": {
|
|
@@ -113,7 +271,8 @@
|
|
|
113
271
|
"valuation_snapshot",
|
|
114
272
|
"classification",
|
|
115
273
|
"holding",
|
|
116
|
-
"external_cash_flow"
|
|
274
|
+
"external_cash_flow",
|
|
275
|
+
"investment_transaction"
|
|
117
276
|
]
|
|
118
277
|
}
|
|
119
278
|
},
|
|
@@ -150,7 +309,10 @@
|
|
|
150
309
|
"holding.create.v2",
|
|
151
310
|
"holding.update.v2",
|
|
152
311
|
"holding.archive.v2",
|
|
153
|
-
"external_cash_flow.record.v2"
|
|
312
|
+
"external_cash_flow.record.v2",
|
|
313
|
+
"investment_transaction.create.v2",
|
|
314
|
+
"investment_transaction.update.v2",
|
|
315
|
+
"investment_transaction.archive.v2"
|
|
154
316
|
]
|
|
155
317
|
},
|
|
156
318
|
"operationId": {
|
|
@@ -1427,6 +1589,380 @@
|
|
|
1427
1589
|
],
|
|
1428
1590
|
"type": "object"
|
|
1429
1591
|
},
|
|
1592
|
+
"InvestmentTransactionArchiveCommandV2": {
|
|
1593
|
+
"additionalProperties": false,
|
|
1594
|
+
"properties": {
|
|
1595
|
+
"commandId": {
|
|
1596
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
|
1597
|
+
"type": "string"
|
|
1598
|
+
},
|
|
1599
|
+
"expectedObjectRevision": {
|
|
1600
|
+
"minimum": 1,
|
|
1601
|
+
"type": "integer"
|
|
1602
|
+
},
|
|
1603
|
+
"expectedWorkspaceVersion": {
|
|
1604
|
+
"minimum": 1,
|
|
1605
|
+
"type": "integer"
|
|
1606
|
+
},
|
|
1607
|
+
"idempotencyKey": {
|
|
1608
|
+
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{7,199}$",
|
|
1609
|
+
"type": "string"
|
|
1610
|
+
},
|
|
1611
|
+
"kind": {
|
|
1612
|
+
"const": "investment_transaction.archive.v2"
|
|
1613
|
+
},
|
|
1614
|
+
"payload": {
|
|
1615
|
+
"$ref": "#/$defs/InvestmentTransactionArchivePayloadV2"
|
|
1616
|
+
},
|
|
1617
|
+
"source": {
|
|
1618
|
+
"$ref": "#/$defs/SourceV2"
|
|
1619
|
+
}
|
|
1620
|
+
},
|
|
1621
|
+
"required": [
|
|
1622
|
+
"kind",
|
|
1623
|
+
"commandId",
|
|
1624
|
+
"idempotencyKey",
|
|
1625
|
+
"expectedWorkspaceVersion",
|
|
1626
|
+
"expectedObjectRevision",
|
|
1627
|
+
"source",
|
|
1628
|
+
"payload"
|
|
1629
|
+
],
|
|
1630
|
+
"type": "object"
|
|
1631
|
+
},
|
|
1632
|
+
"InvestmentTransactionArchivePayloadV2": {
|
|
1633
|
+
"additionalProperties": false,
|
|
1634
|
+
"properties": {
|
|
1635
|
+
"reason": {
|
|
1636
|
+
"maxLength": 240,
|
|
1637
|
+
"minLength": 1,
|
|
1638
|
+
"type": "string"
|
|
1639
|
+
},
|
|
1640
|
+
"transactionId": {
|
|
1641
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
|
1642
|
+
"type": "string"
|
|
1643
|
+
}
|
|
1644
|
+
},
|
|
1645
|
+
"required": [
|
|
1646
|
+
"transactionId",
|
|
1647
|
+
"reason"
|
|
1648
|
+
],
|
|
1649
|
+
"type": "object"
|
|
1650
|
+
},
|
|
1651
|
+
"InvestmentTransactionCreateCommandV2": {
|
|
1652
|
+
"additionalProperties": false,
|
|
1653
|
+
"properties": {
|
|
1654
|
+
"commandId": {
|
|
1655
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
|
1656
|
+
"type": "string"
|
|
1657
|
+
},
|
|
1658
|
+
"expectedObjectRevision": {
|
|
1659
|
+
"type": "null"
|
|
1660
|
+
},
|
|
1661
|
+
"expectedWorkspaceVersion": {
|
|
1662
|
+
"minimum": 1,
|
|
1663
|
+
"type": "integer"
|
|
1664
|
+
},
|
|
1665
|
+
"idempotencyKey": {
|
|
1666
|
+
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{7,199}$",
|
|
1667
|
+
"type": "string"
|
|
1668
|
+
},
|
|
1669
|
+
"kind": {
|
|
1670
|
+
"const": "investment_transaction.create.v2"
|
|
1671
|
+
},
|
|
1672
|
+
"payload": {
|
|
1673
|
+
"$ref": "#/$defs/InvestmentTransactionCreatePayloadV2"
|
|
1674
|
+
},
|
|
1675
|
+
"source": {
|
|
1676
|
+
"$ref": "#/$defs/SourceV2"
|
|
1677
|
+
}
|
|
1678
|
+
},
|
|
1679
|
+
"required": [
|
|
1680
|
+
"kind",
|
|
1681
|
+
"commandId",
|
|
1682
|
+
"idempotencyKey",
|
|
1683
|
+
"expectedWorkspaceVersion",
|
|
1684
|
+
"expectedObjectRevision",
|
|
1685
|
+
"source",
|
|
1686
|
+
"payload"
|
|
1687
|
+
],
|
|
1688
|
+
"type": "object"
|
|
1689
|
+
},
|
|
1690
|
+
"InvestmentTransactionCreatePayloadV2": {
|
|
1691
|
+
"additionalProperties": false,
|
|
1692
|
+
"properties": {
|
|
1693
|
+
"transaction": {
|
|
1694
|
+
"$ref": "#/$defs/InvestmentTransactionDraftV2"
|
|
1695
|
+
},
|
|
1696
|
+
"transactionId": {
|
|
1697
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
|
1698
|
+
"type": "string"
|
|
1699
|
+
}
|
|
1700
|
+
},
|
|
1701
|
+
"required": [
|
|
1702
|
+
"transactionId",
|
|
1703
|
+
"transaction"
|
|
1704
|
+
],
|
|
1705
|
+
"type": "object"
|
|
1706
|
+
},
|
|
1707
|
+
"InvestmentTransactionDraftV2": {
|
|
1708
|
+
"additionalProperties": false,
|
|
1709
|
+
"properties": {
|
|
1710
|
+
"accountId": {
|
|
1711
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
|
1712
|
+
"type": "string"
|
|
1713
|
+
},
|
|
1714
|
+
"amount": {
|
|
1715
|
+
"$ref": "#/$defs/MoneyV2"
|
|
1716
|
+
},
|
|
1717
|
+
"holdingId": {
|
|
1718
|
+
"anyOf": [
|
|
1719
|
+
{
|
|
1720
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
|
1721
|
+
"type": "string"
|
|
1722
|
+
},
|
|
1723
|
+
{
|
|
1724
|
+
"type": "null"
|
|
1725
|
+
}
|
|
1726
|
+
]
|
|
1727
|
+
},
|
|
1728
|
+
"price": {
|
|
1729
|
+
"anyOf": [
|
|
1730
|
+
{
|
|
1731
|
+
"$ref": "#/$defs/MoneyV2"
|
|
1732
|
+
},
|
|
1733
|
+
{
|
|
1734
|
+
"type": "null"
|
|
1735
|
+
}
|
|
1736
|
+
]
|
|
1737
|
+
},
|
|
1738
|
+
"quality": {
|
|
1739
|
+
"$ref": "#/$defs/QualityV2"
|
|
1740
|
+
},
|
|
1741
|
+
"quantity": {
|
|
1742
|
+
"anyOf": [
|
|
1743
|
+
{
|
|
1744
|
+
"$ref": "#/$defs/DecimalQuantityV2"
|
|
1745
|
+
},
|
|
1746
|
+
{
|
|
1747
|
+
"type": "null"
|
|
1748
|
+
}
|
|
1749
|
+
]
|
|
1750
|
+
},
|
|
1751
|
+
"settledAt": {
|
|
1752
|
+
"anyOf": [
|
|
1753
|
+
{
|
|
1754
|
+
"format": "date-time",
|
|
1755
|
+
"type": "string"
|
|
1756
|
+
},
|
|
1757
|
+
{
|
|
1758
|
+
"type": "null"
|
|
1759
|
+
}
|
|
1760
|
+
]
|
|
1761
|
+
},
|
|
1762
|
+
"source": {
|
|
1763
|
+
"$ref": "#/$defs/SourceV2"
|
|
1764
|
+
},
|
|
1765
|
+
"tradeAt": {
|
|
1766
|
+
"format": "date-time",
|
|
1767
|
+
"type": "string"
|
|
1768
|
+
},
|
|
1769
|
+
"type": {
|
|
1770
|
+
"enum": [
|
|
1771
|
+
"buy",
|
|
1772
|
+
"sell",
|
|
1773
|
+
"subscribe",
|
|
1774
|
+
"redeem",
|
|
1775
|
+
"dividend",
|
|
1776
|
+
"interest",
|
|
1777
|
+
"fee",
|
|
1778
|
+
"tax",
|
|
1779
|
+
"deposit",
|
|
1780
|
+
"withdrawal",
|
|
1781
|
+
"transfer_in",
|
|
1782
|
+
"transfer_out",
|
|
1783
|
+
"adjustment"
|
|
1784
|
+
]
|
|
1785
|
+
}
|
|
1786
|
+
},
|
|
1787
|
+
"required": [
|
|
1788
|
+
"accountId",
|
|
1789
|
+
"holdingId",
|
|
1790
|
+
"type",
|
|
1791
|
+
"amount",
|
|
1792
|
+
"quantity",
|
|
1793
|
+
"price",
|
|
1794
|
+
"tradeAt",
|
|
1795
|
+
"settledAt",
|
|
1796
|
+
"quality",
|
|
1797
|
+
"source"
|
|
1798
|
+
],
|
|
1799
|
+
"type": "object"
|
|
1800
|
+
},
|
|
1801
|
+
"InvestmentTransactionUpdateCommandV2": {
|
|
1802
|
+
"additionalProperties": false,
|
|
1803
|
+
"properties": {
|
|
1804
|
+
"commandId": {
|
|
1805
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
|
1806
|
+
"type": "string"
|
|
1807
|
+
},
|
|
1808
|
+
"expectedObjectRevision": {
|
|
1809
|
+
"minimum": 1,
|
|
1810
|
+
"type": "integer"
|
|
1811
|
+
},
|
|
1812
|
+
"expectedWorkspaceVersion": {
|
|
1813
|
+
"minimum": 1,
|
|
1814
|
+
"type": "integer"
|
|
1815
|
+
},
|
|
1816
|
+
"idempotencyKey": {
|
|
1817
|
+
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{7,199}$",
|
|
1818
|
+
"type": "string"
|
|
1819
|
+
},
|
|
1820
|
+
"kind": {
|
|
1821
|
+
"const": "investment_transaction.update.v2"
|
|
1822
|
+
},
|
|
1823
|
+
"payload": {
|
|
1824
|
+
"$ref": "#/$defs/InvestmentTransactionUpdatePayloadV2"
|
|
1825
|
+
},
|
|
1826
|
+
"source": {
|
|
1827
|
+
"$ref": "#/$defs/SourceV2"
|
|
1828
|
+
}
|
|
1829
|
+
},
|
|
1830
|
+
"required": [
|
|
1831
|
+
"kind",
|
|
1832
|
+
"commandId",
|
|
1833
|
+
"idempotencyKey",
|
|
1834
|
+
"expectedWorkspaceVersion",
|
|
1835
|
+
"expectedObjectRevision",
|
|
1836
|
+
"source",
|
|
1837
|
+
"payload"
|
|
1838
|
+
],
|
|
1839
|
+
"type": "object"
|
|
1840
|
+
},
|
|
1841
|
+
"InvestmentTransactionUpdatePayloadV2": {
|
|
1842
|
+
"additionalProperties": false,
|
|
1843
|
+
"properties": {
|
|
1844
|
+
"transaction": {
|
|
1845
|
+
"$ref": "#/$defs/InvestmentTransactionDraftV2"
|
|
1846
|
+
},
|
|
1847
|
+
"transactionId": {
|
|
1848
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
|
1849
|
+
"type": "string"
|
|
1850
|
+
}
|
|
1851
|
+
},
|
|
1852
|
+
"required": [
|
|
1853
|
+
"transactionId",
|
|
1854
|
+
"transaction"
|
|
1855
|
+
],
|
|
1856
|
+
"type": "object"
|
|
1857
|
+
},
|
|
1858
|
+
"InvestmentTransactionV2": {
|
|
1859
|
+
"additionalProperties": false,
|
|
1860
|
+
"properties": {
|
|
1861
|
+
"accountId": {
|
|
1862
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
|
1863
|
+
"type": "string"
|
|
1864
|
+
},
|
|
1865
|
+
"amount": {
|
|
1866
|
+
"$ref": "#/$defs/MoneyV2"
|
|
1867
|
+
},
|
|
1868
|
+
"holdingId": {
|
|
1869
|
+
"anyOf": [
|
|
1870
|
+
{
|
|
1871
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
|
1872
|
+
"type": "string"
|
|
1873
|
+
},
|
|
1874
|
+
{
|
|
1875
|
+
"type": "null"
|
|
1876
|
+
}
|
|
1877
|
+
]
|
|
1878
|
+
},
|
|
1879
|
+
"price": {
|
|
1880
|
+
"anyOf": [
|
|
1881
|
+
{
|
|
1882
|
+
"$ref": "#/$defs/MoneyV2"
|
|
1883
|
+
},
|
|
1884
|
+
{
|
|
1885
|
+
"type": "null"
|
|
1886
|
+
}
|
|
1887
|
+
]
|
|
1888
|
+
},
|
|
1889
|
+
"quality": {
|
|
1890
|
+
"$ref": "#/$defs/QualityV2"
|
|
1891
|
+
},
|
|
1892
|
+
"quantity": {
|
|
1893
|
+
"anyOf": [
|
|
1894
|
+
{
|
|
1895
|
+
"$ref": "#/$defs/DecimalQuantityV2"
|
|
1896
|
+
},
|
|
1897
|
+
{
|
|
1898
|
+
"type": "null"
|
|
1899
|
+
}
|
|
1900
|
+
]
|
|
1901
|
+
},
|
|
1902
|
+
"revision": {
|
|
1903
|
+
"minimum": 1,
|
|
1904
|
+
"type": "integer"
|
|
1905
|
+
},
|
|
1906
|
+
"settledAt": {
|
|
1907
|
+
"anyOf": [
|
|
1908
|
+
{
|
|
1909
|
+
"format": "date-time",
|
|
1910
|
+
"type": "string"
|
|
1911
|
+
},
|
|
1912
|
+
{
|
|
1913
|
+
"type": "null"
|
|
1914
|
+
}
|
|
1915
|
+
]
|
|
1916
|
+
},
|
|
1917
|
+
"source": {
|
|
1918
|
+
"$ref": "#/$defs/SourceV2"
|
|
1919
|
+
},
|
|
1920
|
+
"status": {
|
|
1921
|
+
"const": "active"
|
|
1922
|
+
},
|
|
1923
|
+
"tradeAt": {
|
|
1924
|
+
"format": "date-time",
|
|
1925
|
+
"type": "string"
|
|
1926
|
+
},
|
|
1927
|
+
"transactionId": {
|
|
1928
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
|
1929
|
+
"type": "string"
|
|
1930
|
+
},
|
|
1931
|
+
"type": {
|
|
1932
|
+
"enum": [
|
|
1933
|
+
"buy",
|
|
1934
|
+
"sell",
|
|
1935
|
+
"subscribe",
|
|
1936
|
+
"redeem",
|
|
1937
|
+
"dividend",
|
|
1938
|
+
"interest",
|
|
1939
|
+
"fee",
|
|
1940
|
+
"tax",
|
|
1941
|
+
"deposit",
|
|
1942
|
+
"withdrawal",
|
|
1943
|
+
"transfer_in",
|
|
1944
|
+
"transfer_out",
|
|
1945
|
+
"adjustment"
|
|
1946
|
+
]
|
|
1947
|
+
}
|
|
1948
|
+
},
|
|
1949
|
+
"required": [
|
|
1950
|
+
"transactionId",
|
|
1951
|
+
"accountId",
|
|
1952
|
+
"holdingId",
|
|
1953
|
+
"type",
|
|
1954
|
+
"amount",
|
|
1955
|
+
"quantity",
|
|
1956
|
+
"price",
|
|
1957
|
+
"tradeAt",
|
|
1958
|
+
"settledAt",
|
|
1959
|
+
"quality",
|
|
1960
|
+
"source",
|
|
1961
|
+
"status",
|
|
1962
|
+
"revision"
|
|
1963
|
+
],
|
|
1964
|
+
"type": "object"
|
|
1965
|
+
},
|
|
1430
1966
|
"McpDelegatedTokenCredentialV2": {
|
|
1431
1967
|
"additionalProperties": false,
|
|
1432
1968
|
"properties": {
|
|
@@ -2139,7 +2675,8 @@
|
|
|
2139
2675
|
"activity.page.v2",
|
|
2140
2676
|
"workspace.overview.v2",
|
|
2141
2677
|
"asset_account.detail.v2",
|
|
2142
|
-
"account.timeline.v2"
|
|
2678
|
+
"account.timeline.v2",
|
|
2679
|
+
"account.activity_timeline.v2"
|
|
2143
2680
|
]
|
|
2144
2681
|
},
|
|
2145
2682
|
"type": "array",
|
|
@@ -2156,7 +2693,10 @@
|
|
|
2156
2693
|
"holding.create.v2",
|
|
2157
2694
|
"holding.update.v2",
|
|
2158
2695
|
"holding.archive.v2",
|
|
2159
|
-
"external_cash_flow.record.v2"
|
|
2696
|
+
"external_cash_flow.record.v2",
|
|
2697
|
+
"investment_transaction.create.v2",
|
|
2698
|
+
"investment_transaction.update.v2",
|
|
2699
|
+
"investment_transaction.archive.v2"
|
|
2160
2700
|
]
|
|
2161
2701
|
},
|
|
2162
2702
|
"type": "array",
|