increase 1.296.0 → 1.298.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: 0c18638dc526b0f80075a4a090338fab688817398b8745c046f845e545eafcea
4
- data.tar.gz: 260a6412813fd3d347a4180911b13eaaeca5916e38799fc4e1364c9cfecd8fdf
3
+ metadata.gz: 75a4f8c865be7f33a2c6ae777fe20cab3a6c9f3d1e4ba592af7bd226c680935e
4
+ data.tar.gz: 0311a6e52033daf2c6b858526f8d100d232d109bd30d2835e994caee5aa36d3a
5
5
  SHA512:
6
- metadata.gz: 34527098bfc8c1a8a35ce5153d4f8041b9a6b663a62f495299e04ceca04dcb025b6994bb1cc99588154d9b66b8928354b16299f4ae59fe2cdea26a178104b292
7
- data.tar.gz: 87e0258d468119307a4beebbcbd2e7aaffb1b1160d72e4c035ee6b50ab25d13e5071f40273ab3fa5673f60aa17db66acab845dcc61919a65e7123f63842d3aa6
6
+ metadata.gz: 23b0e1061c6d511a27b4ef0fb3920a5b8f9c8223327f99b322f598709c969d062d78ccd1168c23ec3acb70a7c9f3f77e5059cdc8402d68ca2dc35bd76a29ae46
7
+ data.tar.gz: a43125ba6ad04e7424d332725b39f66bd739dd232a471093d9f77fe277725cdf8ae7022eb858014c3438113b2a09176f9708b5e1887864d9bdbc780577eb2f50
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.298.0 (2026-04-16)
4
+
5
+ Full Changelog: [v1.297.0...v1.298.0](https://github.com/Increase/increase-ruby/compare/v1.297.0...v1.298.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([aa1b1c1](https://github.com/Increase/increase-ruby/commit/aa1b1c14ee50f8de67ada9f5a4481c1fe941d89a))
10
+
11
+ ## 1.297.0 (2026-04-16)
12
+
13
+ Full Changelog: [v1.296.0...v1.297.0](https://github.com/Increase/increase-ruby/compare/v1.296.0...v1.297.0)
14
+
15
+ ### Features
16
+
17
+ * **api:** api update ([4c2e222](https://github.com/Increase/increase-ruby/commit/4c2e222569995075cab7ba56d1077afec65f0481))
18
+
3
19
  ## 1.296.0 (2026-04-15)
4
20
 
5
21
  Full Changelog: [v1.295.0...v1.296.0](https://github.com/Increase/increase-ruby/compare/v1.295.0...v1.296.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.296.0"
18
+ gem "increase", "~> 1.298.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -36,7 +36,12 @@ module Increase
36
36
  # @return [Integer, nil]
37
37
  optional :limit, Integer
38
38
 
39
- # @!method initialize(associated_object_id: nil, category: nil, created_at: nil, cursor: nil, limit: nil, request_options: {})
39
+ # @!attribute order_by
40
+ #
41
+ # @return [Increase::Models::EventListParams::OrderBy, nil]
42
+ optional :order_by, -> { Increase::EventListParams::OrderBy }
43
+
44
+ # @!method initialize(associated_object_id: nil, category: nil, created_at: nil, cursor: nil, limit: nil, order_by: nil, request_options: {})
40
45
  # Some parameter documentations has been truncated, see
41
46
  # {Increase::Models::EventListParams} for more details.
42
47
  #
@@ -50,6 +55,8 @@ module Increase
50
55
  #
51
56
  # @param limit [Integer] Limit the size of the list that is returned. The default (and maximum) is 100 ob
52
57
  #
58
+ # @param order_by [Increase::Models::EventListParams::OrderBy]
59
+ #
53
60
  # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
54
61
 
55
62
  class Category < Increase::Internal::Type::BaseModel
@@ -450,6 +457,54 @@ module Increase
450
457
  #
451
458
  # @param on_or_before [Time] Return results on or before this [ISO 8601](https://en.wikipedia.org/wiki/ISO_86
452
459
  end
460
+
461
+ class OrderBy < Increase::Internal::Type::BaseModel
462
+ # @!attribute direction
463
+ # The direction to order in.
464
+ #
465
+ # @return [Symbol, Increase::Models::EventListParams::OrderBy::Direction, nil]
466
+ optional :direction, enum: -> { Increase::EventListParams::OrderBy::Direction }
467
+
468
+ # @!attribute field
469
+ # The field to order by.
470
+ #
471
+ # @return [Symbol, Increase::Models::EventListParams::OrderBy::Field, nil]
472
+ optional :field, enum: -> { Increase::EventListParams::OrderBy::Field }
473
+
474
+ # @!method initialize(direction: nil, field: nil)
475
+ # @param direction [Symbol, Increase::Models::EventListParams::OrderBy::Direction] The direction to order in.
476
+ #
477
+ # @param field [Symbol, Increase::Models::EventListParams::OrderBy::Field] The field to order by.
478
+
479
+ # The direction to order in.
480
+ #
481
+ # @see Increase::Models::EventListParams::OrderBy#direction
482
+ module Direction
483
+ extend Increase::Internal::Type::Enum
484
+
485
+ # Ascending in value.
486
+ ASCENDING = :ascending
487
+
488
+ # Descending in value.
489
+ DESCENDING = :descending
490
+
491
+ # @!method self.values
492
+ # @return [Array<Symbol>]
493
+ end
494
+
495
+ # The field to order by.
496
+ #
497
+ # @see Increase::Models::EventListParams::OrderBy#field
498
+ module Field
499
+ extend Increase::Internal::Type::Enum
500
+
501
+ # The time the Event was created.
502
+ CREATED_AT = :created_at
503
+
504
+ # @!method self.values
505
+ # @return [Array<Symbol>]
506
+ end
507
+ end
453
508
  end
454
509
  end
455
510
  end
@@ -160,7 +160,15 @@ module Increase
160
160
  # @return [Symbol, Increase::Models::WireTransfer::Type]
161
161
  required :type, enum: -> { Increase::WireTransfer::Type }
162
162
 
163
- # @!method initialize(id:, account_id:, account_number:, amount:, approval:, cancellation:, created_at:, created_by:, creditor:, currency:, debtor:, external_account_id:, idempotency_key:, inbound_wire_drawdown_request_id:, network:, pending_transaction_id:, remittance:, reversal:, routing_number:, source_account_number_id:, status:, submission:, transaction_id:, type:)
163
+ # @!attribute unique_end_to_end_transaction_reference
164
+ # The unique end-to-end transaction reference
165
+ # ([UETR](https://www.swift.com/payments/what-unique-end-end-transaction-reference-uetr))
166
+ # of the transfer.
167
+ #
168
+ # @return [String, nil]
169
+ required :unique_end_to_end_transaction_reference, String, nil?: true
170
+
171
+ # @!method initialize(id:, account_id:, account_number:, amount:, approval:, cancellation:, created_at:, created_by:, creditor:, currency:, debtor:, external_account_id:, idempotency_key:, inbound_wire_drawdown_request_id:, network:, pending_transaction_id:, remittance:, reversal:, routing_number:, source_account_number_id:, status:, submission:, transaction_id:, type:, unique_end_to_end_transaction_reference:)
164
172
  # Some parameter documentations has been truncated, see
165
173
  # {Increase::Models::WireTransfer} for more details.
166
174
  #
@@ -214,6 +222,8 @@ module Increase
214
222
  # @param transaction_id [String, nil] The ID for the transaction funding the transfer.
215
223
  #
216
224
  # @param type [Symbol, Increase::Models::WireTransfer::Type] A constant representing the object's type. For this resource it will always be `
225
+ #
226
+ # @param unique_end_to_end_transaction_reference [String, nil] The unique end-to-end transaction reference ([UETR](https://www.swift.com/paymen
217
227
 
218
228
  # @see Increase::Models::WireTransfer#approval
219
229
  class Approval < Increase::Internal::Type::BaseModel
@@ -28,7 +28,7 @@ module Increase
28
28
  #
29
29
  # List Events
30
30
  #
31
- # @overload list(associated_object_id: nil, category: nil, created_at: nil, cursor: nil, limit: nil, request_options: {})
31
+ # @overload list(associated_object_id: nil, category: nil, created_at: nil, cursor: nil, limit: nil, order_by: nil, request_options: {})
32
32
  #
33
33
  # @param associated_object_id [String] Filter Events to those belonging to the object with the provided identifier.
34
34
  #
@@ -40,6 +40,8 @@ module Increase
40
40
  #
41
41
  # @param limit [Integer] Limit the size of the list that is returned. The default (and maximum) is 100 ob
42
42
  #
43
+ # @param order_by [Increase::Models::EventListParams::OrderBy]
44
+ #
43
45
  # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil]
44
46
  #
45
47
  # @return [Increase::Internal::Page<Increase::Models::Event>]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.296.0"
4
+ VERSION = "1.298.0"
5
5
  end
@@ -47,6 +47,12 @@ module Increase
47
47
  sig { params(limit: Integer).void }
48
48
  attr_writer :limit
49
49
 
50
+ sig { returns(T.nilable(Increase::EventListParams::OrderBy)) }
51
+ attr_reader :order_by
52
+
53
+ sig { params(order_by: Increase::EventListParams::OrderBy::OrHash).void }
54
+ attr_writer :order_by
55
+
50
56
  sig do
51
57
  params(
52
58
  associated_object_id: String,
@@ -54,6 +60,7 @@ module Increase
54
60
  created_at: Increase::EventListParams::CreatedAt::OrHash,
55
61
  cursor: String,
56
62
  limit: Integer,
63
+ order_by: Increase::EventListParams::OrderBy::OrHash,
57
64
  request_options: Increase::RequestOptions::OrHash
58
65
  ).returns(T.attached_class)
59
66
  end
@@ -67,6 +74,7 @@ module Increase
67
74
  # Limit the size of the list that is returned. The default (and maximum) is 100
68
75
  # objects.
69
76
  limit: nil,
77
+ order_by: nil,
70
78
  request_options: {}
71
79
  )
72
80
  end
@@ -79,6 +87,7 @@ module Increase
79
87
  created_at: Increase::EventListParams::CreatedAt,
80
88
  cursor: String,
81
89
  limit: Integer,
90
+ order_by: Increase::EventListParams::OrderBy,
82
91
  request_options: Increase::RequestOptions
83
92
  }
84
93
  )
@@ -997,6 +1006,133 @@ module Increase
997
1006
  def to_hash
998
1007
  end
999
1008
  end
1009
+
1010
+ class OrderBy < Increase::Internal::Type::BaseModel
1011
+ OrHash =
1012
+ T.type_alias do
1013
+ T.any(
1014
+ Increase::EventListParams::OrderBy,
1015
+ Increase::Internal::AnyHash
1016
+ )
1017
+ end
1018
+
1019
+ # The direction to order in.
1020
+ sig do
1021
+ returns(
1022
+ T.nilable(Increase::EventListParams::OrderBy::Direction::OrSymbol)
1023
+ )
1024
+ end
1025
+ attr_reader :direction
1026
+
1027
+ sig do
1028
+ params(
1029
+ direction: Increase::EventListParams::OrderBy::Direction::OrSymbol
1030
+ ).void
1031
+ end
1032
+ attr_writer :direction
1033
+
1034
+ # The field to order by.
1035
+ sig do
1036
+ returns(
1037
+ T.nilable(Increase::EventListParams::OrderBy::Field::OrSymbol)
1038
+ )
1039
+ end
1040
+ attr_reader :field
1041
+
1042
+ sig do
1043
+ params(
1044
+ field: Increase::EventListParams::OrderBy::Field::OrSymbol
1045
+ ).void
1046
+ end
1047
+ attr_writer :field
1048
+
1049
+ sig do
1050
+ params(
1051
+ direction: Increase::EventListParams::OrderBy::Direction::OrSymbol,
1052
+ field: Increase::EventListParams::OrderBy::Field::OrSymbol
1053
+ ).returns(T.attached_class)
1054
+ end
1055
+ def self.new(
1056
+ # The direction to order in.
1057
+ direction: nil,
1058
+ # The field to order by.
1059
+ field: nil
1060
+ )
1061
+ end
1062
+
1063
+ sig do
1064
+ override.returns(
1065
+ {
1066
+ direction:
1067
+ Increase::EventListParams::OrderBy::Direction::OrSymbol,
1068
+ field: Increase::EventListParams::OrderBy::Field::OrSymbol
1069
+ }
1070
+ )
1071
+ end
1072
+ def to_hash
1073
+ end
1074
+
1075
+ # The direction to order in.
1076
+ module Direction
1077
+ extend Increase::Internal::Type::Enum
1078
+
1079
+ TaggedSymbol =
1080
+ T.type_alias do
1081
+ T.all(Symbol, Increase::EventListParams::OrderBy::Direction)
1082
+ end
1083
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
1084
+
1085
+ # Ascending in value.
1086
+ ASCENDING =
1087
+ T.let(
1088
+ :ascending,
1089
+ Increase::EventListParams::OrderBy::Direction::TaggedSymbol
1090
+ )
1091
+
1092
+ # Descending in value.
1093
+ DESCENDING =
1094
+ T.let(
1095
+ :descending,
1096
+ Increase::EventListParams::OrderBy::Direction::TaggedSymbol
1097
+ )
1098
+
1099
+ sig do
1100
+ override.returns(
1101
+ T::Array[
1102
+ Increase::EventListParams::OrderBy::Direction::TaggedSymbol
1103
+ ]
1104
+ )
1105
+ end
1106
+ def self.values
1107
+ end
1108
+ end
1109
+
1110
+ # The field to order by.
1111
+ module Field
1112
+ extend Increase::Internal::Type::Enum
1113
+
1114
+ TaggedSymbol =
1115
+ T.type_alias do
1116
+ T.all(Symbol, Increase::EventListParams::OrderBy::Field)
1117
+ end
1118
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
1119
+
1120
+ # The time the Event was created.
1121
+ CREATED_AT =
1122
+ T.let(
1123
+ :created_at,
1124
+ Increase::EventListParams::OrderBy::Field::TaggedSymbol
1125
+ )
1126
+
1127
+ sig do
1128
+ override.returns(
1129
+ T::Array[Increase::EventListParams::OrderBy::Field::TaggedSymbol]
1130
+ )
1131
+ end
1132
+ def self.values
1133
+ end
1134
+ end
1135
+ end
1000
1136
  end
1001
1137
  end
1002
1138
  end
@@ -170,6 +170,12 @@ module Increase
170
170
  sig { returns(Increase::WireTransfer::Type::TaggedSymbol) }
171
171
  attr_accessor :type
172
172
 
173
+ # The unique end-to-end transaction reference
174
+ # ([UETR](https://www.swift.com/payments/what-unique-end-end-transaction-reference-uetr))
175
+ # of the transfer.
176
+ sig { returns(T.nilable(String)) }
177
+ attr_accessor :unique_end_to_end_transaction_reference
178
+
173
179
  # Wire transfers move funds between your Increase account and any other account
174
180
  # accessible by Fedwire.
175
181
  sig do
@@ -197,7 +203,8 @@ module Increase
197
203
  status: Increase::WireTransfer::Status::OrSymbol,
198
204
  submission: T.nilable(Increase::WireTransfer::Submission::OrHash),
199
205
  transaction_id: T.nilable(String),
200
- type: Increase::WireTransfer::Type::OrSymbol
206
+ type: Increase::WireTransfer::Type::OrSymbol,
207
+ unique_end_to_end_transaction_reference: T.nilable(String)
201
208
  ).returns(T.attached_class)
202
209
  end
203
210
  def self.new(
@@ -260,7 +267,11 @@ module Increase
260
267
  transaction_id:,
261
268
  # A constant representing the object's type. For this resource it will always be
262
269
  # `wire_transfer`.
263
- type:
270
+ type:,
271
+ # The unique end-to-end transaction reference
272
+ # ([UETR](https://www.swift.com/payments/what-unique-end-end-transaction-reference-uetr))
273
+ # of the transfer.
274
+ unique_end_to_end_transaction_reference:
264
275
  )
265
276
  end
266
277
 
@@ -290,7 +301,8 @@ module Increase
290
301
  status: Increase::WireTransfer::Status::TaggedSymbol,
291
302
  submission: T.nilable(Increase::WireTransfer::Submission),
292
303
  transaction_id: T.nilable(String),
293
- type: Increase::WireTransfer::Type::TaggedSymbol
304
+ type: Increase::WireTransfer::Type::TaggedSymbol,
305
+ unique_end_to_end_transaction_reference: T.nilable(String)
294
306
  }
