modern_treasury 0.30.0 → 0.32.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.
Files changed (145) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +35 -0
  3. data/README.md +1 -1
  4. data/lib/modern_treasury/models/account_detail.rb +9 -6
  5. data/lib/modern_treasury/models/account_detail_create_params.rb +9 -6
  6. data/lib/modern_treasury/models/bulk_request_create_params.rb +30 -10
  7. data/lib/modern_treasury/models/child_legal_entity.rb +8 -7
  8. data/lib/modern_treasury/models/child_legal_entity_create.rb +2 -2
  9. data/lib/modern_treasury/models/connection_legal_entity_create_params.rb +2 -2
  10. data/lib/modern_treasury/models/counterparty_create_params.rb +27 -4
  11. data/lib/modern_treasury/models/document.rb +7 -9
  12. data/lib/modern_treasury/models/document_create_params.rb +0 -2
  13. data/lib/modern_treasury/models/document_list_params.rb +7 -9
  14. data/lib/modern_treasury/models/expected_payment.rb +3 -4
  15. data/lib/modern_treasury/models/expected_payment_create_params.rb +2 -3
  16. data/lib/modern_treasury/models/expected_payment_update_params.rb +2 -3
  17. data/lib/modern_treasury/models/external_account_create_params.rb +2 -1
  18. data/lib/modern_treasury/models/identification.rb +109 -0
  19. data/lib/modern_treasury/models/identification_create_params.rb +109 -0
  20. data/lib/modern_treasury/models/identification_create_request.rb +109 -0
  21. data/lib/modern_treasury/models/identification_update_params.rb +109 -0
  22. data/lib/modern_treasury/models/incoming_payment_detail.rb +2 -1
  23. data/lib/modern_treasury/models/incoming_payment_detail_create_async_params.rb +3 -14
  24. data/lib/modern_treasury/models/internal_account.rb +10 -1
  25. data/lib/modern_treasury/models/internal_account_create_params.rb +13 -1
  26. data/lib/modern_treasury/models/ledger_account.rb +0 -1
  27. data/lib/modern_treasury/models/ledger_account_create_request.rb +0 -1
  28. data/lib/modern_treasury/models/legal_entity.rb +8 -7
  29. data/lib/modern_treasury/models/legal_entity_address_create_request.rb +18 -18
  30. data/lib/modern_treasury/models/legal_entity_create_params.rb +23 -3
  31. data/lib/modern_treasury/models/legal_entity_list_params.rb +1 -0
  32. data/lib/modern_treasury/models/legal_entity_update_params.rb +25 -3
  33. data/lib/modern_treasury/models/payment_order.rb +12 -2
  34. data/lib/modern_treasury/models/payment_order_create_async_params.rb +13 -2
  35. data/lib/modern_treasury/models/payment_order_create_params.rb +13 -4
  36. data/lib/modern_treasury/models/payment_order_subtype.rb +3 -0
  37. data/lib/modern_treasury/models/payment_order_update_params.rb +13 -2
  38. data/lib/modern_treasury/models/payment_reference.rb +1 -1
  39. data/lib/modern_treasury/models/return_object.rb +1 -1
  40. data/lib/modern_treasury/models/third_party_verification.rb +1 -0
  41. data/lib/modern_treasury/models/virtual_account.rb +9 -1
  42. data/lib/modern_treasury/models/virtual_account_create_params.rb +18 -7
  43. data/lib/modern_treasury/models/virtual_account_list_params.rb +9 -1
  44. data/lib/modern_treasury/resources/account_details.rb +1 -1
  45. data/lib/modern_treasury/resources/documents.rb +1 -1
  46. data/lib/modern_treasury/resources/expected_payments.rb +2 -2
  47. data/lib/modern_treasury/resources/incoming_payment_details.rb +1 -1
  48. data/lib/modern_treasury/resources/internal_accounts.rb +7 -2
  49. data/lib/modern_treasury/resources/legal_entities.rb +8 -4
  50. data/lib/modern_treasury/resources/payment_orders.rb +9 -3
  51. data/lib/modern_treasury/resources/virtual_accounts.rb +6 -2
  52. data/lib/modern_treasury/version.rb +1 -1
  53. data/rbi/modern_treasury/models/account_detail.rbi +19 -11
  54. data/rbi/modern_treasury/models/account_detail_create_params.rbi +19 -11
  55. data/rbi/modern_treasury/models/bulk_request_create_params.rbi +66 -16
  56. data/rbi/modern_treasury/models/child_legal_entity.rbi +10 -8
  57. data/rbi/modern_treasury/models/child_legal_entity_create.rbi +2 -2
  58. data/rbi/modern_treasury/models/connection_legal_entity_create_params.rbi +2 -2
  59. data/rbi/modern_treasury/models/counterparty_create_params.rbi +69 -7
  60. data/rbi/modern_treasury/models/document.rbi +9 -19
  61. data/rbi/modern_treasury/models/document_create_params.rbi +0 -10
  62. data/rbi/modern_treasury/models/document_list_params.rbi +9 -19
  63. data/rbi/modern_treasury/models/expected_payment.rbi +3 -3
  64. data/rbi/modern_treasury/models/expected_payment_create_params.rbi +11 -3
  65. data/rbi/modern_treasury/models/expected_payment_update_params.rbi +11 -3
  66. data/rbi/modern_treasury/models/external_account_create_params.rbi +10 -5
  67. data/rbi/modern_treasury/models/identification.rbi +224 -0
  68. data/rbi/modern_treasury/models/identification_create_params.rbi +545 -0
  69. data/rbi/modern_treasury/models/identification_create_request.rbi +545 -0
  70. data/rbi/modern_treasury/models/identification_update_params.rbi +545 -0
  71. data/rbi/modern_treasury/models/incoming_payment_detail.rbi +10 -5
  72. data/rbi/modern_treasury/models/incoming_payment_detail_create_async_params.rbi +4 -50
  73. data/rbi/modern_treasury/models/internal_account.rbi +10 -0
  74. data/rbi/modern_treasury/models/internal_account_create_params.rbi +22 -0
  75. data/rbi/modern_treasury/models/ledger_account.rbi +0 -5
  76. data/rbi/modern_treasury/models/ledger_account_create_request.rbi +0 -5
  77. data/rbi/modern_treasury/models/legal_entity.rbi +9 -8
  78. data/rbi/modern_treasury/models/legal_entity_address_create_request.rbi +21 -21
  79. data/rbi/modern_treasury/models/legal_entity_create_params.rbi +51 -2
  80. data/rbi/modern_treasury/models/legal_entity_list_params.rbi +5 -0
  81. data/rbi/modern_treasury/models/legal_entity_update_params.rbi +54 -2
  82. data/rbi/modern_treasury/models/payment_order.rbi +17 -5
  83. data/rbi/modern_treasury/models/payment_order_create_async_params.rbi +22 -5
  84. data/rbi/modern_treasury/models/payment_order_create_params.rbi +22 -15
  85. data/rbi/modern_treasury/models/payment_order_subtype.rbi +9 -0
  86. data/rbi/modern_treasury/models/payment_order_update_params.rbi +22 -5
  87. data/rbi/modern_treasury/models/payment_reference.rbi +5 -5
  88. data/rbi/modern_treasury/models/return_object.rbi +5 -5
  89. data/rbi/modern_treasury/models/third_party_verification.rbi +5 -0
  90. data/rbi/modern_treasury/models/virtual_account.rbi +8 -0
  91. data/rbi/modern_treasury/models/virtual_account_create_params.rbi +27 -11
  92. data/rbi/modern_treasury/models/virtual_account_list_params.rbi +11 -0
  93. data/rbi/modern_treasury/resources/account_details.rbi +3 -2
  94. data/rbi/modern_treasury/resources/documents.rbi +3 -3
  95. data/rbi/modern_treasury/resources/expected_payments.rbi +2 -2
  96. data/rbi/modern_treasury/resources/incoming_payment_details.rbi +1 -2
  97. data/rbi/modern_treasury/resources/internal_accounts.rbi +7 -1
  98. data/rbi/modern_treasury/resources/legal_entities.rbi +11 -2
  99. data/rbi/modern_treasury/resources/payment_orders.rbi +15 -0
  100. data/rbi/modern_treasury/resources/virtual_accounts.rbi +6 -0
  101. data/sig/modern_treasury/models/account_detail.rbs +5 -3
  102. data/sig/modern_treasury/models/account_detail_create_params.rbs +5 -3
  103. data/sig/modern_treasury/models/bulk_request_create_params.rbs +36 -14
  104. data/sig/modern_treasury/models/child_legal_entity.rbs +2 -1
  105. data/sig/modern_treasury/models/counterparty_create_params.rbs +24 -3
  106. data/sig/modern_treasury/models/document.rbs +0 -4
  107. data/sig/modern_treasury/models/document_create_params.rbs +0 -4
  108. data/sig/modern_treasury/models/document_list_params.rbs +0 -4
  109. data/sig/modern_treasury/models/expected_payment.rbs +4 -4
  110. data/sig/modern_treasury/models/expected_payment_create_params.rbs +8 -4
  111. data/sig/modern_treasury/models/expected_payment_update_params.rbs +8 -4
  112. data/sig/modern_treasury/models/external_account_create_params.rbs +5 -3
  113. data/sig/modern_treasury/models/identification.rbs +219 -1
  114. data/sig/modern_treasury/models/identification_create_params.rbs +219 -1
  115. data/sig/modern_treasury/models/identification_create_request.rbs +219 -1
  116. data/sig/modern_treasury/models/identification_update_params.rbs +219 -1
  117. data/sig/modern_treasury/models/incoming_payment_detail.rbs +5 -3
  118. data/sig/modern_treasury/models/incoming_payment_detail_create_async_params.rbs +6 -17
  119. data/sig/modern_treasury/models/internal_account.rbs +5 -0
  120. data/sig/modern_treasury/models/internal_account_create_params.rbs +13 -1
  121. data/sig/modern_treasury/models/ledger_account.rbs +1 -2
  122. data/sig/modern_treasury/models/ledger_account_create_request.rbs +1 -2
  123. data/sig/modern_treasury/models/legal_entity.rbs +2 -1
  124. data/sig/modern_treasury/models/legal_entity_address_create_request.rbs +13 -13
  125. data/sig/modern_treasury/models/legal_entity_create_params.rbs +19 -0
  126. data/sig/modern_treasury/models/legal_entity_list_params.rbs +2 -1
  127. data/sig/modern_treasury/models/legal_entity_update_params.rbs +19 -0
  128. data/sig/modern_treasury/models/payment_order.rbs +7 -2
  129. data/sig/modern_treasury/models/payment_order_create_async_params.rbs +10 -3
  130. data/sig/modern_treasury/models/payment_order_create_params.rbs +10 -7
  131. data/sig/modern_treasury/models/payment_order_subtype.rbs +6 -0
  132. data/sig/modern_treasury/models/payment_order_update_params.rbs +10 -3
  133. data/sig/modern_treasury/models/payment_reference.rbs +2 -2
  134. data/sig/modern_treasury/models/return_object.rbs +2 -2
  135. data/sig/modern_treasury/models/third_party_verification.rbs +2 -0
  136. data/sig/modern_treasury/models/virtual_account.rbs +5 -0
  137. data/sig/modern_treasury/models/virtual_account_create_params.rbs +10 -3
  138. data/sig/modern_treasury/models/virtual_account_list_params.rbs +7 -0
  139. data/sig/modern_treasury/resources/expected_payments.rbs +2 -2
  140. data/sig/modern_treasury/resources/incoming_payment_details.rbs +1 -1
  141. data/sig/modern_treasury/resources/internal_accounts.rbs +1 -0
  142. data/sig/modern_treasury/resources/legal_entities.rbs +2 -0
  143. data/sig/modern_treasury/resources/payment_orders.rbs +3 -0
  144. data/sig/modern_treasury/resources/virtual_accounts.rbs +2 -0
  145. metadata +2 -2
