@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,136 @@
1
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
2
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
3
+ import type { Token } from "../../../type/v1/token_pb";
4
+ import type { Address } from "../../../type/v1/address_pb";
5
+ import type { FeeEntry } from "./fee_entry_pb";
6
+ import type { IncomeEntry } from "./income_entry_pb";
7
+ import type { TradingStatementEntry } from "./trading_statement_entry_pb";
8
+ import type { Disclaimer } from "./disclaimer_pb";
9
+ import type { Message } from "@bufbuild/protobuf";
10
+ /**
11
+ * Describes the file meshtrade/reporting/account_report/v1/account_report.proto.
12
+ */
13
+ export declare const file_meshtrade_reporting_account_report_v1_account_report: GenFile;
14
+ /**
15
+ *
16
+ * AccountReport represents a detailed report of account activity over a specific period.
17
+ *
18
+ * It contains individual transaction entries for income and fees, a trading statement,
19
+ * an aggregated summary, metadata about the reporting period, client information, and any
20
+ * relevant disclaimers or copyright notes.
21
+ *
22
+ * This structure supports both display and export of account reporting data.
23
+ *
24
+ * @generated from message meshtrade.reporting.account_report.v1.AccountReport
25
+ */
26
+ export type AccountReport = Message<"meshtrade.reporting.account_report.v1.AccountReport"> & {
27
+ /**
28
+ *
29
+ * List of detailed income entries included in this report.
30
+ *
31
+ * @generated from field: repeated meshtrade.reporting.account_report.v1.IncomeEntry income_entries = 1;
32
+ */
33
+ incomeEntries: IncomeEntry[];
34
+ /**
35
+ *
36
+ * List of detailed fee entries included in this report.
37
+ *
38
+ * @generated from field: repeated meshtrade.reporting.account_report.v1.FeeEntry fee_entries = 2;
39
+ */
40
+ feeEntries: FeeEntry[];
41
+ /**
42
+ *
43
+ * List of detailed trading statement entries included in this report.
44
+ *
45
+ * @generated from field: repeated meshtrade.reporting.account_report.v1.TradingStatementEntry trading_statement_entries = 3;
46
+ */
47
+ tradingStatementEntries: TradingStatementEntry[];
48
+ /**
49
+ *
50
+ * Token representing the currency in which the report values are denominated.
51
+ *
52
+ * @generated from field: meshtrade.type.v1.Token reporting_currency = 4;
53
+ */
54
+ reportingCurrency?: Token;
55
+ /**
56
+ *
57
+ * The period covered by this report.
58
+ *
59
+ * @generated from field: meshtrade.reporting.account_report.v1.AccountReport.Period period = 5;
60
+ */
61
+ period?: AccountReport_Period;
62
+ /**
63
+ *
64
+ * Timestamp indicating when this report was generated.
65
+ *
66
+ * @generated from field: google.protobuf.Timestamp generation_date = 6;
67
+ */
68
+ generationDate?: Timestamp;
69
+ /**
70
+ *
71
+ * Account number for which this account report applies.
72
+ *
73
+ * @generated from field: string account_number = 7;
74
+ */
75
+ accountNumber: string;
76
+ /**
77
+ *
78
+ * Optional disclaimers or notices to accompany the report.
79
+ *
80
+ * @generated from field: repeated meshtrade.reporting.account_report.v1.Disclaimer disclaimers = 8;
81
+ */
82
+ disclaimers: Disclaimer[];
83
+ /**
84
+ *
85
+ * Address details of the client for whom the report is generated.
86
+ *
87
+ * @generated from field: meshtrade.type.v1.Address client_address = 9;
88
+ */
89
+ clientAddress?: Address;
90
+ /**
91
+ *
92
+ * Name of the client associated with this report.
93
+ *
94
+ * @generated from field: string client_name = 10;
95
+ */
96
+ clientName: string;
97
+ /**
98
+ *
99
+ * Copyright or attribution text related to this account report.
100
+ *
101
+ * @generated from field: string copyright = 11;
102
+ */
103
+ copyright: string;
104
+ };
105
+ /**
106
+ * Describes the message meshtrade.reporting.account_report.v1.AccountReport.
107
+ * Use `create(AccountReportSchema)` to create a new message.
108
+ */
109
+ export declare const AccountReportSchema: GenMessage<AccountReport>;
110
+ /**
111
+ *
112
+ * Reporting period for which this account report was generated.
113
+ *
114
+ * @generated from message meshtrade.reporting.account_report.v1.AccountReport.Period
115
+ */
116
+ export type AccountReport_Period = Message<"meshtrade.reporting.account_report.v1.AccountReport.Period"> & {
117
+ /**
118
+ *
119
+ * Start timestamp (inclusive) of the reporting period.
120
+ *
121
+ * @generated from field: google.protobuf.Timestamp period_start = 1;
122
+ */
123
+ periodStart?: Timestamp;
124
+ /**
125
+ *
126
+ * End timestamp (inclusive) of the reporting period.
127
+ *
128
+ * @generated from field: google.protobuf.Timestamp period_end = 2;
129
+ */
130
+ periodEnd?: Timestamp;
131
+ };
132
+ /**
133
+ * Describes the message meshtrade.reporting.account_report.v1.AccountReport.Period.
134
+ * Use `create(AccountReport_PeriodSchema)` to create a new message.
135
+ */
136
+ export declare const AccountReport_PeriodSchema: GenMessage<AccountReport_Period>;
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ // @generated by protoc-gen-es v2.10.1 with parameter "target=ts"
3
+ // @generated from file meshtrade/reporting/account_report/v1/account_report.proto (package meshtrade.reporting.account_report.v1, syntax proto3)
4
+ /* eslint-disable */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.AccountReport_PeriodSchema = exports.AccountReportSchema = exports.file_meshtrade_reporting_account_report_v1_account_report = void 0;
7
+ const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
8
+ const wkt_1 = require("@bufbuild/protobuf/wkt");
9
+ const token_pb_1 = require("../../../type/v1/token_pb");
10
+ const address_pb_1 = require("../../../type/v1/address_pb");
11
+ const fee_entry_pb_1 = require("./fee_entry_pb");
12
+ const income_entry_pb_1 = require("./income_entry_pb");
13
+ const trading_statement_entry_pb_1 = require("./trading_statement_entry_pb");
14
+ const disclaimer_pb_1 = require("./disclaimer_pb");
15
+ /**
16
+ * Describes the file meshtrade/reporting/account_report/v1/account_report.proto.
17
+ */
18
+ exports.file_meshtrade_reporting_account_report_v1_account_report = (0, codegenv2_1.fileDesc)("CjptZXNodHJhZGUvcmVwb3J0aW5nL2FjY291bnRfcmVwb3J0L3YxL2FjY291bnRfcmVwb3J0LnByb3RvEiVtZXNodHJhZGUucmVwb3J0aW5nLmFjY291bnRfcmVwb3J0LnYxIuIFCg1BY2NvdW50UmVwb3J0EkoKDmluY29tZV9lbnRyaWVzGAEgAygLMjIubWVzaHRyYWRlLnJlcG9ydGluZy5hY2NvdW50X3JlcG9ydC52MS5JbmNvbWVFbnRyeRJECgtmZWVfZW50cmllcxgCIAMoCzIvLm1lc2h0cmFkZS5yZXBvcnRpbmcuYWNjb3VudF9yZXBvcnQudjEuRmVlRW50cnkSXwoZdHJhZGluZ19zdGF0ZW1lbnRfZW50cmllcxgDIAMoCzI8Lm1lc2h0cmFkZS5yZXBvcnRpbmcuYWNjb3VudF9yZXBvcnQudjEuVHJhZGluZ1N0YXRlbWVudEVudHJ5EjQKEnJlcG9ydGluZ19jdXJyZW5jeRgEIAEoCzIYLm1lc2h0cmFkZS50eXBlLnYxLlRva2VuEksKBnBlcmlvZBgFIAEoCzI7Lm1lc2h0cmFkZS5yZXBvcnRpbmcuYWNjb3VudF9yZXBvcnQudjEuQWNjb3VudFJlcG9ydC5QZXJpb2QSMwoPZ2VuZXJhdGlvbl9kYXRlGAYgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIWCg5hY2NvdW50X251bWJlchgHIAEoCRJGCgtkaXNjbGFpbWVycxgIIAMoCzIxLm1lc2h0cmFkZS5yZXBvcnRpbmcuYWNjb3VudF9yZXBvcnQudjEuRGlzY2xhaW1lchIyCg5jbGllbnRfYWRkcmVzcxgJIAEoCzIaLm1lc2h0cmFkZS50eXBlLnYxLkFkZHJlc3MSEwoLY2xpZW50X25hbWUYCiABKAkSEQoJY29weXJpZ2h0GAsgASgJGmoKBlBlcmlvZBIwCgxwZXJpb2Rfc3RhcnQYASABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEi4KCnBlcmlvZF9lbmQYAiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wQnkKLGNvLm1lc2h0cmFkZS5hcGkucmVwb3J0aW5nLmFjY291bnRfcmVwb3J0LnYxWklnaXRodWIuY29tL21lc2h0cmFkZS9hcGkvZ28vcmVwb3J0aW5nL2FjY291bnRfcmVwb3J0L3YxO2FjY291bnRfcmVwb3J0X3YxYgZwcm90bzM", [wkt_1.file_google_protobuf_timestamp, token_pb_1.file_meshtrade_type_v1_token, address_pb_1.file_meshtrade_type_v1_address, fee_entry_pb_1.file_meshtrade_reporting_account_report_v1_fee_entry, income_entry_pb_1.file_meshtrade_reporting_account_report_v1_income_entry, trading_statement_entry_pb_1.file_meshtrade_reporting_account_report_v1_trading_statement_entry, disclaimer_pb_1.file_meshtrade_reporting_account_report_v1_disclaimer]);
19
+ /**
20
+ * Describes the message meshtrade.reporting.account_report.v1.AccountReport.
21
+ * Use `create(AccountReportSchema)` to create a new message.
22
+ */
23
+ exports.AccountReportSchema = (0, codegenv2_1.messageDesc)(exports.file_meshtrade_reporting_account_report_v1_account_report, 0);
24
+ /**
25
+ * Describes the message meshtrade.reporting.account_report.v1.AccountReport.Period.
26
+ * Use `create(AccountReport_PeriodSchema)` to create a new message.
27
+ */
28
+ exports.AccountReport_PeriodSchema = (0, codegenv2_1.messageDesc)(exports.file_meshtrade_reporting_account_report_v1_account_report, 0, 0);
@@ -0,0 +1,39 @@
1
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
2
+ import type { Message } from "@bufbuild/protobuf";
3
+ /**
4
+ * Describes the file meshtrade/reporting/account_report/v1/disclaimer.proto.
5
+ */
6
+ export declare const file_meshtrade_reporting_account_report_v1_disclaimer: GenFile;
7
+ /**
8
+ *
9
+ * Disclaimer represents supplementary information included in an account report.
10
+ *
11
+ * Disclaimers provide legal, financial, or interpretive context related to
12
+ * the contents of the report. They may explain assumptions, limitations, or
13
+ * external factors relevant to the presented data.
14
+ *
15
+ * @generated from message meshtrade.reporting.account_report.v1.Disclaimer
16
+ */
17
+ export type Disclaimer = Message<"meshtrade.reporting.account_report.v1.Disclaimer"> & {
18
+ /**
19
+ *
20
+ * Short heading summarizing the nature of the disclaimer.
21
+ * Example: "Preliminary Data" or "Currency Conversion Note".
22
+ *
23
+ * @generated from field: string title = 1;
24
+ */
25
+ title: string;
26
+ /**
27
+ *
28
+ * Detailed explanation or qualification text describing the disclaimer.
29
+ * Can include notes about data accuracy, external dependencies, or reporting assumptions.
30
+ *
31
+ * @generated from field: string description = 2;
32
+ */
33
+ description: string;
34
+ };
35
+ /**
36
+ * Describes the message meshtrade.reporting.account_report.v1.Disclaimer.
37
+ * Use `create(DisclaimerSchema)` to create a new message.
38
+ */
39
+ export declare const DisclaimerSchema: GenMessage<Disclaimer>;
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ // @generated by protoc-gen-es v2.10.1 with parameter "target=ts"
3
+ // @generated from file meshtrade/reporting/account_report/v1/disclaimer.proto (package meshtrade.reporting.account_report.v1, syntax proto3)
4
+ /* eslint-disable */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.DisclaimerSchema = exports.file_meshtrade_reporting_account_report_v1_disclaimer = void 0;
7
+ const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
8
+ /**
9
+ * Describes the file meshtrade/reporting/account_report/v1/disclaimer.proto.
10
+ */
11
+ exports.file_meshtrade_reporting_account_report_v1_disclaimer = (0, codegenv2_1.fileDesc)("CjZtZXNodHJhZGUvcmVwb3J0aW5nL2FjY291bnRfcmVwb3J0L3YxL2Rpc2NsYWltZXIucHJvdG8SJW1lc2h0cmFkZS5yZXBvcnRpbmcuYWNjb3VudF9yZXBvcnQudjEiMAoKRGlzY2xhaW1lchINCgV0aXRsZRgBIAEoCRITCgtkZXNjcmlwdGlvbhgCIAEoCUJ5Cixjby5tZXNodHJhZGUuYXBpLnJlcG9ydGluZy5hY2NvdW50X3JlcG9ydC52MVpJZ2l0aHViLmNvbS9tZXNodHJhZGUvYXBpL2dvL3JlcG9ydGluZy9hY2NvdW50X3JlcG9ydC92MTthY2NvdW50X3JlcG9ydF92MWIGcHJvdG8z");
12
+ /**
13
+ * Describes the message meshtrade.reporting.account_report.v1.Disclaimer.
14
+ * Use `create(DisclaimerSchema)` to create a new message.
15
+ */
16
+ exports.DisclaimerSchema = (0, codegenv2_1.messageDesc)(exports.file_meshtrade_reporting_account_report_v1_disclaimer, 0);
@@ -0,0 +1,66 @@
1
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
2
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
3
+ import type { Amount } from "../../../type/v1/amount_pb";
4
+ import type { Message } from "@bufbuild/protobuf";
5
+ /**
6
+ * Describes the file meshtrade/reporting/account_report/v1/fee_entry.proto.
7
+ */
8
+ export declare const file_meshtrade_reporting_account_report_v1_fee_entry: GenFile;
9
+ /**
10
+ *
11
+ * FeeEntry represents a single fee transaction in an account report.
12
+ *
13
+ * Each entry captures details about fees charged including the transaction date,
14
+ * identifier, description, and amounts in both the original and reporting currencies.
15
+ *
16
+ * @generated from message meshtrade.reporting.account_report.v1.FeeEntry
17
+ */
18
+ export type FeeEntry = Message<"meshtrade.reporting.account_report.v1.FeeEntry"> & {
19
+ /**
20
+ *
21
+ * The date and time when the fee was charged.
22
+ *
23
+ * @generated from field: google.protobuf.Timestamp transaction_date = 1;
24
+ */
25
+ transactionDate?: Timestamp;
26
+ /**
27
+ *
28
+ * The unique identifier for the fee transaction.
29
+ *
30
+ * @generated from field: string transaction_id = 2;
31
+ */
32
+ transactionId: string;
33
+ /**
34
+ *
35
+ * A description of the fee type (e.g., "Trading Fee", "Network Fee", "Service Charge").
36
+ *
37
+ * @generated from field: string description = 3;
38
+ */
39
+ description: string;
40
+ /**
41
+ *
42
+ * The transaction amount in the original currency.
43
+ *
44
+ * @generated from field: meshtrade.type.v1.Amount amount = 4;
45
+ */
46
+ amount?: Amount;
47
+ /**
48
+ *
49
+ * The equivalent value of the fee in the report's reporting currency.
50
+ *
51
+ * @generated from field: meshtrade.type.v1.Amount reported_currency_value = 5;
52
+ */
53
+ reportedCurrencyValue?: Amount;
54
+ /**
55
+ *
56
+ * The currency code of the original fee token (e.g., "mZAR", "yXLM").
57
+ *
58
+ * @generated from field: string token_currency = 6;
59
+ */
60
+ tokenCurrency: string;
61
+ };
62
+ /**
63
+ * Describes the message meshtrade.reporting.account_report.v1.FeeEntry.
64
+ * Use `create(FeeEntrySchema)` to create a new message.
65
+ */
66
+ export declare const FeeEntrySchema: GenMessage<FeeEntry>;
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ // @generated by protoc-gen-es v2.10.1 with parameter "target=ts"
3
+ // @generated from file meshtrade/reporting/account_report/v1/fee_entry.proto (package meshtrade.reporting.account_report.v1, syntax proto3)
4
+ /* eslint-disable */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.FeeEntrySchema = exports.file_meshtrade_reporting_account_report_v1_fee_entry = void 0;
7
+ const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
8
+ const wkt_1 = require("@bufbuild/protobuf/wkt");
9
+ const amount_pb_1 = require("../../../type/v1/amount_pb");
10
+ /**
11
+ * Describes the file meshtrade/reporting/account_report/v1/fee_entry.proto.
12
+ */
13
+ exports.file_meshtrade_reporting_account_report_v1_fee_entry = (0, codegenv2_1.fileDesc)("CjVtZXNodHJhZGUvcmVwb3J0aW5nL2FjY291bnRfcmVwb3J0L3YxL2ZlZV9lbnRyeS5wcm90bxIlbWVzaHRyYWRlLnJlcG9ydGluZy5hY2NvdW50X3JlcG9ydC52MSLsAQoIRmVlRW50cnkSNAoQdHJhbnNhY3Rpb25fZGF0ZRgBIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASFgoOdHJhbnNhY3Rpb25faWQYAiABKAkSEwoLZGVzY3JpcHRpb24YAyABKAkSKQoGYW1vdW50GAQgASgLMhkubWVzaHRyYWRlLnR5cGUudjEuQW1vdW50EjoKF3JlcG9ydGVkX2N1cnJlbmN5X3ZhbHVlGAUgASgLMhkubWVzaHRyYWRlLnR5cGUudjEuQW1vdW50EhYKDnRva2VuX2N1cnJlbmN5GAYgASgJQnkKLGNvLm1lc2h0cmFkZS5hcGkucmVwb3J0aW5nLmFjY291bnRfcmVwb3J0LnYxWklnaXRodWIuY29tL21lc2h0cmFkZS9hcGkvZ28vcmVwb3J0aW5nL2FjY291bnRfcmVwb3J0L3YxO2FjY291bnRfcmVwb3J0X3YxYgZwcm90bzM", [wkt_1.file_google_protobuf_timestamp, amount_pb_1.file_meshtrade_type_v1_amount]);
14
+ /**
15
+ * Describes the message meshtrade.reporting.account_report.v1.FeeEntry.
16
+ * Use `create(FeeEntrySchema)` to create a new message.
17
+ */
18
+ exports.FeeEntrySchema = (0, codegenv2_1.messageDesc)(exports.file_meshtrade_reporting_account_report_v1_fee_entry, 0);
@@ -0,0 +1,139 @@
1
+ import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
2
+ import type { Token } from "../../../type/v1/token_pb";
3
+ import type { Amount } from "../../../type/v1/amount_pb";
4
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
5
+ import type { Message } from "@bufbuild/protobuf";
6
+ /**
7
+ * Describes the file meshtrade/reporting/account_report/v1/income_entry.proto.
8
+ */
9
+ export declare const file_meshtrade_reporting_account_report_v1_income_entry: GenFile;
10
+ /**
11
+ *
12
+ * IncomeEntry represents a single income line item in an account report.
13
+ *
14
+ * Each entry captures a dated transaction or earning event related to a specific asset
15
+ * and token. It includes contextual metadata (description and narrative), the original
16
+ * amount, and its equivalent value in the report's specified reporting currency.
17
+ *
18
+ * @generated from message meshtrade.reporting.account_report.v1.IncomeEntry
19
+ */
20
+ export type IncomeEntry = Message<"meshtrade.reporting.account_report.v1.IncomeEntry"> & {
21
+ /**
22
+ *
23
+ * Human-readable name of the asset associated with this entry.
24
+ * Used for display and identification purposes.
25
+ *
26
+ * @generated from field: string asset_name = 1;
27
+ */
28
+ assetName: string;
29
+ /**
30
+ *
31
+ * Token representing the currency or asset in which the original amount is denominated.
32
+ *
33
+ * @generated from field: meshtrade.type.v1.Token token = 2;
34
+ */
35
+ token?: Token;
36
+ /**
37
+ *
38
+ * Timestamp representing the date the income event occurred or was recorded.
39
+ *
40
+ * @generated from field: google.protobuf.Timestamp date = 3;
41
+ */
42
+ date?: Timestamp;
43
+ /**
44
+ *
45
+ * Short description or label for the entry (e.g. "Interest", "Trading Fees").
46
+ * Intended to summarize the nature of the transaction.
47
+ *
48
+ * @generated from field: string description = 4;
49
+ */
50
+ description: string;
51
+ /**
52
+ *
53
+ * Extended narrative or context for the income entry, often including
54
+ * source details or explanatory information.
55
+ *
56
+ * @generated from field: meshtrade.reporting.account_report.v1.IncomeNarrative narrative = 5;
57
+ */
58
+ narrative: IncomeNarrative;
59
+ /**
60
+ *
61
+ * Original income amount in the native token specified.
62
+ *
63
+ * @generated from field: meshtrade.type.v1.Amount amount = 6;
64
+ */
65
+ amount?: Amount;
66
+ /**
67
+ *
68
+ * Equivalent value of the income in the reporting currency,
69
+ * as defined by the report context.
70
+ *
71
+ * @generated from field: meshtrade.type.v1.Amount reported_currency_value = 7;
72
+ */
73
+ reportedCurrencyValue?: Amount;
74
+ };
75
+ /**
76
+ * Describes the message meshtrade.reporting.account_report.v1.IncomeEntry.
77
+ * Use `create(IncomeEntrySchema)` to create a new message.
78
+ */
79
+ export declare const IncomeEntrySchema: GenMessage<IncomeEntry>;
80
+ /**
81
+ * @generated from enum meshtrade.reporting.account_report.v1.IncomeNarrative
82
+ */
83
+ export declare enum IncomeNarrative {
84
+ /**
85
+ *
86
+ * Default unspecified narrative type.
87
+ * Used when the narrative category is unknown or not applicable.
88
+ *
89
+ * @generated from enum value: INCOME_NARRATIVE_UNSPECIFIED = 0;
90
+ */
91
+ UNSPECIFIED = 0,
92
+ /**
93
+ *
94
+ * Indicates income derived from yield-generating activities,
95
+ * such as staking, lending, or liquidity provision.
96
+ *
97
+ * @generated from enum value: INCOME_NARRATIVE_YIELD = 1;
98
+ */
99
+ YIELD = 1,
100
+ /**
101
+ *
102
+ * Income received from dividends paid out by a company.
103
+ *
104
+ * @generated from enum value: INCOME_NARRATIVE_DIVIDEND = 2;
105
+ */
106
+ DIVIDEND = 2,
107
+ /**
108
+ *
109
+ * Income earned from interest on loans or other debt instruments.
110
+ *
111
+ * @generated from enum value: INCOME_NARRATIVE_INTEREST = 3;
112
+ */
113
+ INTEREST = 3,
114
+ /**
115
+ *
116
+ * The original amount of a loan or investment, not including any interest or appreciation.
117
+ *
118
+ * @generated from enum value: INCOME_NARRATIVE_PRINCIPAL = 4;
119
+ */
120
+ PRINCIPAL = 4,
121
+ /**
122
+ *
123
+ * A general distribution of funds or assets.
124
+ *
125
+ * @generated from enum value: INCOME_NARRATIVE_DISTRIBUTION = 5;
126
+ */
127
+ DISTRIBUTION = 5,
128
+ /**
129
+ *
130
+ * A distribution of profits to shareholders or partners.
131
+ *
132
+ * @generated from enum value: INCOME_NARRATIVE_PROFIT_DISTRIBUTION = 6;
133
+ */
134
+ PROFIT_DISTRIBUTION = 6
135
+ }
136
+ /**
137
+ * Describes the enum meshtrade.reporting.account_report.v1.IncomeNarrative.
138
+ */
139
+ export declare const IncomeNarrativeSchema: GenEnum<IncomeNarrative>;
@@ -0,0 +1,80 @@
1
+ "use strict";
2
+ // @generated by protoc-gen-es v2.10.1 with parameter "target=ts"
3
+ // @generated from file meshtrade/reporting/account_report/v1/income_entry.proto (package meshtrade.reporting.account_report.v1, syntax proto3)
4
+ /* eslint-disable */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.IncomeNarrativeSchema = exports.IncomeNarrative = exports.IncomeEntrySchema = exports.file_meshtrade_reporting_account_report_v1_income_entry = void 0;
7
+ const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
8
+ const token_pb_1 = require("../../../type/v1/token_pb");
9
+ const amount_pb_1 = require("../../../type/v1/amount_pb");
10
+ const wkt_1 = require("@bufbuild/protobuf/wkt");
11
+ /**
12
+ * Describes the file meshtrade/reporting/account_report/v1/income_entry.proto.
13
+ */
14
+ exports.file_meshtrade_reporting_account_report_v1_income_entry = (0, codegenv2_1.fileDesc)("CjhtZXNodHJhZGUvcmVwb3J0aW5nL2FjY291bnRfcmVwb3J0L3YxL2luY29tZV9lbnRyeS5wcm90bxIlbWVzaHRyYWRlLnJlcG9ydGluZy5hY2NvdW50X3JlcG9ydC52MSK7AgoLSW5jb21lRW50cnkSEgoKYXNzZXRfbmFtZRgBIAEoCRInCgV0b2tlbhgCIAEoCzIYLm1lc2h0cmFkZS50eXBlLnYxLlRva2VuEigKBGRhdGUYAyABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEhMKC2Rlc2NyaXB0aW9uGAQgASgJEkkKCW5hcnJhdGl2ZRgFIAEoDjI2Lm1lc2h0cmFkZS5yZXBvcnRpbmcuYWNjb3VudF9yZXBvcnQudjEuSW5jb21lTmFycmF0aXZlEikKBmFtb3VudBgGIAEoCzIZLm1lc2h0cmFkZS50eXBlLnYxLkFtb3VudBI6ChdyZXBvcnRlZF9jdXJyZW5jeV92YWx1ZRgHIAEoCzIZLm1lc2h0cmFkZS50eXBlLnYxLkFtb3VudCr6AQoPSW5jb21lTmFycmF0aXZlEiAKHElOQ09NRV9OQVJSQVRJVkVfVU5TUEVDSUZJRUQQABIaChZJTkNPTUVfTkFSUkFUSVZFX1lJRUxEEAESHQoZSU5DT01FX05BUlJBVElWRV9ESVZJREVORBACEh0KGUlOQ09NRV9OQVJSQVRJVkVfSU5URVJFU1QQAxIeChpJTkNPTUVfTkFSUkFUSVZFX1BSSU5DSVBBTBAEEiEKHUlOQ09NRV9OQVJSQVRJVkVfRElTVFJJQlVUSU9OEAUSKAokSU5DT01FX05BUlJBVElWRV9QUk9GSVRfRElTVFJJQlVUSU9OEAZCeQosY28ubWVzaHRyYWRlLmFwaS5yZXBvcnRpbmcuYWNjb3VudF9yZXBvcnQudjFaSWdpdGh1Yi5jb20vbWVzaHRyYWRlL2FwaS9nby9yZXBvcnRpbmcvYWNjb3VudF9yZXBvcnQvdjE7YWNjb3VudF9yZXBvcnRfdjFiBnByb3RvMw", [token_pb_1.file_meshtrade_type_v1_token, amount_pb_1.file_meshtrade_type_v1_amount, wkt_1.file_google_protobuf_timestamp]);
15
+ /**
16
+ * Describes the message meshtrade.reporting.account_report.v1.IncomeEntry.
17
+ * Use `create(IncomeEntrySchema)` to create a new message.
18
+ */
19
+ exports.IncomeEntrySchema = (0, codegenv2_1.messageDesc)(exports.file_meshtrade_reporting_account_report_v1_income_entry, 0);
20
+ /**
21
+ * @generated from enum meshtrade.reporting.account_report.v1.IncomeNarrative
22
+ */
23
+ var IncomeNarrative;
24
+ (function (IncomeNarrative) {
25
+ /**
26
+ *
27
+ * Default unspecified narrative type.
28
+ * Used when the narrative category is unknown or not applicable.
29
+ *
30
+ * @generated from enum value: INCOME_NARRATIVE_UNSPECIFIED = 0;
31
+ */
32
+ IncomeNarrative[IncomeNarrative["UNSPECIFIED"] = 0] = "UNSPECIFIED";
33
+ /**
34
+ *
35
+ * Indicates income derived from yield-generating activities,
36
+ * such as staking, lending, or liquidity provision.
37
+ *
38
+ * @generated from enum value: INCOME_NARRATIVE_YIELD = 1;
39
+ */
40
+ IncomeNarrative[IncomeNarrative["YIELD"] = 1] = "YIELD";
41
+ /**
42
+ *
43
+ * Income received from dividends paid out by a company.
44
+ *
45
+ * @generated from enum value: INCOME_NARRATIVE_DIVIDEND = 2;
46
+ */
47
+ IncomeNarrative[IncomeNarrative["DIVIDEND"] = 2] = "DIVIDEND";
48
+ /**
49
+ *
50
+ * Income earned from interest on loans or other debt instruments.
51
+ *
52
+ * @generated from enum value: INCOME_NARRATIVE_INTEREST = 3;
53
+ */
54
+ IncomeNarrative[IncomeNarrative["INTEREST"] = 3] = "INTEREST";
55
+ /**
56
+ *
57
+ * The original amount of a loan or investment, not including any interest or appreciation.
58
+ *
59
+ * @generated from enum value: INCOME_NARRATIVE_PRINCIPAL = 4;
60
+ */
61
+ IncomeNarrative[IncomeNarrative["PRINCIPAL"] = 4] = "PRINCIPAL";
62
+ /**
63
+ *
64
+ * A general distribution of funds or assets.
65
+ *
66
+ * @generated from enum value: INCOME_NARRATIVE_DISTRIBUTION = 5;
67
+ */
68
+ IncomeNarrative[IncomeNarrative["DISTRIBUTION"] = 5] = "DISTRIBUTION";
69
+ /**
70
+ *
71
+ * A distribution of profits to shareholders or partners.
72
+ *
73
+ * @generated from enum value: INCOME_NARRATIVE_PROFIT_DISTRIBUTION = 6;
74
+ */
75
+ IncomeNarrative[IncomeNarrative["PROFIT_DISTRIBUTION"] = 6] = "PROFIT_DISTRIBUTION";
76
+ })(IncomeNarrative || (exports.IncomeNarrative = IncomeNarrative = {}));
77
+ /**
78
+ * Describes the enum meshtrade.reporting.account_report.v1.IncomeNarrative.
79
+ */
80
+ exports.IncomeNarrativeSchema = (0, codegenv2_1.enumDesc)(exports.file_meshtrade_reporting_account_report_v1_income_entry, 0);
@@ -0,0 +1,7 @@
1
+ export * from "./account_report_pb";
2
+ export * from "./disclaimer_pb";
3
+ export * from "./fee_entry_pb";
4
+ export * from "./income_entry_pb";
5
+ export * from "./service_node_meshts";
6
+ export * from "./service_pb";
7
+ export * from "./trading_statement_entry_pb";
@@ -0,0 +1,48 @@
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("./account_report_pb"), exports);
30
+ __exportStar(require("./disclaimer_pb"), exports);
31
+ __exportStar(require("./fee_entry_pb"), exports);
32
+ __exportStar(require("./income_entry_pb"), exports);
33
+ __exportStar(require("./service_node_meshts"), exports);
34
+ __exportStar(require("./service_pb"), exports);
35
+ __exportStar(require("./trading_statement_entry_pb"), exports);
36
+ // ===================================================================
37
+ // END OF AUTO-GENERATED SECTION
38
+ // ===================================================================
39
+ //
40
+ // MANUAL EXPORTS - ADD YOUR CUSTOM EXPORTS BELOW
41
+ //
42
+ // You can safely add your own export statements in this section.
43
+ // They will be preserved across code generation.
44
+ //
45
+ // Example:
46
+ // export * from "./my_custom_module";
47
+ // export { MyCustomClass } from "./another_module";
48
+ // ===================================================================
@@ -0,0 +1,72 @@
1
+ import { Interceptor } from "@connectrpc/connect";
2
+ import { GetAccountReportRequest, GetExcelAccountReportRequest, GetExcelAccountReportResponse } from "./service_pb";
3
+ import { AccountReport } from "./account_report_pb";
4
+ import { ConfigOpts } from "../../../common/config";
5
+ /**
6
+ * Node.js client for interacting with the meshtrade.reporting.account_report.v1 account report v1 API resource service.
7
+ * Uses Connect-ES with gRPC transport for Node.js gRPC communication.
8
+ *
9
+ * Supports three authentication modes:
10
+ *
11
+ * 1. **No Authentication** (public APIs):
12
+ * ```typescript
13
+ * const client = new AccountReportServiceNode({ apiServerURL: "http://localhost:10000" });
14
+ * ```
15
+ *
16
+ * 2. **API Key Authentication** (backend services):
17
+ * ```typescript
18
+ * const client = new AccountReportServiceNode({
19
+ * apiServerURL: "https://api.example.com",
20
+ * apiKey: "your-api-key",
21
+ * group: "groups/01ARZ3NDEKTSV4YWVF8F5BH32"
22
+ * });
23
+ * ```
24
+ *
25
+ * 3. **JWT Token Authentication** (Next.js backend with user session):
26
+ * ```typescript
27
+ * const client = new AccountReportServiceNode({
28
+ * apiServerURL: "https://api.example.com",
29
+ * jwtToken: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
30
+ * });
31
+ * ```
32
+ */
33
+ export declare class AccountReportServiceNode {
34
+ private _client;
35
+ private readonly _config;
36
+ private readonly _interceptors;
37
+ /**
38
+ * Constructs an instance of AccountReportServiceNode.
39
+ * @param {ConfigOpts} [config] - Optional configuration for the client.
40
+ * @param {Interceptor[]} [interceptors] - For internal use by `withGroup`.
41
+ */
42
+ constructor(config?: ConfigOpts, interceptors?: Interceptor[]);
43
+ /**
44
+ * Returns a new client instance configured to send the specified group
45
+ * resource name in the request headers for subsequent API calls.
46
+ *
47
+ * **Important**: This method only works with API key authentication.
48
+ * - For **API key auth**: Creates a new client with updated group context
49
+ * - For **JWT auth**: Throws error (group comes from JWT token claims)
50
+ * - For **no auth**: Throws error (group requires authentication)
51
+ *
52
+ * @param {string} group - The operating group context to inject into the request
53
+ * in the format `groups/{ulid}` where {ulid} is a 26-character ULID.
54
+ * Example: 'groups/01ARZ3NDEKTSV4YWVF8F5BH32'
55
+ * @returns {AccountReportServiceNode} A new, configured instance of the client.
56
+ * @throws {Error} If used with JWT authentication or no authentication
57
+ * @throws {Error} If the group format is invalid
58
+ */
59
+ withGroup(group: string): AccountReportServiceNode;
60
+ /**
61
+ * Retrieves an account report.
62
+ * @param {GetAccountReportRequest} request - The request object for getaccountreport.
63
+ * @returns {Promise<AccountReport>} A promise that resolves with the account report.
64
+ */
65
+ getAccountReport(request: GetAccountReportRequest): Promise<AccountReport>;
66
+ /**
67
+ * Retrieves an account report.
68
+ * @param {GetExcelAccountReportRequest} request - The request object for getexcelaccountreport.
69
+ * @returns {Promise<GetExcelAccountReportResponse>} A promise that resolves with the account report.
70
+ */
71
+ getExcelAccountReport(request: GetExcelAccountReportRequest): Promise<GetExcelAccountReportResponse>;
72
+ }