inttegro 9.2.2 → 10.0.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.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +13 -0
  3. data/lib/inttegro/balance/currency_snapshot.rb +11 -2
  4. data/lib/inttegro/balance/currency_snapshot_refund.rb +1 -1
  5. data/lib/inttegro/balance/currency_snapshot_reserved.rb +2 -1
  6. data/lib/inttegro/balance/holds.rb +43 -0
  7. data/lib/inttegro/balance/holds_payout.rb +27 -0
  8. data/lib/inttegro/balance/holds_refund.rb +27 -0
  9. data/lib/inttegro/checkout/amount_selection.rb +84 -0
  10. data/lib/inttegro/checkout/lookup_request.rb +18 -0
  11. data/lib/inttegro/checkout/lookup_request_variant2.rb +27 -0
  12. data/lib/inttegro/checkout/lookup_response.rb +47 -0
  13. data/lib/inttegro/checkout/select_amount_request.rb +18 -0
  14. data/lib/inttegro/checkout/select_amount_request_variant1.rb +35 -0
  15. data/lib/inttegro/checkout/select_amount_request_variant2.rb +35 -0
  16. data/lib/inttegro/checkout/selected_amount.rb +36 -0
  17. data/lib/inttegro/financial_account/compact.rb +8 -0
  18. data/lib/inttegro/financial_account/connected.rb +8 -0
  19. data/lib/inttegro/financial_account/created.rb +8 -0
  20. data/lib/inttegro/financial_account/details.rb +8 -0
  21. data/lib/inttegro/financial_account/financial_account.rb +8 -0
  22. data/lib/inttegro/financial_account/updated.rb +8 -0
  23. data/lib/inttegro/generated/enums.rb +2 -0
  24. data/lib/inttegro/generated/models.rb +23 -2
  25. data/lib/inttegro/generated/operations.rb +5 -2
  26. data/lib/inttegro/payout/balance_transaction.rb +11 -1
  27. data/lib/inttegro/payout/balance_transaction_status.rb +31 -0
  28. data/lib/inttegro/payout/error.rb +1 -1
  29. data/lib/inttegro/payout/failure.rb +43 -0
  30. data/lib/inttegro/payout/failure_reason.rb +33 -0
  31. data/lib/inttegro/payout/payout.rb +10 -2
  32. data/lib/inttegro/payout/status.rb +2 -2
  33. data/lib/inttegro/purchase_intent/create_presentation.rb +29 -0
  34. data/lib/inttegro/purchase_intent/create_presentation_buy_page.rb +28 -0
  35. data/lib/inttegro/purchase_intent/create_presentation_buy_page_text.rb +42 -0
  36. data/lib/inttegro/purchase_intent/create_request.rb +9 -0
  37. data/lib/inttegro/purchase_intent/presentation.rb +28 -0
  38. data/lib/inttegro/purchase_intent/presentation_buy_page.rb +28 -0
  39. data/lib/inttegro/purchase_intent/presentation_buy_page_text.rb +41 -0
  40. data/lib/inttegro/purchase_intent/purchase_intent.rb +8 -0
  41. data/lib/inttegro/purchase_intent/update_presentation.rb +29 -0
  42. data/lib/inttegro/purchase_intent/update_presentation_buy_page.rb +28 -0
  43. data/lib/inttegro/purchase_intent/update_presentation_buy_page_text.rb +41 -0
  44. data/lib/inttegro/purchase_intent/update_request.rb +9 -0
  45. data/lib/inttegro/version.rb +1 -1
  46. metadata +25 -2