295
307
  )
296
308
  end
@@ -25,6 +25,7 @@ module Increase
25
25
  created_at: Increase::EventListParams::CreatedAt::OrHash,
26
26
  cursor: String,
27
27
  limit: Integer,
28
+ order_by: Increase::EventListParams::OrderBy::OrHash,
28
29
  request_options: Increase::RequestOptions::OrHash
29
30
  ).returns(Increase::Internal::Page[Increase::Event])
30
31
  end
@@ -38,6 +39,7 @@ module Increase
38
39
  # Limit the size of the list that is returned. The default (and maximum) is 100
39
40
  # objects.
40
41
  limit: nil,
42
+ order_by: nil,
41
43
  request_options: {}
42
44
  )
43
45
  end
@@ -6,7 +6,8 @@ module Increase
6
6
  category: Increase::EventListParams::Category,
7
7
  created_at: Increase::EventListParams::CreatedAt,
8
8
  cursor: String,
9
- limit: Integer
9
+ limit: Integer,
10
+ order_by: Increase::EventListParams::OrderBy
10
11
  }
11
12
  & Increase::Internal::Type::request_parameters
12
13
 
@@ -38,12 +39,19 @@ module Increase
38
39
 
39
40
  def limit=: (Integer) -> Integer
40
41
 