@@ -54,24 +54,51 @@ module ModernTreasury
54
54
  }
55
55
 
56
56
  type id_type =
57
- :ar_cuil
57
+ :ad_nrt
58
+ | :ae_eid
59
+ | :ae_trn
60
+ | :ag_tin
61
+ | :ai_tin
62
+ | :al_nid
63
+ | :al_nipt
64
+ | :am_tin
65
+ | :ao_nif
66
+ | :ar_cuil
58
67
  | :ar_cuit
59
68
  | :at_atin
60
69
  | :at_vat
61
70
  | :au_abn
62
71
  | :au_tfn
72
+ | :aw_tin
73
+ | :az_pin
74
+ | :bb_tin
75
+ | :bd_tin
63
76
  | :be_ent
64
77
  | :be_nrn
78
+ | :bf_ifu
79
+ | :bg_egn
80
+ | :bh_cpr
81
+ | :bh_vat
82
+ | :bj_ifu
83
+ | :bo_nit
65
84
  | :br_cnpj
66
85
  | :br_cpf
86
+ | :bs_tin
87
+ | :bt_bin
88
+ | :bw_tin
89
+ | :bz_tin
67
90
  | :ca_bn
68
91
  | :ca_sin
69
92
  | :ch_ahv
70
93
  | :ch_uid
