increase 1.226.0 → 1.227.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4c50e719a5ca4e92a9e8f7359f7384b64f67f0ef4d20b59a21ef01277c8f68ea
4
- data.tar.gz: b90780f21b923f49a1a8c257bfab9f955ea36359626974f5faf8ef5c2be65516
3
+ metadata.gz: 9b51615a19dc35f554d80c9de700cbca2e8684a53e7c9dfa23d3d7d013cb5b1c
4
+ data.tar.gz: abbde54dca30a8077d3b74039a74417988cec755c08e418319ae848952294edf
5
5
  SHA512:
6
- metadata.gz: 3fae4a94183a1d47c309c53b542c6a0e06d71afaafa61243c1c6d7c32abb49da5e914e2159e8d636cf3aa6c898c42d67034fd5d2c7cf9971d201e9da621baf85
7
- data.tar.gz: d96ff098b229e62e1886492cd8d32e714222cdd0cddb5a184ed4d109e737ac49ff5004d94eb6b3f81c878d2f03793c2553500890d17a602454e5939b353d5ec1
6
+ metadata.gz: 14d26e255e7946fa37a3ecd0a0b2a5a89be4244ac63baffd813edde343d2c7a0fde2496da15112123bc67109fad3f582efac6ba7c17b27e14d0ed0b65eb76258
7
+ data.tar.gz: 572028e5ab2407c26958d6e5855955a914e20a9f43488cc17c93eca8b955ca1013c82d32189d054d3c00dad03362638a59997acc0758e3b3fcad7c7b8ccd008d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.227.0 (2026-03-05)
4
+
5
+ Full Changelog: [v1.226.0...v1.227.0](https://github.com/Increase/increase-ruby/compare/v1.226.0...v1.227.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([d0b15ba](https://github.com/Increase/increase-ruby/commit/d0b15ba11fd48ca1638a71a5b4d2304570ba0b98))
10
+
3
11
  ## 1.226.0 (2026-03-05)
4
12
 
5
13
  Full Changelog: [v1.225.0...v1.226.0](https://github.com/Increase/increase-ruby/compare/v1.225.0...v1.226.0)
data/README.md CHANGED
@@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application
15
15
  <!-- x-release-please-start-version -->
16
16
 
17
17
  ```ruby
18
- gem "increase", "~> 1.226.0"
18
+ gem "increase", "~> 1.227.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -46,7 +46,12 @@ module Increase
46
46
  # @return [Integer, nil]
47
47
  optional :limit, Integer
48
48
 
49
- # @!method initialize(account_id: nil, created_at: nil, cursor: nil, external_account_id: nil, idempotency_key: nil, limit: nil, request_options: {})
49
+ # @!attribute status
50
+ #
51
+ # @return [Increase::Models::WireTransferListParams::Status, nil]
52
+ optional :status, -> { Increase::WireTransferListParams::Status }
53
+
54
+ # @!method initialize(account_id: nil, created_at: nil, cursor: nil, external_account_id: nil, idempotency_key: nil, limit: nil, status: nil, request_options: {})
50
55
  # Some parameter documentations has been truncated, see
51
56
  # {Increase::Models::WireTransferListParams} for more details.
52
57
  #
@@ -62,6 +67,8 @@ module Increase
62
67
  #
63
68
  # @param limit [Integer] Limit the size of the list that is returned. The default (and maximum) is 100 ob
64
69
  #
70
+ # @param status [Increase::Models::WireTransferListParams::Status]
71
+ #
65
72
  # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
66
73
 
67
74
  class CreatedAt < Increase::Internal::Type::BaseModel
@@ -105,6 +112,57 @@ module Increase
105
112
  #
106
113
  # @param on_or_before [Time] Return results on or before this [ISO 8601](https://en.wikipedia.org/wiki/ISO_86
107
114
  end
115
+
116
+ class Status < Increase::Internal::Type::BaseModel
117
+ # @!attribute in_
118
+ # Return results whose value is in the provided list. For GET requests, this
119
+ # should be encoded as a comma-delimited string, such as `?in=one,two,three`.
120
+ #
121
+ # @return [Array<Symbol, Increase::Models::WireTransferListParams::Status::In>, nil]
122
+ optional :in_,
123
+ -> { Increase::Internal::Type::ArrayOf[enum: Increase::WireTransferListParams::Status::In] },
124
+ api_name: :in
125
+
126
+ # @!method initialize(in_: nil)
127
+ # Some parameter documentations has been truncated, see
128
+ # {Increase::Models::WireTransferListParams::Status} for more details.
129
+ #
130
+ # @param in_ [Array<Symbol, Increase::Models::WireTransferListParams::Status::In>] Return results whose value is in the provided list. For GET requests, this shoul
131
+
132
+ module In
133
+ extend Increase::Internal::Type::Enum
134
+
135
+ # The transfer is pending approval.
136
+ PENDING_APPROVAL = :pending_approval
137
+
138
+ # The transfer has been canceled.
139
+ CANCELED = :canceled
140
+
141
+ # The transfer is pending review by Increase.
142
+ PENDING_REVIEWING = :pending_reviewing
143
+
144
+ # The transfer has been rejected by Increase.
145
+ REJECTED = :rejected
146
+
147
+ # The transfer requires attention from an Increase operator.
148
+ REQUIRES_ATTENTION = :requires_attention
149
+
150
+ # The transfer is pending creation.
151
+ PENDING_CREATING = :pending_creating
152
+
153
+ # The transfer has been reversed.
154
+ REVERSED = :reversed
155
+
156
+ # The transfer has been submitted to Fedwire.
157
+ SUBMITTED = :submitted
158
+
159
+ # The transfer has been acknowledged by Fedwire and can be considered complete.
160
+ COMPLETE = :complete
161
+
162
+ # @!method self.values
163
+ # @return [Array<Symbol>]
164
+ end
165
+ end
108
166
  end
109
167
  end
110
168
  end
@@ -73,7 +73,7 @@ module Increase
73
73
  #
74
74
  # List Wire Transfers
75
75
  #
76
- # @overload list(account_id: nil, created_at: nil, cursor: nil, external_account_id: nil, idempotency_key: nil, limit: nil, request_options: {})
76
+ # @overload list(account_id: nil, created_at: nil, cursor: nil, external_account_id: nil, idempotency_key: nil, limit: nil, status: nil, request_options: {})
77
77
  #
78
78
  # @param account_id [String] Filter Wire Transfers to those belonging to the specified Account.
79
79
  #
@@ -87,6 +87,8 @@ module Increase
87
87
  #
88
88
  # @param limit [Integer] Limit the size of the list that is returned. The default (and maximum) is 100 ob
89
89
  #
90
+ # @param status [Increase::Models::WireTransferListParams::Status]
91
+ #
90
92
  # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil]
91
93
  #
92
94
  # @return [Increase::Internal::Page<Increase::Models::WireTransfer>]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.226.0"
4
+ VERSION = "1.227.0"
5
5
  end
@@ -60,6 +60,14 @@ module Increase
60
60
  sig { params(limit: Integer).void }
61
61
  attr_writer :limit
62
62
 
63
+ sig { returns(T.nilable(Increase::WireTransferListParams::Status)) }
64
+ attr_reader :status
65
+
66
+ sig do
67
+ params(status: Increase::WireTransferListParams::Status::OrHash).void
68
+ end
69
+ attr_writer :status
70
+
63
71
  sig do
64
72
  params(
65
73
  account_id: String,
@@ -68,6 +76,7 @@ module Increase
68
76
  external_account_id: String,
69
77
  idempotency_key: String,
70
78
  limit: Integer,
79
+ status: Increase::WireTransferListParams::Status::OrHash,
71
80
  request_options: Increase::RequestOptions::OrHash
72
81
  ).returns(T.attached_class)
73
82
  end
@@ -87,6 +96,7 @@ module Increase
87
96
  # Limit the size of the list that is returned. The default (and maximum) is 100
88
97
  # objects.
89
98
  limit: nil,
99
+ status: nil,
90
100
  request_options: {}
91
101
  )
92
102
  end
@@ -100,6 +110,7 @@ module Increase
100
110
  external_account_id: String,
101
111
  idempotency_key: String,
102
112
  limit: Integer,
113
+ status: Increase::WireTransferListParams::Status,
103
114
  request_options: Increase::RequestOptions
104
115
  }
105
116
  )
@@ -180,6 +191,142 @@ module Increase
180
191
  def to_hash
181
192
  end
182
193
  end
194
+
195
+ class Status < Increase::Internal::Type::BaseModel
196
+ OrHash =
197
+ T.type_alias do
198
+ T.any(
199
+ Increase::WireTransferListParams::Status,
200
+ Increase::Internal::AnyHash
201
+ )
202
+ end
203
+
204
+ # Return results whose value is in the provided list. For GET requests, this
205
+ # should be encoded as a comma-delimited string, such as `?in=one,two,three`.
206
+ sig do
207
+ returns(
208
+ T.nilable(
209
+ T::Array[Increase::WireTransferListParams::Status::In::OrSymbol]
210
+ )
211
+ )
212
+ end
213
+ attr_reader :in_
214
+
215
+ sig do
216
+ params(
217
+ in_:
218
+ T::Array[Increase::WireTransferListParams::Status::In::OrSymbol]
219
+ ).void
220
+ end
221
+ attr_writer :in_
222
+
223
+ sig do
224
+ params(
225
+ in_:
226
+ T::Array[Increase::WireTransferListParams::Status::In::OrSymbol]
227
+ ).returns(T.attached_class)
228
+ end
229
+ def self.new(
230
+ # Return results whose value is in the provided list. For GET requests, this
231
+ # should be encoded as a comma-delimited string, such as `?in=one,two,three`.
232
+ in_: nil
233
+ )
234
+ end
235
+
236
+ sig do
237
+ override.returns(
238
+ {
239
+ in_:
240
+ T::Array[Increase::WireTransferListParams::Status::In::OrSymbol]
241
+ }
242
+ )
243
+ end
244
+ def to_hash
245
+ end
246
+
247
+ module In
248
+ extend Increase::Internal::Type::Enum
249
+
250
+ TaggedSymbol =
251
+ T.type_alias do
252
+ T.all(Symbol, Increase::WireTransferListParams::Status::In)
253
+ end
254
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
255
+
256
+ # The transfer is pending approval.
257
+ PENDING_APPROVAL =
258
+ T.let(
259
+ :pending_approval,
260
+ Increase::WireTransferListParams::Status::In::TaggedSymbol
261
+ )
262
+
263
+ # The transfer has been canceled.
264
+ CANCELED =
265
+ T.let(
266
+ :canceled,
267
+ Increase::WireTransferListParams::Status::In::TaggedSymbol
268
+ )
269
+
270
+ # The transfer is pending review by Increase.
271
+ PENDING_REVIEWING =
272
+ T.let(
273
+ :pending_reviewing,
274
+ Increase::WireTransferListParams::Status::In::TaggedSymbol
275
+ )
276
+
277
+ # The transfer has been rejected by Increase.
278
+ REJECTED =
279
+ T.let(
280
+ :rejected,
281
+ Increase::WireTransferListParams::Status::In::TaggedSymbol
282
+ )
283
+
284
+ # The transfer requires attention from an Increase operator.
285
+ REQUIRES_ATTENTION =
286
+ T.let(
287
+ :requires_attention,
288
+ Increase::WireTransferListParams::Status::In::TaggedSymbol
289
+ )
290
+
291
+ # The transfer is pending creation.
292
+ PENDING_CREATING =
293
+ T.let(
294
+ :pending_creating,
295
+ Increase::WireTransferListParams::Status::In::TaggedSymbol
296
+ )
297
+
298
+ # The transfer has been reversed.
299
+ REVERSED =
300
+ T.let(
301
+ :reversed,
302
+ Increase::WireTransferListParams::Status::In::TaggedSymbol
303
+ )
304
+
305
+ # The transfer has been submitted to Fedwire.
306
+ SUBMITTED =
307
+ T.let(
308
+ :submitted,
309
+ Increase::WireTransferListParams::Status::In::TaggedSymbol
310
+ )
311
+
312
+ # The transfer has been acknowledged by Fedwire and can be considered complete.
313
+ COMPLETE =
314
+ T.let(
315
+ :complete,
316
+ Increase::WireTransferListParams::Status::In::TaggedSymbol
317
+ )
318
+
319
+ sig do
320
+ override.returns(
321
+ T::Array[
322
+ Increase::WireTransferListParams::Status::In::TaggedSymbol
323
+ ]
324
+ )
325
+ end
326
+ def self.values
327
+ end
328
+ end
329
+ end
183
330
  end
184
331
  end
185
332
  end
@@ -75,6 +75,7 @@ module Increase
75
75
  external_account_id: String,
76
76
  idempotency_key: String,
77
77
  limit: Integer,
78
+ status: Increase::WireTransferListParams::Status::OrHash,
78
79
  request_options: Increase::RequestOptions::OrHash
79
80
  ).returns(Increase::Internal::Page[Increase::WireTransfer])
80
81
  end
@@ -94,6 +95,7 @@ module Increase
94
95
  # Limit the size of the list that is returned. The default (and maximum) is 100
95
96
  # objects.
96
97
  limit: nil,
98
+ status: nil,
97
99
  request_options: {}
98
100
  )
99
101
  end
@@ -7,7 +7,8 @@ module Increase
7
7
  cursor: String,
8
8
  external_account_id: String,
9
9
  idempotency_key: String,
10
- limit: Integer
10
+ limit: Integer,
11
+ status: Increase::WireTransferListParams::Status
11
12
  }
12
13
  & Increase::Internal::Type::request_parameters
13
14
 
@@ -41,6 +42,12 @@ module Increase
41
42
 
42
43
  def limit=: (Integer) -> Integer
43
44
 
45
+ attr_reader status: Increase::WireTransferListParams::Status?
46
+
47
+ def status=: (
48
+ Increase::WireTransferListParams::Status
49
+ ) -> Increase::WireTransferListParams::Status
50
+
44
51
  def initialize: (
45
52
  ?account_id: String,
46
53
  ?created_at: Increase::WireTransferListParams::CreatedAt,
@@ -48,6 +55,7 @@ module Increase
48
55
  ?external_account_id: String,
49
56
  ?idempotency_key: String,
50
57
  ?limit: Integer,
58
+ ?status: Increase::WireTransferListParams::Status,
51
59
  ?request_options: Increase::request_opts
52
60
  ) -> void
53
61
 
@@ -58,6 +66,7 @@ module Increase
58
66
  external_account_id: String,
59
67
  idempotency_key: String,
60
68
  limit: Integer,
69
+ status: Increase::WireTransferListParams::Status,
61
70
  request_options: Increase::RequestOptions
62
71
  }
63
72
 
@@ -95,6 +104,69 @@ module Increase
95
104
  on_or_before: Time
96
105
  }
97
106
  end
107
+
108
+ type status =
109
+ { in_: ::Array[Increase::Models::WireTransferListParams::Status::in_] }
110
+
111
+ class Status < Increase::Internal::Type::BaseModel
112
+ attr_reader in_: ::Array[Increase::Models::WireTransferListParams::Status::in_]?
113
+
114
+ def in_=: (
115
+ ::Array[Increase::Models::WireTransferListParams::Status::in_]
116
+ ) -> ::Array[Increase::Models::WireTransferListParams::Status::in_]
117
+
118
+ def initialize: (
119
+ ?in_: ::Array[Increase::Models::WireTransferListParams::Status::in_]
120
+ ) -> void
121
+
122
+ def to_hash: -> {
123
+ in_: ::Array[Increase::Models::WireTransferListParams::Status::in_]
124
+ }
125
+
126
+ type in_ =
127
+ :pending_approval
128
+ | :canceled
129
+ | :pending_reviewing
130
+ | :rejected
131
+ | :requires_attention
132
+ | :pending_creating
133
+ | :reversed
134
+ | :submitted
135
+ | :complete
136
+
137
+ module In
138
+ extend Increase::Internal::Type::Enum
139
+
140
+ # The transfer is pending approval.
141
+ PENDING_APPROVAL: :pending_approval
142
+
143
+ # The transfer has been canceled.
144
+ CANCELED: :canceled
145
+
146
+ # The transfer is pending review by Increase.
147
+ PENDING_REVIEWING: :pending_reviewing
148
+
149
+ # The transfer has been rejected by Increase.
150
+ REJECTED: :rejected
151
+
152
+ # The transfer requires attention from an Increase operator.
153
+ REQUIRES_ATTENTION: :requires_attention
154
+
155
+ # The transfer is pending creation.
156
+ PENDING_CREATING: :pending_creating
157
+
158
+ # The transfer has been reversed.
159
+ REVERSED: :reversed
160
+
161
+ # The transfer has been submitted to Fedwire.
162
+ SUBMITTED: :submitted
163
+
164
+ # The transfer has been acknowledged by Fedwire and can be considered complete.
165
+ COMPLETE: :complete
166
+
167
+ def self?.values: -> ::Array[Increase::Models::WireTransferListParams::Status::in_]
168
+ end
169
+ end
98
170
  end
99
171
  end
100
172
  end
@@ -28,6 +28,7 @@ module Increase
28
28
  ?external_account_id: String,
29
29
  ?idempotency_key: String,
30
30
  ?limit: Integer,
31
+ ?status: Increase::WireTransferListParams::Status,
31
32
  ?request_options: Increase::request_opts
32
33
  ) -> Increase::Internal::Page[Increase::WireTransfer]
33
34
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: increase
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.226.0
4
+ version: 1.227.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Increase