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
@@ -7,8 +7,10 @@ require_relative "base"
7
7
  require_relative "../custom_data"
8
8
  require_relative "../message_template/reference"
9
9
  require_relative "email_message_input"
10
- require_relative "recipient"
10
+ require_relative "saved_customer_recipient"
11
11
  require_relative "send_request_cooldown"
12
+ require_relative "send_request_recipient_variant1_variant1"
13
+ require_relative "send_request_recipient_variant1_variant2"
12
14
  require_relative "send_request_request_meta"
13
15
 
14
16
  module Inttegro
@@ -26,7 +28,7 @@ module Inttegro
26
28
  # Value of the `recipient` field in the Inttegro API payload.
27
29
  #
28
30
  # Required in the API payload. Wire name: `recipient`.
29
- # @return [Inttegro::Chime::Recipient]
31
+ # @return [Inttegro::Chime::SendRequestRecipientVariant1Variant1, Inttegro::Chime::SendRequestRecipientVariant1Variant2, Inttegro::Chime::SavedCustomerRecipient]
30
32
  #
31
33
  # @!attribute [r] full_message
32
34
  # Complete SMS message content. Use only with SMS recipients.
@@ -78,7 +80,7 @@ module Inttegro
78
80
  # Optional in the API payload; omitted values default to `nil`. Wire name: `request_meta`.
79
81
  # @return [Inttegro::Chime::SendRequestRequestMeta, nil]
80
82
  class SendRequest < T::Struct
81
- const :recipient, Inttegro::Chime::Recipient
83
+ const :recipient, T.any(T.any(Inttegro::Chime::SendRequestRecipientVariant1Variant1, Inttegro::Chime::SendRequestRecipientVariant1Variant2), Inttegro::Chime::SavedCustomerRecipient)
82
84
  const :full_message, T.nilable(String), default: nil
83
85
  const :email, T.nilable(Inttegro::Chime::EmailMessageInput), default: nil
84
86
  const :message_template, T.nilable(Inttegro::MessageTemplate::Reference), default: nil
@@ -4,12 +4,13 @@
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 "inline_recipient_variant1_phone"
8
- require_relative "inline_recipient_variant1_type"
7
+ require_relative "send_request_recipient_variant1_variant1_phone"
8
+ require_relative "send_request_recipient_variant1_variant1_type"
9
9
 
10
10
  module Inttegro
11
11
  class Chime
12
- # Typed representation of the inline recipient variant1 object in the Inttegro API.
12
+ # Typed representation of the send request recipient variant1 variant1 object in the Inttegro
13
+ # API.
13
14
  #
14
15
  # This generated model is immutable. Construct it with `.new`, or decode a string-keyed API
15
16
  # payload with `.from_hash`. `#serialize` produces a string-keyed hash using the original wire
@@ -27,17 +28,17 @@ module Inttegro
27
28
  # Value of the `phone` field in the Inttegro API payload.
28
29
  #
29
30
  # Required in the API payload. Wire name: `phone`.
30
- # @return [Inttegro::Chime::InlineRecipientVariant1Phone]
31
+ # @return [Inttegro::Chime::SendRequestRecipientVariant1Variant1Phone]
31
32
  #
32
33
  # @!attribute [r] type
33
34
  # Value of the `type` field in the Inttegro API payload.
34
35
  #
35
36
  # Required in the API payload. Wire name: `type`.
36
- # @return [Inttegro::Chime::InlineRecipientVariant1Type]
37
- class InlineRecipientVariant1 < T::Struct
37
+ # @return [Inttegro::Chime::SendRequestRecipientVariant1Variant1Type]
38
+ class SendRequestRecipientVariant1Variant1 < T::Struct
38
39
  const :name, T.nilable(String), default: nil