42
+ attr_reader order_by: Increase::EventListParams::OrderBy?
43
+
44
+ def order_by=: (
45
+ Increase::EventListParams::OrderBy
46
+ ) -> Increase::EventListParams::OrderBy
47
+
41
48
  def initialize: (
42
49
  ?associated_object_id: String,
43
50
  ?category: Increase::EventListParams::Category,
44
51
  ?created_at: Increase::EventListParams::CreatedAt,
45
52
  ?cursor: String,
46
53
  ?limit: Integer,
54
+ ?order_by: Increase::EventListParams::OrderBy,
47
55
  ?request_options: Increase::request_opts
48
56
  ) -> void
49
57
 
@@ -53,6 +61,7 @@ module Increase
53
61
  created_at: Increase::EventListParams::CreatedAt,
54
62
  cursor: String,
55
63
  limit: Integer,
64
+ order_by: Increase::EventListParams::OrderBy,
56
65
  request_options: Increase::RequestOptions
57
66
  }
58
67
 
@@ -557,6 +566,61 @@ module Increase
557
566
  on_or_before: Time
558
567
  }
559
568
  end
569
+
570
+ type order_by =
571
+ {
572
+ direction: Increase::Models::EventListParams::OrderBy::direction,
573
+ field: Increase::Models::EventListParams::OrderBy::field
574
+ }
575
+
576
+ class OrderBy < Increase::Internal::Type::BaseModel
577
+ attr_reader direction: Increase::Models::EventListParams::OrderBy::direction?
578
+
579
+ def direction=: (
580
+ Increase::Models::EventListParams::OrderBy::direction
581
+ ) -> Increase::Models::EventListParams::OrderBy::direction
582
+
583
+ attr_reader field: Increase::Models::EventListParams::OrderBy::field?
584
+
585
+ def field=: (
586
+ Increase::Models::EventListParams::OrderBy::field
587
+ ) -> Increase::Models::EventListParams::OrderBy::field
588
+
589
+ def initialize: (
590
+ ?direction: Increase::Models::EventListParams::OrderBy::direction,
591
+ ?field: Increase::Models::EventListParams::OrderBy::field
592
+ ) -> void
593
+
594
+ def to_hash: -> {
595
+ direction: Increase::Models::EventListParams::OrderBy::direction,
596
+ field: Increase::Models::EventListParams::OrderBy::field
597
+ }
598
+
599
+ type direction = :ascending | :descending
600
+
601
+ module Direction
602
+ extend Increase::Internal::Type::Enum
603
+
604
+ # Ascending in value.
605
+ ASCENDING: :ascending
606
+
607
+ # Descending in value.
608
+ DESCENDING: :descending
609
+
610
+ def self?.values: -> ::Array[Increase::Models::EventListParams::OrderBy::direction]
611
+ end
612
+
613
+ type field = :created_at
614
+
615
+ module Field
616
+ extend Increase::Internal::Type::Enum
617
+
618
+ # The time the Event was created.
619
+ CREATED_AT: :created_at
620
+
621
+ def self?.values: -> ::Array[Increase::Models::EventListParams::OrderBy::field]
622
+ end
623
+ end
560
624
  end