94
+ | :ci_ncc
71
95
  | :cl_run
72
96
  | :cl_rut
97
+ | :cm_niu
73
98
  | :co_cedulas
74
99
  | :co_nit
100
+ | :cr_cpf
101
+ | :cw_crib
75
102
  | :cy_tin
76
103
  | :cz_ico
77
104
  | :cz_rc
@@ -80,21 +107,39 @@ module ModernTreasury
80
107
  | :de_vat
81
108
  | :dk_cpr
82
109
  | :dk_cvr
110
+ | :dm_tin
111
+ | :do_cedula
112
+ | :do_rnc
83
113
  | :drivers_license
114
+ | :ec_ruc
84
115
  | :ee_ik
85
116
  | :ee_rk
86
117
  | :es_nie
87
118
  | :es_nif
88
119
  | :fi_hetu
89
120
  | :fi_ytj
121
+ | :fj_tin
122
+ | :fo_ptal
90
123
  | :fr_nif
91
124
  | :fr_siren
92
125
  | :fr_vat
93
126
  | :gb_nino
94
127
  | :gb_utr
95
128
  | :gb_vat
129
+ | :gd_tin
130
+ | :ge_ic
131
+ | :ge_pn
132
+ | :ge_tin
96
133
  | :generic_international
134
+ | :gg_sin
135
+ | :gh_pin
136
+ | :gh_tin
137
+ | :gi_trn
138
+ | :gl_cpr
139
+ | :gl_ger
140
+ | :gm_tin
97
141
  | :gr_vat
142
+ | :gt_nit
98
143
  | :hk_brn
99
144
  | :hk_hkid
100
145
  | :hn_id
@@ -102,29 +147,64 @@ module ModernTreasury
102
147
  | :hr_oib
103
148
  | :hu_adj
104
149
  | :hu_anum
150
+ | :id_nik
151
+ | :id_npwp
105
152
  | :ie_pps
106
153
  | :ie_trn
154
+ | :il_cn
155
+ | :il_pin
156
+ | :im_trn
107
157
  | :in_lei
108
158
  | :is_knt
109
159
  | :it_cf
110
160
  | :it_piva
161
+ | :je_ssn
162
+ | :je_tin
163
+ | :jm_trn
164
+ | :jo_tin
111
165
  | :jp_hb