39
- const :phone, Inttegro::Chime::InlineRecipientVariant1Phone
40
- const :type, Inttegro::Chime::InlineRecipientVariant1Type
40
+ const :phone, Inttegro::Chime::SendRequestRecipientVariant1Variant1Phone
41
+ const :type, Inttegro::Chime::SendRequestRecipientVariant1Variant1Type
41
42
  end
42
43
  end
43
44
  end
@@ -7,7 +7,8 @@ require_relative "base"
7
7
 
8
8
  module Inttegro
9
9
  class Chime
10
- # Typed representation of the inline recipient variant1 phone object in the Inttegro API.
10
+ # Typed representation of the send request recipient variant1 variant1 phone object in the
11
+ # Inttegro API.
11
12
  #
12
13
  # This generated model is immutable. Construct it with `.new`, or decode a string-keyed API
13
14
  # payload with `.from_hash`. `#serialize` produces a string-keyed hash using the original wire
@@ -20,7 +21,7 @@ module Inttegro
20
21
  #
21
22
  # Required in the API payload. Wire name: `number`.
22
23
  # @return [String]
23
- class InlineRecipientVariant1Phone < T::Struct
24
+ class SendRequestRecipientVariant1Variant1Phone < T::Struct
24
25
  const :number, String
25
26
  end
26
27
  end
@@ -8,16 +8,16 @@ require_relative "base"
8
8
  module Inttegro
9
9
  class Chime
10
10
  # String-backed values accepted by the Inttegro API for
11
- # Inttegro::Chime::InlineRecipientVariant1Type.
11
+ # Inttegro::Chime::SendRequestRecipientVariant1Variant1Type.
12
12
  #
13
13
  # Use the constants below when constructing a request. `#serialize` returns the documented
14
14
  # string wire value received from or sent to the API.
15
15
  #
16
16
  # @api public
17
- class InlineRecipientVariant1Type < T::Enum
17
+ class SendRequestRecipientVariant1Variant1Type < T::Enum
18
18
  enums do
19
19
  # Serialized wire value: `phone`.
20
- # @return [Inttegro::Chime::InlineRecipientVariant1Type]
20
+ # @return [Inttegro::Chime::SendRequestRecipientVariant1Variant1Type]
21
21
  PHONE = new("phone")
22
22
  end
23
23
  end
@@ -4,12 +4,13 @@
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 "inline_recipient_variant2_email"
8
- require_relative "inline_recipient_variant2_type"
7
+ require_relative "send_request_recipient_variant1_variant2_email"
8
+ require_relative "send_request_recipient_variant1_variant2_type"
9
9
 
10
10
  module Inttegro
11
11
  class Chime
12
- # Typed representation of the inline recipient variant2 object in the Inttegro API.
12
+ # Typed representation of the send request recipient variant1 variant2 object in the Inttegro
13
+ # API.
13
14
  #
14
15
  # This generated model is immutable. Construct it with `.new`, or decode a string-keyed API
15
16
  # payload with `.from_hash`. `#serialize` produces a string-keyed hash using the original wire
@@ -21,7 +22,7 @@ module Inttegro
21
22
  # Value of the `email` field in the Inttegro API payload.
22
23
  #
23
24
  # Required in the API payload. Wire name: `email`.
24
- # @return [Inttegro::Chime::InlineRecipientVariant2Email]
25
+ # @return [Inttegro::Chime::SendRequestRecipientVariant1Variant2Email]
25
26
  #
26
27
  # @!attribute [r] name
27
28
  # Value of the `name` field in the Inttegro API payload.
@@ -33,11 +34,11 @@ module Inttegro
33
34
  # Value of the `type` field in the Inttegro API payload.
34
35
  #
35
36
  # Required in the API payload. Wire name: `type`.