561
625
  end
562
626
  end
@@ -25,7 +25,8 @@ module Increase
25
25
  status: Increase::Models::WireTransfer::status,
26
26
  submission: Increase::WireTransfer::Submission?,
27
27
  transaction_id: String?,
28
- type: Increase::Models::WireTransfer::type_
28
+ type: Increase::Models::WireTransfer::type_,
29
+ unique_end_to_end_transaction_reference: String?
29
30
  }
30
31
 
31
32
  class WireTransfer < Increase::Internal::Type::BaseModel
@@ -77,6 +78,8 @@ module Increase
77
78
 
78
79
  attr_accessor type: Increase::Models::WireTransfer::type_
79
80
 
81
+ attr_accessor unique_end_to_end_transaction_reference: String?
82
+
80
83
  def initialize: (
81
84
  id: String,
82
85
  account_id: String,
@@ -101,7 +104,8 @@ module Increase
101
104
  status: Increase::Models::WireTransfer::status,
102
105
  submission: Increase::WireTransfer::Submission?,
103
106
  transaction_id: String?,
104
- type: Increase::Models::WireTransfer::type_
107
+ type: Increase::Models::WireTransfer::type_,
108
+ unique_end_to_end_transaction_reference: String?
105
109
  ) -> void
106
110
 
107
111
  def to_hash: -> {
@@ -128,7 +132,8 @@ module Increase
128
132
  status: Increase::Models::WireTransfer::status,
129
133
  submission: Increase::WireTransfer::Submission?,
130
134
  transaction_id: String?,
131
- type: Increase::Models::WireTransfer::type_
135
+ type: Increase::Models::WireTransfer::type_,
136
+ unique_end_to_end_transaction_reference: String?
132
137
  }
133
138
 
134
139
  type approval = { approved_at: Time, approved_by: String? }
@@ -12,6 +12,7 @@ module Increase
12
12
  ?created_at: Increase::EventListParams::CreatedAt,
13
13
  ?cursor: String,
14
14
  ?limit: Integer,
15
+ ?order_by: Increase::EventListParams::OrderBy,
15
16
  ?request_options: Increase::request_opts
16
17
  ) -> Increase::Internal::Page[Increase::Event]
17
18
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: increase
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.296.0
4
+ version: 1.298.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Increase
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-04-15 00:00:00.000000000 Z
11
+ date: 2026-04-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cgi