112
166
  | :jp_mn
167
+ | :ke_pin
168
+ | :kg_pin
169
+ | :kn_tin
113
170
  | :kr_brn
114
171
  | :kr_crn
115
172
  | :kr_rrn
173
+ | :kw_cid
174
+ | :kz_bin
175
+ | :kz_iin
176
+ | :la_tin
177
+ | :lc_tin
116
178
  | :li_peid
179
+ | :lk_tin
180
+ | :ls_tin
117
181
  | :lt_ak
118
182
  | :lt_jak
119
183
  | :lu_mtc
120
184
  | :lu_vat
121
185
  | :lv_pk
122
186
  | :lv_rn
187
+ | :md_idnp
188
+ | :me_jmbg
189
+ | :me_pib
190
+ | :mg_nif
191
+ | :mh_ssn
192
+ | :mo_bir
193
+ | :mo_tin_b
194
+ | :mo_tin_i
195
+ | :mr_nif
123
196
  | :mt_tin
124
197
  | :mt_vat
198
+ | :mu_tan
199
+ | :mw_tpin
125
200
  | :mx_curp
126
201
  | :mx_ine
127
202
  | :mx_rfc
203
+ | :my_npc
204
+ | :my_nric
205
+ | :my_tin_b
206
+ | :mz_nuit
207
+ | :na_tin
128
208
  | :national_id
129
209
  | :nl_bsn
130
210
  | :nl_btw
@@ -132,13 +212,24 @@ module ModernTreasury
132
212
  | :no_fdn
133
213
  | :no_mva
134
214
  | :no_orgnr
215
+ | :nr_tin
135
216
  | :nz_ird
217
+ | :om_cid
218
+ | :pa_cedula
219
+ | :pa_ruc
136
220
  | :passport
221
+ | :pe_ruc
222
+ | :pg_tin
223
+ | :ph_tin
137
224
  | :pl_nip
138
225
  | :pl_pesel
139
226
  | :pt_nif
227
+ | :py_ruc
228
+ | :qa_qid
229
+ | :qa_tin
140
230
  | :ro_cnp
141
231
  | :ro_cui
232
+ | :rw_tin
142
233
  | :sa_tin
143
234
  | :sa_vat
144
235
  | :se_orgnr
@@ -150,33 +241,78 @@ module ModernTreasury
150
241
  | :si_tin
151
242
  | :sk_ico
152
243
  | :sk_rc
244
+ | :sl_tin
245
+ | :sm_ssi
246
+ | :sz_tin
247
+ | :tg_nif
248
+ | :th_jid
249
+ | :th_pin
250
+ | :tj_inn
251
+ | :to_tin
252
+ | :tr_tckn
253
+ | :tt_bir
254
+ | :tw_nric
255
+ | :tw_ubn
256
+ | :ug_tin
153
257
  | :us_ein
154
258
  | :us_itin
155
259
  | :us_ssn
156
260
  | :uy_rut
261
+ | :uz_inn
262
+ | :uz_pin
157
263
  | :vn_tin
264
+ | :za_trn
265
+ | :za_vat
266
+ | :zm_tpin
158
267
 
159
268
  module IDType
160
269
  extend ModernTreasury::Internal::Type::Enum
161
270
 
271
+ AD_NRT: :ad_nrt
272
+ AE_EID: :ae_eid
273
+ AE_TRN: :ae_trn
274
+ AG_TIN: :ag_tin
275
+ AI_TIN: :ai_tin
276
+ AL_NID: :al_nid
277
+ AL_NIPT: :al_nipt
278
+ AM_TIN: :am_tin
279
+ AO_NIF: :ao_nif
162
280
  AR_CUIL: :ar_cuil
163
281
  AR_CUIT: :ar_cuit
164
282
  AT_ATIN: :at_atin
165
283
  AT_VAT: :at_vat
166
284
  AU_ABN: :au_abn
167
285
  AU_TFN: :au_tfn
286
+ AW_TIN: :aw_tin
287
+ AZ_PIN: :az_pin
288
+ BB_TIN: :bb_tin
289
+ BD_TIN: :bd_tin
168
290
  BE_ENT: :be_ent
169
291
  BE_NRN: :be_nrn
292
+ BF_IFU: :bf_ifu
293
+ BG_EGN: :bg_egn
294
+ BH_CPR: :bh_cpr
295
+ BH_VAT: :bh_vat
296
+ BJ_IFU: :bj_ifu
297
+ BO_NIT: :bo_nit
170
298
  BR_CNPJ: :br_cnpj
171
299
  BR_CPF: :br_cpf
300
+ BS_TIN: :bs_tin
301
+ BT_BIN: :bt_bin
302
+ BW_TIN: :bw_tin
303
+ BZ_TIN: :bz_tin
172
304
  CA_BN: :ca_bn
173
305
  CA_SIN: :ca_sin
174
306
  CH_AHV: :ch_ahv
175
307
  CH_UID: :ch_uid
308
+ CI_NCC: :ci_ncc
176
309
  CL_RUN: :cl_run
177
310
  CL_RUT: :cl_rut
311
+ CM_NIU: :cm_niu
178
312
  CO_CEDULAS: :co_cedulas
179
313
  CO_NIT: :co_nit
