@meshtrade/api-node 1.30.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.
Files changed (186) hide show
  1. package/README.md +93 -0
  2. package/dist/buf/validate/validate_pb.d.ts +4597 -0
  3. package/dist/buf/validate/validate_pb.js +354 -0
  4. package/dist/google/type/date_pb.d.ts +52 -0
  5. package/dist/google/type/date_pb.js +26 -0
  6. package/dist/meshtrade/common/config.d.ts +50 -0
  7. package/dist/meshtrade/common/config.js +34 -0
  8. package/dist/meshtrade/common/connectInterceptors.d.ts +137 -0
  9. package/dist/meshtrade/common/connectInterceptors.js +233 -0
  10. package/dist/meshtrade/common/validation.d.ts +62 -0
  11. package/dist/meshtrade/common/validation.js +77 -0
  12. package/dist/meshtrade/compliance/client/v1/client_pb.d.ts +138 -0
  13. package/dist/meshtrade/compliance/client/v1/client_pb.js +23 -0
  14. package/dist/meshtrade/compliance/client/v1/company_pb.d.ts +313 -0
  15. package/dist/meshtrade/compliance/client/v1/company_pb.js +100 -0
  16. package/dist/meshtrade/compliance/client/v1/company_representative_pb.d.ts +81 -0
  17. package/dist/meshtrade/compliance/client/v1/company_representative_pb.js +22 -0
  18. package/dist/meshtrade/compliance/client/v1/company_representative_role_pb.d.ts +88 -0
  19. package/dist/meshtrade/compliance/client/v1/company_representative_role_pb.js +95 -0
  20. package/dist/meshtrade/compliance/client/v1/fund_pb.d.ts +65 -0
  21. package/dist/meshtrade/compliance/client/v1/fund_pb.js +18 -0
  22. package/dist/meshtrade/compliance/client/v1/identification_document_type_pb.d.ts +55 -0
  23. package/dist/meshtrade/compliance/client/v1/identification_document_type_pb.js +62 -0
  24. package/dist/meshtrade/compliance/client/v1/index.d.ts +16 -0
  25. package/dist/meshtrade/compliance/client/v1/index.js +59 -0
  26. package/dist/meshtrade/compliance/client/v1/industry_classification_pb.d.ts +86 -0
  27. package/dist/meshtrade/compliance/client/v1/industry_classification_pb.js +16 -0
  28. package/dist/meshtrade/compliance/client/v1/natural_person_connection_type_pb.d.ts +133 -0
  29. package/dist/meshtrade/compliance/client/v1/natural_person_connection_type_pb.js +140 -0
  30. package/dist/meshtrade/compliance/client/v1/natural_person_pb.d.ts +143 -0
  31. package/dist/meshtrade/compliance/client/v1/natural_person_pb.js +24 -0
  32. package/dist/meshtrade/compliance/client/v1/pep_status_pb.d.ts +46 -0
  33. package/dist/meshtrade/compliance/client/v1/pep_status_pb.js +53 -0
  34. package/dist/meshtrade/compliance/client/v1/service_node_meshts.d.ts +78 -0
  35. package/dist/meshtrade/compliance/client/v1/service_node_meshts.js +141 -0
  36. package/dist/meshtrade/compliance/client/v1/service_pb.d.ts +123 -0
  37. package/dist/meshtrade/compliance/client/v1/service_pb.js +45 -0
  38. package/dist/meshtrade/compliance/client/v1/source_of_income_and_wealth_pb.d.ts +180 -0
  39. package/dist/meshtrade/compliance/client/v1/source_of_income_and_wealth_pb.js +187 -0
  40. package/dist/meshtrade/compliance/client/v1/tax_residency_pb.d.ts +40 -0
  41. package/dist/meshtrade/compliance/client/v1/tax_residency_pb.js +17 -0
  42. package/dist/meshtrade/compliance/client/v1/trust_pb.d.ts +65 -0
  43. package/dist/meshtrade/compliance/client/v1/trust_pb.js +18 -0
  44. package/dist/meshtrade/compliance/client/v1/verification_status_pb.d.ts +57 -0
  45. package/dist/meshtrade/compliance/client/v1/verification_status_pb.js +64 -0
  46. package/dist/meshtrade/iam/api_user/v1/api_credentials_pb.d.ts +43 -0
  47. package/dist/meshtrade/iam/api_user/v1/api_credentials_pb.js +17 -0
  48. package/dist/meshtrade/iam/api_user/v1/api_user_pb.d.ts +152 -0
  49. package/dist/meshtrade/iam/api_user/v1/api_user_pb.js +95 -0
  50. package/dist/meshtrade/iam/api_user/v1/index.d.ts +4 -0
  51. package/dist/meshtrade/iam/api_user/v1/index.js +45 -0
  52. package/dist/meshtrade/iam/api_user/v1/service_node_meshts.d.ts +114 -0
  53. package/dist/meshtrade/iam/api_user/v1/service_node_meshts.js +201 -0
  54. package/dist/meshtrade/iam/api_user/v1/service_pb.d.ts +343 -0
  55. package/dist/meshtrade/iam/api_user/v1/service_pb.js +86 -0
  56. package/dist/meshtrade/iam/group/v1/group_pb.d.ts +58 -0
  57. package/dist/meshtrade/iam/group/v1/group_pb.js +17 -0
  58. package/dist/meshtrade/iam/group/v1/index.d.ts +3 -0
  59. package/dist/meshtrade/iam/group/v1/index.js +44 -0
  60. package/dist/meshtrade/iam/group/v1/service_node_meshts.d.ts +90 -0
  61. package/dist/meshtrade/iam/group/v1/service_node_meshts.js +161 -0
  62. package/dist/meshtrade/iam/group/v1/service_pb.d.ts +306 -0
  63. package/dist/meshtrade/iam/group/v1/service_pb.js +75 -0
  64. package/dist/meshtrade/iam/role/v1/index.d.ts +2 -0
  65. package/dist/meshtrade/iam/role/v1/index.js +43 -0
  66. package/dist/meshtrade/iam/role/v1/role.d.ts +71 -0
  67. package/dist/meshtrade/iam/role/v1/role.js +192 -0
  68. package/dist/meshtrade/iam/role/v1/role_pb.d.ts +164 -0
  69. package/dist/meshtrade/iam/role/v1/role_pb.js +171 -0
  70. package/dist/meshtrade/iam/user/v1/index.d.ts +3 -0
  71. package/dist/meshtrade/iam/user/v1/index.js +44 -0
  72. package/dist/meshtrade/iam/user/v1/service_node_meshts.d.ts +108 -0
  73. package/dist/meshtrade/iam/user/v1/service_node_meshts.js +191 -0
  74. package/dist/meshtrade/iam/user/v1/service_pb.d.ts +379 -0
  75. package/dist/meshtrade/iam/user/v1/service_pb.js +90 -0
  76. package/dist/meshtrade/iam/user/v1/user_pb.d.ts +58 -0
  77. package/dist/meshtrade/iam/user/v1/user_pb.js +17 -0
  78. package/dist/meshtrade/ledger/transaction/v1/index.d.ts +5 -0
  79. package/dist/meshtrade/ledger/transaction/v1/index.js +46 -0
  80. package/dist/meshtrade/ledger/transaction/v1/service_node_meshts.d.ts +80 -0
  81. package/dist/meshtrade/ledger/transaction/v1/service_node_meshts.js +140 -0
  82. package/dist/meshtrade/ledger/transaction/v1/service_pb.d.ts +102 -0
  83. package/dist/meshtrade/ledger/transaction/v1/service_pb.js +41 -0
  84. package/dist/meshtrade/ledger/transaction/v1/transaction_action_pb.d.ts +46 -0
  85. package/dist/meshtrade/ledger/transaction/v1/transaction_action_pb.js +53 -0
  86. package/dist/meshtrade/ledger/transaction/v1/transaction_state.d.ts +14 -0
  87. package/dist/meshtrade/ledger/transaction/v1/transaction_state.js +64 -0
  88. package/dist/meshtrade/ledger/transaction/v1/transaction_state_pb.d.ts +50 -0
  89. package/dist/meshtrade/ledger/transaction/v1/transaction_state_pb.js +57 -0
  90. package/dist/meshtrade/market_data/price/v1/index.d.ts +3 -0
  91. package/dist/meshtrade/market_data/price/v1/index.js +44 -0
  92. package/dist/meshtrade/market_data/price/v1/price_pb.d.ts +50 -0
  93. package/dist/meshtrade/market_data/price/v1/price_pb.js +19 -0
  94. package/dist/meshtrade/market_data/price/v1/service_node_meshts.d.ts +66 -0
  95. package/dist/meshtrade/market_data/price/v1/service_node_meshts.js +121 -0
  96. package/dist/meshtrade/market_data/price/v1/service_pb.d.ts +48 -0
  97. package/dist/meshtrade/market_data/price/v1/service_pb.js +27 -0
  98. package/dist/meshtrade/option/method_options/v1/index.d.ts +1 -0
  99. package/dist/meshtrade/option/method_options/v1/index.js +42 -0
  100. package/dist/meshtrade/option/method_options/v1/method_options_pb.d.ts +132 -0
  101. package/dist/meshtrade/option/method_options/v1/method_options_pb.js +108 -0
  102. package/dist/meshtrade/reporting/account_report/v1/account_report_pb.d.ts +136 -0
  103. package/dist/meshtrade/reporting/account_report/v1/account_report_pb.js +28 -0
  104. package/dist/meshtrade/reporting/account_report/v1/disclaimer_pb.d.ts +39 -0
  105. package/dist/meshtrade/reporting/account_report/v1/disclaimer_pb.js +16 -0
  106. package/dist/meshtrade/reporting/account_report/v1/fee_entry_pb.d.ts +66 -0
  107. package/dist/meshtrade/reporting/account_report/v1/fee_entry_pb.js +18 -0
  108. package/dist/meshtrade/reporting/account_report/v1/income_entry_pb.d.ts +139 -0
  109. package/dist/meshtrade/reporting/account_report/v1/income_entry_pb.js +80 -0
  110. package/dist/meshtrade/reporting/account_report/v1/index.d.ts +7 -0
  111. package/dist/meshtrade/reporting/account_report/v1/index.js +48 -0
  112. package/dist/meshtrade/reporting/account_report/v1/service_node_meshts.d.ts +72 -0
  113. package/dist/meshtrade/reporting/account_report/v1/service_node_meshts.js +131 -0
  114. package/dist/meshtrade/reporting/account_report/v1/service_pb.d.ts +162 -0
  115. package/dist/meshtrade/reporting/account_report/v1/service_pb.js +46 -0
  116. package/dist/meshtrade/reporting/account_report/v1/trading_statement_entry_pb.d.ts +80 -0
  117. package/dist/meshtrade/reporting/account_report/v1/trading_statement_entry_pb.js +18 -0
  118. package/dist/meshtrade/studio/instrument/v1/index.d.ts +3 -0
  119. package/dist/meshtrade/studio/instrument/v1/index.js +44 -0
  120. package/dist/meshtrade/studio/instrument/v1/instrument_pb.d.ts +53 -0
  121. package/dist/meshtrade/studio/instrument/v1/instrument_pb.js +18 -0
  122. package/dist/meshtrade/studio/instrument/v1/instrument_type_pb.d.ts +214 -0
  123. package/dist/meshtrade/studio/instrument/v1/instrument_type_pb.js +221 -0
  124. package/dist/meshtrade/studio/instrument/v1/unit_pb.d.ts +148 -0
  125. package/dist/meshtrade/studio/instrument/v1/unit_pb.js +155 -0
  126. package/dist/meshtrade/trading/limit_order/v1/index.d.ts +3 -0
  127. package/dist/meshtrade/trading/limit_order/v1/index.js +44 -0
  128. package/dist/meshtrade/trading/limit_order/v1/limit_order_pb.d.ts +211 -0
  129. package/dist/meshtrade/trading/limit_order/v1/limit_order_pb.js +111 -0
  130. package/dist/meshtrade/trading/limit_order/v1/service_node_meshts.d.ts +111 -0
  131. package/dist/meshtrade/trading/limit_order/v1/service_node_meshts.js +190 -0
  132. package/dist/meshtrade/trading/limit_order/v1/service_pb.d.ts +357 -0
  133. package/dist/meshtrade/trading/limit_order/v1/service_pb.js +73 -0
  134. package/dist/meshtrade/trading/market_order/v1/index.d.ts +3 -0
  135. package/dist/meshtrade/trading/market_order/v1/index.js +44 -0
  136. package/dist/meshtrade/trading/market_order/v1/market_order_pb.d.ts +20 -0
  137. package/dist/meshtrade/trading/market_order/v1/market_order_pb.js +16 -0
  138. package/dist/meshtrade/trading/market_order/v1/service_node_meshts.d.ts +66 -0
  139. package/dist/meshtrade/trading/market_order/v1/service_node_meshts.js +121 -0
  140. package/dist/meshtrade/trading/market_order/v1/service_pb.d.ts +34 -0
  141. package/dist/meshtrade/trading/market_order/v1/service_pb.js +22 -0
  142. package/dist/meshtrade/type/v1/address_pb.d.ts +82 -0
  143. package/dist/meshtrade/type/v1/address_pb.js +16 -0
  144. package/dist/meshtrade/type/v1/amount.d.ts +13 -0
  145. package/dist/meshtrade/type/v1/amount.js +68 -0
  146. package/dist/meshtrade/type/v1/amountWrapper.d.ts +74 -0
  147. package/dist/meshtrade/type/v1/amountWrapper.js +98 -0
  148. package/dist/meshtrade/type/v1/amount_pb.d.ts +44 -0
  149. package/dist/meshtrade/type/v1/amount_pb.js +18 -0
  150. package/dist/meshtrade/type/v1/contact_details_pb.d.ts +98 -0
  151. package/dist/meshtrade/type/v1/contact_details_pb.js +16 -0
  152. package/dist/meshtrade/type/v1/date.d.ts +49 -0
  153. package/dist/meshtrade/type/v1/date.js +136 -0
  154. package/dist/meshtrade/type/v1/date_pb.d.ts +50 -0
  155. package/dist/meshtrade/type/v1/date_pb.js +16 -0
  156. package/dist/meshtrade/type/v1/decimalConversions.d.ts +24 -0
  157. package/dist/meshtrade/type/v1/decimalConversions.js +39 -0
  158. package/dist/meshtrade/type/v1/decimal_pb.d.ts +24 -0
  159. package/dist/meshtrade/type/v1/decimal_pb.js +16 -0
  160. package/dist/meshtrade/type/v1/index.d.ts +15 -0
  161. package/dist/meshtrade/type/v1/index.js +56 -0
  162. package/dist/meshtrade/type/v1/ledger.d.ts +27 -0
  163. package/dist/meshtrade/type/v1/ledger.js +115 -0
  164. package/dist/meshtrade/type/v1/ledger_pb.d.ts +83 -0
  165. package/dist/meshtrade/type/v1/ledger_pb.js +90 -0
  166. package/dist/meshtrade/type/v1/sorting_pb.d.ts +35 -0
  167. package/dist/meshtrade/type/v1/sorting_pb.js +42 -0
  168. package/dist/meshtrade/type/v1/time_of_day.d.ts +74 -0
  169. package/dist/meshtrade/type/v1/time_of_day.js +199 -0
  170. package/dist/meshtrade/type/v1/time_of_day_pb.d.ts +67 -0
  171. package/dist/meshtrade/type/v1/time_of_day_pb.js +16 -0
  172. package/dist/meshtrade/type/v1/token.d.ts +4 -0
  173. package/dist/meshtrade/type/v1/token.js +23 -0
  174. package/dist/meshtrade/type/v1/tokenWrapper.d.ts +49 -0
  175. package/dist/meshtrade/type/v1/tokenWrapper.js +92 -0
  176. package/dist/meshtrade/type/v1/token_pb.d.ts +56 -0
  177. package/dist/meshtrade/type/v1/token_pb.js +17 -0
  178. package/dist/meshtrade/wallet/account/v1/account_pb.d.ts +264 -0
  179. package/dist/meshtrade/wallet/account/v1/account_pb.js +74 -0
  180. package/dist/meshtrade/wallet/account/v1/index.d.ts +3 -0
  181. package/dist/meshtrade/wallet/account/v1/index.js +44 -0
  182. package/dist/meshtrade/wallet/account/v1/service_node_meshts.d.ts +114 -0
  183. package/dist/meshtrade/wallet/account/v1/service_node_meshts.js +201 -0
  184. package/dist/meshtrade/wallet/account/v1/service_pb.d.ts +559 -0
  185. package/dist/meshtrade/wallet/account/v1/service_pb.js +112 -0
  186. package/package.json +171 -0
