Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
configured_endpoints: 238
openapi_spec_hash: 244db0c7a39ae8fff699dccda50b79bd
openapi_spec_hash: dcaafce0df326d313e07de8128ad69ec
config_hash: 2ae0d8aaecf01b38cbf9f9e112822c23
8 changes: 8 additions & 0 deletions lib/increase/models/event.rb
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,14 @@ module Category
# Occurs whenever an Inbound Mail Item is updated.
INBOUND_MAIL_ITEM_UPDATED = :"inbound_mail_item.updated"

# Occurs whenever an Inbound Real-Time Payments Request for Payment is created.
INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_CREATED =
:"inbound_real_time_payments_request_for_payment.created"

# Occurs whenever an Inbound Real-Time Payments Request for Payment is updated.
INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_UPDATED =
:"inbound_real_time_payments_request_for_payment.updated"

# Occurs whenever an Inbound Real-Time Payments Transfer is created.
INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CREATED = :"inbound_real_time_payments_transfer.created"

Expand Down
8 changes: 8 additions & 0 deletions lib/increase/models/event_list_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,14 @@ module In
# Occurs whenever an Inbound Mail Item is updated.
INBOUND_MAIL_ITEM_UPDATED = :"inbound_mail_item.updated"

# Occurs whenever an Inbound Real-Time Payments Request for Payment is created.
INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_CREATED =
:"inbound_real_time_payments_request_for_payment.created"

# Occurs whenever an Inbound Real-Time Payments Request for Payment is updated.
INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_UPDATED =
:"inbound_real_time_payments_request_for_payment.updated"

# Occurs whenever an Inbound Real-Time Payments Transfer is created.
INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CREATED = :"inbound_real_time_payments_transfer.created"

Expand Down
8 changes: 8 additions & 0 deletions lib/increase/models/event_subscription.rb
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,14 @@ module EventCategory
# Occurs whenever an Inbound Mail Item is updated.
INBOUND_MAIL_ITEM_UPDATED = :"inbound_mail_item.updated"

# Occurs whenever an Inbound Real-Time Payments Request for Payment is created.
INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_CREATED =
:"inbound_real_time_payments_request_for_payment.created"

# Occurs whenever an Inbound Real-Time Payments Request for Payment is updated.
INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_UPDATED =
:"inbound_real_time_payments_request_for_payment.updated"

# Occurs whenever an Inbound Real-Time Payments Transfer is created.
INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CREATED = :"inbound_real_time_payments_transfer.created"

Expand Down
8 changes: 8 additions & 0 deletions lib/increase/models/event_subscription_create_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,14 @@ module EventCategory
# Occurs whenever an Inbound Mail Item is updated.
INBOUND_MAIL_ITEM_UPDATED = :"inbound_mail_item.updated"

# Occurs whenever an Inbound Real-Time Payments Request for Payment is created.
INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_CREATED =
:"inbound_real_time_payments_request_for_payment.created"

# Occurs whenever an Inbound Real-Time Payments Request for Payment is updated.
INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_UPDATED =
:"inbound_real_time_payments_request_for_payment.updated"

# Occurs whenever an Inbound Real-Time Payments Transfer is created.
INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CREATED = :"inbound_real_time_payments_transfer.created"

Expand Down
30 changes: 16 additions & 14 deletions lib/increase/models/simulations/card_settlement_create_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,30 +14,32 @@ class CardSettlementCreateParams < Increase::Internal::Type::BaseModel
# @return [String]
required :card_id, String

# @!attribute pending_transaction_id
# The identifier of the Pending Transaction for the Card Authorization you wish to
# settle.
#
# @return [String]
required :pending_transaction_id, String

# @!attribute amount
# The amount to be settled. This defaults to the amount of the Pending Transaction
# being settled.
# being settled, or a random amount if `pending_transaction_id` is not provided.
#
# @return [Integer, nil]
optional :amount, Integer