314
+ CR_CPF: :cr_cpf
315
+ CW_CRIB: :cw_crib
180
316
  CY_TIN: :cy_tin
181
317
  CZ_ICO: :cz_ico
182
318
  CZ_RC: :cz_rc
@@ -185,21 +321,39 @@ module ModernTreasury
185
321
  DE_VAT: :de_vat
186
322
  DK_CPR: :dk_cpr
187
323
  DK_CVR: :dk_cvr
324
+ DM_TIN: :dm_tin
325
+ DO_CEDULA: :do_cedula
326
+ DO_RNC: :do_rnc
188
327
  DRIVERS_LICENSE: :drivers_license
328
+ EC_RUC: :ec_ruc
189
329
  EE_IK: :ee_ik
190
330
  EE_RK: :ee_rk
191
331
  ES_NIE: :es_nie
192
332
  ES_NIF: :es_nif
193
333
  FI_HETU: :fi_hetu
194
334
  FI_YTJ: :fi_ytj
335
+ FJ_TIN: :fj_tin
336
+ FO_PTAL: :fo_ptal
195
337
  FR_NIF: :fr_nif
196
338
  FR_SIREN: :fr_siren
197
339
  FR_VAT: :fr_vat
198
340
  GB_NINO: :gb_nino
199
341
  GB_UTR: :gb_utr
200
342
  GB_VAT: :gb_vat
343
+ GD_TIN: :gd_tin
344
+ GE_IC: :ge_ic
345
+ GE_PN: :ge_pn
346
+ GE_TIN: :ge_tin
201
347
  GENERIC_INTERNATIONAL: :generic_international
348
+ GG_SIN: :gg_sin
349
+ GH_PIN: :gh_pin
350
+ GH_TIN: :gh_tin
351
+ GI_TRN: :gi_trn
352
+ GL_CPR: :gl_cpr
353
+ GL_GER: :gl_ger
354
+ GM_TIN: :gm_tin
202
355
  GR_VAT: :gr_vat
356
+ GT_NIT: :gt_nit
203
357
  HK_BRN: :hk_brn
204
358
  HK_HKID: :hk_hkid
205
359
  HN_ID: :hn_id
@@ -207,29 +361,64 @@ module ModernTreasury
207
361
  HR_OIB: :hr_oib
208
362
  HU_ADJ: :hu_adj
209
363
  HU_ANUM: :hu_anum
364
+ ID_NIK: :id_nik
365
+ ID_NPWP: :id_npwp
210
366
  IE_PPS: :ie_pps
211
367
  IE_TRN: :ie_trn
368
+ IL_CN: :il_cn
369
+ IL_PIN: :il_pin
370
+ IM_TRN: :im_trn
212
371
  IN_LEI: :in_lei
213
372
  IS_KNT: :is_knt
214
373
  IT_CF: :it_cf
215
374
  IT_PIVA: :it_piva
375
+ JE_SSN: :je_ssn
376
+ JE_TIN: :je_tin
377
+ JM_TRN: :jm_trn
378
+ JO_TIN: :jo_tin
216
379
  JP_HB: :jp_hb
217
380
  JP_MN: :jp_mn
381
+ KE_PIN: :ke_pin
382
+ KG_PIN: :kg_pin
383
+ KN_TIN: :kn_tin
218
384
  KR_BRN: :kr_brn
219
385
  KR_CRN: :kr_crn
220
386
  KR_RRN: :kr_rrn
387
+ KW_CID: :kw_cid
388
+ KZ_BIN: :kz_bin
389
+ KZ_IIN: :kz_iin
390
+ LA_TIN: :la_tin
391
+ LC_TIN: :lc_tin
221
392
  LI_PEID: :li_peid
393
+ LK_TIN: :lk_tin
394
+ LS_TIN: :ls_tin
222
395
  LT_AK: :lt_ak
223
396
  LT_JAK: :lt_jak
224
397
  LU_MTC: :lu_mtc
225
398
  LU_VAT: :lu_vat
226
399
  LV_PK: :lv_pk
227
400
  LV_RN: :lv_rn
401
+ MD_IDNP: :md_idnp
402
+ ME_JMBG: :me_jmbg
403
+ ME_PIB: :me_pib
404
+ MG_NIF: :mg_nif
405
+ MH_SSN: :mh_ssn
406
+ MO_BIR: :mo_bir
407
+ MO_TIN_B: :mo_tin_b
408
+ MO_TIN_I: :mo_tin_i
409
+ MR_NIF: :mr_nif
228
410
  MT_TIN: :mt_tin
229
411
  MT_VAT: :mt_vat
412
+ MU_TAN: :mu_tan
413
+ MW_TPIN: :mw_tpin
230
414
  MX_CURP: :mx_curp
231
415
  MX_INE: :mx_ine
232
416
  MX_RFC: :mx_rfc
417
+ MY_NPC: :my_npc
418
+ MY_NRIC: :my_nric
419
+ MY_TIN_B: :my_tin_b
420
+ MZ_NUIT: :mz_nuit
421
+ NA_TIN: :na_tin
233
422
  NATIONAL_ID: :national_id
234
423
  NL_BSN: :nl_bsn
235
424
  NL_BTW: :nl_btw
