@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,645 @@
|
|
|
1
|
+
// source: meshtrade/compliance/client/v1/client.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_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
|
|
27
|
+
goog.object.extend(proto, google_protobuf_timestamp_pb);
|
|
28
|
+
var meshtrade_compliance_client_v1_company_pb = require('../../../../meshtrade/compliance/client/v1/company_pb.js');
|
|
29
|
+
goog.object.extend(proto, meshtrade_compliance_client_v1_company_pb);
|
|
30
|
+
var meshtrade_compliance_client_v1_fund_pb = require('../../../../meshtrade/compliance/client/v1/fund_pb.js');
|
|
31
|
+
goog.object.extend(proto, meshtrade_compliance_client_v1_fund_pb);
|
|
32
|
+
var meshtrade_compliance_client_v1_natural_person_pb = require('../../../../meshtrade/compliance/client/v1/natural_person_pb.js');
|
|
33
|
+
goog.object.extend(proto, meshtrade_compliance_client_v1_natural_person_pb);
|
|
34
|
+
var meshtrade_compliance_client_v1_trust_pb = require('../../../../meshtrade/compliance/client/v1/trust_pb.js');
|
|
35
|
+
goog.object.extend(proto, meshtrade_compliance_client_v1_trust_pb);
|
|
36
|
+
var meshtrade_compliance_client_v1_verification_status_pb = require('../../../../meshtrade/compliance/client/v1/verification_status_pb.js');
|
|
37
|
+
goog.object.extend(proto, meshtrade_compliance_client_v1_verification_status_pb);
|
|
38
|
+
goog.exportSymbol('proto.meshtrade.compliance.client.v1.Client', null, global);
|
|
39
|
+
goog.exportSymbol('proto.meshtrade.compliance.client.v1.Client.LegalPersonCase', 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.compliance.client.v1.Client = function(opt_data) {
|
|
51
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.meshtrade.compliance.client.v1.Client.oneofGroups_);
|
|
52
|
+
};
|
|
53
|
+
goog.inherits(proto.meshtrade.compliance.client.v1.Client, jspb.Message);
|
|
54
|
+
if (goog.DEBUG && !COMPILED) {
|
|
55
|
+
/**
|
|
56
|
+
* @public
|
|
57
|
+
* @override
|
|
58
|
+
*/
|
|
59
|
+
proto.meshtrade.compliance.client.v1.Client.displayName = 'proto.meshtrade.compliance.client.v1.Client';
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
64
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
65
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
66
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
67
|
+
* @private {!Array<!Array<number>>}
|
|
68
|
+
* @const
|
|
69
|
+
*/
|
|
70
|
+
proto.meshtrade.compliance.client.v1.Client.oneofGroups_ = [[4,5,6,7]];
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* @enum {number}
|
|
74
|
+
*/
|
|
75
|
+
proto.meshtrade.compliance.client.v1.Client.LegalPersonCase = {
|
|
76
|
+
LEGAL_PERSON_NOT_SET: 0,
|
|
77
|
+
NATURAL_PERSON: 4,
|
|
78
|
+
COMPANY: 5,
|
|
79
|
+
FUND: 6,
|
|
80
|
+
TRUST: 7
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* @return {proto.meshtrade.compliance.client.v1.Client.LegalPersonCase}
|
|
85
|
+
*/
|
|
86
|
+
proto.meshtrade.compliance.client.v1.Client.prototype.getLegalPersonCase = function() {
|
|
87
|
+
return /** @type {proto.meshtrade.compliance.client.v1.Client.LegalPersonCase} */(jspb.Message.computeOneofCase(this, proto.meshtrade.compliance.client.v1.Client.oneofGroups_[0]));
|
|
88
|
+
};
|
|
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.compliance.client.v1.Client.prototype.toObject = function(opt_includeInstance) {
|
|
106
|
+
return proto.meshtrade.compliance.client.v1.Client.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.compliance.client.v1.Client} msg The msg instance to transform.
|
|
116
|
+
* @return {!Object}
|
|
117
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
118
|
+
*/
|
|
119
|
+
proto.meshtrade.compliance.client.v1.Client.toObject = function(includeInstance, msg) {
|
|
120
|
+
var f, obj = {
|
|
121
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
122
|
+
owner: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
123
|
+
displayName: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
124
|
+
naturalPerson: (f = msg.getNaturalPerson()) && meshtrade_compliance_client_v1_natural_person_pb.NaturalPerson.toObject(includeInstance, f),
|
|
125
|
+
company: (f = msg.getCompany()) && meshtrade_compliance_client_v1_company_pb.Company.toObject(includeInstance, f),
|
|
126
|
+
fund: (f = msg.getFund()) && meshtrade_compliance_client_v1_fund_pb.Fund.toObject(includeInstance, f),
|
|
127
|
+
trust: (f = msg.getTrust()) && meshtrade_compliance_client_v1_trust_pb.Trust.toObject(includeInstance, f),
|
|
128
|
+
verificationStatus: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
129
|
+
verificationAuthority: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
130
|
+
verificationDate: (f = msg.getVerificationDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
131
|
+
nextVerificationDate: (f = msg.getNextVerificationDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
132
|
+
};
|
|
133
|
+
|
|
134
|
+
if (includeInstance) {
|
|
135
|
+
obj.$jspbMessageInstance = msg;
|
|
136
|
+
}
|
|
137
|
+
return obj;
|
|
138
|
+
};
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* Deserializes binary data (in protobuf wire format).
|
|
144
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
145
|
+
* @return {!proto.meshtrade.compliance.client.v1.Client}
|
|
146
|
+
*/
|
|
147
|
+
proto.meshtrade.compliance.client.v1.Client.deserializeBinary = function(bytes) {
|
|
148
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
149
|
+
var msg = new proto.meshtrade.compliance.client.v1.Client;
|
|
150
|
+
return proto.meshtrade.compliance.client.v1.Client.deserializeBinaryFromReader(msg, reader);
|
|
151
|
+
};
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
156
|
+
* given reader into the given message object.
|
|
157
|
+
* @param {!proto.meshtrade.compliance.client.v1.Client} msg The message object to deserialize into.
|
|
158
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
159
|
+
* @return {!proto.meshtrade.compliance.client.v1.Client}
|
|
160
|
+
*/
|
|
161
|
+
proto.meshtrade.compliance.client.v1.Client.deserializeBinaryFromReader = function(msg, reader) {
|
|
162
|
+
while (reader.nextField()) {
|
|
163
|
+
if (reader.isEndGroup()) {
|
|
164
|
+
break;
|
|
165
|
+
}
|
|
166
|
+
var field = reader.getFieldNumber();
|
|
167
|
+
switch (field) {
|
|
168
|
+
case 1:
|
|
169
|
+
var value = /** @type {string} */ (reader.readString());
|
|
170
|
+
msg.setName(value);
|
|
171
|
+
break;
|
|
172
|
+
case 2:
|
|
173
|
+
var value = /** @type {string} */ (reader.readString());
|
|
174
|
+
msg.setOwner(value);
|
|
175
|
+
break;
|
|
176
|
+
case 3:
|
|
177
|
+
var value = /** @type {string} */ (reader.readString());
|
|
178
|
+
msg.setDisplayName(value);
|
|
179
|
+
break;
|
|
180
|
+
case 4:
|
|
181
|
+
var value = new meshtrade_compliance_client_v1_natural_person_pb.NaturalPerson;
|
|
182
|
+
reader.readMessage(value,meshtrade_compliance_client_v1_natural_person_pb.NaturalPerson.deserializeBinaryFromReader);
|
|
183
|
+
msg.setNaturalPerson(value);
|
|
184
|
+
break;
|
|
185
|
+
case 5:
|
|
186
|
+
var value = new meshtrade_compliance_client_v1_company_pb.Company;
|
|
187
|
+
reader.readMessage(value,meshtrade_compliance_client_v1_company_pb.Company.deserializeBinaryFromReader);
|
|
188
|
+
msg.setCompany(value);
|
|
189
|
+
break;
|
|
190
|
+
case 6:
|
|
191
|
+
var value = new meshtrade_compliance_client_v1_fund_pb.Fund;
|
|
192
|
+
reader.readMessage(value,meshtrade_compliance_client_v1_fund_pb.Fund.deserializeBinaryFromReader);
|
|
193
|
+
msg.setFund(value);
|
|
194
|
+
break;
|
|
195
|
+
case 7:
|
|
196
|
+
var value = new meshtrade_compliance_client_v1_trust_pb.Trust;
|
|
197
|
+
reader.readMessage(value,meshtrade_compliance_client_v1_trust_pb.Trust.deserializeBinaryFromReader);
|
|
198
|
+
msg.setTrust(value);
|
|
199
|
+
break;
|
|
200
|
+
case 8:
|
|
201
|
+
var value = /** @type {!proto.meshtrade.compliance.client.v1.VerificationStatus} */ (reader.readEnum());
|
|
202
|
+
msg.setVerificationStatus(value);
|
|
203
|
+
break;
|
|
204
|
+
case 9:
|
|
205
|
+
var value = /** @type {string} */ (reader.readString());
|
|
206
|
+
msg.setVerificationAuthority(value);
|
|
207
|
+
break;
|
|
208
|
+
case 10:
|
|
209
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
210
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
211
|
+
msg.setVerificationDate(value);
|
|
212
|
+
break;
|
|
213
|
+
case 11:
|
|
214
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
215
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
216
|
+
msg.setNextVerificationDate(value);
|
|
217
|
+
break;
|
|
218
|
+
default:
|
|
219
|
+
reader.skipField();
|
|
220
|
+
break;
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
return msg;
|
|
224
|
+
};
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
229
|
+
* @return {!Uint8Array}
|
|
230
|
+
*/
|
|
231
|
+
proto.meshtrade.compliance.client.v1.Client.prototype.serializeBinary = function() {
|
|
232
|
+
var writer = new jspb.BinaryWriter();
|
|
233
|
+
proto.meshtrade.compliance.client.v1.Client.serializeBinaryToWriter(this, writer);
|
|
234
|
+
return writer.getResultBuffer();
|
|
235
|
+
};
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
/**
|
|
239
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
240
|
+
* format), writing to the given BinaryWriter.
|
|
241
|
+
* @param {!proto.meshtrade.compliance.client.v1.Client} message
|
|
242
|
+
* @param {!jspb.BinaryWriter} writer
|
|
243
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
244
|
+
*/
|
|
245
|
+
proto.meshtrade.compliance.client.v1.Client.serializeBinaryToWriter = function(message, writer) {
|
|
246
|
+
var f = undefined;
|
|
247
|
+
f = message.getName();
|
|
248
|
+
if (f.length > 0) {
|
|
249
|
+
writer.writeString(
|
|
250
|
+
1,
|
|
251
|
+
f
|
|
252
|
+
);
|
|
253
|
+
}
|
|
254
|
+
f = message.getOwner();
|
|
255
|
+
if (f.length > 0) {
|
|
256
|
+
writer.writeString(
|
|
257
|
+
2,
|
|
258
|
+
f
|
|
259
|
+
);
|
|
260
|
+
}
|
|
261
|
+
f = message.getDisplayName();
|
|
262
|
+
if (f.length > 0) {
|
|
263
|
+
writer.writeString(
|
|
264
|
+
3,
|
|
265
|
+
f
|
|
266
|
+
);
|
|
267
|
+
}
|
|
268
|
+
f = message.getNaturalPerson();
|
|
269
|
+
if (f != null) {
|
|
270
|
+
writer.writeMessage(
|
|
271
|
+
4,
|
|
272
|
+
f,
|
|
273
|
+
meshtrade_compliance_client_v1_natural_person_pb.NaturalPerson.serializeBinaryToWriter
|
|
274
|
+
);
|
|
275
|
+
}
|
|
276
|
+
f = message.getCompany();
|
|
277
|
+
if (f != null) {
|
|
278
|
+
writer.writeMessage(
|
|
279
|
+
5,
|
|
280
|
+
f,
|
|
281
|
+
meshtrade_compliance_client_v1_company_pb.Company.serializeBinaryToWriter
|
|
282
|
+
);
|
|
283
|
+
}
|
|
284
|
+
f = message.getFund();
|
|
285
|
+
if (f != null) {
|
|
286
|
+
writer.writeMessage(
|
|
287
|
+
6,
|
|
288
|
+
f,
|
|
289
|
+
meshtrade_compliance_client_v1_fund_pb.Fund.serializeBinaryToWriter
|
|
290
|
+
);
|
|
291
|
+
}
|
|
292
|
+
f = message.getTrust();
|
|
293
|
+
if (f != null) {
|
|
294
|
+
writer.writeMessage(
|
|
295
|
+
7,
|
|
296
|
+
f,
|
|
297
|
+
meshtrade_compliance_client_v1_trust_pb.Trust.serializeBinaryToWriter
|
|
298
|
+
);
|
|
299
|
+
}
|
|
300
|
+
f = message.getVerificationStatus();
|
|
301
|
+
if (f !== 0.0) {
|
|
302
|
+
writer.writeEnum(
|
|
303
|
+
8,
|
|
304
|
+
f
|
|
305
|
+
);
|
|
306
|
+
}
|
|
307
|
+
f = message.getVerificationAuthority();
|
|
308
|
+
if (f.length > 0) {
|
|
309
|
+
writer.writeString(
|
|
310
|
+
9,
|
|
311
|
+
f
|
|
312
|
+
);
|
|
313
|
+
}
|
|
314
|
+
f = message.getVerificationDate();
|
|
315
|
+
if (f != null) {
|
|
316
|
+
writer.writeMessage(
|
|
317
|
+
10,
|
|
318
|
+
f,
|
|
319
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
320
|
+
);
|
|
321
|
+
}
|
|
322
|
+
f = message.getNextVerificationDate();
|
|
323
|
+
if (f != null) {
|
|
324
|
+
writer.writeMessage(
|
|
325
|
+
11,
|
|
326
|
+
f,
|
|
327
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
328
|
+
);
|
|
329
|
+
}
|
|
330
|
+
};
|
|
331
|
+
|
|
332
|
+
|
|
333
|
+
/**
|
|
334
|
+
* optional string name = 1;
|
|
335
|
+
* @return {string}
|
|
336
|
+
*/
|
|
337
|
+
proto.meshtrade.compliance.client.v1.Client.prototype.getName = function() {
|
|
338
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
339
|
+
};
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
/**
|
|
343
|
+
* @param {string} value
|
|
344
|
+
* @return {!proto.meshtrade.compliance.client.v1.Client} returns this
|
|
345
|
+
*/
|
|
346
|
+
proto.meshtrade.compliance.client.v1.Client.prototype.setName = function(value) {
|
|
347
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
348
|
+
};
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
/**
|
|
352
|
+
* optional string owner = 2;
|
|
353
|
+
* @return {string}
|
|
354
|
+
*/
|
|
355
|
+
proto.meshtrade.compliance.client.v1.Client.prototype.getOwner = function() {
|
|
356
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
357
|
+
};
|
|
358
|
+
|
|
359
|
+
|
|
360
|
+
/**
|
|
361
|
+
* @param {string} value
|
|
362
|
+
* @return {!proto.meshtrade.compliance.client.v1.Client} returns this
|
|
363
|
+
*/
|
|
364
|
+
proto.meshtrade.compliance.client.v1.Client.prototype.setOwner = function(value) {
|
|
365
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
366
|
+
};
|
|
367
|
+
|
|
368
|
+
|
|
369
|
+
/**
|
|
370
|
+
* optional string display_name = 3;
|
|
371
|
+
* @return {string}
|
|
372
|
+
*/
|
|
373
|
+
proto.meshtrade.compliance.client.v1.Client.prototype.getDisplayName = function() {
|
|
374
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
375
|
+
};
|
|
376
|
+
|
|
377
|
+
|
|
378
|
+
/**
|
|
379
|
+
* @param {string} value
|
|
380
|
+
* @return {!proto.meshtrade.compliance.client.v1.Client} returns this
|
|
381
|
+
*/
|
|
382
|
+
proto.meshtrade.compliance.client.v1.Client.prototype.setDisplayName = function(value) {
|
|
383
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
384
|
+
};
|
|
385
|
+
|
|
386
|
+
|
|
387
|
+
/**
|
|
388
|
+
* optional NaturalPerson natural_person = 4;
|
|
389
|
+
* @return {?proto.meshtrade.compliance.client.v1.NaturalPerson}
|
|
390
|
+
*/
|
|
391
|
+
proto.meshtrade.compliance.client.v1.Client.prototype.getNaturalPerson = function() {
|
|
392
|
+
return /** @type{?proto.meshtrade.compliance.client.v1.NaturalPerson} */ (
|
|
393
|
+
jspb.Message.getWrapperField(this, meshtrade_compliance_client_v1_natural_person_pb.NaturalPerson, 4));
|
|
394
|
+
};
|
|
395
|
+
|
|
396
|
+
|
|
397
|
+
/**
|
|
398
|
+
* @param {?proto.meshtrade.compliance.client.v1.NaturalPerson|undefined} value
|
|
399
|
+
* @return {!proto.meshtrade.compliance.client.v1.Client} returns this
|
|
400
|
+
*/
|
|
401
|
+
proto.meshtrade.compliance.client.v1.Client.prototype.setNaturalPerson = function(value) {
|
|
402
|
+
return jspb.Message.setOneofWrapperField(this, 4, proto.meshtrade.compliance.client.v1.Client.oneofGroups_[0], value);
|
|
403
|
+
};
|
|
404
|
+
|
|
405
|
+
|
|
406
|
+
/**
|
|
407
|
+
* Clears the message field making it undefined.
|
|
408
|
+
* @return {!proto.meshtrade.compliance.client.v1.Client} returns this
|
|
409
|
+
*/
|
|
410
|
+
proto.meshtrade.compliance.client.v1.Client.prototype.clearNaturalPerson = function() {
|
|
411
|
+
return this.setNaturalPerson(undefined);
|
|
412
|
+
};
|
|
413
|
+
|
|
414
|
+
|
|
415
|
+
/**
|
|
416
|
+
* Returns whether this field is set.
|
|
417
|
+
* @return {boolean}
|
|
418
|
+
*/
|
|
419
|
+
proto.meshtrade.compliance.client.v1.Client.prototype.hasNaturalPerson = function() {
|
|
420
|
+
return jspb.Message.getField(this, 4) != null;
|
|
421
|
+
};
|
|
422
|
+
|
|
423
|
+
|
|
424
|
+
/**
|
|
425
|
+
* optional Company company = 5;
|
|
426
|
+
* @return {?proto.meshtrade.compliance.client.v1.Company}
|
|
427
|
+
*/
|
|
428
|
+
proto.meshtrade.compliance.client.v1.Client.prototype.getCompany = function() {
|
|
429
|
+
return /** @type{?proto.meshtrade.compliance.client.v1.Company} */ (
|
|
430
|
+
jspb.Message.getWrapperField(this, meshtrade_compliance_client_v1_company_pb.Company, 5));
|
|
431
|
+
};
|
|
432
|
+
|
|
433
|
+
|
|
434
|
+
/**
|
|
435
|
+
* @param {?proto.meshtrade.compliance.client.v1.Company|undefined} value
|
|
436
|
+
* @return {!proto.meshtrade.compliance.client.v1.Client} returns this
|
|
437
|
+
*/
|
|
438
|
+
proto.meshtrade.compliance.client.v1.Client.prototype.setCompany = function(value) {
|
|
439
|
+
return jspb.Message.setOneofWrapperField(this, 5, proto.meshtrade.compliance.client.v1.Client.oneofGroups_[0], value);
|
|
440
|
+
};
|
|
441
|
+
|
|
442
|
+
|
|
443
|
+
/**
|
|
444
|
+
* Clears the message field making it undefined.
|
|
445
|
+
* @return {!proto.meshtrade.compliance.client.v1.Client} returns this
|
|
446
|
+
*/
|
|
447
|
+
proto.meshtrade.compliance.client.v1.Client.prototype.clearCompany = function() {
|
|
448
|
+
return this.setCompany(undefined);
|
|
449
|
+
};
|
|
450
|
+
|
|
451
|
+
|
|
452
|
+
/**
|
|
453
|
+
* Returns whether this field is set.
|
|
454
|
+
* @return {boolean}
|
|
455
|
+
*/
|
|
456
|
+
proto.meshtrade.compliance.client.v1.Client.prototype.hasCompany = function() {
|
|
457
|
+
return jspb.Message.getField(this, 5) != null;
|
|
458
|
+
};
|
|
459
|
+
|
|
460
|
+
|
|
461
|
+
/**
|
|
462
|
+
* optional Fund fund = 6;
|
|
463
|
+
* @return {?proto.meshtrade.compliance.client.v1.Fund}
|
|
464
|
+
*/
|
|
465
|
+
proto.meshtrade.compliance.client.v1.Client.prototype.getFund = function() {
|
|
466
|
+
return /** @type{?proto.meshtrade.compliance.client.v1.Fund} */ (
|
|
467
|
+
jspb.Message.getWrapperField(this, meshtrade_compliance_client_v1_fund_pb.Fund, 6));
|
|
468
|
+
};
|
|
469
|
+
|
|
470
|
+
|
|
471
|
+
/**
|
|
472
|
+
* @param {?proto.meshtrade.compliance.client.v1.Fund|undefined} value
|
|
473
|
+
* @return {!proto.meshtrade.compliance.client.v1.Client} returns this
|
|
474
|
+
*/
|
|
475
|
+
proto.meshtrade.compliance.client.v1.Client.prototype.setFund = function(value) {
|
|
476
|
+
return jspb.Message.setOneofWrapperField(this, 6, proto.meshtrade.compliance.client.v1.Client.oneofGroups_[0], value);
|
|
477
|
+
};
|
|
478
|
+
|
|
479
|
+
|
|
480
|
+
/**
|
|
481
|
+
* Clears the message field making it undefined.
|
|
482
|
+
* @return {!proto.meshtrade.compliance.client.v1.Client} returns this
|
|
483
|
+
*/
|
|
484
|
+
proto.meshtrade.compliance.client.v1.Client.prototype.clearFund = function() {
|
|
485
|
+
return this.setFund(undefined);
|
|
486
|
+
};
|
|
487
|
+
|
|
488
|
+
|
|
489
|
+
/**
|
|
490
|
+
* Returns whether this field is set.
|
|
491
|
+
* @return {boolean}
|
|
492
|
+
*/
|
|
493
|
+
proto.meshtrade.compliance.client.v1.Client.prototype.hasFund = function() {
|
|
494
|
+
return jspb.Message.getField(this, 6) != null;
|
|
495
|
+
};
|
|
496
|
+
|
|
497
|
+
|
|
498
|
+
/**
|
|
499
|
+
* optional Trust trust = 7;
|
|
500
|
+
* @return {?proto.meshtrade.compliance.client.v1.Trust}
|
|
501
|
+
*/
|
|
502
|
+
proto.meshtrade.compliance.client.v1.Client.prototype.getTrust = function() {
|
|
503
|
+
return /** @type{?proto.meshtrade.compliance.client.v1.Trust} */ (
|
|
504
|
+
jspb.Message.getWrapperField(this, meshtrade_compliance_client_v1_trust_pb.Trust, 7));
|
|
505
|
+
};
|
|
506
|
+
|
|
507
|
+
|
|
508
|
+
/**
|
|
509
|
+
* @param {?proto.meshtrade.compliance.client.v1.Trust|undefined} value
|
|
510
|
+
* @return {!proto.meshtrade.compliance.client.v1.Client} returns this
|
|
511
|
+
*/
|
|
512
|
+
proto.meshtrade.compliance.client.v1.Client.prototype.setTrust = function(value) {
|
|
513
|
+
return jspb.Message.setOneofWrapperField(this, 7, proto.meshtrade.compliance.client.v1.Client.oneofGroups_[0], value);
|
|
514
|
+
};
|
|
515
|
+
|
|
516
|
+
|
|
517
|
+
/**
|
|
518
|
+
* Clears the message field making it undefined.
|
|
519
|
+
* @return {!proto.meshtrade.compliance.client.v1.Client} returns this
|
|
520
|
+
*/
|
|
521
|
+
proto.meshtrade.compliance.client.v1.Client.prototype.clearTrust = function() {
|
|
522
|
+
return this.setTrust(undefined);
|
|
523
|
+
};
|
|
524
|
+
|
|
525
|
+
|
|
526
|
+
/**
|
|
527
|
+
* Returns whether this field is set.
|
|
528
|
+
* @return {boolean}
|
|
529
|
+
*/
|
|
530
|
+
proto.meshtrade.compliance.client.v1.Client.prototype.hasTrust = function() {
|
|
531
|
+
return jspb.Message.getField(this, 7) != null;
|
|
532
|
+
};
|
|
533
|
+
|
|
534
|
+
|
|
535
|
+
/**
|
|
536
|
+
* optional VerificationStatus verification_status = 8;
|
|
537
|
+
* @return {!proto.meshtrade.compliance.client.v1.VerificationStatus}
|
|
538
|
+
*/
|
|
539
|
+
proto.meshtrade.compliance.client.v1.Client.prototype.getVerificationStatus = function() {
|
|
540
|
+
return /** @type {!proto.meshtrade.compliance.client.v1.VerificationStatus} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
|
541
|
+
};
|
|
542
|
+
|
|
543
|
+
|
|
544
|
+
/**
|
|
545
|
+
* @param {!proto.meshtrade.compliance.client.v1.VerificationStatus} value
|
|
546
|
+
* @return {!proto.meshtrade.compliance.client.v1.Client} returns this
|
|
547
|
+
*/
|
|
548
|
+
proto.meshtrade.compliance.client.v1.Client.prototype.setVerificationStatus = function(value) {
|
|
549
|
+
return jspb.Message.setProto3EnumField(this, 8, value);
|
|
550
|
+
};
|
|
551
|
+
|
|
552
|
+
|
|
553
|
+
/**
|
|
554
|
+
* optional string verification_authority = 9;
|
|
555
|
+
* @return {string}
|
|
556
|
+
*/
|
|
557
|
+
proto.meshtrade.compliance.client.v1.Client.prototype.getVerificationAuthority = function() {
|
|
558
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
559
|
+
};
|
|
560
|
+
|
|
561
|
+
|
|
562
|
+
/**
|
|
563
|
+
* @param {string} value
|
|
564
|
+
* @return {!proto.meshtrade.compliance.client.v1.Client} returns this
|
|
565
|
+
*/
|
|
566
|
+
proto.meshtrade.compliance.client.v1.Client.prototype.setVerificationAuthority = function(value) {
|
|
567
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
568
|
+
};
|
|
569
|
+
|
|
570
|
+
|
|
571
|
+
/**
|
|
572
|
+
* optional google.protobuf.Timestamp verification_date = 10;
|
|
573
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
574
|
+
*/
|
|
575
|
+
proto.meshtrade.compliance.client.v1.Client.prototype.getVerificationDate = function() {
|
|
576
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
577
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 10));
|
|
578
|
+
};
|
|
579
|
+
|
|
580
|
+
|
|
581
|
+
/**
|
|
582
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
583
|
+
* @return {!proto.meshtrade.compliance.client.v1.Client} returns this
|
|
584
|
+
*/
|
|
585
|
+
proto.meshtrade.compliance.client.v1.Client.prototype.setVerificationDate = function(value) {
|
|
586
|
+
return jspb.Message.setWrapperField(this, 10, value);
|
|
587
|
+
};
|
|
588
|
+
|
|
589
|
+
|
|
590
|
+
/**
|
|
591
|
+
* Clears the message field making it undefined.
|
|
592
|
+
* @return {!proto.meshtrade.compliance.client.v1.Client} returns this
|
|
593
|
+
*/
|
|
594
|
+
proto.meshtrade.compliance.client.v1.Client.prototype.clearVerificationDate = function() {
|
|
595
|
+
return this.setVerificationDate(undefined);
|
|
596
|
+
};
|
|
597
|
+
|
|
598
|
+
|
|
599
|
+
/**
|
|
600
|
+
* Returns whether this field is set.
|
|
601
|
+
* @return {boolean}
|
|
602
|
+
*/
|
|
603
|
+
proto.meshtrade.compliance.client.v1.Client.prototype.hasVerificationDate = function() {
|
|
604
|
+
return jspb.Message.getField(this, 10) != null;
|
|
605
|
+
};
|
|
606
|
+
|
|
607
|
+
|
|
608
|
+
/**
|
|
609
|
+
* optional google.protobuf.Timestamp next_verification_date = 11;
|
|
610
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
611
|
+
*/
|
|
612
|
+
proto.meshtrade.compliance.client.v1.Client.prototype.getNextVerificationDate = function() {
|
|
613
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
614
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 11));
|
|
615
|
+
};
|
|
616
|
+
|
|
617
|
+
|
|
618
|
+
/**
|
|
619
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
620
|
+
* @return {!proto.meshtrade.compliance.client.v1.Client} returns this
|
|
621
|
+
*/
|
|
622
|
+
proto.meshtrade.compliance.client.v1.Client.prototype.setNextVerificationDate = function(value) {
|
|
623
|
+
return jspb.Message.setWrapperField(this, 11, value);
|
|
624
|
+
};
|
|
625
|
+
|
|
626
|
+
|
|
627
|
+
/**
|
|
628
|
+
* Clears the message field making it undefined.
|
|
629
|
+
* @return {!proto.meshtrade.compliance.client.v1.Client} returns this
|
|
630
|
+
*/
|
|
631
|
+
proto.meshtrade.compliance.client.v1.Client.prototype.clearNextVerificationDate = function() {
|
|
632
|
+
return this.setNextVerificationDate(undefined);
|
|
633
|
+
};
|
|
634
|
+
|
|
635
|
+
|
|
636
|
+
/**
|
|
637
|
+
* Returns whether this field is set.
|
|
638
|
+
* @return {boolean}
|
|
639
|
+
*/
|
|
640
|
+
proto.meshtrade.compliance.client.v1.Client.prototype.hasNextVerificationDate = function() {
|
|
641
|
+
return jspb.Message.getField(this, 11) != null;
|
|
642
|
+
};
|
|
643
|
+
|
|
644
|
+
|
|
645
|
+
goog.object.extend(exports, proto.meshtrade.compliance.client.v1);
|