36
- # @return [Inttegro::Chime::InlineRecipientVariant2Type]
37
- class InlineRecipientVariant2 < T::Struct
38
- const :email, Inttegro::Chime::InlineRecipientVariant2Email
37
+ # @return [Inttegro::Chime::SendRequestRecipientVariant1Variant2Type]
38
+ class SendRequestRecipientVariant1Variant2 < T::Struct
39
+ const :email, Inttegro::Chime::SendRequestRecipientVariant1Variant2Email
39
40
  const :name, T.nilable(String), default: nil
40
- const :type, Inttegro::Chime::InlineRecipientVariant2Type
41
+ const :type, Inttegro::Chime::SendRequestRecipientVariant1Variant2Type
41
42
  end
42
43
  end
43
44
  end
@@ -7,7 +7,8 @@ require_relative "base"
7
7
 
8
8
  module Inttegro
9
9
  class Chime
10
- # Typed representation of the inline recipient variant2 email object in the Inttegro API.
10
+ # Typed representation of the send request recipient variant1 variant2 email object in the
11
+ # Inttegro API.
11
12
  #
12
13
  # This generated model is immutable. Construct it with `.new`, or decode a string-keyed API
13
14
  # payload with `.from_hash`. `#serialize` produces a string-keyed hash using the original wire
@@ -20,7 +21,7 @@ module Inttegro
20
21
  #
21
22
  # Required in the API payload. Wire name: `address`.
22
23
  # @return [String]
23
- class InlineRecipientVariant2Email < T::Struct
24
+ class SendRequestRecipientVariant1Variant2Email < T::Struct
24
25
  const :address, String
25
26
  end
26
27
  end
@@ -8,16 +8,16 @@ require_relative "base"
8
8
  module Inttegro
9
9
  class Chime
10
10
  # String-backed values accepted by the Inttegro API for
11
- # Inttegro::Chime::InlineRecipientVariant2Type.
11
+ # Inttegro::Chime::SendRequestRecipientVariant1Variant2Type.
12
12
  #
13
13
  # Use the constants below when constructing a request. `#serialize` returns the documented
14
14
  # string wire value received from or sent to the API.
15
15
  #
16
16
  # @api public
17
- class InlineRecipientVariant2Type < T::Enum
17
+ class SendRequestRecipientVariant1Variant2Type < T::Enum
18
18
  enums do
19
19
  # Serialized wire value: `email`.
20
- # @return [Inttegro::Chime::InlineRecipientVariant2Type]
20
+ # @return [Inttegro::Chime::SendRequestRecipientVariant1Variant2Type]
21
21
  EMAIL = new("email")
22
22
  end
23
23
  end
@@ -26,6 +26,8 @@ require_relative "resources/balances"
26
26
  require_relative "resources/upload_requests"
27
27
  require_relative "resources/apps"
28
28
  require_relative "resources/keys"
29
+ require_relative "resources/children_policies"
30
+ require_relative "resources/operating_policies"
29
31
 
30
32
  module Inttegro
31
33
  # Main entry point for interacting with the Inttegro API.
@@ -101,6 +103,12 @@ module Inttegro
101
103
  sig { returns(Resources::UploadRequests) }
102
104
  attr_reader :upload_requests
103
105
 
106
+ sig { returns(Resources::ChildrenPolicies) }
107
+ attr_reader :children_policies
108
+
109
+ sig { returns(Resources::OperatingPolicies) }
110
+ attr_reader :operating_policies
111
+
104
112
  sig do
