increase 1.340.0 → 1.341.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/increase/client.rb +8 -6
- data/lib/increase/internal/type/converter.rb +13 -12
- data/lib/increase/models/account.rb +40 -19
- data/lib/increase/models/account_create_params.rb +14 -11
- data/lib/increase/models/account_list_params.rb +25 -17
- data/lib/increase/models/account_number.rb +22 -14
- data/lib/increase/models/account_number_create_params.rb +12 -13
- data/lib/increase/models/account_number_list_params.rb +26 -20
- data/lib/increase/models/account_number_update_params.rb +12 -11
- data/lib/increase/models/account_statement.rb +15 -11
- data/lib/increase/models/account_statement_list_params.rb +15 -12
- data/lib/increase/models/account_transfer.rb +58 -29
- data/lib/increase/models/account_transfer_create_params.rb +12 -7
- data/lib/increase/models/account_transfer_list_params.rb +20 -12
- data/lib/increase/models/ach_prenotification.rb +48 -27
- data/lib/increase/models/ach_prenotification_create_params.rb +15 -8
- data/lib/increase/models/ach_prenotification_list_params.rb +20 -12
- data/lib/increase/models/ach_transfer.rb +199 -103
- data/lib/increase/models/ach_transfer_create_params.rb +110 -61
- data/lib/increase/models/ach_transfer_list_params.rb +23 -16
- data/lib/increase/models/balance_lookup.rb +14 -11
- data/lib/increase/models/beneficial_owner_create_params.rb +48 -37
- data/lib/increase/models/beneficial_owner_list_params.rb +11 -6
- data/lib/increase/models/beneficial_owner_update_params.rb +44 -31
- data/lib/increase/models/card.rb +69 -47
- data/lib/increase/models/card_create_details_iframe_params.rb +3 -4
- data/lib/increase/models/card_create_params.rb +65 -56
- data/lib/increase/models/card_details.rb +7 -5
- data/lib/increase/models/card_dispute.rb +530 -306
- data/lib/increase/models/card_dispute_create_params.rb +271 -175
- data/lib/increase/models/card_dispute_list_params.rb +24 -16
- data/lib/increase/models/card_dispute_submit_user_submission_params.rb +288 -191
- data/lib/increase/models/card_iframe_url.rb +3 -4
- data/lib/increase/models/card_list_params.rb +23 -16
- data/lib/increase/models/card_payment.rb +1941 -1200
- data/lib/increase/models/card_payment_list_params.rb +15 -11
- data/lib/increase/models/card_purchase_supplement.rb +37 -25
- data/lib/increase/models/card_purchase_supplement_list_params.rb +18 -13
- data/lib/increase/models/card_push_transfer.rb +121 -65
- data/lib/increase/models/card_push_transfer_create_params.rb +55 -25
- data/lib/increase/models/card_push_transfer_list_params.rb +23 -16
- data/lib/increase/models/card_token.rb +9 -6
- data/lib/increase/models/card_token_capabilities.rb +11 -8
- data/lib/increase/models/card_token_list_params.rb +15 -11
- data/lib/increase/models/card_update_params.rb +65 -57
- data/lib/increase/models/card_validation.rb +76 -43
- data/lib/increase/models/card_validation_create_params.rb +11 -7
- data/lib/increase/models/card_validation_list_params.rb +23 -16
- data/lib/increase/models/check_deposit.rb +103 -52
- data/lib/increase/models/check_deposit_create_params.rb +2 -4
- data/lib/increase/models/check_deposit_list_params.rb +20 -12
- data/lib/increase/models/check_transfer.rb +124 -75
- data/lib/increase/models/check_transfer_create_params.rb +91 -51
- data/lib/increase/models/check_transfer_list_params.rb +24 -16
- data/lib/increase/models/check_transfer_stop_payment_params.rb +2 -1
- data/lib/increase/models/declined_transaction.rb +339 -206
- data/lib/increase/models/declined_transaction_list_params.rb +18 -15
- data/lib/increase/models/digital_card_profile.rb +16 -9
- data/lib/increase/models/digital_card_profile_clone_params.rb +2 -1
- data/lib/increase/models/digital_card_profile_create_params.rb +2 -1
- data/lib/increase/models/digital_card_profile_list_params.rb +12 -9
- data/lib/increase/models/digital_wallet_token.rb +26 -17
- data/lib/increase/models/digital_wallet_token_list_params.rb +15 -11
- data/lib/increase/models/entity.rb +175 -135
- data/lib/increase/models/entity_archive_params.rb +3 -4
- data/lib/increase/models/entity_beneficial_owner.rb +24 -19
- data/lib/increase/models/entity_create_params.rb +323 -236
- data/lib/increase/models/entity_list_params.rb +67 -16
- data/lib/increase/models/entity_onboarding_session.rb +25 -11
- data/lib/increase/models/entity_onboarding_session_create_params.rb +8 -5
- data/lib/increase/models/entity_onboarding_session_list_params.rb +12 -9
- data/lib/increase/models/entity_supplemental_document.rb +10 -6
- data/lib/increase/models/entity_update_params.rb +112 -86
- data/lib/increase/models/event.rb +6 -5
- data/lib/increase/models/event_list_params.rb +23 -17
- data/lib/increase/models/event_subscription.rb +17 -9
- data/lib/increase/models/event_subscription_create_params.rb +14 -8
- data/lib/increase/models/event_subscription_list_params.rb +8 -5
- data/lib/increase/models/event_subscription_update_params.rb +2 -1
- data/lib/increase/models/export.rb +69 -30
- data/lib/increase/models/export_create_params.rb +76 -46
- data/lib/increase/models/export_list_params.rb +26 -17
- data/lib/increase/models/external_account.rb +14 -8
- data/lib/increase/models/external_account_create_params.rb +7 -6
- data/lib/increase/models/external_account_list_params.rb +12 -9
- data/lib/increase/models/external_account_update_params.rb +6 -3
- data/lib/increase/models/fednow_transfer.rb +62 -32
- data/lib/increase/models/fednow_transfer_create_params.rb +11 -8
- data/lib/increase/models/fednow_transfer_list_params.rb +25 -17
- data/lib/increase/models/file.rb +13 -7
- data/lib/increase/models/file_create_params.rb +6 -5
- data/lib/increase/models/file_link.rb +17 -8
- data/lib/increase/models/file_link_create_params.rb +3 -4
- data/lib/increase/models/file_list_params.rb +23 -16
- data/lib/increase/models/group.rb +6 -5
- data/lib/increase/models/inbound_ach_transfer.rb +115 -51
- data/lib/increase/models/inbound_ach_transfer_create_notification_of_change_params.rb +3 -5
- data/lib/increase/models/inbound_ach_transfer_decline_params.rb +4 -4
- data/lib/increase/models/inbound_ach_transfer_list_params.rb +21 -16
- data/lib/increase/models/inbound_ach_transfer_transfer_return_params.rb +6 -5
- data/lib/increase/models/inbound_check_deposit.rb +46 -19
- data/lib/increase/models/inbound_check_deposit_list_params.rb +18 -12
- data/lib/increase/models/inbound_check_deposit_return_params.rb +2 -1
- data/lib/increase/models/inbound_fednow_transfer.rb +28 -14
- data/lib/increase/models/inbound_fednow_transfer_list_params.rb +18 -12
- data/lib/increase/models/inbound_fednow_transfer_retrieve_params.rb +2 -1
- data/lib/increase/models/inbound_mail_item.rb +13 -8
- data/lib/increase/models/inbound_mail_item_action_params.rb +4 -2
- data/lib/increase/models/inbound_mail_item_list_params.rb +17 -12
- data/lib/increase/models/inbound_real_time_payments_transfer.rb +21 -12
- data/lib/increase/models/inbound_real_time_payments_transfer_list_params.rb +21 -14
- data/lib/increase/models/inbound_real_time_payments_transfer_retrieve_params.rb +2 -1
- data/lib/increase/models/inbound_wire_drawdown_request.rb +23 -10
- data/lib/increase/models/inbound_wire_drawdown_request_list_params.rb +3 -4
- data/lib/increase/models/inbound_wire_drawdown_request_retrieve_params.rb +2 -1
- data/lib/increase/models/inbound_wire_transfer.rb +33 -21
- data/lib/increase/models/inbound_wire_transfer_list_params.rb +24 -17
- data/lib/increase/models/inbound_wire_transfer_reverse_params.rb +2 -1
- data/lib/increase/models/intrafi_account_enrollment.rb +16 -8
- data/lib/increase/models/intrafi_account_enrollment_list_params.rb +12 -9
- data/lib/increase/models/intrafi_account_enrollment_retrieve_params.rb +2 -1
- data/lib/increase/models/intrafi_account_enrollment_unenroll_params.rb +2 -1
- data/lib/increase/models/intrafi_balance.rb +18 -12
- data/lib/increase/models/intrafi_exclusion.rb +13 -7
- data/lib/increase/models/intrafi_exclusion_archive_params.rb +4 -4
- data/lib/increase/models/intrafi_exclusion_create_params.rb +5 -4
- data/lib/increase/models/intrafi_exclusion_list_params.rb +8 -5
- data/lib/increase/models/lockbox_address.rb +16 -11
- data/lib/increase/models/lockbox_address_list_params.rb +20 -12
- data/lib/increase/models/lockbox_address_update_params.rb +2 -1
- data/lib/increase/models/lockbox_recipient.rb +22 -10
- data/lib/increase/models/lockbox_recipient_create_params.rb +5 -5
- data/lib/increase/models/lockbox_recipient_list_params.rb +22 -13
- data/lib/increase/models/lockbox_recipient_update_params.rb +2 -1
- data/lib/increase/models/oauth_application.rb +12 -7
- data/lib/increase/models/oauth_application_list_params.rb +18 -15
- data/lib/increase/models/oauth_connection.rb +9 -6
- data/lib/increase/models/oauth_connection_list_params.rb +10 -9
- data/lib/increase/models/oauth_token.rb +6 -5
- data/lib/increase/models/oauth_token_create_params.rb +14 -7
- data/lib/increase/models/pending_transaction.rb +392 -239
- data/lib/increase/models/pending_transaction_create_params.rb +6 -6
- data/lib/increase/models/pending_transaction_list_params.rb +23 -19
- data/lib/increase/models/physical_card.rb +36 -24
- data/lib/increase/models/physical_card_create_params.rb +22 -17
- data/lib/increase/models/physical_card_list_params.rb +20 -12
- data/lib/increase/models/physical_card_profile.rb +33 -17
- data/lib/increase/models/physical_card_profile_clone_params.rb +9 -9
- data/lib/increase/models/physical_card_profile_create_params.rb +9 -9
- data/lib/increase/models/physical_card_profile_list_params.rb +12 -9
- data/lib/increase/models/physical_card_update_params.rb +2 -1
- data/lib/increase/models/program.rb +15 -8
- data/lib/increase/models/program_list_params.rb +3 -4
- data/lib/increase/models/real_time_decision.rb +561 -370
- data/lib/increase/models/real_time_decision_action_params.rb +86 -75
- data/lib/increase/models/real_time_payments_transfer.rb +90 -47
- data/lib/increase/models/real_time_payments_transfer_approve_params.rb +2 -1
- data/lib/increase/models/real_time_payments_transfer_cancel_params.rb +2 -1
- data/lib/increase/models/real_time_payments_transfer_create_params.rb +24 -12
- data/lib/increase/models/real_time_payments_transfer_list_params.rb +28 -19
- data/lib/increase/models/routing_number_list_params.rb +3 -4
- data/lib/increase/models/routing_number_list_response.rb +11 -8
- data/lib/increase/models/simulations/account_revenue_payment_create_params.rb +9 -7
- data/lib/increase/models/simulations/ach_transfer_create_notification_of_change_params.rb +5 -6
- data/lib/increase/models/simulations/ach_transfer_return_params.rb +3 -4
- data/lib/increase/models/simulations/ach_transfer_settle_params.rb +4 -4
- data/lib/increase/models/simulations/card_authentication_create_params.rb +10 -8
- data/lib/increase/models/simulations/card_authorization_create_params.rb +50 -27
- data/lib/increase/models/simulations/card_authorization_create_response.rb +11 -7
- data/lib/increase/models/simulations/card_balance_inquiry_create_params.rb +26 -13
- data/lib/increase/models/simulations/card_dispute_action_params.rb +39 -19
- data/lib/increase/models/simulations/card_fuel_confirmation_create_params.rb +3 -5
- data/lib/increase/models/simulations/card_increment_create_params.rb +5 -4
- data/lib/increase/models/simulations/card_purchase_supplement_create_params.rb +7 -7
- data/lib/increase/models/simulations/card_refund_create_params.rb +10 -6
- data/lib/increase/models/simulations/card_reversal_create_params.rb +3 -4
- data/lib/increase/models/simulations/card_settlement_create_params.rb +6 -5
- data/lib/increase/models/simulations/card_token_create_params.rb +18 -9
- data/lib/increase/models/simulations/check_deposit_adjustment_params.rb +8 -5
- data/lib/increase/models/simulations/check_deposit_submit_params.rb +9 -10
- data/lib/increase/models/simulations/digital_wallet_token_request_create_response.rb +9 -7
- data/lib/increase/models/simulations/entity_onboarding_session_submit_params.rb +2 -1
- data/lib/increase/models/simulations/entity_update_validation_params.rb +5 -5
- data/lib/increase/models/simulations/export_create_params.rb +5 -5
- data/lib/increase/models/simulations/inbound_ach_transfer_create_params.rb +20 -12
- data/lib/increase/models/simulations/inbound_check_deposit_adjustment_params.rb +5 -6
- data/lib/increase/models/simulations/inbound_check_deposit_create_params.rb +6 -6
- data/lib/increase/models/simulations/inbound_mail_item_create_params.rb +9 -6
- data/lib/increase/models/simulations/inbound_real_time_payments_transfer_create_params.rb +5 -6
- data/lib/increase/models/simulations/inbound_wire_drawdown_request_create_params.rb +27 -13
- data/lib/increase/models/simulations/inbound_wire_transfer_create_params.rb +45 -19
- data/lib/increase/models/simulations/interest_payment_create_params.rb +4 -5
- data/lib/increase/models/simulations/pending_transaction_release_inbound_funds_hold_params.rb +3 -5
- data/lib/increase/models/simulations/physical_card_advance_shipment_params.rb +2 -1
- data/lib/increase/models/simulations/physical_card_create_params.rb +5 -5
- data/lib/increase/models/simulations/program_create_params.rb +4 -2
- data/lib/increase/models/simulations/real_time_payments_transfer_complete_params.rb +6 -3
- data/lib/increase/models/supplemental_document_list_params.rb +8 -5
- data/lib/increase/models/swift_transfer.rb +48 -26
- data/lib/increase/models/swift_transfer_create_params.rb +28 -19
- data/lib/increase/models/swift_transfer_list_params.rb +23 -16
- data/lib/increase/models/transaction.rb +995 -534
- data/lib/increase/models/transaction_list_params.rb +21 -16
- data/lib/increase/models/unwrap_webhook_event.rb +6 -5
- data/lib/increase/models/wire_drawdown_request.rb +44 -26
- data/lib/increase/models/wire_drawdown_request_create_params.rb +23 -19
- data/lib/increase/models/wire_drawdown_request_list_params.rb +12 -9
- data/lib/increase/models/wire_transfer.rb +100 -55
- data/lib/increase/models/wire_transfer_create_params.rb +43 -26
- data/lib/increase/models/wire_transfer_list_params.rb +23 -16
- data/lib/increase/resources/account_numbers.rb +20 -16
- data/lib/increase/resources/account_statements.rb +3 -4
- data/lib/increase/resources/account_transfers.rb +20 -12
- data/lib/increase/resources/accounts.rb +19 -12
- data/lib/increase/resources/ach_prenotifications.rb +23 -13
- data/lib/increase/resources/ach_transfers.rb +93 -43
- data/lib/increase/resources/beneficial_owners.rb +35 -19
- data/lib/increase/resources/card_disputes.rb +43 -22
- data/lib/increase/resources/card_payments.rb +3 -4
- data/lib/increase/resources/card_purchase_supplements.rb +6 -5
- data/lib/increase/resources/card_push_transfers.rb +55 -24
- data/lib/increase/resources/card_tokens.rb +3 -4
- data/lib/increase/resources/card_validations.rb +19 -12
- data/lib/increase/resources/cards.rb +33 -22
- data/lib/increase/resources/check_deposits.rb +10 -9
- data/lib/increase/resources/check_transfers.rb +37 -17
- data/lib/increase/resources/declined_transactions.rb +3 -4
- data/lib/increase/resources/digital_card_profiles.rb +12 -7
- data/lib/increase/resources/digital_wallet_tokens.rb +3 -4
- data/lib/increase/resources/entities.rb +69 -33
- data/lib/increase/resources/entity_onboarding_sessions.rb +16 -10
- data/lib/increase/resources/event_subscriptions.rb +22 -13
- data/lib/increase/resources/events.rb +10 -9
- data/lib/increase/resources/exports.rb +40 -22
- data/lib/increase/resources/external_accounts.rb +21 -14
- data/lib/increase/resources/fednow_transfers.rb +21 -14
- data/lib/increase/resources/file_links.rb +3 -4
- data/lib/increase/resources/files.rb +14 -10
- data/lib/increase/resources/inbound_ach_transfers.rb +18 -19
- data/lib/increase/resources/inbound_check_deposits.rb +8 -6
- data/lib/increase/resources/inbound_fednow_transfers.rb +8 -6
- data/lib/increase/resources/inbound_mail_items.rb +7 -6
- data/lib/increase/resources/inbound_real_time_payments_transfers.rb +11 -7
- data/lib/increase/resources/inbound_wire_drawdown_requests.rb +5 -5
- data/lib/increase/resources/inbound_wire_transfers.rb +10 -7
- data/lib/increase/resources/intrafi_account_enrollments.rb +12 -7
- data/lib/increase/resources/intrafi_exclusions.rb +17 -13
- data/lib/increase/resources/lockbox_addresses.rb +10 -6
- data/lib/increase/resources/lockbox_recipients.rb +17 -12
- data/lib/increase/resources/oauth_applications.rb +3 -4
- data/lib/increase/resources/oauth_connections.rb +6 -5
- data/lib/increase/resources/oauth_tokens.rb +14 -7
- data/lib/increase/resources/pending_transactions.rb +7 -8
- data/lib/increase/resources/physical_card_profiles.rb +18 -15
- data/lib/increase/resources/physical_cards.rb +17 -12
- data/lib/increase/resources/programs.rb +3 -4
- data/lib/increase/resources/real_time_decisions.rb +18 -9
- data/lib/increase/resources/real_time_payments_transfers.rb +41 -21
- data/lib/increase/resources/routing_numbers.rb +3 -4
- data/lib/increase/resources/simulations/account_revenue_payments.rb +9 -7
- data/lib/increase/resources/simulations/ach_transfers.rb +12 -14
- data/lib/increase/resources/simulations/card_authentications.rb +10 -8
- data/lib/increase/resources/simulations/card_authorizations.rb +28 -12
- data/lib/increase/resources/simulations/card_balance_inquiries.rb +22 -11
- data/lib/increase/resources/simulations/card_disputes.rb +6 -5
- data/lib/increase/resources/simulations/card_fuel_confirmations.rb +3 -5
- data/lib/increase/resources/simulations/card_increments.rb +5 -4
- data/lib/increase/resources/simulations/card_purchase_supplements.rb +7 -7
- data/lib/increase/resources/simulations/card_refunds.rb +10 -6
- data/lib/increase/resources/simulations/card_reversals.rb +3 -4
- data/lib/increase/resources/simulations/card_settlements.rb +6 -5
- data/lib/increase/resources/simulations/card_tokens.rb +6 -3
- data/lib/increase/resources/simulations/check_deposits.rb +11 -9
- data/lib/increase/resources/simulations/entities.rb +3 -4
- data/lib/increase/resources/simulations/entity_onboarding_sessions.rb +2 -1
- data/lib/increase/resources/simulations/exports.rb +5 -5
- data/lib/increase/resources/simulations/inbound_ach_transfers.rb +14 -9
- data/lib/increase/resources/simulations/inbound_check_deposits.rb +11 -12
- data/lib/increase/resources/simulations/inbound_mail_items.rb +9 -6
- data/lib/increase/resources/simulations/inbound_real_time_payments_transfers.rb +5 -6
- data/lib/increase/resources/simulations/inbound_wire_drawdown_requests.rb +27 -13
- data/lib/increase/resources/simulations/inbound_wire_transfers.rb +45 -19
- data/lib/increase/resources/simulations/interest_payments.rb +4 -5
- data/lib/increase/resources/simulations/pending_transactions.rb +3 -5
- data/lib/increase/resources/simulations/physical_cards.rb +7 -6
- data/lib/increase/resources/simulations/programs.rb +4 -2
- data/lib/increase/resources/simulations/real_time_payments_transfers.rb +4 -2
- data/lib/increase/resources/supplemental_documents.rb +8 -5
- data/lib/increase/resources/swift_transfers.rb +28 -16
- data/lib/increase/resources/transactions.rb +6 -5
- data/lib/increase/resources/wire_drawdown_requests.rb +23 -14
- data/lib/increase/resources/wire_transfers.rb +29 -16
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/check_transfer.rbi +8 -0
- data/rbi/increase/models/check_transfer_create_params.rbi +35 -36
- data/rbi/increase/models/entity_list_params.rbi +119 -0
- data/rbi/increase/models/pending_transaction_create_params.rbi +4 -4
- data/rbi/increase/resources/entities.rbi +3 -0
- data/rbi/increase/resources/pending_transactions.rbi +2 -2
- data/sig/increase/models/check_transfer.rbs +5 -0
- data/sig/increase/models/check_transfer_create_params.rbs +12 -9
- data/sig/increase/models/entity_list_params.rbs +48 -1
- data/sig/increase/resources/entities.rbs +1 -0
- metadata +2 -2
|
@@ -73,26 +73,41 @@ module Increase
|
|
|
73
73
|
optional :trust, -> { Increase::EntityUpdateParams::Trust }
|
|
74
74
|
|
|
75
75
|
# @!method initialize(entity_id:, corporation: nil, details_confirmed_at: nil, government_authority: nil, natural_person: nil, risk_rating: nil, terms_agreements: nil, third_party_verification: nil, trust: nil, request_options: {})
|
|
76
|
-
# Some parameter documentations has been truncated, see
|
|
77
|
-
# {Increase::Models::EntityUpdateParams} for more details.
|
|
78
|
-
#
|
|
79
76
|
# @param entity_id [String] The entity identifier.
|
|
80
77
|
#
|
|
81
|
-
# @param corporation [Increase::Models::EntityUpdateParams::Corporation]
|
|
78
|
+
# @param corporation [Increase::Models::EntityUpdateParams::Corporation]
|
|
79
|
+
# Details of the corporation entity to update. If you specify this parameter and
|
|
80
|
+
# the entity is not a corporation, the request will fail.
|
|
82
81
|
#
|
|
83
|
-
# @param details_confirmed_at [Time]
|
|
82
|
+
# @param details_confirmed_at [Time]
|
|
83
|
+
# When your user last confirmed the Entity's details. Depending on your program,
|
|
84
|
+
# you may be required to affirmatively confirm details with your users on an
|
|
85
|
+
# annual basis.
|
|
84
86
|
#
|
|
85
|
-
# @param government_authority [Increase::Models::EntityUpdateParams::GovernmentAuthority]
|
|
87
|
+
# @param government_authority [Increase::Models::EntityUpdateParams::GovernmentAuthority]
|
|
88
|
+
# Details of the government authority entity to update. If you specify this
|
|
89
|
+
# parameter and the entity is not a government authority, the request will fail.
|
|
86
90
|
#
|
|
87
|
-
# @param natural_person [Increase::Models::EntityUpdateParams::NaturalPerson]
|
|
91
|
+
# @param natural_person [Increase::Models::EntityUpdateParams::NaturalPerson]
|
|
92
|
+
# Details of the natural person entity to update. If you specify this parameter
|
|
93
|
+
# and the entity is not a natural person, the request will fail.
|
|
88
94
|
#
|
|
89
|
-
# @param risk_rating [Increase::Models::EntityUpdateParams::RiskRating]
|
|
95
|
+
# @param risk_rating [Increase::Models::EntityUpdateParams::RiskRating]
|
|
96
|
+
# An assessment of the entity’s potential risk of involvement in financial crimes,
|
|
97
|
+
# such as money laundering.
|
|
90
98
|
#
|
|
91
|
-
# @param terms_agreements [Array<Increase::Models::EntityUpdateParams::TermsAgreement>]
|
|
99
|
+
# @param terms_agreements [Array<Increase::Models::EntityUpdateParams::TermsAgreement>]
|
|
100
|
+
# New terms that the Entity agreed to. Not all programs are required to submit
|
|
101
|
+
# this data. This will not archive previously submitted terms.
|
|
92
102
|
#
|
|
93
|
-
# @param third_party_verification [Increase::Models::EntityUpdateParams::ThirdPartyVerification]
|
|
103
|
+
# @param third_party_verification [Increase::Models::EntityUpdateParams::ThirdPartyVerification]
|
|
104
|
+
# If you are using a third-party service for identity verification, you can use
|
|
105
|
+
# this field to associate this Entity with the identifier that represents them in
|
|
106
|
+
# that service.
|
|
94
107
|
#
|
|
95
|
-
# @param trust [Increase::Models::EntityUpdateParams::Trust]
|
|
108
|
+
# @param trust [Increase::Models::EntityUpdateParams::Trust]
|
|
109
|
+
# Details of the trust entity to update. If you specify this parameter and the
|
|
110
|
+
# entity is not a trust, the request will fail.
|
|
96
111
|
#
|
|
97
112
|
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
|
|
98
113
|
|
|
@@ -148,25 +163,36 @@ module Increase
|
|
|
148
163
|
optional :website, String
|
|
149
164
|
|
|
150
165
|
# @!method initialize(address: nil, email: nil, incorporation_state: nil, industry_code: nil, legal_identifier: nil, name: nil, website: nil)
|
|
151
|
-
# Some parameter documentations has been truncated, see
|
|
152
|
-
# {Increase::Models::EntityUpdateParams::Corporation} for more details.
|
|
153
|
-
#
|
|
154
166
|
# Details of the corporation entity to update. If you specify this parameter and
|
|
155
167
|
# the entity is not a corporation, the request will fail.
|
|
156
168
|
#
|
|
157
|
-
# @param address [Increase::Models::EntityUpdateParams::Corporation::Address]
|
|
169
|
+
# @param address [Increase::Models::EntityUpdateParams::Corporation::Address]
|
|
170
|
+
# The entity's physical address. Mail receiving locations like PO Boxes and PMB's
|
|
171
|
+
# are disallowed.
|
|
158
172
|
#
|
|
159
|
-
# @param email [String]
|
|
173
|
+
# @param email [String]
|
|
174
|
+
# An email address for the business. Not every program requires an email for
|
|
175
|
+
# submitted Entities.
|
|
160
176
|
#
|
|
161
|
-
# @param incorporation_state [String]
|
|
177
|
+
# @param incorporation_state [String]
|
|
178
|
+
# The two-letter United States Postal Service (USPS) abbreviation for the
|
|
179
|
+
# corporation's state of incorporation.
|
|
162
180
|
#
|
|
163
|
-
# @param industry_code [String]
|
|
181
|
+
# @param industry_code [String]
|
|
182
|
+
# The North American Industry Classification System (NAICS) code for the
|
|
183
|
+
# corporation's primary line of business. This is a number, like `5132` for
|
|
184
|
+
# `Software Publishers`. A full list of classification codes is available
|
|
185
|
+
# [here](https://increase.com/documentation/data-dictionary#north-american-industry-classification-system-codes).
|
|
164
186
|
#
|
|
165
|
-
# @param legal_identifier [Increase::Models::EntityUpdateParams::Corporation::LegalIdentifier]
|
|
187
|
+
# @param legal_identifier [Increase::Models::EntityUpdateParams::Corporation::LegalIdentifier]
|
|
188
|
+
# The legal identifier of the corporation. This is usually the Employer
|
|
189
|
+
# Identification Number (EIN).
|
|
166
190
|
#
|
|
167
191
|
# @param name [String] The legal name of the corporation.
|
|
168
192
|
#
|
|
169
|
-
# @param website [String]
|
|
193
|
+
# @param website [String]
|
|
194
|
+
# A website for the business. Not every program requires a website for submitted
|
|
195
|
+
# Entities.
|
|
170
196
|
|
|
171
197
|
# @see Increase::Models::EntityUpdateParams::Corporation#address
|
|
172
198
|
class Address < Increase::Internal::Type::BaseModel
|
|
@@ -208,9 +234,6 @@ module Increase
|
|
|
208
234
|
optional :zip, String
|
|
209
235
|
|
|
210
236
|
# @!method initialize(city:, country:, line1:, line2: nil, state: nil, zip: nil)
|
|
211
|
-
# Some parameter documentations has been truncated, see
|
|
212
|
-
# {Increase::Models::EntityUpdateParams::Corporation::Address} for more details.
|
|
213
|
-
#
|
|
214
237
|
# The entity's physical address. Mail receiving locations like PO Boxes and PMB's
|
|
215
238
|
# are disallowed.
|
|
216
239
|
#
|
|
@@ -222,7 +245,9 @@ module Increase
|
|
|
222
245
|
#
|
|
223
246
|
# @param line2 [String] The second line of the address. This might be the floor or room number.
|
|
224
247
|
#
|
|
225
|
-
# @param state [String]
|
|
248
|
+
# @param state [String]
|
|
249
|
+
# The two-letter United States Postal Service (USPS) abbreviation for the US
|
|
250
|
+
# state, province, or region of the address. Required in certain countries.
|
|
226
251
|
#
|
|
227
252
|
# @param zip [String] The ZIP or postal code of the address. Required in certain countries.
|
|
228
253
|
end
|
|
@@ -243,16 +268,15 @@ module Increase
|
|
|
243
268
|
optional :category, enum: -> { Increase::EntityUpdateParams::Corporation::LegalIdentifier::Category }
|
|
244
269
|
|
|
245
270
|
# @!method initialize(value:, category: nil)
|
|
246
|
-
# Some parameter documentations has been truncated, see
|
|
247
|
-
# {Increase::Models::EntityUpdateParams::Corporation::LegalIdentifier} for more
|
|
248
|
-
# details.
|
|
249
|
-
#
|
|
250
271
|
# The legal identifier of the corporation. This is usually the Employer
|
|
251
272
|
# Identification Number (EIN).
|
|
252
273
|
#
|
|
253
|
-
# @param value [String]
|
|
274
|
+
# @param value [String]
|
|
275
|
+
# The legal identifier itself. For US Employer Identification Numbers, submit nine
|
|
276
|
+
# digits with no dashes or other separators.
|
|
254
277
|
#
|
|
255
|
-
# @param category [Symbol, Increase::Models::EntityUpdateParams::Corporation::LegalIdentifier::Category]
|
|
278
|
+
# @param category [Symbol, Increase::Models::EntityUpdateParams::Corporation::LegalIdentifier::Category]
|
|
279
|
+
# The category of the legal identifier.
|
|
256
280
|
|
|
257
281
|
# The category of the legal identifier.
|
|
258
282
|
#
|
|
@@ -287,13 +311,12 @@ module Increase
|
|
|
287
311
|
optional :name, String
|
|
288
312
|
|
|
289
313
|
# @!method initialize(address: nil, name: nil)
|
|
290
|
-
# Some parameter documentations has been truncated, see
|
|
291
|
-
# {Increase::Models::EntityUpdateParams::GovernmentAuthority} for more details.
|
|
292
|
-
#
|
|
293
314
|
# Details of the government authority entity to update. If you specify this
|
|
294
315
|
# parameter and the entity is not a government authority, the request will fail.
|
|
295
316
|
#
|
|
296
|
-
# @param address [Increase::Models::EntityUpdateParams::GovernmentAuthority::Address]
|
|
317
|
+
# @param address [Increase::Models::EntityUpdateParams::GovernmentAuthority::Address]
|
|
318
|
+
# The entity's physical address. Mail receiving locations like PO Boxes and PMB's
|
|
319
|
+
# are disallowed.
|
|
297
320
|
#
|
|
298
321
|
# @param name [String] The legal name of the government authority.
|
|
299
322
|
|
|
@@ -331,10 +354,6 @@ module Increase
|
|
|
331
354
|
optional :line2, String
|
|
332
355
|
|
|
333
356
|
# @!method initialize(city:, line1:, state:, zip:, line2: nil)
|
|
334
|
-
# Some parameter documentations has been truncated, see
|
|
335
|
-
# {Increase::Models::EntityUpdateParams::GovernmentAuthority::Address} for more
|
|
336
|
-
# details.
|
|
337
|
-
#
|
|
338
357
|
# The entity's physical address. Mail receiving locations like PO Boxes and PMB's
|
|
339
358
|
# are disallowed.
|
|
340
359
|
#
|
|
@@ -342,7 +361,9 @@ module Increase
|
|
|
342
361
|
#
|
|
343
362
|
# @param line1 [String] The first line of the address. This is usually the street number and street.
|
|
344
363
|
#
|
|
345
|
-
# @param state [String]
|
|
364
|
+
# @param state [String]
|
|
365
|
+
# The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
366
|
+
# the address.
|
|
346
367
|
#
|
|
347
368
|
# @param zip [String] The ZIP code of the address.
|
|
348
369
|
#
|
|
@@ -380,17 +401,21 @@ module Increase
|
|
|
380
401
|
optional :name, String
|
|
381
402
|
|
|
382
403
|
# @!method initialize(address: nil, confirmed_no_us_tax_id: nil, identification: nil, name: nil)
|
|
383
|
-
# Some parameter documentations has been truncated, see
|
|
384
|
-
# {Increase::Models::EntityUpdateParams::NaturalPerson} for more details.
|
|
385
|
-
#
|
|
386
404
|
# Details of the natural person entity to update. If you specify this parameter
|
|
387
405
|
# and the entity is not a natural person, the request will fail.
|
|
388
406
|
#
|
|
389
|
-
# @param address [Increase::Models::EntityUpdateParams::NaturalPerson::Address]
|
|
407
|
+
# @param address [Increase::Models::EntityUpdateParams::NaturalPerson::Address]
|
|
408
|
+
# The entity's physical address. Mail receiving locations like PO Boxes and PMB's
|
|
409
|
+
# are disallowed.
|
|
390
410
|
#
|
|
391
|
-
# @param confirmed_no_us_tax_id [Boolean]
|
|
411
|
+
# @param confirmed_no_us_tax_id [Boolean]
|
|
412
|
+
# The identification method for an individual can only be a passport, driver's
|
|
413
|
+
# license, or other document if you've confirmed the individual does not have a US
|
|
414
|
+
# tax id (either a Social Security Number or Individual Taxpayer Identification
|
|
415
|
+
# Number).
|
|
392
416
|
#
|
|
393
|
-
# @param identification [Increase::Models::EntityUpdateParams::NaturalPerson::Identification]
|
|
417
|
+
# @param identification [Increase::Models::EntityUpdateParams::NaturalPerson::Identification]
|
|
418
|
+
# A means of verifying the person's identity.
|
|
394
419
|
#
|
|
395
420
|
# @param name [String] The legal name of the natural person.
|
|
396
421
|
|
|
@@ -434,9 +459,6 @@ module Increase
|
|
|
434
459
|
optional :zip, String
|
|
435
460
|
|
|
436
461
|
# @!method initialize(city:, country:, line1:, line2: nil, state: nil, zip: nil)
|
|
437
|
-
# Some parameter documentations has been truncated, see
|
|
438
|
-
# {Increase::Models::EntityUpdateParams::NaturalPerson::Address} for more details.
|
|
439
|
-
#
|
|
440
462
|
# The entity's physical address. Mail receiving locations like PO Boxes and PMB's
|
|
441
463
|
# are disallowed.
|
|
442
464
|
#
|
|
@@ -448,7 +470,9 @@ module Increase
|
|
|
448
470
|
#
|
|
449
471
|
# @param line2 [String] The second line of the address. This might be the floor or room number.
|
|
450
472
|
#
|
|
451
|
-
# @param state [String]
|
|
473
|
+
# @param state [String]
|
|
474
|
+
# The two-letter United States Postal Service (USPS) abbreviation for the US
|
|
475
|
+
# state, province, or region of the address. Required in certain countries.
|
|
452
476
|
#
|
|
453
477
|
# @param zip [String] The ZIP or postal code of the address. Required in certain countries.
|
|
454
478
|
end
|
|
@@ -496,21 +520,29 @@ module Increase
|
|
|
496
520
|
optional :passport, -> { Increase::EntityUpdateParams::NaturalPerson::Identification::Passport }
|
|
497
521
|
|
|
498
522
|
# @!method initialize(method_:, number:, drivers_license: nil, other: nil, passport: nil)
|
|
499
|
-
# Some parameter documentations has been truncated, see
|
|
500
|
-
# {Increase::Models::EntityUpdateParams::NaturalPerson::Identification} for more
|
|
501
|
-
# details.
|
|
502
|
-
#
|
|
503
523
|
# A means of verifying the person's identity.
|
|
504
524
|
#
|
|
505
|
-
# @param method_ [Symbol, Increase::Models::EntityUpdateParams::NaturalPerson::Identification::Method]
|
|
525
|
+
# @param method_ [Symbol, Increase::Models::EntityUpdateParams::NaturalPerson::Identification::Method]
|
|
526
|
+
# A method that can be used to verify the individual's identity.
|
|
506
527
|
#
|
|
507
|
-
# @param number [String]
|
|
528
|
+
# @param number [String]
|
|
529
|
+
# An identification number that can be used to verify the individual's identity,
|
|
530
|
+
# such as a social security number. For Social Security Numbers and Individual
|
|
531
|
+
# Taxpayer Identification Numbers, submit nine digits with no dashes or other
|
|
532
|
+
# separators. When testing in sandbox, use one of our
|
|
533
|
+
# [sandbox test values](https://increase.com/documentation/sandbox-test-values).
|
|
508
534
|
#
|
|
509
|
-
# @param drivers_license [Increase::Models::EntityUpdateParams::NaturalPerson::Identification::DriversLicense]
|
|
535
|
+
# @param drivers_license [Increase::Models::EntityUpdateParams::NaturalPerson::Identification::DriversLicense]
|
|
536
|
+
# Information about the United States driver's license used for identification.
|
|
537
|
+
# Required if `method` is equal to `drivers_license`.
|
|
510
538
|
#
|
|
511
|
-
# @param other [Increase::Models::EntityUpdateParams::NaturalPerson::Identification::Other]
|
|
539
|
+
# @param other [Increase::Models::EntityUpdateParams::NaturalPerson::Identification::Other]
|
|
540
|
+
# Information about the identification document provided. Required if `method` is
|
|
541
|
+
# equal to `other`.
|
|
512
542
|
#
|
|
513
|
-
# @param passport [Increase::Models::EntityUpdateParams::NaturalPerson::Identification::Passport]
|
|
543
|
+
# @param passport [Increase::Models::EntityUpdateParams::NaturalPerson::Identification::Passport]
|
|
544
|
+
# Information about the passport used for identification. Required if `method` is
|
|
545
|
+
# equal to `passport`.
|
|
514
546
|
|
|
515
547
|
# A method that can be used to verify the individual's identity.
|
|
516
548
|
#
|
|
@@ -611,20 +643,20 @@ module Increase
|
|
|
611
643
|
optional :expiration_date, Date
|
|
612
644
|
|
|
613
645
|
# @!method initialize(country:, description:, file_id:, back_file_id: nil, expiration_date: nil)
|
|
614
|
-
# Some parameter documentations has been truncated, see
|
|
615
|
-
# {Increase::Models::EntityUpdateParams::NaturalPerson::Identification::Other} for
|
|
616
|
-
# more details.
|
|
617
|
-
#
|
|
618
646
|
# Information about the identification document provided. Required if `method` is
|
|
619
647
|
# equal to `other`.
|
|
620
648
|
#
|
|
621
|
-
# @param country [String]
|
|
649
|
+
# @param country [String]
|
|
650
|
+
# The two-character ISO 3166-1 code representing the country that issued the
|
|
651
|
+
# document (e.g., `US`).
|
|
622
652
|
#
|
|
623
653
|
# @param description [String] A description of the document submitted.
|
|
624
654
|
#
|
|
625
655
|
# @param file_id [String] The identifier of the File containing the front of the document.
|
|
626
656
|
#
|
|
627
|
-
# @param back_file_id [String]
|
|
657
|
+
# @param back_file_id [String]
|
|
658
|
+
# The identifier of the File containing the back of the document. Not every
|
|
659
|
+
# document has a reverse side.
|
|
628
660
|
#
|
|
629
661
|
# @param expiration_date [Date] The document's expiration date in YYYY-MM-DD format.
|
|
630
662
|
end
|
|
@@ -651,14 +683,12 @@ module Increase
|
|
|
651
683
|
required :file_id, String
|
|
652
684
|
|
|
653
685
|
# @!method initialize(country:, expiration_date:, file_id:)
|
|
654
|
-
# Some parameter documentations has been truncated, see
|
|
655
|
-
# {Increase::Models::EntityUpdateParams::NaturalPerson::Identification::Passport}
|
|
656
|
-
# for more details.
|
|
657
|
-
#
|
|
658
686
|
# Information about the passport used for identification. Required if `method` is
|
|
659
687
|
# equal to `passport`.
|
|
660
688
|
#
|
|
661
|
-
# @param country [String]
|
|
689
|
+
# @param country [String]
|
|
690
|
+
# The two-character ISO 3166-1 code representing the country that issued the
|
|
691
|
+
# document (e.g., `US`).
|
|
662
692
|
#
|
|
663
693
|
# @param expiration_date [Date] The passport's expiration date in YYYY-MM-DD format.
|
|
664
694
|
#
|
|
@@ -682,15 +712,15 @@ module Increase
|
|
|
682
712
|
required :rating, enum: -> { Increase::EntityUpdateParams::RiskRating::Rating }
|
|
683
713
|
|
|
684
714
|
# @!method initialize(rated_at:, rating:)
|
|
685
|
-
# Some parameter documentations has been truncated, see
|
|
686
|
-
# {Increase::Models::EntityUpdateParams::RiskRating} for more details.
|
|
687
|
-
#
|
|
688
715
|
# An assessment of the entity’s potential risk of involvement in financial crimes,
|
|
689
716
|
# such as money laundering.
|
|
690
717
|
#
|
|
691
|
-
# @param rated_at [Time]
|
|
718
|
+
# @param rated_at [Time]
|
|
719
|
+
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the risk
|
|
720
|
+
# rating was performed.
|
|
692
721
|
#
|
|
693
|
-
# @param rating [Symbol, Increase::Models::EntityUpdateParams::RiskRating::Rating]
|
|
722
|
+
# @param rating [Symbol, Increase::Models::EntityUpdateParams::RiskRating::Rating]
|
|
723
|
+
# The rating given to this entity.
|
|
694
724
|
|
|
695
725
|
# The rating given to this entity.
|
|
696
726
|
#
|
|
@@ -732,9 +762,6 @@ module Increase
|
|
|
732
762
|
required :terms_url, String
|
|
733
763
|
|
|
734
764
|
# @!method initialize(agreed_at:, ip_address:, terms_url:)
|
|
735
|
-
# Some parameter documentations has been truncated, see
|
|
736
|
-
# {Increase::Models::EntityUpdateParams::TermsAgreement} for more details.
|
|
737
|
-
#
|
|
738
765
|
# @param agreed_at [Time] The timestamp of when the Entity agreed to the terms.
|
|
739
766
|
#
|
|
740
767
|
# @param ip_address [String] The IP address the Entity accessed reviewed the terms from.
|
|
@@ -762,7 +789,8 @@ module Increase
|
|
|
762
789
|
#
|
|
763
790
|
# @param reference [String] The reference identifier for the third party verification.
|
|
764
791
|
#
|
|
765
|
-
# @param vendor [Symbol, Increase::Models::EntityUpdateParams::ThirdPartyVerification::Vendor]
|
|
792
|
+
# @param vendor [Symbol, Increase::Models::EntityUpdateParams::ThirdPartyVerification::Vendor]
|
|
793
|
+
# The vendor that was used to perform the verification.
|
|
766
794
|
|
|
767
795
|
# The vendor that was used to perform the verification.
|
|
768
796
|
#
|
|
@@ -805,13 +833,12 @@ module Increase
|
|
|
805
833
|
optional :name, String
|
|
806
834
|
|
|
807
835
|
# @!method initialize(address: nil, name: nil)
|
|
808
|
-
# Some parameter documentations has been truncated, see
|
|
809
|
-
# {Increase::Models::EntityUpdateParams::Trust} for more details.
|
|
810
|
-
#
|
|
811
836
|
# Details of the trust entity to update. If you specify this parameter and the
|
|
812
837
|
# entity is not a trust, the request will fail.
|
|
813
838
|
#
|
|
814
|
-
# @param address [Increase::Models::EntityUpdateParams::Trust::Address]
|
|
839
|
+
# @param address [Increase::Models::EntityUpdateParams::Trust::Address]
|
|
840
|
+
# The entity's physical address. Mail receiving locations like PO Boxes and PMB's
|
|
841
|
+
# are disallowed.
|
|
815
842
|
#
|
|
816
843
|
# @param name [String] The legal name of the trust.
|
|
817
844
|
|
|
@@ -849,9 +876,6 @@ module Increase
|
|
|
849
876
|
optional :line2, String
|
|
850
877
|
|
|
851
878
|
# @!method initialize(city:, line1:, state:, zip:, line2: nil)
|
|
852
|
-
# Some parameter documentations has been truncated, see
|
|
853
|
-
# {Increase::Models::EntityUpdateParams::Trust::Address} for more details.
|
|
854
|
-
#
|
|
855
879
|
# The entity's physical address. Mail receiving locations like PO Boxes and PMB's
|
|
856
880
|
# are disallowed.
|
|
857
881
|
#
|
|
@@ -859,7 +883,9 @@ module Increase
|
|
|
859
883
|
#
|
|
860
884
|
# @param line1 [String] The first line of the address. This is usually the street number and street.
|
|
861
885
|
#
|
|
862
|
-
# @param state [String]
|
|
886
|
+
# @param state [String]
|
|
887
|
+
# The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
888
|
+
# the address.
|
|
863
889
|
#
|
|
864
890
|
# @param zip [String] The ZIP code of the address.
|
|
865
891
|
#
|
|
@@ -43,9 +43,6 @@ module Increase
|
|
|
43
43
|
required :type, enum: -> { Increase::Event::Type }
|
|
44
44
|
|
|
45
45
|
# @!method initialize(id:, associated_object_id:, associated_object_type:, category:, created_at:, type:)
|
|
46
|
-
# Some parameter documentations has been truncated, see {Increase::Models::Event}
|
|
47
|
-
# for more details.
|
|
48
|
-
#
|
|
49
46
|
# Events are records of things that happened to objects at Increase. Events are
|
|
50
47
|
# accessible via the List Events endpoint and can be delivered to your application
|
|
51
48
|
# via webhooks. For more information, see our
|
|
@@ -57,11 +54,15 @@ module Increase
|
|
|
57
54
|
#
|
|
58
55
|
# @param associated_object_type [String] The type of the object that generated this Event.
|
|
59
56
|
#
|
|
60
|
-
# @param category [Symbol, Increase::Models::Event::Category]
|
|
57
|
+
# @param category [Symbol, Increase::Models::Event::Category]
|
|
58
|
+
# The category of the Event. We may add additional possible values for this enum
|
|
59
|
+
# over time; your application should be able to handle such additions gracefully.
|
|
61
60
|
#
|
|
62
61
|
# @param created_at [Time] The time the Event was created.
|
|
63
62
|
#
|
|
64
|
-
# @param type [Symbol, Increase::Models::Event::Type]
|
|
63
|
+
# @param type [Symbol, Increase::Models::Event::Type]
|
|
64
|
+
# A constant representing the object's type. For this resource it will always be
|
|
65
|
+
# `event`.
|
|
65
66
|
|
|
66
67
|
# The category of the Event. We may add additional possible values for this enum
|
|
67
68
|
# over time; your application should be able to handle such additions gracefully.
|
|
@@ -42,10 +42,8 @@ module Increase
|
|
|
42
42
|
optional :order_by, -> { Increase::EventListParams::OrderBy }
|
|
43
43
|
|
|
44
44
|
# @!method initialize(associated_object_id: nil, category: nil, created_at: nil, cursor: nil, limit: nil, order_by: nil, request_options: {})
|
|
45
|
-
#
|
|
46
|
-
#
|
|
47
|
-
#
|
|
48
|
-
# @param associated_object_id [String] Filter Events to those belonging to the object with the provided identifier.
|
|
45
|
+
# @param associated_object_id [String]
|
|
46
|
+
# Filter Events to those belonging to the object with the provided identifier.
|
|
49
47
|
#
|
|
50
48
|
# @param category [Increase::Models::EventListParams::Category]
|
|
51
49
|
#
|
|
@@ -53,7 +51,9 @@ module Increase
|
|
|
53
51
|
#
|
|
54
52
|
# @param cursor [String] Return the page of entries after this one.
|
|
55
53
|
#
|
|
56
|
-
# @param limit [Integer]
|
|
54
|
+
# @param limit [Integer]
|
|
55
|
+
# Limit the size of the list that is returned. The default (and maximum) is 100
|
|
56
|
+
# objects.
|
|
57
57
|
#
|
|
58
58
|
# @param order_by [Increase::Models::EventListParams::OrderBy]
|
|
59
59
|
#
|
|
@@ -71,10 +71,10 @@ module Increase
|
|
|
71
71
|
api_name: :in
|
|
72
72
|
|
|
73
73
|
# @!method initialize(in_: nil)
|
|
74
|
-
#
|
|
75
|
-
#
|
|
76
|
-
#
|
|
77
|
-
#
|
|
74
|
+
# @param in_ [Array<Symbol, Increase::Models::EventListParams::Category::In>]
|
|
75
|
+
# Filter Events for those with the specified category or categories. For GET
|
|
76
|
+
# requests, this should be encoded as a comma-delimited string, such as
|
|
77
|
+
# `?in=one,two,three`.
|
|
78
78
|
|
|
79
79
|
module In
|
|
80
80
|
extend Increase::Internal::Type::Enum
|
|
@@ -455,16 +455,21 @@ module Increase
|
|
|
455
455
|
optional :on_or_before, Time
|
|
456
456
|
|
|
457
457
|
# @!method initialize(after: nil, before: nil, on_or_after: nil, on_or_before: nil)
|
|
458
|
-
#
|
|
459
|
-
#
|
|
460
|
-
#
|
|
461
|
-
# @param after [Time] Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) tim
|
|
458
|
+
# @param after [Time]
|
|
459
|
+
# Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
|
|
460
|
+
# timestamp.
|
|
462
461
|
#
|
|
463
|
-
# @param before [Time]
|
|
462
|
+
# @param before [Time]
|
|
463
|
+
# Return results before this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
|
|
464
|
+
# timestamp.
|
|
464
465
|
#
|
|
465
|
-
# @param on_or_after [Time]
|
|
466
|
+
# @param on_or_after [Time]
|
|
467
|
+
# Return results on or after this
|
|
468
|
+
# [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
|
|
466
469
|
#
|
|
467
|
-
# @param on_or_before [Time]
|
|
470
|
+
# @param on_or_before [Time]
|
|
471
|
+
# Return results on or before this
|
|
472
|
+
# [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
|
|
468
473
|
end
|
|
469
474
|
|
|
470
475
|
class OrderBy < Increase::Internal::Type::BaseModel
|
|
@@ -481,7 +486,8 @@ module Increase
|
|
|
481
486
|
optional :field, enum: -> { Increase::EventListParams::OrderBy::Field }
|
|
482
487
|
|
|
483
488
|
# @!method initialize(direction: nil, field: nil)
|
|
484
|
-
# @param direction [Symbol, Increase::Models::EventListParams::OrderBy::Direction]
|
|
489
|
+
# @param direction [Symbol, Increase::Models::EventListParams::OrderBy::Direction]
|
|
490
|
+
# The direction to order in.
|
|
485
491
|
#
|
|
486
492
|
# @param field [Symbol, Increase::Models::EventListParams::OrderBy::Field] The field to order by.
|
|
487
493
|
|
|
@@ -60,9 +60,6 @@ module Increase
|
|
|
60
60
|
required :url, String
|
|
61
61
|
|
|
62
62
|
# @!method initialize(id:, created_at:, idempotency_key:, oauth_connection_id:, selected_event_categories:, status:, type:, url:)
|
|
63
|
-
# Some parameter documentations has been truncated, see
|
|
64
|
-
# {Increase::Models::EventSubscription} for more details.
|
|
65
|
-
#
|
|
66
63
|
# Webhooks are event notifications we send to you by HTTPS POST requests. Event
|
|
67
64
|
# Subscriptions are how you configure your application to listen for them. You can
|
|
68
65
|
# create an Event Subscription through your
|
|
@@ -74,15 +71,25 @@ module Increase
|
|
|
74
71
|
#
|
|
75
72
|
# @param created_at [Time] The time the event subscription was created.
|
|
76
73
|
#
|
|
77
|
-
# @param idempotency_key [String, nil]
|
|
74
|
+
# @param idempotency_key [String, nil]
|
|
75
|
+
# The idempotency key you chose for this object. This value is unique across
|
|
76
|
+
# Increase and is used to ensure that a request is only processed once. Learn more
|
|
77
|
+
# about [idempotency](https://increase.com/documentation/idempotency-keys).
|
|
78
78
|
#
|
|
79
|
-
# @param oauth_connection_id [String, nil]
|
|
79
|
+
# @param oauth_connection_id [String, nil]
|
|
80
|
+
# If specified, this subscription will only receive webhooks for Events associated
|
|
81
|
+
# with this OAuth Connection.
|
|
80
82
|
#
|
|
81
|
-
# @param selected_event_categories [Array<Increase::Models::EventSubscription::SelectedEventCategory>, nil]
|
|
83
|
+
# @param selected_event_categories [Array<Increase::Models::EventSubscription::SelectedEventCategory>, nil]
|
|
84
|
+
# If specified, this subscription will only receive webhooks for Events with the
|
|
85
|
+
# specified `category`.
|
|
82
86
|
#
|
|
83
|
-
# @param status [Symbol, Increase::Models::EventSubscription::Status]
|
|
87
|
+
# @param status [Symbol, Increase::Models::EventSubscription::Status]
|
|
88
|
+
# This indicates if we'll send notifications to this subscription.
|
|
84
89
|
#
|
|
85
|
-
# @param type [Symbol, Increase::Models::EventSubscription::Type]
|
|
90
|
+
# @param type [Symbol, Increase::Models::EventSubscription::Type]
|
|
91
|
+
# A constant representing the object's type. For this resource it will always be
|
|
92
|
+
# `event_subscription`.
|
|
86
93
|
#
|
|
87
94
|
# @param url [String] The webhook url where we'll send notifications.
|
|
88
95
|
|
|
@@ -96,7 +103,8 @@ module Increase
|
|
|
96
103
|
nil?: true
|
|
97
104
|
|
|
98
105
|
# @!method initialize(event_category:)
|
|
99
|
-
# @param event_category [Symbol, Increase::Models::EventSubscription::SelectedEventCategory::EventCategory, nil]
|
|
106
|
+
# @param event_category [Symbol, Increase::Models::EventSubscription::SelectedEventCategory::EventCategory, nil]
|
|
107
|
+
# The category of the Event.
|
|
100
108
|
|
|
101
109
|
# The category of the Event.
|
|
102
110
|
#
|
|
@@ -43,18 +43,23 @@ module Increase
|
|
|
43
43
|
optional :status, enum: -> { Increase::EventSubscriptionCreateParams::Status }
|
|
44
44
|
|
|
45
45
|
# @!method initialize(url:, oauth_connection_id: nil, selected_event_categories: nil, shared_secret: nil, status: nil, request_options: {})
|
|
46
|
-
# Some parameter documentations has been truncated, see
|
|
47
|
-
# {Increase::Models::EventSubscriptionCreateParams} for more details.
|
|
48
|
-
#
|
|
49
46
|
# @param url [String] The URL you'd like us to send webhooks to.
|
|
50
47
|
#
|
|
51
|
-
# @param oauth_connection_id [String]
|
|
48
|
+
# @param oauth_connection_id [String]
|
|
49
|
+
# If specified, this subscription will only receive webhooks for Events associated
|
|
50
|
+
# with the specified OAuth Connection.
|
|
52
51
|
#
|
|
53
|
-
# @param selected_event_categories [Array<Increase::Models::EventSubscriptionCreateParams::SelectedEventCategory>]
|
|
52
|
+
# @param selected_event_categories [Array<Increase::Models::EventSubscriptionCreateParams::SelectedEventCategory>]
|
|
53
|
+
# If specified, this subscription will only receive webhooks for Events with the
|
|
54
|
+
# specified `category`. If specifying a Real-Time Decision event category, only
|
|
55
|
+
# one Event Category can be specified for the Event Subscription.
|
|
54
56
|
#
|
|
55
|
-
# @param shared_secret [String]
|
|
57
|
+
# @param shared_secret [String]
|
|
58
|
+
# The key that will be used to sign webhooks. If no value is passed, a random
|
|
59
|
+
# string will be used as default.
|
|
56
60
|
#
|
|
57
|
-
# @param status [Symbol, Increase::Models::EventSubscriptionCreateParams::Status]
|
|
61
|
+
# @param status [Symbol, Increase::Models::EventSubscriptionCreateParams::Status]
|
|
62
|
+
# The status of the event subscription. Defaults to `active` if not specified.
|
|
58
63
|
#
|
|
59
64
|
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
|
|
60
65
|
|
|
@@ -67,7 +72,8 @@ module Increase
|
|
|
67
72
|
enum: -> { Increase::EventSubscriptionCreateParams::SelectedEventCategory::EventCategory }
|
|
68
73
|
|
|
69
74
|
# @!method initialize(event_category:)
|
|
70
|
-
# @param event_category [Symbol, Increase::Models::EventSubscriptionCreateParams::SelectedEventCategory::EventCategory]
|
|
75
|
+
# @param event_category [Symbol, Increase::Models::EventSubscriptionCreateParams::SelectedEventCategory::EventCategory]
|
|
76
|
+
# The category of the Event to subscribe to.
|
|
71
77
|
|
|
72
78
|
# The category of the Event to subscribe to.
|
|
73
79
|
#
|
|
@@ -30,14 +30,17 @@ module Increase
|
|
|
30
30
|
optional :limit, Integer
|
|
31
31
|
|
|
32
32
|
# @!method initialize(cursor: nil, idempotency_key: nil, limit: nil, request_options: {})
|
|
33
|
-
# Some parameter documentations has been truncated, see
|
|
34
|
-
# {Increase::Models::EventSubscriptionListParams} for more details.
|
|
35
|
-
#
|
|
36
33
|
# @param cursor [String] Return the page of entries after this one.
|
|
37
34
|
#
|
|
38
|
-
# @param idempotency_key [String]
|
|
35
|
+
# @param idempotency_key [String]
|
|
36
|
+
# Filter records to the one with the specified `idempotency_key` you chose for
|
|
37
|
+
# that object. This value is unique across Increase and is used to ensure that a
|
|
38
|
+
# request is only processed once. Learn more about
|
|
39
|
+
# [idempotency](https://increase.com/documentation/idempotency-keys).
|
|
39
40
|
#
|
|
40
|
-
# @param limit [Integer]
|
|
41
|
+
# @param limit [Integer]
|
|
42
|
+
# Limit the size of the list that is returned. The default (and maximum) is 100
|
|
43
|
+
# objects.
|
|
41
44
|
#
|
|
42
45
|
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
|
|
43
46
|
end
|
|
@@ -22,7 +22,8 @@ module Increase
|
|
|
22
22
|
# @!method initialize(event_subscription_id:, status: nil, request_options: {})
|
|
23
23
|
# @param event_subscription_id [String] The identifier of the Event Subscription.
|
|
24
24
|
#
|
|
25
|
-
# @param status [Symbol, Increase::Models::EventSubscriptionUpdateParams::Status]
|
|
25
|
+
# @param status [Symbol, Increase::Models::EventSubscriptionUpdateParams::Status]
|
|
26
|
+
# The status to update the Event Subscription with.
|
|
26
27
|
#
|
|
27
28
|
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
|
|
28
29
|
|