@t-0/provider-sdk 1.0.28 → 1.0.30

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.
Files changed (47) hide show
  1. package/lib/cjs/client/client.js +2 -2
  2. package/lib/cjs/common/gen/ivms101/v1/ivms/enum_pb.d.ts +326 -0
  3. package/lib/cjs/common/gen/ivms101/v1/ivms/enum_pb.js +337 -0
  4. package/lib/cjs/common/gen/ivms101/v1/ivms/ivms101_pb.d.ts +520 -0
  5. package/lib/cjs/common/gen/ivms101/v1/ivms/ivms101_pb.js +73 -0
  6. package/lib/cjs/common/gen/tzero/v1/common/common_pb.d.ts +0 -2
  7. package/lib/cjs/common/gen/tzero/v1/common/common_pb.js +1 -1
  8. package/lib/cjs/common/gen/tzero/v1/common/payment_method_pb.d.ts +0 -34
  9. package/lib/cjs/common/gen/tzero/v1/common/payment_method_pb.js +2 -2
  10. package/lib/cjs/common/gen/tzero/v1/common/payment_receipt_pb.d.ts +0 -2
  11. package/lib/cjs/common/gen/tzero/v1/common/payment_receipt_pb.js +1 -1
  12. package/lib/cjs/common/gen/tzero/v1/payment/network_pb.d.ts +132 -177
  13. package/lib/cjs/common/gen/tzero/v1/payment/network_pb.js +24 -18
  14. package/lib/cjs/common/gen/tzero/v1/payment/provider_pb.d.ts +30 -9
  15. package/lib/cjs/common/gen/tzero/v1/payment/provider_pb.js +9 -3
  16. package/lib/cjs/common/gen/tzero/v1/payment_intent/provider/provider_pb.d.ts +4 -16
  17. package/lib/cjs/common/gen/tzero/v1/payment_intent/provider/provider_pb.js +2 -2
  18. package/lib/cjs/common/gen/tzero/v1/payment_intent/recipient/recipient_pb.d.ts +0 -10
  19. package/lib/cjs/common/gen/tzero/v1/payment_intent/recipient/recipient_pb.js +2 -2
  20. package/lib/cjs/common/gen/tzero/v1/public/public_pb.js +1 -1
  21. package/lib/cjs/examples/update-quote.js +1 -1
  22. package/lib/cjs/service/node.js +2 -2
  23. package/lib/esm/client/client.js +1 -1
  24. package/lib/esm/common/gen/ivms101/v1/ivms/enum_pb.d.ts +326 -0
  25. package/lib/esm/common/gen/ivms101/v1/ivms/enum_pb.js +334 -0
  26. package/lib/esm/common/gen/ivms101/v1/ivms/ivms101_pb.d.ts +520 -0
  27. package/lib/esm/common/gen/ivms101/v1/ivms/ivms101_pb.js +70 -0
  28. package/lib/esm/common/gen/tzero/v1/common/common_pb.d.ts +0 -2
  29. package/lib/esm/common/gen/tzero/v1/common/common_pb.js +1 -1
  30. package/lib/esm/common/gen/tzero/v1/common/payment_method_pb.d.ts +0 -34
  31. package/lib/esm/common/gen/tzero/v1/common/payment_method_pb.js +2 -2
  32. package/lib/esm/common/gen/tzero/v1/common/payment_receipt_pb.d.ts +0 -2
  33. package/lib/esm/common/gen/tzero/v1/common/payment_receipt_pb.js +1 -1
  34. package/lib/esm/common/gen/tzero/v1/payment/network_pb.d.ts +132 -177
  35. package/lib/esm/common/gen/tzero/v1/payment/network_pb.js +23 -17
  36. package/lib/esm/common/gen/tzero/v1/payment/provider_pb.d.ts +30 -9
  37. package/lib/esm/common/gen/tzero/v1/payment/provider_pb.js +8 -2
  38. package/lib/esm/common/gen/tzero/v1/payment_intent/provider/provider_pb.d.ts +4 -16
  39. package/lib/esm/common/gen/tzero/v1/payment_intent/provider/provider_pb.js +2 -2
  40. package/lib/esm/common/gen/tzero/v1/payment_intent/recipient/recipient_pb.d.ts +0 -10
  41. package/lib/esm/common/gen/tzero/v1/payment_intent/recipient/recipient_pb.js +2 -2
  42. package/lib/esm/common/gen/tzero/v1/public/public_pb.js +1 -1
  43. package/lib/esm/examples/update-quote.js +1 -1
  44. package/lib/esm/service/node.js +1 -1
  45. package/lib/tsconfig.cjs.tsbuildinfo +1 -1
  46. package/lib/tsconfig.esm.tsbuildinfo +1 -1
  47. package/package.json +10 -10
@@ -7,7 +7,7 @@ exports.DEFAULT_ENDPOINT = void 0;
7
7
  exports.createClient = createClient;
8
8
  const connect_1 = require("@connectrpc/connect");
9
9
  const connect_web_1 = require("@connectrpc/connect-web");
10
- const sha3_1 = require("@noble/hashes/sha3");
10
+ const sha3_js_1 = require("@noble/hashes/sha3.js");
11
11
  const signer_js_1 = __importDefault(require("./signer.js"));