105
113
  params(
106
114
  token_value: T.nilable(String),
@@ -166,6 +174,8 @@ module Inttegro
166
174
  @keys = T.let(Resources::Keys.new(@http), Resources::Keys)
167
175
  @spec = T.let(Resources::Spec.new(@http), Resources::Spec)
168
176
  @upload_requests = T.let(Resources::UploadRequests.new(@http), Resources::UploadRequests)
177
+ @children_policies = T.let(Resources::ChildrenPolicies.new(@http), Resources::ChildrenPolicies)
178
+ @operating_policies = T.let(Resources::OperatingPolicies.new(@http), Resources::OperatingPolicies)
169
179
  end
170
180
  end
171
181
  end
@@ -9,6 +9,7 @@ require_relative "../shared/dosh_account"
9
9
  require_relative "../shared/financial_institution"
10
10
  require_relative "../shared/resource_supply"
11
11
  require_relative "bank"
12
+ require_relative "name_enquiry"
12
13
  require_relative "owner"
13
14
  require_relative "pull_configuration"
14
15
  require_relative "push_configuration"
@@ -82,6 +83,13 @@ module Inttegro
82
83
  # Optional in the API payload; omitted values default to `nil`. Wire name: `label`.
83
84
  # @return [String, nil]
84
85
  #
86
+ # @!attribute [r] account_name_enquiry
87
+ # Evidence that the provider resolved the bank account holder name before the account was
88
+ # persisted. This confirms account resolution, not ownership.
89
+ #
90
+ # Optional in the API payload; omitted values default to `nil`. Wire name: `account_name_enquiry`.
91
+ # @return [Inttegro::FinancialAccount::NameEnquiry, nil]
92
+ #
85
93
  # @!attribute [r] pull_configuration
86
94
  # Value of the `pull_configuration` field in the Inttegro API payload.
87
95
  #
@@ -152,6 +160,7 @@ module Inttegro
152
160
  const :id, String
153
161
  const :institution, T.nilable(Inttegro::Shared::FinancialInstitution), default: nil
154
162
  const :label, T.nilable(String), default: nil
163
+ const :account_name_enquiry, T.nilable(Inttegro::FinancialAccount::NameEnquiry), default: nil
155
164
  const :pull_configuration, T.nilable(Inttegro::FinancialAccount::PullConfiguration), default: nil
156
165
  const :push_configuration, T.nilable(Inttegro::FinancialAccount::PushConfiguration), default: nil
157
166
  const :reference, T.nilable(String), default: nil
@@ -9,6 +9,7 @@ require_relative "../shared/financial_institution"
9
9
  require_relative "../shared/resource_supply"
10
10
  require_relative "created_bank"
11
11
  require_relative "created_owner"
12
+ require_relative "name_enquiry"
12
13
  require_relative "pull_configuration"
13
14
  require_relative "push_configuration"
14
15
  require_relative "type"
@@ -81,6 +82,13 @@ module Inttegro
81
82
  # Optional in the API payload; omitted values default to `nil`. Wire name: `label`.
82
83
  # @return [String, nil]
83
84
  #
85
+ # @!attribute [r] account_name_enquiry
86
+ # Evidence that the provider resolved the bank account holder name before the account was
87
+ # persisted. This confirms account resolution, not ownership.
88
+ #
89
+ # Optional in the API payload; omitted values default to `nil`. Wire name: `account_name_enquiry`.
90
+ # @return [Inttegro::FinancialAccount::NameEnquiry, nil]
91
+ #
84
92
  # @!attribute [r] pull_configuration
85
93
  # Value of the `pull_configuration` field in the Inttegro API payload.
86
94
  #
@@ -144,6 +152,7 @@ module Inttegro
144
152
  const :id, String
145
153
  const :institution, T.nilable(Inttegro::Shared::FinancialInstitution), default: nil
146
154
  const :label, T.nilable(String), default: nil
155
+ const :account_name_enquiry, T.nilable(Inttegro::FinancialAccount::NameEnquiry), default: nil
147
156
  const :pull_configuration, T.nilable(Inttegro::FinancialAccount::PullConfiguration), default: nil
148
157
  const :push_configuration, T.nilable(Inttegro::FinancialAccount::PushConfiguration), default: nil
149
158
  const :reference, T.nilable(String), default: nil
@@ -7,6 +7,7 @@ require_relative "base"
7
7
  require_relative "../custom_data"
8
8
  require_relative "../shared/financial_institution"
9
9
  require_relative "../shared/resource_supply"
10
+ require_relative "name_enquiry"
10
11
  require_relative "pull_configuration"
11
12
  require_relative "push_configuration"
12
13
  require_relative "type"
@@ -78,6 +79,13 @@ module Inttegro
78
79
  # Optional in the API payload; omitted values default to `nil`. Wire name: `label`.
79
80
  # @return [String, nil]
80
81
  #
82
+ # @!attribute [r] account_name_enquiry
83
+ # Evidence that the provider resolved the bank account holder name before the account was
84
+ # persisted. This confirms account resolution, not ownership.
85
+ #
86
+ # Optional in the API payload; omitted values default to `nil`. Wire name: `account_name_enquiry`.
87
+ # @return [Inttegro::FinancialAccount::NameEnquiry, nil]
88
+ #
81
89
  # @!attribute [r] pull_configuration
82
90
  # Value of the `pull_configuration` field in the Inttegro API payload.
83
91
  #
@@ -123,6 +131,7 @@ module Inttegro
123
131
  const :id, String
124
132
  const :institution, T.nilable(Inttegro::Shared::FinancialInstitution), default: nil
125
133
  const :label, T.nilable(String), default: nil
134
+ const :account_name_enquiry, T.nilable(Inttegro::FinancialAccount::NameEnquiry), default: nil
126
135
  const :pull_configuration, T.nilable(Inttegro::FinancialAccount::PullConfiguration), default: nil
127
136
  const :push_configuration, T.nilable(Inttegro::FinancialAccount::PushConfiguration), default: nil
128
137
  const :reference, T.nilable(String), default: nil
@@ -9,6 +9,7 @@ require_relative "../shared/dosh_account"
9
9
  require_relative "../shared/financial_institution"
10
10
  require_relative "../shared/resource_supply"
11
11
  require_relative "bank"
12
+ require_relative "name_enquiry"
12
13
  require_relative "owner"
13
14
  require_relative "pull_configuration"
14
15
  require_relative "push_configuration"
@@ -81,6 +82,13 @@ module Inttegro
81
82
  # Optional in the API payload; omitted values default to `nil`. Wire name: `label`.
82
83
  # @return [String, nil]
83
84
  #
85
+ # @!attribute [r] account_name_enquiry
86
+ # Evidence that the provider resolved the bank account holder name before the account was
87
+ # persisted. This confirms account resolution, not ownership.
88
+ #
89
+ # Optional in the API payload; omitted values default to `nil`. Wire name: `account_name_enquiry`.
90
+ # @return [Inttegro::FinancialAccount::NameEnquiry, nil]
91
+ #
84
92
  # @!attribute [r] pull_configuration
85
93
  # Value of the `pull_configuration` field in the Inttegro API payload.
86
94
  #
@@ -157,6 +165,7 @@ module Inttegro
157
165
  const :id, String
158
166
  const :institution, T.nilable(Inttegro::Shared::FinancialInstitution), default: nil
159
167
  const :label, T.nilable(String), default: nil
168
+ const :account_name_enquiry, T.nilable(Inttegro::FinancialAccount::NameEnquiry), default: nil
160
169
  const :pull_configuration, T.nilable(Inttegro::FinancialAccount::PullConfiguration), default: nil
161
170
  const :push_configuration, T.nilable(Inttegro::FinancialAccount::PushConfiguration), default: nil
162
171
  const :reference, T.nilable(String), default: nil
@@ -0,0 +1,42 @@
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 FinancialAccount
10
+ # Evidence that the provider resolved the bank account holder name before the account was
11
+ # persisted. This confirms account resolution, not ownership.
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] completed_at
20
+ # Value of the `completed_at` field in the Inttegro API payload.
21
+ #
22
+ # Required in the API payload. Wire name: `completed_at`.
23
+ # @return [Time]
24
+ #
25
+ # @!attribute [r] provider_id
26
+ # Value of the `provider_id` field in the Inttegro API payload.
27
+ #
28
+ # Required in the API payload. Wire name: `provider_id`.
29
+ # @return [String]
30
+ #
31
+ # @!attribute [r] provider_reference
32
+ # Value of the `provider_reference` field in the Inttegro API payload.
33
+ #
34
+ # Optional in the API payload; omitted values default to `nil`. Wire name: `provider_reference`.
35
+ # @return [String, nil]
36
+ class NameEnquiry < T::Struct
37
+ const :completed_at, Time
38
+ const :provider_id, String
39
+ const :provider_reference, T.nilable(String), default: nil
40
+ end
41
+ end
42
+ end
@@ -8,6 +8,7 @@ require_relative "../custom_data"
8
8
  require_relative "../shared/dosh_account"
