@meshtrade/api-web 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 +68 -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 +7 -0
  7. package/dist/meshtrade/common/config.js +9 -0
  8. package/dist/meshtrade/common/connectInterceptors.d.ts +73 -0
  9. package/dist/meshtrade/common/connectInterceptors.js +126 -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_pb.d.ts +123 -0
  35. package/dist/meshtrade/compliance/client/v1/service_pb.js +45 -0
  36. package/dist/meshtrade/compliance/client/v1/service_web_meshts.d.ts +48 -0
  37. package/dist/meshtrade/compliance/client/v1/service_web_meshts.js +92 -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_pb.d.ts +343 -0
  53. package/dist/meshtrade/iam/api_user/v1/service_pb.js +86 -0
  54. package/dist/meshtrade/iam/api_user/v1/service_web_meshts.d.ts +84 -0
  55. package/dist/meshtrade/iam/api_user/v1/service_web_meshts.js +152 -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_pb.d.ts +306 -0
  61. package/dist/meshtrade/iam/group/v1/service_pb.js +75 -0
  62. package/dist/meshtrade/iam/group/v1/service_web_meshts.d.ts +60 -0
  63. package/dist/meshtrade/iam/group/v1/service_web_meshts.js +112 -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_pb.d.ts +379 -0
  73. package/dist/meshtrade/iam/user/v1/service_pb.js +90 -0
  74. package/dist/meshtrade/iam/user/v1/service_web_meshts.d.ts +78 -0
  75. package/dist/meshtrade/iam/user/v1/service_web_meshts.js +142 -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_pb.d.ts +102 -0
  81. package/dist/meshtrade/ledger/transaction/v1/service_pb.js +41 -0
  82. package/dist/meshtrade/ledger/transaction/v1/service_web_meshts.d.ts +50 -0
  83. package/dist/meshtrade/ledger/transaction/v1/service_web_meshts.js +91 -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_pb.d.ts +48 -0
  95. package/dist/meshtrade/market_data/price/v1/service_pb.js +27 -0
  96. package/dist/meshtrade/market_data/price/v1/service_web_meshts.d.ts +36 -0
  97. package/dist/meshtrade/market_data/price/v1/service_web_meshts.js +72 -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_pb.d.ts +162 -0
  113. package/dist/meshtrade/reporting/account_report/v1/service_pb.js +46 -0
  114. package/dist/meshtrade/reporting/account_report/v1/service_web_meshts.d.ts +42 -0
  115. package/dist/meshtrade/reporting/account_report/v1/service_web_meshts.js +82 -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_pb.d.ts +357 -0
  131. package/dist/meshtrade/trading/limit_order/v1/service_pb.js +73 -0
  132. package/dist/meshtrade/trading/limit_order/v1/service_web_meshts.d.ts +81 -0
  133. package/dist/meshtrade/trading/limit_order/v1/service_web_meshts.js +141 -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_pb.d.ts +34 -0
  139. package/dist/meshtrade/trading/market_order/v1/service_pb.js +22 -0
  140. package/dist/meshtrade/trading/market_order/v1/service_web_meshts.d.ts +36 -0
  141. package/dist/meshtrade/trading/market_order/v1/service_web_meshts.js +72 -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_pb.d.ts +559 -0
  183. package/dist/meshtrade/wallet/account/v1/service_pb.js +112 -0
  184. package/dist/meshtrade/wallet/account/v1/service_web_meshts.d.ts +84 -0
  185. package/dist/meshtrade/wallet/account/v1/service_web_meshts.js +152 -0
  186. package/package.json +171 -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>;