12
12
  const headers_js_1 = __importDefault(require("../common/headers.js"));
13
13
  exports.DEFAULT_ENDPOINT = "https://api.t-0.network";
@@ -25,7 +25,7 @@ function createClient(signer, endpoint, svc) {
25
25
  // 64‑bit little‑endian timestamp
26
26
  const tsBuf = Buffer.alloc(8);
27
27
  tsBuf.writeBigUInt64LE(BigInt(ts));
28
- const hash = sha3_1.keccak_256.create()
28
+ const hash = sha3_js_1.keccak_256.create()
29
29
  .update(init.body)
30
30
  .update(tsBuf);
31
31
  const hashHex = Buffer.from(hash.digest());
@@ -0,0 +1,326 @@
1
+ import type { GenEnum, GenFile } from "@bufbuild/protobuf/codegenv2";
2
+ /**
3
+ * Describes the file ivms101/v1/ivms/enum.proto.
4
+ */
5
+ export declare const file_ivms101_v1_ivms_enum: GenFile;
6
+ /**
7
+ * Definition: A single value corresponding to the nature of name being adopted.
8
+ *
9
+ * @generated from enum ivms101.NaturalPersonNameTypeCode
10
+ */
11
+ export declare enum NaturalPersonNameTypeCode {
12
+ /**
13
+ * Unspecified
14
+ * A name by which a natural person may be known but which cannot otherwise be
15
+ * categorized or the category of which the sender is unable to determine.
16
+ *
17
+ * @generated from enum value: NATURAL_PERSON_NAME_TYPE_CODE_MISC = 0;
18
+ */
19
+ MISC = 0,
20
+ /**
21
+ * Alias name
22
+ * A name other than the legal name by which a natural person is also known.
23
+ *
24
+ * @generated from enum value: NATURAL_PERSON_NAME_TYPE_CODE_ALIA = 1;
25
+ */
26
+ ALIA = 1,
27
+ /**
28
+ * Name at birth
29
+ * The name given to a natural person at birth.
30
+ *
31
+ * @generated from enum value: NATURAL_PERSON_NAME_TYPE_CODE_BIRT = 2;
32
+ */
33
+ BIRT = 2,
34
+ /**
35
+ * Maiden name
36
+ * The original name of a natural person who has changed their name after marriage.
37
+ *
38
+ * @generated from enum value: NATURAL_PERSON_NAME_TYPE_CODE_MAID = 3;
39
+ */
40
+ MAID = 3,
41
+ /**
42
+ * Legal name
43
+ * Identifies a natural person for legal, official or administrative purposes.
44
+ *
45
+ * @generated from enum value: NATURAL_PERSON_NAME_TYPE_CODE_LEGL = 4;
46
+ */
47
+ LEGL = 4
48
+ }
49
+ /**
50
+ * Describes the enum ivms101.NaturalPersonNameTypeCode.
51
+ */
52
+ export declare const NaturalPersonNameTypeCodeSchema: GenEnum<NaturalPersonNameTypeCode>;
53
+ /**
54
+ * Definition: A single value corresponding to the nature of name being specified
55
+ * for the legal person.
56
+ *
57
+ * @generated from enum ivms101.LegalPersonNameTypeCode
58
+ */
59
+ export declare enum LegalPersonNameTypeCode {
60
+ /**
61
+ * Unspecified
62
+ * A name by which a legal person may be known but which cannot otherwise be
63
+ * categorized or the category of which the sender is unable to determine.
64
+ * Not an official part of the IVMS 101 Standard
65
+ *
66
+ * @generated from enum value: LEGAL_PERSON_NAME_TYPE_CODE_MISC = 0;
67
+ */
68
+ MISC = 0,
69
+ /**
70
+ * Legal name
71
+ * Official name under which an organisation is registered.
72
+ *
73
+ * @generated from enum value: LEGAL_PERSON_NAME_TYPE_CODE_LEGL = 1;
74
+ */
75
+ LEGL = 1,
76
+ /**
77
+ * Short name
78
+ * Specifies the short name of the organisation.
79
+ *
80
+ * @generated from enum value: LEGAL_PERSON_NAME_TYPE_CODE_SHRT = 2;
81
+ */
82
+ SHRT = 2,
83
+ /**
84
+ * Trading name
85
+ * Name used by a business for commercial purposes, although its registered legal
86
+ * name, used for contracts and other formal situations, may be another.
87
+ *
88
+ * @generated from enum value: LEGAL_PERSON_NAME_TYPE_CODE_TRAD = 3;
89
+ */
90
+ TRAD = 3
91
+ }
92
+ /**
93
+ * Describes the enum ivms101.LegalPersonNameTypeCode.
94
+ */
95
+ export declare const LegalPersonNameTypeCodeSchema: GenEnum<LegalPersonNameTypeCode>;
96
+ /**
97
+ * Definition: Identifies the nature of the address.
98
+ *
99
+ * @generated from enum ivms101.AddressTypeCode
100
+ */
101
+ export declare enum AddressTypeCode {
102
+ /**
103
+ * Unspecified
104
+ * An address the category of which the sender is unable to determine.
105
+ * Use GEOG instead of this code in general use.
106
+ * Not an official part of the IVMS 101 Standard
107
+ *
108
+ * @generated from enum value: ADDRESS_TYPE_CODE_MISC = 0;
109
+ */
110
+ MISC = 0,
111
+ /**
112
+ * Residential
113
+ * Address is the home address.
114
+ *
115
+ * @generated from enum value: ADDRESS_TYPE_CODE_HOME = 1;
116
+ */
117
+ HOME = 1,
118
+ /**
119
+ * Business
120
+ * Address is the business address.
121
+ *
122
+ * @generated from enum value: ADDRESS_TYPE_CODE_BIZZ = 2;
123
+ */
124
+ BIZZ = 2,
125
+ /**
126
+ * Geographic
127
+ * Address is the unspecified physical (geographical) address suitable for
128
+ * identification of the natural or legal person.
129
+ *
130
+ * @generated from enum value: ADDRESS_TYPE_CODE_GEOG = 3;
131
+ */
132
+ GEOG = 3
133
+ }
134
+ /**
135
+ * Describes the enum ivms101.AddressTypeCode.
136
+ */
137
+ export declare const AddressTypeCodeSchema: GenEnum<AddressTypeCode>;
138
+ /**
139
+ * Definition: Identifies the national identification type.
140
+ * NationalIdentifierTypeCode applies a restriction over the codes present in ISO20022
141
+ * datatype ‘TypeOfIdentification4Code’.
142
+ *
143
+ * @generated from enum ivms101.NationalIdentifierTypeCode
144
+ */
145
+ export declare enum NationalIdentifierTypeCode {
146
+ /**
147
+ * Unspecified
148
+ * A national identifier which may be known but which cannot otherwise be
149
+ * categorized or the category of which the sender is unable to determine.
150
+ *
151
+ * @generated from enum value: NATIONAL_IDENTIFIER_TYPE_CODE_MISC = 0;
152
+ */
153
+ MISC = 0,
154
+ /**
155
+ * Alien registration number
156
+ * Number assigned by a government agency to identify foreign nationals.
157
+ *
158
+ * @generated from enum value: NATIONAL_IDENTIFIER_TYPE_CODE_ARNU = 1;
159
+ */
160
+ ARNU = 1,
161
+ /**
162
+ * Passport number
163
+ * Number assigned by a passport authority.
164
+ *
165
+ * @generated from enum value: NATIONAL_IDENTIFIER_TYPE_CODE_CCPT = 2;
166
+ */
167
+ CCPT = 2,
168
+ /**
169
+ * Registration authority identifier
170
+ * Identifier of a legal entity as maintained by a registration authority.
171
+ *
172
+ * @generated from enum value: NATIONAL_IDENTIFIER_TYPE_CODE_RAID = 3;
173
+ */
174
+ RAID = 3,
175
+ /**
176
+ * Driver license number
177
+ * Number assigned to a driver's license.
178
+ *
179
+ * @generated from enum value: NATIONAL_IDENTIFIER_TYPE_CODE_DRLC = 4;
180
+ */
181
+ DRLC = 4,
182
+ /**
183
+ * Foreign investment identity number
184
+ * Number assigned to a foreign investor (other than the alien number).
185
+ *
186
+ * @generated from enum value: NATIONAL_IDENTIFIER_TYPE_CODE_FIIN = 5;
187
+ */
188
+ FIIN = 5,
189
+ /**
190
+ * Tax identification number
191
+ * Number assigned by a tax authority to an entity.
192
+ *
193
+ * @generated from enum value: NATIONAL_IDENTIFIER_TYPE_CODE_TXID = 6;
194
+ */
195
+ TXID = 6,
196
+ /**
197
+ * Social security number
198
+ * Number assigned by a social security agency.
199
+ *
200
+ * @generated from enum value: NATIONAL_IDENTIFIER_TYPE_CODE_SOCS = 7;
201
+ */
202
+ SOCS = 7,
203
+ /**
204
+ * Identity card number
205
+ * Number assigned by a national authority to an identity card.
206
+ *
207
+ * @generated from enum value: NATIONAL_IDENTIFIER_TYPE_CODE_IDCD = 8;
208
+ */
209
+ IDCD = 8,
210
+ /**
211
+ * Legal Entity Identifier
212
+ * Legal Entity Identifier (LEI) assigned in accordance with ISO 17442.
213
+ * The LEI is a 20-character, alpha-numeric code that enables clear and unique
214
+ * identification of legal entities participating in financial transactions.
215
+ *
216
+ * @generated from enum value: NATIONAL_IDENTIFIER_TYPE_CODE_LEIX = 9;
217
+ */
218
+ LEIX = 9
219
+ }
220
+ /**
221
+ * Describes the enum ivms101.NationalIdentifierTypeCode.
222
+ */
223
+ export declare const NationalIdentifierTypeCodeSchema: GenEnum<NationalIdentifierTypeCode>;
224
+ /**
225
+ * Definition: Identifies the national script from which transliteration to Latin
226
+ * script is applied.
227
+ *
228
+ * @generated from enum ivms101.TransliterationMethodCode
229
+ */
230
+ export declare enum TransliterationMethodCode {
231
+ /**
232
+ * Script other than those listed below
233
+ * Unspecified Standard
234
+ *
235
+ * @generated from enum value: TRANSLITERATION_METHOD_CODE_OTHR = 0;
236
+ */
237
+ OTHR = 0,
238
+ /**
239
+ * Arabic (Arabic language)
240
+ * ISO 233-2:1993
241
+ *
242
+ * @generated from enum value: TRANSLITERATION_METHOD_CODE_ARAB = 1;
243
+ */
244
+ ARAB = 1,
245
+ /**
246
+ * Arabic (Persian language)
247
+ * ISO 233-3:1999
248
+ *
249
+ * @generated from enum value: TRANSLITERATION_METHOD_CODE_ARAN = 2;
250
+ */
251
+ ARAN = 2,
252
+ /**
253
+ * Armenian
254
+ * ISO 9985:1996
255
+ *
256
+ * @generated from enum value: TRANSLITERATION_METHOD_CODE_ARMN = 3;
257
+ */
258
+ ARMN = 3,
259
+ /**
260
+ * Cyrillic
261
+ * ISO 9:1995
262
+ *
263
+ * @generated from enum value: TRANSLITERATION_METHOD_CODE_CYRL = 4;
264
+ */
265
+ CYRL = 4,
266
+ /**
267
+ * Devanagari & related Indic
268
+ * ISO 15919:2001
269
+ *
270
+ * @generated from enum value: TRANSLITERATION_METHOD_CODE_DEVA = 5;
271
+ */
272
+ DEVA = 5,
273
+ /**
274
+ * Georgian
275
+ * ISO 9984:1996
276
+ *
277
+ * @generated from enum value: TRANSLITERATION_METHOD_CODE_GEOR = 6;
278
+ */
279
+ GEOR = 6,
280
+ /**
281
+ * Greek
282
+ * ISO 843:1997
283
+ *
284
+ * @generated from enum value: TRANSLITERATION_METHOD_CODE_GREK = 7;
285
+ */
286
+ GREK = 7,
287
+ /**
288
+ * Han (Hanzi, Kanji, Hanja)
289
+ * ISO 7098:2015
290
+ *
291
+ * @generated from enum value: TRANSLITERATION_METHOD_CODE_HANI = 8;
292
+ */
293
+ HANI = 8,
294
+ /**
295
+ * Hebrew
296
+ * ISO 259-2:1994
297
+ *
298
+ * @generated from enum value: TRANSLITERATION_METHOD_CODE_HEBR = 9;
299
+ */
300
+ HEBR = 9,
301
+ /**
302
+ * Kana
303
+ * ISO 3602:1989
304
+ *
305
+ * @generated from enum value: TRANSLITERATION_METHOD_CODE_KANA = 10;
306
+ */
307
+ KANA = 10,
308
+ /**
309
+ * Korean
310
+ * Revised Romanization of Korean
311
+ *
312
+ * @generated from enum value: TRANSLITERATION_METHOD_CODE_KORE = 11;
313
+ */
314
+ KORE = 11,
315
+ /**
316
+ * Thai
317
+ * ISO 11940-2:2007
318
+ *
319
+ * @generated from enum value: TRANSLITERATION_METHOD_CODE_THAI = 12;
320
+ */
321
+ THAI = 12
322
+ }
323
+ /**
324
+ * Describes the enum ivms101.TransliterationMethodCode.
325
+ */
326
+ export declare const TransliterationMethodCodeSchema: GenEnum<TransliterationMethodCode>;
@@ -0,0 +1,337 @@
1
+ "use strict";
2
+ // Specification Copyright (c) 2020 Joint Working Group on interVASP Messaging Standards
3
+ // https://intervasp.org/
4
+ // https://intervasp.org/wp-content/uploads/2020/05/IVMS101-interVASP-data-model-standard-issue-1-FINAL.pdf
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.TransliterationMethodCodeSchema = exports.TransliterationMethodCode = exports.NationalIdentifierTypeCodeSchema = exports.NationalIdentifierTypeCode = exports.AddressTypeCodeSchema = exports.AddressTypeCode = exports.LegalPersonNameTypeCodeSchema = exports.LegalPersonNameTypeCode = exports.NaturalPersonNameTypeCodeSchema = exports.NaturalPersonNameTypeCode = exports.file_ivms101_v1_ivms_enum = void 0;
7
+ const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
8
+ /**
9
+ * Describes the file ivms101/v1/ivms/enum.proto.
10
+ */
11
+ exports.file_ivms101_v1_ivms_enum = (0, codegenv2_1.fileDesc)("Chppdm1zMTAxL3YxL2l2bXMvZW51bS5wcm90bxIHaXZtczEwMSrjAQoZTmF0dXJhbFBlcnNvbk5hbWVUeXBlQ29kZRImCiJOQVRVUkFMX1BFUlNPTl9OQU1FX1RZUEVfQ09ERV9NSVNDEAASJgoiTkFUVVJBTF9QRVJTT05fTkFNRV9UWVBFX0NPREVfQUxJQRABEiYKIk5BVFVSQUxfUEVSU09OX05BTUVfVFlQRV9DT0RFX0JJUlQQAhImCiJOQVRVUkFMX1BFUlNPTl9OQU1FX1RZUEVfQ09ERV9NQUlEEAMSJgoiTkFUVVJBTF9QRVJTT05fTkFNRV9UWVBFX0NPREVfTEVHTBAEKrEBChdMZWdhbFBlcnNvbk5hbWVUeXBlQ29kZRIkCiBMRUdBTF9QRVJTT05fTkFNRV9UWVBFX0NPREVfTUlTQxAAEiQKIExFR0FMX1BFUlNPTl9OQU1FX1RZUEVfQ09ERV9MRUdMEAESJAogTEVHQUxfUEVSU09OX05BTUVfVFlQRV9DT0RFX1NIUlQQAhIkCiBMRUdBTF9QRVJTT05fTkFNRV9UWVBFX0NPREVfVFJBRBADKoEBCg9BZGRyZXNzVHlwZUNvZGUSGgoWQUREUkVTU19UWVBFX0NPREVfTUlTQxAAEhoKFkFERFJFU1NfVFlQRV9DT0RFX0hPTUUQARIaChZBRERSRVNTX1RZUEVfQ09ERV9CSVpaEAISGgoWQUREUkVTU19UWVBFX0NPREVfR0VPRxADKqwDChpOYXRpb25hbElkZW50aWZpZXJUeXBlQ29kZRImCiJOQVRJT05BTF9JREVOVElGSUVSX1RZUEVfQ09ERV9NSVNDEAASJgoiTkFUSU9OQUxfSURFTlRJRklFUl9UWVBFX0NPREVfQVJOVRABEiYKIk5BVElPTkFMX0lERU5USUZJRVJfVFlQRV9DT0RFX0NDUFQQAhImCiJOQVRJT05BTF9JREVOVElGSUVSX1RZUEVfQ09ERV9SQUlEEAMSJgoiTkFUSU9OQUxfSURFTlRJRklFUl9UWVBFX0NPREVfRFJMQxAEEiYKIk5BVElPTkFMX0lERU5USUZJRVJfVFlQRV9DT0RFX0ZJSU4QBRImCiJOQVRJT05BTF9JREVOVElGSUVSX1RZUEVfQ09ERV9UWElEEAYSJgoiTkFUSU9OQUxfSURFTlRJRklFUl9UWVBFX0NPREVfU09DUxAHEiYKIk5BVElPTkFMX0lERU5USUZJRVJfVFlQRV9DT0RFX0lEQ0QQCBImCiJOQVRJT05BTF9JREVOVElGSUVSX1RZUEVfQ09ERV9MRUlYEAkqiQQKGVRyYW5zbGl0ZXJhdGlvbk1ldGhvZENvZGUSJAogVFJBTlNMSVRFUkFUSU9OX01FVEhPRF9DT0RFX09USFIQABIkCiBUUkFOU0xJVEVSQVRJT05fTUVUSE9EX0NPREVfQVJBQhABEiQKIFRSQU5TTElURVJBVElPTl9NRVRIT0RfQ09ERV9BUkFOEAISJAogVFJBTlNMSVRFUkFUSU9OX01FVEhPRF9DT0RFX0FSTU4QAxIkCiBUUkFOU0xJVEVSQVRJT05fTUVUSE9EX0NPREVfQ1lSTBAEEiQKIFRSQU5TTElURVJBVElPTl9NRVRIT0RfQ09ERV9ERVZBEAUSJAogVFJBTlNMSVRFUkFUSU9OX01FVEhPRF9DT0RFX0dFT1IQBhIkCiBUUkFOU0xJVEVSQVRJT05fTUVUSE9EX0NPREVfR1JFSxAHEiQKIFRSQU5TTElURVJBVElPTl9NRVRIT0RfQ09ERV9IQU5JEAgSJAogVFJBTlNMSVRFUkFUSU9OX01FVEhPRF9DT0RFX0hFQlIQCRIkCiBUUkFOU0xJVEVSQVRJT05fTUVUSE9EX0NPREVfS0FOQRAKEiQKIFRSQU5TTElURVJBVElPTl9NRVRIT0RfQ09ERV9LT1JFEAsSJAogVFJBTlNMSVRFUkFUSU9OX01FVEhPRF9DT0RFX1RIQUkQDEJUCgtjb20uaXZtczEwMUIJRW51bVByb3RvUAGiAgNJWFiqAgdJdm1zMTAxygIHSXZtczEwMeICE0l2bXMxMDFcR1BCTWV0YWRhdGHqAgdJdm1zMTAxYgZwcm90bzM");
12
+ /**
13
+ * Definition: A single value corresponding to the nature of name being adopted.
14
+ *
15
+ * @generated from enum ivms101.NaturalPersonNameTypeCode
16
+ */
17
+ var NaturalPersonNameTypeCode;
18
+ (function (NaturalPersonNameTypeCode) {
19
+ /**
20
+ * Unspecified
21
+ * A name by which a natural person may be known but which cannot otherwise be
22
+ * categorized or the category of which the sender is unable to determine.
23
+ *
24
+ * @generated from enum value: NATURAL_PERSON_NAME_TYPE_CODE_MISC = 0;
25
+ */
26
+ NaturalPersonNameTypeCode[NaturalPersonNameTypeCode["MISC"] = 0] = "MISC";
27
+ /**
28
+ * Alias name
29
+ * A name other than the legal name by which a natural person is also known.
30
+ *
31
+ * @generated from enum value: NATURAL_PERSON_NAME_TYPE_CODE_ALIA = 1;
32
+ */
33
+ NaturalPersonNameTypeCode[NaturalPersonNameTypeCode["ALIA"] = 1] = "ALIA";
34
+ /**
35
+ * Name at birth
36
+ * The name given to a natural person at birth.
37
+ *
38
+ * @generated from enum value: NATURAL_PERSON_NAME_TYPE_CODE_BIRT = 2;
39
+ */
40
+ NaturalPersonNameTypeCode[NaturalPersonNameTypeCode["BIRT"] = 2] = "BIRT";
41
+ /**
42
+ * Maiden name
43
+ * The original name of a natural person who has changed their name after marriage.
44
+ *
45
+ * @generated from enum value: NATURAL_PERSON_NAME_TYPE_CODE_MAID = 3;
46
+ */
47
+ NaturalPersonNameTypeCode[NaturalPersonNameTypeCode["MAID"] = 3] = "MAID";
48
+ /**
49
+ * Legal name
50
+ * Identifies a natural person for legal, official or administrative purposes.
51
+ *
52
+ * @generated from enum value: NATURAL_PERSON_NAME_TYPE_CODE_LEGL = 4;
53
+ */
54
+ NaturalPersonNameTypeCode[NaturalPersonNameTypeCode["LEGL"] = 4] = "LEGL";
55
+ })(NaturalPersonNameTypeCode || (exports.NaturalPersonNameTypeCode = NaturalPersonNameTypeCode = {}));
56
+ /**
57
+ * Describes the enum ivms101.NaturalPersonNameTypeCode.
58
+ */
59
+ exports.NaturalPersonNameTypeCodeSchema = (0, codegenv2_1.enumDesc)(exports.file_ivms101_v1_ivms_enum, 0);
60
+ /**
61
+ * Definition: A single value corresponding to the nature of name being specified
62
+ * for the legal person.
63
+ *
64
+ * @generated from enum ivms101.LegalPersonNameTypeCode
65
+ */
66
+ var LegalPersonNameTypeCode;
67
+ (function (LegalPersonNameTypeCode) {
68
+ /**
69
+ * Unspecified
70
+ * A name by which a legal person may be known but which cannot otherwise be
71
+ * categorized or the category of which the sender is unable to determine.
72
+ * Not an official part of the IVMS 101 Standard
73
+ *
74
+ * @generated from enum value: LEGAL_PERSON_NAME_TYPE_CODE_MISC = 0;
75
+ */
76
+ LegalPersonNameTypeCode[LegalPersonNameTypeCode["MISC"] = 0] = "MISC";
77
+ /**
78
+ * Legal name
79
+ * Official name under which an organisation is registered.
80
+ *
81
+ * @generated from enum value: LEGAL_PERSON_NAME_TYPE_CODE_LEGL = 1;
82
+ */
83
+ LegalPersonNameTypeCode[LegalPersonNameTypeCode["LEGL"] = 1] = "LEGL";
84
+ /**
85
+ * Short name
86
+ * Specifies the short name of the organisation.
87
+ *
88
+ * @generated from enum value: LEGAL_PERSON_NAME_TYPE_CODE_SHRT = 2;
89
+ */
90
+ LegalPersonNameTypeCode[LegalPersonNameTypeCode["SHRT"] = 2] = "SHRT";
91
+ /**
92
+ * Trading name
93
+ * Name used by a business for commercial purposes, although its registered legal
94
+ * name, used for contracts and other formal situations, may be another.
95
+ *
96
+ * @generated from enum value: LEGAL_PERSON_NAME_TYPE_CODE_TRAD = 3;
97
+ */
98
+ LegalPersonNameTypeCode[LegalPersonNameTypeCode["TRAD"] = 3] = "TRAD";
99
+ })(LegalPersonNameTypeCode || (exports.LegalPersonNameTypeCode = LegalPersonNameTypeCode = {}));
100
+ /**
101
+ * Describes the enum ivms101.LegalPersonNameTypeCode.
102
+ */
103
+ exports.LegalPersonNameTypeCodeSchema = (0, codegenv2_1.enumDesc)(exports.file_ivms101_v1_ivms_enum, 1);
104
+ /**
105
+ * Definition: Identifies the nature of the address.
106
+ *
107
+ * @generated from enum ivms101.AddressTypeCode
108
+ */
109
+ var AddressTypeCode;
110
+ (function (AddressTypeCode) {
111
+ /**
112
+ * Unspecified
113
+ * An address the category of which the sender is unable to determine.
114
+ * Use GEOG instead of this code in general use.
115
+ * Not an official part of the IVMS 101 Standard
116
+ *
117
+ * @generated from enum value: ADDRESS_TYPE_CODE_MISC = 0;
118
+ */
119
+ AddressTypeCode[AddressTypeCode["MISC"] = 0] = "MISC";
120
+ /**
121
+ * Residential
122
+ * Address is the home address.
123
+ *
124
+ * @generated from enum value: ADDRESS_TYPE_CODE_HOME = 1;
125
+ */
126
+ AddressTypeCode[AddressTypeCode["HOME"] = 1] = "HOME";
127
+ /**
128
+ * Business
129
+ * Address is the business address.
130
+ *
131
+ * @generated from enum value: ADDRESS_TYPE_CODE_BIZZ = 2;
132
+ */
133
+ AddressTypeCode[AddressTypeCode["BIZZ"] = 2] = "BIZZ";
134
+ /**
135
+ * Geographic
136
+ * Address is the unspecified physical (geographical) address suitable for
137
+ * identification of the natural or legal person.
138
+ *
139
+ * @generated from enum value: ADDRESS_TYPE_CODE_GEOG = 3;
140
+ */
141
+ AddressTypeCode[AddressTypeCode["GEOG"] = 3] = "GEOG";
142
+ })(AddressTypeCode || (exports.AddressTypeCode = AddressTypeCode = {}));
143
+ /**
144
+ * Describes the enum ivms101.AddressTypeCode.
145
+ */
146
+ exports.AddressTypeCodeSchema = (0, codegenv2_1.enumDesc)(exports.file_ivms101_v1_ivms_enum, 2);
147
+ /**
148
+ * Definition: Identifies the national identification type.
149
+ * NationalIdentifierTypeCode applies a restriction over the codes present in ISO20022
150
+ * datatype ‘TypeOfIdentification4Code’.
151
+ *
152
+ * @generated from enum ivms101.NationalIdentifierTypeCode
153
+ */
154
+ var NationalIdentifierTypeCode;
155
+ (function (NationalIdentifierTypeCode) {
156
+ /**
157
+ * Unspecified
158
+ * A national identifier which may be known but which cannot otherwise be
159
+ * categorized or the category of which the sender is unable to determine.
160
+ *
161
+ * @generated from enum value: NATIONAL_IDENTIFIER_TYPE_CODE_MISC = 0;
162
+ */
163
+ NationalIdentifierTypeCode[NationalIdentifierTypeCode["MISC"] = 0] = "MISC";
164
+ /**
165
+ * Alien registration number
166
+ * Number assigned by a government agency to identify foreign nationals.
167
+ *
168
+ * @generated from enum value: NATIONAL_IDENTIFIER_TYPE_CODE_ARNU = 1;
169
+ */
170
+ NationalIdentifierTypeCode[NationalIdentifierTypeCode["ARNU"] = 1] = "ARNU";
171
+ /**
172
+ * Passport number
173
+ * Number assigned by a passport authority.
174
+ *
175
+ * @generated from enum value: NATIONAL_IDENTIFIER_TYPE_CODE_CCPT = 2;
176
+ */
177
+ NationalIdentifierTypeCode[NationalIdentifierTypeCode["CCPT"] = 2] = "CCPT";
178
+ /**
179
+ * Registration authority identifier
180
+ * Identifier of a legal entity as maintained by a registration authority.
181
+ *
182
+ * @generated from enum value: NATIONAL_IDENTIFIER_TYPE_CODE_RAID = 3;
183
+ */
184
+ NationalIdentifierTypeCode[NationalIdentifierTypeCode["RAID"] = 3] = "RAID";
185
+ /**
186
+ * Driver license number
187
+ * Number assigned to a driver's license.
188
+ *
189
+ * @generated from enum value: NATIONAL_IDENTIFIER_TYPE_CODE_DRLC = 4;
190
+ */
191
+ NationalIdentifierTypeCode[NationalIdentifierTypeCode["DRLC"] = 4] = "DRLC";
192
+ /**
193
+ * Foreign investment identity number
194
+ * Number assigned to a foreign investor (other than the alien number).
195
+ *
196
+ * @generated from enum value: NATIONAL_IDENTIFIER_TYPE_CODE_FIIN = 5;
197
+ */
198
+ NationalIdentifierTypeCode[NationalIdentifierTypeCode["FIIN"] = 5] = "FIIN";
199
+ /**
200
+ * Tax identification number
201
+ * Number assigned by a tax authority to an entity.
202
+ *
203
+ * @generated from enum value: NATIONAL_IDENTIFIER_TYPE_CODE_TXID = 6;
204
+ */
205
+ NationalIdentifierTypeCode[NationalIdentifierTypeCode["TXID"] = 6] = "TXID";
206
+ /**
207
+ * Social security number
208
+ * Number assigned by a social security agency.
209
+ *
210
+ * @generated from enum value: NATIONAL_IDENTIFIER_TYPE_CODE_SOCS = 7;
211
+ */
212
+ NationalIdentifierTypeCode[NationalIdentifierTypeCode["SOCS"] = 7] = "SOCS";
213
+ /**
214
+ * Identity card number
215
+ * Number assigned by a national authority to an identity card.
216
+ *
217
+ * @generated from enum value: NATIONAL_IDENTIFIER_TYPE_CODE_IDCD = 8;
218
+ */
219
+ NationalIdentifierTypeCode[NationalIdentifierTypeCode["IDCD"] = 8] = "IDCD";
220
+ /**
221
+ * Legal Entity Identifier
222
+ * Legal Entity Identifier (LEI) assigned in accordance with ISO 17442.
223
+ * The LEI is a 20-character, alpha-numeric code that enables clear and unique
224
+ * identification of legal entities participating in financial transactions.
225
+ *
226
+ * @generated from enum value: NATIONAL_IDENTIFIER_TYPE_CODE_LEIX = 9;
227
+ */
228
+ NationalIdentifierTypeCode[NationalIdentifierTypeCode["LEIX"] = 9] = "LEIX";
229
+ })(NationalIdentifierTypeCode || (exports.NationalIdentifierTypeCode = NationalIdentifierTypeCode = {}));
230
+ /**
231
+ * Describes the enum ivms101.NationalIdentifierTypeCode.
232
+ */
233
+ exports.NationalIdentifierTypeCodeSchema = (0, codegenv2_1.enumDesc)(exports.file_ivms101_v1_ivms_enum, 3);
234
+ /**
235
+ * Definition: Identifies the national script from which transliteration to Latin
236
+ * script is applied.
237
+ *
238
+ * @generated from enum ivms101.TransliterationMethodCode
239
+ */
240
+ var TransliterationMethodCode;
241
+ (function (TransliterationMethodCode) {
242
+ /**
243
+ * Script other than those listed below
244
+ * Unspecified Standard
245
+ *
246
+ * @generated from enum value: TRANSLITERATION_METHOD_CODE_OTHR = 0;
247
+ */
248
+ TransliterationMethodCode[TransliterationMethodCode["OTHR"] = 0] = "OTHR";
249
+ /**
250
+ * Arabic (Arabic language)
251
+ * ISO 233-2:1993
252
+ *
253
+ * @generated from enum value: TRANSLITERATION_METHOD_CODE_ARAB = 1;
254
+ */
255
+ TransliterationMethodCode[TransliterationMethodCode["ARAB"] = 1] = "ARAB";
256
+ /**
257
+ * Arabic (Persian language)
258
+ * ISO 233-3:1999
259
+ *
260
+ * @generated from enum value: TRANSLITERATION_METHOD_CODE_ARAN = 2;
261
+ */
262
+ TransliterationMethodCode[TransliterationMethodCode["ARAN"] = 2] = "ARAN";
263
+ /**
264
+ * Armenian
265
+ * ISO 9985:1996
266
+ *
267
+ * @generated from enum value: TRANSLITERATION_METHOD_CODE_ARMN = 3;
268
+ */
269
+ TransliterationMethodCode[TransliterationMethodCode["ARMN"] = 3] = "ARMN";
270
+ /**
271
+ * Cyrillic
272
+ * ISO 9:1995
273
+ *
274
+ * @generated from enum value: TRANSLITERATION_METHOD_CODE_CYRL = 4;
275
+ */
276
+ TransliterationMethodCode[TransliterationMethodCode["CYRL"] = 4] = "CYRL";
277
+ /**
278
+ * Devanagari & related Indic
279
+ * ISO 15919:2001
280
+ *
281
+ * @generated from enum value: TRANSLITERATION_METHOD_CODE_DEVA = 5;
282
+ */
283
+ TransliterationMethodCode[TransliterationMethodCode["DEVA"] = 5] = "DEVA";
284
+ /**
285
+ * Georgian
286
+ * ISO 9984:1996
287
+ *
288
+ * @generated from enum value: TRANSLITERATION_METHOD_CODE_GEOR = 6;
289
+ */
290
+ TransliterationMethodCode[TransliterationMethodCode["GEOR"] = 6] = "GEOR";
291
+ /**
292
+ * Greek
293
+ * ISO 843:1997
294
+ *
295
+ * @generated from enum value: TRANSLITERATION_METHOD_CODE_GREK = 7;
296
+ */
297
+ TransliterationMethodCode[TransliterationMethodCode["GREK"] = 7] = "GREK";
298
+ /**
299
+ * Han (Hanzi, Kanji, Hanja)
300
+ * ISO 7098:2015
301
+ *
302
+ * @generated from enum value: TRANSLITERATION_METHOD_CODE_HANI = 8;
303
+ */
304
+ TransliterationMethodCode[TransliterationMethodCode["HANI"] = 8] = "HANI";
305
+ /**
306
+ * Hebrew
307
+ * ISO 259-2:1994
308
+ *
309
+ * @generated from enum value: TRANSLITERATION_METHOD_CODE_HEBR = 9;
310
+ */
311
+ TransliterationMethodCode[TransliterationMethodCode["HEBR"] = 9] = "HEBR";
312
+ /**
313
+ * Kana
314
+ * ISO 3602:1989
315
+ *
316
+ * @generated from enum value: TRANSLITERATION_METHOD_CODE_KANA = 10;
317
+ */
318
+ TransliterationMethodCode[TransliterationMethodCode["KANA"] = 10] = "KANA";
319
+ /**
320
+ * Korean
321
+ * Revised Romanization of Korean
322
+ *
323
+ * @generated from enum value: TRANSLITERATION_METHOD_CODE_KORE = 11;
324
+ */
325
+ TransliterationMethodCode[TransliterationMethodCode["KORE"] = 11] = "KORE";
326
+ /**
327
+ * Thai
328
+ * ISO 11940-2:2007
329
+ *
330
+ * @generated from enum value: TRANSLITERATION_METHOD_CODE_THAI = 12;
331
+ */
332
+ TransliterationMethodCode[TransliterationMethodCode["THAI"] = 12] = "THAI";
333
+ })(TransliterationMethodCode || (exports.TransliterationMethodCode = TransliterationMethodCode = {}));
334
+ /**
335
+ * Describes the enum ivms101.TransliterationMethodCode.
336
+ */
337
+ exports.TransliterationMethodCodeSchema = (0, codegenv2_1.enumDesc)(exports.file_ivms101_v1_ivms_enum, 4);