9
9
  require_relative "../shared/financial_institution"
10
10
  require_relative "../shared/resource_supply"
11
+ require_relative "name_enquiry"
11
12
  require_relative "pull_configuration"
12
13
  require_relative "push_configuration"
13
14
  require_relative "type"
@@ -82,6 +83,13 @@ module Inttegro
82
83
  # Optional in the API payload; omitted values default to `nil`. Wire name: `label`.
83
84
  # @return [String, nil]
84
85
  #
86
+ # @!attribute [r] account_name_enquiry
87
+ # Evidence that the provider resolved the bank account holder name before the account was
88
+ # persisted. This confirms account resolution, not ownership.
89
+ #
90
+ # Optional in the API payload; omitted values default to `nil`. Wire name: `account_name_enquiry`.
91
+ # @return [Inttegro::FinancialAccount::NameEnquiry, nil]
92
+ #
85
93
  # @!attribute [r] pull_configuration
86
94
  # Value of the `pull_configuration` field in the Inttegro API payload.
87
95
  #
@@ -158,6 +166,7 @@ module Inttegro
158
166
  const :id, String
159
167
  const :institution, T.nilable(Inttegro::Shared::FinancialInstitution), default: nil
160
168
  const :label, T.nilable(String), default: nil
169
+ const :account_name_enquiry, T.nilable(Inttegro::FinancialAccount::NameEnquiry), default: nil
161
170
  const :pull_configuration, T.nilable(Inttegro::FinancialAccount::PullConfiguration), default: nil
