inttegro 11.0.0 → 11.1.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 (105) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +7 -0
  3. data/lib/inttegro/app/application.rb +9 -0
  4. data/lib/inttegro/app/create_request.rb +10 -0
  5. data/lib/inttegro/app/looked_up.rb +9 -0
  6. data/lib/inttegro/app/operating_policy.rb +37 -0
  7. data/lib/inttegro/app/update_request.rb +10 -0
  8. data/lib/inttegro/app/updated.rb +9 -0
  9. data/lib/inttegro/balance_transaction/balance_transaction.rb +4 -3
  10. data/lib/inttegro/broadcast/request.rb +5 -3
  11. data/lib/inttegro/checkout/customer_data.rb +41 -0
  12. data/lib/inttegro/checkout/lookup_request.rb +3 -3
  13. data/lib/inttegro/checkout/{lookup_request_variant2.rb → lookup_resource_request_variant2.rb} +2 -2
  14. data/lib/inttegro/checkout/lookup_response.rb +8 -17
  15. data/lib/inttegro/checkout/order_line_item_group.rb +5 -3
  16. data/lib/inttegro/checkout/pay_request.rb +40 -3
  17. data/lib/inttegro/checkout/pay_request_selected_amount.rb +36 -0
  18. data/lib/inttegro/checkout/select_amount_request_variant2.rb +6 -6
  19. data/lib/inttegro/checkout/select_amount_request_variant2_line_items_item.rb +36 -0
  20. data/lib/inttegro/chime/inline_recipient.rb +4 -4
  21. data/lib/inttegro/chime/recipient.rb +4 -3
  22. data/lib/inttegro/chime/send_request.rb +5 -3
  23. data/lib/inttegro/chime/{inline_recipient_variant1.rb → send_request_recipient_variant1_variant1.rb} +9 -8
  24. data/lib/inttegro/chime/{inline_recipient_variant1_phone.rb → send_request_recipient_variant1_variant1_phone.rb} +3 -2
  25. data/lib/inttegro/chime/{inline_recipient_variant1_type.rb → send_request_recipient_variant1_variant1_type.rb} +3 -3
  26. data/lib/inttegro/chime/{inline_recipient_variant2.rb → send_request_recipient_variant1_variant2.rb} +9 -8
  27. data/lib/inttegro/chime/{inline_recipient_variant2_email.rb → send_request_recipient_variant1_variant2_email.rb} +3 -2
  28. data/lib/inttegro/chime/{inline_recipient_variant2_type.rb → send_request_recipient_variant1_variant2_type.rb} +3 -3
  29. data/lib/inttegro/client.rb +10 -0
  30. data/lib/inttegro/financial_account/connected.rb +9 -0
  31. data/lib/inttegro/financial_account/created.rb +9 -0
  32. data/lib/inttegro/financial_account/details.rb +9 -0
  33. data/lib/inttegro/financial_account/financial_account.rb +9 -0
  34. data/lib/inttegro/financial_account/name_enquiry.rb +42 -0
  35. data/lib/inttegro/financial_account/updated.rb +9 -0
  36. data/lib/inttegro/generated/enums.rb +5 -2
  37. data/lib/inttegro/generated/models.rb +71 -31
  38. data/lib/inttegro/generated/operations.rb +20 -8
  39. data/lib/inttegro/message_template/create_email_request.rb +2 -3
  40. data/lib/inttegro/message_template/email_content.rb +6 -3
  41. data/lib/inttegro/message_template/email_content_from.rb +36 -0
  42. data/lib/inttegro/message_template/message_template.rb +2 -3
  43. data/lib/inttegro/message_template/rendered.rb +2 -3
  44. data/lib/inttegro/message_template/update_request.rb +2 -3
  45. data/lib/inttegro/order/create_existing_customer.rb +5 -3
  46. data/lib/inttegro/order/create_new_customer.rb +5 -3
  47. data/lib/inttegro/order/line_item_group.rb +6 -3
  48. data/lib/inttegro/order/update_request.rb +5 -3
  49. data/lib/inttegro/payment/children_policy_capabilities.rb +35 -0
  50. data/lib/inttegro/payment/operating_policy_capabilities.rb +35 -0
  51. data/lib/inttegro/payment/operating_policy_capabilities_input.rb +35 -0
  52. data/lib/inttegro/payment_method/children_policy_payment_method_capabilities.rb +35 -0
  53. data/lib/inttegro/payment_method/children_policy_payment_methods_capabilities.rb +50 -0
  54. data/lib/inttegro/payment_method/operating_policy_payment_method_capabilities.rb +35 -0
  55. data/lib/inttegro/payment_method/operating_policy_payment_methods_capabilities.rb +50 -0
  56. data/lib/inttegro/payout/amount_limits.rb +9 -7
  57. data/lib/inttegro/payout/children_policy_capabilities.rb +43 -0
  58. data/lib/inttegro/payout/limit_value.rb +28 -0
  59. data/lib/inttegro/payout/operating_policy_capabilities.rb +43 -0
  60. data/lib/inttegro/payout/operating_policy_capabilities_input.rb +43 -0
  61. data/lib/inttegro/payout/settings_limits.rb +3 -3
  62. data/lib/inttegro/payout/settings_lookup_schedule_aging_spec.rb +7 -0
  63. data/lib/inttegro/payout/settings_mutation_schedule_spec.rb +4 -4
  64. data/lib/inttegro/product/line_item.rb +6 -3
  65. data/lib/inttegro/product/media.rb +8 -7
  66. data/lib/inttegro/product/update_request.rb +1 -1
  67. data/lib/inttegro/purchase_intent/merchant.rb +14 -19
  68. data/lib/inttegro/purchase_intent/merchant_asset.rb +34 -0
  69. data/lib/inttegro/purchase_intent/merchant_branding.rb +50 -0
  70. data/lib/inttegro/purchase_intent/merchant_color_scheme.rb +76 -0
  71. data/lib/inttegro/purchase_intent/merchant_profile.rb +42 -0
  72. data/lib/inttegro/purchase_intent/merchant_support.rb +34 -0
  73. data/lib/inttegro/purchase_intent/purchase_intent.rb +10 -2
  74. data/lib/inttegro/refund/line_item.rb +5 -3
  75. data/lib/inttegro/refund/payment_method_settlement.rb +4 -3
  76. data/lib/inttegro/refund/refund.rb +4 -3
  77. data/lib/inttegro/resources/children_policies.rb +26 -0
  78. data/lib/inttegro/resources/operating_policies.rb +52 -0
  79. data/lib/inttegro/schedule/chime_request.rb +5 -3
  80. data/lib/inttegro/shared/children_policy.rb +91 -0
  81. data/lib/inttegro/shared/children_policy_capabilities.rb +44 -0
  82. data/lib/inttegro/shared/children_policy_response.rb +28 -0
  83. data/lib/inttegro/shared/create_operating_policy_request.rb +42 -0
  84. data/lib/inttegro/shared/inline_operating_policy_selection.rb +28 -0
  85. data/lib/inttegro/shared/lookup_children_policy_request.rb +22 -0
  86. data/lib/inttegro/shared/lookup_operating_policy_request.rb +27 -0
  87. data/lib/inttegro/shared/operating_policy.rb +98 -0
  88. data/lib/inttegro/shared/operating_policy_capabilities.rb +44 -0
  89. data/lib/inttegro/shared/operating_policy_capabilities_input.rb +44 -0
  90. data/lib/inttegro/shared/operating_policy_response.rb +28 -0
  91. data/lib/inttegro/shared/operating_policy_selection.rb +19 -0
  92. data/lib/inttegro/shared/operating_policy_selection_by_id.rb +27 -0
  93. data/lib/inttegro/shared/operating_policy_source.rb +42 -0
  94. data/lib/inttegro/shared/operating_policy_source_type.rb +28 -0
  95. data/lib/inttegro/shared/policy_amount_range.rb +34 -0
  96. data/lib/inttegro/shared/policy_bt_aging_spec.rb +35 -0
  97. data/lib/inttegro/shared/policy_bt_aging_spec_public_id.rb +34 -0
  98. data/lib/inttegro/shared/policy_bt_aging_spec_reference.rb +28 -0
  99. data/lib/inttegro/shared/policy_bt_aging_spec_reference_id.rb +33 -0
  100. data/lib/inttegro/shared/policy_limits.rb +28 -0
  101. data/lib/inttegro/shared/update_operating_policy_request.rb +56 -0
  102. data/lib/inttegro/version.rb +1 -1
  103. data/rbi/inttegro/generated.rbi +26 -4
  104. metadata +55 -10
  105. data/lib/inttegro/checkout/amount_selection.rb +0 -84