@@ -237,13 +426,24 @@ module ModernTreasury
237
426
  NO_FDN: :no_fdn
238
427
  NO_MVA: :no_mva
239
428
  NO_ORGNR: :no_orgnr
429
+ NR_TIN: :nr_tin
240
430
  NZ_IRD: :nz_ird
431
+ OM_CID: :om_cid
432
+ PA_CEDULA: :pa_cedula
433
+ PA_RUC: :pa_ruc
241
434
  PASSPORT: :passport
435
+ PE_RUC: :pe_ruc
436
+ PG_TIN: :pg_tin
437
+ PH_TIN: :ph_tin
242
438
  PL_NIP: :pl_nip
243
439
  PL_PESEL: :pl_pesel
244
440
  PT_NIF: :pt_nif
441
+ PY_RUC: :py_ruc
442
+ QA_QID: :qa_qid
443
+ QA_TIN: :qa_tin
245
444
  RO_CNP: :ro_cnp
246
445
  RO_CUI: :ro_cui
446
+ RW_TIN: :rw_tin
247
447
  SA_TIN: :sa_tin
248
448
  SA_VAT: :sa_vat
249
449
  SE_ORGNR: :se_orgnr
@@ -255,11 +455,29 @@ module ModernTreasury
255
455
  SI_TIN: :si_tin
256
456
  SK_ICO: :sk_ico
257
457
  SK_RC: :sk_rc
458
+ SL_TIN: :sl_tin
459
+ SM_SSI: :sm_ssi
460
+ SZ_TIN: :sz_tin
461
+ TG_NIF: :tg_nif
462
+ TH_JID: :th_jid
463
+ TH_PIN: :th_pin
464
+ TJ_INN: :tj_inn
465
+ TO_TIN: :to_tin
466
+ TR_TCKN: :tr_tckn
467
+ TT_BIR: :tt_bir
468
+ TW_NRIC: :tw_nric
469
+ TW_UBN: :tw_ubn
470
+ UG_TIN: :ug_tin
258
471
  US_EIN: :us_ein
259
472
  US_ITIN: :us_itin
260
473
  US_SSN: :us_ssn
261
474
  UY_RUT: :uy_rut
475
+ UZ_INN: :uz_inn
476
+ UZ_PIN: :uz_pin
262
477
  VN_TIN: :vn_tin
478
+ ZA_TRN: :za_trn
479
+ ZA_VAT: :za_vat
480
+ ZM_TPIN: :zm_tpin
263
481
 
264
482
  def self?.values: -> ::Array[ModernTreasury::Models::IdentificationUpdateParams::id_type]
265
483
  end
@@ -172,7 +172,9 @@ module ModernTreasury
172
172
  }
173
173
 
174
174
  type originating_account_number_type =
175
- :au_number
175
+ :arbitrum_address
176
+ | :au_number
177
+ | :avalanche_address
176
178
  | :base_address
177
179
  | :card_token
178
180
  | :clabe
@@ -186,12 +188,13 @@ module ModernTreasury
186
188
  | :polygon_address
187
189
  | :sg_number
188
190
  | :solana_address
189
- | :wallet_address
190
191
 
191
192
  module OriginatingAccountNumberType
192
193
  extend ModernTreasury::Internal::Type::Enum
193
194
 
195
+ ARBITRUM_ADDRESS: :arbitrum_address
194
196
  AU_NUMBER: :au_number
197
+ AVALANCHE_ADDRESS: :avalanche_address
195
198
  BASE_ADDRESS: :base_address
196
199
  CARD_TOKEN: :card_token
197
200
  CLABE: :clabe
@@ -205,7 +208,6 @@ module ModernTreasury
205
208
  POLYGON_ADDRESS: :polygon_address
206
209
  SG_NUMBER: :sg_number
207
210
  SOLANA_ADDRESS: :solana_address
208
- WALLET_ADDRESS: :wallet_address
209
211
 
210
212
  def self?.values: -> ::Array[ModernTreasury::Models::IncomingPaymentDetail::originating_account_number_type]
211
213
  end
@@ -7,7 +7,7 @@ module ModernTreasury
7
7
  currency: ModernTreasury::Models::currency?,
8
8
  data: top?,
9
9
  description: String?,
10
- direction: ModernTreasury::Models::IncomingPaymentDetailCreateAsyncParams::direction,
10
+ direction: ModernTreasury::Models::transaction_direction,
11
11
  internal_account_id: String,
12
12
  subtype: String?,
13
13
  type: ModernTreasury::Models::IncomingPaymentDetailCreateAsyncParams::type_,
@@ -31,11 +31,11 @@ module ModernTreasury
31
31
 
32
32
  attr_accessor description: String?
33
33
 
34
- attr_reader direction: ModernTreasury::Models::IncomingPaymentDetailCreateAsyncParams::direction?
34
+ attr_reader direction: ModernTreasury::Models::transaction_direction?
35
35
 
36
36
  def direction=: (
37
- ModernTreasury::Models::IncomingPaymentDetailCreateAsyncParams::direction
38
- ) -> ModernTreasury::Models::IncomingPaymentDetailCreateAsyncParams::direction
37
+ ModernTreasury::Models::transaction_direction
38
+ ) -> ModernTreasury::Models::transaction_direction
39
39
 