@@ -0,0 +1,155 @@
1
+ "use strict";
2
+ // @generated by protoc-gen-es v2.10.1 with parameter "target=ts"
3
+ // @generated from file meshtrade/studio/instrument/v1/unit.proto (package meshtrade.studio.instrument.v1, syntax proto3)
4
+ /* eslint-disable */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.UnitSchema = exports.Unit = exports.file_meshtrade_studio_instrument_v1_unit = void 0;
7
+ const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
8
+ /**
9
+ * Describes the file meshtrade/studio/instrument/v1/unit.proto.
10
+ */
11
+ exports.file_meshtrade_studio_instrument_v1_unit = (0, codegenv2_1.fileDesc)("CiltZXNodHJhZGUvc3R1ZGlvL2luc3RydW1lbnQvdjEvdW5pdC5wcm90bxIebWVzaHRyYWRlLnN0dWRpby5pbnN0cnVtZW50LnYxKvQCCgRVbml0EhQKEFVOSVRfVU5TUEVDSUZJRUQQABINCglVTklUX05VTEwQARINCglVTklUX05PVEUQAhIOCgpVTklUX1NIQVJFEAMSGQoVVU5JVF9QUkVGRVJFTkNFX1NIQVJFEAQSDQoJVU5JVF9CT05EEAUSDQoJVU5JVF9CSUxMEAYSEQoNVU5JVF9DT05UUkFDVBAHEg8KC1VOSVRfT1BUSU9OEAgSDgoKVU5JVF9UT0tFThAJEg8KC1VOSVRfQkFSUkVMEAoSDQoJVU5JVF9HUkFNEAsSEQoNVU5JVF9LSUxPR1JBTRAMEhMKD1VOSVRfTUVUUklDX1RPThANEg4KClVOSVRfT1VOQ0UQDhITCg9VTklUX0hBTEZfT1VOQ0UQDxIWChJVTklUX1FVQVJURVJfT1VOQ0UQEBIYChRVTklUX09ORV9URU5USF9PVU5DRRAREhwKGFVOSVRfT05FX0hVTkRSRURUSF9PVU5DRRASQmcKJWNvLm1lc2h0cmFkZS5hcGkuc3R1ZGlvLmluc3RydW1lbnQudjFaPmdpdGh1Yi5jb20vbWVzaHRyYWRlL2FwaS9nby9zdHVkaW8vaW5zdHJ1bWVudC92MTtpbnN0cnVtZW50X3YxYgZwcm90bzM");
12
+ /**
13
+ *
14
+ * Unit defines the standard of measurement for an instrument, specifying how
15
+ * quantities of the asset are expressed. For example, oil is measured in
16
+ * barrels, and equity is measured in shares.
17
+ *
18
+ * @generated from enum meshtrade.studio.instrument.v1.Unit
19
+ */
20
+ var Unit;
21
+ (function (Unit) {
22
+ /**
23
+ * The unit is not specified. This is the default value and should be
24
+ * treated as an error or an uninitialized state.
25
+ *
26
+ * @generated from enum value: UNIT_UNSPECIFIED = 0;
27
+ */
28
+ Unit[Unit["UNSPECIFIED"] = 0] = "UNSPECIFIED";
29
+ /**
30
+ * Indicates that the instrument's name or code itself represents a single
31
+ * unit. This is used for assets where a separate unit qualifier is redundant,
32
+ * such as "1 US Dollar" or "1 Bitcoin".
33
+ *
34
+ * @generated from enum value: UNIT_NULL = 1;
35
+ */
36
+ Unit[Unit["NULL"] = 1] = "NULL";
37
+ /**
38
+ * A single unit of a debt instrument, such as a promissory note, commercial
39
+ * paper, or an Exchange-Traded Note (ETN).
40
+ *
41
+ * @generated from enum value: UNIT_NOTE = 2;
42
+ */
43
+ Unit[Unit["NOTE"] = 2] = "NOTE";
44
+ /**
45
+ * A single unit of equity ownership in a corporation.
46
+ *
47
+ * @generated from enum value: UNIT_SHARE = 3;
48
+ */
49
+ Unit[Unit["SHARE"] = 3] = "SHARE";
50
+ /**
51
+ * A single unit of a special class of equity that has preferential rights
52
+ * over common shares.
53
+ *
54
+ * @generated from enum value: UNIT_PREFERENCE_SHARE = 4;
55
+ */
56
+ Unit[Unit["PREFERENCE_SHARE"] = 4] = "PREFERENCE_SHARE";
57
+ /**
58
+ * A single unit of a bond issuance, typically with a defined face value
59
+ * (e.g., $1,000).
60
+ *
61
+ * @generated from enum value: UNIT_BOND = 5;
62
+ */
63
+ Unit[Unit["BOND"] = 5] = "BOND";
64
+ /**
65
+ * A single unit of a short-term debt obligation, such as a Treasury Bill
66
+ * (T-Bill).
67
+ *
68
+ * @generated from enum value: UNIT_BILL = 6;
69
+ */
70
+ Unit[Unit["BILL"] = 6] = "BILL";
71
+ /**
72
+ * The standard unit for a derivative, such as a futures or forward
73
+ * agreement, representing a standardized quantity of the underlying asset.
74
+ *
75
+ * @generated from enum value: UNIT_CONTRACT = 7;
76
+ */
77
+ Unit[Unit["CONTRACT"] = 7] = "CONTRACT";
78
+ /**
79
+ * The standard unit for an options derivative, giving the right to buy or
80
+ * sell a specific amount of an underlying asset. One contract often
81
+ * represents 100 shares of stock.
82
+ *
83
+ * @generated from enum value: UNIT_OPTION = 8;
84
+ */
85
+ Unit[Unit["OPTION"] = 8] = "OPTION";
86
+ /**
87
+ * The smallest individual unit of a digital asset or cryptocurrency recorded
88
+ * on a blockchain.
89
+ *
90
+ * @generated from enum value: UNIT_TOKEN = 9;
91
+ */
92
+ Unit[Unit["TOKEN"] = 9] = "TOKEN";
93
+ /**
94
+ * A standard volumetric unit for crude oil and petroleum products,
95
+ * equivalent to 42 US gallons.
96
+ *
97
+ * @generated from enum value: UNIT_BARREL = 10;
98
+ */
99
+ Unit[Unit["BARREL"] = 10] = "BARREL";
100
+ /**
101
+ * A metric unit of mass, commonly used for quoting prices of precious
102
+ * metals.
103
+ *
104
+ * @generated from enum value: UNIT_GRAM = 11;
105
+ */
106
+ Unit[Unit["GRAM"] = 11] = "GRAM";
107
+ /**
108
+ * A metric unit of mass equal to 1,000 grams.
109
+ *
110
+ * @generated from enum value: UNIT_KILOGRAM = 12;
111
+ */
112
+ Unit[Unit["KILOGRAM"] = 12] = "KILOGRAM";
113
+ /**
114
+ * A metric unit of mass equal to 1,000 kilograms, often used for industrial
115
+ * metals and bulk agricultural products.
116
+ *
117
+ * @generated from enum value: UNIT_METRIC_TON = 13;
118
+ */
119
+ Unit[Unit["METRIC_TON"] = 13] = "METRIC_TON";
120
+ /**
121
+ * A troy ounce, the standard unit of mass for precious metals, equivalent to
122
+ * approximately 31.103 grams.
123
+ *
124
+ * @generated from enum value: UNIT_OUNCE = 14;
125
+ */
126
+ Unit[Unit["OUNCE"] = 14] = "OUNCE";
127
+ /**
128
+ * A fractional unit representing one-half of a troy ounce.
129
+ *
130
+ * @generated from enum value: UNIT_HALF_OUNCE = 15;
131
+ */
132
+ Unit[Unit["HALF_OUNCE"] = 15] = "HALF_OUNCE";
133
+ /**
134
+ * A fractional unit representing one-quarter of a troy ounce.
135
+ *
136
+ * @generated from enum value: UNIT_QUARTER_OUNCE = 16;
137
+ */
138
+ Unit[Unit["QUARTER_OUNCE"] = 16] = "QUARTER_OUNCE";
139
+ /**
140
+ * A fractional unit representing one-tenth of a troy ounce.
141
+ *
142
+ * @generated from enum value: UNIT_ONE_TENTH_OUNCE = 17;
143
+ */
144
+ Unit[Unit["ONE_TENTH_OUNCE"] = 17] = "ONE_TENTH_OUNCE";
145
+ /**
146
+ * A fractional unit representing one-hundredth of a troy ounce.
147
+ *
148
+ * @generated from enum value: UNIT_ONE_HUNDREDTH_OUNCE = 18;
149
+ */
150
+ Unit[Unit["ONE_HUNDREDTH_OUNCE"] = 18] = "ONE_HUNDREDTH_OUNCE";
151
+ })(Unit || (exports.Unit = Unit = {}));
152
+ /**
153
+ * Describes the enum meshtrade.studio.instrument.v1.Unit.
154
+ */
155
+ exports.UnitSchema = (0, codegenv2_1.enumDesc)(exports.file_meshtrade_studio_instrument_v1_unit, 0);
@@ -0,0 +1,3 @@
1
+ export * from "./limit_order_pb";
2
+ export * from "./service_pb";
3
+ export * from "./service_web_meshts";
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ // ===================================================================
3
+ // AUTO-GENERATED SECTION - ONLY EDIT BELOW THE CLOSING COMMENT BLOCK
4
+ // ===================================================================
5
+ // This section is automatically managed by protoc-gen-meshts.
6
+ //
7
+ // DO NOT EDIT ANYTHING IN THIS SECTION MANUALLY!
8
+ // Your changes will be overwritten during code generation.
9
+ //
10
+ // To add custom exports, scroll down to the
11
+ // "MANUAL EXPORTS" section indicated below.
12
+ // ===================================================================
13
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
14
+ if (k2 === undefined) k2 = k;
15
+ var desc = Object.getOwnPropertyDescriptor(m, k);
16
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
17
+ desc = { enumerable: true, get: function() { return m[k]; } };
18
+ }
19
+ Object.defineProperty(o, k2, desc);
20
+ }) : (function(o, m, k, k2) {
21
+ if (k2 === undefined) k2 = k;
22
+ o[k2] = m[k];
23
+ }));
24
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
25
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ // Generated exports
29
+ __exportStar(require("./limit_order_pb"), exports);
30
+ __exportStar(require("./service_pb"), exports);
31
+ __exportStar(require("./service_web_meshts"), exports);
32
+ // ===================================================================
33
+ // END OF AUTO-GENERATED SECTION
34
+ // ===================================================================
35
+ //
36
+ // MANUAL EXPORTS - ADD YOUR CUSTOM EXPORTS BELOW
37
+ //
38
+ // You can safely add your own export statements in this section.
39
+ // They will be preserved across code generation.
40
+ //
41
+ // Example:
42
+ // export * from "./my_custom_module";
43
+ // export { MyCustomClass } from "./another_module";
44
+ // ===================================================================
@@ -0,0 +1,211 @@
1
+ import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
2
+ import type { Amount } from "../../../type/v1/amount_pb";
3
+ import type { Message } from "@bufbuild/protobuf";
4
+ /**
5
+ * Describes the file meshtrade/trading/limit_order/v1/limit_order.proto.
6
+ */
7
+ export declare const file_meshtrade_trading_limit_order_v1_limit_order: GenFile;
8
+ /**
9
+ *
10
+ * LimitOrder resource representing a limit order for trading on the Mesh platform.
11
+ *
12
+ * Limit orders enable traders to specify price and quantity for buying or selling
13
+ * instruments on supported ledgers. Each order is owned by a group and associated
14
+ * with a specific account.
15
+ *
16
+ * @generated from message meshtrade.trading.limit_order.v1.LimitOrder
17
+ */
18
+ export type LimitOrder = Message<"meshtrade.trading.limit_order.v1.LimitOrder"> & {
19
+ /**
20
+ *
21
+ * The unique resource name for the limit order.
22
+ * Format: limit_orders/{ULIDv2}.
23
+ * This field is system-generated and immutable upon creation.
24
+ * Any value provided on creation is ignored.
25
+ *
26
+ * @generated from field: string name = 1;
27
+ */
28
+ name: string;
29
+ /**
30
+ *
31
+ * The resource name of the parent group that owns this limit order.
32
+ * This field is required on creation and establishes the direct ownership link.
33
+ * Format: groups/{ULIDv2}.
34
+ *
35
+ * @generated from field: string owner = 2;
36
+ */
37
+ owner: string;
38
+ /**
39
+ *
40
+ * The account associated with this limit order.
41
+ * Format: accounts/{ULIDv2}.
42
+ * This field is required on creation.
43
+ *
44
+ * @generated from field: string account = 3;
45
+ */
46
+ account: string;
47
+ /**
48
+ *
49
+ * External reference for client-side tracking and correlation.
50
+ * This field allows clients to associate orders with their own identifiers.
51
+ *
52
+ * If specified, must be unique within the scope of limit orders owned by
53
+ * this owner. The Mesh system enforces this constraint to ensure reliable
54
+ * lookups via GetLimitOrderByExternalReference.
55
+ *
56
+ * @generated from field: string external_reference = 5;
57
+ */
58
+ externalReference: string;
59
+ /**
60
+ *
61
+ * Order side indicating buy or sell.
62
+ * This field is required on creation.
63
+ *
64
+ * @generated from field: meshtrade.trading.limit_order.v1.LimitOrderSide side = 6;
65
+ */
66
+ side: LimitOrderSide;
67
+ /**
68
+ *
69
+ * Limit price for the order.
70
+ * This field is required on creation.
71
+ *
72
+ * @generated from field: meshtrade.type.v1.Amount limit_price = 7;
73
+ */
74
+ limitPrice?: Amount;
75
+ /**
76
+ *
77
+ * Order quantity.
78
+ * This field is required on creation.
79
+ *
80
+ * @generated from field: meshtrade.type.v1.Amount quantity = 8;
81
+ */
82
+ quantity?: Amount;
83
+ /**
84
+ *
85
+ * Fill price from live ledger data.
86
+ * Calculated as the volume weighted average price (VWAP) of all trades
87
+ * that filled this order. This value is computed in real-time from ledger
88
+ * data and becomes final when the order is marked complete.
89
+ *
90
+ * Only populated when live_ledger_data=true in request.
91
+ *
92
+ * @generated from field: meshtrade.type.v1.Amount fill_price = 9;
93
+ */
94
+ fillPrice?: Amount;
95
+ /**
96
+ *
97
+ * Filled quantity from live ledger data.
98
+ * Represents the total amount of the order that has been filled on the ledger.
99
+ * This value is computed in real-time from ledger data and becomes final
100
+ * when the order is marked complete.
101
+ *
102
+ * Only populated when live_ledger_data=true in request.
103
+ *
104
+ * @generated from field: meshtrade.type.v1.Amount filled_quantity = 10;
105
+ */
106
+ filledQuantity?: Amount;
107
+ /**
108
+ *
109
+ * Order status from live ledger data.
110
+ * Only populated when live_ledger_data=true in request.
111
+ *
112
+ * @generated from field: meshtrade.trading.limit_order.v1.LimitOrderStatus status = 11;
113
+ */
114
+ status: LimitOrderStatus;
115
+ };
116
+ /**
117
+ * Describes the message meshtrade.trading.limit_order.v1.LimitOrder.
118
+ * Use `create(LimitOrderSchema)` to create a new message.
119
+ */
120
+ export declare const LimitOrderSchema: GenMessage<LimitOrder>;
121
+ /**
122
+ *
123
+ * LimitOrderSide represents the direction of a limit order.
124
+ *
125
+ * @generated from enum meshtrade.trading.limit_order.v1.LimitOrderSide
126
+ */
127
+ export declare enum LimitOrderSide {
128
+ /**
129
+ * Unspecified side (invalid for creation).
130
+ *
131
+ * @generated from enum value: LIMIT_ORDER_SIDE_UNSPECIFIED = 0;
132
+ */
133
+ UNSPECIFIED = 0,
134
+ /**
135
+ * Buy order.
136
+ *
137
+ * @generated from enum value: LIMIT_ORDER_SIDE_BUY = 1;
138
+ */
139
+ BUY = 1,
140
+ /**
141
+ * Sell order.
142
+ *
143
+ * @generated from enum value: LIMIT_ORDER_SIDE_SELL = 2;
144
+ */
145
+ SELL = 2
146
+ }
147
+ /**
148
+ * Describes the enum meshtrade.trading.limit_order.v1.LimitOrderSide.
149
+ */
150
+ export declare const LimitOrderSideSchema: GenEnum<LimitOrderSide>;
151
+ /**
152
+ *
153
+ * LimitOrderStatus represents the current state of a limit order.
154
+ * Populated only when live_ledger_data=true in requests.
155
+ *
156
+ * @generated from enum meshtrade.trading.limit_order.v1.LimitOrderStatus
157
+ */
158
+ export declare enum LimitOrderStatus {
159
+ /**
160
+ * Unspecified status.
161
+ *
162
+ * @generated from enum value: LIMIT_ORDER_STATUS_UNSPECIFIED = 0;
163
+ */
164
+ UNSPECIFIED = 0,
165
+ /**
166
+ * Submission transaction in progress.
167
+ *
168
+ * @generated from enum value: LIMIT_ORDER_STATUS_SUBMISSION_IN_PROGRESS = 1;
169
+ */
170
+ SUBMISSION_IN_PROGRESS = 1,
171
+ /**
172
+ * Submission failed.
173
+ *
174
+ * @generated from enum value: LIMIT_ORDER_STATUS_SUBMISSION_FAILED = 2;
175
+ */
176
+ SUBMISSION_FAILED = 2,
177
+ /**
178
+ * Order is open on the ledger.
179
+ *
180
+ * @generated from enum value: LIMIT_ORDER_STATUS_OPEN = 3;
181
+ */
182
+ OPEN = 3,
183
+ /**
184
+ * Completion in progress.
185
+ *
186
+ * @generated from enum value: LIMIT_ORDER_STATUS_COMPLETE_IN_PROGRESS = 4;
187
+ */
188
+ COMPLETE_IN_PROGRESS = 4,
189
+ /**
190
+ * Order completed (fully filled).
191
+ *
192
+ * @generated from enum value: LIMIT_ORDER_STATUS_COMPLETE = 5;
193
+ */
194
+ COMPLETE = 5,
195
+ /**
196
+ * Cancellation in progress.
197
+ *
198
+ * @generated from enum value: LIMIT_ORDER_STATUS_CANCELLATION_IN_PROGRESS = 6;
199
+ */
200
+ CANCELLATION_IN_PROGRESS = 6,
201
+ /**
202
+ * Order cancelled.
203
+ *
204
+ * @generated from enum value: LIMIT_ORDER_STATUS_CANCELLED = 7;
205
+ */
206
+ CANCELLED = 7
207
+ }
208
+ /**
209
+ * Describes the enum meshtrade.trading.limit_order.v1.LimitOrderStatus.
210
+ */
211
+ export declare const LimitOrderStatusSchema: GenEnum<LimitOrderStatus>;
@@ -0,0 +1,111 @@
1
+ "use strict";
2
+ // @generated by protoc-gen-es v2.10.1 with parameter "target=ts"
3
+ // @generated from file meshtrade/trading/limit_order/v1/limit_order.proto (package meshtrade.trading.limit_order.v1, syntax proto3)
4
+ /* eslint-disable */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.LimitOrderStatusSchema = exports.LimitOrderStatus = exports.LimitOrderSideSchema = exports.LimitOrderSide = exports.LimitOrderSchema = exports.file_meshtrade_trading_limit_order_v1_limit_order = void 0;
7
+ const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
8
+ const validate_pb_1 = require("../../../../buf/validate/validate_pb");
9
+ const amount_pb_1 = require("../../../type/v1/amount_pb");
10
+ /**
11
+ * Describes the file meshtrade/trading/limit_order/v1/limit_order.proto.
12
+ */
13
+ exports.file_meshtrade_trading_limit_order_v1_limit_order = (0, codegenv2_1.fileDesc)("CjJtZXNodHJhZGUvdHJhZGluZy9saW1pdF9vcmRlci92MS9saW1pdF9vcmRlci5wcm90bxIgbWVzaHRyYWRlLnRyYWRpbmcubGltaXRfb3JkZXIudjEiiQYKCkxpbWl0T3JkZXISwgEKBG5hbWUYASABKAlCswG6SK8BugGrAQoUbmFtZS5mb3JtYXQub3B0aW9uYWwSOW5hbWUgbXVzdCBiZSBlbXB0eSBvciBpbiB0aGUgZm9ybWF0IGxpbWl0X29yZGVycy97VUxJRHYyfRpYc2l6ZSh0aGlzKSA9PSAwIHx8IHRoaXMubWF0Y2hlcygnXmxpbWl0X29yZGVycy9bMDEyMzQ1Njc4OUFCQ0RFRkdISktNTlBRUlNUVldYWVpdezI2fSQnKRJLCgVvd25lchgCIAEoCUI8ukg5yAEBcjQyL15ncm91cHMvWzAxMjM0NTY3ODlBQkNERUZHSEpLTU5QUVJTVFZXWFlaXXsyNn0kmAEhEk8KB2FjY291bnQYAyABKAlCPrpIO8gBAXI2MjFeYWNjb3VudHMvWzAxMjM0NTY3ODlBQkNERUZHSEpLTU5QUVJTVFZXWFlaXXsyNn0kmAEjEiQKEmV4dGVybmFsX3JlZmVyZW5jZRgFIAEoCUIIukgFcgMYyAESSgoEc2lkZRgGIAEoDjIwLm1lc2h0cmFkZS50cmFkaW5nLmxpbWl0X29yZGVyLnYxLkxpbWl0T3JkZXJTaWRlQgq6SAeCAQQQASAAEjYKC2xpbWl0X3ByaWNlGAcgASgLMhkubWVzaHRyYWRlLnR5cGUudjEuQW1vdW50Qga6SAPIAQESMwoIcXVhbnRpdHkYCCABKAsyGS5tZXNodHJhZGUudHlwZS52MS5BbW91bnRCBrpIA8gBARItCgpmaWxsX3ByaWNlGAkgASgLMhkubWVzaHRyYWRlLnR5cGUudjEuQW1vdW50EjIKD2ZpbGxlZF9xdWFudGl0eRgKIAEoCzIZLm1lc2h0cmFkZS50eXBlLnYxLkFtb3VudBJCCgZzdGF0dXMYCyABKA4yMi5tZXNodHJhZGUudHJhZGluZy5saW1pdF9vcmRlci52MS5MaW1pdE9yZGVyU3RhdHVzSgQIBBAFUgxkaXNwbGF5X25hbWUqZwoOTGltaXRPcmRlclNpZGUSIAocTElNSVRfT1JERVJfU0lERV9VTlNQRUNJRklFRBAAEhgKFExJTUlUX09SREVSX1NJREVfQlVZEAESGQoVTElNSVRfT1JERVJfU0lERV9TRUxMEAIqzQIKEExpbWl0T3JkZXJTdGF0dXMSIgoeTElNSVRfT1JERVJfU1RBVFVTX1VOU1BFQ0lGSUVEEAASLQopTElNSVRfT1JERVJfU1RBVFVTX1NVQk1JU1NJT05fSU5fUFJPR1JFU1MQARIoCiRMSU1JVF9PUkRFUl9TVEFUVVNfU1VCTUlTU0lPTl9GQUlMRUQQAhIbChdMSU1JVF9PUkRFUl9TVEFUVVNfT1BFThADEisKJ0xJTUlUX09SREVSX1NUQVRVU19DT01QTEVURV9JTl9QUk9HUkVTUxAEEh8KG0xJTUlUX09SREVSX1NUQVRVU19DT01QTEVURRAFEi8KK0xJTUlUX09SREVSX1NUQVRVU19DQU5DRUxMQVRJT05fSU5fUFJPR1JFU1MQBhIgChxMSU1JVF9PUkRFUl9TVEFUVVNfQ0FOQ0VMTEVEEAdCbAonY28ubWVzaHRyYWRlLmFwaS50cmFkaW5nLmxpbWl0X29yZGVyLnYxWkFnaXRodWIuY29tL21lc2h0cmFkZS9hcGkvZ28vdHJhZGluZy9saW1pdF9vcmRlci92MTtsaW1pdF9vcmRlcl92MWIGcHJvdG8z", [validate_pb_1.file_buf_validate_validate, amount_pb_1.file_meshtrade_type_v1_amount]);
14
+ /**
15
+ * Describes the message meshtrade.trading.limit_order.v1.LimitOrder.
16
+ * Use `create(LimitOrderSchema)` to create a new message.
17
+ */
18
+ exports.LimitOrderSchema = (0, codegenv2_1.messageDesc)(exports.file_meshtrade_trading_limit_order_v1_limit_order, 0);
19
+ /**
20
+ *
21
+ * LimitOrderSide represents the direction of a limit order.
22
+ *
23
+ * @generated from enum meshtrade.trading.limit_order.v1.LimitOrderSide
24
+ */
25
+ var LimitOrderSide;
26
+ (function (LimitOrderSide) {
27
+ /**
28
+ * Unspecified side (invalid for creation).
29
+ *
30
+ * @generated from enum value: LIMIT_ORDER_SIDE_UNSPECIFIED = 0;
31
+ */
32
+ LimitOrderSide[LimitOrderSide["UNSPECIFIED"] = 0] = "UNSPECIFIED";
33
+ /**
34
+ * Buy order.
35
+ *
36
+ * @generated from enum value: LIMIT_ORDER_SIDE_BUY = 1;
37
+ */
38
+ LimitOrderSide[LimitOrderSide["BUY"] = 1] = "BUY";
39
+ /**
40
+ * Sell order.
41
+ *
42
+ * @generated from enum value: LIMIT_ORDER_SIDE_SELL = 2;
43
+ */
44
+ LimitOrderSide[LimitOrderSide["SELL"] = 2] = "SELL";
45
+ })(LimitOrderSide || (exports.LimitOrderSide = LimitOrderSide = {}));
46
+ /**
47
+ * Describes the enum meshtrade.trading.limit_order.v1.LimitOrderSide.
48
+ */
49
+ exports.LimitOrderSideSchema = (0, codegenv2_1.enumDesc)(exports.file_meshtrade_trading_limit_order_v1_limit_order, 0);
50
+ /**
51
+ *
52
+ * LimitOrderStatus represents the current state of a limit order.
53
+ * Populated only when live_ledger_data=true in requests.
54
+ *
55
+ * @generated from enum meshtrade.trading.limit_order.v1.LimitOrderStatus
56
+ */
57
+ var LimitOrderStatus;
58
+ (function (LimitOrderStatus) {
59
+ /**
60
+ * Unspecified status.
61
+ *
62
+ * @generated from enum value: LIMIT_ORDER_STATUS_UNSPECIFIED = 0;
63
+ */
64
+ LimitOrderStatus[LimitOrderStatus["UNSPECIFIED"] = 0] = "UNSPECIFIED";
65
+ /**
66
+ * Submission transaction in progress.
67
+ *
68
+ * @generated from enum value: LIMIT_ORDER_STATUS_SUBMISSION_IN_PROGRESS = 1;
69
+ */
70
+ LimitOrderStatus[LimitOrderStatus["SUBMISSION_IN_PROGRESS"] = 1] = "SUBMISSION_IN_PROGRESS";
71
+ /**
72
+ * Submission failed.
73
+ *
74
+ * @generated from enum value: LIMIT_ORDER_STATUS_SUBMISSION_FAILED = 2;
75
+ */
76
+ LimitOrderStatus[LimitOrderStatus["SUBMISSION_FAILED"] = 2] = "SUBMISSION_FAILED";
77
+ /**
78
+ * Order is open on the ledger.
79
+ *
80
+ * @generated from enum value: LIMIT_ORDER_STATUS_OPEN = 3;
81
+ */
82
+ LimitOrderStatus[LimitOrderStatus["OPEN"] = 3] = "OPEN";
83
+ /**
84
+ * Completion in progress.
85
+ *
86
+ * @generated from enum value: LIMIT_ORDER_STATUS_COMPLETE_IN_PROGRESS = 4;
87
+ */
88
+ LimitOrderStatus[LimitOrderStatus["COMPLETE_IN_PROGRESS"] = 4] = "COMPLETE_IN_PROGRESS";
89
+ /**
90
+ * Order completed (fully filled).
91
+ *
92
+ * @generated from enum value: LIMIT_ORDER_STATUS_COMPLETE = 5;
93
+ */
94
+ LimitOrderStatus[LimitOrderStatus["COMPLETE"] = 5] = "COMPLETE";
95
+ /**
96
+ * Cancellation in progress.
97
+ *
98
+ * @generated from enum value: LIMIT_ORDER_STATUS_CANCELLATION_IN_PROGRESS = 6;
99
+ */
100
+ LimitOrderStatus[LimitOrderStatus["CANCELLATION_IN_PROGRESS"] = 6] = "CANCELLATION_IN_PROGRESS";
101
+ /**
102
+ * Order cancelled.
103
+ *
104
+ * @generated from enum value: LIMIT_ORDER_STATUS_CANCELLED = 7;
105
+ */
106
+ LimitOrderStatus[LimitOrderStatus["CANCELLED"] = 7] = "CANCELLED";
107
+ })(LimitOrderStatus || (exports.LimitOrderStatus = LimitOrderStatus = {}));
108
+ /**
109
+ * Describes the enum meshtrade.trading.limit_order.v1.LimitOrderStatus.
110
+ */
111
+ exports.LimitOrderStatusSchema = (0, codegenv2_1.enumDesc)(exports.file_meshtrade_trading_limit_order_v1_limit_order, 1);