@@ -0,0 +1,214 @@
1
+ import type { GenEnum, GenFile } from "@bufbuild/protobuf/codegenv2";
2
+ /**
3
+ * Describes the file meshtrade/studio/instrument/v1/instrument_type.proto.
4
+ */
5
+ export declare const file_meshtrade_studio_instrument_v1_instrument_type: GenFile;
6
+ /**
7
+ *
8
+ * The type of an instrument structured in Mesh Studio. This enum categorizes
9
+ * various financial instruments and assets available on the platform, providing
10
+ * a standardized way to identify them.
11
+ *
12
+ * @generated from enum meshtrade.studio.instrument.v1.InstrumentType
13
+ */
14
+ export declare enum InstrumentType {
15
+ /**
16
+ * The instrument type is not specified. This is the default value and
17
+ * should be treated as an error or an uninitialized state.
18
+ *
19
+ * @generated from enum value: INSTRUMENT_TYPE_UNSPECIFIED = 0;
20
+ */
21
+ UNSPECIFIED = 0,
22
+ /**
23
+ * A catch-all for any instrument type not explicitly listed in this enum.
24
+ * Use this for miscellaneous or newly introduced asset types.
25
+ *
26
+ * @generated from enum value: INSTRUMENT_TYPE_OTHER = 1;
27
+ */
28
+ OTHER = 1,
29
+ /**
30
+ * Common equity in a corporation, also known as ordinary shares.
31
+ * Holders have ownership rights, including voting rights, and are entitled
32
+ * to a portion of profits through dividends and capital gains.
33
+ *
34
+ * @generated from enum value: INSTRUMENT_TYPE_SHARE = 2;
35
+ */
36
+ SHARE = 2,
37
+ /**
38
+ * A class of share ownership with a higher claim on assets and earnings
39
+ * than common shares. Preference shares generally have a fixed dividend that
40
+ * must be paid out before dividends to common shareholders.
41
+ *
42
+ * @generated from enum value: INSTRUMENT_TYPE_PREFERENCE_SHARE = 3;
43
+ */
44
+ PREFERENCE_SHARE = 3,
45
+ /**
46
+ * A fixed-income instrument representing a loan made by an investor to a
47
+ * borrower (typically corporate or governmental). The borrower pays interest
48
+ * (coupon) and repays the principal amount at a later date (maturity).
49
+ *
50
+ * @generated from enum value: INSTRUMENT_TYPE_BOND = 4;
51
+ */
52
+ BOND = 4,
53
+ /**
54
+ * Exchange-Traded Fund. A type of pooled investment security that operates
55
+ * much like a mutual fund but trades like a stock on an exchange. ETFs
56
+ * hold assets such as stocks, commodities, or bonds and are typically
57
+ * designed to track an underlying index.
58
+ *
59
+ * @generated from enum value: INSTRUMENT_TYPE_ETF = 5;
60
+ */
61
+ ETF = 5,
62
+ /**
63
+ * Exchange-Traded Note. A type of senior, unsecured debt security that
64
+ * tracks an underlying index of securities. ETNs do not own the underlying
65
+ * assets and are subject to the credit risk of the issuing institution.
66
+ *
67
+ * @generated from enum value: INSTRUMENT_TYPE_ETN = 6;
68
+ */
69
+ ETN = 6,
70
+ /**
71
+ * Actively Managed Certificate. A structured product linked to an
72
+ * underlying portfolio or strategy. Unlike a typical index-tracking ETF,
73
+ * its portfolio is actively managed by an investment advisor.
74
+ *
75
+ * @generated from enum value: INSTRUMENT_TYPE_AMC = 7;
76
+ */
77
+ AMC = 7,
78
+ /**
79
+ * An open-ended investment vehicle where funds from multiple investors are
80
+ * pooled to invest in a diversified portfolio of securities. Common in
81
+ * collective investment schemes.
82
+ *
83
+ * @generated from enum value: INSTRUMENT_TYPE_UNIT_TRUST = 8;
84
+ */
85
+ UNIT_TRUST = 8,
86
+ /**
87
+ * A digital or virtual currency secured by cryptography.
88
+ * Examples include Bitcoin (BTC) and Ethereum (ETH).
89
+ *
90
+ * @generated from enum value: INSTRUMENT_TYPE_CRYPTO_CURRENCY = 9;
91
+ */
92
+ CRYPTO_CURRENCY = 9,
93
+ /**
94
+ * Government-issued currency that is not backed by a physical commodity
95
+ * but by the government that issued it. Examples include the US Dollar
96
+ * (USD) and the Euro (EUR).
97
+ *
98
+ * @generated from enum value: INSTRUMENT_TYPE_FIAT_CURRENCY = 10;
99
+ */
100
+ FIAT_CURRENCY = 10,
101
+ /**
102
+ * Rights to the financial value of a linked underlying.
103
+ *
104
+ * @generated from enum value: INSTRUMENT_TYPE_RIGHTS = 11;
105
+ */
106
+ RIGHTS = 11,
107
+ /**
108
+ * Gold as a commodity. Can be invested in via physical bullion, futures,
109
+ * or other financial products tracking its price.
110
+ *
111
+ * @generated from enum value: INSTRUMENT_TYPE_GOLD = 12;
112
+ */
113
+ GOLD = 12,
114
+ /**
115
+ * Silver as a commodity.
116
+ *
117
+ * @generated from enum value: INSTRUMENT_TYPE_SILVER = 13;
118
+ */
119
+ SILVER = 13,
120
+ /**
121
+ * Platinum as a commodity.
122
+ *
123
+ * @generated from enum value: INSTRUMENT_TYPE_PLATINUM = 14;
124
+ */
125
+ PLATINUM = 14,
126
+ /**
127
+ * Palladium as a commodity.
128
+ *
129
+ * @generated from enum value: INSTRUMENT_TYPE_PALLADIUM = 15;
130
+ */
131
+ PALLADIUM = 15,
132
+ /**
133
+ * Crude oil, a key global energy commodity.
134
+ *
135
+ * @generated from enum value: INSTRUMENT_TYPE_CRUDE_OIL = 16;
136
+ */
137
+ CRUDE_OIL = 16,
138
+ /**
139
+ * Natural gas, a major energy commodity.
140
+ *
141
+ * @generated from enum value: INSTRUMENT_TYPE_NATURAL_GAS = 17;
142
+ */
143
+ NATURAL_GAS = 17,
144
+ /**
145
+ * Copper, an important industrial metal.
146
+ *
147
+ * @generated from enum value: INSTRUMENT_TYPE_COPPER = 18;
148
+ */
149
+ COPPER = 18,
150
+ /**
151
+ * Corn, a major agricultural commodity.
152
+ *
153
+ * @generated from enum value: INSTRUMENT_TYPE_CORN = 19;
154
+ */
155
+ CORN = 19,
156
+ /**
157
+ * Wheat, a staple agricultural commodity.
158
+ *
159
+ * @generated from enum value: INSTRUMENT_TYPE_WHEAT = 20;
160
+ */
161
+ WHEAT = 20,
162
+ /**
163
+ * Soybeans, a key agricultural commodity used for food and animal feed.
164
+ *
165
+ * @generated from enum value: INSTRUMENT_TYPE_SOYBEANS = 21;
166
+ */
167
+ SOYBEANS = 21,
168
+ /**
169
+ * A type of cryptocurrency designed to maintain a stable value by being
170
+ * pegged to a reference asset, such as a fiat currency (e.g., USD).
171
+ *
172
+ * @generated from enum value: INSTRUMENT_TYPE_FIAT_STABLECOIN = 22;
173
+ */
174
+ FIAT_STABLECOIN = 22,
175
+ /**
176
+ * A mutual fund investing in highly liquid, short-term debt securities,
177
+ * cash, and cash equivalents.
178
+ *
179
+ * @generated from enum value: INSTRUMENT_TYPE_MONEY_MARKET_FUND = 23;
180
+ */
181
+ MONEY_MARKET_FUND = 23,
182
+ /**
183
+ * A stablecoin collateralized by shares in a money market fund,
184
+ * representing a claim on the fund's underlying assets.
185
+ *
186
+ * @generated from enum value: INSTRUMENT_TYPE_MONEY_MARKET_FUND_STABLECOIN = 24;
187
+ */
188
+ MONEY_MARKET_FUND_STABLECOIN = 24,
189
+ /**
190
+ * A tax-efficient investment vehicle, structured as a life insurance policy,
191
+ * that combines investment components with a nominal life insurance benefit.
192
+ *
193
+ * @generated from enum value: INSTRUMENT_TYPE_ENDOWMENT_WRAPPER = 25;
194
+ */
195
+ ENDOWMENT_WRAPPER = 25,
196
+ /**
197
+ * A collective investment scheme that pools capital from multiple investors
198
+ * to purchase a diversified portfolio of securities.
199
+ *
200
+ * @generated from enum value: INSTRUMENT_TYPE_FUND = 26;
201
+ */
202
+ FUND = 26,
203
+ /**
204
+ * A stablecoin collateralized by a portfolio of assets held within a fund,
205
+ * representing a claim on those assets.
206
+ *
207
+ * @generated from enum value: INSTRUMENT_TYPE_FUND_STABLECOIN = 27;
208
+ */
209
+ FUND_STABLECOIN = 27
210
+ }
211
+ /**
212
+ * Describes the enum meshtrade.studio.instrument.v1.InstrumentType.
213
+ */
214
+ export declare const InstrumentTypeSchema: GenEnum<InstrumentType>;
@@ -0,0 +1,221 @@
1
+ "use strict";
2
+ // @generated by protoc-gen-es v2.10.1 with parameter "target=ts"
3
+ // @generated from file meshtrade/studio/instrument/v1/instrument_type.proto (package meshtrade.studio.instrument.v1, syntax proto3)
4
+ /* eslint-disable */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.InstrumentTypeSchema = exports.InstrumentType = exports.file_meshtrade_studio_instrument_v1_instrument_type = void 0;
7
+ const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
8
+ /**
9
+ * Describes the file meshtrade/studio/instrument/v1/instrument_type.proto.
10
+ */
11
+ exports.file_meshtrade_studio_instrument_v1_instrument_type = (0, codegenv2_1.fileDesc)("CjRtZXNodHJhZGUvc3R1ZGlvL2luc3RydW1lbnQvdjEvaW5zdHJ1bWVudF90eXBlLnByb3RvEh5tZXNodHJhZGUuc3R1ZGlvLmluc3RydW1lbnQudjEq/AYKDkluc3RydW1lbnRUeXBlEh8KG0lOU1RSVU1FTlRfVFlQRV9VTlNQRUNJRklFRBAAEhkKFUlOU1RSVU1FTlRfVFlQRV9PVEhFUhABEhkKFUlOU1RSVU1FTlRfVFlQRV9TSEFSRRACEiQKIElOU1RSVU1FTlRfVFlQRV9QUkVGRVJFTkNFX1NIQVJFEAMSGAoUSU5TVFJVTUVOVF9UWVBFX0JPTkQQBBIXChNJTlNUUlVNRU5UX1RZUEVfRVRGEAUSFwoTSU5TVFJVTUVOVF9UWVBFX0VUThAGEhcKE0lOU1RSVU1FTlRfVFlQRV9BTUMQBxIeChpJTlNUUlVNRU5UX1RZUEVfVU5JVF9UUlVTVBAIEiMKH0lOU1RSVU1FTlRfVFlQRV9DUllQVE9fQ1VSUkVOQ1kQCRIhCh1JTlNUUlVNRU5UX1RZUEVfRklBVF9DVVJSRU5DWRAKEhoKFklOU1RSVU1FTlRfVFlQRV9SSUdIVFMQCxIYChRJTlNUUlVNRU5UX1RZUEVfR09MRBAMEhoKFklOU1RSVU1FTlRfVFlQRV9TSUxWRVIQDRIcChhJTlNUUlVNRU5UX1RZUEVfUExBVElOVU0QDhIdChlJTlNUUlVNRU5UX1RZUEVfUEFMTEFESVVNEA8SHQoZSU5TVFJVTUVOVF9UWVBFX0NSVURFX09JTBAQEh8KG0lOU1RSVU1FTlRfVFlQRV9OQVRVUkFMX0dBUxAREhoKFklOU1RSVU1FTlRfVFlQRV9DT1BQRVIQEhIYChRJTlNUUlVNRU5UX1RZUEVfQ09SThATEhkKFUlOU1RSVU1FTlRfVFlQRV9XSEVBVBAUEhwKGElOU1RSVU1FTlRfVFlQRV9TT1lCRUFOUxAVEiMKH0lOU1RSVU1FTlRfVFlQRV9GSUFUX1NUQUJMRUNPSU4QFhIlCiFJTlNUUlVNRU5UX1RZUEVfTU9ORVlfTUFSS0VUX0ZVTkQQFxIwCixJTlNUUlVNRU5UX1RZUEVfTU9ORVlfTUFSS0VUX0ZVTkRfU1RBQkxFQ09JThAYEiUKIUlOU1RSVU1FTlRfVFlQRV9FTkRPV01FTlRfV1JBUFBFUhAZEhgKFElOU1RSVU1FTlRfVFlQRV9GVU5EEBoSIwofSU5TVFJVTUVOVF9UWVBFX0ZVTkRfU1RBQkxFQ09JThAbQmcKJWNvLm1lc2h0cmFkZS5hcGkuc3R1ZGlvLmluc3RydW1lbnQudjFaPmdpdGh1Yi5jb20vbWVzaHRyYWRlL2FwaS9nby9zdHVkaW8vaW5zdHJ1bWVudC92MTtpbnN0cnVtZW50X3YxYgZwcm90bzM");
12
+ /**
13
+ *
14
+ * The type of an instrument structured in Mesh Studio. This enum categorizes
15
+ * various financial instruments and assets available on the platform, providing
16
+ * a standardized way to identify them.
17
+ *
18
+ * @generated from enum meshtrade.studio.instrument.v1.InstrumentType
19
+ */
20
+ var InstrumentType;
21
+ (function (InstrumentType) {
22
+ /**
23
+ * The instrument type is not specified. This is the default value and
24
+ * should be treated as an error or an uninitialized state.
25
+ *
26
+ * @generated from enum value: INSTRUMENT_TYPE_UNSPECIFIED = 0;
27
+ */
28
+ InstrumentType[InstrumentType["UNSPECIFIED"] = 0] = "UNSPECIFIED";
29
+ /**
30
+ * A catch-all for any instrument type not explicitly listed in this enum.
31
+ * Use this for miscellaneous or newly introduced asset types.
32
+ *
33
+ * @generated from enum value: INSTRUMENT_TYPE_OTHER = 1;
34
+ */
35
+ InstrumentType[InstrumentType["OTHER"] = 1] = "OTHER";
36
+ /**
37
+ * Common equity in a corporation, also known as ordinary shares.
38
+ * Holders have ownership rights, including voting rights, and are entitled
39
+ * to a portion of profits through dividends and capital gains.
40
+ *
41
+ * @generated from enum value: INSTRUMENT_TYPE_SHARE = 2;
42
+ */
43
+ InstrumentType[InstrumentType["SHARE"] = 2] = "SHARE";
44
+ /**
45
+ * A class of share ownership with a higher claim on assets and earnings
46
+ * than common shares. Preference shares generally have a fixed dividend that
47
+ * must be paid out before dividends to common shareholders.
48
+ *
49
+ * @generated from enum value: INSTRUMENT_TYPE_PREFERENCE_SHARE = 3;
50
+ */
51
+ InstrumentType[InstrumentType["PREFERENCE_SHARE"] = 3] = "PREFERENCE_SHARE";
52
+ /**
53
+ * A fixed-income instrument representing a loan made by an investor to a
54
+ * borrower (typically corporate or governmental). The borrower pays interest
55
+ * (coupon) and repays the principal amount at a later date (maturity).
56
+ *
57
+ * @generated from enum value: INSTRUMENT_TYPE_BOND = 4;
58
+ */
59
+ InstrumentType[InstrumentType["BOND"] = 4] = "BOND";
60
+ /**
61
+ * Exchange-Traded Fund. A type of pooled investment security that operates
62
+ * much like a mutual fund but trades like a stock on an exchange. ETFs
63
+ * hold assets such as stocks, commodities, or bonds and are typically
64
+ * designed to track an underlying index.
65
+ *
66
+ * @generated from enum value: INSTRUMENT_TYPE_ETF = 5;
67
+ */
68
+ InstrumentType[InstrumentType["ETF"] = 5] = "ETF";
69
+ /**
70
+ * Exchange-Traded Note. A type of senior, unsecured debt security that
71
+ * tracks an underlying index of securities. ETNs do not own the underlying
72
+ * assets and are subject to the credit risk of the issuing institution.
73
+ *
74
+ * @generated from enum value: INSTRUMENT_TYPE_ETN = 6;
75
+ */
76
+ InstrumentType[InstrumentType["ETN"] = 6] = "ETN";
77
+ /**
78
+ * Actively Managed Certificate. A structured product linked to an
79
+ * underlying portfolio or strategy. Unlike a typical index-tracking ETF,
80
+ * its portfolio is actively managed by an investment advisor.
81
+ *
82
+ * @generated from enum value: INSTRUMENT_TYPE_AMC = 7;
83
+ */
84
+ InstrumentType[InstrumentType["AMC"] = 7] = "AMC";
85
+ /**
86
+ * An open-ended investment vehicle where funds from multiple investors are
87
+ * pooled to invest in a diversified portfolio of securities. Common in
88
+ * collective investment schemes.
89
+ *
90
+ * @generated from enum value: INSTRUMENT_TYPE_UNIT_TRUST = 8;
91
+ */
92
+ InstrumentType[InstrumentType["UNIT_TRUST"] = 8] = "UNIT_TRUST";
93
+ /**
94
+ * A digital or virtual currency secured by cryptography.
95
+ * Examples include Bitcoin (BTC) and Ethereum (ETH).
96
+ *
97
+ * @generated from enum value: INSTRUMENT_TYPE_CRYPTO_CURRENCY = 9;
98
+ */
99
+ InstrumentType[InstrumentType["CRYPTO_CURRENCY"] = 9] = "CRYPTO_CURRENCY";
100
+ /**
101
+ * Government-issued currency that is not backed by a physical commodity
102
+ * but by the government that issued it. Examples include the US Dollar
103
+ * (USD) and the Euro (EUR).
104
+ *
105
+ * @generated from enum value: INSTRUMENT_TYPE_FIAT_CURRENCY = 10;
106
+ */
107
+ InstrumentType[InstrumentType["FIAT_CURRENCY"] = 10] = "FIAT_CURRENCY";
108
+ /**
109
+ * Rights to the financial value of a linked underlying.
110
+ *
111
+ * @generated from enum value: INSTRUMENT_TYPE_RIGHTS = 11;
112
+ */
113
+ InstrumentType[InstrumentType["RIGHTS"] = 11] = "RIGHTS";
114
+ /**
115
+ * Gold as a commodity. Can be invested in via physical bullion, futures,
116
+ * or other financial products tracking its price.
117
+ *
118
+ * @generated from enum value: INSTRUMENT_TYPE_GOLD = 12;
119
+ */
120
+ InstrumentType[InstrumentType["GOLD"] = 12] = "GOLD";
121
+ /**
122
+ * Silver as a commodity.
123
+ *
124
+ * @generated from enum value: INSTRUMENT_TYPE_SILVER = 13;
125
+ */
126
+ InstrumentType[InstrumentType["SILVER"] = 13] = "SILVER";
127
+ /**
128
+ * Platinum as a commodity.
129
+ *
130
+ * @generated from enum value: INSTRUMENT_TYPE_PLATINUM = 14;
131
+ */
132
+ InstrumentType[InstrumentType["PLATINUM"] = 14] = "PLATINUM";
133
+ /**
134
+ * Palladium as a commodity.
135
+ *
136
+ * @generated from enum value: INSTRUMENT_TYPE_PALLADIUM = 15;
137
+ */
138
+ InstrumentType[InstrumentType["PALLADIUM"] = 15] = "PALLADIUM";
139
+ /**
140
+ * Crude oil, a key global energy commodity.
141
+ *
142
+ * @generated from enum value: INSTRUMENT_TYPE_CRUDE_OIL = 16;
143
+ */
144
+ InstrumentType[InstrumentType["CRUDE_OIL"] = 16] = "CRUDE_OIL";
145
+ /**
146
+ * Natural gas, a major energy commodity.
147
+ *
148
+ * @generated from enum value: INSTRUMENT_TYPE_NATURAL_GAS = 17;
149
+ */
150
+ InstrumentType[InstrumentType["NATURAL_GAS"] = 17] = "NATURAL_GAS";
151
+ /**
152
+ * Copper, an important industrial metal.
153
+ *
154
+ * @generated from enum value: INSTRUMENT_TYPE_COPPER = 18;
155
+ */
156
+ InstrumentType[InstrumentType["COPPER"] = 18] = "COPPER";
157
+ /**
158
+ * Corn, a major agricultural commodity.
159
+ *
160
+ * @generated from enum value: INSTRUMENT_TYPE_CORN = 19;
161
+ */
162
+ InstrumentType[InstrumentType["CORN"] = 19] = "CORN";
163
+ /**
164
+ * Wheat, a staple agricultural commodity.
165
+ *
166
+ * @generated from enum value: INSTRUMENT_TYPE_WHEAT = 20;
167
+ */
168
+ InstrumentType[InstrumentType["WHEAT"] = 20] = "WHEAT";
169
+ /**
170
+ * Soybeans, a key agricultural commodity used for food and animal feed.
171
+ *
172
+ * @generated from enum value: INSTRUMENT_TYPE_SOYBEANS = 21;
173
+ */
174
+ InstrumentType[InstrumentType["SOYBEANS"] = 21] = "SOYBEANS";
175
+ /**
176
+ * A type of cryptocurrency designed to maintain a stable value by being
177
+ * pegged to a reference asset, such as a fiat currency (e.g., USD).
178
+ *
179
+ * @generated from enum value: INSTRUMENT_TYPE_FIAT_STABLECOIN = 22;
180
+ */
181
+ InstrumentType[InstrumentType["FIAT_STABLECOIN"] = 22] = "FIAT_STABLECOIN";
182
+ /**
183
+ * A mutual fund investing in highly liquid, short-term debt securities,
184
+ * cash, and cash equivalents.
185
+ *
186
+ * @generated from enum value: INSTRUMENT_TYPE_MONEY_MARKET_FUND = 23;
187
+ */
188
+ InstrumentType[InstrumentType["MONEY_MARKET_FUND"] = 23] = "MONEY_MARKET_FUND";
189
+ /**
190
+ * A stablecoin collateralized by shares in a money market fund,
191
+ * representing a claim on the fund's underlying assets.
192
+ *
193
+ * @generated from enum value: INSTRUMENT_TYPE_MONEY_MARKET_FUND_STABLECOIN = 24;
194
+ */
195
+ InstrumentType[InstrumentType["MONEY_MARKET_FUND_STABLECOIN"] = 24] = "MONEY_MARKET_FUND_STABLECOIN";
196
+ /**
197
+ * A tax-efficient investment vehicle, structured as a life insurance policy,
198
+ * that combines investment components with a nominal life insurance benefit.
199
+ *
200
+ * @generated from enum value: INSTRUMENT_TYPE_ENDOWMENT_WRAPPER = 25;
201
+ */
202
+ InstrumentType[InstrumentType["ENDOWMENT_WRAPPER"] = 25] = "ENDOWMENT_WRAPPER";
203
+ /**
204
+ * A collective investment scheme that pools capital from multiple investors
205
+ * to purchase a diversified portfolio of securities.
206
+ *
207
+ * @generated from enum value: INSTRUMENT_TYPE_FUND = 26;
208
+ */
209
+ InstrumentType[InstrumentType["FUND"] = 26] = "FUND";
210
+ /**
211
+ * A stablecoin collateralized by a portfolio of assets held within a fund,
212
+ * representing a claim on those assets.
213
+ *
214
+ * @generated from enum value: INSTRUMENT_TYPE_FUND_STABLECOIN = 27;
215
+ */
216
+ InstrumentType[InstrumentType["FUND_STABLECOIN"] = 27] = "FUND_STABLECOIN";
217
+ })(InstrumentType || (exports.InstrumentType = InstrumentType = {}));
218
+ /**
219
+ * Describes the enum meshtrade.studio.instrument.v1.InstrumentType.
220
+ */
221
+ exports.InstrumentTypeSchema = (0, codegenv2_1.enumDesc)(exports.file_meshtrade_studio_instrument_v1_instrument_type, 0);
@@ -0,0 +1,148 @@
1
+ import type { GenEnum, GenFile } from "@bufbuild/protobuf/codegenv2";
2
+ /**
3
+ * Describes the file meshtrade/studio/instrument/v1/unit.proto.
4
+ */
5
+ export declare const file_meshtrade_studio_instrument_v1_unit: GenFile;
6
+ /**
7
+ *
8
+ * Unit defines the standard of measurement for an instrument, specifying how
9
+ * quantities of the asset are expressed. For example, oil is measured in
10
+ * barrels, and equity is measured in shares.
11
+ *
12
+ * @generated from enum meshtrade.studio.instrument.v1.Unit
13
+ */
14
+ export declare enum Unit {
15
+ /**
16
+ * The unit is not specified. This is the default value and should be
17
+ * treated as an error or an uninitialized state.
18
+ *
19
+ * @generated from enum value: UNIT_UNSPECIFIED = 0;
20
+ */
21
+ UNSPECIFIED = 0,
22
+ /**
23
+ * Indicates that the instrument's name or code itself represents a single
24
+ * unit. This is used for assets where a separate unit qualifier is redundant,
25
+ * such as "1 US Dollar" or "1 Bitcoin".
26
+ *
27
+ * @generated from enum value: UNIT_NULL = 1;
28
+ */
29
+ NULL = 1,
30
+ /**
31
+ * A single unit of a debt instrument, such as a promissory note, commercial
32
+ * paper, or an Exchange-Traded Note (ETN).
33
+ *
34
+ * @generated from enum value: UNIT_NOTE = 2;
35
+ */
36
+ NOTE = 2,
37
+ /**
38
+ * A single unit of equity ownership in a corporation.
39
+ *
40
+ * @generated from enum value: UNIT_SHARE = 3;
41
+ */
42
+ SHARE = 3,
43
+ /**
44
+ * A single unit of a special class of equity that has preferential rights
45
+ * over common shares.
46
+ *
47
+ * @generated from enum value: UNIT_PREFERENCE_SHARE = 4;
48
+ */
49
+ PREFERENCE_SHARE = 4,
50
+ /**
51
+ * A single unit of a bond issuance, typically with a defined face value
52
+ * (e.g., $1,000).
53
+ *
54
+ * @generated from enum value: UNIT_BOND = 5;
55
+ */
56
+ BOND = 5,
57
+ /**
58
+ * A single unit of a short-term debt obligation, such as a Treasury Bill
59
+ * (T-Bill).
60
+ *
61
+ * @generated from enum value: UNIT_BILL = 6;
62
+ */
63
+ BILL = 6,
64
+ /**
65
+ * The standard unit for a derivative, such as a futures or forward
66
+ * agreement, representing a standardized quantity of the underlying asset.
67
+ *
68
+ * @generated from enum value: UNIT_CONTRACT = 7;
69
+ */
70
+ CONTRACT = 7,
71
+ /**
72
+ * The standard unit for an options derivative, giving the right to buy or
73
+ * sell a specific amount of an underlying asset. One contract often
74
+ * represents 100 shares of stock.
75
+ *
76
+ * @generated from enum value: UNIT_OPTION = 8;
77
+ */
78
+ OPTION = 8,
79
+ /**
80
+ * The smallest individual unit of a digital asset or cryptocurrency recorded
81
+ * on a blockchain.
82
+ *
83
+ * @generated from enum value: UNIT_TOKEN = 9;
84
+ */
85
+ TOKEN = 9,
86
+ /**
87
+ * A standard volumetric unit for crude oil and petroleum products,
88
+ * equivalent to 42 US gallons.
89
+ *
90
+ * @generated from enum value: UNIT_BARREL = 10;
91
+ */
92
+ BARREL = 10,
93
+ /**
94
+ * A metric unit of mass, commonly used for quoting prices of precious
95
+ * metals.
96
+ *
97
+ * @generated from enum value: UNIT_GRAM = 11;
98
+ */
99
+ GRAM = 11,
100
+ /**
101
+ * A metric unit of mass equal to 1,000 grams.
102
+ *
103
+ * @generated from enum value: UNIT_KILOGRAM = 12;
104
+ */
105
+ KILOGRAM = 12,
106
+ /**
107
+ * A metric unit of mass equal to 1,000 kilograms, often used for industrial
108
+ * metals and bulk agricultural products.
109
+ *
110
+ * @generated from enum value: UNIT_METRIC_TON = 13;
111
+ */
112
+ METRIC_TON = 13,
113
+ /**
114
+ * A troy ounce, the standard unit of mass for precious metals, equivalent to
115
+ * approximately 31.103 grams.
116
+ *
117
+ * @generated from enum value: UNIT_OUNCE = 14;
118
+ */
119
+ OUNCE = 14,
120
+ /**
121
+ * A fractional unit representing one-half of a troy ounce.
122
+ *
123
+ * @generated from enum value: UNIT_HALF_OUNCE = 15;
124
+ */
125
+ HALF_OUNCE = 15,
126
+ /**
127
+ * A fractional unit representing one-quarter of a troy ounce.
128
+ *
129
+ * @generated from enum value: UNIT_QUARTER_OUNCE = 16;
130
+ */
131
+ QUARTER_OUNCE = 16,
132
+ /**
133
+ * A fractional unit representing one-tenth of a troy ounce.
134
+ *
135
+ * @generated from enum value: UNIT_ONE_TENTH_OUNCE = 17;
136
+ */
137
+ ONE_TENTH_OUNCE = 17,
138
+ /**
139
+ * A fractional unit representing one-hundredth of a troy ounce.
140
+ *
141
+ * @generated from enum value: UNIT_ONE_HUNDREDTH_OUNCE = 18;
142
+ */
143
+ ONE_HUNDREDTH_OUNCE = 18
144
+ }
145
+ /**
146
+ * Describes the enum meshtrade.studio.instrument.v1.Unit.
147
+ */
148
+ export declare const UnitSchema: GenEnum<Unit>;