40
40
  attr_reader internal_account_id: String?
41
41
 
@@ -57,7 +57,7 @@ module ModernTreasury
57
57
  ?currency: ModernTreasury::Models::currency?,
58
58
  ?data: top?,
59
59
  ?description: String?,
60
- ?direction: ModernTreasury::Models::IncomingPaymentDetailCreateAsyncParams::direction,
60
+ ?direction: ModernTreasury::Models::transaction_direction,
61
61
  ?internal_account_id: String,
62
62
  ?subtype: String?,
63
63
  ?type: ModernTreasury::Models::IncomingPaymentDetailCreateAsyncParams::type_,
@@ -71,7 +71,7 @@ module ModernTreasury
71
71
  currency: ModernTreasury::Models::currency?,
72
72
  data: top?,
73
73
  description: String?,
74
- direction: ModernTreasury::Models::IncomingPaymentDetailCreateAsyncParams::direction,
74
+ direction: ModernTreasury::Models::transaction_direction,
75
75
  internal_account_id: String,
76
76
  subtype: String?,
77
77
  type: ModernTreasury::Models::IncomingPaymentDetailCreateAsyncParams::type_,
@@ -79,17 +79,6 @@ module ModernTreasury
79
79
  request_options: ModernTreasury::RequestOptions
80
80
  }
81
81
 
82
- type direction = :credit | :debit
83
-
84
- module Direction
85
- extend ModernTreasury::Internal::Type::Enum
86
-
87
- CREDIT: :credit
88
- DEBIT: :debit
89
-
90
- def self?.values: -> ::Array[ModernTreasury::Models::IncomingPaymentDetailCreateAsyncParams::direction]
91
- end
92
-
93
82
  type type_ =
94
83
  :ach
95
84
  | :au_becs
@@ -25,6 +25,7 @@ module ModernTreasury
25
25
  party_type: ModernTreasury::Models::InternalAccount::party_type?,
26
26
  routing_details: ::Array[ModernTreasury::RoutingDetail],
27
27
  status: ModernTreasury::Models::InternalAccount::status?,
28
+ title: String?,
28
29
  updated_at: Time,
29
30
  vendor_id: String?
30
31
  }
@@ -76,6 +77,8 @@ module ModernTreasury
76
77
 
77
78
  attr_accessor status: ModernTreasury::Models::InternalAccount::status?
78
79
 
80
+ attr_accessor title: String?
81
+
79
82
  attr_accessor updated_at: Time
80
83
 
81
84
  attr_accessor vendor_id: String?
@@ -104,6 +107,7 @@ module ModernTreasury
104
107
  party_type: ModernTreasury::Models::InternalAccount::party_type?,
105
108
  routing_details: ::Array[ModernTreasury::RoutingDetail],
106
109
  status: ModernTreasury::Models::InternalAccount::status?,
110
+ title: String?,
107
111
  updated_at: Time,
108
112
  vendor_id: String?
109
113
  ) -> void
@@ -132,6 +136,7 @@ module ModernTreasury
132
136
  party_type: ModernTreasury::Models::InternalAccount::party_type?,
133
137
  routing_details: ::Array[ModernTreasury::RoutingDetail],
134
138
  status: ModernTreasury::Models::InternalAccount::status?,
139
+ title: String?,
135
140
  updated_at: Time,
136
141
  vendor_id: String?
137
142
  }
@@ -16,6 +16,7 @@ module ModernTreasury
16
16
  party_address: ModernTreasury::InternalAccountCreateParams::PartyAddress,
17
17
  party_name: String?,
18
18
  requested_account_number_types: ::Array[ModernTreasury::Models::InternalAccountCreateParams::requested_account_number_type],
19
+ title: String?,
19
20
  vendor_attributes: ::Hash[Symbol, String]
20
21
  }
21
22
  & ModernTreasury::Internal::Type::request_parameters
@@ -78,6 +79,8 @@ module ModernTreasury
78
79
  ::Array[ModernTreasury::Models::InternalAccountCreateParams::requested_account_number_type]
79
80
  ) -> ::Array[ModernTreasury::Models::InternalAccountCreateParams::requested_account_number_type]
80
81
 
82
+ attr_accessor title: String?
83
+
81
84
  attr_reader vendor_attributes: ::Hash[Symbol, String]?
82
85
 
83
86
  def vendor_attributes=: (::Hash[Symbol, String]) -> ::Hash[Symbol, String]
@@ -97,6 +100,7 @@ module ModernTreasury
97
100
  ?party_address: ModernTreasury::InternalAccountCreateParams::PartyAddress,
98
101
  ?party_name: String?,
99
102
  ?requested_account_number_types: ::Array[ModernTreasury::Models::InternalAccountCreateParams::requested_account_number_type],
103
+ ?title: String?,
100
104
  ?vendor_attributes: ::Hash[Symbol, String],
101
105
  ?request_options: ModernTreasury::request_opts
102
106
  ) -> void
@@ -116,6 +120,7 @@ module ModernTreasury
116
120
  party_address: ModernTreasury::InternalAccountCreateParams::PartyAddress,
117
121
  party_name: String?,
118
122
  requested_account_number_types: ::Array[ModernTreasury::Models::InternalAccountCreateParams::requested_account_number_type],