@@ -0,0 +1,35 @@
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
+ require_relative "policy_bt_aging_spec_public_id"
8
+
9
+ module Inttegro
10
+ module Shared
11
+ # Typed representation of the policy bt aging spec object in the Inttegro API.
12
+ #
13
+ # This generated model is immutable. Construct it with `.new`, or decode a string-keyed API
14
+ # payload with `.from_hash`. `#serialize` produces a string-keyed hash using the original wire
15
+ # field names and serialized enum values.
16
+ #
17
+ # @api public
18
+ #
19
+ # @!attribute [r] public_id
20
+ # Value of the `public_id` field in the Inttegro API payload.
21
+ #
22
+ # Required in the API payload. Wire name: `public_id`.
23
+ # @return [Inttegro::Shared::PolicyBTAgingSpecPublicId]
24
+ #
25
+ # @!attribute [r] t_plus
26
+ # Platform-owned whole-hour aging duration.
27
+ #
28
+ # Required in the API payload. Wire name: `t_plus`.
29
+ # @return [String]
30
+ class PolicyBTAgingSpec < T::Struct
31
+ const :public_id, Inttegro::Shared::PolicyBTAgingSpecPublicId
32
+ const :t_plus, String
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,34 @@
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
+ module Shared
10
+ # String-backed values accepted by the Inttegro API for
11
+ # Inttegro::Shared::PolicyBTAgingSpecPublicId.
12
+ #
13
+ # Use the constants below when constructing a request. `#serialize` returns the documented
14
+ # string wire value received from or sent to the API.
15
+ #
16
+ # @api public
17
+ class PolicyBTAgingSpecPublicId < T::Enum
18
+ enums do
19
+ # Serialized wire value: `bt_aging_spec_immediate`.
20
+ # @return [Inttegro::Shared::PolicyBTAgingSpecPublicId]
21
+ BT_AGING_SPEC_IMMEDIATE = new("bt_aging_spec_immediate")
22
+ # Serialized wire value: `bt_aging_spec_24_hourly`.
23
+ # @return [Inttegro::Shared::PolicyBTAgingSpecPublicId]
24
+ BT_AGING_SPEC_24_HOURLY = new("bt_aging_spec_24_hourly")
25
+ # Serialized wire value: `bt_aging_spec_48_hourly`.
26
+ # @return [Inttegro::Shared::PolicyBTAgingSpecPublicId]
27
+ BT_AGING_SPEC_48_HOURLY = new("bt_aging_spec_48_hourly")
28
+ # Serialized wire value: `bt_aging_spec_168_hourly`.
29
+ # @return [Inttegro::Shared::PolicyBTAgingSpecPublicId]
30
+ BT_AGING_SPEC_168_HOURLY = new("bt_aging_spec_168_hourly")
31
+ end
32
+ end
33
+ end
34
+ end
@@ -0,0 +1,28 @@
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
+ require_relative "policy_bt_aging_spec_reference_id"
8
+
9
+ module Inttegro
10
+ module Shared
11
+ # Typed representation of the policy bt aging spec reference object in the Inttegro API.
12
+ #
13
+ # This generated model is immutable. Construct it with `.new`, or decode a string-keyed API
14
+ # payload with `.from_hash`. `#serialize` produces a string-keyed hash using the original wire
15
+ # field names and serialized enum values.
16
+ #
17
+ # @api public
18
+ #
19
+ # @!attribute [r] id
20
+ # Public aging-specification identifier. The platform determines `t_plus`.
21
+ #
22
+ # Required in the API payload. Wire name: `id`.
23
+ # @return [Inttegro::Shared::PolicyBTAgingSpecReferenceId]
24
+ class PolicyBTAgingSpecReference < T::Struct
25
+ const :id, Inttegro::Shared::PolicyBTAgingSpecReferenceId
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,33 @@
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
+ module Shared
10
+ # Public aging-specification identifier. The platform determines `t_plus`.
11
+ #
12
+ # Use the constants below when constructing a request. `#serialize` returns the documented
13
+ # string wire value received from or sent to the API.
14
+ #
15
+ # @api public
16
+ class PolicyBTAgingSpecReferenceId < T::Enum
17
+ enums do
18
+ # Serialized wire value: `bt_aging_spec_immediate`.
19
+ # @return [Inttegro::Shared::PolicyBTAgingSpecReferenceId]
20
+ BT_AGING_SPEC_IMMEDIATE = new("bt_aging_spec_immediate")
21
+ # Serialized wire value: `bt_aging_spec_24_hourly`.
22
+ # @return [Inttegro::Shared::PolicyBTAgingSpecReferenceId]
23
+ BT_AGING_SPEC_24_HOURLY = new("bt_aging_spec_24_hourly")
24
+ # Serialized wire value: `bt_aging_spec_48_hourly`.
25
+ # @return [Inttegro::Shared::PolicyBTAgingSpecReferenceId]
26
+ BT_AGING_SPEC_48_HOURLY = new("bt_aging_spec_48_hourly")
27
+ # Serialized wire value: `bt_aging_spec_168_hourly`.
28
+ # @return [Inttegro::Shared::PolicyBTAgingSpecReferenceId]
29
+ BT_AGING_SPEC_168_HOURLY = new("bt_aging_spec_168_hourly")
30
+ end
31
+ end
32
+ end
33
+ end
@@ -0,0 +1,28 @@
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
+ require_relative "policy_amount_range"
8
+
9
+ module Inttegro
10
+ module Shared
11
+ # Typed representation of the policy limits object in the Inttegro API.
12
+ #
13
+ # This generated model is immutable. Construct it with `.new`, or decode a string-keyed API
14
+ # payload with `.from_hash`. `#serialize` produces a string-keyed hash using the original wire
15
+ # field names and serialized enum values.
16
+ #
17
+ # @api public
18
+ #
19
+ # @!attribute [r] amount
20
+ # Value of the `amount` field in the Inttegro API payload.
21
+ #
22
+ # Required in the API payload. Wire name: `amount`.
23
+ # @return [Inttegro::Shared::PolicyAmountRange]
24
+ class PolicyLimits < T::Struct
25
+ const :amount, Inttegro::Shared::PolicyAmountRange
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,56 @@
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
+ require_relative "operating_policy_capabilities_input"
8
+
9
+ module Inttegro
10
+ module Shared
11
+ # Typed representation of the update operating policy request object in the Inttegro API.
12
+ #
13
+ # This generated model is immutable. Construct it with `.new`, or decode a string-keyed API
14
+ # payload with `.from_hash`. `#serialize` produces a string-keyed hash using the original wire
15
+ # field names and serialized enum values.
16
+ #
17
+ # @api public
18
+ #
19
+ # @!attribute [r] operating_policy_id
20
+ # Value of the `operating_policy_id` field in the Inttegro API payload.
21
+ #
22
+ # Required in the API payload. Wire name: `operating_policy_id`.
23
+ # @return [String]
24
+ #
25
+ # @!attribute [r] expected_version
26
+ # Value of the `expected_version` field in the Inttegro API payload.
27
+ #
28
+ # Required in the API payload. Wire name: `expected_version`.
29
+ # @return [Integer]
30
+ #
31
+ # @!attribute [r] name
32
+ # Value of the `name` field in the Inttegro API payload.
33
+ #
34
+ # Optional in the API payload; omitted values default to `nil`. Wire name: `name`.
35
+ # @return [String, nil]
36
+ #
37
+ # @!attribute [r] description
38
+ # Value of the `description` field in the Inttegro API payload.
39
+ #
40
+ # Optional in the API payload; omitted values default to `nil`. Wire name: `description`.
41
+ # @return [String, nil]
42
+ #
43
+ # @!attribute [r] capabilities
44
+ # Value of the `capabilities` field in the Inttegro API payload.
45
+ #
46
+ # Optional in the API payload; omitted values default to `nil`. Wire name: `capabilities`.
47
+ # @return [Inttegro::Shared::OperatingPolicyCapabilitiesInput, nil]
48
+ class UpdateOperatingPolicyRequest < T::Struct
49
+ const :operating_policy_id, String
50
+ const :expected_version, Integer
51
+ const :name, T.nilable(String), default: nil
52
+ const :description, T.nilable(String), default: nil
53
+ const :capabilities, T.nilable(Inttegro::Shared::OperatingPolicyCapabilitiesInput), default: nil
54
+ end
55
+ end
56
+ end
@@ -2,5 +2,5 @@
2
2
  # typed: strict