# @!method initialize(card_id:, pending_transaction_id:, amount: nil, request_options: {})
# @param card_id [String] The identifier of the Card to create a settlement on.
# @!attribute pending_transaction_id
# The identifier of the Pending Transaction for the Card Authorization you wish to
# settle. If not provided, the settlement will be force posted without a Card
# Authorization.
#
# @param pending_transaction_id [String]
# The identifier of the Pending Transaction for the Card Authorization you wish to
# settle.
# @return [String, nil]
optional :pending_transaction_id, String

# @!method initialize(card_id:, amount: nil, pending_transaction_id: nil, request_options: {})
# @param card_id [String] The identifier of the Card to create a settlement on.
#
# @param amount [Integer]
# The amount to be settled. This defaults to the amount of the Pending Transaction
# being settled.
# being settled, or a random amount if `pending_transaction_id` is not provided.
#
# @param pending_transaction_id [String]
# The identifier of the Pending Transaction for the Card Authorization you wish to
# settle. If not provided, the settlement will be force posted without a Card
# Authorization.
#
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
end
Expand Down
3 changes: 0 additions & 3 deletions lib/increase/models/simulations/program_create_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,6 @@ module Bank
# Grasshopper Bank
GRASSHOPPER_BANK = :grasshopper_bank

# Twin City Bank
TWIN_CITY_BANK = :twin_city_bank

# @!method self.values
# @return [Array<Symbol>]
end
Expand Down
13 changes: 12 additions & 1 deletion lib/increase/models/swift_transfer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,13 @@ class SwiftTransfer < Increase::Internal::Type::BaseModel
# @return [Symbol, Increase::Models::SwiftTransfer::InstructedCurrency]
required :instructed_currency, enum: -> { Increase::SwiftTransfer::InstructedCurrency }

# @!attribute intermediary_bank_identification_code
# The bank identification code (BIC) of the intermediary bank, if the transfer is
# routed through one.
#
# @return [String, nil]
required :intermediary_bank_identification_code, String, nil?: true

# @!attribute pending_transaction_id
# The ID for the pending transaction representing the transfer.
#
Expand Down Expand Up @@ -146,7 +153,7 @@ class SwiftTransfer < Increase::Internal::Type::BaseModel
# @return [String]
required :unstructured_remittance_information, String

# @!method initialize(id:, account_id:, account_number:, amount:, bank_identification_code:, created_at:, created_by:, creditor_address:, creditor_name:, debtor_address:, debtor_name:, idempotency_key:, instructed_amount:, instructed_currency:, pending_transaction_id:, routing_number:, source_account_number_id:, status:, transaction_id:, type:, unique_end_to_end_transaction_reference:, unstructured_remittance_information:)
# @!method initialize(id:, account_id:, account_number:, amount:, bank_identification_code:, created_at:, created_by:, creditor_address:, creditor_name:, debtor_address:, debtor_name:, idempotency_key:, instructed_amount:, instructed_currency:, intermediary_bank_identification_code:, pending_transaction_id:, routing_number:, source_account_number_id:, status:, transaction_id:, type:, unique_end_to_end_transaction_reference:, unstructured_remittance_information:)
# Swift Transfers send funds internationally.
#
# @param id [String] The Swift transfer's identifier.
Expand Down Expand Up @@ -187,6 +194,10 @@ class SwiftTransfer < Increase::Internal::Type::BaseModel
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code of the
# instructed amount.
#
# @param intermediary_bank_identification_code [String, nil]
# The bank identification code (BIC) of the intermediary bank, if the transfer is
# routed through one.
#
# @param pending_transaction_id [String, nil] The ID for the pending transaction representing the transfer.
#
# @param routing_number [String, nil]
Expand Down
13 changes: 12 additions & 1 deletion lib/increase/models/swift_transfer_create_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,13 @@ class SwiftTransferCreateParams < Increase::Internal::Type::BaseModel
# @return [String]
required :unstructured_remittance_information, String

# @!attribute intermediary_bank_identification_code
# The bank identification code (BIC) of the intermediary bank, if the transfer
# should be routed through one.
#
# @return [String, nil]
optional :intermediary_bank_identification_code, String

