increase 1.14.0 → 1.16.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: f595c8f946a264b3c24014db8f93d85500632300faf708c0d9ee661e9ba7a976
4
- data.tar.gz: 32a2c539015a955802866d58b07fe4b736958e8f091f103bcc8ac21c7008b3d4
3
+ metadata.gz: 05c34133d29b41e2324539575497338d848b672c6a9d678f939ccac0d0e9c7e3
4
+ data.tar.gz: 3021587175b154c108a8441032a70d09f2b2822bc07bc93652609394dab89438
5
5
  SHA512:
6
- metadata.gz: 9668ab5d9dc390abf56b875460f6774de06fa54ee7695cf595d99ac043ad16b77eb71797a14cca9ff2b182e600994181b2cb01bbc035f724cf7a31d8baf00e8b
7
- data.tar.gz: a524e05fa057ce8cc3f4f3e3d9dd7d04ea89de26c7f3f4f41dcf20ecf2acfd398eda6152a93e189f8b0278613fc9905f9fa45c3bc5179589ce16562139dafb3d
6
+ metadata.gz: fcb1ac03b67f20bb1c0986d21d4bab8a8e2c1dc33a9356f67fe2ce0257611e09bf3d917f76c87f26f5268ed7ca61cf78a7e0a2f84f24237f034574ec51397ae3
7
+ data.tar.gz: 6f4d8005504ba8b3a24ce9abac2d5e0801567a21e5a90408b3c83583f2448cfc17a5d26a72665e265a8316390cc6926bd87a98a183735491a002fdca811d8ea8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.16.0 (2025-07-22)
4
+
5
+ Full Changelog: [v1.15.0...v1.16.0](https://github.com/Increase/increase-ruby/compare/v1.15.0...v1.16.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([3ab5ee5](https://github.com/Increase/increase-ruby/commit/3ab5ee553ac93933b48ba84ca19f0ee3097e0af8))
10
+
11
+ ## 1.15.0 (2025-07-21)
12
+
13
+ Full Changelog: [v1.14.0...v1.15.0](https://github.com/Increase/increase-ruby/compare/v1.14.0...v1.15.0)
14
+
15
+ ### Features
16
+
17
+ * **api:** api update ([0370864](https://github.com/Increase/increase-ruby/commit/03708647f4f70800c3b9660e50f00632f679d7fa))
18
+ * **api:** api update ([43fed27](https://github.com/Increase/increase-ruby/commit/43fed27a519cb50ec581647f691ea66b566a2107))
19
+
3
20
  ## 1.14.0 (2025-07-18)
4
21
 
5
22
  Full Changelog: [v1.13.0...v1.14.0](https://github.com/Increase/increase-ruby/compare/v1.13.0...v1.14.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.14.0"
18
+ gem "increase", "~> 1.16.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -810,19 +810,11 @@ module Increase
810
810
  required :individuals,
811
811
  -> { Increase::Internal::Type::ArrayOf[Increase::EntityCreateParams::Joint::Individual] }
812
812
 
813
- # @!attribute name
814
- # The name of the joint entity.
815
- #
816
- # @return [String, nil]
817
- optional :name, String
818
-
819
- # @!method initialize(individuals:, name: nil)
813
+ # @!method initialize(individuals:)
820
814
  # Details of the joint entity to create. Required if `structure` is equal to
821
815
  # `joint`.
822
816
  #
823
817
  # @param individuals [Array<Increase::Models::EntityCreateParams::Joint::Individual>] The two individuals that share control of the entity.
824
- #
825
- # @param name [String] The name of the joint entity.
826
818
 
827
819
  class Individual < Increase::Internal::Type::BaseModel
828
820
  # @!attribute address
@@ -304,6 +304,12 @@ module Increase
304
304
  # Occurs whenever a Physical Card Profile is updated.
305
305
  PHYSICAL_CARD_PROFILE_UPDATED = :"physical_card_profile.updated"
306
306
 
307
+ # Occurs whenever a Program is created.
308
+ PROGRAM_CREATED = :"program.created"
309
+
310
+ # Occurs whenever a Program is updated.
311
+ PROGRAM_UPDATED = :"program.updated"
312
+
307
313
  # Occurs whenever a Proof of Authorization Request is created.
308
314
  PROOF_OF_AUTHORIZATION_REQUEST_CREATED = :"proof_of_authorization_request.created"
309
315
 
@@ -306,6 +306,12 @@ module Increase
306
306
  # Occurs whenever a Physical Card Profile is updated.
307
307
  PHYSICAL_CARD_PROFILE_UPDATED = :"physical_card_profile.updated"
308
308
 
309
+ # Occurs whenever a Program is created.
310
+ PROGRAM_CREATED = :"program.created"
311
+
312
+ # Occurs whenever a Program is updated.
313
+ PROGRAM_UPDATED = :"program.updated"
314
+
309
315
  # Occurs whenever a Proof of Authorization Request is created.
310
316
  PROOF_OF_AUTHORIZATION_REQUEST_CREATED = :"proof_of_authorization_request.created"
311
317
 
@@ -327,6 +327,12 @@ module Increase
327
327
  # Occurs whenever a Physical Card Profile is updated.
328
328
  PHYSICAL_CARD_PROFILE_UPDATED = :"physical_card_profile.updated"
329
329
 
330
+ # Occurs whenever a Program is created.
331
+ PROGRAM_CREATED = :"program.created"
332
+
333
+ # Occurs whenever a Program is updated.
334
+ PROGRAM_UPDATED = :"program.updated"
335
+
330
336
  # Occurs whenever a Proof of Authorization Request is created.
331
337
  PROOF_OF_AUTHORIZATION_REQUEST_CREATED = :"proof_of_authorization_request.created"
332
338
 
@@ -288,6 +288,12 @@ module Increase
288
288
  # Occurs whenever a Physical Card Profile is updated.
289
289
  PHYSICAL_CARD_PROFILE_UPDATED = :"physical_card_profile.updated"
290
290
 
291
+ # Occurs whenever a Program is created.
292
+ PROGRAM_CREATED = :"program.created"
293
+
294
+ # Occurs whenever a Program is updated.
295
+ PROGRAM_UPDATED = :"program.updated"
296
+
291
297
  # Occurs whenever a Proof of Authorization Request is created.
292
298
  PROOF_OF_AUTHORIZATION_REQUEST_CREATED = :"proof_of_authorization_request.created"
293
299
 
@@ -172,6 +172,12 @@ module Increase
172
172
  # @return [String]
173
173
  required :city, String
174
174
 
175
+ # @!attribute country
176
+ # The country of the shipping address.
177
+ #
178
+ # @return [String]
179
+ required :country, String
180
+
175
181
  # @!attribute line1
176
182
  # The first line of the shipping address.
177
183
  #
@@ -203,16 +209,18 @@ module Increase
203
209
  required :postal_code, String
204
210
 
205
211
  # @!attribute state
206
- # The US state of the shipping address.
212
+ # The state of the shipping address.
207
213
  #
208
214
  # @return [String]
209
215
  required :state, String
210
216
 
211
- # @!method initialize(city:, line1:, line2:, line3:, name:, postal_code:, state:)
217
+ # @!method initialize(city:, country:, line1:, line2:, line3:, name:, postal_code:, state:)
212
218
  # The location to where the card's packing label is addressed.
213
219
  #
214
220
  # @param city [String] The city of the shipping address.
215
221
  #
222
+ # @param country [String] The country of the shipping address.
223
+ #
216
224
  # @param line1 [String] The first line of the shipping address.
217
225
  #
218
226
  # @param line2 [String, nil] The second line of the shipping address.
@@ -223,7 +231,7 @@ module Increase
223
231
  #
224
232
  # @param postal_code [String] The postal code of the shipping address.
225
233
  #
226
- # @param state [String] The US state of the shipping address.
234
+ # @param state [String] The state of the shipping address.
227
235
  end
228
236
 
229
237
  # The shipping method.
@@ -232,7 +240,7 @@ module Increase
232
240
  module Method
233
241
  extend Increase::Internal::Type::Enum
234
242
 
235
- # USPS Post with tracking.
243
+ # USPS Post.
236
244
  USPS = :usps
237
245
 
238
246
  # FedEx Priority Overnight, no signature.
@@ -241,6 +249,9 @@ module Increase
241
249
  # FedEx 2-day.
242
250
  FEDEX_2_DAY = :fedex_2_day
243
251
 
252
+ # DHL Worldwide Express, international shipping only.
253
+ DHL_WORLDWIDE_EXPRESS = :dhl_worldwide_express
254
+
244
255
  # @!method self.values
245
256
  # @return [Array<Symbol>]
246
257
  end
@@ -133,11 +133,20 @@ module Increase
133
133
  required :postal_code, String
134
134
 
135
135
  # @!attribute state
136
- # The US state of the shipping address.
136
+ # The state of the shipping address.
137
137
  #
138
138
  # @return [String]
139
139
  required :state, String
140
140
 
141
+ # @!attribute country
142
+ # The two-character ISO 3166-1 code of the country where the card should be
143
+ # shipped (e.g., `US`). Please reach out to
144
+ # [support@increase.com](mailto:support@increase.com) to ship cards
145
+ # internationally.
146
+ #
147
+ # @return [String, nil]
148
+ optional :country, String
149
+
141
150
  # @!attribute line2
142
151
  # The second line of the shipping address.
143
152
  #
@@ -156,7 +165,11 @@ module Increase
156
165
  # @return [String, nil]
157
166
  optional :phone_number, String
158
167
 
159
- # @!method initialize(city:, line1:, name:, postal_code:, state:, line2: nil, line3: nil, phone_number: nil)
168
+ # @!method initialize(city:, line1:, name:, postal_code:, state:, country: nil, line2: nil, line3: nil, phone_number: nil)
169
+ # Some parameter documentations has been truncated, see
170
+ # {Increase::Models::PhysicalCardCreateParams::Shipment::Address} for more
171
+ # details.
172
+ #
160
173
  # The address to where the card should be shipped.
161
174
  #
162
175
  # @param city [String] The city of the shipping address.
@@ -167,7 +180,9 @@ module Increase
167
180
  #
168
181
  # @param postal_code [String] The postal code of the shipping address.
169
182
  #
170
- # @param state [String] The US state of the shipping address.
183
+ # @param state [String] The state of the shipping address.
184
+ #
185
+ # @param country [String] The two-character ISO 3166-1 code of the country where the card should be shippe
171
186
  #
172
187
  # @param line2 [String] The second line of the shipping address.
173
188
  #
@@ -182,7 +197,7 @@ module Increase
182
197
  module Method
183
198
  extend Increase::Internal::Type::Enum
184
199
 
185
- # USPS Post with tracking.
200
+ # USPS Post.
186
201
  USPS = :usps
187
202
 
188
203
  # FedEx Priority Overnight, no signature.
@@ -191,6 +206,9 @@ module Increase
191
206
  # FedEx 2-day.
192
207
  FEDEX_2_DAY = :fedex_2_day
193
208
 
209
+ # DHL Worldwide Express, international shipping only.
210
+ DHL_WORLDWIDE_EXPRESS = :dhl_worldwide_express
211
+
194
212
  # @!method self.values
195
213
  # @return [Array<Symbol>]
196
214
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.14.0"
4
+ VERSION = "1.16.0"
5
5
  end
@@ -1467,27 +1467,17 @@ module Increase
1467
1467
  end
1468
1468
  attr_accessor :individuals
1469
1469
 
1470
- # The name of the joint entity.
1471
- sig { returns(T.nilable(String)) }
1472
- attr_reader :name
1473
-
1474
- sig { params(name: String).void }
1475
- attr_writer :name
1476
-
1477
1470
  # Details of the joint entity to create. Required if `structure` is equal to
1478
1471
  # `joint`.
1479
1472
  sig do
1480
1473
  params(
1481
1474
  individuals:
1482
- T::Array[Increase::EntityCreateParams::Joint::Individual::OrHash],
1483
- name: String
1475
+ T::Array[Increase::EntityCreateParams::Joint::Individual::OrHash]
1484
1476
  ).returns(T.attached_class)
1485
1477
  end
1486
1478
  def self.new(
1487
1479
  # The two individuals that share control of the entity.
1488
- individuals:,
1489
- # The name of the joint entity.
1490
- name: nil
1480
+ individuals:
1491
1481
  )
1492
1482
  end
1493
1483
 
@@ -1495,8 +1485,7 @@ module Increase
1495
1485
  override.returns(
1496
1486
  {
1497
1487
  individuals:
1498
- T::Array[Increase::EntityCreateParams::Joint::Individual],
1499
- name: String
1488
+ T::Array[Increase::EntityCreateParams::Joint::Individual]
1500
1489
  }
1501
1490
  )
1502
1491
  end
@@ -591,6 +591,14 @@ module Increase
591
591
  Increase::Event::Category::TaggedSymbol
592
592
  )
593
593
 
594
+ # Occurs whenever a Program is created.
595
+ PROGRAM_CREATED =
596
+ T.let(:"program.created", Increase::Event::Category::TaggedSymbol)
597
+
598
+ # Occurs whenever a Program is updated.
599
+ PROGRAM_UPDATED =
600
+ T.let(:"program.updated", Increase::Event::Category::TaggedSymbol)
601
+
594
602
  # Occurs whenever a Proof of Authorization Request is created.
595
603
  PROOF_OF_AUTHORIZATION_REQUEST_CREATED =
596
604
  T.let(
@@ -690,6 +690,20 @@ module Increase
690
690
  Increase::EventListParams::Category::In::TaggedSymbol
691
691
  )
692
692
 
693
+ # Occurs whenever a Program is created.
694
+ PROGRAM_CREATED =
695
+ T.let(
696
+ :"program.created",
697
+ Increase::EventListParams::Category::In::TaggedSymbol
698
+ )
699
+
700
+ # Occurs whenever a Program is updated.
701
+ PROGRAM_UPDATED =
702
+ T.let(
703
+ :"program.updated",
704
+ Increase::EventListParams::Category::In::TaggedSymbol
705
+ )
706
+
693
707
  # Occurs whenever a Proof of Authorization Request is created.
694
708
  PROOF_OF_AUTHORIZATION_REQUEST_CREATED =
695
709
  T.let(
@@ -674,6 +674,20 @@ module Increase
674
674
  Increase::EventSubscription::SelectedEventCategory::TaggedSymbol
675
675
  )
676
676
 
677
+ # Occurs whenever a Program is created.
678
+ PROGRAM_CREATED =
679
+ T.let(
680
+ :"program.created",
681
+ Increase::EventSubscription::SelectedEventCategory::TaggedSymbol
682
+ )
683
+
684
+ # Occurs whenever a Program is updated.
685
+ PROGRAM_UPDATED =
686
+ T.let(
687
+ :"program.updated",
688
+ Increase::EventSubscription::SelectedEventCategory::TaggedSymbol
689
+ )
690
+
677
691
  # Occurs whenever a Proof of Authorization Request is created.
678
692
  PROOF_OF_AUTHORIZATION_REQUEST_CREATED =
679
693
  T.let(
@@ -654,6 +654,20 @@ module Increase
654
654
  Increase::EventSubscriptionCreateParams::SelectedEventCategory::TaggedSymbol
655
655
  )
656
656
 
657
+ # Occurs whenever a Program is created.
658
+ PROGRAM_CREATED =
659
+ T.let(
660
+ :"program.created",
661
+ Increase::EventSubscriptionCreateParams::SelectedEventCategory::TaggedSymbol
662
+ )
663
+
664
+ # Occurs whenever a Program is updated.
665
+ PROGRAM_UPDATED =
666
+ T.let(
667
+ :"program.updated",
668
+ Increase::EventSubscriptionCreateParams::SelectedEventCategory::TaggedSymbol
669
+ )
670
+
657
671
  # Occurs whenever a Proof of Authorization Request is created.
658
672
  PROOF_OF_AUTHORIZATION_REQUEST_CREATED =
659
673
  T.let(
@@ -258,6 +258,10 @@ module Increase
258
258
  sig { returns(String) }
259
259
  attr_accessor :city
260
260
 
261
+ # The country of the shipping address.
262
+ sig { returns(String) }
263
+ attr_accessor :country
264
+
261
265
  # The first line of the shipping address.
262
266
  sig { returns(String) }
263
267
  attr_accessor :line1
@@ -278,7 +282,7 @@ module Increase
278
282
  sig { returns(String) }
279
283
  attr_accessor :postal_code
280
284
 
281
- # The US state of the shipping address.
285
+ # The state of the shipping address.
282
286
  sig { returns(String) }
283
287
  attr_accessor :state
284
288
 
@@ -286,6 +290,7 @@ module Increase
286
290
  sig do
287
291
  params(
288
292
  city: String,
293
+ country: String,
289
294
  line1: String,
290
295
  line2: T.nilable(String),
291
296
  line3: T.nilable(String),
@@ -297,6 +302,8 @@ module Increase
297
302
  def self.new(
298
303
  # The city of the shipping address.
299
304
  city:,
305
+ # The country of the shipping address.
306
+ country:,
300
307
  # The first line of the shipping address.
301
308
  line1:,
302
309
  # The second line of the shipping address.
@@ -307,7 +314,7 @@ module Increase
307
314
  name:,
308
315
  # The postal code of the shipping address.
309
316
  postal_code:,
310
- # The US state of the shipping address.
317
+ # The state of the shipping address.
311
318
  state:
312
319
  )
313
320
  end
@@ -316,6 +323,7 @@ module Increase
316
323
  override.returns(
317
324
  {
318
325
  city: String,
326
+ country: String,
319
327
  line1: String,
320
328
  line2: T.nilable(String),
321
329
  line3: T.nilable(String),
@@ -339,7 +347,7 @@ module Increase
339
347
  end
340
348
  OrSymbol = T.type_alias { T.any(Symbol, String) }
341
349
 
342
- # USPS Post with tracking.
350
+ # USPS Post.
343
351
  USPS =
344
352
  T.let(:usps, Increase::PhysicalCard::Shipment::Method::TaggedSymbol)
345
353
 
@@ -357,6 +365,13 @@ module Increase
357
365
  Increase::PhysicalCard::Shipment::Method::TaggedSymbol
358
366
  )
359
367
 
368
+ # DHL Worldwide Express, international shipping only.
369
+ DHL_WORLDWIDE_EXPRESS =
370
+ T.let(
371
+ :dhl_worldwide_express,
372
+ Increase::PhysicalCard::Shipment::Method::TaggedSymbol
373
+ )
374
+
360
375
  sig do
361
376
  override.returns(
362
377
  T::Array[Increase::PhysicalCard::Shipment::Method::TaggedSymbol]
@@ -233,10 +233,20 @@ module Increase
233
233
  sig { returns(String) }
234
234
  attr_accessor :postal_code
235
235
 
236
- # The US state of the shipping address.
236
+ # The state of the shipping address.
237
237
  sig { returns(String) }
238
238
  attr_accessor :state
239
239
 
240
+ # The two-character ISO 3166-1 code of the country where the card should be
241
+ # shipped (e.g., `US`). Please reach out to
242
+ # [support@increase.com](mailto:support@increase.com) to ship cards
243
+ # internationally.
244
+ sig { returns(T.nilable(String)) }
245
+ attr_reader :country
246
+
247
+ sig { params(country: String).void }
248
+ attr_writer :country
249
+
240
250
  # The second line of the shipping address.
241
251
  sig { returns(T.nilable(String)) }
242
252
  attr_reader :line2
@@ -266,6 +276,7 @@ module Increase
266
276
  name: String,
267
277
  postal_code: String,
268
278
  state: String,
279
+ country: String,
269
280
  line2: String,
270
281
  line3: String,
271
282
  phone_number: String
@@ -280,8 +291,13 @@ module Increase
280
291
  name:,
281
292
  # The postal code of the shipping address.
282
293
  postal_code:,
283
- # The US state of the shipping address.
294
+ # The state of the shipping address.
284
295
  state:,
296
+ # The two-character ISO 3166-1 code of the country where the card should be
297
+ # shipped (e.g., `US`). Please reach out to
298
+ # [support@increase.com](mailto:support@increase.com) to ship cards
299
+ # internationally.
300
+ country: nil,
285
301
  # The second line of the shipping address.
286
302
  line2: nil,
287
303
  # The third line of the shipping address.
@@ -299,6 +315,7 @@ module Increase
299
315
  name: String,
300
316
  postal_code: String,
301
317
  state: String,
318
+ country: String,
302
319
  line2: String,
303
320
  line3: String,
304
321
  phone_number: String
@@ -322,7 +339,7 @@ module Increase
322
339
  end
323
340
  OrSymbol = T.type_alias { T.any(Symbol, String) }
324
341
 
325
- # USPS Post with tracking.
342
+ # USPS Post.
326
343
  USPS =
327
344
  T.let(
328
345
  :usps,
@@ -343,6 +360,13 @@ module Increase
343
360
  Increase::PhysicalCardCreateParams::Shipment::Method::TaggedSymbol
344
361
  )
345
362
 
363
+ # DHL Worldwide Express, international shipping only.
364
+ DHL_WORLDWIDE_EXPRESS =
365
+ T.let(
366
+ :dhl_worldwide_express,
367
+ Increase::PhysicalCardCreateParams::Shipment::Method::TaggedSymbol
368
+ )
369
+
346
370
  sig do
347
371
  override.returns(
348
372
  T::Array[
@@ -650,25 +650,18 @@ module Increase
650
650
 
651
651
  type joint =
652
652
  {
653
- individuals: ::Array[Increase::EntityCreateParams::Joint::Individual],
654
- name: String
653
+ individuals: ::Array[Increase::EntityCreateParams::Joint::Individual]
655
654
  }
656
655
 
657
656
  class Joint < Increase::Internal::Type::BaseModel
658
657
  attr_accessor individuals: ::Array[Increase::EntityCreateParams::Joint::Individual]
659
658
 
660
- attr_reader name: String?
661
-
662
- def name=: (String) -> String
663
-
664
659
  def initialize: (
665
- individuals: ::Array[Increase::EntityCreateParams::Joint::Individual],
666
- ?name: String
660
+ individuals: ::Array[Increase::EntityCreateParams::Joint::Individual]
667
661
  ) -> void
668
662
 
669
663
  def to_hash: -> {
670
- individuals: ::Array[Increase::EntityCreateParams::Joint::Individual],
671
- name: String
664
+ individuals: ::Array[Increase::EntityCreateParams::Joint::Individual]
672
665
  }
673
666
 
674
667
  type individual =
@@ -120,6 +120,8 @@ module Increase
120
120
  | :"physical_card.updated"
121
121
  | :"physical_card_profile.created"
122
122
  | :"physical_card_profile.updated"
123
+ | :"program.created"
124
+ | :"program.updated"
123
125
  | :"proof_of_authorization_request.created"
124
126
  | :"proof_of_authorization_request.updated"
125
127
  | :"real_time_decision.card_authorization_requested"
@@ -376,6 +378,12 @@ module Increase
376
378
  # Occurs whenever a Physical Card Profile is updated.
377
379
  PHYSICAL_CARD_PROFILE_UPDATED: :"physical_card_profile.updated"
378
380
 
381
+ # Occurs whenever a Program is created.
382
+ PROGRAM_CREATED: :"program.created"
383
+
384
+ # Occurs whenever a Program is updated.
385
+ PROGRAM_UPDATED: :"program.updated"
386
+
379
387
  # Occurs whenever a Proof of Authorization Request is created.
380
388
  PROOF_OF_AUTHORIZATION_REQUEST_CREATED: :"proof_of_authorization_request.created"
381
389
 
@@ -153,6 +153,8 @@ module Increase
153
153
  | :"physical_card.updated"
154
154
  | :"physical_card_profile.created"
155
155
  | :"physical_card_profile.updated"
156
+ | :"program.created"
157
+ | :"program.updated"
156
158
  | :"proof_of_authorization_request.created"
157
159
  | :"proof_of_authorization_request.updated"
158
160
  | :"real_time_decision.card_authorization_requested"
@@ -409,6 +411,12 @@ module Increase
409
411
  # Occurs whenever a Physical Card Profile is updated.
410
412
  PHYSICAL_CARD_PROFILE_UPDATED: :"physical_card_profile.updated"
411
413
 
414
+ # Occurs whenever a Program is created.
415
+ PROGRAM_CREATED: :"program.created"
416
+
417
+ # Occurs whenever a Program is updated.
418
+ PROGRAM_UPDATED: :"program.updated"
419
+
412
420
  # Occurs whenever a Proof of Authorization Request is created.
413
421
  PROOF_OF_AUTHORIZATION_REQUEST_CREATED: :"proof_of_authorization_request.created"
414
422
 
@@ -130,6 +130,8 @@ module Increase
130
130
  | :"physical_card.updated"
131
131
  | :"physical_card_profile.created"
132
132
  | :"physical_card_profile.updated"
133
+ | :"program.created"
134
+ | :"program.updated"
133
135
  | :"proof_of_authorization_request.created"
134
136
  | :"proof_of_authorization_request.updated"
135
137
  | :"real_time_decision.card_authorization_requested"
@@ -386,6 +388,12 @@ module Increase
386
388
  # Occurs whenever a Physical Card Profile is updated.
387
389
  PHYSICAL_CARD_PROFILE_UPDATED: :"physical_card_profile.updated"
388
390
 
391
+ # Occurs whenever a Program is created.
392
+ PROGRAM_CREATED: :"program.created"
393
+
394
+ # Occurs whenever a Program is updated.
395
+ PROGRAM_UPDATED: :"program.updated"
396
+
389
397
  # Occurs whenever a Proof of Authorization Request is created.
390
398
  PROOF_OF_AUTHORIZATION_REQUEST_CREATED: :"proof_of_authorization_request.created"
391
399
 
@@ -124,6 +124,8 @@ module Increase
124
124
  | :"physical_card.updated"
125
125
  | :"physical_card_profile.created"
126
126
  | :"physical_card_profile.updated"
127
+ | :"program.created"
128
+ | :"program.updated"
127
129
  | :"proof_of_authorization_request.created"
128
130
  | :"proof_of_authorization_request.updated"
129
131
  | :"real_time_decision.card_authorization_requested"
@@ -380,6 +382,12 @@ module Increase
380
382
  # Occurs whenever a Physical Card Profile is updated.
381
383
  PHYSICAL_CARD_PROFILE_UPDATED: :"physical_card_profile.updated"
382
384
 
385
+ # Occurs whenever a Program is created.
386
+ PROGRAM_CREATED: :"program.created"
387
+
388
+ # Occurs whenever a Program is updated.
389
+ PROGRAM_UPDATED: :"program.updated"
390
+
383
391
  # Occurs whenever a Proof of Authorization Request is created.
384
392
  PROOF_OF_AUTHORIZATION_REQUEST_CREATED: :"proof_of_authorization_request.created"
385
393
 
@@ -107,6 +107,7 @@ module Increase
107
107
  type address =
108
108
  {
109
109
  city: String,
110
+ country: String,
110
111
  :line1 => String,
111
112
  :line2 => String?,
112
113
  :line3 => String?,
@@ -118,6 +119,8 @@ module Increase
118
119
  class Address < Increase::Internal::Type::BaseModel
119
120
  attr_accessor city: String
120
121
 
122
+ attr_accessor country: String
123
+
121
124
  attr_accessor line1: String
122
125
 
123
126
  attr_accessor line2: String?
@@ -132,6 +135,7 @@ module Increase
132
135
 
133
136
  def initialize: (
134
137
  city: String,
138
+ country: String,
135
139
  line1: String,
136
140
  line2: String?,
137
141
  line3: String?,
@@ -142,6 +146,7 @@ module Increase
142
146
 
143
147
  def to_hash: -> {
144
148
  city: String,
149
+ country: String,
145
150
  :line1 => String,
146
151
  :line2 => String?,
147
152
  :line3 => String?,
@@ -151,12 +156,16 @@ module Increase
151
156
  }
152
157
  end
153
158
 
154
- type method_ = :usps | :fedex_priority_overnight | :fedex_2_day
159
+ type method_ =
160
+ :usps
161
+ | :fedex_priority_overnight
162
+ | :fedex_2_day
163
+ | :dhl_worldwide_express
155
164
 
156
165
  module Method
157
166
  extend Increase::Internal::Type::Enum
158
167
 
159
- # USPS Post with tracking.
168
+ # USPS Post.
160
169
  USPS: :usps
161
170
 
162
171
  # FedEx Priority Overnight, no signature.
@@ -165,6 +174,9 @@ module Increase
165
174
  # FedEx 2-day.
166
175
  FEDEX_2_DAY: :fedex_2_day
167
176
 
177
+ # DHL Worldwide Express, international shipping only.
178
+ DHL_WORLDWIDE_EXPRESS: :dhl_worldwide_express
179
+
168
180
  def self?.values: -> ::Array[Increase::Models::PhysicalCard::Shipment::method_]
169
181
  end
170
182
 
@@ -88,6 +88,7 @@ module Increase
88
88
  name: String,
89
89
  postal_code: String,
90
90
  state: String,
91
+ country: String,
91
92
  :line2 => String,
92
93
  :line3 => String,
93
94
  phone_number: String
@@ -104,6 +105,10 @@ module Increase
104
105
 
105
106
  attr_accessor state: String
106
107
 
108
+ attr_reader country: String?
109
+
110
+ def country=: (String) -> String
111
+
107
112
  attr_reader line2: String?
108
113
 
109
114
  def line2=: (String) -> String
@@ -122,6 +127,7 @@ module Increase
122
127
  name: String,
123
128
  postal_code: String,
124
129
  state: String,
130
+ ?country: String,
125
131
  ?line2: String,
126
132
  ?line3: String,
127
133
  ?phone_number: String
@@ -133,18 +139,23 @@ module Increase
133
139
  name: String,
134
140
  postal_code: String,
135
141
  state: String,
142
+ country: String,
136
143
  :line2 => String,
137
144
  :line3 => String,
138
145
  phone_number: String
139
146
  }
140
147
  end
141
148
 
142
- type method_ = :usps | :fedex_priority_overnight | :fedex_2_day
149
+ type method_ =
150
+ :usps
151
+ | :fedex_priority_overnight
152
+ | :fedex_2_day
153
+ | :dhl_worldwide_express
143
154
 
144
155
  module Method
145
156
  extend Increase::Internal::Type::Enum
146
157
 
147
- # USPS Post with tracking.
158
+ # USPS Post.
148
159
  USPS: :usps
149
160
 
150
161
  # FedEx Priority Overnight, no signature.
@@ -153,6 +164,9 @@ module Increase
153
164
  # FedEx 2-day.
154
165
  FEDEX_2_DAY: :fedex_2_day
155
166
 
167
+ # DHL Worldwide Express, international shipping only.
168
+ DHL_WORLDWIDE_EXPRESS: :dhl_worldwide_express
169
+
156
170
  def self?.values: -> ::Array[Increase::Models::PhysicalCardCreateParams::Shipment::method_]
157
171
  end
158
172
 
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.14.0
4
+ version: 1.16.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Increase
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-07-18 00:00:00.000000000 Z
11
+ date: 2025-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: connection_pool