@@ -0,0 +1,41 @@
1
+ # frozen_string_literal: true
2
+ # typed: strict
3
+
4
+ # Generated from openapi/commerce.yml by bin/generate-openapi-types. Do not edit.
5
+
6
+ require_relative "base"
7
+
8
+ module Inttegro
9
+ class PurchaseIntent
10
+ # Typed representation of the update presentation buy page text object in the Inttegro API.
11
+ #
12
+ # This generated model is immutable. Construct it with `.new`, or decode a string-keyed API
13
+ # payload with `.from_hash`. `#serialize` produces a string-keyed hash using the original wire
14
+ # field names and serialized enum values.
15
+ #
16
+ # @api public
17
+ #
18
+ # @!attribute [r] checkout_section_title
19
+ # Value of the `checkout_section_title` field in the Inttegro API payload.
20
+ #
21
+ # Optional in the API payload; omitted values default to `nil`. Wire name: `checkout_section_title`.
22
+ # @return [String, nil]
23
+ #
24
+ # @!attribute [r] amount_field_label
25
+ # Value of the `amount_field_label` field in the Inttegro API payload.
26
+ #
27
+ # Optional in the API payload; omitted values default to `nil`. Wire name: `amount_field_label`.
28
+ # @return [String, nil]
29
+ #
30
+ # @!attribute [r] primary_action_label
31
+ # Value of the `primary_action_label` field in the Inttegro API payload.
32
+ #
33
+ # Optional in the API payload; omitted values default to `nil`. Wire name: `primary_action_label`.
34
+ # @return [String, nil]
35
+ class UpdatePresentationBuyPageText < T::Struct
36
+ const :checkout_section_title, T.nilable(String), default: nil
37
+ const :amount_field_label, T.nilable(String), default: nil
38
+ const :primary_action_label, T.nilable(String), default: nil
39
+ end
40
+ end
41
+ end
@@ -4,6 +4,7 @@
4
4
  # Generated from openapi/commerce.yml by bin/generate-openapi-types. Do not edit.
5
5
 
6
6
  require_relative "base"
7
+ require_relative "update_presentation"
7
8
  require_relative "update_request_quantity"
8
9
 
9
10
  module Inttegro
@@ -50,12 +51,20 @@ module Inttegro
50
51
  #
51
52
  # Optional in the API payload; omitted values default to `nil`. Wire name: `reactivate`.
52
53
  # @return [Boolean, nil]
54
+ #
55
+ # @!attribute [r] presentation
56
+ # Sparse Buy page copy update. Omit a field to preserve it, or send null to restore the
57
+ # product-aware default.
58
+ #
59
+ # Optional in the API payload; omitted values default to `nil`. Wire name: `presentation`.
60
+ # @return [Inttegro::PurchaseIntent::UpdatePresentation, nil]
53
61
  class UpdateRequest < T::Struct
54
62
  const :expires_at, T.nilable(Time), default: nil
55
63
  const :id, T.nilable(String), default: nil
56
64
  const :quantity, T.nilable(Inttegro::PurchaseIntent::UpdateRequestQuantity), default: nil
57
65
  const :purchase_intent_id, T.nilable(String), default: nil
58
66
  const :reactivate, T.nilable(T::Boolean), default: nil
67
+ const :presentation, T.nilable(Inttegro::PurchaseIntent::UpdatePresentation), default: nil
59
68
  end
60
69
  end
61
70
  end
@@ -2,5 +2,5 @@
2
2
  # typed: strict
3
3
 
4
4
  module Inttegro
5
- VERSION = "9.2.2"
5
+ VERSION = "10.0.0"
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inttegro
3
3
  version: !ruby/object:Gem::Version
4
- version: 9.2.2
4
+ version: 10.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Inttegro Engineering
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-10-02 00:00:00.000000000 Z
11
+ date: 2026-10-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sorbet-runtime
@@ -102,6 +102,9 @@ files:
102
102
  - lib/inttegro/balance/currency_snapshot.rb
103
103
  - lib/inttegro/balance/currency_snapshot_refund.rb
104
104
  - lib/inttegro/balance/currency_snapshot_reserved.rb
105
+ - lib/inttegro/balance/holds.rb
106
+ - lib/inttegro/balance/holds_payout.rb
107
+ - lib/inttegro/balance/holds_refund.rb
105
108
  - lib/inttegro/balance/lookup_request.rb
106
109
  - lib/inttegro/balance/snapshot.rb
107
110
  - lib/inttegro/balance/snapshot_response.rb
@@ -148,6 +151,7 @@ files:
148
151
  - lib/inttegro/broadcast/request.rb
149
152
  - lib/inttegro/broadcast/request_request_meta.rb
150
153
  - lib/inttegro/broadcast/response.rb
154
+ - lib/inttegro/checkout/amount_selection.rb
151
155
  - lib/inttegro/checkout/base.rb
152
156
  - lib/inttegro/checkout/billing_details.rb
153
157
  - lib/inttegro/checkout/confirm_payment_request.rb
@@ -158,6 +162,9 @@ files:
158
162
  - lib/inttegro/checkout/invoice_view_format_receipt.rb
159
163
  - lib/inttegro/checkout/invoice_view_format_web.rb