3
3
 
4
4
  module Inttegro
5
- VERSION = "11.0.0"
5
+ VERSION = "11.1.0"
6
6
  end
@@ -50,6 +50,14 @@ module Inttegro
50
50
  def lookup(broadcast_id:); end
51
51
  end
52
52
 
53
+ class ChildrenPolicies
54
+ sig { params(http: Inttegro::HTTPClient).void }
55
+ def initialize(http); end
56
+
57
+ sig { returns(Inttegro::Shared::ChildrenPolicy) }
58
+ def lookup(); end
59
+ end
60
+
53
61
  class Chimes
54
62
  sig { params(http: Inttegro::HTTPClient).void }
55
63
  def initialize(http); end
@@ -147,10 +155,10 @@ module Inttegro
147
155
  sig { params(http: Inttegro::HTTPClient).void }
148
156
  def initialize(http); end
149
157
 
150
- sig { params(payload: T.any(Inttegro::FinancialAccount::CreateRequest, Inttegro::Types::Payload)).returns(Inttegro::FinancialAccount) }
158
+ sig { params(payload: T.any(T.any(Inttegro::FinancialAccount::WalletRequest, Inttegro::FinancialAccount::BankRequest, Inttegro::FinancialAccount::DoshRequest), Inttegro::Types::Payload)).returns(Inttegro::FinancialAccount) }
151
159
  def connect(payload); end
