@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,321 @@
|
|
|
1
|
+
// source: meshtrade/compliance/client/v1/fund.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 buf_validate_validate_pb = require('../../../../buf/validate/validate_pb.js');
|
|
25
|
+
goog.object.extend(proto, buf_validate_validate_pb);
|
|
26
|
+
var google_type_date_pb = require('../../../../google/type/date_pb.js');
|
|
27
|
+
goog.object.extend(proto, google_type_date_pb);
|
|
28
|
+
goog.exportSymbol('proto.meshtrade.compliance.client.v1.Fund', null, global);
|
|
29
|
+
/**
|
|
30
|
+
* Generated by JsPbCodeGenerator.
|
|
31
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
32
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
33
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
34
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
35
|
+
* valid.
|
|
36
|
+
* @extends {jspb.Message}
|
|
37
|
+
* @constructor
|
|
38
|
+
*/
|
|
39
|
+
proto.meshtrade.compliance.client.v1.Fund = function(opt_data) {
|
|
40
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
41
|
+
};
|
|
42
|
+
goog.inherits(proto.meshtrade.compliance.client.v1.Fund, jspb.Message);
|
|
43
|
+
if (goog.DEBUG && !COMPILED) {
|
|
44
|
+
/**
|
|
45
|
+
* @public
|
|
46
|
+
* @override
|
|
47
|
+
*/
|
|
48
|
+
proto.meshtrade.compliance.client.v1.Fund.displayName = 'proto.meshtrade.compliance.client.v1.Fund';
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
54
|
+
/**
|
|
55
|
+
* Creates an object representation of this proto.
|
|
56
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
57
|
+
* Optional fields that are not set will be set to undefined.
|
|
58
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
59
|
+
* For the list of reserved names please see:
|
|
60
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
61
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
62
|
+
* JSPB instance for transitional soy proto support:
|
|
63
|
+
* http://goto/soy-param-migration
|
|
64
|
+
* @return {!Object}
|
|
65
|
+
*/
|
|
66
|
+
proto.meshtrade.compliance.client.v1.Fund.prototype.toObject = function(opt_includeInstance) {
|
|
67
|
+
return proto.meshtrade.compliance.client.v1.Fund.toObject(opt_includeInstance, this);
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Static version of the {@see toObject} method.
|
|
73
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
74
|
+
* the JSPB instance for transitional soy proto support:
|
|
75
|
+
* http://goto/soy-param-migration
|
|
76
|
+
* @param {!proto.meshtrade.compliance.client.v1.Fund} msg The msg instance to transform.
|
|
77
|
+
* @return {!Object}
|
|
78
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
79
|
+
*/
|
|
80
|
+
proto.meshtrade.compliance.client.v1.Fund.toObject = function(includeInstance, msg) {
|
|
81
|
+
var f, obj = {
|
|
82
|
+
registeredName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
83
|
+
registrationNumber: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
84
|
+
taxIdentifier: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
85
|
+
countryOfDomicile: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
86
|
+
dateOfInception: (f = msg.getDateOfInception()) && google_type_date_pb.Date.toObject(includeInstance, f)
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
if (includeInstance) {
|
|
90
|
+
obj.$jspbMessageInstance = msg;
|
|
91
|
+
}
|
|
92
|
+
return obj;
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* Deserializes binary data (in protobuf wire format).
|
|
99
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
100
|
+
* @return {!proto.meshtrade.compliance.client.v1.Fund}
|
|
101
|
+
*/
|
|
102
|
+
proto.meshtrade.compliance.client.v1.Fund.deserializeBinary = function(bytes) {
|
|
103
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
104
|
+
var msg = new proto.meshtrade.compliance.client.v1.Fund;
|
|
105
|
+
return proto.meshtrade.compliance.client.v1.Fund.deserializeBinaryFromReader(msg, reader);
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
111
|
+
* given reader into the given message object.
|
|
112
|
+
* @param {!proto.meshtrade.compliance.client.v1.Fund} msg The message object to deserialize into.
|
|
113
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
114
|
+
* @return {!proto.meshtrade.compliance.client.v1.Fund}
|
|
115
|
+
*/
|
|
116
|
+
proto.meshtrade.compliance.client.v1.Fund.deserializeBinaryFromReader = function(msg, reader) {
|
|
117
|
+
while (reader.nextField()) {
|
|
118
|
+
if (reader.isEndGroup()) {
|
|
119
|
+
break;
|
|
120
|
+
}
|
|
121
|
+
var field = reader.getFieldNumber();
|
|
122
|
+
switch (field) {
|
|
123
|
+
case 1:
|
|
124
|
+
var value = /** @type {string} */ (reader.readString());
|
|
125
|
+
msg.setRegisteredName(value);
|
|
126
|
+
break;
|
|
127
|
+
case 2:
|
|
128
|
+
var value = /** @type {string} */ (reader.readString());
|
|
129
|
+
msg.setRegistrationNumber(value);
|
|
130
|
+
break;
|
|
131
|
+
case 3:
|
|
132
|
+
var value = /** @type {string} */ (reader.readString());
|
|
133
|
+
msg.setTaxIdentifier(value);
|
|
134
|
+
break;
|
|
135
|
+
case 4:
|
|
136
|
+
var value = /** @type {string} */ (reader.readString());
|
|
137
|
+
msg.setCountryOfDomicile(value);
|
|
138
|
+
break;
|
|
139
|
+
case 5:
|
|
140
|
+
var value = new google_type_date_pb.Date;
|
|
141
|
+
reader.readMessage(value,google_type_date_pb.Date.deserializeBinaryFromReader);
|
|
142
|
+
msg.setDateOfInception(value);
|
|
143
|
+
break;
|
|
144
|
+
default:
|
|
145
|
+
reader.skipField();
|
|
146
|
+
break;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
return msg;
|
|
150
|
+
};
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
155
|
+
* @return {!Uint8Array}
|
|
156
|
+
*/
|
|
157
|
+
proto.meshtrade.compliance.client.v1.Fund.prototype.serializeBinary = function() {
|
|
158
|
+
var writer = new jspb.BinaryWriter();
|
|
159
|
+
proto.meshtrade.compliance.client.v1.Fund.serializeBinaryToWriter(this, writer);
|
|
160
|
+
return writer.getResultBuffer();
|
|
161
|
+
};
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
166
|
+
* format), writing to the given BinaryWriter.
|
|
167
|
+
* @param {!proto.meshtrade.compliance.client.v1.Fund} message
|
|
168
|
+
* @param {!jspb.BinaryWriter} writer
|
|
169
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
170
|
+
*/
|
|
171
|
+
proto.meshtrade.compliance.client.v1.Fund.serializeBinaryToWriter = function(message, writer) {
|
|
172
|
+
var f = undefined;
|
|
173
|
+
f = message.getRegisteredName();
|
|
174
|
+
if (f.length > 0) {
|
|
175
|
+
writer.writeString(
|
|
176
|
+
1,
|
|
177
|
+
f
|
|
178
|
+
);
|
|
179
|
+
}
|
|
180
|
+
f = message.getRegistrationNumber();
|
|
181
|
+
if (f.length > 0) {
|
|
182
|
+
writer.writeString(
|
|
183
|
+
2,
|
|
184
|
+
f
|
|
185
|
+
);
|
|
186
|
+
}
|
|
187
|
+
f = message.getTaxIdentifier();
|
|
188
|
+
if (f.length > 0) {
|
|
189
|
+
writer.writeString(
|
|
190
|
+
3,
|
|
191
|
+
f
|
|
192
|
+
);
|
|
193
|
+
}
|
|
194
|
+
f = message.getCountryOfDomicile();
|
|
195
|
+
if (f.length > 0) {
|
|
196
|
+
writer.writeString(
|
|
197
|
+
4,
|
|
198
|
+
f
|
|
199
|
+
);
|
|
200
|
+
}
|
|
201
|
+
f = message.getDateOfInception();
|
|
202
|
+
if (f != null) {
|
|
203
|
+
writer.writeMessage(
|
|
204
|
+
5,
|
|
205
|
+
f,
|
|
206
|
+
google_type_date_pb.Date.serializeBinaryToWriter
|
|
207
|
+
);
|
|
208
|
+
}
|
|
209
|
+
};
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* optional string registered_name = 1;
|
|
214
|
+
* @return {string}
|
|
215
|
+
*/
|
|
216
|
+
proto.meshtrade.compliance.client.v1.Fund.prototype.getRegisteredName = function() {
|
|
217
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
218
|
+
};
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
/**
|
|
222
|
+
* @param {string} value
|
|
223
|
+
* @return {!proto.meshtrade.compliance.client.v1.Fund} returns this
|
|
224
|
+
*/
|
|
225
|
+
proto.meshtrade.compliance.client.v1.Fund.prototype.setRegisteredName = function(value) {
|
|
226
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
227
|
+
};
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
/**
|
|
231
|
+
* optional string registration_number = 2;
|
|
232
|
+
* @return {string}
|
|
233
|
+
*/
|
|
234
|
+
proto.meshtrade.compliance.client.v1.Fund.prototype.getRegistrationNumber = function() {
|
|
235
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
236
|
+
};
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* @param {string} value
|
|
241
|
+
* @return {!proto.meshtrade.compliance.client.v1.Fund} returns this
|
|
242
|
+
*/
|
|
243
|
+
proto.meshtrade.compliance.client.v1.Fund.prototype.setRegistrationNumber = function(value) {
|
|
244
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
245
|
+
};
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
/**
|
|
249
|
+
* optional string tax_identifier = 3;
|
|
250
|
+
* @return {string}
|
|
251
|
+
*/
|
|
252
|
+
proto.meshtrade.compliance.client.v1.Fund.prototype.getTaxIdentifier = function() {
|
|
253
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
254
|
+
};
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* @param {string} value
|
|
259
|
+
* @return {!proto.meshtrade.compliance.client.v1.Fund} returns this
|
|
260
|
+
*/
|
|
261
|
+
proto.meshtrade.compliance.client.v1.Fund.prototype.setTaxIdentifier = function(value) {
|
|
262
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
263
|
+
};
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
/**
|
|
267
|
+
* optional string country_of_domicile = 4;
|
|
268
|
+
* @return {string}
|
|
269
|
+
*/
|
|
270
|
+
proto.meshtrade.compliance.client.v1.Fund.prototype.getCountryOfDomicile = function() {
|
|
271
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
272
|
+
};
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
/**
|
|
276
|
+
* @param {string} value
|
|
277
|
+
* @return {!proto.meshtrade.compliance.client.v1.Fund} returns this
|
|
278
|
+
*/
|
|
279
|
+
proto.meshtrade.compliance.client.v1.Fund.prototype.setCountryOfDomicile = function(value) {
|
|
280
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
281
|
+
};
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
/**
|
|
285
|
+
* optional google.type.Date date_of_inception = 5;
|
|
286
|
+
* @return {?proto.google.type.Date}
|
|
287
|
+
*/
|
|
288
|
+
proto.meshtrade.compliance.client.v1.Fund.prototype.getDateOfInception = function() {
|
|
289
|
+
return /** @type{?proto.google.type.Date} */ (
|
|
290
|
+
jspb.Message.getWrapperField(this, google_type_date_pb.Date, 5));
|
|
291
|
+
};
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
/**
|
|
295
|
+
* @param {?proto.google.type.Date|undefined} value
|
|
296
|
+
* @return {!proto.meshtrade.compliance.client.v1.Fund} returns this
|
|
297
|
+
*/
|
|
298
|
+
proto.meshtrade.compliance.client.v1.Fund.prototype.setDateOfInception = function(value) {
|
|
299
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
300
|
+
};
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
/**
|
|
304
|
+
* Clears the message field making it undefined.
|
|
305
|
+
* @return {!proto.meshtrade.compliance.client.v1.Fund} returns this
|
|
306
|
+
*/
|
|
307
|
+
proto.meshtrade.compliance.client.v1.Fund.prototype.clearDateOfInception = function() {
|
|
308
|
+
return this.setDateOfInception(undefined);
|
|
309
|
+
};
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
/**
|
|
313
|
+
* Returns whether this field is set.
|
|
314
|
+
* @return {boolean}
|
|
315
|
+
*/
|
|
316
|
+
proto.meshtrade.compliance.client.v1.Fund.prototype.hasDateOfInception = function() {
|
|
317
|
+
return jspb.Message.getField(this, 5) != null;
|
|
318
|
+
};
|
|
319
|
+
|
|
320
|
+
|
|
321
|
+
goog.object.extend(exports, proto.meshtrade.compliance.client.v1);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as jspb from 'google-protobuf'
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export enum IdentificationDocumentType {
|
|
6
|
+
IDENTIFICATION_DOCUMENT_TYPE_UNSPECIFIED = 0,
|
|
7
|
+
IDENTIFICATION_DOCUMENT_TYPE_PASSPORT = 1,
|
|
8
|
+
IDENTIFICATION_DOCUMENT_TYPE_NATIONAL_ID = 2,
|
|
9
|
+
IDENTIFICATION_DOCUMENT_TYPE_DRIVERS_LICENSE = 3,
|
|
10
|
+
IDENTIFICATION_DOCUMENT_TYPE_RESIDENCE_PERMIT = 4,
|
|
11
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
// source: meshtrade/compliance/client/v1/identification_document_type.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
|
+
goog.exportSymbol('proto.meshtrade.compliance.client.v1.IdentificationDocumentType', null, global);
|
|
25
|
+
/**
|
|
26
|
+
* @enum {number}
|
|
27
|
+
*/
|
|
28
|
+
proto.meshtrade.compliance.client.v1.IdentificationDocumentType = {
|
|
29
|
+
IDENTIFICATION_DOCUMENT_TYPE_UNSPECIFIED: 0,
|
|
30
|
+
IDENTIFICATION_DOCUMENT_TYPE_PASSPORT: 1,
|
|
31
|
+
IDENTIFICATION_DOCUMENT_TYPE_NATIONAL_ID: 2,
|
|
32
|
+
IDENTIFICATION_DOCUMENT_TYPE_DRIVERS_LICENSE: 3,
|
|
33
|
+
IDENTIFICATION_DOCUMENT_TYPE_RESIDENCE_PERMIT: 4
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
goog.object.extend(exports, proto.meshtrade.compliance.client.v1);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export * from "./client_pb";
|
|
2
|
+
export * from "./company_pb";
|
|
3
|
+
export * from "./company_representative_pb";
|
|
4
|
+
export * from "./company_representative_role_pb";
|
|
5
|
+
export * from "./fund_pb";
|
|
6
|
+
export * from "./identification_document_type_pb";
|
|
7
|
+
export * from "./industry_classification_pb";
|
|
8
|
+
export * from "./natural_person_connection_type_pb";
|
|
9
|
+
export * from "./natural_person_pb";
|
|
10
|
+
export * from "./pep_status_pb";
|
|
11
|
+
export * from "./service_grpc_web_client_meshts";
|
|
12
|
+
export * from "./service_grpc_web_pb";
|
|
13
|
+
export * from "./service_pb";
|
|
14
|
+
export * from "./source_of_income_and_wealth_pb";
|
|
15
|
+
export * from "./tax_residency_pb";
|
|
16
|
+
export * from "./trust_pb";
|
|
17
|
+
export * from "./verification_status_pb";
|
|
18
|
+
export { ClientServiceGrpcWebClientV1 } from "./service_grpc_web_client_meshts";
|
|
@@ -0,0 +1,61 @@
|
|
|
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
|
+
exports.ClientServiceGrpcWebClientV1 = void 0;
|
|
29
|
+
// Generated exports
|
|
30
|
+
__exportStar(require("./client_pb"), exports);
|
|
31
|
+
__exportStar(require("./company_pb"), exports);
|
|
32
|
+
__exportStar(require("./company_representative_pb"), exports);
|
|
33
|
+
__exportStar(require("./company_representative_role_pb"), exports);
|
|
34
|
+
__exportStar(require("./fund_pb"), exports);
|
|
35
|
+
__exportStar(require("./identification_document_type_pb"), exports);
|
|
36
|
+
__exportStar(require("./industry_classification_pb"), exports);
|
|
37
|
+
__exportStar(require("./natural_person_connection_type_pb"), exports);
|
|
38
|
+
__exportStar(require("./natural_person_pb"), exports);
|
|
39
|
+
__exportStar(require("./pep_status_pb"), exports);
|
|
40
|
+
__exportStar(require("./service_grpc_web_client_meshts"), exports);
|
|
41
|
+
__exportStar(require("./service_grpc_web_pb"), exports);
|
|
42
|
+
__exportStar(require("./service_pb"), exports);
|
|
43
|
+
__exportStar(require("./source_of_income_and_wealth_pb"), exports);
|
|
44
|
+
__exportStar(require("./tax_residency_pb"), exports);
|
|
45
|
+
__exportStar(require("./trust_pb"), exports);
|
|
46
|
+
__exportStar(require("./verification_status_pb"), exports);
|
|
47
|
+
// ===================================================================
|
|
48
|
+
// END OF AUTO-GENERATED SECTION
|
|
49
|
+
// ===================================================================
|
|
50
|
+
//
|
|
51
|
+
// MANUAL EXPORTS - ADD YOUR CUSTOM EXPORTS BELOW
|
|
52
|
+
//
|
|
53
|
+
// You can safely add your own export statements in this section.
|
|
54
|
+
// They will be preserved across code generation.
|
|
55
|
+
//
|
|
56
|
+
// Example:
|
|
57
|
+
// export * from "./my_custom_module";
|
|
58
|
+
// export { MyCustomClass } from "./another_module";
|
|
59
|
+
// ===================================================================
|
|
60
|
+
var service_grpc_web_client_meshts_1 = require("./service_grpc_web_client_meshts");
|
|
61
|
+
Object.defineProperty(exports, "ClientServiceGrpcWebClientV1", { enumerable: true, get: function () { return service_grpc_web_client_meshts_1.ClientServiceGrpcWebClientV1; } });
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import * as jspb from 'google-protobuf'
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class IndustryClassification extends jspb.Message {
|
|
6
|
+
getSectorCode(): string;
|
|
7
|
+
setSectorCode(value: string): IndustryClassification;
|
|
8
|
+
|
|
9
|
+
getSectorName(): string;
|
|
10
|
+
setSectorName(value: string): IndustryClassification;
|
|
11
|
+
|
|
12
|
+
getIndustryGroupCode(): string;
|
|
13
|
+
setIndustryGroupCode(value: string): IndustryClassification;
|
|
14
|
+
|
|
15
|
+
getIndustryGroupName(): string;
|
|
16
|
+
setIndustryGroupName(value: string): IndustryClassification;
|
|
17
|
+
|
|
18
|
+
getIndustryCode(): string;
|
|
19
|
+
setIndustryCode(value: string): IndustryClassification;
|
|
20
|
+
|
|
21
|
+
getIndustryName(): string;
|
|
22
|
+
setIndustryName(value: string): IndustryClassification;
|
|
23
|
+
|
|
24
|
+
getSubIndustryCode(): string;
|
|
25
|
+
setSubIndustryCode(value: string): IndustryClassification;
|
|
26
|
+
|
|
27
|
+
getSubIndustryName(): string;
|
|
28
|
+
setSubIndustryName(value: string): IndustryClassification;
|
|
29
|
+
|
|
30
|
+
serializeBinary(): Uint8Array;
|
|
31
|
+
toObject(includeInstance?: boolean): IndustryClassification.AsObject;
|
|
32
|
+
static toObject(includeInstance: boolean, msg: IndustryClassification): IndustryClassification.AsObject;
|
|
33
|
+
static serializeBinaryToWriter(message: IndustryClassification, writer: jspb.BinaryWriter): void;
|
|
34
|
+
static deserializeBinary(bytes: Uint8Array): IndustryClassification;
|
|
35
|
+
static deserializeBinaryFromReader(message: IndustryClassification, reader: jspb.BinaryReader): IndustryClassification;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export namespace IndustryClassification {
|
|
39
|
+
export type AsObject = {
|
|
40
|
+
sectorCode: string,
|
|
41
|
+
sectorName: string,
|
|
42
|
+
industryGroupCode: string,
|
|
43
|
+
industryGroupName: string,
|
|
44
|
+
industryCode: string,
|
|
45
|
+
industryName: string,
|
|
46
|
+
subIndustryCode: string,
|
|
47
|
+
subIndustryName: string,
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|