123
+ title: String?,
119
124
  vendor_attributes: ::Hash[Symbol, String],
120
125
  request_options: ModernTreasury::RequestOptions
121
126
  }
@@ -331,11 +336,18 @@ module ModernTreasury
331
336
  end
332
337
 
333
338
  type requested_account_number_type =
334
- :base_address | :ethereum_address | :polygon_address | :solana_address
339
+ :arbitrum_address
340
+ | :avalanche_address
341
+ | :base_address
342
+ | :ethereum_address
343
+ | :polygon_address
344
+ | :solana_address
335
345
 
336
346
  module RequestedAccountNumberType
337
347
  extend ModernTreasury::Internal::Type::Enum
338
348
 
349
+ ARBITRUM_ADDRESS: :arbitrum_address
350
+ AVALANCHE_ADDRESS: :avalanche_address
339
351
  BASE_ADDRESS: :base_address
340
352
  ETHEREUM_ADDRESS: :ethereum_address
341
353
  POLYGON_ADDRESS: :polygon_address
@@ -129,12 +129,11 @@ module ModernTreasury
129
129
  end
130
130
 
131
131
  type ledgerable_type =
132
- :counterparty | :external_account | :internal_account | :virtual_account
132
+ :external_account | :internal_account | :virtual_account
133
133
 
134
134
  module LedgerableType
135
135
  extend ModernTreasury::Internal::Type::Enum
136
136
 
137
- COUNTERPARTY: :counterparty
138
137
  EXTERNAL_ACCOUNT: :external_account
139
138
  INTERNAL_ACCOUNT: :internal_account
140
139
  VIRTUAL_ACCOUNT: :virtual_account
@@ -77,12 +77,11 @@ module ModernTreasury
77
77
  }
78
78
 
79
79
  type ledgerable_type =
80
- :counterparty | :external_account | :internal_account | :virtual_account
80
+ :external_account | :internal_account | :virtual_account
81
81
 
82
82
  module LedgerableType
83
83
  extend ModernTreasury::Internal::Type::Enum
84
84
 
85
- COUNTERPARTY: :counterparty
86
85
  EXTERNAL_ACCOUNT: :external_account
87
86
  INTERNAL_ACCOUNT: :internal_account
88
87
  VIRTUAL_ACCOUNT: :virtual_account
@@ -452,13 +452,14 @@ module ModernTreasury
452
452
  def self?.values: -> ::Array[ModernTreasury::Models::LegalEntity::risk_rating]
453
453
  end
454
454
 
455
- type status = :active | :denied | :pending | :suspended
455
+ type status = :active | :denied | :draft | :pending | :suspended
456
456
 
457
457
  module Status
458
458
  extend ModernTreasury::Internal::Type::Enum
459
459
 
460
460
  ACTIVE: :active
461
461
  DENIED: :denied
462
+ DRAFT: :draft
462
463
  PENDING: :pending
463
464
  SUSPENDED: :suspended
464
465
 
@@ -5,11 +5,11 @@ module ModernTreasury
5
5
  country: String?,
6
6
  :line1 => String?,
7
7
  locality: String?,
8
- postal_code: String?,
9
- region: String?,
10
8
  address_types: ::Array[ModernTreasury::Models::LegalEntityAddressCreateRequest::address_type],
11
9
  :line2 => String?,
12
- primary: bool?
10
+ postal_code: String?,
11
+ primary: bool?,
12
+ region: String?
13
13
  }
14
14
 
15
15
  class LegalEntityAddressCreateRequest < ModernTreasury::Internal::Type::BaseModel
@@ -19,10 +19,6 @@ module ModernTreasury
19
19
 
20
20
  attr_accessor locality: String?
21
21
 
22
- attr_accessor postal_code: String?
23
-
24
- attr_accessor region: String?
25
-
26
22
  attr_reader address_types: ::Array[ModernTreasury::Models::LegalEntityAddressCreateRequest::address_type]?
27
23
 
28
24
  def address_types=: (
@@ -31,28 +27,32 @@ module ModernTreasury
31
27
 
32
28
  attr_accessor line2: String?
33
29
 
30
+ attr_accessor postal_code: String?
31
+
34
32
  attr_accessor primary: bool?
35
33
 
34
+ attr_accessor region: String?
35
+
36
36
  def initialize: (
37
37
  country: String?,
38
38
  line1: String?,
39
39
  locality: String?,
40
- postal_code: String?,
41
- region: String?,
42
40
  ?address_types: ::Array[ModernTreasury::Models::LegalEntityAddressCreateRequest::address_type],
43
41
  ?line2: String?,
44
- ?primary: bool?
42
+ ?postal_code: String?,
43
+ ?primary: bool?,
44
+ ?region: String?
45
45
  ) -> void
46
46
 
47
47
  def to_hash: -> {
48
48
  country: String?,
49
49
  :line1 => String?,
50
50
  locality: String?,
51
- postal_code: String?,
52
- region: String?,
53
51
  address_types: ::Array[ModernTreasury::Models::LegalEntityAddressCreateRequest::address_type],
54
52
  :line2 => String?,
55
- primary: bool?
53
+ postal_code: String?,
54
+ primary: bool?,
55
+ region: String?
56
56
  }
57
57
 
58
58
  type address_type =