152
160
 
153
- sig { params(payload: T.any(Inttegro::FinancialAccount::CreateRequest, Inttegro::Types::Payload)).returns(Inttegro::FinancialAccount) }
161
+ sig { params(payload: T.any(T.any(Inttegro::FinancialAccount::WalletRequest, Inttegro::FinancialAccount::BankRequest, Inttegro::FinancialAccount::DoshRequest), Inttegro::Types::Payload)).returns(Inttegro::FinancialAccount) }
154
162
  def create(payload); end
155
163
 
156
164
  sig { params(account_id: String).returns(Inttegro::FinancialAccount) }
@@ -219,7 +227,7 @@ module Inttegro
219
227
  sig { params(template_id: String, idempotency_key: T.nilable(String)).returns(Inttegro::MessageTemplate) }
220
228
  def archive(template_id:, idempotency_key: nil); end
221
229
 
222
- sig { params(payload: T.any(Inttegro::MessageTemplate::CreateRequest, Inttegro::Types::Payload), idempotency_key: T.nilable(String)).returns(Inttegro::MessageTemplate) }
230
+ sig { params(payload: T.any(T.any(Inttegro::MessageTemplate::CreateSMSRequest, Inttegro::MessageTemplate::CreateEmailRequest), Inttegro::Types::Payload), idempotency_key: T.nilable(String)).returns(Inttegro::MessageTemplate) }
223
231
  def create(payload, idempotency_key: nil); end
224
232
 
225
233
  sig { params(template_id: String).returns(Inttegro::MessageTemplate) }
@@ -243,6 +251,20 @@ module Inttegro
243
251
  def idempotency_headers(idempotency_key); end
244
252
  end
245
253
 