162
171
  const :push_configuration, T.nilable(Inttegro::FinancialAccount::PushConfiguration), default: nil
163
172
  const :reference, T.nilable(String), default: nil
@@ -24,9 +24,9 @@ require_relative "../checkout/order_status"
24
24
  require_relative "../checkout/pay_request_payment_method_data_type"
25
25
  require_relative "../checkout/payment_method_data_type"
26
26
  require_relative "../chime/email_schema_kind"
27
- require_relative "../chime/inline_recipient_variant1_type"
28
- require_relative "../chime/inline_recipient_variant2_type"
29
27
  require_relative "../chime/recipient_type"
28
+ require_relative "../chime/send_request_recipient_variant1_variant1_type"
29
+ require_relative "../chime/send_request_recipient_variant1_variant2_type"
30
30
  require_relative "../chime/transport"
31
31
  require_relative "../file/contents_delivery_mode"
32
32
  require_relative "../file/disposition"
@@ -105,6 +105,9 @@ require_relative "../shared/content_safety_status"
105
105
  require_relative "../shared/delivery_channel"
106
106
  require_relative "../shared/fee_line_item_type"
107
107
  require_relative "../shared/mobile_money_network"
108
+ require_relative "../shared/operating_policy_source_type"
109
+ require_relative "../shared/policy_bt_aging_spec_public_id"
110
+ require_relative "../shared/policy_bt_aging_spec_reference_id"
108
111
  require_relative "../shared/shipping_line_item_type"
109
112
  require_relative "../shared/upload_review_decision"
110
113
  require_relative "../shared/upload_review_type"