@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,72 @@
1
+ "use strict";
2
+ // @generated by protoc-gen-meshts v1
3
+ // @generated from file meshtrade/market_data/price/v1/service.proto (package meshtrade.market_data.price.v1, syntax proto3)
4
+ /* eslint-disable */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.PriceServiceWeb = void 0;
7
+ const connect_1 = require("@connectrpc/connect");
8
+ const connect_web_1 = require("@connectrpc/connect-web");
9
+ const service_pb_1 = require("./service_pb");
10
+ const config_1 = require("../../../common/config");
11
+ const validation_1 = require("../../../common/validation");
12
+ const connectInterceptors_1 = require("../../../common/connectInterceptors");
13
+ /**
14
+ * Web client for interacting with the meshtrade.market_data.price.v1 price v1 API resource service.
15
+ * Uses Connect-ES with gRPC-Web transport for browser-compatible gRPC communication.
16
+ */
17
+ class PriceServiceWeb {
18
+ /**
19
+ * Constructs an instance of PriceServiceWeb.
20
+ * @param {ConfigOpts} [config] - Optional configuration for the client.
21
+ * @param {Interceptor[]} [interceptors] - For internal use by `withGroup`.
22
+ */
23
+ constructor(config, interceptors) {
24
+ this._config = (0, config_1.getConfigFromOpts)(config);
25
+ this._interceptors = interceptors || [];
26
+ // Create the gRPC-Web transport with interceptors
27
+ const transport = (0, connect_web_1.createGrpcWebTransport)({
28
+ baseUrl: this._config.apiServerURL,
29
+ interceptors: this._interceptors,
30
+ // Enable credentials (cookies) for cross-origin requests
31
+ fetch: (input, init) => globalThis.fetch(input, { ...init, credentials: 'include' }),
32
+ });
33
+ // Construct the Connect-ES client
34
+ this._client = (0, connect_1.createClient)(service_pb_1.PriceService, transport);
35
+ }
36
+ /**
37
+ * Returns a new client instance configured to send the specified group
38
+ * resource name in the request headers for subsequent API calls.
39
+ *
40
+ * @param {string} group - The operating group context to inject into the request
41
+ * in the format `groups/{ulid}` where {ulid} is a 26-character ULID.
42
+ * Example: 'groups/01ARZ3NDEKTSV4YWVF8F5BH32'
43
+ * @returns {PriceServiceWeb} A new, configured instance of the client.
44
+ * @throws {Error} If the group format is invalid (validation occurs in createGroupInterceptor)
45
+ */
46
+ withGroup(group) {
47
+ // Check if a group interceptor already exists.
48
+ // Group interceptors are identified by having a 'groupContext' property
49
+ const hasGroupInterceptor = this._interceptors.some((interceptor) => interceptor.groupContext !== undefined);
50
+ if (hasGroupInterceptor) {
51
+ throw new Error("Attempted to set group context twice. A group has already been set for this client instance.");
52
+ }
53
+ // Create a new interceptor for the group context
54
+ const groupInterceptor = (0, connectInterceptors_1.createGroupInterceptor)(group);
55
+ // Return a new client instance with the existing interceptors plus the new one
56
+ return new PriceServiceWeb(this._config, [
57
+ ...this._interceptors,
58
+ groupInterceptor,
59
+ ]);
60
+ }
61
+ /**
62
+ * Retrieves a price.
63
+ * @param {GetCurrentPriceByTokenPairRequest} request - The request object for getcurrentpricebytokenpair.
64
+ * @returns {Promise<Price>} A promise that resolves with the price.
65
+ */
66
+ getCurrentPriceByTokenPair(request) {
67
+ // Validate request
68
+ (0, validation_1.validateRequest)(request);
69
+ return this._client.getCurrentPriceByTokenPair(request);
70
+ }
71
+ }
72
+ exports.PriceServiceWeb = PriceServiceWeb;
@@ -0,0 +1 @@
1
+ export * from "./method_options_pb";
@@ -0,0 +1,42 @@
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("./method_options_pb"), exports);
30
+ // ===================================================================
31
+ // END OF AUTO-GENERATED SECTION
32
+ // ===================================================================
33
+ //
34
+ // MANUAL EXPORTS - ADD YOUR CUSTOM EXPORTS BELOW
35
+ //
36
+ // You can safely add your own export statements in this section.
37
+ // They will be preserved across code generation.
38
+ //
39
+ // Example:
40
+ // export * from "./my_custom_module";
41
+ // export { MyCustomClass } from "./another_module";
42
+ // ===================================================================
@@ -0,0 +1,132 @@
1
+ import type { GenEnum, GenExtension, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
2
+ import type { MethodOptions as MethodOptions$1 } from "@bufbuild/protobuf/wkt";
3
+ import type { Role } from "../../../iam/role/v1/role_pb";
4
+ import type { Message } from "@bufbuild/protobuf";
5
+ /**
6
+ * Describes the file meshtrade/option/method_options/v1/method_options.proto.
7
+ */
8
+ export declare const file_meshtrade_option_method_options_v1_method_options: GenFile;
9
+ /**
10
+ *
11
+ * MethodOptions consolidates three authorization dimensions for RPC methods.
12
+ *
13
+ * @generated from message meshtrade.option.method_options.v1.MethodOptions
14
+ */
15
+ export type MethodOptions = Message<"meshtrade.option.method_options.v1.MethodOptions"> & {
16
+ /**
17
+ *
18
+ * Method type: READ for queries, WRITE for mutations.
19
+ *
20
+ * @generated from field: meshtrade.option.method_options.v1.MethodType type = 1;
21
+ */
22
+ type: MethodType;
23
+ /**
24
+ *
25
+ * Access level: Defines authentication header requirements.
26
+ * PUBLIC allows anonymous, AUTHORISED requires key + group.
27
+ *
28
+ * @generated from field: meshtrade.option.method_options.v1.MethodAccessLevel access_level = 2;
29
+ */
30
+ accessLevel: MethodAccessLevel;
31
+ /**
32
+ *
33
+ * Roles that grant access to this method.
34
+ * Used for access control checking if group header is required and/or given.
35
+ *
36
+ * @generated from field: repeated meshtrade.iam.role.v1.Role roles = 3;
37
+ */
38
+ roles: Role[];
39
+ };
40
+ /**
41
+ * Describes the message meshtrade.option.method_options.v1.MethodOptions.
42
+ * Use `create(MethodOptionsSchema)` to create a new message.
43
+ */
44
+ export declare const MethodOptionsSchema: GenMessage<MethodOptions>;
45
+ /**
46
+ *
47
+ * MethodType classifies operations by their effect on system state.
48
+ *
49
+ * READ: Safe, idempotent read operations.
50
+ * Examples: Get, List, Search operations.
51
+ *
52
+ * WRITE: Operations that modify state.
53
+ * Examples: Create, Update, Delete, Activate, Deactivate operations.
54
+ *
55
+ * @generated from enum meshtrade.option.method_options.v1.MethodType
56
+ */
57
+ export declare enum MethodType {
58
+ /**
59
+ *
60
+ * Default value, should not be used. All methods must declare READ or WRITE.
61
+ *
62
+ * @generated from enum value: METHOD_TYPE_UNSPECIFIED = 0;
63
+ */
64
+ UNSPECIFIED = 0,
65
+ /**
66
+ *
67
+ * Safe, idempotent operation that does not change system state.
68
+ * Typically granted to both *_ADMIN and *_VIEWER roles.
69
+ *
70
+ * @generated from enum value: METHOD_TYPE_READ = 1;
71
+ */
72
+ READ = 1,
73
+ /**
74
+ *
75
+ * Operation that may change system state.
76
+ * Typically granted only to *_ADMIN roles.
77
+ *
78
+ * @generated from enum value: METHOD_TYPE_WRITE = 2;
79
+ */
80
+ WRITE = 2
81
+ }
82
+ /**
83
+ * Describes the enum meshtrade.option.method_options.v1.MethodType.
84
+ */
85
+ export declare const MethodTypeSchema: GenEnum<MethodType>;
86
+ /**
87
+ *
88
+ * MethodAccessLevel defines authentication header requirements for API methods.
89
+ *
90
+ * Specifies whether x-api-key and x-group headers are required and how executing
91
+ * group context is determined. Controls anonymous access, authentication requirements,
92
+ * and role authorization checks.
93
+ *
94
+ * @generated from enum meshtrade.option.method_options.v1.MethodAccessLevel
95
+ */
96
+ export declare enum MethodAccessLevel {
97
+ /**
98
+ *
99
+ * Default value, should not be used.
100
+ *
101
+ * @generated from enum value: METHOD_ACCESS_LEVEL_UNSPECIFIED = 0;
102
+ */
103
+ UNSPECIFIED = 0,
104
+ /**
105
+ *
106
+ * x-api-key: optional (if provided must be valid and identify an active API user).
107
+ * x-group: ignored
108
+ *
109
+ * Allows unauthenticated access. If credentials provided, authentication and role checks enforced.
110
+ *
111
+ * @generated from enum value: METHOD_ACCESS_LEVEL_PUBLIC = 1;
112
+ */
113
+ PUBLIC = 1,
114
+ /**
115
+ *
116
+ * x-api-key: required
117
+ * x-group: required
118
+ *
119
+ * Requires both valid API key and explicit group context. Most secure and explicit.
120
+ *
121
+ * @generated from enum value: METHOD_ACCESS_LEVEL_AUTHORISED = 2;
122
+ */
123
+ AUTHORISED = 2
124
+ }
125
+ /**
126
+ * Describes the enum meshtrade.option.method_options.v1.MethodAccessLevel.
127
+ */
128
+ export declare const MethodAccessLevelSchema: GenEnum<MethodAccessLevel>;
129
+ /**
130
+ * @generated from extension: meshtrade.option.method_options.v1.MethodOptions method_options = 50006;
131
+ */
132
+ export declare const method_options: GenExtension<MethodOptions$1, MethodOptions>;
@@ -0,0 +1,108 @@
1
+ "use strict";
2
+ // @generated by protoc-gen-es v2.10.1 with parameter "target=ts"
3
+ // @generated from file meshtrade/option/method_options/v1/method_options.proto (package meshtrade.option.method_options.v1, syntax proto3)
4
+ /* eslint-disable */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.method_options = exports.MethodAccessLevelSchema = exports.MethodAccessLevel = exports.MethodTypeSchema = exports.MethodType = exports.MethodOptionsSchema = exports.file_meshtrade_option_method_options_v1_method_options = void 0;
7
+ const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
8
+ const wkt_1 = require("@bufbuild/protobuf/wkt");
9
+ const role_pb_1 = require("../../../iam/role/v1/role_pb");
10
+ /**
11
+ * Describes the file meshtrade/option/method_options/v1/method_options.proto.
12
+ */
13
+ exports.file_meshtrade_option_method_options_v1_method_options = (0, codegenv2_1.fileDesc)("CjdtZXNodHJhZGUvb3B0aW9uL21ldGhvZF9vcHRpb25zL3YxL21ldGhvZF9vcHRpb25zLnByb3RvEiJtZXNodHJhZGUub3B0aW9uLm1ldGhvZF9vcHRpb25zLnYxIsYBCg1NZXRob2RPcHRpb25zEjwKBHR5cGUYASABKA4yLi5tZXNodHJhZGUub3B0aW9uLm1ldGhvZF9vcHRpb25zLnYxLk1ldGhvZFR5cGUSSwoMYWNjZXNzX2xldmVsGAIgASgOMjUubWVzaHRyYWRlLm9wdGlvbi5tZXRob2Rfb3B0aW9ucy52MS5NZXRob2RBY2Nlc3NMZXZlbBIqCgVyb2xlcxgDIAMoDjIbLm1lc2h0cmFkZS5pYW0ucm9sZS52MS5Sb2xlKlYKCk1ldGhvZFR5cGUSGwoXTUVUSE9EX1RZUEVfVU5TUEVDSUZJRUQQABIUChBNRVRIT0RfVFlQRV9SRUFEEAESFQoRTUVUSE9EX1RZUEVfV1JJVEUQAip8ChFNZXRob2RBY2Nlc3NMZXZlbBIjCh9NRVRIT0RfQUNDRVNTX0xFVkVMX1VOU1BFQ0lGSUVEEAASHgoaTUVUSE9EX0FDQ0VTU19MRVZFTF9QVUJMSUMQARIiCh5NRVRIT0RfQUNDRVNTX0xFVkVMX0FVVEhPUklTRUQQAjp6Cg5tZXRob2Rfb3B0aW9ucxIeLmdvb2dsZS5wcm90b2J1Zi5NZXRob2RPcHRpb25zGNaGAyABKAsyMS5tZXNodHJhZGUub3B0aW9uLm1ldGhvZF9vcHRpb25zLnYxLk1ldGhvZE9wdGlvbnNSDW1ldGhvZE9wdGlvbnNCcwopY28ubWVzaHRyYWRlLmFwaS5vcHRpb24ubWV0aG9kX29wdGlvbnMudjFaRmdpdGh1Yi5jb20vbWVzaHRyYWRlL2FwaS9nby9vcHRpb24vbWV0aG9kX29wdGlvbnMvdjE7bWV0aG9kX29wdGlvbnNfdjFiBnByb3RvMw", [wkt_1.file_google_protobuf_descriptor, role_pb_1.file_meshtrade_iam_role_v1_role]);
14
+ /**
15
+ * Describes the message meshtrade.option.method_options.v1.MethodOptions.
16
+ * Use `create(MethodOptionsSchema)` to create a new message.
17
+ */
18
+ exports.MethodOptionsSchema = (0, codegenv2_1.messageDesc)(exports.file_meshtrade_option_method_options_v1_method_options, 0);
19
+ /**
20
+ *
21
+ * MethodType classifies operations by their effect on system state.
22
+ *
23
+ * READ: Safe, idempotent read operations.
24
+ * Examples: Get, List, Search operations.
25
+ *
26
+ * WRITE: Operations that modify state.
27
+ * Examples: Create, Update, Delete, Activate, Deactivate operations.
28
+ *
29
+ * @generated from enum meshtrade.option.method_options.v1.MethodType
30
+ */
31
+ var MethodType;
32
+ (function (MethodType) {
33
+ /**
34
+ *
35
+ * Default value, should not be used. All methods must declare READ or WRITE.
36
+ *
37
+ * @generated from enum value: METHOD_TYPE_UNSPECIFIED = 0;
38
+ */
39
+ MethodType[MethodType["UNSPECIFIED"] = 0] = "UNSPECIFIED";
40
+ /**
41
+ *
42
+ * Safe, idempotent operation that does not change system state.
43
+ * Typically granted to both *_ADMIN and *_VIEWER roles.
44
+ *
45
+ * @generated from enum value: METHOD_TYPE_READ = 1;
46
+ */
47
+ MethodType[MethodType["READ"] = 1] = "READ";
48
+ /**
49
+ *
50
+ * Operation that may change system state.
51
+ * Typically granted only to *_ADMIN roles.
52
+ *
53
+ * @generated from enum value: METHOD_TYPE_WRITE = 2;
54
+ */
55
+ MethodType[MethodType["WRITE"] = 2] = "WRITE";
56
+ })(MethodType || (exports.MethodType = MethodType = {}));
57
+ /**
58
+ * Describes the enum meshtrade.option.method_options.v1.MethodType.
59
+ */
60
+ exports.MethodTypeSchema = (0, codegenv2_1.enumDesc)(exports.file_meshtrade_option_method_options_v1_method_options, 0);
61
+ /**
62
+ *
63
+ * MethodAccessLevel defines authentication header requirements for API methods.
64
+ *
65
+ * Specifies whether x-api-key and x-group headers are required and how executing
66
+ * group context is determined. Controls anonymous access, authentication requirements,
67
+ * and role authorization checks.
68
+ *
69
+ * @generated from enum meshtrade.option.method_options.v1.MethodAccessLevel
70
+ */
71
+ var MethodAccessLevel;
72
+ (function (MethodAccessLevel) {
73
+ /**
74
+ *
75
+ * Default value, should not be used.
76
+ *
77
+ * @generated from enum value: METHOD_ACCESS_LEVEL_UNSPECIFIED = 0;
78
+ */
79
+ MethodAccessLevel[MethodAccessLevel["UNSPECIFIED"] = 0] = "UNSPECIFIED";
80
+ /**
81
+ *
82
+ * x-api-key: optional (if provided must be valid and identify an active API user).
83
+ * x-group: ignored
84
+ *
85
+ * Allows unauthenticated access. If credentials provided, authentication and role checks enforced.
86
+ *
87
+ * @generated from enum value: METHOD_ACCESS_LEVEL_PUBLIC = 1;
88
+ */
89
+ MethodAccessLevel[MethodAccessLevel["PUBLIC"] = 1] = "PUBLIC";
90
+ /**
91
+ *
92
+ * x-api-key: required
93
+ * x-group: required
94
+ *
95
+ * Requires both valid API key and explicit group context. Most secure and explicit.
96
+ *
97
+ * @generated from enum value: METHOD_ACCESS_LEVEL_AUTHORISED = 2;
98
+ */
99
+ MethodAccessLevel[MethodAccessLevel["AUTHORISED"] = 2] = "AUTHORISED";
100
+ })(MethodAccessLevel || (exports.MethodAccessLevel = MethodAccessLevel = {}));
101
+ /**
102
+ * Describes the enum meshtrade.option.method_options.v1.MethodAccessLevel.
103
+ */
104
+ exports.MethodAccessLevelSchema = (0, codegenv2_1.enumDesc)(exports.file_meshtrade_option_method_options_v1_method_options, 1);
105
+ /**
106
+ * @generated from extension: meshtrade.option.method_options.v1.MethodOptions method_options = 50006;
107
+ */
108
+ exports.method_options = (0, codegenv2_1.extDesc)(exports.file_meshtrade_option_method_options_v1_method_options, 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);