254
+ class OperatingPolicies
255
+ sig { params(http: Inttegro::HTTPClient).void }
256
+ def initialize(http); end
257
+
258
+ sig { params(payload: T.any(Inttegro::Shared::CreateOperatingPolicyRequest, Inttegro::Types::Payload)).returns(Inttegro::Shared::OperatingPolicy) }
259
+ def create(payload); end
260
+
261
+ sig { params(operating_policy_id: String).returns(Inttegro::Shared::OperatingPolicy) }
262
+ def lookup(operating_policy_id); end
263
+
264
+ sig { params(payload: T.any(Inttegro::Shared::UpdateOperatingPolicyRequest, Inttegro::Types::Payload)).returns(Inttegro::Shared::OperatingPolicy) }
265
+ def update(payload); end
266
+ end
267
+
246
268
  class Orders
247
269
  sig { params(http: Inttegro::HTTPClient).void }
248
270
  def initialize(http); end
@@ -532,7 +554,7 @@ module Inttegro
532
554
  sig { params(payload: T.nilable(T.any(Inttegro::UploadRequest::PageRequest, Inttegro::Types::Payload))).returns(Inttegro::UploadRequest::Page) }
533
555
  def page(payload = nil); end
534
556
 
535
- sig { params(payload: T.any(Inttegro::UploadRequest::ReviewAttemptRequest, Inttegro::Types::Payload), idempotency_key: T.nilable(String)).returns(Inttegro::UploadRequest::Details) }
557
+ sig { params(payload: T.any(T.any(Inttegro::UploadRequest::ReviewAttemptByIDRequest, Inttegro::UploadRequest::ReviewAttemptByOrdinalRequest), Inttegro::Types::Payload), idempotency_key: T.nilable(String)).returns(Inttegro::UploadRequest::Details) }
536
558
  def review(payload, idempotency_key: nil); end
537
559
 
538
560
  private
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: 11.0.0
4
+ version: 11.1.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-14 00:00:00.000000000 Z
11
+ date: 2026-11-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sorbet-runtime
@@ -101,6 +101,7 @@ files:
101
101
  - lib/inttegro/app/lookup_capabilities_request.rb
102
102
  - lib/inttegro/app/lookup_response.rb
103
103
  - lib/inttegro/app/management_role.rb
104
+ - lib/inttegro/app/operating_policy.rb
104
105
  - lib/inttegro/app/pending_review_capability.rb
105
106
  - lib/inttegro/app/pending_review_capability_status.rb
106
107
  - lib/inttegro/app/pending_review_capability_status_reason.rb
@@ -168,10 +169,10 @@ files:
168
169
  - lib/inttegro/broadcast/request.rb
169
170
  - lib/inttegro/broadcast/request_request_meta.rb
170
171
  - lib/inttegro/broadcast/response.rb
171
- - lib/inttegro/checkout/amount_selection.rb
172
172
  - lib/inttegro/checkout/base.rb
173
173
  - lib/inttegro/checkout/billing_details.rb
174
174
  - lib/inttegro/checkout/confirm_payment_request.rb
175
+ - lib/inttegro/checkout/customer_data.rb
175
176
  - lib/inttegro/checkout/invoice_view.rb
176
177
  - lib/inttegro/checkout/invoice_view_beneficiary.rb
177
178
  - lib/inttegro/checkout/invoice_view_format.rb
@@ -179,7 +180,7 @@ files:
179
180
  - lib/inttegro/checkout/invoice_view_format_web.rb
180
181
  - lib/inttegro/checkout/invoice_view_status.rb
181
182
  - lib/inttegro/checkout/lookup_request.rb
182
- - lib/inttegro/checkout/lookup_request_variant2.rb
183
+ - lib/inttegro/checkout/lookup_resource_request_variant2.rb
183
184
  - lib/inttegro/checkout/lookup_response.rb
184
185
  - lib/inttegro/checkout/mobile_money_data.rb
185
186
  - lib/inttegro/checkout/mobile_money_data_network.rb
@@ -202,6 +203,7 @@ files:
202
203
  - lib/inttegro/checkout/pay_request.rb
203
204
  - lib/inttegro/checkout/pay_request_payment_method_data.rb
204
205
  - lib/inttegro/checkout/pay_request_payment_method_data_type.rb
206
+ - lib/inttegro/checkout/pay_request_selected_amount.rb
205
207
  - lib/inttegro/checkout/payment_address.rb
206
208
  - lib/inttegro/checkout/payment_method_data.rb
207
209
  - lib/inttegro/checkout/payment_method_data_billing_details.rb
@@ -209,6 +211,7 @@ files:
209
211
  - lib/inttegro/checkout/select_amount_request.rb
210
212
  - lib/inttegro/checkout/select_amount_request_variant1.rb
211
213
  - lib/inttegro/checkout/select_amount_request_variant2.rb
214
+ - lib/inttegro/checkout/select_amount_request_variant2_line_items_item.rb
212
215
  - lib/inttegro/checkout/selected_amount.rb
213
216
  - lib/inttegro/chime/base.rb
214
217
  - lib/inttegro/chime/chime.rb
