modern_treasury 0.31.0 → 0.33.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +54 -0
- data/README.md +1 -1
- data/lib/modern_treasury/client.rb +4 -0
- data/lib/modern_treasury/models/account_collection_flow.rb +2 -0
- data/lib/modern_treasury/models/account_detail.rb +1 -1
- data/lib/modern_treasury/models/account_detail_create_params.rb +1 -1
- data/lib/modern_treasury/models/bulk_request_create_params.rb +52 -11
- data/lib/modern_treasury/models/case_.rb +4 -2
- data/lib/modern_treasury/models/child_legal_entity.rb +8 -5
- data/lib/modern_treasury/models/child_legal_entity_create.rb +4 -0
- data/lib/modern_treasury/models/connection_legal_entity_create_params.rb +4 -0
- data/lib/modern_treasury/models/counterparty_collect_account_params.rb +0 -1
- data/lib/modern_treasury/models/counterparty_create_params.rb +30 -66
- data/lib/modern_treasury/models/currency.rb +1 -0
- data/lib/modern_treasury/models/embeddable_flow.rb +298 -0
- data/lib/modern_treasury/models/embeddable_flow_create_params.rb +219 -0
- data/lib/modern_treasury/models/embeddable_flow_list_params.rb +49 -0
- data/lib/modern_treasury/models/{hold_retrieve_params.rb → embeddable_flow_retrieve_params.rb} +2 -2
- data/lib/modern_treasury/models/embeddable_flow_update_params.rb +44 -0
- data/lib/modern_treasury/models/expected_payment.rb +3 -4
- data/lib/modern_treasury/models/expected_payment_create_params.rb +2 -3
- data/lib/modern_treasury/models/expected_payment_update_params.rb +2 -3
- data/lib/modern_treasury/models/external_account_create_params.rb +2 -1
- data/lib/modern_treasury/models/external_account_type.rb +2 -5
- data/lib/modern_treasury/models/external_account_update_params.rb +2 -2
- data/lib/modern_treasury/models/identification.rb +128 -0
- data/lib/modern_treasury/models/identification_create_params.rb +130 -0
- data/lib/modern_treasury/models/identification_create_request.rb +130 -0
- data/lib/modern_treasury/models/identification_update_params.rb +128 -0
- data/lib/modern_treasury/models/incoming_payment_detail.rb +15 -4
- data/lib/modern_treasury/models/incoming_payment_detail_create_async_params.rb +14 -11
- data/lib/modern_treasury/models/incoming_payment_detail_list_params.rb +4 -2
- data/lib/modern_treasury/models/internal_account.rb +190 -9
- data/lib/modern_treasury/models/internal_account_create_params.rb +45 -6
- data/lib/modern_treasury/models/internal_account_update_params.rb +35 -3
- data/lib/modern_treasury/models/internal_accounts/balance_report.rb +12 -4
- data/lib/modern_treasury/models/internal_accounts/balance_report_create_params.rb +12 -4
- data/lib/modern_treasury/models/ledger_account.rb +0 -1
- data/lib/modern_treasury/models/ledger_account_create_request.rb +0 -1
- data/lib/modern_treasury/models/legal_entity.rb +8 -5
- data/lib/modern_treasury/models/legal_entity_address_create_request.rb +18 -18
- data/lib/modern_treasury/models/legal_entity_create_params.rb +25 -1
- data/lib/modern_treasury/models/legal_entity_list_params.rb +1 -0
- data/lib/modern_treasury/models/legal_entity_update_params.rb +25 -1
- data/lib/modern_treasury/models/payment_action_list_params.rb +1 -0
- data/lib/modern_treasury/models/payment_order.rb +18 -2
- data/lib/modern_treasury/models/payment_order_create_async_params.rb +24 -2
- data/lib/modern_treasury/models/payment_order_create_params.rb +32 -3
- data/lib/modern_treasury/models/payment_order_subtype.rb +2 -0
- data/lib/modern_treasury/models/payment_order_update_params.rb +24 -2
- data/lib/modern_treasury/models/payment_reference.rb +7 -1
- data/lib/modern_treasury/models/return_object.rb +7 -1
- data/lib/modern_treasury/models/routing_detail.rb +1 -0
- data/lib/modern_treasury/models/routing_detail_create_params.rb +1 -0
- data/lib/modern_treasury/models/routing_number_lookup_request.rb +1 -0
- data/lib/modern_treasury/models/third_party_verification.rb +2 -0
- data/lib/modern_treasury/models/transaction_list_params.rb +1 -8
- data/lib/modern_treasury/models/transactions/transaction_line_item.rb +4 -4
- data/lib/modern_treasury/models/validation_validate_routing_number_params.rb +1 -0
- data/lib/modern_treasury/models/virtual_account.rb +9 -1
- data/lib/modern_treasury/models/virtual_account_create_params.rb +12 -2
- data/lib/modern_treasury/models/virtual_account_update_params.rb +14 -1
- data/lib/modern_treasury/models.rb +10 -10
- data/lib/modern_treasury/resources/account_collection_flows.rb +2 -0
- data/lib/modern_treasury/resources/counterparties.rb +1 -5
- data/lib/modern_treasury/resources/embeddable_flows.rb +111 -0
- data/lib/modern_treasury/resources/expected_payments.rb +2 -2
- data/lib/modern_treasury/resources/external_accounts.rb +1 -1
- data/lib/modern_treasury/resources/holds.rb +0 -113
- data/lib/modern_treasury/resources/incoming_payment_details.rb +4 -4
- data/lib/modern_treasury/resources/internal_accounts.rb +13 -23
- data/lib/modern_treasury/resources/legal_entities.rb +6 -2
- data/lib/modern_treasury/resources/payment_flows.rb +2 -0
- data/lib/modern_treasury/resources/payment_orders.rb +15 -3
- data/lib/modern_treasury/resources/transactions.rb +1 -3
- data/lib/modern_treasury/resources/virtual_accounts.rb +9 -2
- data/lib/modern_treasury/version.rb +1 -1
- data/lib/modern_treasury.rb +6 -9
- data/rbi/modern_treasury/client.rbi +3 -0
- data/rbi/modern_treasury/models/account_collection_flow.rbi +10 -0
- data/rbi/modern_treasury/models/account_detail.rbi +5 -5
- data/rbi/modern_treasury/models/account_detail_create_params.rbi +5 -5
- data/rbi/modern_treasury/models/bulk_request_create_params.rbi +94 -21
- data/rbi/modern_treasury/models/case_.rbi +20 -10
- data/rbi/modern_treasury/models/child_legal_entity.rbi +18 -6
- data/rbi/modern_treasury/models/child_legal_entity_create.rbi +20 -0
- data/rbi/modern_treasury/models/connection_legal_entity_create_params.rbi +20 -0
- data/rbi/modern_treasury/models/counterparty_collect_account_params.rbi +0 -5
- data/rbi/modern_treasury/models/counterparty_create_params.rbi +87 -170
- data/rbi/modern_treasury/models/currency.rbi +1 -0
- data/rbi/modern_treasury/models/embeddable_flow.rbi +512 -0
- data/rbi/modern_treasury/models/embeddable_flow_create_params.rbi +531 -0
- data/rbi/modern_treasury/models/embeddable_flow_list_params.rbi +119 -0
- data/rbi/modern_treasury/models/{hold_retrieve_params.rbi → embeddable_flow_retrieve_params.rbi} +2 -2
- data/rbi/modern_treasury/models/{hold_update_params.rbi → embeddable_flow_update_params.rbi} +21 -21
- data/rbi/modern_treasury/models/expected_payment.rbi +3 -3
- data/rbi/modern_treasury/models/expected_payment_create_params.rbi +11 -3
- data/rbi/modern_treasury/models/expected_payment_update_params.rbi +11 -3
- data/rbi/modern_treasury/models/external_account_create_params.rbi +10 -5
- data/rbi/modern_treasury/models/external_account_type.rbi +6 -15
- data/rbi/modern_treasury/models/external_account_update_params.rbi +7 -3
- data/rbi/modern_treasury/models/identification.rbi +265 -0
- data/rbi/modern_treasury/models/identification_create_params.rbi +650 -0
- data/rbi/modern_treasury/models/identification_create_request.rbi +650 -0
- data/rbi/modern_treasury/models/identification_update_params.rbi +640 -0
- data/rbi/modern_treasury/models/incoming_payment_detail.rbi +31 -8
- data/rbi/modern_treasury/models/incoming_payment_detail_create_async_params.rbi +24 -28
- data/rbi/modern_treasury/models/incoming_payment_detail_list_params.rbi +13 -3
- data/rbi/modern_treasury/models/internal_account.rbi +313 -27
- data/rbi/modern_treasury/models/internal_account_create_params.rbi +91 -25
- data/rbi/modern_treasury/models/internal_account_update_params.rbi +79 -3
- data/rbi/modern_treasury/models/internal_accounts/balance_report.rbi +32 -6
- data/rbi/modern_treasury/models/internal_accounts/balance_report_create_params.rbi +32 -6
- data/rbi/modern_treasury/models/ledger_account.rbi +0 -5
- data/rbi/modern_treasury/models/ledger_account_create_request.rbi +0 -5
- data/rbi/modern_treasury/models/legal_entity.rbi +17 -6
- data/rbi/modern_treasury/models/legal_entity_address_create_request.rbi +21 -21
- data/rbi/modern_treasury/models/legal_entity_create_params.rbi +69 -0
- data/rbi/modern_treasury/models/legal_entity_list_params.rbi +5 -0
- data/rbi/modern_treasury/models/legal_entity_update_params.rbi +62 -0
- data/rbi/modern_treasury/models/payment_action_list_params.rbi +5 -0
- data/rbi/modern_treasury/models/payment_order.rbi +47 -5
- data/rbi/modern_treasury/models/payment_order_create_async_params.rbi +36 -5
- data/rbi/modern_treasury/models/payment_order_create_params.rbi +42 -5
- data/rbi/modern_treasury/models/payment_order_subtype.rbi +7 -0
- data/rbi/modern_treasury/models/payment_order_update_params.rbi +36 -5
- data/rbi/modern_treasury/models/payment_reference.rbi +35 -5
- data/rbi/modern_treasury/models/return_object.rbi +35 -5
- data/rbi/modern_treasury/models/routing_detail.rbi +5 -0
- data/rbi/modern_treasury/models/routing_detail_create_params.rbi +5 -0
- data/rbi/modern_treasury/models/routing_number_lookup_request.rbi +5 -0
- data/rbi/modern_treasury/models/third_party_verification.rbi +10 -0
- data/rbi/modern_treasury/models/transaction_list_params.rbi +0 -9
- data/rbi/modern_treasury/models/transactions/transaction_line_item.rbi +5 -5
- data/rbi/modern_treasury/models/validation_validate_routing_number_params.rbi +5 -0
- data/rbi/modern_treasury/models/virtual_account.rbi +13 -0
- data/rbi/modern_treasury/models/virtual_account_create_params.rbi +23 -5
- data/rbi/modern_treasury/models/virtual_account_update_params.rbi +19 -0
- data/rbi/modern_treasury/models.rbi +13 -11
- data/rbi/modern_treasury/resources/counterparties.rbi +0 -8
- data/rbi/modern_treasury/resources/embeddable_flows.rbi +88 -0
- data/rbi/modern_treasury/resources/expected_payments.rbi +2 -2
- data/rbi/modern_treasury/resources/external_accounts.rbi +1 -1
- data/rbi/modern_treasury/resources/holds.rbi +0 -94
- data/rbi/modern_treasury/resources/incoming_payment_details.rbi +10 -7
- data/rbi/modern_treasury/resources/internal_accounts.rbi +33 -15
- data/rbi/modern_treasury/resources/legal_entities.rbi +9 -0
- data/rbi/modern_treasury/resources/payment_orders.rbi +33 -0
- data/rbi/modern_treasury/resources/transactions.rbi +0 -2
- data/rbi/modern_treasury/resources/virtual_accounts.rbi +9 -0
- data/sig/modern_treasury/client.rbs +2 -0
- data/sig/modern_treasury/models/account_collection_flow.rbs +3 -1
- data/sig/modern_treasury/models/account_detail.rbs +2 -2
- data/sig/modern_treasury/models/account_detail_create_params.rbs +2 -2
- data/sig/modern_treasury/models/bulk_request_create_params.rbs +44 -14
- data/sig/modern_treasury/models/case_.rbs +10 -6
- data/sig/modern_treasury/models/child_legal_entity.rbs +6 -1
- data/sig/modern_treasury/models/child_legal_entity_create.rbs +9 -1
- data/sig/modern_treasury/models/connection_legal_entity_create_params.rbs +9 -1
- data/sig/modern_treasury/models/counterparty_collect_account_params.rbs +0 -2
- data/sig/modern_treasury/models/counterparty_create_params.rbs +32 -64
- data/sig/modern_treasury/models/currency.rbs +2 -0
- data/sig/modern_treasury/models/embeddable_flow.rbs +270 -0
- data/sig/modern_treasury/models/embeddable_flow_create_params.rbs +219 -0
- data/sig/modern_treasury/models/embeddable_flow_list_params.rbs +61 -0
- data/sig/modern_treasury/models/{hold_retrieve_params.rbs → embeddable_flow_retrieve_params.rbs} +2 -2
- data/sig/modern_treasury/models/embeddable_flow_update_params.rbs +41 -0
- data/sig/modern_treasury/models/expected_payment.rbs +4 -4
- data/sig/modern_treasury/models/expected_payment_create_params.rbs +8 -4
- data/sig/modern_treasury/models/expected_payment_update_params.rbs +8 -4
- data/sig/modern_treasury/models/external_account_create_params.rbs +4 -2
- data/sig/modern_treasury/models/external_account_type.rbs +5 -11
- data/sig/modern_treasury/models/external_account_update_params.rbs +4 -8
- data/sig/modern_treasury/models/identification.rbs +257 -1
- data/sig/modern_treasury/models/identification_create_params.rbs +262 -2
- data/sig/modern_treasury/models/identification_create_request.rbs +262 -2
- data/sig/modern_treasury/models/identification_update_params.rbs +257 -1
- data/sig/modern_treasury/models/incoming_payment_detail.rbs +12 -3
- data/sig/modern_treasury/models/incoming_payment_detail_create_async_params.rbs +5 -9
- data/sig/modern_treasury/models/incoming_payment_detail_list_params.rbs +3 -1
- data/sig/modern_treasury/models/internal_account.rbs +144 -14
- data/sig/modern_treasury/models/internal_account_create_params.rbs +29 -11
- data/sig/modern_treasury/models/internal_account_update_params.rbs +24 -7
- data/sig/modern_treasury/models/internal_accounts/balance_report.rbs +8 -0
- data/sig/modern_treasury/models/internal_accounts/balance_report_create_params.rbs +8 -0
- data/sig/modern_treasury/models/ledger_account.rbs +1 -2
- data/sig/modern_treasury/models/ledger_account_create_request.rbs +1 -2
- data/sig/modern_treasury/models/legal_entity.rbs +6 -1
- data/sig/modern_treasury/models/legal_entity_address_create_request.rbs +13 -13
- data/sig/modern_treasury/models/legal_entity_create_params.rbs +28 -1
- data/sig/modern_treasury/models/legal_entity_list_params.rbs +2 -1
- data/sig/modern_treasury/models/legal_entity_update_params.rbs +23 -0
- data/sig/modern_treasury/models/payment_action_list_params.rbs +2 -1
- data/sig/modern_treasury/models/payment_order.rbs +19 -2
- data/sig/modern_treasury/models/payment_order_create_async_params.rbs +14 -2
- data/sig/modern_treasury/models/payment_order_create_params.rbs +19 -2
- data/sig/modern_treasury/models/payment_order_subtype.rbs +4 -0
- data/sig/modern_treasury/models/payment_order_update_params.rbs +14 -2
- data/sig/modern_treasury/models/payment_reference.rbs +14 -2
- data/sig/modern_treasury/models/return_object.rbs +14 -2
- data/sig/modern_treasury/models/routing_detail.rbs +2 -0
- data/sig/modern_treasury/models/routing_detail_create_params.rbs +2 -0
- data/sig/modern_treasury/models/routing_number_lookup_request.rbs +2 -0
- data/sig/modern_treasury/models/third_party_verification.rbs +11 -1
- data/sig/modern_treasury/models/transaction_list_params.rbs +0 -7
- data/sig/modern_treasury/models/transactions/transaction_line_item.rbs +4 -4
- data/sig/modern_treasury/models/validation_validate_routing_number_params.rbs +2 -0
- data/sig/modern_treasury/models/virtual_account.rbs +5 -0
- data/sig/modern_treasury/models/virtual_account_create_params.rbs +13 -2
- data/sig/modern_treasury/models/virtual_account_update_params.rbs +6 -1
- data/sig/modern_treasury/models.rbs +10 -10
- data/sig/modern_treasury/resources/counterparties.rbs +0 -2
- data/sig/modern_treasury/resources/embeddable_flows.rbs +32 -0
- data/sig/modern_treasury/resources/expected_payments.rbs +2 -2
- data/sig/modern_treasury/resources/external_accounts.rbs +1 -1
- data/sig/modern_treasury/resources/holds.rbs +0 -31
- data/sig/modern_treasury/resources/incoming_payment_details.rbs +1 -1
- data/sig/modern_treasury/resources/internal_accounts.rbs +6 -6
- data/sig/modern_treasury/resources/legal_entities.rbs +2 -0
- data/sig/modern_treasury/resources/payment_orders.rbs +6 -0
- data/sig/modern_treasury/resources/transactions.rbs +0 -1
- data/sig/modern_treasury/resources/virtual_accounts.rbs +2 -0
- metadata +20 -29
- data/lib/modern_treasury/models/hold_create_params.rb +0 -74
- data/lib/modern_treasury/models/hold_create_response.rb +0 -143
- data/lib/modern_treasury/models/hold_list_params.rb +0 -86
- data/lib/modern_treasury/models/hold_list_response.rb +0 -143
- data/lib/modern_treasury/models/hold_retrieve_response.rb +0 -143
- data/lib/modern_treasury/models/hold_update_params.rb +0 -47
- data/lib/modern_treasury/models/hold_update_response.rb +0 -143
- data/lib/modern_treasury/models/internal_account_request_closure_params.rb +0 -20
- data/rbi/modern_treasury/models/hold_create_params.rbi +0 -125
- data/rbi/modern_treasury/models/hold_create_response.rbi +0 -232
- data/rbi/modern_treasury/models/hold_list_params.rbi +0 -145
- data/rbi/modern_treasury/models/hold_list_response.rbi +0 -225
- data/rbi/modern_treasury/models/hold_retrieve_response.rbi +0 -234
- data/rbi/modern_treasury/models/hold_update_response.rbi +0 -232
- data/rbi/modern_treasury/models/internal_account_request_closure_params.rbi +0 -38
- data/sig/modern_treasury/models/hold_create_params.rbs +0 -66
- data/sig/modern_treasury/models/hold_create_response.rbs +0 -108
- data/sig/modern_treasury/models/hold_list_params.rbs +0 -76
- data/sig/modern_treasury/models/hold_list_response.rbs +0 -108
- data/sig/modern_treasury/models/hold_retrieve_response.rbs +0 -108
- data/sig/modern_treasury/models/hold_update_params.rbs +0 -46
- data/sig/modern_treasury/models/hold_update_response.rbs +0 -108
- data/sig/modern_treasury/models/internal_account_request_closure_params.rbs +0 -23
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module ModernTreasury
|
|
4
|
+
module Models
|
|
5
|
+
# @see ModernTreasury::Resources::EmbeddableFlows#create
|
|
6
|
+
class EmbeddableFlowCreateParams < ModernTreasury::Internal::Type::BaseModel
|
|
7
|
+
extend ModernTreasury::Internal::Type::RequestParameters::Converter
|
|
8
|
+
include ModernTreasury::Internal::Type::RequestParameters
|
|
9
|
+
|
|
10
|
+
# @!attribute options
|
|
11
|
+
# The parameters for the selected template's flow.
|
|
12
|
+
#
|
|
13
|
+
# @return [ModernTreasury::Models::EmbeddableFlowCreateParams::Options::AccountCollectionFlowCreateRequest, ModernTreasury::Models::EmbeddableFlowCreateParams::Options::PaymentFlowCreateRequest, ModernTreasury::Models::EmbeddableFlowCreateParams::Options::UnionMember2]
|
|
14
|
+
required :options, union: -> { ModernTreasury::EmbeddableFlowCreateParams::Options }
|
|
15
|
+
|
|
16
|
+
# @!attribute template
|
|
17
|
+
#
|
|
18
|
+
# @return [Symbol, ModernTreasury::Models::EmbeddableFlowCreateParams::Template]
|
|
19
|
+
required :template, enum: -> { ModernTreasury::EmbeddableFlowCreateParams::Template }
|
|
20
|
+
|
|
21
|
+
# @!method initialize(options:, template:, request_options: {})
|
|
22
|
+
# @param options [ModernTreasury::Models::EmbeddableFlowCreateParams::Options::AccountCollectionFlowCreateRequest, ModernTreasury::Models::EmbeddableFlowCreateParams::Options::PaymentFlowCreateRequest, ModernTreasury::Models::EmbeddableFlowCreateParams::Options::UnionMember2] The parameters for the selected template's flow.
|
|
23
|
+
#
|
|
24
|
+
# @param template [Symbol, ModernTreasury::Models::EmbeddableFlowCreateParams::Template]
|
|
25
|
+
#
|
|
26
|
+
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}]
|
|
27
|
+
|
|
28
|
+
# The parameters for the selected template's flow.
|
|
29
|
+
module Options
|
|
30
|
+
extend ModernTreasury::Internal::Type::Union
|
|
31
|
+
|
|
32
|
+
variant -> { ModernTreasury::EmbeddableFlowCreateParams::Options::AccountCollectionFlowCreateRequest }
|
|
33
|
+
|
|
34
|
+
variant -> { ModernTreasury::EmbeddableFlowCreateParams::Options::PaymentFlowCreateRequest }
|
|
35
|
+
|
|
36
|
+
variant -> { ModernTreasury::EmbeddableFlowCreateParams::Options::UnionMember2 }
|
|
37
|
+
|
|
38
|
+
class AccountCollectionFlowCreateRequest < ModernTreasury::Internal::Type::BaseModel
|
|
39
|
+
# @!attribute counterparty_id
|
|
40
|
+
# Required.
|
|
41
|
+
#
|
|
42
|
+
# @return [String]
|
|
43
|
+
required :counterparty_id, String
|
|
44
|
+
|
|
45
|
+
# @!attribute payment_types
|
|
46
|
+
#
|
|
47
|
+
# @return [Array<String>]
|
|
48
|
+
required :payment_types, ModernTreasury::Internal::Type::ArrayOf[String]
|
|
49
|
+
|
|
50
|
+
# @!attribute receiving_countries
|
|
51
|
+
#
|
|
52
|
+
# @return [Array<Symbol, ModernTreasury::Models::EmbeddableFlowCreateParams::Options::AccountCollectionFlowCreateRequest::ReceivingCountry>, nil]
|
|
53
|
+
optional :receiving_countries,
|
|
54
|
+
-> do
|
|
55
|
+
ModernTreasury::Internal::Type::ArrayOf[
|
|
56
|
+
enum: ModernTreasury::EmbeddableFlowCreateParams::Options::AccountCollectionFlowCreateRequest::ReceivingCountry
|
|
57
|
+
]
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
# @!method initialize(counterparty_id:, payment_types:, receiving_countries: nil)
|
|
61
|
+
# @param counterparty_id [String] Required.
|
|
62
|
+
#
|
|
63
|
+
# @param payment_types [Array<String>]
|
|
64
|
+
#
|
|
65
|
+
# @param receiving_countries [Array<Symbol, ModernTreasury::Models::EmbeddableFlowCreateParams::Options::AccountCollectionFlowCreateRequest::ReceivingCountry>]
|
|
66
|
+
|
|
67
|
+
# Optional. Array of 3-digit ISO country codes.
|
|
68
|
+
module ReceivingCountry
|
|
69
|
+
extend ModernTreasury::Internal::Type::Enum
|
|
70
|
+
|
|
71
|
+
USA = :USA
|
|
72
|
+
AUS = :AUS
|
|
73
|
+
BEL = :BEL
|
|
74
|
+
CAN = :CAN
|
|
75
|
+
CHL = :CHL
|
|
76
|
+
CHN = :CHN
|
|
77
|
+
COL = :COL
|
|
78
|
+
FRA = :FRA
|
|
79
|
+
DEU = :DEU
|
|
80
|
+
HKG = :HKG
|
|
81
|
+
IND = :IND
|
|
82
|
+
IRL = :IRL
|
|
83
|
+
ITA = :ITA
|
|
84
|
+
MEX = :MEX
|
|
85
|
+
NLD = :NLD
|
|
86
|
+
PER = :PER
|
|
87
|
+
ESP = :ESP
|
|
88
|
+
GBR = :GBR
|
|
89
|
+
|
|
90
|
+
# @!method self.values
|
|
91
|
+
# @return [Array<Symbol>]
|
|
92
|
+
end
|
|
93
|
+
end
|
|
94
|
+
|
|
95
|
+
class PaymentFlowCreateRequest < ModernTreasury::Internal::Type::BaseModel
|
|
96
|
+
# @!attribute amount
|
|
97
|
+
# Required. Value in specified currency's smallest unit. e.g. $10 would be
|
|
98
|
+
# represented as 1000. Can be any integer up to 36 digits.
|
|
99
|
+
#
|
|
100
|
+
# @return [Integer]
|
|
101
|
+
required :amount, Integer
|
|
102
|
+
|
|
103
|
+
# @!attribute counterparty_id
|
|
104
|
+
# Required. The ID of a counterparty associated with the payment. As part of the
|
|
105
|
+
# payment workflow an external account will be associated with this model.
|
|
106
|
+
#
|
|
107
|
+
# @return [String]
|
|
108
|
+
required :counterparty_id, String
|
|
109
|
+
|
|
110
|
+
# @!attribute currency
|
|
111
|
+
# Required. The currency of the payment.
|
|
112
|
+
#
|
|
113
|
+
# @return [String]
|
|
114
|
+
required :currency, String
|
|
115
|
+
|
|
116
|
+
# @!attribute direction
|
|
117
|
+
# Required. Describes the direction money is flowing in the transaction. Can only
|
|
118
|
+
# be `debit`. A `debit` pulls money from someone else's account to your own.
|
|
119
|
+
#
|
|
120
|
+
# @return [Symbol, ModernTreasury::Models::EmbeddableFlowCreateParams::Options::PaymentFlowCreateRequest::Direction]
|
|
121
|
+
required :direction,
|
|
122
|
+
enum: -> { ModernTreasury::EmbeddableFlowCreateParams::Options::PaymentFlowCreateRequest::Direction }
|
|
123
|
+
|
|
124
|
+
# @!attribute originating_account_id
|
|
125
|
+
# Required. The ID of one of your organization's internal accounts.
|
|
126
|
+
#
|
|
127
|
+
# @return [String]
|
|
128
|
+
required :originating_account_id, String
|
|
129
|
+
|
|
130
|
+
# @!attribute due_date
|
|
131
|
+
# Optional. Can only be passed in when `effective_date_selection_enabled` is
|
|
132
|
+
# `true`. When set, the due date is shown to your end-user in the pre-built UI as
|
|
133
|
+
# they are selecting a payment `effective_date`.
|
|
134
|
+
#
|
|
135
|
+
# @return [Date, nil]
|
|
136
|
+
optional :due_date, Date
|
|
137
|
+
|
|
138
|
+
# @!method initialize(amount:, counterparty_id:, currency:, direction:, originating_account_id:, due_date: nil)
|
|
139
|
+
# Some parameter documentations has been truncated, see
|
|
140
|
+
# {ModernTreasury::Models::EmbeddableFlowCreateParams::Options::PaymentFlowCreateRequest}
|
|
141
|
+
# for more details.
|
|
142
|
+
#
|
|
143
|
+
# @param amount [Integer] Required. Value in specified currency's smallest unit. e.g. $10 would be represe
|
|
144
|
+
#
|
|
145
|
+
# @param counterparty_id [String] Required. The ID of a counterparty associated with the payment. As part of the p
|
|
146
|
+
#
|
|
147
|
+
# @param currency [String] Required. The currency of the payment.
|
|
148
|
+
#
|
|
149
|
+
# @param direction [Symbol, ModernTreasury::Models::EmbeddableFlowCreateParams::Options::PaymentFlowCreateRequest::Direction] Required. Describes the direction money is flowing in the transaction. Can only
|
|
150
|
+
#
|
|
151
|
+
# @param originating_account_id [String] Required. The ID of one of your organization's internal accounts.
|
|
152
|
+
#
|
|
153
|
+
# @param due_date [Date] Optional. Can only be passed in when `effective_date_selection_enabled` is `true
|
|
154
|
+
|
|
155
|
+
# Required. Describes the direction money is flowing in the transaction. Can only
|
|
156
|
+
# be `debit`. A `debit` pulls money from someone else's account to your own.
|
|
157
|
+
#
|
|
158
|
+
# @see ModernTreasury::Models::EmbeddableFlowCreateParams::Options::PaymentFlowCreateRequest#direction
|
|
159
|
+
module Direction
|
|
160
|
+
extend ModernTreasury::Internal::Type::Enum
|
|
161
|
+
|
|
162
|
+
CREDIT = :credit
|
|
163
|
+
DEBIT = :debit
|
|
164
|
+
|
|
165
|
+
# @!method self.values
|
|
166
|
+
# @return [Array<Symbol>]
|
|
167
|
+
end
|
|
168
|
+
end
|
|
169
|
+
|
|
170
|
+
class UnionMember2 < ModernTreasury::Internal::Type::BaseModel
|
|
171
|
+
# @!attribute type
|
|
172
|
+
#
|
|
173
|
+
# @return [Symbol, ModernTreasury::Models::EmbeddableFlowCreateParams::Options::UnionMember2::Type]
|
|
174
|
+
required :type, enum: -> { ModernTreasury::EmbeddableFlowCreateParams::Options::UnionMember2::Type }
|
|
175
|
+
|
|
176
|
+
# @!attribute return_url
|
|
177
|
+
# The URL you want your customer redirected to upon completing the flow. This must
|
|
178
|
+
# be a valid HTTPS URL if set.
|
|
179
|
+
#
|
|
180
|
+
# @return [String, nil]
|
|
181
|
+
optional :return_url, String
|
|
182
|
+
|
|
183
|
+
# @!method initialize(type:, return_url: nil)
|
|
184
|
+
# Some parameter documentations has been truncated, see
|
|
185
|
+
# {ModernTreasury::Models::EmbeddableFlowCreateParams::Options::UnionMember2} for
|
|
186
|
+
# more details.
|
|
187
|
+
#
|
|
188
|
+
# @param type [Symbol, ModernTreasury::Models::EmbeddableFlowCreateParams::Options::UnionMember2::Type]
|
|
189
|
+
#
|
|
190
|
+
# @param return_url [String] The URL you want your customer redirected to upon completing the flow. This must
|
|
191
|
+
|
|
192
|
+
# @see ModernTreasury::Models::EmbeddableFlowCreateParams::Options::UnionMember2#type
|
|
193
|
+
module Type
|
|
194
|
+
extend ModernTreasury::Internal::Type::Enum
|
|
195
|
+
|
|
196
|
+
INDIVIDUAL = :individual
|
|
197
|
+
|
|
198
|
+
# @!method self.values
|
|
199
|
+
# @return [Array<Symbol>]
|
|
200
|
+
end
|
|
201
|
+
end
|
|
202
|
+
|
|
203
|
+
# @!method self.variants
|
|
204
|
+
# @return [Array(ModernTreasury::Models::EmbeddableFlowCreateParams::Options::AccountCollectionFlowCreateRequest, ModernTreasury::Models::EmbeddableFlowCreateParams::Options::PaymentFlowCreateRequest, ModernTreasury::Models::EmbeddableFlowCreateParams::Options::UnionMember2)]
|
|
205
|
+
end
|
|
206
|
+
|
|
207
|
+
module Template
|
|
208
|
+
extend ModernTreasury::Internal::Type::Enum
|
|
209
|
+
|
|
210
|
+
LEGAL_ENTITY_ONBOARDING = :legal_entity_onboarding
|
|
211
|
+
ACCOUNT_COLLECTION = :account_collection
|
|
212
|
+
PAYMENT = :payment
|
|
213
|
+
|
|
214
|
+
# @!method self.values
|
|
215
|
+
# @return [Array<Symbol>]
|
|
216
|
+
end
|
|
217
|
+
end
|
|
218
|
+
end
|
|
219
|
+
end
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module ModernTreasury
|
|
4
|
+
module Models
|
|
5
|
+
# @see ModernTreasury::Resources::EmbeddableFlows#list
|
|
6
|
+
class EmbeddableFlowListParams < ModernTreasury::Internal::Type::BaseModel
|
|
7
|
+
extend ModernTreasury::Internal::Type::RequestParameters::Converter
|
|
8
|
+
include ModernTreasury::Internal::Type::RequestParameters
|
|
9
|
+
|
|
10
|
+
# @!attribute after_cursor
|
|
11
|
+
#
|
|
12
|
+
# @return [String, nil]
|
|
13
|
+
optional :after_cursor, String, nil?: true
|
|
14
|
+
|
|
15
|
+
# @!attribute per_page
|
|
16
|
+
#
|
|
17
|
+
# @return [Integer, nil]
|
|
18
|
+
optional :per_page, Integer
|
|
19
|
+
|
|
20
|
+
# @!attribute status
|
|
21
|
+
#
|
|
22
|
+
# @return [String, nil]
|
|
23
|
+
optional :status, String
|
|
24
|
+
|
|
25
|
+
# @!attribute template
|
|
26
|
+
#
|
|
27
|
+
# @return [Symbol, ModernTreasury::Models::EmbeddableFlowListParams::Template, nil]
|
|
28
|
+
optional :template, enum: -> { ModernTreasury::EmbeddableFlowListParams::Template }
|
|
29
|
+
|
|
30
|
+
# @!method initialize(after_cursor: nil, per_page: nil, status: nil, template: nil, request_options: {})
|
|
31
|
+
# @param after_cursor [String, nil]
|
|
32
|
+
# @param per_page [Integer]
|
|
33
|
+
# @param status [String]
|
|
34
|
+
# @param template [Symbol, ModernTreasury::Models::EmbeddableFlowListParams::Template]
|
|
35
|
+
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}]
|
|
36
|
+
|
|
37
|
+
module Template
|
|
38
|
+
extend ModernTreasury::Internal::Type::Enum
|
|
39
|
+
|
|
40
|
+
LEGAL_ENTITY_ONBOARDING = :legal_entity_onboarding
|
|
41
|
+
ACCOUNT_COLLECTION = :account_collection
|
|
42
|
+
PAYMENT = :payment
|
|
43
|
+
|
|
44
|
+
# @!method self.values
|
|
45
|
+
# @return [Array<Symbol>]
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
end
|
data/lib/modern_treasury/models/{hold_retrieve_params.rb → embeddable_flow_retrieve_params.rb}
RENAMED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
module ModernTreasury
|
|
4
4
|
module Models
|
|
5
|
-
# @see ModernTreasury::Resources::
|
|
6
|
-
class
|
|
5
|
+
# @see ModernTreasury::Resources::EmbeddableFlows#retrieve
|
|
6
|
+
class EmbeddableFlowRetrieveParams < ModernTreasury::Internal::Type::BaseModel
|
|
7
7
|
extend ModernTreasury::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include ModernTreasury::Internal::Type::RequestParameters
|
|
9
9
|
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module ModernTreasury
|
|
4
|
+
module Models
|
|
5
|
+
# @see ModernTreasury::Resources::EmbeddableFlows#update
|
|
6
|
+
class EmbeddableFlowUpdateParams < ModernTreasury::Internal::Type::BaseModel
|
|
7
|
+
extend ModernTreasury::Internal::Type::RequestParameters::Converter
|
|
8
|
+
include ModernTreasury::Internal::Type::RequestParameters
|
|
9
|
+
|
|
10
|
+
# @!attribute id
|
|
11
|
+
#
|
|
12
|
+
# @return [String]
|
|
13
|
+
required :id, String
|
|
14
|
+
|
|
15
|
+
# @!attribute status
|
|
16
|
+
# The updated status of the flow. Can only be used to mark the flow as
|
|
17
|
+
# `cancelled`.
|
|
18
|
+
#
|
|
19
|
+
# @return [Symbol, ModernTreasury::Models::EmbeddableFlowUpdateParams::Status]
|
|
20
|
+
required :status, enum: -> { ModernTreasury::EmbeddableFlowUpdateParams::Status }
|
|
21
|
+
|
|
22
|
+
# @!method initialize(id:, status:, request_options: {})
|
|
23
|
+
# Some parameter documentations has been truncated, see
|
|
24
|
+
# {ModernTreasury::Models::EmbeddableFlowUpdateParams} for more details.
|
|
25
|
+
#
|
|
26
|
+
# @param id [String]
|
|
27
|
+
#
|
|
28
|
+
# @param status [Symbol, ModernTreasury::Models::EmbeddableFlowUpdateParams::Status] The updated status of the flow. Can only be used to mark the flow as `cancelled`
|
|
29
|
+
#
|
|
30
|
+
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}]
|
|
31
|
+
|
|
32
|
+
# The updated status of the flow. Can only be used to mark the flow as
|
|
33
|
+
# `cancelled`.
|
|
34
|
+
module Status
|
|
35
|
+
extend ModernTreasury::Internal::Type::Enum
|
|
36
|
+
|
|
37
|
+
CANCELLED = :cancelled
|
|
38
|
+
|
|
39
|
+
# @!method self.values
|
|
40
|
+
# @return [Array<Symbol>]
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
@@ -159,10 +159,9 @@ module ModernTreasury
|
|
|
159
159
|
# @!attribute reconciliation_rule_variables
|
|
160
160
|
# An array of reconciliation rule variables for this payment.
|
|
161
161
|
#
|
|
162
|
-
# @return [Array<ModernTreasury::Models::ReconciliationRule
|
|
162
|
+
# @return [Array<ModernTreasury::Models::ReconciliationRule>]
|
|
163
163
|
required :reconciliation_rule_variables,
|
|
164
|
-
-> { ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::ReconciliationRule] }
|
|
165
|
-
nil?: true
|
|
164
|
+
-> { ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::ReconciliationRule] }
|
|
166
165
|
|
|
167
166
|
# @!attribute remittance_information
|
|
168
167
|
# For `ach`, this field will be passed through on an addenda record. For `wire`
|
|
@@ -260,7 +259,7 @@ module ModernTreasury
|
|
|
260
259
|
#
|
|
261
260
|
# @param reconciliation_method [Symbol, ModernTreasury::Models::ExpectedPayment::ReconciliationMethod, nil] One of manual if this expected payment was manually reconciled in the dashboard,
|
|
262
261
|
#
|
|
263
|
-
# @param reconciliation_rule_variables [Array<ModernTreasury::Models::ReconciliationRule
|
|
262
|
+
# @param reconciliation_rule_variables [Array<ModernTreasury::Models::ReconciliationRule>] An array of reconciliation rule variables for this payment.
|
|
264
263
|
#
|
|
265
264
|
# @param remittance_information [String, nil] For `ach`, this field will be passed through on an addenda record. For `wire` pa
|
|
266
265
|
#
|
|
@@ -150,8 +150,7 @@ module ModernTreasury
|
|
|
150
150
|
#
|
|
151
151
|
# @return [Array<ModernTreasury::Models::ReconciliationRule>, nil]
|
|
152
152
|
optional :reconciliation_rule_variables,
|
|
153
|
-
-> { ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::ReconciliationRule] }
|
|
154
|
-
nil?: true
|
|
153
|
+
-> { ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::ReconciliationRule] }
|
|
155
154
|
|
|
156
155
|
# @!attribute remittance_information
|
|
157
156
|
# For `ach`, this field will be passed through on an addenda record. For `wire`
|
|
@@ -220,7 +219,7 @@ module ModernTreasury
|
|
|
220
219
|
#
|
|
221
220
|
# @param reconciliation_groups [Object, nil] The reconciliation groups you have for this payment.
|
|
222
221
|
#
|
|
223
|
-
# @param reconciliation_rule_variables [Array<ModernTreasury::Models::ReconciliationRule
|
|
222
|
+
# @param reconciliation_rule_variables [Array<ModernTreasury::Models::ReconciliationRule>] An array of reconciliation rule variables for this payment.
|
|
224
223
|
#
|
|
225
224
|
# @param remittance_information [String, nil] For `ach`, this field will be passed through on an addenda record. For `wire` pa
|
|
226
225
|
#
|
|
@@ -131,8 +131,7 @@ module ModernTreasury
|
|
|
131
131
|
#
|
|
132
132
|
# @return [Array<ModernTreasury::Models::ReconciliationRule>, nil]
|
|
133
133
|
optional :reconciliation_rule_variables,
|
|
134
|
-
-> { ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::ReconciliationRule] }
|
|
135
|
-
nil?: true
|
|
134
|
+
-> { ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::ReconciliationRule] }
|
|
136
135
|
|
|
137
136
|
# @!attribute remittance_information
|
|
138
137
|
# For `ach`, this field will be passed through on an addenda record. For `wire`
|
|
@@ -204,7 +203,7 @@ module ModernTreasury
|
|
|
204
203
|
#
|
|
205
204
|
# @param reconciliation_groups [Object, nil] The reconciliation groups you have for this payment.
|
|
206
205
|
#
|
|
207
|
-
# @param reconciliation_rule_variables [Array<ModernTreasury::Models::ReconciliationRule
|
|
206
|
+
# @param reconciliation_rule_variables [Array<ModernTreasury::Models::ReconciliationRule>] An array of reconciliation rule variables for this payment.
|
|
208
207
|
#
|
|
209
208
|
# @param remittance_information [String, nil] For `ach`, this field will be passed through on an addenda record. For `wire` pa
|
|
210
209
|
#
|
|
@@ -152,6 +152,7 @@ module ModernTreasury
|
|
|
152
152
|
|
|
153
153
|
ARBITRUM_ADDRESS = :arbitrum_address
|
|
154
154
|
AU_NUMBER = :au_number
|
|
155
|
+
AVALANCHE_ADDRESS = :avalanche_address
|
|
155
156
|
BASE_ADDRESS = :base_address
|
|
156
157
|
CARD_TOKEN = :card_token
|
|
157
158
|
CLABE = :clabe
|
|
@@ -161,7 +162,6 @@ module ModernTreasury
|
|
|
161
162
|
ID_NUMBER = :id_number
|
|
162
163
|
NZ_NUMBER = :nz_number
|
|
163
164
|
OTHER = :other
|
|
164
|
-
PAN = :pan
|
|
165
165
|
POLYGON_ADDRESS = :polygon_address
|
|
166
166
|
SG_NUMBER = :sg_number
|
|
167
167
|
SOLANA_ADDRESS = :solana_address
|
|
@@ -228,6 +228,7 @@ module ModernTreasury
|
|
|
228
228
|
SE_BANKGIRO_CLEARING_CODE = :se_bankgiro_clearing_code
|
|
229
229
|
SG_INTERBANK_CLEARING_CODE = :sg_interbank_clearing_code
|
|
230
230
|
SWIFT = :swift
|
|
231
|
+
VASP = :vasp
|
|
231
232
|
ZA_NATIONAL_CLEARING_CODE = :za_national_clearing_code
|
|
232
233
|
|
|
233
234
|
# @!method self.values
|
|
@@ -6,19 +6,16 @@ module ModernTreasury
|
|
|
6
6
|
module ExternalAccountType
|
|
7
7
|
extend ModernTreasury::Internal::Type::Enum
|
|
8
8
|
|
|
9
|
-
BASE_WALLET = :base_wallet
|
|
10
9
|
CASH = :cash
|
|
11
10
|
CHECKING = :checking
|
|
12
|
-
CRYPTO_WALLET = :crypto_wallet
|
|
13
|
-
ETHEREUM_WALLET = :ethereum_wallet
|
|
14
11
|
GENERAL_LEDGER = :general_ledger
|
|
12
|
+
HOSTED_WALLET = :hosted_wallet
|
|
15
13
|
LOAN = :loan
|
|
16
14
|
NON_RESIDENT = :non_resident
|
|
17
15
|
OTHER = :other
|
|
18
16
|
OVERDRAFT = :overdraft
|
|
19
|
-
POLYGON_WALLET = :polygon_wallet
|
|
20
17
|
SAVINGS = :savings
|
|
21
|
-
|
|
18
|
+
SELF_HOSTED_WALLET = :self_hosted_wallet
|
|
22
19
|
|
|
23
20
|
# @!method self.values
|
|
24
21
|
# @return [Array<Symbol>]
|
|
@@ -40,7 +40,7 @@ module ModernTreasury
|
|
|
40
40
|
# @!attribute party_address
|
|
41
41
|
#
|
|
42
42
|
# @return [ModernTreasury::Models::AddressRequest, nil]
|
|
43
|
-
optional :party_address, -> { ModernTreasury::AddressRequest }
|
|
43
|
+
optional :party_address, -> { ModernTreasury::AddressRequest }, nil?: true
|
|
44
44
|
|
|
45
45
|
# @!attribute party_name
|
|
46
46
|
# If this value isn't provided, it will be inherited from the counterparty's name.
|
|
@@ -68,7 +68,7 @@ module ModernTreasury
|
|
|
68
68
|
#
|
|
69
69
|
# @param name [String, nil] A nickname for the external account. This is only for internal usage and won't a
|
|
70
70
|
#
|
|
71
|
-
# @param party_address [ModernTreasury::Models::AddressRequest]
|
|
71
|
+
# @param party_address [ModernTreasury::Models::AddressRequest, nil]
|
|
72
72
|
#
|
|
73
73
|
# @param party_name [String] If this value isn't provided, it will be inherited from the counterparty's name.
|
|
74
74
|
#
|
|
@@ -99,24 +99,52 @@ module ModernTreasury
|
|
|
99
99
|
module IDType
|
|
100
100
|
extend ModernTreasury::Internal::Type::Enum
|
|
101
101
|
|
|
102
|
+
AD_NRT = :ad_nrt
|
|
103
|
+
AE_EID = :ae_eid
|
|
104
|
+
AE_TRN = :ae_trn
|
|
105
|
+
AG_TIN = :ag_tin
|
|
106
|
+
AI_TIN = :ai_tin
|
|
107
|
+
AL_NID = :al_nid
|
|
108
|
+
AL_NIPT = :al_nipt
|
|
109
|
+
AM_TIN = :am_tin
|
|
110
|
+
AO_NIF = :ao_nif
|
|
102
111
|
AR_CUIL = :ar_cuil
|
|
103
112
|
AR_CUIT = :ar_cuit
|
|
104
113
|
AT_ATIN = :at_atin
|
|
105
114
|
AT_VAT = :at_vat
|
|
106
115
|
AU_ABN = :au_abn
|
|
107
116
|
AU_TFN = :au_tfn
|
|
117
|
+
AW_TIN = :aw_tin
|
|
118
|
+
AZ_PIN = :az_pin
|
|
119
|
+
BB_TIN = :bb_tin
|
|
120
|
+
BD_TIN = :bd_tin
|
|
108
121
|
BE_ENT = :be_ent
|
|
109
122
|
BE_NRN = :be_nrn
|
|
123
|
+
BF_IFU = :bf_ifu
|
|
124
|
+
BG_EGN = :bg_egn
|
|
125
|
+
BH_CPR = :bh_cpr
|
|
126
|
+
BH_VAT = :bh_vat
|
|
127
|
+
BJ_IFU = :bj_ifu
|
|
128
|
+
BM_CRN = :bm_crn
|
|
129
|
+
BO_NIT = :bo_nit
|
|
110
130
|
BR_CNPJ = :br_cnpj
|
|
111
131
|
BR_CPF = :br_cpf
|
|
132
|
+
BS_TIN = :bs_tin
|
|
133
|
+
BT_BIN = :bt_bin
|
|
134
|
+
BW_TIN = :bw_tin
|
|
135
|
+
BZ_TIN = :bz_tin
|
|
112
136
|
CA_BN = :ca_bn
|
|
113
137
|
CA_SIN = :ca_sin
|
|
114
138
|
CH_AHV = :ch_ahv
|
|
115
139
|
CH_UID = :ch_uid
|
|
140
|
+
CI_NCC = :ci_ncc
|
|
116
141
|
CL_RUN = :cl_run
|
|
117
142
|
CL_RUT = :cl_rut
|
|
143
|
+
CM_NIU = :cm_niu
|
|
118
144
|
CO_CEDULAS = :co_cedulas
|
|
119
145
|
CO_NIT = :co_nit
|
|
146
|
+
CR_CPF = :cr_cpf
|
|
147
|
+
CW_CRIB = :cw_crib
|
|
120
148
|
CY_TIN = :cy_tin
|
|
121
149
|
CZ_ICO = :cz_ico
|
|
122
150
|
CZ_RC = :cz_rc
|
|
@@ -125,21 +153,41 @@ module ModernTreasury
|
|
|
125
153
|
DE_VAT = :de_vat
|
|
126
154
|
DK_CPR = :dk_cpr
|
|
127
155
|
DK_CVR = :dk_cvr
|
|
156
|
+
DM_TIN = :dm_tin
|
|
157
|
+
DO_CEDULA = :do_cedula
|
|
158
|
+
DO_RNC = :do_rnc
|
|
128
159
|
DRIVERS_LICENSE = :drivers_license
|
|
160
|
+
EC_RUC = :ec_ruc
|
|
129
161
|
EE_IK = :ee_ik
|
|
130
162
|
EE_RK = :ee_rk
|
|
131
163
|
ES_NIE = :es_nie
|
|
132
164
|
ES_NIF = :es_nif
|
|
133
165
|
FI_HETU = :fi_hetu
|
|
134
166
|
FI_YTJ = :fi_ytj
|
|
167
|
+
FJ_TIN = :fj_tin
|
|
168
|
+
FO_PTAL = :fo_ptal
|
|
135
169
|
FR_NIF = :fr_nif
|
|
136
170
|
FR_SIREN = :fr_siren
|
|
137
171
|
FR_VAT = :fr_vat
|
|
172
|
+
GA_NIF = :ga_nif
|
|
138
173
|
GB_NINO = :gb_nino
|
|
139
174
|
GB_UTR = :gb_utr
|
|
140
175
|
GB_VAT = :gb_vat
|
|
176
|
+
GD_TIN = :gd_tin
|
|
177
|
+
GE_IC = :ge_ic
|
|
178
|
+
GE_PN = :ge_pn
|
|
179
|
+
GE_TIN = :ge_tin
|
|
141
180
|
GENERIC_INTERNATIONAL = :generic_international
|
|
181
|
+
GG_SIN = :gg_sin
|
|
182
|
+
GH_PIN = :gh_pin
|
|
183
|
+
GH_TIN = :gh_tin
|
|
184
|
+
GI_TRN = :gi_trn
|
|
185
|
+
GL_CPR = :gl_cpr
|
|
186
|
+
GL_GER = :gl_ger
|
|
187
|
+
GM_TIN = :gm_tin
|
|
188
|
+
GR_AFM = :gr_afm
|
|
142
189
|
GR_VAT = :gr_vat
|
|
190
|
+
GT_NIT = :gt_nit
|
|
143
191
|
HK_BRN = :hk_brn
|
|
144
192
|
HK_HKID = :hk_hkid
|
|
145
193
|
HN_ID = :hn_id
|
|
@@ -147,45 +195,103 @@ module ModernTreasury
|
|
|
147
195
|
HR_OIB = :hr_oib
|
|
148
196
|
HU_ADJ = :hu_adj
|
|
149
197
|
HU_ANUM = :hu_anum
|
|
198
|
+
ID_NIK = :id_nik
|
|
199
|
+
ID_NPWP = :id_npwp
|
|
150
200
|
IE_PPS = :ie_pps
|
|
151
201
|
IE_TRN = :ie_trn
|
|
202
|
+
IL_CN = :il_cn
|
|
203
|
+
IL_PIN = :il_pin
|
|
204
|
+
IM_TRN = :im_trn
|
|
152
205
|
IN_LEI = :in_lei
|
|
153
206
|
IS_KNT = :is_knt
|
|
154
207
|
IT_CF = :it_cf
|
|
155
208
|
IT_PIVA = :it_piva
|
|
209
|
+
JE_SSN = :je_ssn
|
|
210
|
+
JE_TIN = :je_tin
|
|
211
|
+
JM_TRN = :jm_trn
|
|
212
|
+
JO_TIN = :jo_tin
|
|
156
213
|
JP_HB = :jp_hb
|
|
157
214
|
JP_MN = :jp_mn
|
|
215
|
+
KE_PIN = :ke_pin
|
|
216
|
+
KG_PIN = :kg_pin
|
|
217
|
+
KN_TIN = :kn_tin
|
|
158
218
|
KR_BRN = :kr_brn
|
|
159
219
|
KR_CRN = :kr_crn
|
|
160
220
|
KR_RRN = :kr_rrn
|
|
221
|
+
KW_CID = :kw_cid
|
|
222
|
+
KY_CRN = :ky_crn
|
|
223
|
+
KZ_BIN = :kz_bin
|
|
224
|
+
KZ_IIN = :kz_iin
|
|
225
|
+
LA_TIN = :la_tin
|
|
226
|
+
LC_TIN = :lc_tin
|
|
161
227
|
LI_PEID = :li_peid
|
|
228
|
+
LK_TIN = :lk_tin
|
|
229
|
+
LR_TIN = :lr_tin
|
|
230
|
+
LS_TIN = :ls_tin
|
|
162
231
|
LT_AK = :lt_ak
|
|
163
232
|
LT_JAK = :lt_jak
|
|
164
233
|
LU_MTC = :lu_mtc
|
|
165
234
|
LU_VAT = :lu_vat
|
|
166
235
|
LV_PK = :lv_pk
|
|
167
236
|
LV_RN = :lv_rn
|
|
237
|
+
MA_ICE = :ma_ice
|
|
238
|
+
MD_IDNP = :md_idnp
|
|
239
|
+
ME_JMBG = :me_jmbg
|
|
240
|
+
ME_PIB = :me_pib
|
|
241
|
+
MG_NIF = :mg_nif
|
|
242
|
+
MH_SSN = :mh_ssn
|
|
243
|
+
ML_NIF = :ml_nif
|
|
244
|
+
MO_BIR = :mo_bir
|
|
245
|
+
MO_TIN_B = :mo_tin_b
|
|
246
|
+
MO_TIN_I = :mo_tin_i
|
|
247
|
+
MR_NIF = :mr_nif
|
|
168
248
|
MT_TIN = :mt_tin
|
|
169
249
|
MT_VAT = :mt_vat
|
|
250
|
+
MU_TAN = :mu_tan
|
|
251
|
+
MV_TIN = :mv_tin
|
|
252
|
+
MW_TPIN = :mw_tpin
|
|
170
253
|
MX_CURP = :mx_curp
|
|
171
254
|
MX_INE = :mx_ine
|
|
172
255
|
MX_RFC = :mx_rfc
|
|
256
|
+
MY_NPC = :my_npc
|
|
257
|
+
MY_NRIC = :my_nric
|
|
258
|
+
MY_TIN_B = :my_tin_b
|
|
259
|
+
MZ_NUIT = :mz_nuit
|
|
260
|
+
NA_TIN = :na_tin
|
|
173
261
|
NATIONAL_ID = :national_id
|
|
262
|
+
NG_TIN = :ng_tin
|
|
174
263
|
NL_BSN = :nl_bsn
|
|
175
264
|
NL_BTW = :nl_btw
|
|
176
265
|
NL_RSIN = :nl_rsin
|
|
177
266
|
NO_FDN = :no_fdn
|
|
178
267
|
NO_MVA = :no_mva
|
|
179
268
|
NO_ORGNR = :no_orgnr
|
|
269
|
+
NR_TIN = :nr_tin
|
|
180
270
|
NZ_IRD = :nz_ird
|
|
271
|
+
OM_CID = :om_cid
|
|
272
|
+
PA_CEDULA = :pa_cedula
|
|
273
|
+
PA_RUC = :pa_ruc
|
|
181
274
|
PASSPORT = :passport
|
|
275
|
+
PE_RUC = :pe_ruc
|
|
276
|
+
PG_TIN = :pg_tin
|
|
277
|
+
PH_TIN = :ph_tin
|
|
278
|
+
PK_CNIC = :pk_cnic
|
|
279
|
+
PK_NTN = :pk_ntn
|
|
182
280
|
PL_NIP = :pl_nip
|
|
183
281
|
PL_PESEL = :pl_pesel
|
|
184
282
|
PT_NIF = :pt_nif
|
|
283
|
+
PY_RUC = :py_ruc
|
|
284
|
+
QA_QFC_TIN = :qa_qfc_tin
|
|
285
|
+
QA_QID = :qa_qid
|
|
286
|
+
QA_TIN = :qa_tin
|
|
185
287
|
RO_CNP = :ro_cnp
|
|
186
288
|
RO_CUI = :ro_cui
|
|
289
|
+
RS_JMBG = :rs_jmbg
|
|
290
|
+
RS_PIB = :rs_pib
|
|
291
|
+
RW_TIN = :rw_tin
|
|
187
292
|
SA_TIN = :sa_tin
|
|
188
293
|
SA_VAT = :sa_vat
|
|
294
|
+
SC_TIN = :sc_tin
|
|
189
295
|
SE_ORGNR = :se_orgnr
|
|
190
296
|
SE_PNMR = :se_pnmr
|
|
191
297
|
SG_FIN = :sg_fin
|
|
@@ -195,11 +301,33 @@ module ModernTreasury
|
|
|
195
301
|
SI_TIN = :si_tin
|
|
196
302
|
SK_ICO = :sk_ico
|
|
197
303
|
SK_RC = :sk_rc
|
|
304
|
+
SL_TIN = :sl_tin
|
|
305
|
+
SM_SSI = :sm_ssi
|
|
306
|
+
SN_NINEA = :sn_ninea
|
|
307
|
+
SZ_TIN = :sz_tin
|
|
308
|
+
TG_NIF = :tg_nif
|
|
309
|
+
TH_JID = :th_jid
|
|
310
|
+
TH_PIN = :th_pin
|
|
311
|
+
TJ_INN = :tj_inn
|
|
312
|
+
TO_TIN = :to_tin
|
|
313
|
+
TR_TCKN = :tr_tckn
|
|
314
|
+
TT_BIR = :tt_bir
|
|
315
|
+
TW_NRIC = :tw_nric
|
|
316
|
+
TW_UBN = :tw_ubn
|
|
317
|
+
UG_TIN = :ug_tin
|
|
198
318
|
US_EIN = :us_ein
|
|
199
319
|
US_ITIN = :us_itin
|
|
200
320
|
US_SSN = :us_ssn
|
|
201
321
|
UY_RUT = :uy_rut
|
|
322
|
+
UZ_INN = :uz_inn
|
|
323
|
+
UZ_PIN = :uz_pin
|
|
324
|
+
VG_CRN = :vg_crn
|
|
325
|
+
VISA = :visa
|
|
202
326
|
VN_TIN = :vn_tin
|
|
327
|
+
XK_FN = :xk_fn
|
|
328
|
+
ZA_TRN = :za_trn
|
|
329
|
+
ZA_VAT = :za_vat
|
|
330
|
+
ZM_TPIN = :zm_tpin
|
|
203
331
|
|
|
204
332
|
# @!method self.values
|
|
205
333
|
# @return [Array<Symbol>]
|