# @!attribute require_approval
# Whether the transfer requires explicit approval via the dashboard or API.
#
Expand All @@ -89,7 +96,7 @@ class SwiftTransferCreateParams < Increase::Internal::Type::BaseModel
# @return [String, nil]
optional :routing_number, String

# @!method initialize(account_id:, account_number:, bank_identification_code:, creditor_address:, creditor_name:, debtor_address:, debtor_name:, instructed_amount:, instructed_currency:, source_account_number_id:, unstructured_remittance_information:, require_approval: nil, routing_number: nil, request_options: {})
# @!method initialize(account_id:, account_number:, bank_identification_code:, creditor_address:, creditor_name:, debtor_address:, debtor_name:, instructed_amount:, instructed_currency:, source_account_number_id:, unstructured_remittance_information:, intermediary_bank_identification_code: nil, require_approval: nil, routing_number: nil, request_options: {})
# @param account_id [String] The identifier for the account that will send the transfer.
#
# @param account_number [String] The creditor's account number.
Expand Down Expand Up @@ -121,6 +128,10 @@ class SwiftTransferCreateParams < Increase::Internal::Type::BaseModel
# @param unstructured_remittance_information [String]
# Unstructured remittance information to include in the transfer.
#
# @param intermediary_bank_identification_code [String]
# The bank identification code (BIC) of the intermediary bank, if the transfer
# should be routed through one.
#
# @param require_approval [Boolean]
# Whether the transfer requires explicit approval via the dashboard or API.
#
Expand Down
8 changes: 8 additions & 0 deletions lib/increase/models/unwrap_webhook_event.rb
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,14 @@ module Category
# Occurs whenever an Inbound Mail Item is updated.
INBOUND_MAIL_ITEM_UPDATED = :"inbound_mail_item.updated"

# Occurs whenever an Inbound Real-Time Payments Request for Payment is created.
INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_CREATED =
:"inbound_real_time_payments_request_for_payment.created"

# Occurs whenever an Inbound Real-Time Payments Request for Payment is updated.
INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_UPDATED =
:"inbound_real_time_payments_request_for_payment.updated"

# Occurs whenever an Inbound Real-Time Payments Transfer is created.
INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CREATED = :"inbound_real_time_payments_transfer.created"

Expand Down
13 changes: 7 additions & 6 deletions lib/increase/resources/simulations/card_settlements.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,18 @@ class CardSettlements
# production. The amount settled can be different from the amount originally
# authorized, for example, when adding a tip to a restaurant bill.
#
# @overload create(card_id:, pending_transaction_id:, amount: nil, request_options: {})
# @overload create(card_id:, amount: nil, pending_transaction_id: nil, request_options: {})
#
# @param card_id [String] The identifier of the Card to create a settlement on.
#
# @param pending_transaction_id [String]
# The identifier of the Pending Transaction for the Card Authorization you wish to
# settle.
#
# @param amount [Integer]
# The amount to be settled. This defaults to the amount of the Pending Transaction
# being settled.
# being settled, or a random amount if `pending_transaction_id` is not provided.
#
# @param pending_transaction_id [String]
# The identifier of the Pending Transaction for the Card Authorization you wish to
# settle. If not provided, the settlement will be force posted without a Card
# Authorization.
#
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil]
#
Expand Down
6 changes: 5 additions & 1 deletion lib/increase/resources/swift_transfers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module Resources
class SwiftTransfers
# Create a Swift Transfer
#
# @overload create(account_id:, account_number:, bank_identification_code:, creditor_address:, creditor_name:, debtor_address:, debtor_name:, instructed_amount:, instructed_currency:, source_account_number_id:, unstructured_remittance_information:, require_approval: nil, routing_number: nil, request_options: {})
# @overload create(account_id:, account_number:, bank_identification_code:, creditor_address:, creditor_name:, debtor_address:, debtor_name:, instructed_amount:, instructed_currency:, source_account_number_id:, unstructured_remittance_information:, intermediary_bank_identification_code: nil, require_approval: nil, routing_number: nil, request_options: {})
#
# @param account_id [String] The identifier for the account that will send the transfer.
#
Expand Down Expand Up @@ -38,6 +38,10 @@ class SwiftTransfers
# @param unstructured_remittance_information [String]
# Unstructured remittance information to include in the transfer.
#
# @param intermediary_bank_identification_code [String]
# The bank identification code (BIC) of the intermediary bank, if the transfer
# should be routed through one.
#
# @param require_approval [Boolean]
# Whether the transfer requires explicit approval via the dashboard or API.
#
Expand Down
14 changes: 14 additions & 0 deletions rbi/increase/models/event.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,20 @@ module Increase
Increase::Event::Category::TaggedSymbol
)