@@ -221,12 +224,6 @@ files:
221
224
  - lib/inttegro/chime/email_schema_kind.rb
222
225
  - lib/inttegro/chime/email_schema_markup.rb
223
226
  - lib/inttegro/chime/inline_recipient.rb
224
- - lib/inttegro/chime/inline_recipient_variant1.rb
225
- - lib/inttegro/chime/inline_recipient_variant1_phone.rb
226
- - lib/inttegro/chime/inline_recipient_variant1_type.rb
227
- - lib/inttegro/chime/inline_recipient_variant2.rb
228
- - lib/inttegro/chime/inline_recipient_variant2_email.rb
229
- - lib/inttegro/chime/inline_recipient_variant2_type.rb
230
227
  - lib/inttegro/chime/lookup_request.rb
231
228
  - lib/inttegro/chime/page.rb
232
229
  - lib/inttegro/chime/page_request.rb
@@ -240,6 +237,12 @@ files:
240
237
  - lib/inttegro/chime/saved_customer_recipient.rb
241
238
  - lib/inttegro/chime/send_request.rb
242
239
  - lib/inttegro/chime/send_request_cooldown.rb
240
+ - lib/inttegro/chime/send_request_recipient_variant1_variant1.rb
241
+ - lib/inttegro/chime/send_request_recipient_variant1_variant1_phone.rb
242
+ - lib/inttegro/chime/send_request_recipient_variant1_variant1_type.rb
243
+ - lib/inttegro/chime/send_request_recipient_variant1_variant2.rb
244
+ - lib/inttegro/chime/send_request_recipient_variant1_variant2_email.rb
245
+ - lib/inttegro/chime/send_request_recipient_variant1_variant2_type.rb
243
246
  - lib/inttegro/chime/send_request_request_meta.rb
244
247
  - lib/inttegro/chime/transmission.rb
245
248
  - lib/inttegro/chime/transport.rb
@@ -343,6 +346,7 @@ files:
343
346
  - lib/inttegro/financial_account/id_request.rb
344
347
  - lib/inttegro/financial_account/lookup_response.rb
345
348
  - lib/inttegro/financial_account/mandate.rb
349
+ - lib/inttegro/financial_account/name_enquiry.rb
346
350
  - lib/inttegro/financial_account/owner.rb
347
351
  - lib/inttegro/financial_account/owner_input.rb
348
352
  - lib/inttegro/financial_account/owner_input_address.rb
@@ -390,6 +394,7 @@ files:
390
394
  - lib/inttegro/message_template/create_sms_request.rb
391
395
  - lib/inttegro/message_template/create_sms_request_channel.rb
392
396
  - lib/inttegro/message_template/email_content.rb
397
+ - lib/inttegro/message_template/email_content_from.rb
393
398
  - lib/inttegro/message_template/envelope.rb
394
399
  - lib/inttegro/message_template/id_request.rb
395
400
  - lib/inttegro/message_template/mailbox.rb
@@ -501,6 +506,7 @@ files:
501
506
  - lib/inttegro/payment/base.rb
502
507
  - lib/inttegro/payment/billing_details.rb
503
508
  - lib/inttegro/payment/billing_details_owner.rb
509
+ - lib/inttegro/payment/children_policy_capabilities.rb
504
510
  - lib/inttegro/payment/confirm_request.rb
505
511
  - lib/inttegro/payment/confirmation_channel.rb
506
512
  - lib/inttegro/payment/customer.rb
@@ -521,6 +527,8 @@ files:
521
527
  - lib/inttegro/payment/next_action_request_confirmation.rb
522
528
  - lib/inttegro/payment/next_action_request_confirmation_last_request.rb
523
529
  - lib/inttegro/payment/next_action_type.rb
530
+ - lib/inttegro/payment/operating_policy_capabilities.rb
531
+ - lib/inttegro/payment/operating_policy_capabilities_input.rb
524
532
  - lib/inttegro/payment/payment.rb
525
533
  - lib/inttegro/payment/payment_method.rb
526
534
  - lib/inttegro/payment/payout_configuration.rb
@@ -537,6 +545,8 @@ files:
537
545
  - lib/inttegro/payment_method/bank_account_ghana_bank_account.rb
538
546
  - lib/inttegro/payment_method/base.rb
539
547
  - lib/inttegro/payment_method/card.rb
548
+ - lib/inttegro/payment_method/children_policy_payment_method_capabilities.rb
549
+ - lib/inttegro/payment_method/children_policy_payment_methods_capabilities.rb
540
550
  - lib/inttegro/payment_method/data.rb
541
551
  - lib/inttegro/payment_method/data_mobile_money.rb
542
552
  - lib/inttegro/payment_method/data_type.rb
@@ -548,6 +558,8 @@ files:
548
558
  - lib/inttegro/payment_method/lookup_request.rb
549
559
  - lib/inttegro/payment_method/lookup_response.rb
550
560
  - lib/inttegro/payment_method/mobile_money.rb
561
+ - lib/inttegro/payment_method/operating_policy_payment_method_capabilities.rb
562
+ - lib/inttegro/payment_method/operating_policy_payment_methods_capabilities.rb
551
563
  - lib/inttegro/payment_method/owner.rb
