increase 1.353.0 → 1.355.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/README.md +1 -1
- data/lib/increase/client.rb +18 -0
- data/lib/increase/models/ach_transfer.rb +3 -3
- data/lib/increase/models/beneficial_owner_create_params.rb +1 -1
- data/lib/increase/models/beneficial_owner_update_params.rb +1 -1
- data/lib/increase/models/card_create_details_token_params.rb +22 -0
- data/lib/increase/models/card_details_token.rb +57 -0
- data/lib/increase/models/card_payment.rb +29 -1
- data/lib/increase/models/declined_transaction.rb +3 -0
- data/lib/increase/models/digital_wallet_token.rb +18 -0
- data/lib/increase/models/digital_wallet_token_request.rb +307 -0
- data/lib/increase/models/digital_wallet_token_request_list_params.rb +99 -0
- data/lib/increase/models/digital_wallet_token_request_retrieve_params.rb +22 -0
- data/lib/increase/models/digital_wallet_token_transition_params.rb +48 -0
- data/lib/increase/models/entity.rb +35 -7
- data/lib/increase/models/entity_beneficial_owner.rb +1 -1
- data/lib/increase/models/entity_create_params.rb +1 -1
- data/lib/increase/models/export.rb +19 -19
- data/lib/increase/models/export_create_params.rb +15 -15
- data/lib/increase/models/export_list_params.rb +19 -19
- data/lib/increase/models/inbound_real_time_payments_request_for_payment.rb +318 -0
- data/lib/increase/models/inbound_real_time_payments_requests_for_payment_list_params.rb +113 -0
- data/lib/increase/models/inbound_real_time_payments_requests_for_payment_retrieve_params.rb +25 -0
- data/lib/increase/models/inbound_wire_transfer.rb +10 -1
- data/lib/increase/models/physical_check_batch.rb +266 -0
- data/lib/increase/models/physical_check_batch_cancel_params.rb +22 -0
- data/lib/increase/models/physical_check_batch_complete_params.rb +22 -0
- data/lib/increase/models/physical_check_batch_create_params.rb +189 -0
- data/lib/increase/models/real_time_decision.rb +9 -0
- data/lib/increase/models/real_time_decision_action_params.rb +3 -0
- data/lib/increase/models/real_time_payments_request_for_payment.rb +658 -0
- data/lib/increase/models/real_time_payments_requests_for_payment_cancel_params.rb +64 -0
- data/lib/increase/models/real_time_payments_requests_for_payment_create_params.rb +194 -0
- data/lib/increase/models/real_time_payments_requests_for_payment_list_params.rb +117 -0
- data/lib/increase/models/real_time_payments_requests_for_payment_retrieve_params.rb +23 -0
- data/lib/increase/models/simulations/digital_wallet_token_request_create_response.rb +9 -0
- data/lib/increase/models/simulations/entity_update_validation_params.rb +3 -0
- data/lib/increase/models/simulations/fednow_transfer_complete_params.rb +103 -0
- data/lib/increase/models/simulations/inbound_check_deposit_accept_params.rb +24 -0
- data/lib/increase/models/transaction.rb +36 -2
- data/lib/increase/models.rb +42 -0
- data/lib/increase/resources/cards.rb +23 -0
- data/lib/increase/resources/digital_wallet_token_requests.rb +68 -0
- data/lib/increase/resources/digital_wallet_tokens.rb +28 -0
- data/lib/increase/resources/inbound_real_time_payments_requests_for_payment.rb +79 -0
- data/lib/increase/resources/physical_check_batches.rb +86 -0
- data/lib/increase/resources/real_time_payments_requests_for_payment.rb +159 -0
- data/lib/increase/resources/simulations/fednow_transfers.rb +43 -0
- data/lib/increase/resources/simulations/inbound_check_deposits.rb +22 -0
- data/lib/increase/resources/simulations.rb +4 -0
- data/lib/increase/version.rb +1 -1
- data/lib/increase.rb +25 -0
- data/rbi/increase/client.rbi +14 -0
- data/rbi/increase/models/ach_transfer.rbi +3 -3
- data/rbi/increase/models/beneficial_owner_create_params.rbi +1 -1
- data/rbi/increase/models/beneficial_owner_update_params.rbi +1 -1
- data/rbi/increase/models/card_create_details_token_params.rbi +43 -0
- data/rbi/increase/models/card_details_token.rbi +85 -0
- data/rbi/increase/models/card_payment.rbi +59 -0
- data/rbi/increase/models/declined_transaction.rbi +7 -0
- data/rbi/increase/models/digital_wallet_token.rbi +42 -0
- data/rbi/increase/models/digital_wallet_token_request.rbi +586 -0
- data/rbi/increase/models/digital_wallet_token_request_list_params.rbi +171 -0
- data/rbi/increase/models/digital_wallet_token_request_retrieve_params.rbi +46 -0
- data/rbi/increase/models/digital_wallet_token_transition_params.rbi +100 -0
- data/rbi/increase/models/entity.rbi +71 -6
- data/rbi/increase/models/entity_beneficial_owner.rbi +1 -1
- data/rbi/increase/models/entity_create_params.rbi +1 -1
- data/rbi/increase/models/export.rbi +32 -32
- data/rbi/increase/models/export_create_params.rbi +29 -29
- data/rbi/increase/models/export_list_params.rbi +37 -37
- data/rbi/increase/models/inbound_real_time_payments_request_for_payment.rbi +442 -0
- data/rbi/increase/models/inbound_real_time_payments_requests_for_payment_list_params.rbi +188 -0
- data/rbi/increase/models/inbound_real_time_payments_requests_for_payment_retrieve_params.rbi +48 -0
- data/rbi/increase/models/inbound_wire_transfer.rbi +8 -0
- data/rbi/increase/models/physical_check_batch.rbi +382 -0
- data/rbi/increase/models/physical_check_batch_cancel_params.rbi +46 -0
- data/rbi/increase/models/physical_check_batch_complete_params.rbi +46 -0
- data/rbi/increase/models/physical_check_batch_create_params.rbi +326 -0
- data/rbi/increase/models/real_time_decision.rbi +21 -0
- data/rbi/increase/models/real_time_decision_action_params.rbi +7 -0
- data/rbi/increase/models/real_time_payments_request_for_payment.rbi +1166 -0
- data/rbi/increase/models/real_time_payments_requests_for_payment_cancel_params.rbi +136 -0
- data/rbi/increase/models/real_time_payments_requests_for_payment_create_params.rbi +303 -0
- data/rbi/increase/models/real_time_payments_requests_for_payment_list_params.rbi +192 -0
- data/rbi/increase/models/real_time_payments_requests_for_payment_retrieve_params.rbi +46 -0
- data/rbi/increase/models/simulations/digital_wallet_token_request_create_response.rbi +21 -0
- data/rbi/increase/models/simulations/entity_update_validation_params.rbi +7 -0
- data/rbi/increase/models/simulations/fednow_transfer_complete_params.rbi +243 -0
- data/rbi/increase/models/simulations/inbound_check_deposit_accept_params.rbi +48 -0
- data/rbi/increase/models/transaction.rbi +60 -0
- data/rbi/increase/models.rbi +50 -0
- data/rbi/increase/resources/cards.rbi +17 -0
- data/rbi/increase/resources/digital_wallet_token_requests.rbi +52 -0
- data/rbi/increase/resources/digital_wallet_tokens.rbi +21 -0
- data/rbi/increase/resources/inbound_real_time_payments_requests_for_payment.rbi +62 -0
- data/rbi/increase/resources/physical_check_batches.rbi +66 -0
- data/rbi/increase/resources/real_time_payments_requests_for_payment.rbi +127 -0
- data/rbi/increase/resources/simulations/fednow_transfers.rbi +34 -0
- data/rbi/increase/resources/simulations/inbound_check_deposits.rbi +16 -0
- data/rbi/increase/resources/simulations.rbi +3 -0
- data/sig/increase/client.rbs +8 -0
- data/sig/increase/models/ach_transfer.rbs +4 -4
- data/sig/increase/models/beneficial_owner_create_params.rbs +1 -1
- data/sig/increase/models/beneficial_owner_update_params.rbs +1 -1
- data/sig/increase/models/card_create_details_token_params.rbs +23 -0
- data/sig/increase/models/card_details_token.rbs +40 -0
- data/sig/increase/models/card_payment.rbs +23 -0
- data/sig/increase/models/declined_transaction.rbs +4 -0
- data/sig/increase/models/digital_wallet_token.rbs +36 -3
- data/sig/increase/models/digital_wallet_token_request.rbs +260 -0
- data/sig/increase/models/digital_wallet_token_request_list_params.rbs +86 -0
- data/sig/increase/models/digital_wallet_token_request_retrieve_params.rbs +24 -0
- data/sig/increase/models/digital_wallet_token_transition_params.rbs +48 -0
- data/sig/increase/models/entity.rbs +25 -6
- data/sig/increase/models/entity_beneficial_owner.rbs +1 -1
- data/sig/increase/models/entity_create_params.rbs +1 -1
- data/sig/increase/models/export.rbs +28 -28
- data/sig/increase/models/export_create_params.rbs +22 -22
- data/sig/increase/models/export_list_params.rbs +28 -28
- data/sig/increase/models/inbound_real_time_payments_request_for_payment.rbs +200 -0
- data/sig/increase/models/inbound_real_time_payments_requests_for_payment_list_params.rbs +93 -0
- data/sig/increase/models/inbound_real_time_payments_requests_for_payment_retrieve_params.rbs +24 -0
- data/sig/increase/models/inbound_wire_transfer.rbs +5 -0
- data/sig/increase/models/physical_check_batch.rbs +193 -0
- data/sig/increase/models/physical_check_batch_cancel_params.rbs +24 -0
- data/sig/increase/models/physical_check_batch_complete_params.rbs +24 -0
- data/sig/increase/models/physical_check_batch_create_params.rbs +156 -0
- data/sig/increase/models/real_time_decision.rbs +14 -2
- data/sig/increase/models/real_time_decision_action_params.rbs +4 -0
- data/sig/increase/models/real_time_payments_request_for_payment.rbs +513 -0
- data/sig/increase/models/real_time_payments_requests_for_payment_cancel_params.rbs +66 -0
- data/sig/increase/models/real_time_payments_requests_for_payment_create_params.rbs +149 -0
- data/sig/increase/models/real_time_payments_requests_for_payment_list_params.rbs +93 -0
- data/sig/increase/models/real_time_payments_requests_for_payment_retrieve_params.rbs +24 -0
- data/sig/increase/models/simulations/digital_wallet_token_request_create_response.rbs +12 -0
- data/sig/increase/models/simulations/entity_update_validation_params.rbs +4 -0
- data/sig/increase/models/simulations/fednow_transfer_complete_params.rbs +122 -0
- data/sig/increase/models/simulations/inbound_check_deposit_accept_params.rbs +26 -0
- data/sig/increase/models/transaction.rbs +24 -0
- data/sig/increase/models.rbs +36 -0
- data/sig/increase/resources/cards.rbs +5 -0
- data/sig/increase/resources/digital_wallet_token_requests.rbs +20 -0
- data/sig/increase/resources/digital_wallet_tokens.rbs +6 -0
- data/sig/increase/resources/inbound_real_time_payments_requests_for_payment.rbs +21 -0
- data/sig/increase/resources/physical_check_batches.rbs +24 -0
- data/sig/increase/resources/real_time_payments_requests_for_payment.rbs +41 -0
- data/sig/increase/resources/simulations/fednow_transfers.rbs +15 -0
- data/sig/increase/resources/simulations/inbound_check_deposits.rbs +5 -0
- data/sig/increase/resources/simulations.rbs +2 -0
- metadata +77 -2
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Increase
|
|
4
|
+
module Models
|
|
5
|
+
class InboundRealTimePaymentsRequestsForPaymentListParams < Increase::Internal::Type::BaseModel
|
|
6
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
|
7
|
+
include Increase::Internal::Type::RequestParameters
|
|
8
|
+
|
|
9
|
+
OrHash =
|
|
10
|
+
T.type_alias do
|
|
11
|
+
T.any(
|
|
12
|
+
Increase::InboundRealTimePaymentsRequestsForPaymentListParams,
|
|
13
|
+
Increase::Internal::AnyHash
|
|
14
|
+
)
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
# Filter Inbound Real-Time Payments Requests for Payment to those belonging to the
|
|
18
|
+
# specified Account.
|
|
19
|
+
sig { returns(T.nilable(String)) }
|
|
20
|
+
attr_reader :account_id
|
|
21
|
+
|
|
22
|
+
sig { params(account_id: String).void }
|
|
23
|
+
attr_writer :account_id
|
|
24
|
+
|
|
25
|
+
# Filter Inbound Real-Time Payments Requests for Payment to ones belonging to the
|
|
26
|
+
# specified Account Number.
|
|
27
|
+
sig { returns(T.nilable(String)) }
|
|
28
|
+
attr_reader :account_number_id
|
|
29
|
+
|
|
30
|
+
sig { params(account_number_id: String).void }
|
|
31
|
+
attr_writer :account_number_id
|
|
32
|
+
|
|
33
|
+
sig do
|
|
34
|
+
returns(
|
|
35
|
+
T.nilable(
|
|
36
|
+
Increase::InboundRealTimePaymentsRequestsForPaymentListParams::CreatedAt
|
|
37
|
+
)
|
|
38
|
+
)
|
|
39
|
+
end
|
|
40
|
+
attr_reader :created_at
|
|
41
|
+
|
|
42
|
+
sig do
|
|
43
|
+
params(
|
|
44
|
+
created_at:
|
|
45
|
+
Increase::InboundRealTimePaymentsRequestsForPaymentListParams::CreatedAt::OrHash
|
|
46
|
+
).void
|
|
47
|
+
end
|
|
48
|
+
attr_writer :created_at
|
|
49
|
+
|
|
50
|
+
# Return the page of entries after this one.
|
|
51
|
+
sig { returns(T.nilable(String)) }
|
|
52
|
+
attr_reader :cursor
|
|
53
|
+
|
|
54
|
+
sig { params(cursor: String).void }
|
|
55
|
+
attr_writer :cursor
|
|
56
|
+
|
|
57
|
+
# Limit the size of the list that is returned. The default (and maximum) is 100
|
|
58
|
+
# objects.
|
|
59
|
+
#
|
|
60
|
+
# Defaults to `100`.
|
|
61
|
+
sig { returns(T.nilable(Integer)) }
|
|
62
|
+
attr_reader :limit
|
|
63
|
+
|
|
64
|
+
sig { params(limit: Integer).void }
|
|
65
|
+
attr_writer :limit
|
|
66
|
+
|
|
67
|
+
sig do
|
|
68
|
+
params(
|
|
69
|
+
account_id: String,
|
|
70
|
+
account_number_id: String,
|
|
71
|
+
created_at:
|
|
72
|
+
Increase::InboundRealTimePaymentsRequestsForPaymentListParams::CreatedAt::OrHash,
|
|
73
|
+
cursor: String,
|
|
74
|
+
limit: Integer,
|
|
75
|
+
request_options: Increase::RequestOptions::OrHash
|
|
76
|
+
).returns(T.attached_class)
|
|
77
|
+
end
|
|
78
|
+
def self.new(
|
|
79
|
+
# Filter Inbound Real-Time Payments Requests for Payment to those belonging to the
|
|
80
|
+
# specified Account.
|
|
81
|
+
account_id: nil,
|
|
82
|
+
# Filter Inbound Real-Time Payments Requests for Payment to ones belonging to the
|
|
83
|
+
# specified Account Number.
|
|
84
|
+
account_number_id: nil,
|
|
85
|
+
created_at: nil,
|
|
86
|
+
# Return the page of entries after this one.
|
|
87
|
+
cursor: nil,
|
|
88
|
+
# Limit the size of the list that is returned. The default (and maximum) is 100
|
|
89
|
+
# objects.
|
|
90
|
+
#
|
|
91
|
+
# Defaults to `100`.
|
|
92
|
+
limit: nil,
|
|
93
|
+
request_options: {}
|
|
94
|
+
)
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
sig do
|
|
98
|
+
override.returns(
|
|
99
|
+
{
|
|
100
|
+
account_id: String,
|
|
101
|
+
account_number_id: String,
|
|
102
|
+
created_at:
|
|
103
|
+
Increase::InboundRealTimePaymentsRequestsForPaymentListParams::CreatedAt,
|
|
104
|
+
cursor: String,
|
|
105
|
+
limit: Integer,
|
|
106
|
+
request_options: Increase::RequestOptions
|
|
107
|
+
}
|
|
108
|
+
)
|
|
109
|
+
end
|
|
110
|
+
def to_hash
|
|
111
|
+
end
|
|
112
|
+
|
|
113
|
+
class CreatedAt < Increase::Internal::Type::BaseModel
|
|
114
|
+
OrHash =
|
|
115
|
+
T.type_alias do
|
|
116
|
+
T.any(
|
|
117
|
+
Increase::InboundRealTimePaymentsRequestsForPaymentListParams::CreatedAt,
|
|
118
|
+
Increase::Internal::AnyHash
|
|
119
|
+
)
|
|
120
|
+
end
|
|
121
|
+
|
|
122
|
+
# Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
|
|
123
|
+
# timestamp.
|
|
124
|
+
sig { returns(T.nilable(Time)) }
|
|
125
|
+
attr_reader :after
|
|
126
|
+
|
|
127
|
+
sig { params(after: Time).void }
|
|
128
|
+
attr_writer :after
|
|
129
|
+
|
|
130
|
+
# Return results before this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
|
|
131
|
+
# timestamp.
|
|
132
|
+
sig { returns(T.nilable(Time)) }
|
|
133
|
+
attr_reader :before
|
|
134
|
+
|
|
135
|
+
sig { params(before: Time).void }
|
|
136
|
+
attr_writer :before
|
|
137
|
+
|
|
138
|
+
# Return results on or after this
|
|
139
|
+
# [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
|
|
140
|
+
sig { returns(T.nilable(Time)) }
|
|
141
|
+
attr_reader :on_or_after
|
|
142
|
+
|
|
143
|
+
sig { params(on_or_after: Time).void }
|
|
144
|
+
attr_writer :on_or_after
|
|
145
|
+
|
|
146
|
+
# Return results on or before this
|
|
147
|
+
# [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
|
|
148
|
+
sig { returns(T.nilable(Time)) }
|
|
149
|
+
attr_reader :on_or_before
|
|
150
|
+
|
|
151
|
+
sig { params(on_or_before: Time).void }
|
|
152
|
+
attr_writer :on_or_before
|
|
153
|
+
|
|
154
|
+
sig do
|
|
155
|
+
params(
|
|
156
|
+
after: Time,
|
|
157
|
+
before: Time,
|
|
158
|
+
on_or_after: Time,
|
|
159
|
+
on_or_before: Time
|
|
160
|
+
).returns(T.attached_class)
|
|
161
|
+
end
|
|
162
|
+
def self.new(
|
|
163
|
+
# Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
|
|
164
|
+
# timestamp.
|
|
165
|
+
after: nil,
|
|
166
|
+
# Return results before this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
|
|
167
|
+
# timestamp.
|
|
168
|
+
before: nil,
|
|
169
|
+
# Return results on or after this
|
|
170
|
+
# [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
|
|
171
|
+
on_or_after: nil,
|
|
172
|
+
# Return results on or before this
|
|
173
|
+
# [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
|
|
174
|
+
on_or_before: nil
|
|
175
|
+
)
|
|
176
|
+
end
|
|
177
|
+
|
|
178
|
+
sig do
|
|
179
|
+
override.returns(
|
|
180
|
+
{ after: Time, before: Time, on_or_after: Time, on_or_before: Time }
|
|
181
|
+
)
|
|
182
|
+
end
|
|
183
|
+
def to_hash
|
|
184
|
+
end
|
|
185
|
+
end
|
|
186
|
+
end
|
|
187
|
+
end
|
|
188
|
+
end
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Increase
|
|
4
|
+
module Models
|
|
5
|
+
class InboundRealTimePaymentsRequestsForPaymentRetrieveParams < Increase::Internal::Type::BaseModel
|
|
6
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
|
7
|
+
include Increase::Internal::Type::RequestParameters
|
|
8
|
+
|
|
9
|
+
OrHash =
|
|
10
|
+
T.type_alias do
|
|
11
|
+
T.any(
|
|
12
|
+
Increase::InboundRealTimePaymentsRequestsForPaymentRetrieveParams,
|
|
13
|
+
Increase::Internal::AnyHash
|
|
14
|
+
)
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
# The identifier of the Inbound Real-Time Payments Request for Payment to get
|
|
18
|
+
# details for.
|
|
19
|
+
sig { returns(String) }
|
|
20
|
+
attr_accessor :inbound_real_time_payments_request_for_payment_id
|
|
21
|
+
|
|
22
|
+
sig do
|
|
23
|
+
params(
|
|
24
|
+
inbound_real_time_payments_request_for_payment_id: String,
|
|
25
|
+
request_options: Increase::RequestOptions::OrHash
|
|
26
|
+
).returns(T.attached_class)
|
|
27
|
+
end
|
|
28
|
+
def self.new(
|
|
29
|
+
# The identifier of the Inbound Real-Time Payments Request for Payment to get
|
|
30
|
+
# details for.
|
|
31
|
+
inbound_real_time_payments_request_for_payment_id:,
|
|
32
|
+
request_options: {}
|
|
33
|
+
)
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
sig do
|
|
37
|
+
override.returns(
|
|
38
|
+
{
|
|
39
|
+
inbound_real_time_payments_request_for_payment_id: String,
|
|
40
|
+
request_options: Increase::RequestOptions
|
|
41
|
+
}
|
|
42
|
+
)
|
|
43
|
+
end
|
|
44
|
+
def to_hash
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
@@ -100,6 +100,10 @@ module Increase
|
|
|
100
100
|
sig { returns(T.nilable(String)) }
|
|
101
101
|
attr_accessor :instructing_agent_routing_number
|
|
102
102
|
|
|
103
|
+
# A free-form instruction for the receiving bank set by the sender.
|
|
104
|
+
sig { returns(T.nilable(String)) }
|
|
105
|
+
attr_accessor :instruction_for_creditor_agent
|
|
106
|
+
|
|
103
107
|
# The sending bank's identifier for the wire transfer.
|
|
104
108
|
sig { returns(T.nilable(String)) }
|
|
105
109
|
attr_accessor :instruction_identification
|
|
@@ -167,6 +171,7 @@ module Increase
|
|
|
167
171
|
end_to_end_identification: T.nilable(String),
|
|
168
172
|
input_message_accountability_data: T.nilable(String),
|
|
169
173
|
instructing_agent_routing_number: T.nilable(String),
|
|
174
|
+
instruction_for_creditor_agent: T.nilable(String),
|
|
170
175
|
instruction_identification: T.nilable(String),
|
|
171
176
|
purpose: T.nilable(String),
|
|
172
177
|
reversal: T.nilable(Increase::InboundWireTransfer::Reversal::OrHash),
|
|
@@ -222,6 +227,8 @@ module Increase
|
|
|
222
227
|
# The American Bankers' Association (ABA) routing number of the bank that sent the
|
|
223
228
|
# wire.
|
|
224
229
|
instructing_agent_routing_number:,
|
|
230
|
+
# A free-form instruction for the receiving bank set by the sender.
|
|
231
|
+
instruction_for_creditor_agent:,
|
|
225
232
|
# The sending bank's identifier for the wire transfer.
|
|
226
233
|
instruction_identification:,
|
|
227
234
|
# The reason for the wire transfer, as set by the sender.
|
|
@@ -267,6 +274,7 @@ module Increase
|
|
|
267
274
|
end_to_end_identification: T.nilable(String),
|
|
268
275
|
input_message_accountability_data: T.nilable(String),
|
|
269
276
|
instructing_agent_routing_number: T.nilable(String),
|
|
277
|
+
instruction_for_creditor_agent: T.nilable(String),
|
|
270
278
|
instruction_identification: T.nilable(String),
|
|
271
279
|
purpose: T.nilable(String),
|
|
272
280
|
reversal: T.nilable(Increase::InboundWireTransfer::Reversal),
|
|
@@ -0,0 +1,382 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Increase
|
|
4
|
+
module Models
|
|
5
|
+
class PhysicalCheckBatch < Increase::Internal::Type::BaseModel
|
|
6
|
+
OrHash =
|
|
7
|
+
T.type_alias do
|
|
8
|
+
T.any(Increase::PhysicalCheckBatch, Increase::Internal::AnyHash)
|
|
9
|
+
end
|
|
10
|
+
|
|
11
|
+
# The Physical Check Batch's identifier.
|
|
12
|
+
sig { returns(String) }
|
|
13
|
+
attr_accessor :id
|
|
14
|
+
|
|
15
|
+
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
16
|
+
# the Physical Check Batch was created.
|
|
17
|
+
sig { returns(Time) }
|
|
18
|
+
attr_accessor :created_at
|
|
19
|
+
|
|
20
|
+
# The idempotency key you chose for this object. This value is unique across
|
|
21
|
+
# Increase and is used to ensure that a request is only processed once. Learn more
|
|
22
|
+
# about [idempotency](https://increase.com/documentation/idempotency-keys).
|
|
23
|
+
sig { returns(T.nilable(String)) }
|
|
24
|
+
attr_accessor :idempotency_key
|
|
25
|
+
|
|
26
|
+
# The mailing address of the parcel.
|
|
27
|
+
sig { returns(Increase::PhysicalCheckBatch::MailingAddress) }
|
|
28
|
+
attr_reader :mailing_address
|
|
29
|
+
|
|
30
|
+
sig do
|
|
31
|
+
params(
|
|
32
|
+
mailing_address: Increase::PhysicalCheckBatch::MailingAddress::OrHash
|
|
33
|
+
).void
|
|
34
|
+
end
|
|
35
|
+
attr_writer :mailing_address
|
|
36
|
+
|
|
37
|
+
# The return address of the parcel.
|
|
38
|
+
sig { returns(Increase::PhysicalCheckBatch::ReturnAddress) }
|
|
39
|
+
attr_reader :return_address
|
|
40
|
+
|
|
41
|
+
sig do
|
|
42
|
+
params(
|
|
43
|
+
return_address: Increase::PhysicalCheckBatch::ReturnAddress::OrHash
|
|
44
|
+
).void
|
|
45
|
+
end
|
|
46
|
+
attr_writer :return_address
|
|
47
|
+
|
|
48
|
+
# The shipping method for the parcel.
|
|
49
|
+
sig do
|
|
50
|
+
returns(Increase::PhysicalCheckBatch::ShippingMethod::TaggedSymbol)
|
|
51
|
+
end
|
|
52
|
+
attr_accessor :shipping_method
|
|
53
|
+
|
|
54
|
+
# The lifecycle status of the Physical Check Batch.
|
|
55
|
+
sig { returns(Increase::PhysicalCheckBatch::Status::TaggedSymbol) }
|
|
56
|
+
attr_accessor :status
|
|
57
|
+
|
|
58
|
+
# A constant representing the object's type. For this resource it will always be
|
|
59
|
+
# `physical_check_batch`.
|
|
60
|
+
sig { returns(Increase::PhysicalCheckBatch::Type::TaggedSymbol) }
|
|
61
|
+
attr_accessor :type
|
|
62
|
+
|
|
63
|
+
# Physical Check Batches are groups of checks that are mailed in the same parcel.
|
|
64
|
+
# Tracking updates are propagated to every related Check Transfer.
|
|
65
|
+
sig do
|
|
66
|
+
params(
|
|
67
|
+
id: String,
|
|
68
|
+
created_at: Time,
|
|
69
|
+
idempotency_key: T.nilable(String),
|
|
70
|
+
mailing_address: Increase::PhysicalCheckBatch::MailingAddress::OrHash,
|
|
71
|
+
return_address: Increase::PhysicalCheckBatch::ReturnAddress::OrHash,
|
|
72
|
+
shipping_method:
|
|
73
|
+
Increase::PhysicalCheckBatch::ShippingMethod::OrSymbol,
|
|
74
|
+
status: Increase::PhysicalCheckBatch::Status::OrSymbol,
|
|
75
|
+
type: Increase::PhysicalCheckBatch::Type::OrSymbol
|
|
76
|
+
).returns(T.attached_class)
|
|
77
|
+
end
|
|
78
|
+
def self.new(
|
|
79
|
+
# The Physical Check Batch's identifier.
|
|
80
|
+
id:,
|
|
81
|
+
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
82
|
+
# the Physical Check Batch was created.
|
|
83
|
+
created_at:,
|
|
84
|
+
# The idempotency key you chose for this object. This value is unique across
|
|
85
|
+
# Increase and is used to ensure that a request is only processed once. Learn more
|
|
86
|
+
# about [idempotency](https://increase.com/documentation/idempotency-keys).
|
|
87
|
+
idempotency_key:,
|
|
88
|
+
# The mailing address of the parcel.
|
|
89
|
+
mailing_address:,
|
|
90
|
+
# The return address of the parcel.
|
|
91
|
+
return_address:,
|
|
92
|
+
# The shipping method for the parcel.
|
|
93
|
+
shipping_method:,
|
|
94
|
+
# The lifecycle status of the Physical Check Batch.
|
|
95
|
+
status:,
|
|
96
|
+
# A constant representing the object's type. For this resource it will always be
|
|
97
|
+
# `physical_check_batch`.
|
|
98
|
+
type:
|
|
99
|
+
)
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
sig do
|
|
103
|
+
override.returns(
|
|
104
|
+
{
|
|
105
|
+
id: String,
|
|
106
|
+
created_at: Time,
|
|
107
|
+
idempotency_key: T.nilable(String),
|
|
108
|
+
mailing_address: Increase::PhysicalCheckBatch::MailingAddress,
|
|
109
|
+
return_address: Increase::PhysicalCheckBatch::ReturnAddress,
|
|
110
|
+
shipping_method:
|
|
111
|
+
Increase::PhysicalCheckBatch::ShippingMethod::TaggedSymbol,
|
|
112
|
+
status: Increase::PhysicalCheckBatch::Status::TaggedSymbol,
|
|
113
|
+
type: Increase::PhysicalCheckBatch::Type::TaggedSymbol
|
|
114
|
+
}
|
|
115
|
+
)
|
|
116
|
+
end
|
|
117
|
+
def to_hash
|
|
118
|
+
end
|
|
119
|
+
|
|
120
|
+
class MailingAddress < Increase::Internal::Type::BaseModel
|
|
121
|
+
OrHash =
|
|
122
|
+
T.type_alias do
|
|
123
|
+
T.any(
|
|
124
|
+
Increase::PhysicalCheckBatch::MailingAddress,
|
|
125
|
+
Increase::Internal::AnyHash
|
|
126
|
+
)
|
|
127
|
+
end
|
|
128
|
+
|
|
129
|
+
# The city of the address.
|
|
130
|
+
sig { returns(String) }
|
|
131
|
+
attr_accessor :city
|
|
132
|
+
|
|
133
|
+
# The first line of the address.
|
|
134
|
+
sig { returns(String) }
|
|
135
|
+
attr_accessor :line1
|
|
136
|
+
|
|
137
|
+
# The second line of the address.
|
|
138
|
+
sig { returns(T.nilable(String)) }
|
|
139
|
+
attr_accessor :line2
|
|
140
|
+
|
|
141
|
+
# The name component of the address.
|
|
142
|
+
sig { returns(String) }
|
|
143
|
+
attr_accessor :name
|
|
144
|
+
|
|
145
|
+
# The phone number that is used for delivery issues.
|
|
146
|
+
sig { returns(T.nilable(String)) }
|
|
147
|
+
attr_accessor :phone
|
|
148
|
+
|
|
149
|
+
# The postal code of the address.
|
|
150
|
+
sig { returns(String) }
|
|
151
|
+
attr_accessor :postal_code
|
|
152
|
+
|
|
153
|
+
# The state of the address.
|
|
154
|
+
sig { returns(String) }
|
|
155
|
+
attr_accessor :state
|
|
156
|
+
|
|
157
|
+
# The mailing address of the parcel.
|
|
158
|
+
sig do
|
|
159
|
+
params(
|
|
160
|
+
city: String,
|
|
161
|
+
line1: String,
|
|
162
|
+
line2: T.nilable(String),
|
|
163
|
+
name: String,
|
|
164
|
+
phone: T.nilable(String),
|
|
165
|
+
postal_code: String,
|
|
166
|
+
state: String
|
|
167
|
+
).returns(T.attached_class)
|
|
168
|
+
end
|
|
169
|
+
def self.new(
|
|
170
|
+
# The city of the address.
|
|
171
|
+
city:,
|
|
172
|
+
# The first line of the address.
|
|
173
|
+
line1:,
|
|
174
|
+
# The second line of the address.
|
|
175
|
+
line2:,
|
|
176
|
+
# The name component of the address.
|
|
177
|
+
name:,
|
|
178
|
+
# The phone number that is used for delivery issues.
|
|
179
|
+
phone:,
|
|
180
|
+
# The postal code of the address.
|
|
181
|
+
postal_code:,
|
|
182
|
+
# The state of the address.
|
|
183
|
+
state:
|
|
184
|
+
)
|
|
185
|
+
end
|
|
186
|
+
|
|
187
|
+
sig do
|
|
188
|
+
override.returns(
|
|
189
|
+
{
|
|
190
|
+
city: String,
|
|
191
|
+
line1: String,
|
|
192
|
+
line2: T.nilable(String),
|
|
193
|
+
name: String,
|
|
194
|
+
phone: T.nilable(String),
|
|
195
|
+
postal_code: String,
|
|
196
|
+
state: String
|
|
197
|
+
}
|
|
198
|
+
)
|
|
199
|
+
end
|
|
200
|
+
def to_hash
|
|
201
|
+
end
|
|
202
|
+
end
|
|
203
|
+
|
|
204
|
+
class ReturnAddress < Increase::Internal::Type::BaseModel
|
|
205
|
+
OrHash =
|
|
206
|
+
T.type_alias do
|
|
207
|
+
T.any(
|
|
208
|
+
Increase::PhysicalCheckBatch::ReturnAddress,
|
|
209
|
+
Increase::Internal::AnyHash
|
|
210
|
+
)
|
|
211
|
+
end
|
|
212
|
+
|
|
213
|
+
# The city of the return address.
|
|
214
|
+
sig { returns(String) }
|
|
215
|
+
attr_accessor :city
|
|
216
|
+
|
|
217
|
+
# The first line of the return address.
|
|
218
|
+
sig { returns(String) }
|
|
219
|
+
attr_accessor :line1
|
|
220
|
+
|
|
221
|
+
# The second line of the return address.
|
|
222
|
+
sig { returns(T.nilable(String)) }
|
|
223
|
+
attr_accessor :line2
|
|
224
|
+
|
|
225
|
+
# The name component of the return address.
|
|
226
|
+
sig { returns(String) }
|
|
227
|
+
attr_accessor :name
|
|
228
|
+
|
|
229
|
+
# The phone number that is used for delivery issues.
|
|
230
|
+
sig { returns(T.nilable(String)) }
|
|
231
|
+
attr_accessor :phone
|
|
232
|
+
|
|
233
|
+
# The postal code of the return address.
|
|
234
|
+
sig { returns(String) }
|
|
235
|
+
attr_accessor :postal_code
|
|
236
|
+
|
|
237
|
+
# The state of the return address.
|
|
238
|
+
sig { returns(String) }
|
|
239
|
+
attr_accessor :state
|
|
240
|
+
|
|
241
|
+
# The return address of the parcel.
|
|
242
|
+
sig do
|
|
243
|
+
params(
|
|
244
|
+
city: String,
|
|
245
|
+
line1: String,
|
|
246
|
+
line2: T.nilable(String),
|
|
247
|
+
name: String,
|
|
248
|
+
phone: T.nilable(String),
|
|
249
|
+
postal_code: String,
|
|
250
|
+
state: String
|
|
251
|
+
).returns(T.attached_class)
|
|
252
|
+
end
|
|
253
|
+
def self.new(
|
|
254
|
+
# The city of the return address.
|
|
255
|
+
city:,
|
|
256
|
+
# The first line of the return address.
|
|
257
|
+
line1:,
|
|
258
|
+
# The second line of the return address.
|
|
259
|
+
line2:,
|
|
260
|
+
# The name component of the return address.
|
|
261
|
+
name:,
|
|
262
|
+
# The phone number that is used for delivery issues.
|
|
263
|
+
phone:,
|
|
264
|
+
# The postal code of the return address.
|
|
265
|
+
postal_code:,
|
|
266
|
+
# The state of the return address.
|
|
267
|
+
state:
|
|
268
|
+
)
|
|
269
|
+
end
|
|
270
|
+
|
|
271
|
+
sig do
|
|
272
|
+
override.returns(
|
|
273
|
+
{
|
|
274
|
+
city: String,
|
|
275
|
+
line1: String,
|
|
276
|
+
line2: T.nilable(String),
|
|
277
|
+
name: String,
|
|
278
|
+
phone: T.nilable(String),
|
|
279
|
+
postal_code: String,
|
|
280
|
+
state: String
|
|
281
|
+
}
|
|
282
|
+
)
|
|
283
|
+
end
|
|
284
|
+
def to_hash
|
|
285
|
+
end
|
|
286
|
+
end
|
|
287
|
+
|
|
288
|
+
# The shipping method for the parcel.
|
|
289
|
+
module ShippingMethod
|
|
290
|
+
extend Increase::Internal::Type::Enum
|
|
291
|
+
|
|
292
|
+
TaggedSymbol =
|
|
293
|
+
T.type_alias do
|
|
294
|
+
T.all(Symbol, Increase::PhysicalCheckBatch::ShippingMethod)
|
|
295
|
+
end
|
|
296
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
297
|
+
|
|
298
|
+
# USPS First Class
|
|
299
|
+
USPS_FIRST_CLASS =
|
|
300
|
+
T.let(
|
|
301
|
+
:usps_first_class,
|
|
302
|
+
Increase::PhysicalCheckBatch::ShippingMethod::TaggedSymbol
|
|
303
|
+
)
|
|
304
|
+
|
|
305
|
+
# FedEx Overnight
|
|
306
|
+
FEDEX_OVERNIGHT =
|
|
307
|
+
T.let(
|
|
308
|
+
:fedex_overnight,
|
|
309
|
+
Increase::PhysicalCheckBatch::ShippingMethod::TaggedSymbol
|
|
310
|
+
)
|
|
311
|
+
|
|
312
|
+
sig do
|
|
313
|
+
override.returns(
|
|
314
|
+
T::Array[Increase::PhysicalCheckBatch::ShippingMethod::TaggedSymbol]
|
|
315
|
+
)
|
|
316
|
+
end
|
|
317
|
+
def self.values
|
|
318
|
+
end
|
|
319
|
+
end
|
|
320
|
+
|
|
321
|
+
# The lifecycle status of the Physical Check Batch.
|
|
322
|
+
module Status
|
|
323
|
+
extend Increase::Internal::Type::Enum
|
|
324
|
+
|
|
325
|
+
TaggedSymbol =
|
|
326
|
+
T.type_alias { T.all(Symbol, Increase::PhysicalCheckBatch::Status) }
|
|
327
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
328
|
+
|
|
329
|
+
# The batch is pending completion and is open to accepting new checks.
|
|
330
|
+
PENDING =
|
|
331
|
+
T.let(:pending, Increase::PhysicalCheckBatch::Status::TaggedSymbol)
|
|
332
|
+
|
|
333
|
+
# The batch has been completed.
|
|
334
|
+
COMPLETED =
|
|
335
|
+
T.let(:completed, Increase::PhysicalCheckBatch::Status::TaggedSymbol)
|
|
336
|
+
|
|
337
|
+
# The batch and all checks related to it have been canceled.
|
|
338
|
+
CANCELED =
|
|
339
|
+
T.let(:canceled, Increase::PhysicalCheckBatch::Status::TaggedSymbol)
|
|
340
|
+
|
|
341
|
+
# The batch requires attention from an Increase operator.
|
|
342
|
+
REQUIRES_ATTENTION =
|
|
343
|
+
T.let(
|
|
344
|
+
:requires_attention,
|
|
345
|
+
Increase::PhysicalCheckBatch::Status::TaggedSymbol
|
|
346
|
+
)
|
|
347
|
+
|
|
348
|
+
sig do
|
|
349
|
+
override.returns(
|
|
350
|
+
T::Array[Increase::PhysicalCheckBatch::Status::TaggedSymbol]
|
|
351
|
+
)
|
|
352
|
+
end
|
|
353
|
+
def self.values
|
|
354
|
+
end
|
|
355
|
+
end
|
|
356
|
+
|
|
357
|
+
# A constant representing the object's type. For this resource it will always be
|
|
358
|
+
# `physical_check_batch`.
|
|
359
|
+
module Type
|
|
360
|
+
extend Increase::Internal::Type::Enum
|
|
361
|
+
|
|
362
|
+
TaggedSymbol =
|
|
363
|
+
T.type_alias { T.all(Symbol, Increase::PhysicalCheckBatch::Type) }
|
|
364
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
365
|
+
|
|
366
|
+
PHYSICAL_CHECK_BATCH =
|
|
367
|
+
T.let(
|
|
368
|
+
:physical_check_batch,
|
|
369
|
+
Increase::PhysicalCheckBatch::Type::TaggedSymbol
|
|
370
|
+
)
|
|
371
|
+
|
|
372
|
+
sig do
|
|
373
|
+
override.returns(
|
|
374
|
+
T::Array[Increase::PhysicalCheckBatch::Type::TaggedSymbol]
|
|
375
|
+
)
|
|
376
|
+
end
|
|
377
|
+
def self.values
|
|
378
|
+
end
|
|
379
|
+
end
|
|
380
|
+
end
|
|
381
|
+
end
|
|
382
|
+
end
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Increase
|
|
4
|
+
module Models
|
|
5
|
+
class PhysicalCheckBatchCancelParams < Increase::Internal::Type::BaseModel
|
|
6
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
|
7
|
+
include Increase::Internal::Type::RequestParameters
|
|
8
|
+
|
|
9
|
+
OrHash =
|
|
10
|
+
T.type_alias do
|
|
11
|
+
T.any(
|
|
12
|
+
Increase::PhysicalCheckBatchCancelParams,
|
|
13
|
+
Increase::Internal::AnyHash
|
|
14
|
+
)
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
# The identifier of the pending Physical Check Batch to cancel.
|
|
18
|
+
sig { returns(String) }
|
|
19
|
+
attr_accessor :physical_check_batch_id
|
|
20
|
+
|
|
21
|
+
sig do
|
|
22
|
+
params(
|
|
23
|
+
physical_check_batch_id: String,
|
|
24
|
+
request_options: Increase::RequestOptions::OrHash
|
|
25
|
+
).returns(T.attached_class)
|
|
26
|
+
end
|
|
27
|
+
def self.new(
|
|
28
|
+
# The identifier of the pending Physical Check Batch to cancel.
|
|
29
|
+
physical_check_batch_id:,
|
|
30
|
+
request_options: {}
|
|
31
|
+
)
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
sig do
|
|
35
|
+
override.returns(
|
|
36
|
+
{
|
|
37
|
+
physical_check_batch_id: String,
|
|
38
|
+
request_options: Increase::RequestOptions
|
|
39
|
+
}
|
|
40
|
+
)
|
|
41
|
+
end
|
|
42
|
+
def to_hash
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|