160
164
  - lib/inttegro/checkout/invoice_view_status.rb
165
+ - lib/inttegro/checkout/lookup_request.rb
166
+ - lib/inttegro/checkout/lookup_request_variant2.rb
167
+ - lib/inttegro/checkout/lookup_response.rb
161
168
  - lib/inttegro/checkout/mobile_money_data.rb
162
169
  - lib/inttegro/checkout/mobile_money_data_network.rb
163
170
  - lib/inttegro/checkout/order.rb
@@ -183,6 +190,10 @@ files:
183
190
  - lib/inttegro/checkout/payment_method_data.rb
184
191
  - lib/inttegro/checkout/payment_method_data_billing_details.rb
185
192
  - lib/inttegro/checkout/payment_method_data_type.rb
193
+ - lib/inttegro/checkout/select_amount_request.rb
194
+ - lib/inttegro/checkout/select_amount_request_variant1.rb
195
+ - lib/inttegro/checkout/select_amount_request_variant2.rb
196
+ - lib/inttegro/checkout/selected_amount.rb
186
197
  - lib/inttegro/chime/base.rb
187
198
  - lib/inttegro/chime/chime.rb
188
199
  - lib/inttegro/chime/email_event.rb
@@ -547,6 +558,7 @@ files:
547
558
  - lib/inttegro/payment_method/update_response.rb
548
559
  - lib/inttegro/payment_method/verification.rb
549
560
  - lib/inttegro/payout/balance_transaction.rb
561
+ - lib/inttegro/payout/balance_transaction_status.rb
550
562
  - lib/inttegro/payout/base.rb
551
563
  - lib/inttegro/payout/cancel_request.rb
552
564
  - lib/inttegro/payout/destinations.rb
@@ -554,6 +566,8 @@ files:
554
566
  - lib/inttegro/payout/disable_automatic_response.rb
555
567
  - lib/inttegro/payout/enable_automatic_request.rb
556
568
  - lib/inttegro/payout/error.rb
569
+ - lib/inttegro/payout/failure.rb
570
+ - lib/inttegro/payout/failure_reason.rb
557
571
  - lib/inttegro/payout/get_settings_request.rb
558
572
  - lib/inttegro/payout/lookup_request.rb
559
573
  - lib/inttegro/payout/page.rb
@@ -633,6 +647,9 @@ files:
633
647
  - lib/inttegro/product/updated.rb
634
648
  - lib/inttegro/purchase_intent/base.rb
635
649
  - lib/inttegro/purchase_intent/cancel_request.rb
650
+ - lib/inttegro/purchase_intent/create_presentation.rb
651
+ - lib/inttegro/purchase_intent/create_presentation_buy_page.rb
652
+ - lib/inttegro/purchase_intent/create_presentation_buy_page_text.rb
636
653
  - lib/inttegro/purchase_intent/create_request.rb
637
654
  - lib/inttegro/purchase_intent/create_request_price.rb
638
655
  - lib/inttegro/purchase_intent/create_request_price_original.rb
@@ -645,6 +662,9 @@ files:
645
662
  - lib/inttegro/purchase_intent/page.rb
646
663
  - lib/inttegro/purchase_intent/page_request.rb
647
664
  - lib/inttegro/purchase_intent/page_response.rb
665
+ - lib/inttegro/purchase_intent/presentation.rb
666
+ - lib/inttegro/purchase_intent/presentation_buy_page.rb
667
+ - lib/inttegro/purchase_intent/presentation_buy_page_text.rb
648
668
  - lib/inttegro/purchase_intent/price.rb
649
669
  - lib/inttegro/purchase_intent/product.rb
650
670
  - lib/inttegro/purchase_intent/product_attributes_item.rb
@@ -653,6 +673,9 @@ files:
653
673
  - lib/inttegro/purchase_intent/questions.rb
654
674
  - lib/inttegro/purchase_intent/response.rb
655
675
  - lib/inttegro/purchase_intent/status.rb
676
+ - lib/inttegro/purchase_intent/update_presentation.rb
677
+ - lib/inttegro/purchase_intent/update_presentation_buy_page.rb
678
+ - lib/inttegro/purchase_intent/update_presentation_buy_page_text.rb
656
679
  - lib/inttegro/purchase_intent/update_request.rb
657
680
  - lib/inttegro/purchase_intent/update_request_quantity.rb
658
681
  - lib/inttegro/purchase_intent/usage.rb