552
564
  - lib/inttegro/payment_method/owner_address.rb
553
565
  - lib/inttegro/payment_method/owner_input.rb
@@ -581,6 +593,7 @@ files:
581
593
  - lib/inttegro/payout/cancel_request.rb
582
594
  - lib/inttegro/payout/cancellation.rb
583
595
  - lib/inttegro/payout/cancellation_reason.rb
596
+ - lib/inttegro/payout/children_policy_capabilities.rb
584
597
  - lib/inttegro/payout/destinations.rb
585
598
  - lib/inttegro/payout/disable_automatic_request.rb
586
599
  - lib/inttegro/payout/disable_automatic_response.rb
@@ -589,7 +602,10 @@ files:
589
602
  - lib/inttegro/payout/failure.rb
590
603
  - lib/inttegro/payout/failure_reason.rb
591
604
  - lib/inttegro/payout/get_settings_request.rb
605
+ - lib/inttegro/payout/limit_value.rb
592
606
  - lib/inttegro/payout/lookup_request.rb
607
+ - lib/inttegro/payout/operating_policy_capabilities.rb
608
+ - lib/inttegro/payout/operating_policy_capabilities_input.rb
593
609
  - lib/inttegro/payout/page.rb
594
610
  - lib/inttegro/payout/page_request.rb
595
611
  - lib/inttegro/payout/page_response.rb
@@ -679,6 +695,11 @@ files:
679
695
  - lib/inttegro/purchase_intent/create_request_usage.rb
680
696
  - lib/inttegro/purchase_intent/lookup_request.rb
681
697
  - lib/inttegro/purchase_intent/merchant.rb
698
+ - lib/inttegro/purchase_intent/merchant_asset.rb
699
+ - lib/inttegro/purchase_intent/merchant_branding.rb
700
+ - lib/inttegro/purchase_intent/merchant_color_scheme.rb
701
+ - lib/inttegro/purchase_intent/merchant_profile.rb
702
+ - lib/inttegro/purchase_intent/merchant_support.rb
682
703
  - lib/inttegro/purchase_intent/original_price.rb
683
704
  - lib/inttegro/purchase_intent/page.rb
684
705
  - lib/inttegro/purchase_intent/page_request.rb
@@ -747,6 +768,7 @@ files:
747
768
  - lib/inttegro/resources/balance_transactions.rb
748
769
  - lib/inttegro/resources/balances.rb
749
770
  - lib/inttegro/resources/broadcasts.rb
771
+ - lib/inttegro/resources/children_policies.rb
750
772
  - lib/inttegro/resources/chimes.rb
751
773
  - lib/inttegro/resources/customers.rb
752
774
  - lib/inttegro/resources/file_links.rb
@@ -755,6 +777,7 @@ files:
755
777
  - lib/inttegro/resources/financial_accounts.rb
756
778
  - lib/inttegro/resources/keys.rb
757
779
  - lib/inttegro/resources/message_templates.rb
780
+ - lib/inttegro/resources/operating_policies.rb
758
781
  - lib/inttegro/resources/orders.rb
759
782
  - lib/inttegro/resources/otp.rb
760
783
  - lib/inttegro/resources/payment_methods.rb
@@ -827,12 +850,16 @@ files:
827
850
  - lib/inttegro/shared/address.rb
828
851
  - lib/inttegro/shared/base.rb
829
852
  - lib/inttegro/shared/billing_details.rb
853
+ - lib/inttegro/shared/children_policy.rb
854
+ - lib/inttegro/shared/children_policy_capabilities.rb
855
+ - lib/inttegro/shared/children_policy_response.rb
830
856
  - lib/inttegro/shared/content_safety_status.rb
831
857
  - lib/inttegro/shared/country_bank.rb
832
858
  - lib/inttegro/shared/country_bank_branch.rb
833
859
  - lib/inttegro/shared/country_bank_directory.rb
834
860
  - lib/inttegro/shared/country_specification.rb
835
861
  - lib/inttegro/shared/country_specifications.rb
862
+ - lib/inttegro/shared/create_operating_policy_request.rb
836
863
  - lib/inttegro/shared/delivery_channel.rb
837
864
  - lib/inttegro/shared/dosh_account.rb
838
865
  - lib/inttegro/shared/error_envelope.rb
@@ -844,11 +871,28 @@ files:
844
871
  - lib/inttegro/shared/financial_institution_bank.rb
845
872
  - lib/inttegro/shared/financial_institution_bank_branch.rb
846
873
  - lib/inttegro/shared/financial_institution_mobile_money_provider.rb
874
+ - lib/inttegro/shared/inline_operating_policy_selection.rb
847
875
  - lib/inttegro/shared/invoice_settings.rb
848
876
  - lib/inttegro/shared/line_item.rb
849
877
  - lib/inttegro/shared/list_country_specs_request.rb
878
+ - lib/inttegro/shared/lookup_children_policy_request.rb
879
+ - lib/inttegro/shared/lookup_operating_policy_request.rb
850
880
  - lib/inttegro/shared/mobile_money.rb