# Occurs whenever an Inbound Real-Time Payments Request for Payment is created.
INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_CREATED =
T.let(
:"inbound_real_time_payments_request_for_payment.created",
Increase::Event::Category::TaggedSymbol
)

# Occurs whenever an Inbound Real-Time Payments Request for Payment is updated.
INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_UPDATED =
T.let(
:"inbound_real_time_payments_request_for_payment.updated",
Increase::Event::Category::TaggedSymbol
)

# Occurs whenever an Inbound Real-Time Payments Transfer is created.
INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CREATED =
T.let(
Expand Down
14 changes: 14 additions & 0 deletions rbi/increase/models/event_list_params.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -580,6 +580,20 @@ module Increase
Increase::EventListParams::Category::In::TaggedSymbol
)

# Occurs whenever an Inbound Real-Time Payments Request for Payment is created.
INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_CREATED =
T.let(
:"inbound_real_time_payments_request_for_payment.created",
Increase::EventListParams::Category::In::TaggedSymbol
)

# Occurs whenever an Inbound Real-Time Payments Request for Payment is updated.
INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_UPDATED =
T.let(
:"inbound_real_time_payments_request_for_payment.updated",
Increase::EventListParams::Category::In::TaggedSymbol
)

# Occurs whenever an Inbound Real-Time Payments Transfer is created.
INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CREATED =
T.let(
Expand Down
14 changes: 14 additions & 0 deletions rbi/increase/models/event_subscription.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -605,6 +605,20 @@ module Increase
Increase::EventSubscription::SelectedEventCategory::EventCategory::TaggedSymbol
)

# Occurs whenever an Inbound Real-Time Payments Request for Payment is created.
INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_CREATED =
T.let(
:"inbound_real_time_payments_request_for_payment.created",
Increase::EventSubscription::SelectedEventCategory::EventCategory::TaggedSymbol
)

# Occurs whenever an Inbound Real-Time Payments Request for Payment is updated.
INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_UPDATED =
T.let(
:"inbound_real_time_payments_request_for_payment.updated",
Increase::EventSubscription::SelectedEventCategory::EventCategory::TaggedSymbol
)

# Occurs whenever an Inbound Real-Time Payments Transfer is created.
INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CREATED =
T.let(
Expand Down
14 changes: 14 additions & 0 deletions rbi/increase/models/event_subscription_create_params.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -603,6 +603,20 @@ module Increase
Increase::EventSubscriptionCreateParams::SelectedEventCategory::EventCategory::TaggedSymbol
)

# Occurs whenever an Inbound Real-Time Payments Request for Payment is created.
INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_CREATED =
T.let(
:"inbound_real_time_payments_request_for_payment.created",
Increase::EventSubscriptionCreateParams::SelectedEventCategory::EventCategory::TaggedSymbol
)

# Occurs whenever an Inbound Real-Time Payments Request for Payment is updated.
INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_UPDATED =
T.let(
:"inbound_real_time_payments_request_for_payment.updated",
Increase::EventSubscriptionCreateParams::SelectedEventCategory::EventCategory::TaggedSymbol
)

# Occurs whenever an Inbound Real-Time Payments Transfer is created.
INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CREATED =
T.let(
Expand Down
Loading