@meshtrade/api-old 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 +117 -0
- package/dist/buf/validate/validate_pb.js +17134 -0
- package/dist/meshtrade/common/config.d.ts +7 -0
- package/dist/meshtrade/common/config.js +9 -0
- package/dist/meshtrade/common/groupHeaderInterceptor.d.ts +64 -0
- package/dist/meshtrade/common/groupHeaderInterceptor.js +76 -0
- package/dist/meshtrade/common/grpc_web.d.ts +18 -0
- package/dist/meshtrade/common/grpc_web.js +34 -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 +91 -0
- package/dist/meshtrade/compliance/client/v1/client_pb.js +645 -0
- package/dist/meshtrade/compliance/client/v1/company_pb.d.ts +178 -0
- package/dist/meshtrade/compliance/client/v1/company_pb.js +1322 -0
- package/dist/meshtrade/compliance/client/v1/company_representative_pb.d.ts +56 -0
- package/dist/meshtrade/compliance/client/v1/company_representative_pb.js +422 -0
- package/dist/meshtrade/compliance/client/v1/company_representative_role_pb.d.ts +15 -0
- package/dist/meshtrade/compliance/client/v1/company_representative_role_pb.js +40 -0
- package/dist/meshtrade/compliance/client/v1/fund_pb.d.ts +42 -0
- package/dist/meshtrade/compliance/client/v1/fund_pb.js +321 -0
- package/dist/meshtrade/compliance/client/v1/identification_document_type_pb.d.ts +11 -0
- package/dist/meshtrade/compliance/client/v1/identification_document_type_pb.js +36 -0
- package/dist/meshtrade/compliance/client/v1/index.d.ts +18 -0
- package/dist/meshtrade/compliance/client/v1/index.js +61 -0
- package/dist/meshtrade/compliance/client/v1/industry_classification_pb.d.ts +50 -0
- package/dist/meshtrade/compliance/client/v1/industry_classification_pb.js +386 -0
- package/dist/meshtrade/compliance/client/v1/natural_person_connection_type_pb.d.ts +22 -0
- package/dist/meshtrade/compliance/client/v1/natural_person_connection_type_pb.js +47 -0
- package/dist/meshtrade/compliance/client/v1/natural_person_pb.d.ts +94 -0
- package/dist/meshtrade/compliance/client/v1/natural_person_pb.js +729 -0
- package/dist/meshtrade/compliance/client/v1/pep_status_pb.d.ts +10 -0
- package/dist/meshtrade/compliance/client/v1/pep_status_pb.js +35 -0
- package/dist/meshtrade/compliance/client/v1/service_grpc_web_client_meshts.d.ts +47 -0
- package/dist/meshtrade/compliance/client/v1/service_grpc_web_client_meshts.js +78 -0
- package/dist/meshtrade/compliance/client/v1/service_grpc_web_pb.d.ts +56 -0
- package/dist/meshtrade/compliance/client/v1/service_grpc_web_pb.js +270 -0
- package/dist/meshtrade/compliance/client/v1/service_pb.d.ts +79 -0
- package/dist/meshtrade/compliance/client/v1/service_pb.js +660 -0
- package/dist/meshtrade/compliance/client/v1/source_of_income_and_wealth_pb.d.ts +29 -0
- package/dist/meshtrade/compliance/client/v1/source_of_income_and_wealth_pb.js +54 -0
- package/dist/meshtrade/compliance/client/v1/tax_residency_pb.d.ts +27 -0
- package/dist/meshtrade/compliance/client/v1/tax_residency_pb.js +208 -0
- package/dist/meshtrade/compliance/client/v1/trust_pb.d.ts +42 -0
- package/dist/meshtrade/compliance/client/v1/trust_pb.js +321 -0
- package/dist/meshtrade/compliance/client/v1/verification_status_pb.d.ts +11 -0
- package/dist/meshtrade/compliance/client/v1/verification_status_pb.js +36 -0
- package/dist/meshtrade/iam/api_user/v1/api_credentials_pb.d.ts +27 -0
- package/dist/meshtrade/iam/api_user/v1/api_credentials_pb.js +208 -0
- package/dist/meshtrade/iam/api_user/v1/api_user_pb.d.ts +57 -0
- package/dist/meshtrade/iam/api_user/v1/api_user_pb.js +376 -0
- package/dist/meshtrade/iam/api_user/v1/index.d.ts +5 -0
- package/dist/meshtrade/iam/api_user/v1/index.js +46 -0
- package/dist/meshtrade/iam/api_user/v1/service_grpc_web_client_meshts.d.ts +83 -0
- package/dist/meshtrade/iam/api_user/v1/service_grpc_web_client_meshts.js +126 -0
- package/dist/meshtrade/iam/api_user/v1/service_grpc_web_pb.d.ts +128 -0
- package/dist/meshtrade/iam/api_user/v1/service_grpc_web_pb.js +636 -0
- package/dist/meshtrade/iam/api_user/v1/service_pb.d.ts +219 -0
- package/dist/meshtrade/iam/api_user/v1/service_pb.js +1866 -0
- package/dist/meshtrade/iam/group/v1/group_pb.d.ts +35 -0
- package/dist/meshtrade/iam/group/v1/group_pb.js +268 -0
- package/dist/meshtrade/iam/group/v1/index.d.ts +4 -0
- package/dist/meshtrade/iam/group/v1/index.js +45 -0
- package/dist/meshtrade/iam/group/v1/service_grpc_web_client_meshts.d.ts +59 -0
- package/dist/meshtrade/iam/group/v1/service_grpc_web_client_meshts.js +94 -0
- package/dist/meshtrade/iam/group/v1/service_grpc_web_pb.d.ts +80 -0
- package/dist/meshtrade/iam/group/v1/service_grpc_web_pb.js +394 -0
- package/dist/meshtrade/iam/group/v1/service_pb.d.ts +200 -0
- package/dist/meshtrade/iam/group/v1/service_pb.js +1664 -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 +41 -0
- package/dist/meshtrade/iam/role/v1/role_pb.js +66 -0
- package/dist/meshtrade/iam/user/v1/index.d.ts +4 -0
- package/dist/meshtrade/iam/user/v1/index.js +45 -0
- package/dist/meshtrade/iam/user/v1/service_grpc_web_client_meshts.d.ts +77 -0
- package/dist/meshtrade/iam/user/v1/service_grpc_web_client_meshts.js +118 -0
- package/dist/meshtrade/iam/user/v1/service_grpc_web_pb.d.ts +116 -0
- package/dist/meshtrade/iam/user/v1/service_grpc_web_pb.js +577 -0
- package/dist/meshtrade/iam/user/v1/service_pb.d.ts +262 -0
- package/dist/meshtrade/iam/user/v1/service_pb.js +2202 -0
- package/dist/meshtrade/iam/user/v1/user_pb.d.ts +37 -0
- package/dist/meshtrade/iam/user/v1/user_pb.js +294 -0
- package/dist/meshtrade/ledger/transaction/v1/index.d.ts +6 -0
- package/dist/meshtrade/ledger/transaction/v1/index.js +47 -0
- package/dist/meshtrade/ledger/transaction/v1/service_grpc_web_client_meshts.d.ts +56 -0
- package/dist/meshtrade/ledger/transaction/v1/service_grpc_web_client_meshts.js +96 -0
- package/dist/meshtrade/ledger/transaction/v1/service_grpc_web_pb.d.ts +41 -0
- package/dist/meshtrade/ledger/transaction/v1/service_grpc_web_pb.js +204 -0
- package/dist/meshtrade/ledger/transaction/v1/service_pb.d.ts +79 -0
- package/dist/meshtrade/ledger/transaction/v1/service_pb.js +638 -0
- package/dist/meshtrade/ledger/transaction/v1/transaction_action_pb.d.ts +13 -0
- package/dist/meshtrade/ledger/transaction/v1/transaction_action_pb.js +38 -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 +14 -0
- package/dist/meshtrade/ledger/transaction/v1/transaction_state_pb.js +39 -0
- package/dist/meshtrade/market_data/price/v1/index.d.ts +4 -0
- package/dist/meshtrade/market_data/price/v1/index.js +45 -0
- package/dist/meshtrade/market_data/price/v1/price_pb.d.ts +45 -0
- package/dist/meshtrade/market_data/price/v1/price_pb.js +356 -0
- package/dist/meshtrade/market_data/price/v1/service_grpc_web_client_meshts.d.ts +35 -0
- package/dist/meshtrade/market_data/price/v1/service_grpc_web_client_meshts.js +62 -0
- package/dist/meshtrade/market_data/price/v1/service_grpc_web_pb.d.ts +32 -0
- package/dist/meshtrade/market_data/price/v1/service_grpc_web_pb.js +150 -0
- package/dist/meshtrade/market_data/price/v1/service_pb.d.ts +34 -0
- package/dist/meshtrade/market_data/price/v1/service_pb.js +256 -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 +44 -0
- package/dist/meshtrade/option/method_options/v1/method_options_pb.js +314 -0
- package/dist/meshtrade/reporting/account_report/v1/account_report_pb.d.ts +112 -0
- package/dist/meshtrade/reporting/account_report/v1/account_report_pb.js +897 -0
- package/dist/meshtrade/reporting/account_report/v1/disclaimer_pb.d.ts +26 -0
- package/dist/meshtrade/reporting/account_report/v1/disclaimer_pb.js +206 -0
- package/dist/meshtrade/reporting/account_report/v1/fee_entry_pb.d.ts +50 -0
- package/dist/meshtrade/reporting/account_report/v1/fee_entry_pb.js +393 -0
- package/dist/meshtrade/reporting/account_report/v1/income_entry_pb.d.ts +66 -0
- package/dist/meshtrade/reporting/account_report/v1/income_entry_pb.js +460 -0
- package/dist/meshtrade/reporting/account_report/v1/index.d.ts +8 -0
- package/dist/meshtrade/reporting/account_report/v1/index.js +49 -0
- package/dist/meshtrade/reporting/account_report/v1/service_grpc_web_client_meshts.d.ts +41 -0
- package/dist/meshtrade/reporting/account_report/v1/service_grpc_web_client_meshts.js +70 -0
- package/dist/meshtrade/reporting/account_report/v1/service_grpc_web_pb.d.ts +44 -0
- package/dist/meshtrade/reporting/account_report/v1/service_grpc_web_pb.js +213 -0
- package/dist/meshtrade/reporting/account_report/v1/service_pb.d.ts +99 -0
- package/dist/meshtrade/reporting/account_report/v1/service_pb.js +796 -0
- package/dist/meshtrade/reporting/account_report/v1/trading_statement_entry_pb.d.ts +62 -0
- package/dist/meshtrade/reporting/account_report/v1/trading_statement_entry_pb.js +495 -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 +38 -0
- package/dist/meshtrade/studio/instrument/v1/instrument_pb.js +291 -0
- package/dist/meshtrade/studio/instrument/v1/instrument_type_pb.d.ts +34 -0
- package/dist/meshtrade/studio/instrument/v1/instrument_type_pb.js +59 -0
- package/dist/meshtrade/studio/instrument/v1/unit_pb.d.ts +25 -0
- package/dist/meshtrade/studio/instrument/v1/unit_pb.js +50 -0
- package/dist/meshtrade/trading/limit_order/v1/index.d.ts +4 -0
- package/dist/meshtrade/trading/limit_order/v1/index.js +45 -0
- package/dist/meshtrade/trading/limit_order/v1/limit_order_pb.d.ts +83 -0
- package/dist/meshtrade/trading/limit_order/v1/limit_order_pb.js +559 -0
- package/dist/meshtrade/trading/limit_order/v1/service_grpc_web_client_meshts.d.ts +87 -0
- package/dist/meshtrade/trading/limit_order/v1/service_grpc_web_client_meshts.js +136 -0
- package/dist/meshtrade/trading/limit_order/v1/service_grpc_web_pb.d.ts +102 -0
- package/dist/meshtrade/trading/limit_order/v1/service_grpc_web_pb.js +509 -0
- package/dist/meshtrade/trading/limit_order/v1/service_pb.d.ts +203 -0
- package/dist/meshtrade/trading/limit_order/v1/service_pb.js +1692 -0
- package/dist/meshtrade/trading/market_order/v1/index.d.ts +4 -0
- package/dist/meshtrade/trading/market_order/v1/index.js +45 -0
- package/dist/meshtrade/trading/market_order/v1/market_order_pb.d.ts +22 -0
- package/dist/meshtrade/trading/market_order/v1/market_order_pb.js +176 -0
- package/dist/meshtrade/trading/market_order/v1/service_grpc_web_client_meshts.d.ts +35 -0
- package/dist/meshtrade/trading/market_order/v1/service_grpc_web_client_meshts.js +62 -0
- package/dist/meshtrade/trading/market_order/v1/service_grpc_web_pb.d.ts +32 -0
- package/dist/meshtrade/trading/market_order/v1/service_grpc_web_pb.js +146 -0
- package/dist/meshtrade/trading/market_order/v1/service_pb.d.ts +24 -0
- package/dist/meshtrade/trading/market_order/v1/service_pb.js +180 -0
- package/dist/meshtrade/type/v1/address_pb.d.ts +44 -0
- package/dist/meshtrade/type/v1/address_pb.js +352 -0
- package/dist/meshtrade/type/v1/amount.d.ts +13 -0
- package/dist/meshtrade/type/v1/amount.js +66 -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 +32 -0
- package/dist/meshtrade/type/v1/amount_pb.js +252 -0
- package/dist/meshtrade/type/v1/contact_details_pb.d.ts +54 -0
- package/dist/meshtrade/type/v1/contact_details_pb.js +416 -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 +30 -0
- package/dist/meshtrade/type/v1/date_pb.js +236 -0
- package/dist/meshtrade/type/v1/decimalConversions.d.ts +24 -0
- package/dist/meshtrade/type/v1/decimalConversions.js +40 -0
- package/dist/meshtrade/type/v1/decimal_pb.d.ts +22 -0
- package/dist/meshtrade/type/v1/decimal_pb.js +176 -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 +14 -0
- package/dist/meshtrade/type/v1/ledger_pb.js +39 -0
- package/dist/meshtrade/type/v1/sorting_pb.d.ts +9 -0
- package/dist/meshtrade/type/v1/sorting_pb.js +34 -0
- package/dist/meshtrade/type/v1/time_of_day.d.ts +74 -0
- package/dist/meshtrade/type/v1/time_of_day.js +205 -0
- package/dist/meshtrade/type/v1/time_of_day_pb.d.ts +34 -0
- package/dist/meshtrade/type/v1/time_of_day_pb.js +266 -0
- package/dist/meshtrade/type/v1/token.d.ts +4 -0
- package/dist/meshtrade/type/v1/token.js +24 -0
- package/dist/meshtrade/type/v1/tokenWrapper.d.ts +49 -0
- package/dist/meshtrade/type/v1/tokenWrapper.js +76 -0
- package/dist/meshtrade/type/v1/token_pb.d.ts +31 -0
- package/dist/meshtrade/type/v1/token_pb.js +238 -0
- package/dist/meshtrade/wallet/account/v1/account_pb.d.ts +149 -0
- package/dist/meshtrade/wallet/account/v1/account_pb.js +1160 -0
- package/dist/meshtrade/wallet/account/v1/index.d.ts +4 -0
- package/dist/meshtrade/wallet/account/v1/index.js +45 -0
- package/dist/meshtrade/wallet/account/v1/service_grpc_web_client_meshts.d.ts +83 -0
- package/dist/meshtrade/wallet/account/v1/service_grpc_web_client_meshts.js +126 -0
- package/dist/meshtrade/wallet/account/v1/service_grpc_web_pb.d.ts +128 -0
- package/dist/meshtrade/wallet/account/v1/service_grpc_web_pb.js +638 -0
- package/dist/meshtrade/wallet/account/v1/service_pb.d.ts +350 -0
- package/dist/meshtrade/wallet/account/v1/service_pb.js +2930 -0
- package/package.json +171 -0
|
@@ -0,0 +1,897 @@
|
|
|
1
|
+
// source: meshtrade/reporting/account_report/v1/account_report.proto
|
|
2
|
+
/**
|
|
3
|
+
* @fileoverview
|
|
4
|
+
* @enhanceable
|
|
5
|
+
* @suppress {missingRequire} reports error on implicit type usages.
|
|
6
|
+
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
|
7
|
+
* field starts with 'MSG_' and isn't a translatable message.
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
// GENERATED CODE -- DO NOT EDIT!
|
|
11
|
+
/* eslint-disable */
|
|
12
|
+
// @ts-nocheck
|
|
13
|
+
|
|
14
|
+
var jspb = require('google-protobuf');
|
|
15
|
+
var goog = jspb;
|
|
16
|
+
var global =
|
|
17
|
+
(typeof globalThis !== 'undefined' && globalThis) ||
|
|
18
|
+
(typeof window !== 'undefined' && window) ||
|
|
19
|
+
(typeof global !== 'undefined' && global) ||
|
|
20
|
+
(typeof self !== 'undefined' && self) ||
|
|
21
|
+
(function () { return this; }).call(null) ||
|
|
22
|
+
Function('return this')();
|
|
23
|
+
|
|
24
|
+
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
|
|
25
|
+
goog.object.extend(proto, google_protobuf_timestamp_pb);
|
|
26
|
+
var meshtrade_type_v1_token_pb = require('../../../../meshtrade/type/v1/token_pb.js');
|
|
27
|
+
goog.object.extend(proto, meshtrade_type_v1_token_pb);
|
|
28
|
+
var meshtrade_type_v1_address_pb = require('../../../../meshtrade/type/v1/address_pb.js');
|
|
29
|
+
goog.object.extend(proto, meshtrade_type_v1_address_pb);
|
|
30
|
+
var meshtrade_reporting_account_report_v1_fee_entry_pb = require('../../../../meshtrade/reporting/account_report/v1/fee_entry_pb.js');
|
|
31
|
+
goog.object.extend(proto, meshtrade_reporting_account_report_v1_fee_entry_pb);
|
|
32
|
+
var meshtrade_reporting_account_report_v1_income_entry_pb = require('../../../../meshtrade/reporting/account_report/v1/income_entry_pb.js');
|
|
33
|
+
goog.object.extend(proto, meshtrade_reporting_account_report_v1_income_entry_pb);
|
|
34
|
+
var meshtrade_reporting_account_report_v1_trading_statement_entry_pb = require('../../../../meshtrade/reporting/account_report/v1/trading_statement_entry_pb.js');
|
|
35
|
+
goog.object.extend(proto, meshtrade_reporting_account_report_v1_trading_statement_entry_pb);
|
|
36
|
+
var meshtrade_reporting_account_report_v1_disclaimer_pb = require('../../../../meshtrade/reporting/account_report/v1/disclaimer_pb.js');
|
|
37
|
+
goog.object.extend(proto, meshtrade_reporting_account_report_v1_disclaimer_pb);
|
|
38
|
+
goog.exportSymbol('proto.meshtrade.reporting.account_report.v1.AccountReport', null, global);
|
|
39
|
+
goog.exportSymbol('proto.meshtrade.reporting.account_report.v1.AccountReport.Period', null, global);
|
|
40
|
+
/**
|
|
41
|
+
* Generated by JsPbCodeGenerator.
|
|
42
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
43
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
44
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
45
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
46
|
+
* valid.
|
|
47
|
+
* @extends {jspb.Message}
|
|
48
|
+
* @constructor
|
|
49
|
+
*/
|
|
50
|
+
proto.meshtrade.reporting.account_report.v1.AccountReport = function(opt_data) {
|
|
51
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.meshtrade.reporting.account_report.v1.AccountReport.repeatedFields_, null);
|
|
52
|
+
};
|
|
53
|
+
goog.inherits(proto.meshtrade.reporting.account_report.v1.AccountReport, jspb.Message);
|
|
54
|
+
if (goog.DEBUG && !COMPILED) {
|
|
55
|
+
/**
|
|
56
|
+
* @public
|
|
57
|
+
* @override
|
|
58
|
+
*/
|
|
59
|
+
proto.meshtrade.reporting.account_report.v1.AccountReport.displayName = 'proto.meshtrade.reporting.account_report.v1.AccountReport';
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Generated by JsPbCodeGenerator.
|
|
63
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
64
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
65
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
66
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
67
|
+
* valid.
|
|
68
|
+
* @extends {jspb.Message}
|
|
69
|
+
* @constructor
|
|
70
|
+
*/
|
|
71
|
+
proto.meshtrade.reporting.account_report.v1.AccountReport.Period = function(opt_data) {
|
|
72
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
73
|
+
};
|
|
74
|
+
goog.inherits(proto.meshtrade.reporting.account_report.v1.AccountReport.Period, jspb.Message);
|
|
75
|
+
if (goog.DEBUG && !COMPILED) {
|
|
76
|
+
/**
|
|
77
|
+
* @public
|
|
78
|
+
* @override
|
|
79
|
+
*/
|
|
80
|
+
proto.meshtrade.reporting.account_report.v1.AccountReport.Period.displayName = 'proto.meshtrade.reporting.account_report.v1.AccountReport.Period';
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* List of repeated fields within this message type.
|
|
85
|
+
* @private {!Array<number>}
|
|
86
|
+
* @const
|
|
87
|
+
*/
|
|
88
|
+
proto.meshtrade.reporting.account_report.v1.AccountReport.repeatedFields_ = [1,2,3,8];
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
93
|
+
/**
|
|
94
|
+
* Creates an object representation of this proto.
|
|
95
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
96
|
+
* Optional fields that are not set will be set to undefined.
|
|
97
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
98
|
+
* For the list of reserved names please see:
|
|
99
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
100
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
101
|
+
* JSPB instance for transitional soy proto support:
|
|
102
|
+
* http://goto/soy-param-migration
|
|
103
|
+
* @return {!Object}
|
|
104
|
+
*/
|
|
105
|
+
proto.meshtrade.reporting.account_report.v1.AccountReport.prototype.toObject = function(opt_includeInstance) {
|
|
106
|
+
return proto.meshtrade.reporting.account_report.v1.AccountReport.toObject(opt_includeInstance, this);
|
|
107
|
+
};
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* Static version of the {@see toObject} method.
|
|
112
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
113
|
+
* the JSPB instance for transitional soy proto support:
|
|
114
|
+
* http://goto/soy-param-migration
|
|
115
|
+
* @param {!proto.meshtrade.reporting.account_report.v1.AccountReport} msg The msg instance to transform.
|
|
116
|
+
* @return {!Object}
|
|
117
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
118
|
+
*/
|
|
119
|
+
proto.meshtrade.reporting.account_report.v1.AccountReport.toObject = function(includeInstance, msg) {
|
|
120
|
+
var f, obj = {
|
|
121
|
+
incomeEntriesList: jspb.Message.toObjectList(msg.getIncomeEntriesList(),
|
|
122
|
+
meshtrade_reporting_account_report_v1_income_entry_pb.IncomeEntry.toObject, includeInstance),
|
|
123
|
+
feeEntriesList: jspb.Message.toObjectList(msg.getFeeEntriesList(),
|
|
124
|
+
meshtrade_reporting_account_report_v1_fee_entry_pb.FeeEntry.toObject, includeInstance),
|
|
125
|
+
tradingStatementEntriesList: jspb.Message.toObjectList(msg.getTradingStatementEntriesList(),
|
|
126
|
+
meshtrade_reporting_account_report_v1_trading_statement_entry_pb.TradingStatementEntry.toObject, includeInstance),
|
|
127
|
+
reportingCurrency: (f = msg.getReportingCurrency()) && meshtrade_type_v1_token_pb.Token.toObject(includeInstance, f),
|
|
128
|
+
period: (f = msg.getPeriod()) && proto.meshtrade.reporting.account_report.v1.AccountReport.Period.toObject(includeInstance, f),
|
|
129
|
+
generationDate: (f = msg.getGenerationDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
130
|
+
accountNumber: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
131
|
+
disclaimersList: jspb.Message.toObjectList(msg.getDisclaimersList(),
|
|
132
|
+
meshtrade_reporting_account_report_v1_disclaimer_pb.Disclaimer.toObject, includeInstance),
|
|
133
|
+
clientAddress: (f = msg.getClientAddress()) && meshtrade_type_v1_address_pb.Address.toObject(includeInstance, f),
|
|
134
|
+
clientName: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
135
|
+
copyright: jspb.Message.getFieldWithDefault(msg, 11, "")
|
|
136
|
+
};
|
|
137
|
+
|
|
138
|
+
if (includeInstance) {
|
|
139
|
+
obj.$jspbMessageInstance = msg;
|
|
140
|
+
}
|
|
141
|
+
return obj;
|
|
142
|
+
};
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* Deserializes binary data (in protobuf wire format).
|
|
148
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
149
|
+
* @return {!proto.meshtrade.reporting.account_report.v1.AccountReport}
|
|
150
|
+
*/
|
|
151
|
+
proto.meshtrade.reporting.account_report.v1.AccountReport.deserializeBinary = function(bytes) {
|
|
152
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
153
|
+
var msg = new proto.meshtrade.reporting.account_report.v1.AccountReport;
|
|
154
|
+
return proto.meshtrade.reporting.account_report.v1.AccountReport.deserializeBinaryFromReader(msg, reader);
|
|
155
|
+
};
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
160
|
+
* given reader into the given message object.
|
|
161
|
+
* @param {!proto.meshtrade.reporting.account_report.v1.AccountReport} msg The message object to deserialize into.
|
|
162
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
163
|
+
* @return {!proto.meshtrade.reporting.account_report.v1.AccountReport}
|
|
164
|
+
*/
|
|
165
|
+
proto.meshtrade.reporting.account_report.v1.AccountReport.deserializeBinaryFromReader = function(msg, reader) {
|
|
166
|
+
while (reader.nextField()) {
|
|
167
|
+
if (reader.isEndGroup()) {
|
|
168
|
+
break;
|
|
169
|
+
}
|
|
170
|
+
var field = reader.getFieldNumber();
|
|
171
|
+
switch (field) {
|
|
172
|
+
case 1:
|
|
173
|
+
var value = new meshtrade_reporting_account_report_v1_income_entry_pb.IncomeEntry;
|
|
174
|
+
reader.readMessage(value,meshtrade_reporting_account_report_v1_income_entry_pb.IncomeEntry.deserializeBinaryFromReader);
|
|
175
|
+
msg.addIncomeEntries(value);
|
|
176
|
+
break;
|
|
177
|
+
case 2:
|
|
178
|
+
var value = new meshtrade_reporting_account_report_v1_fee_entry_pb.FeeEntry;
|
|
179
|
+
reader.readMessage(value,meshtrade_reporting_account_report_v1_fee_entry_pb.FeeEntry.deserializeBinaryFromReader);
|
|
180
|
+
msg.addFeeEntries(value);
|
|
181
|
+
break;
|
|
182
|
+
case 3:
|
|
183
|
+
var value = new meshtrade_reporting_account_report_v1_trading_statement_entry_pb.TradingStatementEntry;
|
|
184
|
+
reader.readMessage(value,meshtrade_reporting_account_report_v1_trading_statement_entry_pb.TradingStatementEntry.deserializeBinaryFromReader);
|
|
185
|
+
msg.addTradingStatementEntries(value);
|
|
186
|
+
break;
|
|
187
|
+
case 4:
|
|
188
|
+
var value = new meshtrade_type_v1_token_pb.Token;
|
|
189
|
+
reader.readMessage(value,meshtrade_type_v1_token_pb.Token.deserializeBinaryFromReader);
|
|
190
|
+
msg.setReportingCurrency(value);
|
|
191
|
+
break;
|
|
192
|
+
case 5:
|
|
193
|
+
var value = new proto.meshtrade.reporting.account_report.v1.AccountReport.Period;
|
|
194
|
+
reader.readMessage(value,proto.meshtrade.reporting.account_report.v1.AccountReport.Period.deserializeBinaryFromReader);
|
|
195
|
+
msg.setPeriod(value);
|
|
196
|
+
break;
|
|
197
|
+
case 6:
|
|
198
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
199
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
200
|
+
msg.setGenerationDate(value);
|
|
201
|
+
break;
|
|
202
|
+
case 7:
|
|
203
|
+
var value = /** @type {string} */ (reader.readString());
|
|
204
|
+
msg.setAccountNumber(value);
|
|
205
|
+
break;
|
|
206
|
+
case 8:
|
|
207
|
+
var value = new meshtrade_reporting_account_report_v1_disclaimer_pb.Disclaimer;
|
|
208
|
+
reader.readMessage(value,meshtrade_reporting_account_report_v1_disclaimer_pb.Disclaimer.deserializeBinaryFromReader);
|
|
209
|
+
msg.addDisclaimers(value);
|
|
210
|
+
break;
|
|
211
|
+
case 9:
|
|
212
|
+
var value = new meshtrade_type_v1_address_pb.Address;
|
|
213
|
+
reader.readMessage(value,meshtrade_type_v1_address_pb.Address.deserializeBinaryFromReader);
|
|
214
|
+
msg.setClientAddress(value);
|
|
215
|
+
break;
|
|
216
|
+
case 10:
|
|
217
|
+
var value = /** @type {string} */ (reader.readString());
|
|
218
|
+
msg.setClientName(value);
|
|
219
|
+
break;
|
|
220
|
+
case 11:
|
|
221
|
+
var value = /** @type {string} */ (reader.readString());
|
|
222
|
+
msg.setCopyright(value);
|
|
223
|
+
break;
|
|
224
|
+
default:
|
|
225
|
+
reader.skipField();
|
|
226
|
+
break;
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
return msg;
|
|
230
|
+
};
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
/**
|
|
234
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
235
|
+
* @return {!Uint8Array}
|
|
236
|
+
*/
|
|
237
|
+
proto.meshtrade.reporting.account_report.v1.AccountReport.prototype.serializeBinary = function() {
|
|
238
|
+
var writer = new jspb.BinaryWriter();
|
|
239
|
+
proto.meshtrade.reporting.account_report.v1.AccountReport.serializeBinaryToWriter(this, writer);
|
|
240
|
+
return writer.getResultBuffer();
|
|
241
|
+
};
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
/**
|
|
245
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
246
|
+
* format), writing to the given BinaryWriter.
|
|
247
|
+
* @param {!proto.meshtrade.reporting.account_report.v1.AccountReport} message
|
|
248
|
+
* @param {!jspb.BinaryWriter} writer
|
|
249
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
250
|
+
*/
|
|
251
|
+
proto.meshtrade.reporting.account_report.v1.AccountReport.serializeBinaryToWriter = function(message, writer) {
|
|
252
|
+
var f = undefined;
|
|
253
|
+
f = message.getIncomeEntriesList();
|
|
254
|
+
if (f.length > 0) {
|
|
255
|
+
writer.writeRepeatedMessage(
|
|
256
|
+
1,
|
|
257
|
+
f,
|
|
258
|
+
meshtrade_reporting_account_report_v1_income_entry_pb.IncomeEntry.serializeBinaryToWriter
|
|
259
|
+
);
|
|
260
|
+
}
|
|
261
|
+
f = message.getFeeEntriesList();
|
|
262
|
+
if (f.length > 0) {
|
|
263
|
+
writer.writeRepeatedMessage(
|
|
264
|
+
2,
|
|
265
|
+
f,
|
|
266
|
+
meshtrade_reporting_account_report_v1_fee_entry_pb.FeeEntry.serializeBinaryToWriter
|
|
267
|
+
);
|
|
268
|
+
}
|
|
269
|
+
f = message.getTradingStatementEntriesList();
|
|
270
|
+
if (f.length > 0) {
|
|
271
|
+
writer.writeRepeatedMessage(
|
|
272
|
+
3,
|
|
273
|
+
f,
|
|
274
|
+
meshtrade_reporting_account_report_v1_trading_statement_entry_pb.TradingStatementEntry.serializeBinaryToWriter
|
|
275
|
+
);
|
|
276
|
+
}
|
|
277
|
+
f = message.getReportingCurrency();
|
|
278
|
+
if (f != null) {
|
|
279
|
+
writer.writeMessage(
|
|
280
|
+
4,
|
|
281
|
+
f,
|
|
282
|
+
meshtrade_type_v1_token_pb.Token.serializeBinaryToWriter
|
|
283
|
+
);
|
|
284
|
+
}
|
|
285
|
+
f = message.getPeriod();
|
|
286
|
+
if (f != null) {
|
|
287
|
+
writer.writeMessage(
|
|
288
|
+
5,
|
|
289
|
+
f,
|
|
290
|
+
proto.meshtrade.reporting.account_report.v1.AccountReport.Period.serializeBinaryToWriter
|
|
291
|
+
);
|
|
292
|
+
}
|
|
293
|
+
f = message.getGenerationDate();
|
|
294
|
+
if (f != null) {
|
|
295
|
+
writer.writeMessage(
|
|
296
|
+
6,
|
|
297
|
+
f,
|
|
298
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
299
|
+
);
|
|
300
|
+
}
|
|
301
|
+
f = message.getAccountNumber();
|
|
302
|
+
if (f.length > 0) {
|
|
303
|
+
writer.writeString(
|
|
304
|
+
7,
|
|
305
|
+
f
|
|
306
|
+
);
|
|
307
|
+
}
|
|
308
|
+
f = message.getDisclaimersList();
|
|
309
|
+
if (f.length > 0) {
|
|
310
|
+
writer.writeRepeatedMessage(
|
|
311
|
+
8,
|
|
312
|
+
f,
|
|
313
|
+
meshtrade_reporting_account_report_v1_disclaimer_pb.Disclaimer.serializeBinaryToWriter
|
|
314
|
+
);
|
|
315
|
+
}
|
|
316
|
+
f = message.getClientAddress();
|
|
317
|
+
if (f != null) {
|
|
318
|
+
writer.writeMessage(
|
|
319
|
+
9,
|
|
320
|
+
f,
|
|
321
|
+
meshtrade_type_v1_address_pb.Address.serializeBinaryToWriter
|
|
322
|
+
);
|
|
323
|
+
}
|
|
324
|
+
f = message.getClientName();
|
|
325
|
+
if (f.length > 0) {
|
|
326
|
+
writer.writeString(
|
|
327
|
+
10,
|
|
328
|
+
f
|
|
329
|
+
);
|
|
330
|
+
}
|
|
331
|
+
f = message.getCopyright();
|
|
332
|
+
if (f.length > 0) {
|
|
333
|
+
writer.writeString(
|
|
334
|
+
11,
|
|
335
|
+
f
|
|
336
|
+
);
|
|
337
|
+
}
|
|
338
|
+
};
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
345
|
+
/**
|
|
346
|
+
* Creates an object representation of this proto.
|
|
347
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
348
|
+
* Optional fields that are not set will be set to undefined.
|
|
349
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
350
|
+
* For the list of reserved names please see:
|
|
351
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
352
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
353
|
+
* JSPB instance for transitional soy proto support:
|
|
354
|
+
* http://goto/soy-param-migration
|
|
355
|
+
* @return {!Object}
|
|
356
|
+
*/
|
|
357
|
+
proto.meshtrade.reporting.account_report.v1.AccountReport.Period.prototype.toObject = function(opt_includeInstance) {
|
|
358
|
+
return proto.meshtrade.reporting.account_report.v1.AccountReport.Period.toObject(opt_includeInstance, this);
|
|
359
|
+
};
|
|
360
|
+
|
|
361
|
+
|
|
362
|
+
/**
|
|
363
|
+
* Static version of the {@see toObject} method.
|
|
364
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
365
|
+
* the JSPB instance for transitional soy proto support:
|
|
366
|
+
* http://goto/soy-param-migration
|
|
367
|
+
* @param {!proto.meshtrade.reporting.account_report.v1.AccountReport.Period} msg The msg instance to transform.
|
|
368
|
+
* @return {!Object}
|
|
369
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
370
|
+
*/
|
|
371
|
+
proto.meshtrade.reporting.account_report.v1.AccountReport.Period.toObject = function(includeInstance, msg) {
|
|
372
|
+
var f, obj = {
|
|
373
|
+
periodStart: (f = msg.getPeriodStart()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
374
|
+
periodEnd: (f = msg.getPeriodEnd()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
375
|
+
};
|
|
376
|
+
|
|
377
|
+
if (includeInstance) {
|
|
378
|
+
obj.$jspbMessageInstance = msg;
|
|
379
|
+
}
|
|
380
|
+
return obj;
|
|
381
|
+
};
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
|
|
385
|
+
/**
|
|
386
|
+
* Deserializes binary data (in protobuf wire format).
|
|
387
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
388
|
+
* @return {!proto.meshtrade.reporting.account_report.v1.AccountReport.Period}
|
|
389
|
+
*/
|
|
390
|
+
proto.meshtrade.reporting.account_report.v1.AccountReport.Period.deserializeBinary = function(bytes) {
|
|
391
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
392
|
+
var msg = new proto.meshtrade.reporting.account_report.v1.AccountReport.Period;
|
|
393
|
+
return proto.meshtrade.reporting.account_report.v1.AccountReport.Period.deserializeBinaryFromReader(msg, reader);
|
|
394
|
+
};
|
|
395
|
+
|
|
396
|
+
|
|
397
|
+
/**
|
|
398
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
399
|
+
* given reader into the given message object.
|
|
400
|
+
* @param {!proto.meshtrade.reporting.account_report.v1.AccountReport.Period} msg The message object to deserialize into.
|
|
401
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
402
|
+
* @return {!proto.meshtrade.reporting.account_report.v1.AccountReport.Period}
|
|
403
|
+
*/
|
|
404
|
+
proto.meshtrade.reporting.account_report.v1.AccountReport.Period.deserializeBinaryFromReader = function(msg, reader) {
|
|
405
|
+
while (reader.nextField()) {
|
|
406
|
+
if (reader.isEndGroup()) {
|
|
407
|
+
break;
|
|
408
|
+
}
|
|
409
|
+
var field = reader.getFieldNumber();
|
|
410
|
+
switch (field) {
|
|
411
|
+
case 1:
|
|
412
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
413
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
414
|
+
msg.setPeriodStart(value);
|
|
415
|
+
break;
|
|
416
|
+
case 2:
|
|
417
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
418
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
419
|
+
msg.setPeriodEnd(value);
|
|
420
|
+
break;
|
|
421
|
+
default:
|
|
422
|
+
reader.skipField();
|
|
423
|
+
break;
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
return msg;
|
|
427
|
+
};
|
|
428
|
+
|
|
429
|
+
|
|
430
|
+
/**
|
|
431
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
432
|
+
* @return {!Uint8Array}
|
|
433
|
+
*/
|
|
434
|
+
proto.meshtrade.reporting.account_report.v1.AccountReport.Period.prototype.serializeBinary = function() {
|
|
435
|
+
var writer = new jspb.BinaryWriter();
|
|
436
|
+
proto.meshtrade.reporting.account_report.v1.AccountReport.Period.serializeBinaryToWriter(this, writer);
|
|
437
|
+
return writer.getResultBuffer();
|
|
438
|
+
};
|
|
439
|
+
|
|
440
|
+
|
|
441
|
+
/**
|
|
442
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
443
|
+
* format), writing to the given BinaryWriter.
|
|
444
|
+
* @param {!proto.meshtrade.reporting.account_report.v1.AccountReport.Period} message
|
|
445
|
+
* @param {!jspb.BinaryWriter} writer
|
|
446
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
447
|
+
*/
|
|
448
|
+
proto.meshtrade.reporting.account_report.v1.AccountReport.Period.serializeBinaryToWriter = function(message, writer) {
|
|
449
|
+
var f = undefined;
|
|
450
|
+
f = message.getPeriodStart();
|
|
451
|
+
if (f != null) {
|
|
452
|
+
writer.writeMessage(
|
|
453
|
+
1,
|
|
454
|
+
f,
|
|
455
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
456
|
+
);
|
|
457
|
+
}
|
|
458
|
+
f = message.getPeriodEnd();
|
|
459
|
+
if (f != null) {
|
|
460
|
+
writer.writeMessage(
|
|
461
|
+
2,
|
|
462
|
+
f,
|
|
463
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
464
|
+
);
|
|
465
|
+
}
|
|
466
|
+
};
|
|
467
|
+
|
|
468
|
+
|
|
469
|
+
/**
|
|
470
|
+
* optional google.protobuf.Timestamp period_start = 1;
|
|
471
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
472
|
+
*/
|
|
473
|
+
proto.meshtrade.reporting.account_report.v1.AccountReport.Period.prototype.getPeriodStart = function() {
|
|
474
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
475
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 1));
|
|
476
|
+
};
|
|
477
|
+
|
|
478
|
+
|
|
479
|
+
/**
|
|
480
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
481
|
+
* @return {!proto.meshtrade.reporting.account_report.v1.AccountReport.Period} returns this
|
|
482
|
+
*/
|
|
483
|
+
proto.meshtrade.reporting.account_report.v1.AccountReport.Period.prototype.setPeriodStart = function(value) {
|
|
484
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
485
|
+
};
|
|
486
|
+
|
|
487
|
+
|
|
488
|
+
/**
|
|
489
|
+
* Clears the message field making it undefined.
|
|
490
|
+
* @return {!proto.meshtrade.reporting.account_report.v1.AccountReport.Period} returns this
|
|
491
|
+
*/
|
|
492
|
+
proto.meshtrade.reporting.account_report.v1.AccountReport.Period.prototype.clearPeriodStart = function() {
|
|
493
|
+
return this.setPeriodStart(undefined);
|
|
494
|
+
};
|
|
495
|
+
|
|
496
|
+
|
|
497
|
+
/**
|
|
498
|
+
* Returns whether this field is set.
|
|
499
|
+
* @return {boolean}
|
|
500
|
+
*/
|
|
501
|
+
proto.meshtrade.reporting.account_report.v1.AccountReport.Period.prototype.hasPeriodStart = function() {
|
|
502
|
+
return jspb.Message.getField(this, 1) != null;
|
|
503
|
+
};
|
|
504
|
+
|
|
505
|
+
|
|
506
|
+
/**
|
|
507
|
+
* optional google.protobuf.Timestamp period_end = 2;
|
|
508
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
509
|
+
*/
|
|
510
|
+
proto.meshtrade.reporting.account_report.v1.AccountReport.Period.prototype.getPeriodEnd = function() {
|
|
511
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
512
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 2));
|
|
513
|
+
};
|
|
514
|
+
|
|
515
|
+
|
|
516
|
+
/**
|
|
517
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
518
|
+
* @return {!proto.meshtrade.reporting.account_report.v1.AccountReport.Period} returns this
|
|
519
|
+
*/
|
|
520
|
+
proto.meshtrade.reporting.account_report.v1.AccountReport.Period.prototype.setPeriodEnd = function(value) {
|
|
521
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
522
|
+
};
|
|
523
|
+
|
|
524
|
+
|
|
525
|
+
/**
|
|
526
|
+
* Clears the message field making it undefined.
|
|
527
|
+
* @return {!proto.meshtrade.reporting.account_report.v1.AccountReport.Period} returns this
|
|
528
|
+
*/
|
|
529
|
+
proto.meshtrade.reporting.account_report.v1.AccountReport.Period.prototype.clearPeriodEnd = function() {
|
|
530
|
+
return this.setPeriodEnd(undefined);
|
|
531
|
+
};
|
|
532
|
+
|
|
533
|
+
|
|
534
|
+
/**
|
|
535
|
+
* Returns whether this field is set.
|
|
536
|
+
* @return {boolean}
|
|
537
|
+
*/
|
|
538
|
+
proto.meshtrade.reporting.account_report.v1.AccountReport.Period.prototype.hasPeriodEnd = function() {
|
|
539
|
+
return jspb.Message.getField(this, 2) != null;
|
|
540
|
+
};
|
|
541
|
+
|
|
542
|
+
|
|
543
|
+
/**
|
|
544
|
+
* repeated IncomeEntry income_entries = 1;
|
|
545
|
+
* @return {!Array<!proto.meshtrade.reporting.account_report.v1.IncomeEntry>}
|
|
546
|
+
*/
|
|
547
|
+
proto.meshtrade.reporting.account_report.v1.AccountReport.prototype.getIncomeEntriesList = function() {
|
|
548
|
+
return /** @type{!Array<!proto.meshtrade.reporting.account_report.v1.IncomeEntry>} */ (
|
|
549
|
+
jspb.Message.getRepeatedWrapperField(this, meshtrade_reporting_account_report_v1_income_entry_pb.IncomeEntry, 1));
|
|
550
|
+
};
|
|
551
|
+
|
|
552
|
+
|
|
553
|
+
/**
|
|
554
|
+
* @param {!Array<!proto.meshtrade.reporting.account_report.v1.IncomeEntry>} value
|
|
555
|
+
* @return {!proto.meshtrade.reporting.account_report.v1.AccountReport} returns this
|
|
556
|
+
*/
|
|
557
|
+
proto.meshtrade.reporting.account_report.v1.AccountReport.prototype.setIncomeEntriesList = function(value) {
|
|
558
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
559
|
+
};
|
|
560
|
+
|
|
561
|
+
|
|
562
|
+
/**
|
|
563
|
+
* @param {!proto.meshtrade.reporting.account_report.v1.IncomeEntry=} opt_value
|
|
564
|
+
* @param {number=} opt_index
|
|
565
|
+
* @return {!proto.meshtrade.reporting.account_report.v1.IncomeEntry}
|
|
566
|
+
*/
|
|
567
|
+
proto.meshtrade.reporting.account_report.v1.AccountReport.prototype.addIncomeEntries = function(opt_value, opt_index) {
|
|
568
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.meshtrade.reporting.account_report.v1.IncomeEntry, opt_index);
|
|
569
|
+
};
|
|
570
|
+
|
|
571
|
+
|
|
572
|
+
/**
|
|
573
|
+
* Clears the list making it empty but non-null.
|
|
574
|
+
* @return {!proto.meshtrade.reporting.account_report.v1.AccountReport} returns this
|
|
575
|
+
*/
|
|
576
|
+
proto.meshtrade.reporting.account_report.v1.AccountReport.prototype.clearIncomeEntriesList = function() {
|
|
577
|
+
return this.setIncomeEntriesList([]);
|
|
578
|
+
};
|
|
579
|
+
|
|
580
|
+
|
|
581
|
+
/**
|
|
582
|
+
* repeated FeeEntry fee_entries = 2;
|
|
583
|
+
* @return {!Array<!proto.meshtrade.reporting.account_report.v1.FeeEntry>}
|
|
584
|
+
*/
|
|
585
|
+
proto.meshtrade.reporting.account_report.v1.AccountReport.prototype.getFeeEntriesList = function() {
|
|
586
|
+
return /** @type{!Array<!proto.meshtrade.reporting.account_report.v1.FeeEntry>} */ (
|
|
587
|
+
jspb.Message.getRepeatedWrapperField(this, meshtrade_reporting_account_report_v1_fee_entry_pb.FeeEntry, 2));
|
|
588
|
+
};
|
|
589
|
+
|
|
590
|
+
|
|
591
|
+
/**
|
|
592
|
+
* @param {!Array<!proto.meshtrade.reporting.account_report.v1.FeeEntry>} value
|
|
593
|
+
* @return {!proto.meshtrade.reporting.account_report.v1.AccountReport} returns this
|
|
594
|
+
*/
|
|
595
|
+
proto.meshtrade.reporting.account_report.v1.AccountReport.prototype.setFeeEntriesList = function(value) {
|
|
596
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
597
|
+
};
|
|
598
|
+
|
|
599
|
+
|
|
600
|
+
/**
|
|
601
|
+
* @param {!proto.meshtrade.reporting.account_report.v1.FeeEntry=} opt_value
|
|
602
|
+
* @param {number=} opt_index
|
|
603
|
+
* @return {!proto.meshtrade.reporting.account_report.v1.FeeEntry}
|
|
604
|
+
*/
|
|
605
|
+
proto.meshtrade.reporting.account_report.v1.AccountReport.prototype.addFeeEntries = function(opt_value, opt_index) {
|
|
606
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.meshtrade.reporting.account_report.v1.FeeEntry, opt_index);
|
|
607
|
+
};
|
|
608
|
+
|
|
609
|
+
|
|
610
|
+
/**
|
|
611
|
+
* Clears the list making it empty but non-null.
|
|
612
|
+
* @return {!proto.meshtrade.reporting.account_report.v1.AccountReport} returns this
|
|
613
|
+
*/
|
|
614
|
+
proto.meshtrade.reporting.account_report.v1.AccountReport.prototype.clearFeeEntriesList = function() {
|
|
615
|
+
return this.setFeeEntriesList([]);
|
|
616
|
+
};
|
|
617
|
+
|
|
618
|
+
|
|
619
|
+
/**
|
|
620
|
+
* repeated TradingStatementEntry trading_statement_entries = 3;
|
|
621
|
+
* @return {!Array<!proto.meshtrade.reporting.account_report.v1.TradingStatementEntry>}
|
|
622
|
+
*/
|
|
623
|
+
proto.meshtrade.reporting.account_report.v1.AccountReport.prototype.getTradingStatementEntriesList = function() {
|
|
624
|
+
return /** @type{!Array<!proto.meshtrade.reporting.account_report.v1.TradingStatementEntry>} */ (
|
|
625
|
+
jspb.Message.getRepeatedWrapperField(this, meshtrade_reporting_account_report_v1_trading_statement_entry_pb.TradingStatementEntry, 3));
|
|
626
|
+
};
|
|
627
|
+
|
|
628
|
+
|
|
629
|
+
/**
|
|
630
|
+
* @param {!Array<!proto.meshtrade.reporting.account_report.v1.TradingStatementEntry>} value
|
|
631
|
+
* @return {!proto.meshtrade.reporting.account_report.v1.AccountReport} returns this
|
|
632
|
+
*/
|
|
633
|
+
proto.meshtrade.reporting.account_report.v1.AccountReport.prototype.setTradingStatementEntriesList = function(value) {
|
|
634
|
+
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
635
|
+
};
|
|
636
|
+
|
|
637
|
+
|
|
638
|
+
/**
|
|
639
|
+
* @param {!proto.meshtrade.reporting.account_report.v1.TradingStatementEntry=} opt_value
|
|
640
|
+
* @param {number=} opt_index
|
|
641
|
+
* @return {!proto.meshtrade.reporting.account_report.v1.TradingStatementEntry}
|
|
642
|
+
*/
|
|
643
|
+
proto.meshtrade.reporting.account_report.v1.AccountReport.prototype.addTradingStatementEntries = function(opt_value, opt_index) {
|
|
644
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.meshtrade.reporting.account_report.v1.TradingStatementEntry, opt_index);
|
|
645
|
+
};
|
|
646
|
+
|
|
647
|
+
|
|
648
|
+
/**
|
|
649
|
+
* Clears the list making it empty but non-null.
|
|
650
|
+
* @return {!proto.meshtrade.reporting.account_report.v1.AccountReport} returns this
|
|
651
|
+
*/
|
|
652
|
+
proto.meshtrade.reporting.account_report.v1.AccountReport.prototype.clearTradingStatementEntriesList = function() {
|
|
653
|
+
return this.setTradingStatementEntriesList([]);
|
|
654
|
+
};
|
|
655
|
+
|
|
656
|
+
|
|
657
|
+
/**
|
|
658
|
+
* optional meshtrade.type.v1.Token reporting_currency = 4;
|
|
659
|
+
* @return {?proto.meshtrade.type.v1.Token}
|
|
660
|
+
*/
|
|
661
|
+
proto.meshtrade.reporting.account_report.v1.AccountReport.prototype.getReportingCurrency = function() {
|
|
662
|
+
return /** @type{?proto.meshtrade.type.v1.Token} */ (
|
|
663
|
+
jspb.Message.getWrapperField(this, meshtrade_type_v1_token_pb.Token, 4));
|
|
664
|
+
};
|
|
665
|
+
|
|
666
|
+
|
|
667
|
+
/**
|
|
668
|
+
* @param {?proto.meshtrade.type.v1.Token|undefined} value
|
|
669
|
+
* @return {!proto.meshtrade.reporting.account_report.v1.AccountReport} returns this
|
|
670
|
+
*/
|
|
671
|
+
proto.meshtrade.reporting.account_report.v1.AccountReport.prototype.setReportingCurrency = function(value) {
|
|
672
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
673
|
+
};
|
|
674
|
+
|
|
675
|
+
|
|
676
|
+
/**
|
|
677
|
+
* Clears the message field making it undefined.
|
|
678
|
+
* @return {!proto.meshtrade.reporting.account_report.v1.AccountReport} returns this
|
|
679
|
+
*/
|
|
680
|
+
proto.meshtrade.reporting.account_report.v1.AccountReport.prototype.clearReportingCurrency = function() {
|
|
681
|
+
return this.setReportingCurrency(undefined);
|
|
682
|
+
};
|
|
683
|
+
|
|
684
|
+
|
|
685
|
+
/**
|
|
686
|
+
* Returns whether this field is set.
|
|
687
|
+
* @return {boolean}
|
|
688
|
+
*/
|
|
689
|
+
proto.meshtrade.reporting.account_report.v1.AccountReport.prototype.hasReportingCurrency = function() {
|
|
690
|
+
return jspb.Message.getField(this, 4) != null;
|
|
691
|
+
};
|
|
692
|
+
|
|
693
|
+
|
|
694
|
+
/**
|
|
695
|
+
* optional Period period = 5;
|
|
696
|
+
* @return {?proto.meshtrade.reporting.account_report.v1.AccountReport.Period}
|
|
697
|
+
*/
|
|
698
|
+
proto.meshtrade.reporting.account_report.v1.AccountReport.prototype.getPeriod = function() {
|
|
699
|
+
return /** @type{?proto.meshtrade.reporting.account_report.v1.AccountReport.Period} */ (
|
|
700
|
+
jspb.Message.getWrapperField(this, proto.meshtrade.reporting.account_report.v1.AccountReport.Period, 5));
|
|
701
|
+
};
|
|
702
|
+
|
|
703
|
+
|
|
704
|
+
/**
|
|
705
|
+
* @param {?proto.meshtrade.reporting.account_report.v1.AccountReport.Period|undefined} value
|
|
706
|
+
* @return {!proto.meshtrade.reporting.account_report.v1.AccountReport} returns this
|
|
707
|
+
*/
|
|
708
|
+
proto.meshtrade.reporting.account_report.v1.AccountReport.prototype.setPeriod = function(value) {
|
|
709
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
710
|
+
};
|
|
711
|
+
|
|
712
|
+
|
|
713
|
+
/**
|
|
714
|
+
* Clears the message field making it undefined.
|
|
715
|
+
* @return {!proto.meshtrade.reporting.account_report.v1.AccountReport} returns this
|
|
716
|
+
*/
|
|
717
|
+
proto.meshtrade.reporting.account_report.v1.AccountReport.prototype.clearPeriod = function() {
|
|
718
|
+
return this.setPeriod(undefined);
|
|
719
|
+
};
|
|
720
|
+
|
|
721
|
+
|
|
722
|
+
/**
|
|
723
|
+
* Returns whether this field is set.
|
|
724
|
+
* @return {boolean}
|
|
725
|
+
*/
|
|
726
|
+
proto.meshtrade.reporting.account_report.v1.AccountReport.prototype.hasPeriod = function() {
|
|
727
|
+
return jspb.Message.getField(this, 5) != null;
|
|
728
|
+
};
|
|
729
|
+
|
|
730
|
+
|
|
731
|
+
/**
|
|
732
|
+
* optional google.protobuf.Timestamp generation_date = 6;
|
|
733
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
734
|
+
*/
|
|
735
|
+
proto.meshtrade.reporting.account_report.v1.AccountReport.prototype.getGenerationDate = function() {
|
|
736
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
737
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 6));
|
|
738
|
+
};
|
|
739
|
+
|
|
740
|
+
|
|
741
|
+
/**
|
|
742
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
743
|
+
* @return {!proto.meshtrade.reporting.account_report.v1.AccountReport} returns this
|
|
744
|
+
*/
|
|
745
|
+
proto.meshtrade.reporting.account_report.v1.AccountReport.prototype.setGenerationDate = function(value) {
|
|
746
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
747
|
+
};
|
|
748
|
+
|
|
749
|
+
|
|
750
|
+
/**
|
|
751
|
+
* Clears the message field making it undefined.
|
|
752
|
+
* @return {!proto.meshtrade.reporting.account_report.v1.AccountReport} returns this
|
|
753
|
+
*/
|
|
754
|
+
proto.meshtrade.reporting.account_report.v1.AccountReport.prototype.clearGenerationDate = function() {
|
|
755
|
+
return this.setGenerationDate(undefined);
|
|
756
|
+
};
|
|
757
|
+
|
|
758
|
+
|
|
759
|
+
/**
|
|
760
|
+
* Returns whether this field is set.
|
|
761
|
+
* @return {boolean}
|
|
762
|
+
*/
|
|
763
|
+
proto.meshtrade.reporting.account_report.v1.AccountReport.prototype.hasGenerationDate = function() {
|
|
764
|
+
return jspb.Message.getField(this, 6) != null;
|
|
765
|
+
};
|
|
766
|
+
|
|
767
|
+
|
|
768
|
+
/**
|
|
769
|
+
* optional string account_number = 7;
|
|
770
|
+
* @return {string}
|
|
771
|
+
*/
|
|
772
|
+
proto.meshtrade.reporting.account_report.v1.AccountReport.prototype.getAccountNumber = function() {
|
|
773
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
774
|
+
};
|
|
775
|
+
|
|
776
|
+
|
|
777
|
+
/**
|
|
778
|
+
* @param {string} value
|
|
779
|
+
* @return {!proto.meshtrade.reporting.account_report.v1.AccountReport} returns this
|
|
780
|
+
*/
|
|
781
|
+
proto.meshtrade.reporting.account_report.v1.AccountReport.prototype.setAccountNumber = function(value) {
|
|
782
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
783
|
+
};
|
|
784
|
+
|
|
785
|
+
|
|
786
|
+
/**
|
|
787
|
+
* repeated Disclaimer disclaimers = 8;
|
|
788
|
+
* @return {!Array<!proto.meshtrade.reporting.account_report.v1.Disclaimer>}
|
|
789
|
+
*/
|
|
790
|
+
proto.meshtrade.reporting.account_report.v1.AccountReport.prototype.getDisclaimersList = function() {
|
|
791
|
+
return /** @type{!Array<!proto.meshtrade.reporting.account_report.v1.Disclaimer>} */ (
|
|
792
|
+
jspb.Message.getRepeatedWrapperField(this, meshtrade_reporting_account_report_v1_disclaimer_pb.Disclaimer, 8));
|
|
793
|
+
};
|
|
794
|
+
|
|
795
|
+
|
|
796
|
+
/**
|
|
797
|
+
* @param {!Array<!proto.meshtrade.reporting.account_report.v1.Disclaimer>} value
|
|
798
|
+
* @return {!proto.meshtrade.reporting.account_report.v1.AccountReport} returns this
|
|
799
|
+
*/
|
|
800
|
+
proto.meshtrade.reporting.account_report.v1.AccountReport.prototype.setDisclaimersList = function(value) {
|
|
801
|
+
return jspb.Message.setRepeatedWrapperField(this, 8, value);
|
|
802
|
+
};
|
|
803
|
+
|
|
804
|
+
|
|
805
|
+
/**
|
|
806
|
+
* @param {!proto.meshtrade.reporting.account_report.v1.Disclaimer=} opt_value
|
|
807
|
+
* @param {number=} opt_index
|
|
808
|
+
* @return {!proto.meshtrade.reporting.account_report.v1.Disclaimer}
|
|
809
|
+
*/
|
|
810
|
+
proto.meshtrade.reporting.account_report.v1.AccountReport.prototype.addDisclaimers = function(opt_value, opt_index) {
|
|
811
|
+
return jspb.Message.addToRepeatedWrapperField(this, 8, opt_value, proto.meshtrade.reporting.account_report.v1.Disclaimer, opt_index);
|
|
812
|
+
};
|
|
813
|
+
|
|
814
|
+
|
|
815
|
+
/**
|
|
816
|
+
* Clears the list making it empty but non-null.
|
|
817
|
+
* @return {!proto.meshtrade.reporting.account_report.v1.AccountReport} returns this
|
|
818
|
+
*/
|
|
819
|
+
proto.meshtrade.reporting.account_report.v1.AccountReport.prototype.clearDisclaimersList = function() {
|
|
820
|
+
return this.setDisclaimersList([]);
|
|
821
|
+
};
|
|
822
|
+
|
|
823
|
+
|
|
824
|
+
/**
|
|
825
|
+
* optional meshtrade.type.v1.Address client_address = 9;
|
|
826
|
+
* @return {?proto.meshtrade.type.v1.Address}
|
|
827
|
+
*/
|
|
828
|
+
proto.meshtrade.reporting.account_report.v1.AccountReport.prototype.getClientAddress = function() {
|
|
829
|
+
return /** @type{?proto.meshtrade.type.v1.Address} */ (
|
|
830
|
+
jspb.Message.getWrapperField(this, meshtrade_type_v1_address_pb.Address, 9));
|
|
831
|
+
};
|
|
832
|
+
|
|
833
|
+
|
|
834
|
+
/**
|
|
835
|
+
* @param {?proto.meshtrade.type.v1.Address|undefined} value
|
|
836
|
+
* @return {!proto.meshtrade.reporting.account_report.v1.AccountReport} returns this
|
|
837
|
+
*/
|
|
838
|
+
proto.meshtrade.reporting.account_report.v1.AccountReport.prototype.setClientAddress = function(value) {
|
|
839
|
+
return jspb.Message.setWrapperField(this, 9, value);
|
|
840
|
+
};
|
|
841
|
+
|
|
842
|
+
|
|
843
|
+
/**
|
|
844
|
+
* Clears the message field making it undefined.
|
|
845
|
+
* @return {!proto.meshtrade.reporting.account_report.v1.AccountReport} returns this
|
|
846
|
+
*/
|
|
847
|
+
proto.meshtrade.reporting.account_report.v1.AccountReport.prototype.clearClientAddress = function() {
|
|
848
|
+
return this.setClientAddress(undefined);
|
|
849
|
+
};
|
|
850
|
+
|
|
851
|
+
|
|
852
|
+
/**
|
|
853
|
+
* Returns whether this field is set.
|
|
854
|
+
* @return {boolean}
|
|
855
|
+
*/
|
|
856
|
+
proto.meshtrade.reporting.account_report.v1.AccountReport.prototype.hasClientAddress = function() {
|
|
857
|
+
return jspb.Message.getField(this, 9) != null;
|
|
858
|
+
};
|
|
859
|
+
|
|
860
|
+
|
|
861
|
+
/**
|
|
862
|
+
* optional string client_name = 10;
|
|
863
|
+
* @return {string}
|
|
864
|
+
*/
|
|
865
|
+
proto.meshtrade.reporting.account_report.v1.AccountReport.prototype.getClientName = function() {
|
|
866
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
867
|
+
};
|
|
868
|
+
|
|
869
|
+
|
|
870
|
+
/**
|
|
871
|
+
* @param {string} value
|
|
872
|
+
* @return {!proto.meshtrade.reporting.account_report.v1.AccountReport} returns this
|
|
873
|
+
*/
|
|
874
|
+
proto.meshtrade.reporting.account_report.v1.AccountReport.prototype.setClientName = function(value) {
|
|
875
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
876
|
+
};
|
|
877
|
+
|
|
878
|
+
|
|
879
|
+
/**
|
|
880
|
+
* optional string copyright = 11;
|
|
881
|
+
* @return {string}
|
|
882
|
+
*/
|
|
883
|
+
proto.meshtrade.reporting.account_report.v1.AccountReport.prototype.getCopyright = function() {
|
|
884
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
885
|
+
};
|
|
886
|
+
|
|
887
|
+
|
|
888
|
+
/**
|
|
889
|
+
* @param {string} value
|
|
890
|
+
* @return {!proto.meshtrade.reporting.account_report.v1.AccountReport} returns this
|
|
891
|
+
*/
|
|
892
|
+
proto.meshtrade.reporting.account_report.v1.AccountReport.prototype.setCopyright = function(value) {
|
|
893
|
+
return jspb.Message.setProto3StringField(this, 11, value);
|
|
894
|
+
};
|
|
895
|
+
|
|
896
|
+
|
|
897
|
+
goog.object.extend(exports, proto.meshtrade.reporting.account_report.v1);
|