851
881
  - lib/inttegro/shared/mobile_money_network.rb
882
+ - lib/inttegro/shared/operating_policy.rb
883
+ - lib/inttegro/shared/operating_policy_capabilities.rb
884
+ - lib/inttegro/shared/operating_policy_capabilities_input.rb
885
+ - lib/inttegro/shared/operating_policy_response.rb
886
+ - lib/inttegro/shared/operating_policy_selection.rb
887
+ - lib/inttegro/shared/operating_policy_selection_by_id.rb
888
+ - lib/inttegro/shared/operating_policy_source.rb
889
+ - lib/inttegro/shared/operating_policy_source_type.rb
890
+ - lib/inttegro/shared/policy_amount_range.rb
891
+ - lib/inttegro/shared/policy_bt_aging_spec.rb
892
+ - lib/inttegro/shared/policy_bt_aging_spec_public_id.rb
893
+ - lib/inttegro/shared/policy_bt_aging_spec_reference.rb
894
+ - lib/inttegro/shared/policy_bt_aging_spec_reference_id.rb
895
+ - lib/inttegro/shared/policy_limits.rb
852
896
  - lib/inttegro/shared/request_confirmation_request.rb
853
897
  - lib/inttegro/shared/resource_supply.rb
854
898
  - lib/inttegro/shared/response_meta.rb
@@ -856,6 +900,7 @@ files:
856
900
  - lib/inttegro/shared/shipping_details.rb
857
901
  - lib/inttegro/shared/shipping_line_item.rb
858
902
  - lib/inttegro/shared/shipping_line_item_type.rb
903
+ - lib/inttegro/shared/update_operating_policy_request.rb
859
904
  - lib/inttegro/shared/upload_fulfillment.rb
860
905
  - lib/inttegro/shared/upload_review_decision.rb
861
906
  - lib/inttegro/shared/upload_review_type.rb
@@ -1,84 +0,0 @@
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
- require_relative "../price/customer_selected_amount"
8
-
9
- module Inttegro
10
- module Checkout
11
- # Typed representation of the amount selection object in the Inttegro API.
12
- #
13
- # This generated model is immutable. Construct it with `.new`, or decode a string-keyed API
14
- # payload with `.from_hash`. `#serialize` produces a string-keyed hash using the original wire
15
- # field names and serialized enum values.
16
- #
17
- # @api public
18
- #
19
- # @!attribute [r] purchase_intent_id
20
- # Purchase Intent reference present when selection creates an Order.
21
- #
22
- # Optional in the API payload; omitted values default to `nil`. Wire name: `purchase_intent_id`.
23
- # @return [String, nil]
24
- #
25
- # @!attribute [r] order_id
26
- # Order reference present when selection changes an existing Order.
27
- #
28
- # Optional in the API payload; omitted values default to `nil`. Wire name: `order_id`.
29
- # @return [String, nil]
30
- #
31
- # @!attribute [r] price_id
32
- # Value of the `price_id` field in the Inttegro API payload.
33
- #
34
- # Required in the API payload. Wire name: `price_id`.
35
- # @return [String]
36
- #
37
- # @!attribute [r] product_id
38
- # Value of the `product_id` field in the Inttegro API payload.
39
- #
40
- # Required in the API payload. Wire name: `product_id`.
41
- # @return [String]
42
- #
43
- # @!attribute [r] merchant_name
44
- # Value of the `merchant_name` field in the Inttegro API payload.
45
- #
46
- # Required in the API payload. Wire name: `merchant_name`.
47
- # @return [String]
48
- #
49
- # @!attribute [r] product_name
50
- # Value of the `product_name` field in the Inttegro API payload.
51
- #
52
- # Required in the API payload. Wire name: `product_name`.
53
- # @return [String]
54
- #
55
- # @!attribute [r] product_about
56
- # Value of the `product_about` field in the Inttegro API payload.
57
- #
58
- # Optional in the API payload; omitted values default to `nil`. Wire name: `product_about`.
59
- # @return [String, nil]
60
- #
61
- # @!attribute [r] expires_at
62
- # Value of the `expires_at` field in the Inttegro API payload.
63
- #
64
- # Optional in the API payload; omitted values default to `nil`. Wire name: `expires_at`.
65
- # @return [Time, nil]
66
- #
67
- # @!attribute [r] customer_selected_amount
68
- # Value of the `customer_selected_amount` field in the Inttegro API payload.
69
- #
70
- # Required in the API payload. Wire name: `customer_selected_amount`.
71
- # @return [Inttegro::Price::CustomerSelectedAmount]
72
- class AmountSelection < T::Struct
73
- const :purchase_intent_id, T.nilable(String), default: nil
74
- const :order_id, T.nilable(String), default: nil
75
- const :price_id, String
76
- const :product_id, String
77
- const :merchant_name, String
78
- const :product_name, String
79
- const :product_about, T.nilable(String), default: nil
80
- const :expires_at, T.nilable(Time), default: nil
81
- const :customer_selected_amount, Inttegro::Price::CustomerSelectedAmount
82
- end
83
- end
84
- end