@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.
- package/README.md +68 -0
- package/dist/buf/validate/validate_pb.d.ts +4597 -0
- package/dist/buf/validate/validate_pb.js +354 -0
- package/dist/google/type/date_pb.d.ts +52 -0
- package/dist/google/type/date_pb.js +26 -0
- package/dist/meshtrade/common/config.d.ts +7 -0
- package/dist/meshtrade/common/config.js +9 -0
- package/dist/meshtrade/common/connectInterceptors.d.ts +73 -0
- package/dist/meshtrade/common/connectInterceptors.js +126 -0
- package/dist/meshtrade/common/validation.d.ts +62 -0
- package/dist/meshtrade/common/validation.js +77 -0
- package/dist/meshtrade/compliance/client/v1/client_pb.d.ts +138 -0
- package/dist/meshtrade/compliance/client/v1/client_pb.js +23 -0
- package/dist/meshtrade/compliance/client/v1/company_pb.d.ts +313 -0
- package/dist/meshtrade/compliance/client/v1/company_pb.js +100 -0
- package/dist/meshtrade/compliance/client/v1/company_representative_pb.d.ts +81 -0
- package/dist/meshtrade/compliance/client/v1/company_representative_pb.js +22 -0
- package/dist/meshtrade/compliance/client/v1/company_representative_role_pb.d.ts +88 -0
- package/dist/meshtrade/compliance/client/v1/company_representative_role_pb.js +95 -0
- package/dist/meshtrade/compliance/client/v1/fund_pb.d.ts +65 -0
- package/dist/meshtrade/compliance/client/v1/fund_pb.js +18 -0
- package/dist/meshtrade/compliance/client/v1/identification_document_type_pb.d.ts +55 -0
- package/dist/meshtrade/compliance/client/v1/identification_document_type_pb.js +62 -0
- package/dist/meshtrade/compliance/client/v1/index.d.ts +16 -0
- package/dist/meshtrade/compliance/client/v1/index.js +59 -0
- package/dist/meshtrade/compliance/client/v1/industry_classification_pb.d.ts +86 -0
- package/dist/meshtrade/compliance/client/v1/industry_classification_pb.js +16 -0
- package/dist/meshtrade/compliance/client/v1/natural_person_connection_type_pb.d.ts +133 -0
- package/dist/meshtrade/compliance/client/v1/natural_person_connection_type_pb.js +140 -0
- package/dist/meshtrade/compliance/client/v1/natural_person_pb.d.ts +143 -0
- package/dist/meshtrade/compliance/client/v1/natural_person_pb.js +24 -0
- package/dist/meshtrade/compliance/client/v1/pep_status_pb.d.ts +46 -0
- package/dist/meshtrade/compliance/client/v1/pep_status_pb.js +53 -0
- package/dist/meshtrade/compliance/client/v1/service_pb.d.ts +123 -0
- package/dist/meshtrade/compliance/client/v1/service_pb.js +45 -0
- package/dist/meshtrade/compliance/client/v1/service_web_meshts.d.ts +48 -0
- package/dist/meshtrade/compliance/client/v1/service_web_meshts.js +92 -0
- package/dist/meshtrade/compliance/client/v1/source_of_income_and_wealth_pb.d.ts +180 -0
- package/dist/meshtrade/compliance/client/v1/source_of_income_and_wealth_pb.js +187 -0
- package/dist/meshtrade/compliance/client/v1/tax_residency_pb.d.ts +40 -0
- package/dist/meshtrade/compliance/client/v1/tax_residency_pb.js +17 -0
- package/dist/meshtrade/compliance/client/v1/trust_pb.d.ts +65 -0
- package/dist/meshtrade/compliance/client/v1/trust_pb.js +18 -0
- package/dist/meshtrade/compliance/client/v1/verification_status_pb.d.ts +57 -0
- package/dist/meshtrade/compliance/client/v1/verification_status_pb.js +64 -0
- package/dist/meshtrade/iam/api_user/v1/api_credentials_pb.d.ts +43 -0
- package/dist/meshtrade/iam/api_user/v1/api_credentials_pb.js +17 -0
- package/dist/meshtrade/iam/api_user/v1/api_user_pb.d.ts +152 -0
- package/dist/meshtrade/iam/api_user/v1/api_user_pb.js +95 -0
- package/dist/meshtrade/iam/api_user/v1/index.d.ts +4 -0
- package/dist/meshtrade/iam/api_user/v1/index.js +45 -0
- package/dist/meshtrade/iam/api_user/v1/service_pb.d.ts +343 -0
- package/dist/meshtrade/iam/api_user/v1/service_pb.js +86 -0
- package/dist/meshtrade/iam/api_user/v1/service_web_meshts.d.ts +84 -0
- package/dist/meshtrade/iam/api_user/v1/service_web_meshts.js +152 -0
- package/dist/meshtrade/iam/group/v1/group_pb.d.ts +58 -0
- package/dist/meshtrade/iam/group/v1/group_pb.js +17 -0
- package/dist/meshtrade/iam/group/v1/index.d.ts +3 -0
- package/dist/meshtrade/iam/group/v1/index.js +44 -0
- package/dist/meshtrade/iam/group/v1/service_pb.d.ts +306 -0
- package/dist/meshtrade/iam/group/v1/service_pb.js +75 -0
- package/dist/meshtrade/iam/group/v1/service_web_meshts.d.ts +60 -0
- package/dist/meshtrade/iam/group/v1/service_web_meshts.js +112 -0
- package/dist/meshtrade/iam/role/v1/index.d.ts +2 -0
- package/dist/meshtrade/iam/role/v1/index.js +43 -0
- package/dist/meshtrade/iam/role/v1/role.d.ts +71 -0
- package/dist/meshtrade/iam/role/v1/role.js +192 -0
- package/dist/meshtrade/iam/role/v1/role_pb.d.ts +164 -0
- package/dist/meshtrade/iam/role/v1/role_pb.js +171 -0
- package/dist/meshtrade/iam/user/v1/index.d.ts +3 -0
- package/dist/meshtrade/iam/user/v1/index.js +44 -0
- package/dist/meshtrade/iam/user/v1/service_pb.d.ts +379 -0
- package/dist/meshtrade/iam/user/v1/service_pb.js +90 -0
- package/dist/meshtrade/iam/user/v1/service_web_meshts.d.ts +78 -0
- package/dist/meshtrade/iam/user/v1/service_web_meshts.js +142 -0
- package/dist/meshtrade/iam/user/v1/user_pb.d.ts +58 -0
- package/dist/meshtrade/iam/user/v1/user_pb.js +17 -0
- package/dist/meshtrade/ledger/transaction/v1/index.d.ts +5 -0
- package/dist/meshtrade/ledger/transaction/v1/index.js +46 -0
- package/dist/meshtrade/ledger/transaction/v1/service_pb.d.ts +102 -0
- package/dist/meshtrade/ledger/transaction/v1/service_pb.js +41 -0
- package/dist/meshtrade/ledger/transaction/v1/service_web_meshts.d.ts +50 -0
- package/dist/meshtrade/ledger/transaction/v1/service_web_meshts.js +91 -0
- package/dist/meshtrade/ledger/transaction/v1/transaction_action_pb.d.ts +46 -0
- package/dist/meshtrade/ledger/transaction/v1/transaction_action_pb.js +53 -0
- package/dist/meshtrade/ledger/transaction/v1/transaction_state.d.ts +14 -0
- package/dist/meshtrade/ledger/transaction/v1/transaction_state.js +64 -0
- package/dist/meshtrade/ledger/transaction/v1/transaction_state_pb.d.ts +50 -0
- package/dist/meshtrade/ledger/transaction/v1/transaction_state_pb.js +57 -0
- package/dist/meshtrade/market_data/price/v1/index.d.ts +3 -0
- package/dist/meshtrade/market_data/price/v1/index.js +44 -0
- package/dist/meshtrade/market_data/price/v1/price_pb.d.ts +50 -0
- package/dist/meshtrade/market_data/price/v1/price_pb.js +19 -0
- package/dist/meshtrade/market_data/price/v1/service_pb.d.ts +48 -0
- package/dist/meshtrade/market_data/price/v1/service_pb.js +27 -0
- package/dist/meshtrade/market_data/price/v1/service_web_meshts.d.ts +36 -0
- package/dist/meshtrade/market_data/price/v1/service_web_meshts.js +72 -0
- package/dist/meshtrade/option/method_options/v1/index.d.ts +1 -0
- package/dist/meshtrade/option/method_options/v1/index.js +42 -0
- package/dist/meshtrade/option/method_options/v1/method_options_pb.d.ts +132 -0
- package/dist/meshtrade/option/method_options/v1/method_options_pb.js +108 -0
- package/dist/meshtrade/reporting/account_report/v1/account_report_pb.d.ts +136 -0
- package/dist/meshtrade/reporting/account_report/v1/account_report_pb.js +28 -0
- package/dist/meshtrade/reporting/account_report/v1/disclaimer_pb.d.ts +39 -0
- package/dist/meshtrade/reporting/account_report/v1/disclaimer_pb.js +16 -0
- package/dist/meshtrade/reporting/account_report/v1/fee_entry_pb.d.ts +66 -0
- package/dist/meshtrade/reporting/account_report/v1/fee_entry_pb.js +18 -0
- package/dist/meshtrade/reporting/account_report/v1/income_entry_pb.d.ts +139 -0
- package/dist/meshtrade/reporting/account_report/v1/income_entry_pb.js +80 -0
- package/dist/meshtrade/reporting/account_report/v1/index.d.ts +7 -0
- package/dist/meshtrade/reporting/account_report/v1/index.js +48 -0
- package/dist/meshtrade/reporting/account_report/v1/service_pb.d.ts +162 -0
- package/dist/meshtrade/reporting/account_report/v1/service_pb.js +46 -0
- package/dist/meshtrade/reporting/account_report/v1/service_web_meshts.d.ts +42 -0
- package/dist/meshtrade/reporting/account_report/v1/service_web_meshts.js +82 -0
- package/dist/meshtrade/reporting/account_report/v1/trading_statement_entry_pb.d.ts +80 -0
- package/dist/meshtrade/reporting/account_report/v1/trading_statement_entry_pb.js +18 -0
- package/dist/meshtrade/studio/instrument/v1/index.d.ts +3 -0
- package/dist/meshtrade/studio/instrument/v1/index.js +44 -0
- package/dist/meshtrade/studio/instrument/v1/instrument_pb.d.ts +53 -0
- package/dist/meshtrade/studio/instrument/v1/instrument_pb.js +18 -0
- package/dist/meshtrade/studio/instrument/v1/instrument_type_pb.d.ts +214 -0
- package/dist/meshtrade/studio/instrument/v1/instrument_type_pb.js +221 -0
- package/dist/meshtrade/studio/instrument/v1/unit_pb.d.ts +148 -0
- package/dist/meshtrade/studio/instrument/v1/unit_pb.js +155 -0
- package/dist/meshtrade/trading/limit_order/v1/index.d.ts +3 -0
- package/dist/meshtrade/trading/limit_order/v1/index.js +44 -0
- package/dist/meshtrade/trading/limit_order/v1/limit_order_pb.d.ts +211 -0
- package/dist/meshtrade/trading/limit_order/v1/limit_order_pb.js +111 -0
- package/dist/meshtrade/trading/limit_order/v1/service_pb.d.ts +357 -0
- package/dist/meshtrade/trading/limit_order/v1/service_pb.js +73 -0
- package/dist/meshtrade/trading/limit_order/v1/service_web_meshts.d.ts +81 -0
- package/dist/meshtrade/trading/limit_order/v1/service_web_meshts.js +141 -0
- package/dist/meshtrade/trading/market_order/v1/index.d.ts +3 -0
- package/dist/meshtrade/trading/market_order/v1/index.js +44 -0
- package/dist/meshtrade/trading/market_order/v1/market_order_pb.d.ts +20 -0
- package/dist/meshtrade/trading/market_order/v1/market_order_pb.js +16 -0
- package/dist/meshtrade/trading/market_order/v1/service_pb.d.ts +34 -0
- package/dist/meshtrade/trading/market_order/v1/service_pb.js +22 -0
- package/dist/meshtrade/trading/market_order/v1/service_web_meshts.d.ts +36 -0
- package/dist/meshtrade/trading/market_order/v1/service_web_meshts.js +72 -0
- package/dist/meshtrade/type/v1/address_pb.d.ts +82 -0
- package/dist/meshtrade/type/v1/address_pb.js +16 -0
- package/dist/meshtrade/type/v1/amount.d.ts +13 -0
- package/dist/meshtrade/type/v1/amount.js +68 -0
- package/dist/meshtrade/type/v1/amountWrapper.d.ts +74 -0
- package/dist/meshtrade/type/v1/amountWrapper.js +98 -0
- package/dist/meshtrade/type/v1/amount_pb.d.ts +44 -0
- package/dist/meshtrade/type/v1/amount_pb.js +18 -0
- package/dist/meshtrade/type/v1/contact_details_pb.d.ts +98 -0
- package/dist/meshtrade/type/v1/contact_details_pb.js +16 -0
- package/dist/meshtrade/type/v1/date.d.ts +49 -0
- package/dist/meshtrade/type/v1/date.js +136 -0
- package/dist/meshtrade/type/v1/date_pb.d.ts +50 -0
- package/dist/meshtrade/type/v1/date_pb.js +16 -0
- package/dist/meshtrade/type/v1/decimalConversions.d.ts +24 -0
- package/dist/meshtrade/type/v1/decimalConversions.js +39 -0
- package/dist/meshtrade/type/v1/decimal_pb.d.ts +24 -0
- package/dist/meshtrade/type/v1/decimal_pb.js +16 -0
- package/dist/meshtrade/type/v1/index.d.ts +15 -0
- package/dist/meshtrade/type/v1/index.js +56 -0
- package/dist/meshtrade/type/v1/ledger.d.ts +27 -0
- package/dist/meshtrade/type/v1/ledger.js +115 -0
- package/dist/meshtrade/type/v1/ledger_pb.d.ts +83 -0
- package/dist/meshtrade/type/v1/ledger_pb.js +90 -0
- package/dist/meshtrade/type/v1/sorting_pb.d.ts +35 -0
- package/dist/meshtrade/type/v1/sorting_pb.js +42 -0
- package/dist/meshtrade/type/v1/time_of_day.d.ts +74 -0
- package/dist/meshtrade/type/v1/time_of_day.js +199 -0
- package/dist/meshtrade/type/v1/time_of_day_pb.d.ts +67 -0
- package/dist/meshtrade/type/v1/time_of_day_pb.js +16 -0
- package/dist/meshtrade/type/v1/token.d.ts +4 -0
- package/dist/meshtrade/type/v1/token.js +23 -0
- package/dist/meshtrade/type/v1/tokenWrapper.d.ts +49 -0
- package/dist/meshtrade/type/v1/tokenWrapper.js +92 -0
- package/dist/meshtrade/type/v1/token_pb.d.ts +56 -0
- package/dist/meshtrade/type/v1/token_pb.js +17 -0
- package/dist/meshtrade/wallet/account/v1/account_pb.d.ts +264 -0
- package/dist/meshtrade/wallet/account/v1/account_pb.js +74 -0
- package/dist/meshtrade/wallet/account/v1/index.d.ts +3 -0
- package/dist/meshtrade/wallet/account/v1/index.js +44 -0
- package/dist/meshtrade/wallet/account/v1/service_pb.d.ts +559 -0
- package/dist/meshtrade/wallet/account/v1/service_pb.js +112 -0
- package/dist/meshtrade/wallet/account/v1/service_web_meshts.d.ts +84 -0
- package/dist/meshtrade/wallet/account/v1/service_web_meshts.js +152 -0
- package/package.json +171 -0
|
@@ -0,0 +1,80 @@
|
|
|
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/trading_statement_entry.proto.
|
|
7
|
+
*/
|
|
8
|
+
export declare const file_meshtrade_reporting_account_report_v1_trading_statement_entry: GenFile;
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
* TradingStatementEntry represents a single, immutable transaction record in a user's account statement.
|
|
12
|
+
* It provides a detailed breakdown of each transaction, including the asset involved, transaction type,
|
|
13
|
+
* amount, price, and resulting balance.
|
|
14
|
+
*
|
|
15
|
+
* @generated from message meshtrade.reporting.account_report.v1.TradingStatementEntry
|
|
16
|
+
*/
|
|
17
|
+
export type TradingStatementEntry = Message<"meshtrade.reporting.account_report.v1.TradingStatementEntry"> & {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* The exact date and time when the transaction was processed.
|
|
21
|
+
*
|
|
22
|
+
* @generated from field: google.protobuf.Timestamp transaction_date = 1;
|
|
23
|
+
*/
|
|
24
|
+
transactionDate?: Timestamp;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* A unique identifier for the transaction, ensuring each entry is distinct and traceable.
|
|
28
|
+
*
|
|
29
|
+
* @generated from field: string transaction_id = 2;
|
|
30
|
+
*/
|
|
31
|
+
transactionId: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* The specific token involved in the transaction (e.g., "mZAR", "yXLM").
|
|
35
|
+
*
|
|
36
|
+
* @generated from field: string token_code = 3;
|
|
37
|
+
*/
|
|
38
|
+
tokenCode: string;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* A human-readable description of the transaction type, such as "Deposit," "Withdrawal," or "Trade."
|
|
42
|
+
*
|
|
43
|
+
* @generated from field: string description = 4;
|
|
44
|
+
*/
|
|
45
|
+
description: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* The quantity of the token transacted. A positive value indicates an increase in the asset,
|
|
49
|
+
* while a negative value indicates a decrease.
|
|
50
|
+
*
|
|
51
|
+
* @generated from field: meshtrade.type.v1.Amount amount = 5;
|
|
52
|
+
*/
|
|
53
|
+
amount?: Amount;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* The price per unit of the token at the time of the transaction. This is used to calculate the total cost.
|
|
57
|
+
*
|
|
58
|
+
* @generated from field: meshtrade.type.v1.Amount price = 6;
|
|
59
|
+
*/
|
|
60
|
+
price?: Amount;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* The total value of the transaction, calculated as amount * price.
|
|
64
|
+
*
|
|
65
|
+
* @generated from field: meshtrade.type.v1.Amount cost = 7;
|
|
66
|
+
*/
|
|
67
|
+
cost?: Amount;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* The remaining balance of the token in the account after the transaction was completed.
|
|
71
|
+
*
|
|
72
|
+
* @generated from field: meshtrade.type.v1.Amount balance = 8;
|
|
73
|
+
*/
|
|
74
|
+
balance?: Amount;
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* Describes the message meshtrade.reporting.account_report.v1.TradingStatementEntry.
|
|
78
|
+
* Use `create(TradingStatementEntrySchema)` to create a new message.
|
|
79
|
+
*/
|
|
80
|
+
export declare const TradingStatementEntrySchema: GenMessage<TradingStatementEntry>;
|
|
@@ -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/trading_statement_entry.proto (package meshtrade.reporting.account_report.v1, syntax proto3)
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.TradingStatementEntrySchema = exports.file_meshtrade_reporting_account_report_v1_trading_statement_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/trading_statement_entry.proto.
|
|
12
|
+
*/
|
|
13
|
+
exports.file_meshtrade_reporting_account_report_v1_trading_statement_entry = (0, codegenv2_1.fileDesc)("CkNtZXNodHJhZGUvcmVwb3J0aW5nL2FjY291bnRfcmVwb3J0L3YxL3RyYWRpbmdfc3RhdGVtZW50X2VudHJ5LnByb3RvEiVtZXNodHJhZGUucmVwb3J0aW5nLmFjY291bnRfcmVwb3J0LnYxIrgCChVUcmFkaW5nU3RhdGVtZW50RW50cnkSNAoQdHJhbnNhY3Rpb25fZGF0ZRgBIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASFgoOdHJhbnNhY3Rpb25faWQYAiABKAkSEgoKdG9rZW5fY29kZRgDIAEoCRITCgtkZXNjcmlwdGlvbhgEIAEoCRIpCgZhbW91bnQYBSABKAsyGS5tZXNodHJhZGUudHlwZS52MS5BbW91bnQSKAoFcHJpY2UYBiABKAsyGS5tZXNodHJhZGUudHlwZS52MS5BbW91bnQSJwoEY29zdBgHIAEoCzIZLm1lc2h0cmFkZS50eXBlLnYxLkFtb3VudBIqCgdiYWxhbmNlGAggASgLMhkubWVzaHRyYWRlLnR5cGUudjEuQW1vdW50QnkKLGNvLm1lc2h0cmFkZS5hcGkucmVwb3J0aW5nLmFjY291bnRfcmVwb3J0LnYxWklnaXRodWIuY29tL21lc2h0cmFkZS9hcGkvZ28vcmVwb3J0aW5nL2FjY291bnRfcmVwb3J0L3YxO2FjY291bnRfcmVwb3J0X3YxYgZwcm90bzM", [wkt_1.file_google_protobuf_timestamp, amount_pb_1.file_meshtrade_type_v1_amount]);
|
|
14
|
+
/**
|
|
15
|
+
* Describes the message meshtrade.reporting.account_report.v1.TradingStatementEntry.
|
|
16
|
+
* Use `create(TradingStatementEntrySchema)` to create a new message.
|
|
17
|
+
*/
|
|
18
|
+
exports.TradingStatementEntrySchema = (0, codegenv2_1.messageDesc)(exports.file_meshtrade_reporting_account_report_v1_trading_statement_entry, 0);
|
|
@@ -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("./instrument_pb"), exports);
|
|
30
|
+
__exportStar(require("./instrument_type_pb"), exports);
|
|
31
|
+
__exportStar(require("./unit_pb"), 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,53 @@
|
|
|
1
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Token } from "../../../type/v1/token_pb";
|
|
3
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
4
|
+
/**
|
|
5
|
+
* Describes the file meshtrade/studio/instrument/v1/instrument.proto.
|
|
6
|
+
*/
|
|
7
|
+
export declare const file_meshtrade_studio_instrument_v1_instrument: GenFile;
|
|
8
|
+
/**
|
|
9
|
+
*
|
|
10
|
+
* An instrument structured in Mesh Studio.
|
|
11
|
+
*
|
|
12
|
+
* @generated from message meshtrade.studio.instrument.v1.Instrument
|
|
13
|
+
*/
|
|
14
|
+
export type Instrument = Message<"meshtrade.studio.instrument.v1.Instrument"> & {
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* Unique resource identifier in format groups/{ULIDv2}.
|
|
18
|
+
* Immutable and system-generated on creation.
|
|
19
|
+
* Ignored if provided on creation.
|
|
20
|
+
*
|
|
21
|
+
* @generated from field: string name = 1;
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* Parent group resource name establishing direct ownership.
|
|
27
|
+
* Defines the immediate hierarchical relationship.
|
|
28
|
+
* Required on creation.
|
|
29
|
+
*
|
|
30
|
+
* @generated from field: string owner = 2;
|
|
31
|
+
*/
|
|
32
|
+
owner: string;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* Human-readable name for organizational identification and display.
|
|
36
|
+
* User-configurable and non-unique across the system.
|
|
37
|
+
*
|
|
38
|
+
* @generated from field: string display_name = 4;
|
|
39
|
+
*/
|
|
40
|
+
displayName: string;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* The token in which this instrument is denominated.
|
|
44
|
+
*
|
|
45
|
+
* @generated from field: meshtrade.type.v1.Token token = 5;
|
|
46
|
+
*/
|
|
47
|
+
token?: Token;
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* Describes the message meshtrade.studio.instrument.v1.Instrument.
|
|
51
|
+
* Use `create(InstrumentSchema)` to create a new message.
|
|
52
|
+
*/
|
|
53
|
+
export declare const InstrumentSchema: GenMessage<Instrument>;
|
|
@@ -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/studio/instrument/v1/instrument.proto (package meshtrade.studio.instrument.v1, syntax proto3)
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.InstrumentSchema = exports.file_meshtrade_studio_instrument_v1_instrument = void 0;
|
|
7
|
+
const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
|
|
8
|
+
const validate_pb_1 = require("../../../../buf/validate/validate_pb");
|
|
9
|
+
const token_pb_1 = require("../../../type/v1/token_pb");
|
|
10
|
+
/**
|
|
11
|
+
* Describes the file meshtrade/studio/instrument/v1/instrument.proto.
|
|
12
|
+
*/
|
|
13
|
+
exports.file_meshtrade_studio_instrument_v1_instrument = (0, codegenv2_1.fileDesc)("Ci9tZXNodHJhZGUvc3R1ZGlvL2luc3RydW1lbnQvdjEvaW5zdHJ1bWVudC5wcm90bxIebWVzaHRyYWRlLnN0dWRpby5pbnN0cnVtZW50LnYxItoCCgpJbnN0cnVtZW50ErYBCgRuYW1lGAEgASgJQqcBukijAboBnwEKFG5hbWUuZm9ybWF0Lm9wdGlvbmFsEjNuYW1lIG11c3QgYmUgZW1wdHkgb3IgaW4gdGhlIGZvcm1hdCBncm91cHMve1VMSUR2Mn0aUnNpemUodGhpcykgPT0gMCB8fCB0aGlzLm1hdGNoZXMoJ15ncm91cHMvWzAxMjM0NTY3ODlBQkNERUZHSEpLTU5QUVJTVFZXWFlaXXsyNn0kJykSSAoFb3duZXIYAiABKAlCObpINnI0Mi9eZ3JvdXBzL1swMTIzNDU2Nzg5QUJDREVGR0hKS01OUFFSU1RWV1hZWl17MjZ9JJgBIRIgCgxkaXNwbGF5X25hbWUYBCABKAlCCrpIB3IFEAEY/wESJwoFdG9rZW4YBSABKAsyGC5tZXNodHJhZGUudHlwZS52MS5Ub2tlbkJnCiVjby5tZXNodHJhZGUuYXBpLnN0dWRpby5pbnN0cnVtZW50LnYxWj5naXRodWIuY29tL21lc2h0cmFkZS9hcGkvZ28vc3R1ZGlvL2luc3RydW1lbnQvdjE7aW5zdHJ1bWVudF92MWIGcHJvdG8z", [validate_pb_1.file_buf_validate_validate, token_pb_1.file_meshtrade_type_v1_token]);
|
|
14
|
+
/**
|
|
15
|
+
* Describes the message meshtrade.studio.instrument.v1.Instrument.
|
|
16
|
+
* Use `create(InstrumentSchema)` to create a new message.
|
|
17
|
+
*/
|
|
18
|
+
exports.InstrumentSchema = (0, codegenv2_1.messageDesc)(exports.file_meshtrade_studio_instrument_v1_instrument, 0);
|
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
import type { GenEnum, GenFile } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
/**
|
|
3
|
+
* Describes the file meshtrade/studio/instrument/v1/instrument_type.proto.
|
|
4
|
+
*/
|
|
5
|
+
export declare const file_meshtrade_studio_instrument_v1_instrument_type: GenFile;
|
|
6
|
+
/**
|
|
7
|
+
*
|
|
8
|
+
* The type of an instrument structured in Mesh Studio. This enum categorizes
|
|
9
|
+
* various financial instruments and assets available on the platform, providing
|
|
10
|
+
* a standardized way to identify them.
|
|
11
|
+
*
|
|
12
|
+
* @generated from enum meshtrade.studio.instrument.v1.InstrumentType
|
|
13
|
+
*/
|
|
14
|
+
export declare enum InstrumentType {
|
|
15
|
+
/**
|
|
16
|
+
* The instrument type is not specified. This is the default value and
|
|
17
|
+
* should be treated as an error or an uninitialized state.
|
|
18
|
+
*
|
|
19
|
+
* @generated from enum value: INSTRUMENT_TYPE_UNSPECIFIED = 0;
|
|
20
|
+
*/
|
|
21
|
+
UNSPECIFIED = 0,
|
|
22
|
+
/**
|
|
23
|
+
* A catch-all for any instrument type not explicitly listed in this enum.
|
|
24
|
+
* Use this for miscellaneous or newly introduced asset types.
|
|
25
|
+
*
|
|
26
|
+
* @generated from enum value: INSTRUMENT_TYPE_OTHER = 1;
|
|
27
|
+
*/
|
|
28
|
+
OTHER = 1,
|
|
29
|
+
/**
|
|
30
|
+
* Common equity in a corporation, also known as ordinary shares.
|
|
31
|
+
* Holders have ownership rights, including voting rights, and are entitled
|
|
32
|
+
* to a portion of profits through dividends and capital gains.
|
|
33
|
+
*
|
|
34
|
+
* @generated from enum value: INSTRUMENT_TYPE_SHARE = 2;
|
|
35
|
+
*/
|
|
36
|
+
SHARE = 2,
|
|
37
|
+
/**
|
|
38
|
+
* A class of share ownership with a higher claim on assets and earnings
|
|
39
|
+
* than common shares. Preference shares generally have a fixed dividend that
|
|
40
|
+
* must be paid out before dividends to common shareholders.
|
|
41
|
+
*
|
|
42
|
+
* @generated from enum value: INSTRUMENT_TYPE_PREFERENCE_SHARE = 3;
|
|
43
|
+
*/
|
|
44
|
+
PREFERENCE_SHARE = 3,
|
|
45
|
+
/**
|
|
46
|
+
* A fixed-income instrument representing a loan made by an investor to a
|
|
47
|
+
* borrower (typically corporate or governmental). The borrower pays interest
|
|
48
|
+
* (coupon) and repays the principal amount at a later date (maturity).
|
|
49
|
+
*
|
|
50
|
+
* @generated from enum value: INSTRUMENT_TYPE_BOND = 4;
|
|
51
|
+
*/
|
|
52
|
+
BOND = 4,
|
|
53
|
+
/**
|
|
54
|
+
* Exchange-Traded Fund. A type of pooled investment security that operates
|
|
55
|
+
* much like a mutual fund but trades like a stock on an exchange. ETFs
|
|
56
|
+
* hold assets such as stocks, commodities, or bonds and are typically
|
|
57
|
+
* designed to track an underlying index.
|
|
58
|
+
*
|
|
59
|
+
* @generated from enum value: INSTRUMENT_TYPE_ETF = 5;
|
|
60
|
+
*/
|
|
61
|
+
ETF = 5,
|
|
62
|
+
/**
|
|
63
|
+
* Exchange-Traded Note. A type of senior, unsecured debt security that
|
|
64
|
+
* tracks an underlying index of securities. ETNs do not own the underlying
|
|
65
|
+
* assets and are subject to the credit risk of the issuing institution.
|
|
66
|
+
*
|
|
67
|
+
* @generated from enum value: INSTRUMENT_TYPE_ETN = 6;
|
|
68
|
+
*/
|
|
69
|
+
ETN = 6,
|
|
70
|
+
/**
|
|
71
|
+
* Actively Managed Certificate. A structured product linked to an
|
|
72
|
+
* underlying portfolio or strategy. Unlike a typical index-tracking ETF,
|
|
73
|
+
* its portfolio is actively managed by an investment advisor.
|
|
74
|
+
*
|
|
75
|
+
* @generated from enum value: INSTRUMENT_TYPE_AMC = 7;
|
|
76
|
+
*/
|
|
77
|
+
AMC = 7,
|
|
78
|
+
/**
|
|
79
|
+
* An open-ended investment vehicle where funds from multiple investors are
|
|
80
|
+
* pooled to invest in a diversified portfolio of securities. Common in
|
|
81
|
+
* collective investment schemes.
|
|
82
|
+
*
|
|
83
|
+
* @generated from enum value: INSTRUMENT_TYPE_UNIT_TRUST = 8;
|
|
84
|
+
*/
|
|
85
|
+
UNIT_TRUST = 8,
|
|
86
|
+
/**
|
|
87
|
+
* A digital or virtual currency secured by cryptography.
|
|
88
|
+
* Examples include Bitcoin (BTC) and Ethereum (ETH).
|
|
89
|
+
*
|
|
90
|
+
* @generated from enum value: INSTRUMENT_TYPE_CRYPTO_CURRENCY = 9;
|
|
91
|
+
*/
|
|
92
|
+
CRYPTO_CURRENCY = 9,
|
|
93
|
+
/**
|
|
94
|
+
* Government-issued currency that is not backed by a physical commodity
|
|
95
|
+
* but by the government that issued it. Examples include the US Dollar
|
|
96
|
+
* (USD) and the Euro (EUR).
|
|
97
|
+
*
|
|
98
|
+
* @generated from enum value: INSTRUMENT_TYPE_FIAT_CURRENCY = 10;
|
|
99
|
+
*/
|
|
100
|
+
FIAT_CURRENCY = 10,
|
|
101
|
+
/**
|
|
102
|
+
* Rights to the financial value of a linked underlying.
|
|
103
|
+
*
|
|
104
|
+
* @generated from enum value: INSTRUMENT_TYPE_RIGHTS = 11;
|
|
105
|
+
*/
|
|
106
|
+
RIGHTS = 11,
|
|
107
|
+
/**
|
|
108
|
+
* Gold as a commodity. Can be invested in via physical bullion, futures,
|
|
109
|
+
* or other financial products tracking its price.
|
|
110
|
+
*
|
|
111
|
+
* @generated from enum value: INSTRUMENT_TYPE_GOLD = 12;
|
|
112
|
+
*/
|
|
113
|
+
GOLD = 12,
|
|
114
|
+
/**
|
|
115
|
+
* Silver as a commodity.
|
|
116
|
+
*
|
|
117
|
+
* @generated from enum value: INSTRUMENT_TYPE_SILVER = 13;
|
|
118
|
+
*/
|
|
119
|
+
SILVER = 13,
|
|
120
|
+
/**
|
|
121
|
+
* Platinum as a commodity.
|
|
122
|
+
*
|
|
123
|
+
* @generated from enum value: INSTRUMENT_TYPE_PLATINUM = 14;
|
|
124
|
+
*/
|
|
125
|
+
PLATINUM = 14,
|
|
126
|
+
/**
|
|
127
|
+
* Palladium as a commodity.
|
|
128
|
+
*
|
|
129
|
+
* @generated from enum value: INSTRUMENT_TYPE_PALLADIUM = 15;
|
|
130
|
+
*/
|
|
131
|
+
PALLADIUM = 15,
|
|
132
|
+
/**
|
|
133
|
+
* Crude oil, a key global energy commodity.
|
|
134
|
+
*
|
|
135
|
+
* @generated from enum value: INSTRUMENT_TYPE_CRUDE_OIL = 16;
|
|
136
|
+
*/
|
|
137
|
+
CRUDE_OIL = 16,
|
|
138
|
+
/**
|
|
139
|
+
* Natural gas, a major energy commodity.
|
|
140
|
+
*
|
|
141
|
+
* @generated from enum value: INSTRUMENT_TYPE_NATURAL_GAS = 17;
|
|
142
|
+
*/
|
|
143
|
+
NATURAL_GAS = 17,
|
|
144
|
+
/**
|
|
145
|
+
* Copper, an important industrial metal.
|
|
146
|
+
*
|
|
147
|
+
* @generated from enum value: INSTRUMENT_TYPE_COPPER = 18;
|
|
148
|
+
*/
|
|
149
|
+
COPPER = 18,
|
|
150
|
+
/**
|
|
151
|
+
* Corn, a major agricultural commodity.
|
|
152
|
+
*
|
|
153
|
+
* @generated from enum value: INSTRUMENT_TYPE_CORN = 19;
|
|
154
|
+
*/
|
|
155
|
+
CORN = 19,
|
|
156
|
+
/**
|
|
157
|
+
* Wheat, a staple agricultural commodity.
|
|
158
|
+
*
|
|
159
|
+
* @generated from enum value: INSTRUMENT_TYPE_WHEAT = 20;
|
|
160
|
+
*/
|
|
161
|
+
WHEAT = 20,
|
|
162
|
+
/**
|
|
163
|
+
* Soybeans, a key agricultural commodity used for food and animal feed.
|
|
164
|
+
*
|
|
165
|
+
* @generated from enum value: INSTRUMENT_TYPE_SOYBEANS = 21;
|
|
166
|
+
*/
|
|
167
|
+
SOYBEANS = 21,
|
|
168
|
+
/**
|
|
169
|
+
* A type of cryptocurrency designed to maintain a stable value by being
|
|
170
|
+
* pegged to a reference asset, such as a fiat currency (e.g., USD).
|
|
171
|
+
*
|
|
172
|
+
* @generated from enum value: INSTRUMENT_TYPE_FIAT_STABLECOIN = 22;
|
|
173
|
+
*/
|
|
174
|
+
FIAT_STABLECOIN = 22,
|
|
175
|
+
/**
|
|
176
|
+
* A mutual fund investing in highly liquid, short-term debt securities,
|
|
177
|
+
* cash, and cash equivalents.
|
|
178
|
+
*
|
|
179
|
+
* @generated from enum value: INSTRUMENT_TYPE_MONEY_MARKET_FUND = 23;
|
|
180
|
+
*/
|
|
181
|
+
MONEY_MARKET_FUND = 23,
|
|
182
|
+
/**
|
|
183
|
+
* A stablecoin collateralized by shares in a money market fund,
|
|
184
|
+
* representing a claim on the fund's underlying assets.
|
|
185
|
+
*
|
|
186
|
+
* @generated from enum value: INSTRUMENT_TYPE_MONEY_MARKET_FUND_STABLECOIN = 24;
|
|
187
|
+
*/
|
|
188
|
+
MONEY_MARKET_FUND_STABLECOIN = 24,
|
|
189
|
+
/**
|
|
190
|
+
* A tax-efficient investment vehicle, structured as a life insurance policy,
|
|
191
|
+
* that combines investment components with a nominal life insurance benefit.
|
|
192
|
+
*
|
|
193
|
+
* @generated from enum value: INSTRUMENT_TYPE_ENDOWMENT_WRAPPER = 25;
|
|
194
|
+
*/
|
|
195
|
+
ENDOWMENT_WRAPPER = 25,
|
|
196
|
+
/**
|
|
197
|
+
* A collective investment scheme that pools capital from multiple investors
|
|
198
|
+
* to purchase a diversified portfolio of securities.
|
|
199
|
+
*
|
|
200
|
+
* @generated from enum value: INSTRUMENT_TYPE_FUND = 26;
|
|
201
|
+
*/
|
|
202
|
+
FUND = 26,
|
|
203
|
+
/**
|
|
204
|
+
* A stablecoin collateralized by a portfolio of assets held within a fund,
|
|
205
|
+
* representing a claim on those assets.
|
|
206
|
+
*
|
|
207
|
+
* @generated from enum value: INSTRUMENT_TYPE_FUND_STABLECOIN = 27;
|
|
208
|
+
*/
|
|
209
|
+
FUND_STABLECOIN = 27
|
|
210
|
+
}
|
|
211
|
+
/**
|
|
212
|
+
* Describes the enum meshtrade.studio.instrument.v1.InstrumentType.
|
|
213
|
+
*/
|
|
214
|
+
export declare const InstrumentTypeSchema: GenEnum<InstrumentType>;
|
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// @generated by protoc-gen-es v2.10.1 with parameter "target=ts"
|
|
3
|
+
// @generated from file meshtrade/studio/instrument/v1/instrument_type.proto (package meshtrade.studio.instrument.v1, syntax proto3)
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.InstrumentTypeSchema = exports.InstrumentType = exports.file_meshtrade_studio_instrument_v1_instrument_type = void 0;
|
|
7
|
+
const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
|
|
8
|
+
/**
|
|
9
|
+
* Describes the file meshtrade/studio/instrument/v1/instrument_type.proto.
|
|
10
|
+
*/
|
|
11
|
+
exports.file_meshtrade_studio_instrument_v1_instrument_type = (0, codegenv2_1.fileDesc)("CjRtZXNodHJhZGUvc3R1ZGlvL2luc3RydW1lbnQvdjEvaW5zdHJ1bWVudF90eXBlLnByb3RvEh5tZXNodHJhZGUuc3R1ZGlvLmluc3RydW1lbnQudjEq/AYKDkluc3RydW1lbnRUeXBlEh8KG0lOU1RSVU1FTlRfVFlQRV9VTlNQRUNJRklFRBAAEhkKFUlOU1RSVU1FTlRfVFlQRV9PVEhFUhABEhkKFUlOU1RSVU1FTlRfVFlQRV9TSEFSRRACEiQKIElOU1RSVU1FTlRfVFlQRV9QUkVGRVJFTkNFX1NIQVJFEAMSGAoUSU5TVFJVTUVOVF9UWVBFX0JPTkQQBBIXChNJTlNUUlVNRU5UX1RZUEVfRVRGEAUSFwoTSU5TVFJVTUVOVF9UWVBFX0VUThAGEhcKE0lOU1RSVU1FTlRfVFlQRV9BTUMQBxIeChpJTlNUUlVNRU5UX1RZUEVfVU5JVF9UUlVTVBAIEiMKH0lOU1RSVU1FTlRfVFlQRV9DUllQVE9fQ1VSUkVOQ1kQCRIhCh1JTlNUUlVNRU5UX1RZUEVfRklBVF9DVVJSRU5DWRAKEhoKFklOU1RSVU1FTlRfVFlQRV9SSUdIVFMQCxIYChRJTlNUUlVNRU5UX1RZUEVfR09MRBAMEhoKFklOU1RSVU1FTlRfVFlQRV9TSUxWRVIQDRIcChhJTlNUUlVNRU5UX1RZUEVfUExBVElOVU0QDhIdChlJTlNUUlVNRU5UX1RZUEVfUEFMTEFESVVNEA8SHQoZSU5TVFJVTUVOVF9UWVBFX0NSVURFX09JTBAQEh8KG0lOU1RSVU1FTlRfVFlQRV9OQVRVUkFMX0dBUxAREhoKFklOU1RSVU1FTlRfVFlQRV9DT1BQRVIQEhIYChRJTlNUUlVNRU5UX1RZUEVfQ09SThATEhkKFUlOU1RSVU1FTlRfVFlQRV9XSEVBVBAUEhwKGElOU1RSVU1FTlRfVFlQRV9TT1lCRUFOUxAVEiMKH0lOU1RSVU1FTlRfVFlQRV9GSUFUX1NUQUJMRUNPSU4QFhIlCiFJTlNUUlVNRU5UX1RZUEVfTU9ORVlfTUFSS0VUX0ZVTkQQFxIwCixJTlNUUlVNRU5UX1RZUEVfTU9ORVlfTUFSS0VUX0ZVTkRfU1RBQkxFQ09JThAYEiUKIUlOU1RSVU1FTlRfVFlQRV9FTkRPV01FTlRfV1JBUFBFUhAZEhgKFElOU1RSVU1FTlRfVFlQRV9GVU5EEBoSIwofSU5TVFJVTUVOVF9UWVBFX0ZVTkRfU1RBQkxFQ09JThAbQmcKJWNvLm1lc2h0cmFkZS5hcGkuc3R1ZGlvLmluc3RydW1lbnQudjFaPmdpdGh1Yi5jb20vbWVzaHRyYWRlL2FwaS9nby9zdHVkaW8vaW5zdHJ1bWVudC92MTtpbnN0cnVtZW50X3YxYgZwcm90bzM");
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* The type of an instrument structured in Mesh Studio. This enum categorizes
|
|
15
|
+
* various financial instruments and assets available on the platform, providing
|
|
16
|
+
* a standardized way to identify them.
|
|
17
|
+
*
|
|
18
|
+
* @generated from enum meshtrade.studio.instrument.v1.InstrumentType
|
|
19
|
+
*/
|
|
20
|
+
var InstrumentType;
|
|
21
|
+
(function (InstrumentType) {
|
|
22
|
+
/**
|
|
23
|
+
* The instrument type is not specified. This is the default value and
|
|
24
|
+
* should be treated as an error or an uninitialized state.
|
|
25
|
+
*
|
|
26
|
+
* @generated from enum value: INSTRUMENT_TYPE_UNSPECIFIED = 0;
|
|
27
|
+
*/
|
|
28
|
+
InstrumentType[InstrumentType["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
29
|
+
/**
|
|
30
|
+
* A catch-all for any instrument type not explicitly listed in this enum.
|
|
31
|
+
* Use this for miscellaneous or newly introduced asset types.
|
|
32
|
+
*
|
|
33
|
+
* @generated from enum value: INSTRUMENT_TYPE_OTHER = 1;
|
|
34
|
+
*/
|
|
35
|
+
InstrumentType[InstrumentType["OTHER"] = 1] = "OTHER";
|
|
36
|
+
/**
|
|
37
|
+
* Common equity in a corporation, also known as ordinary shares.
|
|
38
|
+
* Holders have ownership rights, including voting rights, and are entitled
|
|
39
|
+
* to a portion of profits through dividends and capital gains.
|
|
40
|
+
*
|
|
41
|
+
* @generated from enum value: INSTRUMENT_TYPE_SHARE = 2;
|
|
42
|
+
*/
|
|
43
|
+
InstrumentType[InstrumentType["SHARE"] = 2] = "SHARE";
|
|
44
|
+
/**
|
|
45
|
+
* A class of share ownership with a higher claim on assets and earnings
|
|
46
|
+
* than common shares. Preference shares generally have a fixed dividend that
|
|
47
|
+
* must be paid out before dividends to common shareholders.
|
|
48
|
+
*
|
|
49
|
+
* @generated from enum value: INSTRUMENT_TYPE_PREFERENCE_SHARE = 3;
|
|
50
|
+
*/
|
|
51
|
+
InstrumentType[InstrumentType["PREFERENCE_SHARE"] = 3] = "PREFERENCE_SHARE";
|
|
52
|
+
/**
|
|
53
|
+
* A fixed-income instrument representing a loan made by an investor to a
|
|
54
|
+
* borrower (typically corporate or governmental). The borrower pays interest
|
|
55
|
+
* (coupon) and repays the principal amount at a later date (maturity).
|
|
56
|
+
*
|
|
57
|
+
* @generated from enum value: INSTRUMENT_TYPE_BOND = 4;
|
|
58
|
+
*/
|
|
59
|
+
InstrumentType[InstrumentType["BOND"] = 4] = "BOND";
|
|
60
|
+
/**
|
|
61
|
+
* Exchange-Traded Fund. A type of pooled investment security that operates
|
|
62
|
+
* much like a mutual fund but trades like a stock on an exchange. ETFs
|
|
63
|
+
* hold assets such as stocks, commodities, or bonds and are typically
|
|
64
|
+
* designed to track an underlying index.
|
|
65
|
+
*
|
|
66
|
+
* @generated from enum value: INSTRUMENT_TYPE_ETF = 5;
|
|
67
|
+
*/
|
|
68
|
+
InstrumentType[InstrumentType["ETF"] = 5] = "ETF";
|
|
69
|
+
/**
|
|
70
|
+
* Exchange-Traded Note. A type of senior, unsecured debt security that
|
|
71
|
+
* tracks an underlying index of securities. ETNs do not own the underlying
|
|
72
|
+
* assets and are subject to the credit risk of the issuing institution.
|
|
73
|
+
*
|
|
74
|
+
* @generated from enum value: INSTRUMENT_TYPE_ETN = 6;
|
|
75
|
+
*/
|
|
76
|
+
InstrumentType[InstrumentType["ETN"] = 6] = "ETN";
|
|
77
|
+
/**
|
|
78
|
+
* Actively Managed Certificate. A structured product linked to an
|
|
79
|
+
* underlying portfolio or strategy. Unlike a typical index-tracking ETF,
|
|
80
|
+
* its portfolio is actively managed by an investment advisor.
|
|
81
|
+
*
|
|
82
|
+
* @generated from enum value: INSTRUMENT_TYPE_AMC = 7;
|
|
83
|
+
*/
|
|
84
|
+
InstrumentType[InstrumentType["AMC"] = 7] = "AMC";
|
|
85
|
+
/**
|
|
86
|
+
* An open-ended investment vehicle where funds from multiple investors are
|
|
87
|
+
* pooled to invest in a diversified portfolio of securities. Common in
|
|
88
|
+
* collective investment schemes.
|
|
89
|
+
*
|
|
90
|
+
* @generated from enum value: INSTRUMENT_TYPE_UNIT_TRUST = 8;
|
|
91
|
+
*/
|
|
92
|
+
InstrumentType[InstrumentType["UNIT_TRUST"] = 8] = "UNIT_TRUST";
|
|
93
|
+
/**
|
|
94
|
+
* A digital or virtual currency secured by cryptography.
|
|
95
|
+
* Examples include Bitcoin (BTC) and Ethereum (ETH).
|
|
96
|
+
*
|
|
97
|
+
* @generated from enum value: INSTRUMENT_TYPE_CRYPTO_CURRENCY = 9;
|
|
98
|
+
*/
|
|
99
|
+
InstrumentType[InstrumentType["CRYPTO_CURRENCY"] = 9] = "CRYPTO_CURRENCY";
|
|
100
|
+
/**
|
|
101
|
+
* Government-issued currency that is not backed by a physical commodity
|
|
102
|
+
* but by the government that issued it. Examples include the US Dollar
|
|
103
|
+
* (USD) and the Euro (EUR).
|
|
104
|
+
*
|
|
105
|
+
* @generated from enum value: INSTRUMENT_TYPE_FIAT_CURRENCY = 10;
|
|
106
|
+
*/
|
|
107
|
+
InstrumentType[InstrumentType["FIAT_CURRENCY"] = 10] = "FIAT_CURRENCY";
|
|
108
|
+
/**
|
|
109
|
+
* Rights to the financial value of a linked underlying.
|
|
110
|
+
*
|
|
111
|
+
* @generated from enum value: INSTRUMENT_TYPE_RIGHTS = 11;
|
|
112
|
+
*/
|
|
113
|
+
InstrumentType[InstrumentType["RIGHTS"] = 11] = "RIGHTS";
|
|
114
|
+
/**
|
|
115
|
+
* Gold as a commodity. Can be invested in via physical bullion, futures,
|
|
116
|
+
* or other financial products tracking its price.
|
|
117
|
+
*
|
|
118
|
+
* @generated from enum value: INSTRUMENT_TYPE_GOLD = 12;
|
|
119
|
+
*/
|
|
120
|
+
InstrumentType[InstrumentType["GOLD"] = 12] = "GOLD";
|
|
121
|
+
/**
|
|
122
|
+
* Silver as a commodity.
|
|
123
|
+
*
|
|
124
|
+
* @generated from enum value: INSTRUMENT_TYPE_SILVER = 13;
|
|
125
|
+
*/
|
|
126
|
+
InstrumentType[InstrumentType["SILVER"] = 13] = "SILVER";
|
|
127
|
+
/**
|
|
128
|
+
* Platinum as a commodity.
|
|
129
|
+
*
|
|
130
|
+
* @generated from enum value: INSTRUMENT_TYPE_PLATINUM = 14;
|
|
131
|
+
*/
|
|
132
|
+
InstrumentType[InstrumentType["PLATINUM"] = 14] = "PLATINUM";
|
|
133
|
+
/**
|
|
134
|
+
* Palladium as a commodity.
|
|
135
|
+
*
|
|
136
|
+
* @generated from enum value: INSTRUMENT_TYPE_PALLADIUM = 15;
|
|
137
|
+
*/
|
|
138
|
+
InstrumentType[InstrumentType["PALLADIUM"] = 15] = "PALLADIUM";
|
|
139
|
+
/**
|
|
140
|
+
* Crude oil, a key global energy commodity.
|
|
141
|
+
*
|
|
142
|
+
* @generated from enum value: INSTRUMENT_TYPE_CRUDE_OIL = 16;
|
|
143
|
+
*/
|
|
144
|
+
InstrumentType[InstrumentType["CRUDE_OIL"] = 16] = "CRUDE_OIL";
|
|
145
|
+
/**
|
|
146
|
+
* Natural gas, a major energy commodity.
|
|
147
|
+
*
|
|
148
|
+
* @generated from enum value: INSTRUMENT_TYPE_NATURAL_GAS = 17;
|
|
149
|
+
*/
|
|
150
|
+
InstrumentType[InstrumentType["NATURAL_GAS"] = 17] = "NATURAL_GAS";
|
|
151
|
+
/**
|
|
152
|
+
* Copper, an important industrial metal.
|
|
153
|
+
*
|
|
154
|
+
* @generated from enum value: INSTRUMENT_TYPE_COPPER = 18;
|
|
155
|
+
*/
|
|
156
|
+
InstrumentType[InstrumentType["COPPER"] = 18] = "COPPER";
|
|
157
|
+
/**
|
|
158
|
+
* Corn, a major agricultural commodity.
|
|
159
|
+
*
|
|
160
|
+
* @generated from enum value: INSTRUMENT_TYPE_CORN = 19;
|
|
161
|
+
*/
|
|
162
|
+
InstrumentType[InstrumentType["CORN"] = 19] = "CORN";
|
|
163
|
+
/**
|
|
164
|
+
* Wheat, a staple agricultural commodity.
|
|
165
|
+
*
|
|
166
|
+
* @generated from enum value: INSTRUMENT_TYPE_WHEAT = 20;
|
|
167
|
+
*/
|
|
168
|
+
InstrumentType[InstrumentType["WHEAT"] = 20] = "WHEAT";
|
|
169
|
+
/**
|
|
170
|
+
* Soybeans, a key agricultural commodity used for food and animal feed.
|
|
171
|
+
*
|
|
172
|
+
* @generated from enum value: INSTRUMENT_TYPE_SOYBEANS = 21;
|
|
173
|
+
*/
|
|
174
|
+
InstrumentType[InstrumentType["SOYBEANS"] = 21] = "SOYBEANS";
|
|
175
|
+
/**
|
|
176
|
+
* A type of cryptocurrency designed to maintain a stable value by being
|
|
177
|
+
* pegged to a reference asset, such as a fiat currency (e.g., USD).
|
|
178
|
+
*
|
|
179
|
+
* @generated from enum value: INSTRUMENT_TYPE_FIAT_STABLECOIN = 22;
|
|
180
|
+
*/
|
|
181
|
+
InstrumentType[InstrumentType["FIAT_STABLECOIN"] = 22] = "FIAT_STABLECOIN";
|
|
182
|
+
/**
|
|
183
|
+
* A mutual fund investing in highly liquid, short-term debt securities,
|
|
184
|
+
* cash, and cash equivalents.
|
|
185
|
+
*
|
|
186
|
+
* @generated from enum value: INSTRUMENT_TYPE_MONEY_MARKET_FUND = 23;
|
|
187
|
+
*/
|
|
188
|
+
InstrumentType[InstrumentType["MONEY_MARKET_FUND"] = 23] = "MONEY_MARKET_FUND";
|
|
189
|
+
/**
|
|
190
|
+
* A stablecoin collateralized by shares in a money market fund,
|
|
191
|
+
* representing a claim on the fund's underlying assets.
|
|
192
|
+
*
|
|
193
|
+
* @generated from enum value: INSTRUMENT_TYPE_MONEY_MARKET_FUND_STABLECOIN = 24;
|
|
194
|
+
*/
|
|
195
|
+
InstrumentType[InstrumentType["MONEY_MARKET_FUND_STABLECOIN"] = 24] = "MONEY_MARKET_FUND_STABLECOIN";
|
|
196
|
+
/**
|
|
197
|
+
* A tax-efficient investment vehicle, structured as a life insurance policy,
|
|
198
|
+
* that combines investment components with a nominal life insurance benefit.
|
|
199
|
+
*
|
|
200
|
+
* @generated from enum value: INSTRUMENT_TYPE_ENDOWMENT_WRAPPER = 25;
|
|
201
|
+
*/
|
|
202
|
+
InstrumentType[InstrumentType["ENDOWMENT_WRAPPER"] = 25] = "ENDOWMENT_WRAPPER";
|
|
203
|
+
/**
|
|
204
|
+
* A collective investment scheme that pools capital from multiple investors
|
|
205
|
+
* to purchase a diversified portfolio of securities.
|
|
206
|
+
*
|
|
207
|
+
* @generated from enum value: INSTRUMENT_TYPE_FUND = 26;
|
|
208
|
+
*/
|
|
209
|
+
InstrumentType[InstrumentType["FUND"] = 26] = "FUND";
|
|
210
|
+
/**
|
|
211
|
+
* A stablecoin collateralized by a portfolio of assets held within a fund,
|
|
212
|
+
* representing a claim on those assets.
|
|
213
|
+
*
|
|
214
|
+
* @generated from enum value: INSTRUMENT_TYPE_FUND_STABLECOIN = 27;
|
|
215
|
+
*/
|
|
216
|
+
InstrumentType[InstrumentType["FUND_STABLECOIN"] = 27] = "FUND_STABLECOIN";
|
|
217
|
+
})(InstrumentType || (exports.InstrumentType = InstrumentType = {}));
|
|
218
|
+
/**
|
|
219
|
+
* Describes the enum meshtrade.studio.instrument.v1.InstrumentType.
|
|
220
|
+
*/
|
|
221
|
+
exports.InstrumentTypeSchema = (0, codegenv2_1.enumDesc)(exports.file_meshtrade_studio_instrument_v1_instrument_type, 0);
|