increase 1.297.0 → 1.299.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: 857ea39f9c720b9100b65a8b2593d19644730b2475d98231fc17f5ce0a4f18b8
4
- data.tar.gz: 78d2c40d8f70e720c0bb690f9ac29d1b971f215545b08399235d8369c69c56c5
3
+ metadata.gz: 2dcbb97b65a4019fadfb9b93f1864578b83a476422bba47d35be25d2049e75d3
4
+ data.tar.gz: 9f73650e5fcc2f30d40cce7c29cb2cb9edf93cc34cba87f3f9ef1f1f491845f4
5
5
  SHA512:
6
- metadata.gz: 0d82e1351b9475ab524d2d6bc9f5ef2c38828ccf434382fd1b9f2cc4688439eb4afcbbbad58ab3a23567c9e43655341d1244c48a56b5551edf90bd3fcf1cb6c3
7
- data.tar.gz: 49a28503268ba987d9a8ba646a438c0ef5d5bfb8b78597f45477a44378b34759c76216e65582beaa6695bce517ce3768a5b6eeb30a62def7b9c4e33c9ef257d0
6
+ metadata.gz: 731d54c17187d9011501f03744e93339e38cd4ea99654365fc0189ab774a5a062387343b141ad074617f12b807fcde001ec42c740e9315693e5a7a64b3b7edd2
7
+ data.tar.gz: 3baf0863dd51ffde40f0fea6b3befc39c55ccd14466819372d5ad874fce1cbf6797ab2360cd84b672126dea7b20a938cc6abc63278f6852fdeff38f4f51a95e8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.299.0 (2026-04-17)
4
+
5
+ Full Changelog: [v1.298.0...v1.299.0](https://github.com/Increase/increase-ruby/compare/v1.298.0...v1.299.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([9ef7d58](https://github.com/Increase/increase-ruby/commit/9ef7d588d49bbaa7e528ca9765908e6399772f19))
10
+
11
+ ## 1.298.0 (2026-04-16)
12
+
13
+ Full Changelog: [v1.297.0...v1.298.0](https://github.com/Increase/increase-ruby/compare/v1.297.0...v1.298.0)
14
+
15
+ ### Features
16
+
17
+ * **api:** api update ([aa1b1c1](https://github.com/Increase/increase-ruby/commit/aa1b1c14ee50f8de67ada9f5a4481c1fe941d89a))
18
+
3
19
  ## 1.297.0 (2026-04-16)
4
20
 
5
21
  Full Changelog: [v1.296.0...v1.297.0](https://github.com/Increase/increase-ruby/compare/v1.296.0...v1.297.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.297.0"
18
+ gem "increase", "~> 1.299.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -98,10 +98,10 @@ module Increase
98
98
  # Some parameter documentations has been truncated, see {Increase::Models::Card}
99
99
  # for more details.
100
100
  #
101
- # Cards may operate on credit, debit or prepaid BINs. They’ll immediately work for
102
- # online purchases after you create them. All cards work on a good funds model,
103
- # and maintain a maximum limit of 100% of the Account’s available balance at the
104
- # time of transaction. Funds are deducted from the Account upon transaction
101
+ # Cards may operate on credit, debit, or prepaid BINs. They’ll immediately work
102
+ # for online purchases after you create them. All cards work on a good funds
103
+ # model, and maintain a maximum limit of 100% of the Account’s available balance
104
+ # at the time of transaction. Funds are deducted from the Account upon transaction
105
105
  # settlement.
106
106
  #
107
107
  # @param id [String] The card identifier.
@@ -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
@@ -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.297.0"
4
+ VERSION = "1.299.0"
5
5
  end
@@ -88,10 +88,10 @@ module Increase
88
88
  sig { returns(Increase::Card::Type::TaggedSymbol) }
89
89
  attr_accessor :type
90
90
 
91
- # Cards may operate on credit, debit or prepaid BINs. They’ll immediately work for
92
- # online purchases after you create them. All cards work on a good funds model,
93
- # and maintain a maximum limit of 100% of the Account’s available balance at the
94
- # time of transaction. Funds are deducted from the Account upon transaction
91
+ # Cards may operate on credit, debit, or prepaid BINs. They’ll immediately work
92
+ # for online purchases after you create them. All cards work on a good funds
93
+ # model, and maintain a maximum limit of 100% of the Account’s available balance
94
+ # at the time of transaction. Funds are deducted from the Account upon transaction
95
95
  # settlement.
96
96
  sig do
97
97
  params(
@@ -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
@@ -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
@@ -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.297.0
4
+ version: 1.299.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-16 00:00:00.000000000 Z
11
+ date: 2026-04-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cgi