@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,54 @@
|
|
|
1
|
+
// source: meshtrade/compliance/client/v1/source_of_income_and_wealth.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.SourceOfIncomeAndWealth', null, global);
|
|
25
|
+
/**
|
|
26
|
+
* @enum {number}
|
|
27
|
+
*/
|
|
28
|
+
proto.meshtrade.compliance.client.v1.SourceOfIncomeAndWealth = {
|
|
29
|
+
SOURCE_OF_INCOME_AND_WEALTH_UNSPECIFIED: 0,
|
|
30
|
+
SOURCE_OF_INCOME_AND_WEALTH_ALLOWANCES: 1,
|
|
31
|
+
SOURCE_OF_INCOME_AND_WEALTH_BURSARY: 2,
|
|
32
|
+
SOURCE_OF_INCOME_AND_WEALTH_COURT_ORDER: 3,
|
|
33
|
+
SOURCE_OF_INCOME_AND_WEALTH_LOAN_FINANCIAL_INSTITUTION: 4,
|
|
34
|
+
SOURCE_OF_INCOME_AND_WEALTH_LOAN_OTHER: 5,
|
|
35
|
+
SOURCE_OF_INCOME_AND_WEALTH_MAINTENANCE: 6,
|
|
36
|
+
SOURCE_OF_INCOME_AND_WEALTH_MATURING_INVESTMENTS: 7,
|
|
37
|
+
SOURCE_OF_INCOME_AND_WEALTH_PENSION: 8,
|
|
38
|
+
SOURCE_OF_INCOME_AND_WEALTH_RENTAL_INCOME: 9,
|
|
39
|
+
SOURCE_OF_INCOME_AND_WEALTH_COMPANY_PROFITS: 10,
|
|
40
|
+
SOURCE_OF_INCOME_AND_WEALTH_COMPANY_SALE: 11,
|
|
41
|
+
SOURCE_OF_INCOME_AND_WEALTH_DECEASED_ESTATE: 12,
|
|
42
|
+
SOURCE_OF_INCOME_AND_WEALTH_DIVORCE_SETTLEMENT: 13,
|
|
43
|
+
SOURCE_OF_INCOME_AND_WEALTH_GIFT_OR_DONATION: 14,
|
|
44
|
+
SOURCE_OF_INCOME_AND_WEALTH_INCOME_FROM_EMPLOYMENT: 15,
|
|
45
|
+
SOURCE_OF_INCOME_AND_WEALTH_INCOME_FROM_PREVIOUS_EMPLOYMENT: 16,
|
|
46
|
+
SOURCE_OF_INCOME_AND_WEALTH_INHERITANCE: 17,
|
|
47
|
+
SOURCE_OF_INCOME_AND_WEALTH_LOTTERY_WINNINGS_OR_GAMBLING: 18,
|
|
48
|
+
SOURCE_OF_INCOME_AND_WEALTH_SALE_OF_ASSET: 19,
|
|
49
|
+
SOURCE_OF_INCOME_AND_WEALTH_SALE_OF_SHARES: 20,
|
|
50
|
+
SOURCE_OF_INCOME_AND_WEALTH_SAVINGS_INVESTMENT_OR_DIVIDEND: 21,
|
|
51
|
+
SOURCE_OF_INCOME_AND_WEALTH_TRUST_DISTRIBUTIONS: 22
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
goog.object.extend(exports, proto.meshtrade.compliance.client.v1);
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import * as jspb from 'google-protobuf'
|
|
2
|
+
|
|
3
|
+
import * as buf_validate_validate_pb from '../../../../buf/validate/validate_pb'; // proto import: "buf/validate/validate.proto"
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class TaxResidency extends jspb.Message {
|
|
7
|
+
getCountryCode(): string;
|
|
8
|
+
setCountryCode(value: string): TaxResidency;
|
|
9
|
+
|
|
10
|
+
getTin(): string;
|
|
11
|
+
setTin(value: string): TaxResidency;
|
|
12
|
+
|
|
13
|
+
serializeBinary(): Uint8Array;
|
|
14
|
+
toObject(includeInstance?: boolean): TaxResidency.AsObject;
|
|
15
|
+
static toObject(includeInstance: boolean, msg: TaxResidency): TaxResidency.AsObject;
|
|
16
|
+
static serializeBinaryToWriter(message: TaxResidency, writer: jspb.BinaryWriter): void;
|
|
17
|
+
static deserializeBinary(bytes: Uint8Array): TaxResidency;
|
|
18
|
+
static deserializeBinaryFromReader(message: TaxResidency, reader: jspb.BinaryReader): TaxResidency;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export namespace TaxResidency {
|
|
22
|
+
export type AsObject = {
|
|
23
|
+
countryCode: string,
|
|
24
|
+
tin: string,
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
// source: meshtrade/compliance/client/v1/tax_residency.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
|
+
goog.exportSymbol('proto.meshtrade.compliance.client.v1.TaxResidency', null, global);
|
|
27
|
+
/**
|
|
28
|
+
* Generated by JsPbCodeGenerator.
|
|
29
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
30
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
31
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
32
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
33
|
+
* valid.
|
|
34
|
+
* @extends {jspb.Message}
|
|
35
|
+
* @constructor
|
|
36
|
+
*/
|
|
37
|
+
proto.meshtrade.compliance.client.v1.TaxResidency = function(opt_data) {
|
|
38
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
39
|
+
};
|
|
40
|
+
goog.inherits(proto.meshtrade.compliance.client.v1.TaxResidency, jspb.Message);
|
|
41
|
+
if (goog.DEBUG && !COMPILED) {
|
|
42
|
+
/**
|
|
43
|
+
* @public
|
|
44
|
+
* @override
|
|
45
|
+
*/
|
|
46
|
+
proto.meshtrade.compliance.client.v1.TaxResidency.displayName = 'proto.meshtrade.compliance.client.v1.TaxResidency';
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
52
|
+
/**
|
|
53
|
+
* Creates an object representation of this proto.
|
|
54
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
55
|
+
* Optional fields that are not set will be set to undefined.
|
|
56
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
57
|
+
* For the list of reserved names please see:
|
|
58
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
59
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
60
|
+
* JSPB instance for transitional soy proto support:
|
|
61
|
+
* http://goto/soy-param-migration
|
|
62
|
+
* @return {!Object}
|
|
63
|
+
*/
|
|
64
|
+
proto.meshtrade.compliance.client.v1.TaxResidency.prototype.toObject = function(opt_includeInstance) {
|
|
65
|
+
return proto.meshtrade.compliance.client.v1.TaxResidency.toObject(opt_includeInstance, this);
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Static version of the {@see toObject} method.
|
|
71
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
72
|
+
* the JSPB instance for transitional soy proto support:
|
|
73
|
+
* http://goto/soy-param-migration
|
|
74
|
+
* @param {!proto.meshtrade.compliance.client.v1.TaxResidency} msg The msg instance to transform.
|
|
75
|
+
* @return {!Object}
|
|
76
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
77
|
+
*/
|
|
78
|
+
proto.meshtrade.compliance.client.v1.TaxResidency.toObject = function(includeInstance, msg) {
|
|
79
|
+
var f, obj = {
|
|
80
|
+
countryCode: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
81
|
+
tin: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
if (includeInstance) {
|
|
85
|
+
obj.$jspbMessageInstance = msg;
|
|
86
|
+
}
|
|
87
|
+
return obj;
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* Deserializes binary data (in protobuf wire format).
|
|
94
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
95
|
+
* @return {!proto.meshtrade.compliance.client.v1.TaxResidency}
|
|
96
|
+
*/
|
|
97
|
+
proto.meshtrade.compliance.client.v1.TaxResidency.deserializeBinary = function(bytes) {
|
|
98
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
99
|
+
var msg = new proto.meshtrade.compliance.client.v1.TaxResidency;
|
|
100
|
+
return proto.meshtrade.compliance.client.v1.TaxResidency.deserializeBinaryFromReader(msg, reader);
|
|
101
|
+
};
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
106
|
+
* given reader into the given message object.
|
|
107
|
+
* @param {!proto.meshtrade.compliance.client.v1.TaxResidency} msg The message object to deserialize into.
|
|
108
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
109
|
+
* @return {!proto.meshtrade.compliance.client.v1.TaxResidency}
|
|
110
|
+
*/
|
|
111
|
+
proto.meshtrade.compliance.client.v1.TaxResidency.deserializeBinaryFromReader = function(msg, reader) {
|
|
112
|
+
while (reader.nextField()) {
|
|
113
|
+
if (reader.isEndGroup()) {
|
|
114
|
+
break;
|
|
115
|
+
}
|
|
116
|
+
var field = reader.getFieldNumber();
|
|
117
|
+
switch (field) {
|
|
118
|
+
case 1:
|
|
119
|
+
var value = /** @type {string} */ (reader.readString());
|
|
120
|
+
msg.setCountryCode(value);
|
|
121
|
+
break;
|
|
122
|
+
case 2:
|
|
123
|
+
var value = /** @type {string} */ (reader.readString());
|
|
124
|
+
msg.setTin(value);
|
|
125
|
+
break;
|
|
126
|
+
default:
|
|
127
|
+
reader.skipField();
|
|
128
|
+
break;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
return msg;
|
|
132
|
+
};
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
137
|
+
* @return {!Uint8Array}
|
|
138
|
+
*/
|
|
139
|
+
proto.meshtrade.compliance.client.v1.TaxResidency.prototype.serializeBinary = function() {
|
|
140
|
+
var writer = new jspb.BinaryWriter();
|
|
141
|
+
proto.meshtrade.compliance.client.v1.TaxResidency.serializeBinaryToWriter(this, writer);
|
|
142
|
+
return writer.getResultBuffer();
|
|
143
|
+
};
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
148
|
+
* format), writing to the given BinaryWriter.
|
|
149
|
+
* @param {!proto.meshtrade.compliance.client.v1.TaxResidency} message
|
|
150
|
+
* @param {!jspb.BinaryWriter} writer
|
|
151
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
152
|
+
*/
|
|
153
|
+
proto.meshtrade.compliance.client.v1.TaxResidency.serializeBinaryToWriter = function(message, writer) {
|
|
154
|
+
var f = undefined;
|
|
155
|
+
f = message.getCountryCode();
|
|
156
|
+
if (f.length > 0) {
|
|
157
|
+
writer.writeString(
|
|
158
|
+
1,
|
|
159
|
+
f
|
|
160
|
+
);
|
|
161
|
+
}
|
|
162
|
+
f = message.getTin();
|
|
163
|
+
if (f.length > 0) {
|
|
164
|
+
writer.writeString(
|
|
165
|
+
2,
|
|
166
|
+
f
|
|
167
|
+
);
|
|
168
|
+
}
|
|
169
|
+
};
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* optional string country_code = 1;
|
|
174
|
+
* @return {string}
|
|
175
|
+
*/
|
|
176
|
+
proto.meshtrade.compliance.client.v1.TaxResidency.prototype.getCountryCode = function() {
|
|
177
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
178
|
+
};
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* @param {string} value
|
|
183
|
+
* @return {!proto.meshtrade.compliance.client.v1.TaxResidency} returns this
|
|
184
|
+
*/
|
|
185
|
+
proto.meshtrade.compliance.client.v1.TaxResidency.prototype.setCountryCode = function(value) {
|
|
186
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
187
|
+
};
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* optional string tin = 2;
|
|
192
|
+
* @return {string}
|
|
193
|
+
*/
|
|
194
|
+
proto.meshtrade.compliance.client.v1.TaxResidency.prototype.getTin = function() {
|
|
195
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
196
|
+
};
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* @param {string} value
|
|
201
|
+
* @return {!proto.meshtrade.compliance.client.v1.TaxResidency} returns this
|
|
202
|
+
*/
|
|
203
|
+
proto.meshtrade.compliance.client.v1.TaxResidency.prototype.setTin = function(value) {
|
|
204
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
205
|
+
};
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
goog.object.extend(exports, proto.meshtrade.compliance.client.v1);
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import * as jspb from 'google-protobuf'
|
|
2
|
+
|
|
3
|
+
import * as buf_validate_validate_pb from '../../../../buf/validate/validate_pb'; // proto import: "buf/validate/validate.proto"
|
|
4
|
+
import * as google_type_date_pb from '../../../../google/type/date_pb'; // proto import: "google/type/date.proto"
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
export class Trust extends jspb.Message {
|
|
8
|
+
getRegisteredName(): string;
|
|
9
|
+
setRegisteredName(value: string): Trust;
|
|
10
|
+
|
|
11
|
+
getRegistrationNumber(): string;
|
|
12
|
+
setRegistrationNumber(value: string): Trust;
|
|
13
|
+
|
|
14
|
+
getTaxIdentifier(): string;
|
|
15
|
+
setTaxIdentifier(value: string): Trust;
|
|
16
|
+
|
|
17
|
+
getCountryOfDomicile(): string;
|
|
18
|
+
setCountryOfDomicile(value: string): Trust;
|
|
19
|
+
|
|
20
|
+
getDateOfInception(): google_type_date_pb.Date | undefined;
|
|
21
|
+
setDateOfInception(value?: google_type_date_pb.Date): Trust;
|
|
22
|
+
hasDateOfInception(): boolean;
|
|
23
|
+
clearDateOfInception(): Trust;
|
|
24
|
+
|
|
25
|
+
serializeBinary(): Uint8Array;
|
|
26
|
+
toObject(includeInstance?: boolean): Trust.AsObject;
|
|
27
|
+
static toObject(includeInstance: boolean, msg: Trust): Trust.AsObject;
|
|
28
|
+
static serializeBinaryToWriter(message: Trust, writer: jspb.BinaryWriter): void;
|
|
29
|
+
static deserializeBinary(bytes: Uint8Array): Trust;
|
|
30
|
+
static deserializeBinaryFromReader(message: Trust, reader: jspb.BinaryReader): Trust;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export namespace Trust {
|
|
34
|
+
export type AsObject = {
|
|
35
|
+
registeredName: string,
|
|
36
|
+
registrationNumber: string,
|
|
37
|
+
taxIdentifier: string,
|
|
38
|
+
countryOfDomicile: string,
|
|
39
|
+
dateOfInception?: google_type_date_pb.Date.AsObject,
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
@@ -0,0 +1,321 @@
|
|
|
1
|
+
// source: meshtrade/compliance/client/v1/trust.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.Trust', 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.Trust = function(opt_data) {
|
|
40
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
41
|
+
};
|
|
42
|
+
goog.inherits(proto.meshtrade.compliance.client.v1.Trust, jspb.Message);
|
|
43
|
+
if (goog.DEBUG && !COMPILED) {
|
|
44
|
+
/**
|
|
45
|
+
* @public
|
|
46
|
+
* @override
|
|
47
|
+
*/
|
|
48
|
+
proto.meshtrade.compliance.client.v1.Trust.displayName = 'proto.meshtrade.compliance.client.v1.Trust';
|
|
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.Trust.prototype.toObject = function(opt_includeInstance) {
|
|
67
|
+
return proto.meshtrade.compliance.client.v1.Trust.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.Trust} 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.Trust.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.Trust}
|
|
101
|
+
*/
|
|
102
|
+
proto.meshtrade.compliance.client.v1.Trust.deserializeBinary = function(bytes) {
|
|
103
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
104
|
+
var msg = new proto.meshtrade.compliance.client.v1.Trust;
|
|
105
|
+
return proto.meshtrade.compliance.client.v1.Trust.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.Trust} msg The message object to deserialize into.
|
|
113
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
114
|
+
* @return {!proto.meshtrade.compliance.client.v1.Trust}
|
|
115
|
+
*/
|
|
116
|
+
proto.meshtrade.compliance.client.v1.Trust.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.Trust.prototype.serializeBinary = function() {
|
|
158
|
+
var writer = new jspb.BinaryWriter();
|
|
159
|
+
proto.meshtrade.compliance.client.v1.Trust.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.Trust} message
|
|
168
|
+
* @param {!jspb.BinaryWriter} writer
|
|
169
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
170
|
+
*/
|
|
171
|
+
proto.meshtrade.compliance.client.v1.Trust.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.Trust.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.Trust} returns this
|
|
224
|
+
*/
|
|
225
|
+
proto.meshtrade.compliance.client.v1.Trust.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.Trust.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.Trust} returns this
|
|
242
|
+
*/
|
|
243
|
+
proto.meshtrade.compliance.client.v1.Trust.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.Trust.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.Trust} returns this
|
|
260
|
+
*/
|
|
261
|
+
proto.meshtrade.compliance.client.v1.Trust.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.Trust.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.Trust} returns this
|
|
278
|
+
*/
|
|
279
|
+
proto.meshtrade.compliance.client.v1.Trust.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.Trust.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.Trust} returns this
|
|
297
|
+
*/
|
|
298
|
+
proto.meshtrade.compliance.client.v1.Trust.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.Trust} returns this
|
|
306
|
+
*/
|
|
307
|
+
proto.meshtrade.compliance.client.v1.Trust.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.Trust.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 VerificationStatus {
|
|
6
|
+
VERIFICATION_STATUS_UNSPECIFIED = 0,
|
|
7
|
+
VERIFICATION_STATUS_NOT_STARTED = 1,
|
|
8
|
+
VERIFICATION_STATUS_PENDING = 2,
|
|
9
|
+
VERIFICATION_STATUS_VERIFIED = 3,
|
|
10
|
+
VERIFICATION_STATUS_FAILED = 4,
|
|
11
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
// source: meshtrade/compliance/client/v1/verification_status.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.VerificationStatus', null, global);
|
|
25
|
+
/**
|
|
26
|
+
* @enum {number}
|
|
27
|
+
*/
|
|
28
|
+
proto.meshtrade.compliance.client.v1.VerificationStatus = {
|
|
29
|
+
VERIFICATION_STATUS_UNSPECIFIED: 0,
|
|
30
|
+
VERIFICATION_STATUS_NOT_STARTED: 1,
|
|
31
|
+
VERIFICATION_STATUS_PENDING: 2,
|
|
32
|
+
VERIFICATION_STATUS_VERIFIED: 3,
|
|
33
|
+
VERIFICATION_STATUS_FAILED: 4
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
goog.object.extend(exports, proto.meshtrade.compliance.client.v1);
|