cybersource_rest_client 0.0.87 → 0.0.89
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/lib/AuthenticationSDK/authentication/jwt/JwtToken.rb +1 -0
- data/lib/AuthenticationSDK/util/Cache.rb +1 -1
- data/lib/AuthenticationSDK/util/MLEUtility.rb +2 -3
- data/lib/cybersource_rest_client/api/acp_checkout_api.rb +563 -0
- data/lib/cybersource_rest_client/api/agent_registration_api.rb +737 -0
- data/lib/cybersource_rest_client/api/bank_account_validation_api.rb +7 -6
- data/lib/cybersource_rest_client/api/batches_api.rb +38 -30
- data/lib/cybersource_rest_client/api/billing_agreements_api.rb +15 -9
- data/lib/cybersource_rest_client/api/bin_lookup_api.rb +7 -5
- data/lib/cybersource_rest_client/api/capture_api.rb +4 -2
- data/lib/cybersource_rest_client/api/chargeback_details_api.rb +4 -2
- data/lib/cybersource_rest_client/api/chargeback_summaries_api.rb +4 -2
- data/lib/cybersource_rest_client/api/conversion_details_api.rb +4 -2
- data/lib/cybersource_rest_client/api/create_new_webhooks_api.rb +65 -59
- data/lib/cybersource_rest_client/api/credentials_api.rb +4 -2
- data/lib/cybersource_rest_client/api/credit_api.rb +4 -2
- data/lib/cybersource_rest_client/api/customer_api.rb +16 -8
- data/lib/cybersource_rest_client/api/customer_payment_instrument_api.rb +20 -10
- data/lib/cybersource_rest_client/api/customer_shipping_address_api.rb +20 -10
- data/lib/cybersource_rest_client/api/decision_manager_api.rb +26 -16
- data/lib/cybersource_rest_client/api/device_de_association_api.rb +11 -7
- data/lib/cybersource_rest_client/api/device_search_api.rb +14 -10
- data/lib/cybersource_rest_client/api/download_dtd_api.rb +4 -2
- data/lib/cybersource_rest_client/api/download_xsd_api.rb +4 -2
- data/lib/cybersource_rest_client/api/emv_tag_details_api.rb +18 -14
- data/lib/cybersource_rest_client/api/enrollment_api.rb +106 -0
- data/lib/cybersource_rest_client/api/flex_api_api.rb +4 -2
- data/lib/cybersource_rest_client/api/foreign_exchange_rates_api.rb +17 -15
- data/lib/cybersource_rest_client/api/instrument_identifier_api.rb +24 -12
- data/lib/cybersource_rest_client/api/interchange_clearing_level_details_api.rb +4 -2
- data/lib/cybersource_rest_client/api/invoice_settings_api.rb +8 -4
- data/lib/cybersource_rest_client/api/invoices_api.rb +28 -14
- data/lib/cybersource_rest_client/api/manage_webhooks_api.rb +142 -128
- data/lib/cybersource_rest_client/api/merchant_boarding_api.rb +21 -15
- data/lib/cybersource_rest_client/api/merchant_defined_fields_api.rb +80 -64
- data/lib/cybersource_rest_client/api/merchant_registration_api.rb +737 -0
- data/lib/cybersource_rest_client/api/microform_integration_api.rb +4 -2
- data/lib/cybersource_rest_client/api/net_fundings_api.rb +4 -2
- data/lib/cybersource_rest_client/api/network_tokens_api.rb +51 -37
- data/lib/cybersource_rest_client/api/notification_of_changes_api.rb +4 -2
- data/lib/cybersource_rest_client/api/offers_api.rb +16 -12
- data/lib/cybersource_rest_client/api/orders_api.rb +8 -4
- data/lib/cybersource_rest_client/api/payer_authentication_api.rb +12 -6
- data/lib/cybersource_rest_client/api/payment_batch_summaries_api.rb +4 -2
- data/lib/cybersource_rest_client/api/payment_events_api.rb +201 -0
- data/lib/cybersource_rest_client/api/payment_instrument_api.rb +16 -8
- data/lib/cybersource_rest_client/api/payment_links_api.rb +16 -8
- data/lib/cybersource_rest_client/api/payment_tokens_api.rb +17 -15
- data/lib/cybersource_rest_client/api/payments_api.rb +33 -21
- data/lib/cybersource_rest_client/api/payouts_api.rb +4 -2
- data/lib/cybersource_rest_client/api/plans_api.rb +32 -16
- data/lib/cybersource_rest_client/api/product_feed_api.rb +373 -0
- data/lib/cybersource_rest_client/api/pull_funds_api.rb +12 -6
- data/lib/cybersource_rest_client/api/purchase_and_refund_details_api.rb +4 -2
- data/lib/cybersource_rest_client/api/purchase_intent_api.rb +284 -0
- data/lib/cybersource_rest_client/api/push_funds_api.rb +4 -2
- data/lib/cybersource_rest_client/api/refund_api.rb +8 -4
- data/lib/cybersource_rest_client/api/report_definitions_api.rb +8 -4
- data/lib/cybersource_rest_client/api/report_downloads_api.rb +4 -2
- data/lib/cybersource_rest_client/api/report_subscriptions_api.rb +20 -10
- data/lib/cybersource_rest_client/api/reports_api.rb +12 -6
- data/lib/cybersource_rest_client/api/retrieval_details_api.rb +4 -2
- data/lib/cybersource_rest_client/api/retrieval_summaries_api.rb +4 -2
- data/lib/cybersource_rest_client/api/reversal_api.rb +8 -4
- data/lib/cybersource_rest_client/api/search_transactions_api.rb +8 -4
- data/lib/cybersource_rest_client/api/secure_file_share_api.rb +8 -4
- data/lib/cybersource_rest_client/api/subscriptions_api.rb +43 -23
- data/lib/cybersource_rest_client/api/subscriptions_follow_ons_api.rb +21 -17
- data/lib/cybersource_rest_client/api/taxes_api.rb +10 -6
- data/lib/cybersource_rest_client/api/tokenize_api.rb +7 -5
- data/lib/cybersource_rest_client/api/transaction_batches_api.rb +19 -11
- data/lib/cybersource_rest_client/api/transaction_details_api.rb +4 -2
- data/lib/cybersource_rest_client/api/transaction_query_api.rb +17 -15
- data/lib/cybersource_rest_client/api/transient_token_data_v2_api.rb +12 -6
- data/lib/cybersource_rest_client/api/ucp_checkout_api.rb +463 -0
- data/lib/cybersource_rest_client/api/unified_checkout_capture_context_api.rb +4 -2
- data/lib/cybersource_rest_client/api/unified_checkout_v1_capture_context_api.rb +4 -2
- data/lib/cybersource_rest_client/api/user_management_api.rb +4 -2
- data/lib/cybersource_rest_client/api/user_management_search_api.rb +4 -2
- data/lib/cybersource_rest_client/api/verification_api.rb +8 -4
- data/lib/cybersource_rest_client/api/visa_protect_risk_insights_api.rb +4 -2
- data/lib/cybersource_rest_client/api/void_api.rb +20 -10
- data/lib/cybersource_rest_client/models/acp_update_checkout_session_request.rb +1 -1
- data/lib/cybersource_rest_client/models/activate_merchant_key_response200.rb +1 -1
- data/lib/cybersource_rest_client/models/{key_request.rb → add_agent_key_request.rb} +5 -5
- data/lib/cybersource_rest_client/models/add_agent_key_response201.rb +11 -11
- data/lib/cybersource_rest_client/models/{key_request_1.rb → add_merchant_key_request.rb} +6 -6
- data/lib/cybersource_rest_client/models/agent_registration_response201.rb +13 -15
- data/lib/cybersource_rest_client/models/agent_registration_response201_keys.rb +8 -8
- data/lib/cybersource_rest_client/models/agent_request.rb +10 -12
- data/lib/cybersource_rest_client/models/agent_update.rb +7 -9
- data/lib/cybersource_rest_client/models/{payments_products_alternative_payment_methods_configuration_payment_methods.rb → alternative_payments_payment_method_configuration.rb} +2 -2
- data/lib/cybersource_rest_client/models/{payments_products_alternative_payment_methods_additional_configurations.rb → alternative_payments_payment_method_configuration_additional_configurations.rb} +1 -1
- data/lib/cybersource_rest_client/models/alternative_payments_processor_configuration.rb +1 -1
- data/lib/cybersource_rest_client/models/auth_reversal_request.rb +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_15.rb → bank_account_validation_response.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_202.rb → batch_create_response.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_202__links.rb → batch_create_response_links.rb} +3 -3
- data/lib/cybersource_rest_client/models/{inline_response_202__links_status.rb → batch_create_response_links_status.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_14.rb → batch_report_response.rb} +4 -4
- data/lib/cybersource_rest_client/models/{inline_response_200_14_records.rb → batch_report_response_records.rb} +3 -3
- data/lib/cybersource_rest_client/models/{inline_response_200_14_response_record.rb → batch_report_response_response_record.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_14_response_record_additional_updates.rb → batch_report_response_response_record_additional_updates.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_14_source_record.rb → batch_report_response_source_record.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_13.rb → batch_status_response.rb} +4 -4
- data/lib/cybersource_rest_client/models/{inline_response_200_13_billing.rb → batch_status_response_billing.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_13__links.rb → batch_status_response_links.rb} +3 -3
- data/lib/cybersource_rest_client/models/{inline_response_200_13__links_report.rb → batch_status_response_links_report.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_12.rb → batches_list_response.rb} +3 -3
- data/lib/cybersource_rest_client/models/{inline_response_200_12__embedded.rb → batches_list_response_embedded.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_12__embedded_batches.rb → batches_list_response_embedded_batches.rb} +3 -3
- data/lib/cybersource_rest_client/models/{inline_response_200_12__embedded__links.rb → batches_list_response_embedded_links.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_12__embedded__links_reports.rb → batches_list_response_embedded_links_reports.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_12__embedded_totals.rb → batches_list_response_embedded_totals.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_12__links.rb → batches_list_response_links.rb} +1 -1
- data/lib/cybersource_rest_client/models/boarding_payouts_configurations.rb +1 -1
- data/lib/cybersource_rest_client/models/boarding_payouts_configurations_acquirer.rb +216 -0
- data/lib/cybersource_rest_client/models/boarding_payouts_configurations_merchant_descriptor.rb +205 -0
- data/lib/cybersource_rest_client/models/boarding_payouts_configurations_processors.rb +581 -0
- data/lib/cybersource_rest_client/models/{inline_response_201_6.rb → boarding_registration_create_response.rb} +5 -5
- data/lib/cybersource_rest_client/models/{inline_response_201_6_integration_information.rb → boarding_registration_create_response_integration_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_6_integration_information_tenant_configurations.rb → boarding_registration_create_response_integration_information_tenant_configurations.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_6_organization_information.rb → boarding_registration_create_response_organization_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_6_product_information_setups.rb → boarding_registration_create_response_product_information_setups.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_6_registration_information.rb → boarding_registration_create_response_registration_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_6_setups.rb → boarding_registration_create_response_setups.rb} +4 -4
- data/lib/cybersource_rest_client/models/{inline_response_201_6_setups_commerce_solutions.rb → boarding_registration_create_response_setups_commerce_solutions.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_6_setups_risk.rb → boarding_registration_create_response_setups_risk.rb} +16 -6
- data/lib/cybersource_rest_client/models/{inline_response_201_6_setups_value_added_services.rb → boarding_registration_create_response_setups_value_added_services.rb} +16 -6
- data/lib/cybersource_rest_client/models/{inline_response_200_5.rb → boarding_registration_get_response.rb} +3 -3
- data/lib/cybersource_rest_client/models/{inline_response_200_5_integration_information.rb → boarding_registration_get_response_integration_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_5_integration_information_tenant_configurations.rb → boarding_registration_get_response_integration_information_tenant_configurations.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_18.rb → cancel_checkout_response.rb} +47 -7
- data/lib/cybersource_rest_client/models/capture_payment_request.rb +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_2.rb → card_art_asset_response.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_2_content.rb → card_art_asset_response_content.rb} +1 -1
- data/lib/cybersource_rest_client/models/card_processing_config_common_acquirers.rb +1 -1
- data/lib/cybersource_rest_client/models/card_processing_config_common_payment_types.rb +1 -1
- data/lib/cybersource_rest_client/models/card_processing_config_common_processors.rb +1 -1
- data/lib/cybersource_rest_client/models/{payments_products_card_processing_subscription_information_features.rb → card_proessing_feature_subscription_item.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_3.rb → case_management_actions_response.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_3__embedded.rb → case_management_actions_response_embedded.rb} +3 -3
- data/lib/cybersource_rest_client/models/{inline_response_200_3__embedded_capture.rb → case_management_actions_response_embedded_capture.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_3__embedded_capture__links.rb → case_management_actions_response_embedded_capture_links.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_3__embedded_capture__links_self.rb → case_management_actions_response_embedded_capture_links_self.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_3__embedded_reversal.rb → case_management_actions_response_embedded_reversal.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_3__embedded_reversal__links.rb → case_management_actions_response_embedded_reversal_links.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_3__embedded_reversal__links_self.rb → case_management_actions_response_embedded_reversal_links_self.rb} +1 -1
- data/lib/cybersource_rest_client/models/check_payer_auth_enrollment_request.rb +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_12.rb → checkout_session_response.rb} +48 -8
- data/lib/cybersource_rest_client/models/{inline_response_201_12_fulfillment_address.rb → checkout_session_response_fulfillment_address.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_12_fulfillment_options.rb → checkout_session_response_fulfillment_options.rb} +31 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_12_item.rb → checkout_session_response_item.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_12_line_items.rb → checkout_session_response_line_items.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_12_links.rb → checkout_session_response_links.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_12_messages.rb → checkout_session_response_messages.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_12_payment_provider.rb → checkout_session_response_payment_provider.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_12_totals.rb → checkout_session_response_totals.rb} +16 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_2.rb → comment_decision_manager_case_response.rb} +1 -1
- data/lib/cybersource_rest_client/models/{ptsv2paymentsidrefunds_travel_information_transit_airline_ancillary_information_service.rb → common_ancillary_information_service_item.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_17.rb → complete_checkout_response.rb} +63 -8
- data/lib/cybersource_rest_client/models/{inline_response_200_17_fulfillment_address.rb → complete_checkout_response_fulfillment_address.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_17_order.rb → complete_checkout_response_order.rb} +1 -1
- data/lib/cybersource_rest_client/models/create_bundled_decision_manager_case_request.rb +32 -2
- data/lib/cybersource_rest_client/models/{create_subscription_request_1.rb → create_follow_on_subscription_request.rb} +1 -1
- data/lib/cybersource_rest_client/models/create_fx_rates_request.rb +219 -0
- data/lib/cybersource_rest_client/models/{inline_response_201_3.rb → create_fx_rates_response.rb} +5 -5
- data/lib/cybersource_rest_client/models/{inline_response_201_3_error_information.rb → create_fx_rates_response_error_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_3_error_information_details.rb → create_fx_rates_response_error_information_details.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_3_order_information.rb → create_fx_rates_response_order_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_3_order_information_amount_details.rb → create_fx_rates_response_order_information_amount_details.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_3_processing_information.rb → create_fx_rates_response_processing_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_3_processing_information_routing.rb → create_fx_rates_response_processing_information_routing.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_3_processor_information.rb → create_fx_rates_response_processor_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_11.rb → create_offer_response.rb} +5 -5
- data/lib/cybersource_rest_client/models/{inline_response_201_11_client_reference_information.rb → create_offer_response_client_reference_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_11_error_information.rb → create_offer_response_error_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_11_order_information.rb → create_offer_response_order_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_11_order_information_currency_conversion.rb → create_offer_response_order_information_currency_conversion.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_11_order_information_currency_conversion_offer.rb → create_offer_response_order_information_currency_conversion_offer.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_11_processor_information.rb → create_offer_response_processor_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/create_order_request.rb +11 -1
- data/lib/cybersource_rest_client/models/create_payment_request.rb +15 -2
- data/lib/cybersource_rest_client/models/{body_1.rb → create_query_api_request.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_4.rb → create_query_api_response.rb} +5 -5
- data/lib/cybersource_rest_client/models/{inline_response_201_4_acquirer_information.rb → create_query_api_response_acquirer_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_4_client_reference_information.rb → create_query_api_response_client_reference_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_4_error_information.rb → create_query_api_response_error_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_4_error_information_details.rb → create_query_api_response_error_information_details.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_1__links.rb → create_query_api_response_links.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_4__links_self.rb → create_query_api_response_links_self.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_4_merchant_information.rb → create_query_api_response_merchant_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_2_order_information.rb → create_query_api_response_order_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_4_order_information_amount_details.rb → create_query_api_response_order_information_amount_details.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_4_payment_information.rb → create_query_api_response_payment_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_4_payment_information_card.rb → create_query_api_response_payment_information_card.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_4_processing_information.rb → create_query_api_response_processing_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_4_processing_information_payouts_options.rb → create_query_api_response_processing_information_payouts_options.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_4_processor_information.rb → create_query_api_response_processor_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_4_processor_information_card_verification.rb → create_query_api_response_processor_information_card_verification.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_4_transactions.rb → create_query_api_response_transactions.rb} +7 -7
- data/lib/cybersource_rest_client/models/create_session_req.rb +14 -1
- data/lib/cybersource_rest_client/models/create_session_request.rb +14 -1
- data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_2.rb → create_session_response.rb} +4 -4
- data/lib/cybersource_rest_client/models/{inline_response_201_4_order_information.rb → create_session_response_order_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_2_order_information_amount_details.rb → create_session_response_order_information_amount_details.rb} +1 -1
- data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_2_payment_information.rb → create_session_response_payment_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_2_payment_information_e_wallet.rb → create_session_response_payment_information_e_wallet.rb} +2 -2
- data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_2_processor_information.rb → create_session_response_processor_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/create_webhook.rb +1 -1
- data/lib/cybersource_rest_client/models/{notificationsubscriptionsv2webhooks_products_1.rb → create_webhook_request_product_item.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_7.rb → create_webhook_subscription_response.rb} +1 -1
- data/lib/cybersource_rest_client/models/{card_processing_config_common_currencies.rb → currency_configuration.rb} +1 -1
- data/lib/cybersource_rest_client/models/{card_processing_config_common_currencies_1.rb → currency_updated_configuration.rb} +1 -1
- data/lib/cybersource_rest_client/models/default_merchant_information_merchant_descriptor.rb +196 -0
- data/lib/cybersource_rest_client/models/default_payment_instrument.rb +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_10.rb → device_de_associate_v3_response.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_9.rb → device_search_response.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_9_devices.rb → device_search_response_devices.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_11.rb → device_search_v3_response.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_11_devices.rb → device_search_v3_response_devices.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_11_payment_processor_to_terminal_map.rb → device_search_v3_response_payment_processor_to_terminal_map.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payments_products_digital_payments_subscription_information_features.rb → digital_payments_feature_subscription_item.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payment_instrument.rb → embedded_payment_instrument.rb} +2 -2
- data/lib/cybersource_rest_client/models/{ptsv2payments_travel_information_transit_airline_ancillary_information_service.rb → enhanced_ancillary_information_service_item.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_401_2.rb → feed_job_status_response.rb} +32 -30
- data/lib/cybersource_rest_client/models/feed_processing_summary.rb +213 -0
- data/lib/cybersource_rest_client/models/{inline_response_400_16.rb → feed_syndication_protocol_status.rb} +31 -42
- data/lib/cybersource_rest_client/models/{inline_response_400_13.rb → flex400_error_response.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_400_1_details.rb → flex400_error_response_details.rb} +1 -1
- data/lib/cybersource_rest_client/models/generate_unified_checkout_capture_context_request.rb +2 -19
- data/lib/cybersource_rest_client/models/generate_unified_checkout_v1_capture_context_request.rb +2 -19
- data/lib/cybersource_rest_client/models/{inline_response_201_5.rb → get_account_info_response.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_5_payout_information.rb → get_account_info_response_payout_information.rb} +3 -3
- data/lib/cybersource_rest_client/models/{inline_response_201_5_payout_information_pull_funds.rb → get_account_info_response_payout_information_pull_funds.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_5_payout_information_push_funds.rb → get_account_info_response_payout_information_push_funds.rb} +1 -1
- data/lib/cybersource_rest_client/models/{get_subscription_response_1.rb → get_follow_on_subscription_response.rb} +5 -5
- data/lib/cybersource_rest_client/models/{get_subscription_response_1_buyer_information.rb → get_follow_on_subscription_response_buyer_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{get_subscription_response_1__links.rb → get_follow_on_subscription_response_links.rb} +1 -1
- data/lib/cybersource_rest_client/models/{get_subscription_response_1_payment_instrument.rb → get_follow_on_subscription_response_payment_instrument.rb} +3 -3
- data/lib/cybersource_rest_client/models/{get_subscription_response_1_payment_instrument_bank_account.rb → get_follow_on_subscription_response_payment_instrument_bank_account.rb} +1 -1
- data/lib/cybersource_rest_client/models/{get_subscription_response_1_payment_instrument_card.rb → get_follow_on_subscription_response_payment_instrument_card.rb} +1 -1
- data/lib/cybersource_rest_client/models/{get_subscription_response_1_shipping_address.rb → get_follow_on_subscription_response_shipping_address.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_16.rb → get_offer_response.rb} +4 -4
- data/lib/cybersource_rest_client/models/{inline_response_200_16_client_reference_information.rb → get_offer_response_client_reference_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_1.rb → get_tokenized_card_response.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_4__links.rb → get_tokenized_card_response_links.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_401_3__links_self.rb → get_tokenized_card_response_links_self.rb} +1 -1
- data/lib/cybersource_rest_client/models/{iccv1checkoutsessionssession_id_discounts.rb → iccv1_update_checkout_sessions_discounts.rb} +1 -1
- data/lib/cybersource_rest_client/models/{iccv1checkoutsessionssession_id_fulfillment.rb → iccv1_update_checkout_sessions_fulfillment.rb} +1 -1
- data/lib/cybersource_rest_client/models/{iccv1checkout_sessionssession_id_fulfillment_address.rb → iccv1_update_checkout_sessions_fulfillment_address.rb} +1 -1
- data/lib/cybersource_rest_client/models/{iccv1checkoutsessionssession_id_payment.rb → iccv1_update_checkoutsessions_payment.rb} +1 -1
- data/lib/cybersource_rest_client/models/{iccv1checkout_sessionssession_idcomplete_payment_data_billing_address.rb → iccv1checkout_sessions_payment_data_billing_address.rb} +1 -1
- data/lib/cybersource_rest_client/models/iccv1checkout_sessionssession_idcomplete_payment_data.rb +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_13_discounts.rb → iccv1checkoutsessions_response_discounts.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_13_fulfillment.rb → iccv1checkoutsessions_response_fulfillment.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_13_payment.rb → iccv1checkoutsessions_response_payment.rb} +1 -1
- data/lib/cybersource_rest_client/models/iccv1merchants_api_integrations.rb +2 -2
- data/lib/cybersource_rest_client/models/iccv1merchants_encryption_key.rb +6 -6
- data/lib/cybersource_rest_client/models/iccv1merchants_protocol_interactions.rb +1 -1
- data/lib/cybersource_rest_client/models/iccv1merchants_web_integrations.rb +2 -2
- data/lib/cybersource_rest_client/models/inline_response_400.rb +53 -9
- data/lib/cybersource_rest_client/models/inline_response_400_1.rb +56 -40
- data/lib/cybersource_rest_client/models/{inline_response_400_10_fields.rb → inline_response_400_1_fields.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_400_2.rb +6 -6
- data/lib/cybersource_rest_client/models/{inline_response_400_11_details.rb → inline_response_400_2_details.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_400_3.rb +30 -58
- data/lib/cybersource_rest_client/models/{inline_response_400_12_details.rb → inline_response_400_3_details.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_400_4.rb +40 -67
- data/lib/cybersource_rest_client/models/inline_response_400_5.rb +16 -16
- data/lib/cybersource_rest_client/models/{inline_response_400_14_details.rb → inline_response_400_5_details.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_400_6.rb +52 -6
- data/lib/cybersource_rest_client/models/inline_response_400_7.rb +38 -38
- data/lib/cybersource_rest_client/models/inline_response_401.rb +33 -51
- data/lib/cybersource_rest_client/models/inline_response_401_1.rb +56 -44
- data/lib/cybersource_rest_client/models/{inline_response_401_3__links.rb → inline_response_401_1__links.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_1__links_self.rb → inline_response_401_1__links_self.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_401_3_fields.rb → inline_response_401_1_fields.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_403.rb +53 -9
- data/lib/cybersource_rest_client/models/inline_response_403_1.rb +22 -34
- data/lib/cybersource_rest_client/models/inline_response_403_2.rb +29 -29
- data/lib/cybersource_rest_client/models/inline_response_404.rb +20 -10
- data/lib/cybersource_rest_client/models/inline_response_404_1.rb +42 -7
- data/lib/cybersource_rest_client/models/{inline_response_404_2_details.rb → inline_response_404_1_details.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_404_2.rb +7 -8
- data/lib/cybersource_rest_client/models/inline_response_404_3.rb +2 -26
- data/lib/cybersource_rest_client/models/{inline_response_404_4_details.rb → inline_response_404_3_details.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_404_4.rb +29 -17
- data/lib/cybersource_rest_client/models/inline_response_404_5.rb +28 -28
- data/lib/cybersource_rest_client/models/inline_response_422_1.rb +1 -1
- data/lib/cybersource_rest_client/models/inline_response_500.rb +53 -9
- data/lib/cybersource_rest_client/models/inline_response_500_1.rb +10 -22
- data/lib/cybersource_rest_client/models/inline_response_500_2.rb +29 -29
- data/lib/cybersource_rest_client/models/inline_response_502.rb +53 -9
- data/lib/cybersource_rest_client/models/inline_response_502_1.rb +12 -24
- data/lib/cybersource_rest_client/models/inline_response_502_2.rb +20 -21
- data/lib/cybersource_rest_client/models/{payment_instrument_list__embedded.rb → instrument_identifier_payment_instrument_list_embedded.rb} +2 -2
- data/lib/cybersource_rest_client/models/{payment_instrument_list_1__embedded.rb → instrument_identifier_payment_instrument_list_embedded_1.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payment_instrument_list__links.rb → instrument_identifier_payment_instrument_list_links.rb} +6 -6
- data/lib/cybersource_rest_client/models/{payment_instrument_list__links_first.rb → instrument_identifier_payment_instrument_list_links_first.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payment_instrument_list__links_last.rb → instrument_identifier_payment_instrument_list_links_last.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payment_instrument_list__links_next.rb → instrument_identifier_payment_instrument_list_links_next.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payment_instrument_list__links_prev.rb → instrument_identifier_payment_instrument_list_links_prev.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payment_instrument_list__links_self.rb → instrument_identifier_payment_instrument_list_links_self.rb} +1 -1
- data/lib/cybersource_rest_client/models/{pts_v2_credits_post201_response_1.rb → intimate_billing_agreement_response.rb} +2 -2
- data/lib/cybersource_rest_client/models/{pts_v2_credits_post201_response_1_processor_information.rb → intimate_billing_agreement_response_processor_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/list_agent_keys_response200.rb +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_4.rb → merchant_defined_field_with_id_response.rb} +1 -1
- data/lib/cybersource_rest_client/models/merchant_registration_response201.rb +10 -10
- data/lib/cybersource_rest_client/models/merchant_registration_response201_api_integrations.rb +225 -0
- data/lib/cybersource_rest_client/models/merchant_registration_response201_keys.rb +1 -1
- data/lib/cybersource_rest_client/models/merchant_registration_response201_web_integrations.rb +225 -0
- data/lib/cybersource_rest_client/models/merchant_request.rb +7 -7
- data/lib/cybersource_rest_client/models/merchant_update.rb +5 -5
- data/lib/cybersource_rest_client/models/mit_reversal_request.rb +1 -1
- data/lib/cybersource_rest_client/models/mit_void_request.rb +15 -5
- data/lib/cybersource_rest_client/models/mm_fx_rates400_error_response.rb +264 -0
- data/lib/cybersource_rest_client/models/{inline_response_404_6.rb → mm_fx_rates401_error_response.rb} +38 -20
- data/lib/cybersource_rest_client/models/{inline_response_502_5.rb → mm_fx_rates502_error_response.rb} +22 -21
- data/lib/cybersource_rest_client/models/{inline_response_400_15.rb → mm_query_api400_error_response.rb} +23 -35
- data/lib/cybersource_rest_client/models/mm_query_api401_error_response.rb +241 -0
- data/lib/cybersource_rest_client/models/{inline_response_502_3.rb → mm_query_api502_error_response.rb} +1 -1
- data/lib/cybersource_rest_client/models/{body_2.rb → parse_emv_tags_request.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_206.rb → partial_device_de_associate_v3.rb} +1 -1
- data/lib/cybersource_rest_client/models/patch_customer_payment_instrument_request.rb +1 -1
- data/lib/cybersource_rest_client/models/patch_customer_request.rb +1 -1
- data/lib/cybersource_rest_client/models/patch_payment_instrument_request.rb +1 -1
- data/lib/cybersource_rest_client/models/{default_payment_instrument__embedded.rb → payment_instrument_embedded.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payment_instrument_list__embedded__embedded.rb → payment_instrument_embedded_1.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tmsv1paymentinstruments__embedded.rb → payment_instrument_embedded_2.rb} +1 -1
- data/lib/cybersource_rest_client/models/payment_instrument_list.rb +2 -2
- data/lib/cybersource_rest_client/models/payment_instrument_list_1.rb +2 -2
- data/lib/cybersource_rest_client/models/{request.rb → payment_token_request.rb} +1 -1
- data/lib/cybersource_rest_client/models/payments_configuration_setup.rb +11 -1
- data/lib/cybersource_rest_client/models/payments_products.rb +11 -1
- data/lib/cybersource_rest_client/models/payments_products_card_processing_subscription_information.rb +1 -1
- data/lib/cybersource_rest_client/models/payments_products_digital_payments_subscription_information.rb +1 -1
- data/lib/cybersource_rest_client/models/payments_products_microform_subscription_information.rb +1 -1
- data/lib/cybersource_rest_client/models/{merchant_defined_field_core.rb → pbl_merchant_defined_field_definition_request.rb} +1 -1
- data/lib/cybersource_rest_client/models/pbl_payment_links_all_get200_response.rb +1 -1
- data/lib/cybersource_rest_client/models/{pbl_payment_links_all_get200_response_links.rb → pbl_payment_links_all_get200_response_sdk_links.rb} +1 -1
- data/lib/cybersource_rest_client/models/pbl_payment_links_get200_response.rb +1 -1
- data/lib/cybersource_rest_client/models/pbl_payment_links_post201_response.rb +1 -1
- data/lib/cybersource_rest_client/models/{body.rb → post_batch_request.rb} +1 -1
- data/lib/cybersource_rest_client/models/post_customer_payment_instrument_request.rb +1 -1
- data/lib/cybersource_rest_client/models/post_customer_request.rb +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_1.rb → post_payment_credentials_response.rb} +4 -4
- data/lib/cybersource_rest_client/models/{inline_response_201_1_card.rb → post_payment_credentials_response_card.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_1__links.rb → post_payment_credentials_response_links.rb} +5 -5
- data/lib/cybersource_rest_client/models/{inline_response_201_1__links_customer.rb → post_payment_credentials_response_links_customer.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_1__links_instrument_identifier.rb → post_payment_credentials_response_links_instrument_identifier.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_1__links_payment_instruments.rb → post_payment_credentials_response_links_payment_instruments.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_1__links_tokenized_card.rb → post_payment_credentials_response_links_tokenized_card.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_1_tokenized_card.rb → post_payment_credentials_response_tokenized_card.rb} +1 -1
- data/lib/cybersource_rest_client/models/{post_payment_credentials_request_1.rb → post_payment_credentials_v3_request.rb} +1 -1
- data/lib/cybersource_rest_client/models/post_payment_instrument_request.rb +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200.rb → post_tokenize_response.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_400_details.rb → post_tokenize_response_details.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_errors.rb → post_tokenize_response_errors.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_responses.rb → post_tokenize_response_responses.rb} +2 -2
- data/lib/cybersource_rest_client/models/{deactivate_merchant_key_response200.rb → product_accepted_feed_response.rb} +11 -16
- data/lib/cybersource_rest_client/models/{inline_response_200_6.rb → product_catalog_product.rb} +2 -2
- data/lib/cybersource_rest_client/models/{notificationsubscriptionsv2productsorganization_id_event_types.rb → product_catalog_product_item.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_20.rb → product_catalog_response.rb} +2 -2
- data/lib/cybersource_rest_client/models/product_catalog_response_products.rb +479 -0
- data/lib/cybersource_rest_client/models/{inline_response_200_21.rb → product_detail_response.rb} +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_order_post201_response_processor_information.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response.rb +12 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_installment_information.rb +102 -6
- data/lib/cybersource_rest_client/models/{push_funds201_response__links_self.rb → pts_v2_payments_post201_response_links_self_1.rb} +1 -1
- data/lib/cybersource_rest_client/models/{pull_funds201_response__links_instrument_identifier.rb → pts_v2_payments_post201_response_links_self_10.rb} +1 -1
- data/lib/cybersource_rest_client/models/{pull_funds_reversal201_response__links_self.rb → pts_v2_payments_post201_response_links_self_11.rb} +1 -1
- data/lib/cybersource_rest_client/models/{pull_funds_refund201_response__links_self.rb → pts_v2_payments_post201_response_links_self_12.rb} +1 -1
- data/lib/cybersource_rest_client/models/{push_funds201_response__links_customer.rb → pts_v2_payments_post201_response_links_self_2.rb} +1 -1
- data/lib/cybersource_rest_client/models/{push_funds201_response__links_payment_instrument.rb → pts_v2_payments_post201_response_links_self_3.rb} +1 -1
- data/lib/cybersource_rest_client/models/{push_funds201_response__links_instrument_identifier.rb → pts_v2_payments_post201_response_links_self_4.rb} +1 -1
- data/lib/cybersource_rest_client/models/{pull_funds201_response__links_self.rb → pts_v2_payments_post201_response_links_self_5.rb} +1 -1
- data/lib/cybersource_rest_client/models/{pull_funds201_response__links_reversal.rb → pts_v2_payments_post201_response_links_self_6.rb} +1 -1
- data/lib/cybersource_rest_client/models/{pull_funds201_response__links_refund.rb → pts_v2_payments_post201_response_links_self_7.rb} +1 -1
- data/lib/cybersource_rest_client/models/{pull_funds201_response__links_customer.rb → pts_v2_payments_post201_response_links_self_8.rb} +1 -1
- data/lib/cybersource_rest_client/models/{pull_funds201_response__links_payment_instrument.rb → pts_v2_payments_post201_response_links_self_9.rb} +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_ship_to.rb +12 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information.rb +22 -5
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information.rb +22 -5
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_processor_results.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_processor_information.rb +22 -5
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response.rb +1 -1
- data/lib/cybersource_rest_client/models/{ptsv2paymentsidreversals_point_of_sale_information.rb → pts_v2_payments_reversals_post201_response_point_of_sale_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{ptsv2paymentsidreversals_point_of_sale_information_emv.rb → pts_v2_payments_reversals_post201_response_point_of_sale_information_emv.rb} +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_processor_information.rb +22 -5
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_merchant_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2billingagreements_installment_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2intents_buyer_information.rb +196 -0
- data/lib/cybersource_rest_client/models/ptsv2intents_merchant_information_merchant_descriptor.rb +18 -1
- data/lib/cybersource_rest_client/models/ptsv2intents_order_information_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2intents_order_information_bill_to.rb +154 -1
- data/lib/cybersource_rest_client/models/ptsv2intents_order_information_line_items.rb +16 -5
- data/lib/cybersource_rest_client/models/ptsv2intentsid_merchant_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2intentsid_merchant_information_merchant_descriptor.rb +207 -0
- data/lib/cybersource_rest_client/models/ptsv2paymentreferences_processing_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_buyer.rb +247 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information.rb +15 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information_loyalty.rb +213 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_installment_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_order_history.rb +238 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information.rb +14 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_line_items_extended.rb +733 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_ship_to.rb +22 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_vouchers.rb +196 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +39 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_risk_information.rb +53 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_risk_information_buyer_history.rb +16 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_risk_information_buyer_history_customer_account.rb +75 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_risk_information_buyer_history_customer_account_previous_login.rb +257 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_risk_information_buyer_history_customer_account_previous_login_ip_address.rb +213 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_risk_information_buyer_history_customer_account_previous_order.rb +196 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_risk_information_external_score.rb +208 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_risk_information_store.rb +265 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_sender_information.rb +22 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_ship_to.rb +281 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_extended.rb +258 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_legs.rb +213 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ancillary_information.rb +5 -22
- data/lib/cybersource_rest_client/models/{ptsv2paymentsidrefunds_travel_information_transit_airline_ancillary_information.rb → ptsv2payments_travel_information_transit_airline_enhanced_ancillary_information.rb} +23 -6
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_installment_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_point_of_sale_information.rb +1 -1
- data/lib/cybersource_rest_client/models/{ptsv2paymentsidcaptures_point_of_sale_information_emv.rb → ptsv2paymentsidrefunds_point_of_sale_information_emv.rb} +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_travel_information_transit_airline.rb +1 -1
- data/lib/cybersource_rest_client/models/{pull_funds201_response__links.rb → pull_funds201_response_links.rb} +6 -6
- data/lib/cybersource_rest_client/models/{pull_funds_refund201_response__links.rb → pull_funds_refund201_response_links.rb} +1 -1
- data/lib/cybersource_rest_client/models/{pull_funds_reversal201_response__links.rb → pull_funds_reversal201_response_links.rb} +1 -1
- data/lib/cybersource_rest_client/models/{push_funds201_response__links.rb → push_funds201_response_links.rb} +4 -4
- data/lib/cybersource_rest_client/models/{inline_response_400_14.rb → rbs_follow_on_subscription400_error_response.rb} +17 -17
- data/lib/cybersource_rest_client/models/{inline_response_400_8.rb → rbs_get_payment400_error_response.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_400_11.rb → rbs_plan400_error_response.rb} +7 -7
- data/lib/cybersource_rest_client/models/{inline_response_400_9.rb → rbs_put_payment400_error_response.rb} +1 -1
- data/lib/cybersource_rest_client/models/rbs_subscription400_error_response.rb +235 -0
- data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_1.rb → refresh_payment_status_response.rb} +18 -7
- data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_1_error_information.rb → refresh_payment_status_response_error_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_1_error_information_details.rb → refresh_payment_status_response_error_information_details.rb} +1 -1
- data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_1_issuer_information.rb → refresh_payment_status_response_issuer_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_1_order_information.rb → refresh_payment_status_response_order_information.rb} +48 -5
- data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_1_order_information_amount_details.rb → refresh_payment_status_response_order_information_amount_details.rb} +1 -1
- data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_1_order_information_bill_to.rb → refresh_payment_status_response_order_information_bill_to.rb} +1 -1
- data/lib/cybersource_rest_client/models/{pts_v2_payouts_post201_response_merchant_information_merchant_descriptor.rb → refresh_payment_status_response_order_information_merchant_descriptor.rb} +1 -1
- data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_1_order_information_ship_to.rb → refresh_payment_status_response_order_information_ship_to.rb} +1 -1
- data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_1_payment_information.rb → refresh_payment_status_response_payment_information.rb} +4 -4
- data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_1_payment_information_bank.rb → refresh_payment_status_response_payment_information_bank.rb} +2 -2
- data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_1_payment_information_bank_account.rb → refresh_payment_status_response_payment_information_bank_account.rb} +1 -1
- data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_1_payment_information_e_wallet.rb → refresh_payment_status_response_payment_information_e_wallet.rb} +1 -1
- data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_1_payment_information_payment_type.rb → refresh_payment_status_response_payment_information_payment_type.rb} +2 -2
- data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_1_payment_information_payment_type_method.rb → refresh_payment_status_response_payment_information_payment_type_method.rb} +1 -1
- data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_1_processor_information.rb → refresh_payment_status_response_processor_information.rb} +20 -3
- data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_1_processor_information_avs.rb → refresh_payment_status_response_processor_information_avs.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201.rb → retrieve_or_delete_payment_token_response.rb} +3 -3
- data/lib/cybersource_rest_client/models/{inline_response_201_order_information.rb → retrieve_or_delete_payment_token_response_order_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_order_information_ship_to.rb → retrieve_or_delete_payment_token_response_order_information_ship_to.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_payment_information.rb → retrieve_or_delete_payment_token_response_payment_information.rb} +3 -3
- data/lib/cybersource_rest_client/models/{inline_response_201_payment_information_e_wallet.rb → retrieve_or_delete_payment_token_response_payment_information_e_wallet.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_payment_information_tokenized_payment_method.rb → retrieve_or_delete_payment_token_response_payment_information_tokenized_payment_method.rb} +1 -1
- data/lib/cybersource_rest_client/models/risk_information_buyer_history_customer_account.rb +263 -0
- data/lib/cybersource_rest_client/models/risk_products.rb +15 -5
- data/lib/cybersource_rest_client/models/riskv1authentications_merchant_information.rb +206 -0
- data/lib/cybersource_rest_client/models/riskv1authentications_risk_information.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1decisions_aggregator_information.rb +196 -0
- data/lib/cybersource_rest_client/models/riskv1decisions_bundled_consumer_authentication_information.rb +806 -0
- data/lib/cybersource_rest_client/models/riskv1decisions_bundled_order_information_ship_to.rb +462 -0
- data/lib/cybersource_rest_client/models/riskv1decisions_bundled_travel_information_legs.rb +286 -0
- data/lib/cybersource_rest_client/models/riskv1decisions_buyer_information.rb +15 -5
- data/lib/cybersource_rest_client/models/riskv1decisions_buyer_information_loyalty.rb +213 -0
- data/lib/cybersource_rest_client/models/riskv1decisions_merchant_information.rb +18 -1
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information.rb +15 -2
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_amount_details.rb +18 -1
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_line_items.rb +18 -1
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_vouchers.rb +196 -0
- data/lib/cybersource_rest_client/models/riskv1decisions_payment_information.rb +25 -5
- data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_payment_account_reference.rb +196 -0
- data/lib/cybersource_rest_client/models/riskv1decisions_processing_information.rb +77 -5
- data/lib/cybersource_rest_client/models/riskv1decisions_processing_information_authorization_options.rb +190 -0
- data/lib/cybersource_rest_client/models/riskv1decisions_recipient_information.rb +468 -0
- data/lib/cybersource_rest_client/models/riskv1decisions_risk_information.rb +53 -5
- data/lib/cybersource_rest_client/models/riskv1decisions_risk_information_buyer_history.rb +276 -0
- data/lib/cybersource_rest_client/models/riskv1decisions_sender_information.rb +478 -0
- data/lib/cybersource_rest_client/models/riskv1decisions_sender_information_account.rb +230 -0
- data/lib/cybersource_rest_client/models/riskv1decisions_travel_information.rb +16 -6
- data/lib/cybersource_rest_client/models/riskv1decisions_travel_information_lodging.rb +230 -0
- data/lib/cybersource_rest_client/models/{inline_response_201_10.rb → save_asym_egress_key_response.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_7.rb → save_sym_egress_key_response.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_7_key_information.rb → save_sym_egress_key_response_key_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_7_key_information_error_information.rb → save_sym_egress_key_response_key_information_error_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_7_key_information_error_information_details.rb → save_sym_egress_key_response_key_information_error_information_details_item.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_9.rb → test_webhook_subscription_response.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_9_payloads.rb → test_webhook_subscription_response_payloads.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_9_payloads_test_payload.rb → test_webhook_subscription_response_payloads_test_payload.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_409.rb → tms400_error_response.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_details.rb → tms400_error_response_details.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_400_errors.rb → tms400_error_response_errors.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_410.rb → tms403_error_response.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_403_errors.rb → tms403_error_response_errors.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_412.rb → tms404_error_response.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_404_errors.rb → tms404_error_response_errors.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_424.rb → tms409_error_response.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_409_errors.rb → tms409_error_response_errors.rb} +1 -1
- data/lib/cybersource_rest_client/models/tms410_error_response.rb +191 -0
- data/lib/cybersource_rest_client/models/{inline_response_410_errors.rb → tms410_error_response_errors.rb} +1 -1
- data/lib/cybersource_rest_client/models/tms412_error_response.rb +191 -0
- data/lib/cybersource_rest_client/models/{inline_response_412_errors.rb → tms412_error_response_errors.rb} +1 -1
- data/lib/cybersource_rest_client/models/tms424_error_response.rb +191 -0
- data/lib/cybersource_rest_client/models/{inline_response_424_errors.rb → tms424_error_response_errors.rb} +1 -1
- data/lib/cybersource_rest_client/models/tms500_error_response.rb +191 -0
- data/lib/cybersource_rest_client/models/{inline_response_500_errors.rb → tms500_error_response_errors.rb} +1 -1
- data/lib/cybersource_rest_client/models/tms502_error_response.rb +191 -0
- data/lib/cybersource_rest_client/models/tms_merchant_information_merchant_descriptor.rb +20 -15
- data/lib/cybersource_rest_client/models/{tmsv2customers__embedded.rb → tmsv2tokenize_token_information_customer_embedded_1.rb} +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response.rb +11 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_client_reference_information.rb +18 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_point_of_sale_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_travel_information.rb +189 -0
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_travel_information_transit.rb +189 -0
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_travel_information_transit_airline.rb +213 -0
- data/lib/cybersource_rest_client/models/{tss_v2_transactions_post201_response__embedded_client_reference_information.rb → tss_v2_transactions_post201_response_embedded_client_reference_information.rb} +18 -1
- data/lib/cybersource_rest_client/models/{tss_v2_transactions_post201_response__embedded_point_of_sale_information.rb → tss_v2_transactions_post201_response_embedded_point_of_sale_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{tss_v2_transactions_post201_response__embedded_transaction_summaries.rb → tss_v2_transactions_post201_response_embedded_transaction_summaries.rb} +11 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_13.rb → ucp_checkout_session_response.rb} +8 -8
- data/lib/cybersource_rest_client/models/{inline_response_201_13_item.rb → ucp_checkout_session_response_item.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_13_line_items.rb → ucp_checkout_session_response_line_items.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_13_order.rb → ucp_checkout_session_response_order.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_13_ucp.rb → ucp_checkout_session_response_ucp.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_13_ucp_capabilities.rb → ucp_checkout_session_response_ucp_capabilities.rb} +1 -1
- data/lib/cybersource_rest_client/models/ucp_update_checkout_session_request.rb +3 -3
- data/lib/cybersource_rest_client/models/ucv1sessions_complete_mandate.rb +1 -1
- data/lib/cybersource_rest_client/models/ucv1sessions_data_aggregator_information.rb +2 -2
- data/lib/cybersource_rest_client/models/ucv1sessions_data_aggregator_information_sub_merchant.rb +9 -9
- data/lib/cybersource_rest_client/models/ucv1sessions_data_installment_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ucv1sessions_data_merchant_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ucv1sessions_data_order_information_bill_to.rb +1 -1
- data/lib/cybersource_rest_client/models/ucv1sessions_data_processing_information_recurring_options.rb +1 -1
- data/lib/cybersource_rest_client/models/ucv1sessions_payment_configurations_clicktopay.rb +18 -5
- data/lib/cybersource_rest_client/models/underwriting_configuration_organization_information_business_information.rb +1 -1
- data/lib/cybersource_rest_client/models/{underwriting_configuration_organization_information_business_information_owner_information.rb → underwriting_configuration_owner_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{underwriting_configuration_organization_information_business_information_address_1.rb → underwriting_configuration_owner_information_address.rb} +1 -1
- data/lib/cybersource_rest_client/models/unifiedrisk_acquirer_merchant_account_security_amount.rb +3 -3
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor_expected_annual_sales.rb +3 -3
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor_expected_average_ticket_size.rb +3 -3
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor_expected_monthly_sales.rb +3 -3
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor_limit_value.rb +3 -3
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_bank_account_balance_before.rb +2 -2
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_bank_account_credit_limit.rb +3 -3
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction_additional_fees.rb +2 -2
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction_amount.rb +3 -3
- data/lib/cybersource_rest_client/models/{key_update.rb → update_agent_key_request.rb} +6 -6
- data/lib/cybersource_rest_client/models/{merchant_defined_field_core_1.rb → update_merchant_defined_field_core_by_id_request.rb} +1 -1
- data/lib/cybersource_rest_client/models/{key_update_1.rb → update_merchant_key_request.rb} +6 -6
- data/lib/cybersource_rest_client/models/{merchant_defined_field_definition_request_1.rb → update_pbl_merchant_defined_field_core_by_id_request.rb} +1 -1
- data/lib/cybersource_rest_client/models/{get_subscriptions_payments_response_1.rb → update_subscriptions_payments_response.rb} +2 -2
- data/lib/cybersource_rest_client/models/{get_subscriptions_payments_response_1__links.rb → update_subscriptions_payments_response_links.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_8.rb → update_webhook_subscription_response.rb} +1 -1
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_order_information_bill_to.rb +1 -1
- data/lib/cybersource_rest_client/models/upv1capturecontexts_order_information_bill_to.rb +1 -1
- data/lib/cybersource_rest_client/models/value_added_services_products.rb +15 -5
- data/lib/cybersource_rest_client/models/void_capture_request.rb +15 -5
- data/lib/cybersource_rest_client/models/void_credit_request.rb +15 -5
- data/lib/cybersource_rest_client/models/void_payment_request.rb +15 -5
- data/lib/cybersource_rest_client/models/void_refund_request.rb +15 -5
- data/lib/cybersource_rest_client/models/{inline_response_201_8.rb → webhook_subscription.rb} +1 -1
- data/lib/cybersource_rest_client.rb +2307 -2264
- metadata +439 -396
- data/lib/cybersource_rest_client/api/agent_capabilities_api.rb +0 -2279
- data/lib/cybersource_rest_client/api/merchant_capabilities_api.rb +0 -1065
- data/lib/cybersource_rest_client/models/iccv1agents_keys.rb +0 -239
- data/lib/cybersource_rest_client/models/inline_response_200_19.rb +0 -302
- data/lib/cybersource_rest_client/models/inline_response_200_19_errors.rb +0 -213
- data/lib/cybersource_rest_client/models/inline_response_200_19_google_merchant.rb +0 -237
- data/lib/cybersource_rest_client/models/inline_response_200_19_google_merchant_products.rb +0 -259
- data/lib/cybersource_rest_client/models/inline_response_200_20_products.rb +0 -1081
- data/lib/cybersource_rest_client/models/inline_response_400_10.rb +0 -258
- data/lib/cybersource_rest_client/models/inline_response_400_12.rb +0 -236
- data/lib/cybersource_rest_client/models/inline_response_401_3.rb +0 -253
- data/lib/cybersource_rest_client/models/inline_response_403_3.rb +0 -223
- data/lib/cybersource_rest_client/models/inline_response_500_3.rb +0 -223
- data/lib/cybersource_rest_client/models/inline_response_502_4.rb +0 -223
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information.rb +0 -223
- /data/lib/cybersource_rest_client/models/{create_subscription_response__links.rb → create_subscription_response_links.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{default_payment_instrument__links.rb → default_payment_instrument_links.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{default_payment_instrument__links_self.rb → default_payment_instrument_links_self.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{default_shipping_address__links.rb → default_shipping_address_links.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{default_shipping_address__links_customer.rb → default_shipping_address_links_customer.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{default_shipping_address__links_self.rb → default_shipping_address_links_self.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{get_all_plans_response__links.rb → get_all_plans_response_links.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{get_all_subscriptions_response__links.rb → get_all_subscriptions_response_links.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{get_subscriptions_payments_response__links.rb → get_subscriptions_payments_response_links.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{invoicing_v2_invoices_all_get200_response__links.rb → invoicing_v2_invoices_all_get200_response_links.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{payer_auth_config_card_types_j_cbj_secure.rb → payer_auth_config_card_types_jcbj_secure.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{pts_v1_transaction_batches_get200_response__links.rb → pts_v1_transaction_batches_get200_response_links.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{pts_v1_transaction_batches_get200_response__links_self.rb → pts_v1_transaction_batches_get200_response_links_self.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{pts_v1_transaction_batches_id_get200_response__links.rb → pts_v1_transaction_batches_id_get200_response_links.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{pts_v1_transaction_batches_id_get200_response__links_transactions.rb → pts_v1_transaction_batches_id_get200_response_links_transactions.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{pts_v2_create_billing_agreement_post201_response__links.rb → pts_v2_create_billing_agreement_post201_response_links.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{pts_v2_incremental_authorization_patch201_response__links.rb → pts_v2_incremental_authorization_patch201_response_links.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{pts_v2_modify_billing_agreement_post201_response__links.rb → pts_v2_modify_billing_agreement_post201_response_links.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{pts_v2_payments_captures_post201_response__links.rb → pts_v2_payments_captures_post201_response_links.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_embedded_actions_consumer_authentication.rb → pts_v2_payments_post201_response_embedded_actions_consumerauthentication.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_embedded_actions_token_create.rb → pts_v2_payments_post201_response_embedded_actions_tokencreate.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_embedded_actions_token_update.rb → pts_v2_payments_post201_response_embedded_actions_tokenupdate.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_embedded_actions_watchlist_screening.rb → pts_v2_payments_post201_response_embedded_actions_watchlistscreening.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response__links.rb → pts_v2_payments_post201_response_links.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response__links_self.rb → pts_v2_payments_post201_response_links_self.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{pts_v2_payments_refund_post201_response__links.rb → pts_v2_payments_refund_post201_response_links.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{reporting_v3_reports_get200_response__link.rb → reporting_v3_reports_get200_response_link.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{reporting_v3_reports_get200_response__link_report_download.rb → reporting_v3_reports_get200_response_link_report_download.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{shipping_address_list_for_customer__embedded.rb → shipping_address_list_for_customer_embedded.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{shipping_address_list_for_customer__links.rb → shipping_address_list_for_customer_links.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{shipping_address_list_for_customer__links_first.rb → shipping_address_list_for_customer_links_first.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{shipping_address_list_for_customer__links_last.rb → shipping_address_list_for_customer_links_last.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{shipping_address_list_for_customer__links_next.rb → shipping_address_list_for_customer_links_next.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{shipping_address_list_for_customer__links_prev.rb → shipping_address_list_for_customer_links_prev.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{shipping_address_list_for_customer__links_self.rb → shipping_address_list_for_customer_links_self.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{tms_card_art_brand_logo_asset__links.rb → tms_card_art_brand_logo_asset_links.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{tms_card_art_brand_logo_asset__links_self.rb → tms_card_art_brand_logo_asset_links_self.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{tms_card_art_combined_asset__links.rb → tms_card_art_combined_asset_links.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{tms_card_art_combined_asset__links_self.rb → tms_card_art_combined_asset_links_self.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{tms_card_art_icon_asset__links.rb → tms_card_art_icon_asset_links.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{tms_card_art_icon_asset__links_self.rb → tms_card_art_icon_asset_links_self.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{tms_card_art_issuer_logo_asset__links.rb → tms_card_art_issuer_logo_asset_links.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{tms_card_art_issuer_logo_asset__links_self.rb → tms_card_art_issuer_logo_asset_links_self.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{tms_embedded_instrument_identifier__embedded.rb → tms_embedded_instrument_identifier_embedded.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{tms_embedded_instrument_identifier__links.rb → tms_embedded_instrument_identifier_links.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{tms_embedded_instrument_identifier__links_payment_instruments.rb → tms_embedded_instrument_identifier_links_payment_instruments.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{tms_embedded_instrument_identifier__links_self.rb → tms_embedded_instrument_identifier_links_self.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{tms_embedded_instrument_identifier__links_tokenizedcards.rb → tms_embedded_instrument_identifier_links_tokenizedcards.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__embedded.rb → tmsv2tokenize_token_information_customer_embedded.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__links.rb → tmsv2tokenize_token_information_customer_links.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__links_payment_instruments.rb → tmsv2tokenize_token_information_customer_links_payment_instruments.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__links_self.rb → tmsv2tokenize_token_information_customer_links_self.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{tmsv2tokenize_token_information_customer__links_shipping_address.rb → tmsv2tokenize_token_information_customer_links_shipping_address.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{tss_v2_transactions_get200_response__links.rb → tss_v2_transactions_get200_response_links.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{tss_v2_transactions_post201_response__embedded.rb → tss_v2_transactions_post201_response_embedded.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{tss_v2_transactions_post201_response__embedded_application_information.rb → tss_v2_transactions_post201_response_embedded_application_information.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{tss_v2_transactions_post201_response__embedded_application_information_applications.rb → tss_v2_transactions_post201_response_embedded_application_information_applications.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{tss_v2_transactions_post201_response__embedded_client_reference_information_partner.rb → tss_v2_transactions_post201_response_embedded_client_reference_information_partner.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{tss_v2_transactions_post201_response__embedded_consumer_authentication_information.rb → tss_v2_transactions_post201_response_embedded_consumer_authentication_information.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{tss_v2_transactions_post201_response__embedded_error_information.rb → tss_v2_transactions_post201_response_embedded_error_information.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{tss_v2_transactions_post201_response__embedded__links.rb → tss_v2_transactions_post201_response_embedded_links.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{tss_v2_transactions_post201_response__embedded_merchant_information.rb → tss_v2_transactions_post201_response_embedded_merchant_information.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{tss_v2_transactions_post201_response__embedded_order_information.rb → tss_v2_transactions_post201_response_embedded_order_information.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{tss_v2_transactions_post201_response__embedded_order_information_bill_to.rb → tss_v2_transactions_post201_response_embedded_order_information_bill_to.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{tss_v2_transactions_post201_response__embedded_order_information_ship_to.rb → tss_v2_transactions_post201_response_embedded_order_information_ship_to.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{tss_v2_transactions_post201_response__embedded_payment_information.rb → tss_v2_transactions_post201_response_embedded_payment_information.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{tss_v2_transactions_post201_response__embedded_payment_information_bank.rb → tss_v2_transactions_post201_response_embedded_payment_information_bank.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{tss_v2_transactions_post201_response__embedded_payment_information_bank_account.rb → tss_v2_transactions_post201_response_embedded_payment_information_bank_account.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{tss_v2_transactions_post201_response__embedded_payment_information_card.rb → tss_v2_transactions_post201_response_embedded_payment_information_card.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{tss_v2_transactions_post201_response__embedded_payment_information_payment_type.rb → tss_v2_transactions_post201_response_embedded_payment_information_payment_type.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{tss_v2_transactions_post201_response__embedded_point_of_sale_information_partner.rb → tss_v2_transactions_post201_response_embedded_point_of_sale_information_partner.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{tss_v2_transactions_post201_response__embedded_processing_information.rb → tss_v2_transactions_post201_response_embedded_processing_information.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{tss_v2_transactions_post201_response__embedded_processor_information.rb → tss_v2_transactions_post201_response_embedded_processor_information.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{tss_v2_transactions_post201_response__embedded_risk_information.rb → tss_v2_transactions_post201_response_embedded_risk_information.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{tss_v2_transactions_post201_response__embedded_risk_information_providers.rb → tss_v2_transactions_post201_response_embedded_risk_information_providers.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{tss_v2_transactions_post201_response__embedded_risk_information_providers_fingerprint.rb → tss_v2_transactions_post201_response_embedded_risk_information_providers_fingerprint.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{ucv1sessions_payment_configurations_tms_token.rb → ucv1sessions_payment_configurations_tmstoken.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{ucv1sessions_payment_configurations_tms_token_customer.rb → ucv1sessions_payment_configurations_tmstoken_customer.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{ucv1sessions_payment_configurations_tms_token_instrument_identifiers.rb → ucv1sessions_payment_configurations_tmstoken_instrument_identifiers.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{ucv1sessions_payment_configurations_tms_token_payment_instruments.rb → ucv1sessions_payment_configurations_tmstoken_payment_instruments.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{underwriting_configuration_organization_information_business_information_address_2.rb → underwriting_configuration_organization_information_business_information_address2.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{unified_risk_post201_response_results_risk_insights.rb → unified_risk_post201_response_results_riskinsights.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{unified_risk_post201_response_results_risk_insights_client.rb → unified_risk_post201_response_results_riskinsights_client.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{unified_risk_post201_response_results_risk_insights_error.rb → unified_risk_post201_response_results_riskinsights_error.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{unified_risk_post201_response_results_risk_insights_packages.rb → unified_risk_post201_response_results_riskinsights_packages.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{unified_risk_post201_response_results_risk_insights_packages_transaction_insights.rb → unified_risk_post201_response_results_riskinsights_packages_transaction_insights.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{unified_risk_post201_response_results_risk_insights_packages_transaction_insights_insights.rb → unified_risk_post201_response_results_riskinsights_packages_transaction_insights_insights.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{v1_file_details_get200_response__links.rb → v1_file_details_get200_response_links.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{v1_file_details_get200_response__links_files.rb → v1_file_details_get200_response_links_files.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{v1_file_details_get200_response__links_self.rb → v1_file_details_get200_response_links_self.rb} +0 -0
- /data/lib/cybersource_rest_client/models/{vas_v2_payments_post201_response__links.rb → vas_v2_payments_post201_response_links.rb} +0 -0
|
@@ -0,0 +1,737 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#CyberSource Merged Spec
|
|
3
|
+
|
|
4
|
+
#All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 0.0.1
|
|
7
|
+
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
Swagger Codegen version: 2.4.38
|
|
10
|
+
=end
|
|
11
|
+
|
|
12
|
+
require 'uri'
|
|
13
|
+
require 'AuthenticationSDK/util/MLEUtility'
|
|
14
|
+
module CyberSource
|
|
15
|
+
class AgentRegistrationApi
|
|
16
|
+
attr_accessor :api_client
|
|
17
|
+
|
|
18
|
+
def initialize(api_client = ApiClient.default, config)
|
|
19
|
+
@api_client = api_client
|
|
20
|
+
@api_client.set_configuration(config)
|
|
21
|
+
end
|
|
22
|
+
# Activate a key
|
|
23
|
+
# **Activate a Key**<br>Activates a deactivated public key, making it available for signature verification.<br><br> Returns **404** if the agent or key is not found, **403** if the agent is deactivated.
|
|
24
|
+
#
|
|
25
|
+
# @param agent_id Unique agent identifier
|
|
26
|
+
# @param key_id Unique key identifier
|
|
27
|
+
# @param [Hash] opts the optional parameters
|
|
28
|
+
# @return [AddAgentKeyResponse201]
|
|
29
|
+
#
|
|
30
|
+
def activate_agent_key(agent_id, key_id, opts = {})
|
|
31
|
+
data, status_code, headers = activate_agent_key_with_http_info(agent_id, key_id, opts)
|
|
32
|
+
return data, status_code, headers
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# Activate a key
|
|
36
|
+
# **Activate a Key**<br>Activates a deactivated public key, making it available for signature verification.<br><br> Returns **404** if the agent or key is not found, **403** if the agent is deactivated.
|
|
37
|
+
# @param agent_id Unique agent identifier
|
|
38
|
+
# @param key_id Unique key identifier
|
|
39
|
+
# @param [Hash] opts the optional parameters
|
|
40
|
+
# @return [Array<(AddAgentKeyResponse201, Fixnum, Hash)>] AddAgentKeyResponse201 data, response status code and response headers
|
|
41
|
+
def activate_agent_key_with_http_info(agent_id, key_id, opts = {})
|
|
42
|
+
|
|
43
|
+
if @api_client.config.debugging
|
|
44
|
+
begin
|
|
45
|
+
raise
|
|
46
|
+
@api_client.config.logger.debug 'Calling API: AgentRegistrationApi.activate_agent_key ...'
|
|
47
|
+
rescue
|
|
48
|
+
puts 'Cannot write to log'
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
# verify the required parameter 'agent_id' is set
|
|
52
|
+
if @api_client.config.client_side_validation && agent_id.nil?
|
|
53
|
+
fail ArgumentError, "Missing the required parameter 'agent_id' when calling AgentRegistrationApi.activate_agent_key"
|
|
54
|
+
end
|
|
55
|
+
# verify the required parameter 'key_id' is set
|
|
56
|
+
if @api_client.config.client_side_validation && key_id.nil?
|
|
57
|
+
fail ArgumentError, "Missing the required parameter 'key_id' when calling AgentRegistrationApi.activate_agent_key"
|
|
58
|
+
end
|
|
59
|
+
# resource path
|
|
60
|
+
local_var_path = 'icc/v1/agents/{agentId}/keys/{keyId}/activate'.sub('{' + 'agentId' + '}', agent_id.to_s).sub('{' + 'keyId' + '}', key_id.to_s)
|
|
61
|
+
|
|
62
|
+
# query parameters
|
|
63
|
+
query_params = {}
|
|
64
|
+
|
|
65
|
+
# header parameters
|
|
66
|
+
header_params = {}
|
|
67
|
+
# HTTP header 'Accept' (if needed)
|
|
68
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/hal+json;charset=utf-8'])
|
|
69
|
+
local_header_content_type = nil
|
|
70
|
+
# HTTP header 'Content-Type'
|
|
71
|
+
local_header_content_type = @api_client.select_header_content_type(['application/json;charset=utf-8'])
|
|
72
|
+
header_params['Content-Type'] = local_header_content_type if local_header_content_type
|
|
73
|
+
|
|
74
|
+
# form parameters
|
|
75
|
+
form_params = {}
|
|
76
|
+
|
|
77
|
+
# http body (model)
|
|
78
|
+
if 'POST' == 'POST'
|
|
79
|
+
post_body = '{}'
|
|
80
|
+
else
|
|
81
|
+
post_body = nil
|
|
82
|
+
end
|
|
83
|
+
inbound_mle_status = "mandatory"
|
|
84
|
+
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["activate_agent_key","activate_agent_key_with_http_info"])
|
|
85
|
+
begin
|
|
86
|
+
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body, local_header_content_type)
|
|
87
|
+
rescue
|
|
88
|
+
raise
|
|
89
|
+
end
|
|
90
|
+
end
|
|
91
|
+
|
|
92
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["activate_agent_key","activate_agent_key_with_http_info"])
|
|
93
|
+
|
|
94
|
+
auth_names = []
|
|
95
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
96
|
+
:header_params => header_params,
|
|
97
|
+
:query_params => query_params,
|
|
98
|
+
:form_params => form_params,
|
|
99
|
+
:body => post_body,
|
|
100
|
+
:auth_names => auth_names,
|
|
101
|
+
:return_type => 'AddAgentKeyResponse201',
|
|
102
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
103
|
+
if @api_client.config.debugging
|
|
104
|
+
begin
|
|
105
|
+
raise
|
|
106
|
+
@api_client.config.logger.debug "API called: AgentRegistrationApi#activate_agent_key\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
107
|
+
rescue
|
|
108
|
+
puts 'Cannot write to log'
|
|
109
|
+
end
|
|
110
|
+
end
|
|
111
|
+
return data, status_code, headers
|
|
112
|
+
end
|
|
113
|
+
# Add a key to an agent
|
|
114
|
+
# **Add a Key to an Agent**<br>Uploads a new public key for the specified agent. The key is created in ***deactivated*** state and must be explicitly activated via `POST /agents/{agentId}/keys/{keyId}/activate` before it can be used.<br><br> Returns **404** if the agent is not found, **403** if the agent is deactivated.
|
|
115
|
+
#
|
|
116
|
+
# @param agent_id Unique agent identifier
|
|
117
|
+
# @param add_agent_key_request Key creation request
|
|
118
|
+
# @param [Hash] opts the optional parameters
|
|
119
|
+
# @return [AddAgentKeyResponse201]
|
|
120
|
+
#
|
|
121
|
+
def add_agent_key(agent_id, add_agent_key_request, opts = {})
|
|
122
|
+
data, status_code, headers = add_agent_key_with_http_info(agent_id, add_agent_key_request, opts)
|
|
123
|
+
return data, status_code, headers
|
|
124
|
+
end
|
|
125
|
+
|
|
126
|
+
# Add a key to an agent
|
|
127
|
+
# **Add a Key to an Agent**<br>Uploads a new public key for the specified agent. The key is created in ***deactivated*** state and must be explicitly activated via `POST /agents/{agentId}/keys/{keyId}/activate` before it can be used.<br><br> Returns **404** if the agent is not found, **403** if the agent is deactivated.
|
|
128
|
+
# @param agent_id Unique agent identifier
|
|
129
|
+
# @param add_agent_key_request Key creation request
|
|
130
|
+
# @param [Hash] opts the optional parameters
|
|
131
|
+
# @return [Array<(AddAgentKeyResponse201, Fixnum, Hash)>] AddAgentKeyResponse201 data, response status code and response headers
|
|
132
|
+
def add_agent_key_with_http_info(agent_id, add_agent_key_request, opts = {})
|
|
133
|
+
|
|
134
|
+
if @api_client.config.debugging
|
|
135
|
+
begin
|
|
136
|
+
raise
|
|
137
|
+
@api_client.config.logger.debug 'Calling API: AgentRegistrationApi.add_agent_key ...'
|
|
138
|
+
rescue
|
|
139
|
+
puts 'Cannot write to log'
|
|
140
|
+
end
|
|
141
|
+
end
|
|
142
|
+
# verify the required parameter 'agent_id' is set
|
|
143
|
+
if @api_client.config.client_side_validation && agent_id.nil?
|
|
144
|
+
fail ArgumentError, "Missing the required parameter 'agent_id' when calling AgentRegistrationApi.add_agent_key"
|
|
145
|
+
end
|
|
146
|
+
# verify the required parameter 'add_agent_key_request' is set
|
|
147
|
+
if @api_client.config.client_side_validation && add_agent_key_request.nil?
|
|
148
|
+
fail ArgumentError, "Missing the required parameter 'add_agent_key_request' when calling AgentRegistrationApi.add_agent_key"
|
|
149
|
+
end
|
|
150
|
+
# resource path
|
|
151
|
+
local_var_path = 'icc/v1/agents/{agentId}/keys'.sub('{' + 'agentId' + '}', agent_id.to_s)
|
|
152
|
+
|
|
153
|
+
# query parameters
|
|
154
|
+
query_params = {}
|
|
155
|
+
|
|
156
|
+
# header parameters
|
|
157
|
+
header_params = {}
|
|
158
|
+
# HTTP header 'Accept' (if needed)
|
|
159
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/hal+json;charset=utf-8'])
|
|
160
|
+
local_header_content_type = nil
|
|
161
|
+
# HTTP header 'Content-Type'
|
|
162
|
+
local_header_content_type = @api_client.select_header_content_type(['application/json;charset=utf-8'])
|
|
163
|
+
header_params['Content-Type'] = local_header_content_type if local_header_content_type
|
|
164
|
+
|
|
165
|
+
# form parameters
|
|
166
|
+
form_params = {}
|
|
167
|
+
|
|
168
|
+
# http body (model)
|
|
169
|
+
post_body = @api_client.object_to_http_body(add_agent_key_request)
|
|
170
|
+
sdk_tracker = SdkTracker.new
|
|
171
|
+
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'AddAgentKeyRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
172
|
+
inbound_mle_status = "mandatory"
|
|
173
|
+
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["add_agent_key","add_agent_key_with_http_info"])
|
|
174
|
+
begin
|
|
175
|
+
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body, local_header_content_type)
|
|
176
|
+
rescue
|
|
177
|
+
raise
|
|
178
|
+
end
|
|
179
|
+
end
|
|
180
|
+
|
|
181
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["add_agent_key","add_agent_key_with_http_info"])
|
|
182
|
+
|
|
183
|
+
auth_names = []
|
|
184
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
185
|
+
:header_params => header_params,
|
|
186
|
+
:query_params => query_params,
|
|
187
|
+
:form_params => form_params,
|
|
188
|
+
:body => post_body,
|
|
189
|
+
:auth_names => auth_names,
|
|
190
|
+
:return_type => 'AddAgentKeyResponse201',
|
|
191
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
192
|
+
if @api_client.config.debugging
|
|
193
|
+
begin
|
|
194
|
+
raise
|
|
195
|
+
@api_client.config.logger.debug "API called: AgentRegistrationApi#add_agent_key\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
196
|
+
rescue
|
|
197
|
+
puts 'Cannot write to log'
|
|
198
|
+
end
|
|
199
|
+
end
|
|
200
|
+
return data, status_code, headers
|
|
201
|
+
end
|
|
202
|
+
# Get an agent
|
|
203
|
+
# **Get an Agent**<br>Retrieves a single agent by its unique identifier, including all associated public keys.<br><br> Returns **404** if the agent is not found.
|
|
204
|
+
#
|
|
205
|
+
# @param agent_id Unique agent identifier
|
|
206
|
+
# @param [Hash] opts the optional parameters
|
|
207
|
+
# @return [AgentRegistrationResponse201]
|
|
208
|
+
#
|
|
209
|
+
def get_agent(agent_id, opts = {})
|
|
210
|
+
data, status_code, headers = get_agent_with_http_info(agent_id, opts)
|
|
211
|
+
return data, status_code, headers
|
|
212
|
+
end
|
|
213
|
+
|
|
214
|
+
# Get an agent
|
|
215
|
+
# **Get an Agent**<br>Retrieves a single agent by its unique identifier, including all associated public keys.<br><br> Returns **404** if the agent is not found.
|
|
216
|
+
# @param agent_id Unique agent identifier
|
|
217
|
+
# @param [Hash] opts the optional parameters
|
|
218
|
+
# @return [Array<(AgentRegistrationResponse201, Fixnum, Hash)>] AgentRegistrationResponse201 data, response status code and response headers
|
|
219
|
+
def get_agent_with_http_info(agent_id, opts = {})
|
|
220
|
+
|
|
221
|
+
if @api_client.config.debugging
|
|
222
|
+
begin
|
|
223
|
+
raise
|
|
224
|
+
@api_client.config.logger.debug 'Calling API: AgentRegistrationApi.get_agent ...'
|
|
225
|
+
rescue
|
|
226
|
+
puts 'Cannot write to log'
|
|
227
|
+
end
|
|
228
|
+
end
|
|
229
|
+
# verify the required parameter 'agent_id' is set
|
|
230
|
+
if @api_client.config.client_side_validation && agent_id.nil?
|
|
231
|
+
fail ArgumentError, "Missing the required parameter 'agent_id' when calling AgentRegistrationApi.get_agent"
|
|
232
|
+
end
|
|
233
|
+
# resource path
|
|
234
|
+
local_var_path = 'icc/v1/agents/{agentId}'.sub('{' + 'agentId' + '}', agent_id.to_s)
|
|
235
|
+
|
|
236
|
+
# query parameters
|
|
237
|
+
query_params = {}
|
|
238
|
+
|
|
239
|
+
# header parameters
|
|
240
|
+
header_params = {}
|
|
241
|
+
# HTTP header 'Accept' (if needed)
|
|
242
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/hal+json;charset=utf-8'])
|
|
243
|
+
local_header_content_type = nil
|
|
244
|
+
# HTTP header 'Content-Type'
|
|
245
|
+
local_header_content_type = @api_client.select_header_content_type(['application/json;charset=utf-8'])
|
|
246
|
+
header_params['Content-Type'] = local_header_content_type if local_header_content_type
|
|
247
|
+
|
|
248
|
+
# form parameters
|
|
249
|
+
form_params = {}
|
|
250
|
+
|
|
251
|
+
# http body (model)
|
|
252
|
+
if 'GET' == 'POST'
|
|
253
|
+
post_body = '{}'
|
|
254
|
+
else
|
|
255
|
+
post_body = nil
|
|
256
|
+
end
|
|
257
|
+
inbound_mle_status = "false"
|
|
258
|
+
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["get_agent","get_agent_with_http_info"])
|
|
259
|
+
begin
|
|
260
|
+
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body, local_header_content_type)
|
|
261
|
+
rescue
|
|
262
|
+
raise
|
|
263
|
+
end
|
|
264
|
+
end
|
|
265
|
+
|
|
266
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["get_agent","get_agent_with_http_info"])
|
|
267
|
+
|
|
268
|
+
auth_names = []
|
|
269
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
270
|
+
:header_params => header_params,
|
|
271
|
+
:query_params => query_params,
|
|
272
|
+
:form_params => form_params,
|
|
273
|
+
:body => post_body,
|
|
274
|
+
:auth_names => auth_names,
|
|
275
|
+
:return_type => 'AgentRegistrationResponse201',
|
|
276
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
277
|
+
if @api_client.config.debugging
|
|
278
|
+
begin
|
|
279
|
+
raise
|
|
280
|
+
@api_client.config.logger.debug "API called: AgentRegistrationApi#get_agent\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
281
|
+
rescue
|
|
282
|
+
puts 'Cannot write to log'
|
|
283
|
+
end
|
|
284
|
+
end
|
|
285
|
+
return data, status_code, headers
|
|
286
|
+
end
|
|
287
|
+
# Get a key by agent and key ID
|
|
288
|
+
# **Get a Key**<br>Retrieves a specific public key by agent ID and key ID.<br><br> Returns **404** if the agent or key is not found.
|
|
289
|
+
#
|
|
290
|
+
# @param agent_id Unique agent identifier
|
|
291
|
+
# @param key_id Unique key identifier
|
|
292
|
+
# @param [Hash] opts the optional parameters
|
|
293
|
+
# @return [AddAgentKeyResponse201]
|
|
294
|
+
#
|
|
295
|
+
def get_agent_key(agent_id, key_id, opts = {})
|
|
296
|
+
data, status_code, headers = get_agent_key_with_http_info(agent_id, key_id, opts)
|
|
297
|
+
return data, status_code, headers
|
|
298
|
+
end
|
|
299
|
+
|
|
300
|
+
# Get a key by agent and key ID
|
|
301
|
+
# **Get a Key**<br>Retrieves a specific public key by agent ID and key ID.<br><br> Returns **404** if the agent or key is not found.
|
|
302
|
+
# @param agent_id Unique agent identifier
|
|
303
|
+
# @param key_id Unique key identifier
|
|
304
|
+
# @param [Hash] opts the optional parameters
|
|
305
|
+
# @return [Array<(AddAgentKeyResponse201, Fixnum, Hash)>] AddAgentKeyResponse201 data, response status code and response headers
|
|
306
|
+
def get_agent_key_with_http_info(agent_id, key_id, opts = {})
|
|
307
|
+
|
|
308
|
+
if @api_client.config.debugging
|
|
309
|
+
begin
|
|
310
|
+
raise
|
|
311
|
+
@api_client.config.logger.debug 'Calling API: AgentRegistrationApi.get_agent_key ...'
|
|
312
|
+
rescue
|
|
313
|
+
puts 'Cannot write to log'
|
|
314
|
+
end
|
|
315
|
+
end
|
|
316
|
+
# verify the required parameter 'agent_id' is set
|
|
317
|
+
if @api_client.config.client_side_validation && agent_id.nil?
|
|
318
|
+
fail ArgumentError, "Missing the required parameter 'agent_id' when calling AgentRegistrationApi.get_agent_key"
|
|
319
|
+
end
|
|
320
|
+
# verify the required parameter 'key_id' is set
|
|
321
|
+
if @api_client.config.client_side_validation && key_id.nil?
|
|
322
|
+
fail ArgumentError, "Missing the required parameter 'key_id' when calling AgentRegistrationApi.get_agent_key"
|
|
323
|
+
end
|
|
324
|
+
# resource path
|
|
325
|
+
local_var_path = 'icc/v1/agents/{agentId}/keys/{keyId}'.sub('{' + 'agentId' + '}', agent_id.to_s).sub('{' + 'keyId' + '}', key_id.to_s)
|
|
326
|
+
|
|
327
|
+
# query parameters
|
|
328
|
+
query_params = {}
|
|
329
|
+
|
|
330
|
+
# header parameters
|
|
331
|
+
header_params = {}
|
|
332
|
+
# HTTP header 'Accept' (if needed)
|
|
333
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/hal+json;charset=utf-8'])
|
|
334
|
+
local_header_content_type = nil
|
|
335
|
+
# HTTP header 'Content-Type'
|
|
336
|
+
local_header_content_type = @api_client.select_header_content_type(['application/json;charset=utf-8'])
|
|
337
|
+
header_params['Content-Type'] = local_header_content_type if local_header_content_type
|
|
338
|
+
|
|
339
|
+
# form parameters
|
|
340
|
+
form_params = {}
|
|
341
|
+
|
|
342
|
+
# http body (model)
|
|
343
|
+
if 'GET' == 'POST'
|
|
344
|
+
post_body = '{}'
|
|
345
|
+
else
|
|
346
|
+
post_body = nil
|
|
347
|
+
end
|
|
348
|
+
inbound_mle_status = "false"
|
|
349
|
+
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["get_agent_key","get_agent_key_with_http_info"])
|
|
350
|
+
begin
|
|
351
|
+
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body, local_header_content_type)
|
|
352
|
+
rescue
|
|
353
|
+
raise
|
|
354
|
+
end
|
|
355
|
+
end
|
|
356
|
+
|
|
357
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["get_agent_key","get_agent_key_with_http_info"])
|
|
358
|
+
|
|
359
|
+
auth_names = []
|
|
360
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
361
|
+
:header_params => header_params,
|
|
362
|
+
:query_params => query_params,
|
|
363
|
+
:form_params => form_params,
|
|
364
|
+
:body => post_body,
|
|
365
|
+
:auth_names => auth_names,
|
|
366
|
+
:return_type => 'AddAgentKeyResponse201',
|
|
367
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
368
|
+
if @api_client.config.debugging
|
|
369
|
+
begin
|
|
370
|
+
raise
|
|
371
|
+
@api_client.config.logger.debug "API called: AgentRegistrationApi#get_agent_key\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
372
|
+
rescue
|
|
373
|
+
puts 'Cannot write to log'
|
|
374
|
+
end
|
|
375
|
+
end
|
|
376
|
+
return data, status_code, headers
|
|
377
|
+
end
|
|
378
|
+
# List keys for an agent
|
|
379
|
+
# **List Keys for an Agent**<br>Returns a paginated list of all public keys associated with the specified agent.<br><br> Returns **404** if the agent is not found.
|
|
380
|
+
#
|
|
381
|
+
# @param agent_id Unique agent identifier
|
|
382
|
+
# @param [Hash] opts the optional parameters
|
|
383
|
+
# @option opts [Integer] :page Page number (1-indexed) (default to 1)
|
|
384
|
+
# @option opts [Integer] :page_size Items per page (max 100) (default to 30)
|
|
385
|
+
# @return [ListAgentKeysResponse200]
|
|
386
|
+
#
|
|
387
|
+
def list_agent_keys(agent_id, opts = {})
|
|
388
|
+
data, status_code, headers = list_agent_keys_with_http_info(agent_id, opts)
|
|
389
|
+
return data, status_code, headers
|
|
390
|
+
end
|
|
391
|
+
|
|
392
|
+
# List keys for an agent
|
|
393
|
+
# **List Keys for an Agent**<br>Returns a paginated list of all public keys associated with the specified agent.<br><br> Returns **404** if the agent is not found.
|
|
394
|
+
# @param agent_id Unique agent identifier
|
|
395
|
+
# @param [Hash] opts the optional parameters
|
|
396
|
+
# @option opts [Integer] :page Page number (1-indexed)
|
|
397
|
+
# @option opts [Integer] :page_size Items per page (max 100)
|
|
398
|
+
# @return [Array<(ListAgentKeysResponse200, Fixnum, Hash)>] ListAgentKeysResponse200 data, response status code and response headers
|
|
399
|
+
def list_agent_keys_with_http_info(agent_id, opts = {})
|
|
400
|
+
|
|
401
|
+
if @api_client.config.debugging
|
|
402
|
+
begin
|
|
403
|
+
raise
|
|
404
|
+
@api_client.config.logger.debug 'Calling API: AgentRegistrationApi.list_agent_keys ...'
|
|
405
|
+
rescue
|
|
406
|
+
puts 'Cannot write to log'
|
|
407
|
+
end
|
|
408
|
+
end
|
|
409
|
+
# verify the required parameter 'agent_id' is set
|
|
410
|
+
if @api_client.config.client_side_validation && agent_id.nil?
|
|
411
|
+
fail ArgumentError, "Missing the required parameter 'agent_id' when calling AgentRegistrationApi.list_agent_keys"
|
|
412
|
+
end
|
|
413
|
+
# resource path
|
|
414
|
+
local_var_path = 'icc/v1/agents/{agentId}/keys'.sub('{' + 'agentId' + '}', agent_id.to_s)
|
|
415
|
+
|
|
416
|
+
# query parameters
|
|
417
|
+
query_params = {}
|
|
418
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
419
|
+
query_params[:'pageSize'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
|
420
|
+
|
|
421
|
+
# header parameters
|
|
422
|
+
header_params = {}
|
|
423
|
+
# HTTP header 'Accept' (if needed)
|
|
424
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/hal+json;charset=utf-8'])
|
|
425
|
+
local_header_content_type = nil
|
|
426
|
+
# HTTP header 'Content-Type'
|
|
427
|
+
local_header_content_type = @api_client.select_header_content_type(['application/json;charset=utf-8'])
|
|
428
|
+
header_params['Content-Type'] = local_header_content_type if local_header_content_type
|
|
429
|
+
|
|
430
|
+
# form parameters
|
|
431
|
+
form_params = {}
|
|
432
|
+
|
|
433
|
+
# http body (model)
|
|
434
|
+
if 'GET' == 'POST'
|
|
435
|
+
post_body = '{}'
|
|
436
|
+
else
|
|
437
|
+
post_body = nil
|
|
438
|
+
end
|
|
439
|
+
inbound_mle_status = "false"
|
|
440
|
+
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["list_agent_keys","list_agent_keys_with_http_info"])
|
|
441
|
+
begin
|
|
442
|
+
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body, local_header_content_type)
|
|
443
|
+
rescue
|
|
444
|
+
raise
|
|
445
|
+
end
|
|
446
|
+
end
|
|
447
|
+
|
|
448
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["list_agent_keys","list_agent_keys_with_http_info"])
|
|
449
|
+
|
|
450
|
+
auth_names = []
|
|
451
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
452
|
+
:header_params => header_params,
|
|
453
|
+
:query_params => query_params,
|
|
454
|
+
:form_params => form_params,
|
|
455
|
+
:body => post_body,
|
|
456
|
+
:auth_names => auth_names,
|
|
457
|
+
:return_type => 'ListAgentKeysResponse200',
|
|
458
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
459
|
+
if @api_client.config.debugging
|
|
460
|
+
begin
|
|
461
|
+
raise
|
|
462
|
+
@api_client.config.logger.debug "API called: AgentRegistrationApi#list_agent_keys\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
463
|
+
rescue
|
|
464
|
+
puts 'Cannot write to log'
|
|
465
|
+
end
|
|
466
|
+
end
|
|
467
|
+
return data, status_code, headers
|
|
468
|
+
end
|
|
469
|
+
# Register an agent
|
|
470
|
+
# **Register an Agent**<br>Registers a new AI agent in the Visa Agent Registry Service (VARS). Once registered, the agent can upload public keys that merchants and Visa services use to verify request signatures.<br><br> **Key Behavior**<br>If an optional `keys` array is included in the request, those keys are created alongside the agent registration in a single operation.<br> Returns **409 Conflict** if an agent with the same domain already exists.
|
|
471
|
+
#
|
|
472
|
+
# @param agent_request Agent registration request
|
|
473
|
+
# @param [Hash] opts the optional parameters
|
|
474
|
+
# @return [AgentRegistrationResponse201]
|
|
475
|
+
#
|
|
476
|
+
def register_agent(agent_request, opts = {})
|
|
477
|
+
data, status_code, headers = register_agent_with_http_info(agent_request, opts)
|
|
478
|
+
return data, status_code, headers
|
|
479
|
+
end
|
|
480
|
+
|
|
481
|
+
# Register an agent
|
|
482
|
+
# **Register an Agent**<br>Registers a new AI agent in the Visa Agent Registry Service (VARS). Once registered, the agent can upload public keys that merchants and Visa services use to verify request signatures.<br><br> **Key Behavior**<br>If an optional `keys` array is included in the request, those keys are created alongside the agent registration in a single operation.<br> Returns **409 Conflict** if an agent with the same domain already exists.
|
|
483
|
+
# @param agent_request Agent registration request
|
|
484
|
+
# @param [Hash] opts the optional parameters
|
|
485
|
+
# @return [Array<(AgentRegistrationResponse201, Fixnum, Hash)>] AgentRegistrationResponse201 data, response status code and response headers
|
|
486
|
+
def register_agent_with_http_info(agent_request, opts = {})
|
|
487
|
+
|
|
488
|
+
if @api_client.config.debugging
|
|
489
|
+
begin
|
|
490
|
+
raise
|
|
491
|
+
@api_client.config.logger.debug 'Calling API: AgentRegistrationApi.register_agent ...'
|
|
492
|
+
rescue
|
|
493
|
+
puts 'Cannot write to log'
|
|
494
|
+
end
|
|
495
|
+
end
|
|
496
|
+
# verify the required parameter 'agent_request' is set
|
|
497
|
+
if @api_client.config.client_side_validation && agent_request.nil?
|
|
498
|
+
fail ArgumentError, "Missing the required parameter 'agent_request' when calling AgentRegistrationApi.register_agent"
|
|
499
|
+
end
|
|
500
|
+
# resource path
|
|
501
|
+
local_var_path = 'icc/v1/agents'
|
|
502
|
+
|
|
503
|
+
# query parameters
|
|
504
|
+
query_params = {}
|
|
505
|
+
|
|
506
|
+
# header parameters
|
|
507
|
+
header_params = {}
|
|
508
|
+
# HTTP header 'Accept' (if needed)
|
|
509
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/hal+json;charset=utf-8'])
|
|
510
|
+
local_header_content_type = nil
|
|
511
|
+
# HTTP header 'Content-Type'
|
|
512
|
+
local_header_content_type = @api_client.select_header_content_type(['application/json;charset=utf-8'])
|
|
513
|
+
header_params['Content-Type'] = local_header_content_type if local_header_content_type
|
|
514
|
+
|
|
515
|
+
# form parameters
|
|
516
|
+
form_params = {}
|
|
517
|
+
|
|
518
|
+
# http body (model)
|
|
519
|
+
post_body = @api_client.object_to_http_body(agent_request)
|
|
520
|
+
sdk_tracker = SdkTracker.new
|
|
521
|
+
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'AgentRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
522
|
+
inbound_mle_status = "mandatory"
|
|
523
|
+
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["register_agent","register_agent_with_http_info"])
|
|
524
|
+
begin
|
|
525
|
+
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body, local_header_content_type)
|
|
526
|
+
rescue
|
|
527
|
+
raise
|
|
528
|
+
end
|
|
529
|
+
end
|
|
530
|
+
|
|
531
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["register_agent","register_agent_with_http_info"])
|
|
532
|
+
|
|
533
|
+
auth_names = []
|
|
534
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
535
|
+
:header_params => header_params,
|
|
536
|
+
:query_params => query_params,
|
|
537
|
+
:form_params => form_params,
|
|
538
|
+
:body => post_body,
|
|
539
|
+
:auth_names => auth_names,
|
|
540
|
+
:return_type => 'AgentRegistrationResponse201',
|
|
541
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
542
|
+
if @api_client.config.debugging
|
|
543
|
+
begin
|
|
544
|
+
raise
|
|
545
|
+
@api_client.config.logger.debug "API called: AgentRegistrationApi#register_agent\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
546
|
+
rescue
|
|
547
|
+
puts 'Cannot write to log'
|
|
548
|
+
end
|
|
549
|
+
end
|
|
550
|
+
return data, status_code, headers
|
|
551
|
+
end
|
|
552
|
+
# Update an agent
|
|
553
|
+
# **Update an Agent**<br>Updates agent information. Only the following fields can be modified: `name`, `domain`, `description`, `contactEmail`, and `agentMetadata`.<br><br> Submitting any other field (e.g., `tokenRequestorId`, `keys`) returns **422 Validation Error**.<br> Returns **404** if the agent is not found, **403** if the agent is deactivated, **409** if the new domain is already registered.
|
|
554
|
+
#
|
|
555
|
+
# @param agent_id Unique agent identifier
|
|
556
|
+
# @param agent_update Agent update request
|
|
557
|
+
# @param [Hash] opts the optional parameters
|
|
558
|
+
# @return [AgentRegistrationResponse201]
|
|
559
|
+
#
|
|
560
|
+
def update_agent(agent_id, agent_update, opts = {})
|
|
561
|
+
data, status_code, headers = update_agent_with_http_info(agent_id, agent_update, opts)
|
|
562
|
+
return data, status_code, headers
|
|
563
|
+
end
|
|
564
|
+
|
|
565
|
+
# Update an agent
|
|
566
|
+
# **Update an Agent**<br>Updates agent information. Only the following fields can be modified: `name`, `domain`, `description`, `contactEmail`, and `agentMetadata`.<br><br> Submitting any other field (e.g., `tokenRequestorId`, `keys`) returns **422 Validation Error**.<br> Returns **404** if the agent is not found, **403** if the agent is deactivated, **409** if the new domain is already registered.
|
|
567
|
+
# @param agent_id Unique agent identifier
|
|
568
|
+
# @param agent_update Agent update request
|
|
569
|
+
# @param [Hash] opts the optional parameters
|
|
570
|
+
# @return [Array<(AgentRegistrationResponse201, Fixnum, Hash)>] AgentRegistrationResponse201 data, response status code and response headers
|
|
571
|
+
def update_agent_with_http_info(agent_id, agent_update, opts = {})
|
|
572
|
+
|
|
573
|
+
if @api_client.config.debugging
|
|
574
|
+
begin
|
|
575
|
+
raise
|
|
576
|
+
@api_client.config.logger.debug 'Calling API: AgentRegistrationApi.update_agent ...'
|
|
577
|
+
rescue
|
|
578
|
+
puts 'Cannot write to log'
|
|
579
|
+
end
|
|
580
|
+
end
|
|
581
|
+
# verify the required parameter 'agent_id' is set
|
|
582
|
+
if @api_client.config.client_side_validation && agent_id.nil?
|
|
583
|
+
fail ArgumentError, "Missing the required parameter 'agent_id' when calling AgentRegistrationApi.update_agent"
|
|
584
|
+
end
|
|
585
|
+
# verify the required parameter 'agent_update' is set
|
|
586
|
+
if @api_client.config.client_side_validation && agent_update.nil?
|
|
587
|
+
fail ArgumentError, "Missing the required parameter 'agent_update' when calling AgentRegistrationApi.update_agent"
|
|
588
|
+
end
|
|
589
|
+
# resource path
|
|
590
|
+
local_var_path = 'icc/v1/agents/{agentId}'.sub('{' + 'agentId' + '}', agent_id.to_s)
|
|
591
|
+
|
|
592
|
+
# query parameters
|
|
593
|
+
query_params = {}
|
|
594
|
+
|
|
595
|
+
# header parameters
|
|
596
|
+
header_params = {}
|
|
597
|
+
# HTTP header 'Accept' (if needed)
|
|
598
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/hal+json;charset=utf-8'])
|
|
599
|
+
local_header_content_type = nil
|
|
600
|
+
# HTTP header 'Content-Type'
|
|
601
|
+
local_header_content_type = @api_client.select_header_content_type(['application/json;charset=utf-8'])
|
|
602
|
+
header_params['Content-Type'] = local_header_content_type if local_header_content_type
|
|
603
|
+
|
|
604
|
+
# form parameters
|
|
605
|
+
form_params = {}
|
|
606
|
+
|
|
607
|
+
# http body (model)
|
|
608
|
+
post_body = @api_client.object_to_http_body(agent_update)
|
|
609
|
+
sdk_tracker = SdkTracker.new
|
|
610
|
+
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'AgentUpdate', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
611
|
+
inbound_mle_status = "mandatory"
|
|
612
|
+
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["update_agent","update_agent_with_http_info"])
|
|
613
|
+
begin
|
|
614
|
+
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body, local_header_content_type)
|
|
615
|
+
rescue
|
|
616
|
+
raise
|
|
617
|
+
end
|
|
618
|
+
end
|
|
619
|
+
|
|
620
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["update_agent","update_agent_with_http_info"])
|
|
621
|
+
|
|
622
|
+
auth_names = []
|
|
623
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
624
|
+
:header_params => header_params,
|
|
625
|
+
:query_params => query_params,
|
|
626
|
+
:form_params => form_params,
|
|
627
|
+
:body => post_body,
|
|
628
|
+
:auth_names => auth_names,
|
|
629
|
+
:return_type => 'AgentRegistrationResponse201',
|
|
630
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
631
|
+
if @api_client.config.debugging
|
|
632
|
+
begin
|
|
633
|
+
raise
|
|
634
|
+
@api_client.config.logger.debug "API called: AgentRegistrationApi#update_agent\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
635
|
+
rescue
|
|
636
|
+
puts 'Cannot write to log'
|
|
637
|
+
end
|
|
638
|
+
end
|
|
639
|
+
return data, status_code, headers
|
|
640
|
+
end
|
|
641
|
+
# Update a key
|
|
642
|
+
# **Update a Key**<br>Updates key information. The following fields can be modified: `keyName`, `publicKey`, `algorithm`, and `expirationDate`.<br><br> **Note:** `publicKey` and `algorithm` must always be updated together.<br> Returns **404** if the agent or key is not found, **403** if the agent or key is deactivated, **409** if the new `keyName` already exists.
|
|
643
|
+
#
|
|
644
|
+
# @param agent_id Unique agent identifier
|
|
645
|
+
# @param key_id Unique key identifier
|
|
646
|
+
# @param update_agent_key_request Key update request
|
|
647
|
+
# @param [Hash] opts the optional parameters
|
|
648
|
+
# @return [AddAgentKeyResponse201]
|
|
649
|
+
#
|
|
650
|
+
def update_agent_key(agent_id, key_id, update_agent_key_request, opts = {})
|
|
651
|
+
data, status_code, headers = update_agent_key_with_http_info(agent_id, key_id, update_agent_key_request, opts)
|
|
652
|
+
return data, status_code, headers
|
|
653
|
+
end
|
|
654
|
+
|
|
655
|
+
# Update a key
|
|
656
|
+
# **Update a Key**<br>Updates key information. The following fields can be modified: `keyName`, `publicKey`, `algorithm`, and `expirationDate`.<br><br> **Note:** `publicKey` and `algorithm` must always be updated together.<br> Returns **404** if the agent or key is not found, **403** if the agent or key is deactivated, **409** if the new `keyName` already exists.
|
|
657
|
+
# @param agent_id Unique agent identifier
|
|
658
|
+
# @param key_id Unique key identifier
|
|
659
|
+
# @param update_agent_key_request Key update request
|
|
660
|
+
# @param [Hash] opts the optional parameters
|
|
661
|
+
# @return [Array<(AddAgentKeyResponse201, Fixnum, Hash)>] AddAgentKeyResponse201 data, response status code and response headers
|
|
662
|
+
def update_agent_key_with_http_info(agent_id, key_id, update_agent_key_request, opts = {})
|
|
663
|
+
|
|
664
|
+
if @api_client.config.debugging
|
|
665
|
+
begin
|
|
666
|
+
raise
|
|
667
|
+
@api_client.config.logger.debug 'Calling API: AgentRegistrationApi.update_agent_key ...'
|
|
668
|
+
rescue
|
|
669
|
+
puts 'Cannot write to log'
|
|
670
|
+
end
|
|
671
|
+
end
|
|
672
|
+
# verify the required parameter 'agent_id' is set
|
|
673
|
+
if @api_client.config.client_side_validation && agent_id.nil?
|
|
674
|
+
fail ArgumentError, "Missing the required parameter 'agent_id' when calling AgentRegistrationApi.update_agent_key"
|
|
675
|
+
end
|
|
676
|
+
# verify the required parameter 'key_id' is set
|
|
677
|
+
if @api_client.config.client_side_validation && key_id.nil?
|
|
678
|
+
fail ArgumentError, "Missing the required parameter 'key_id' when calling AgentRegistrationApi.update_agent_key"
|
|
679
|
+
end
|
|
680
|
+
# verify the required parameter 'update_agent_key_request' is set
|
|
681
|
+
if @api_client.config.client_side_validation && update_agent_key_request.nil?
|
|
682
|
+
fail ArgumentError, "Missing the required parameter 'update_agent_key_request' when calling AgentRegistrationApi.update_agent_key"
|
|
683
|
+
end
|
|
684
|
+
# resource path
|
|
685
|
+
local_var_path = 'icc/v1/agents/{agentId}/keys/{keyId}'.sub('{' + 'agentId' + '}', agent_id.to_s).sub('{' + 'keyId' + '}', key_id.to_s)
|
|
686
|
+
|
|
687
|
+
# query parameters
|
|
688
|
+
query_params = {}
|
|
689
|
+
|
|
690
|
+
# header parameters
|
|
691
|
+
header_params = {}
|
|
692
|
+
# HTTP header 'Accept' (if needed)
|
|
693
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/hal+json;charset=utf-8'])
|
|
694
|
+
local_header_content_type = nil
|
|
695
|
+
# HTTP header 'Content-Type'
|
|
696
|
+
local_header_content_type = @api_client.select_header_content_type(['application/json;charset=utf-8'])
|
|
697
|
+
header_params['Content-Type'] = local_header_content_type if local_header_content_type
|
|
698
|
+
|
|
699
|
+
# form parameters
|
|
700
|
+
form_params = {}
|
|
701
|
+
|
|
702
|
+
# http body (model)
|
|
703
|
+
post_body = @api_client.object_to_http_body(update_agent_key_request)
|
|
704
|
+
sdk_tracker = SdkTracker.new
|
|
705
|
+
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'UpdateAgentKeyRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
706
|
+
inbound_mle_status = "mandatory"
|
|
707
|
+
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["update_agent_key","update_agent_key_with_http_info"])
|
|
708
|
+
begin
|
|
709
|
+
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body, local_header_content_type)
|
|
710
|
+
rescue
|
|
711
|
+
raise
|
|
712
|
+
end
|
|
713
|
+
end
|
|
714
|
+
|
|
715
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["update_agent_key","update_agent_key_with_http_info"])
|
|
716
|
+
|
|
717
|
+
auth_names = []
|
|
718
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
719
|
+
:header_params => header_params,
|
|
720
|
+
:query_params => query_params,
|
|
721
|
+
:form_params => form_params,
|
|
722
|
+
:body => post_body,
|
|
723
|
+
:auth_names => auth_names,
|
|
724
|
+
:return_type => 'AddAgentKeyResponse201',
|
|
725
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
726
|
+
if @api_client.config.debugging
|
|
727
|
+
begin
|
|
728
|
+
raise
|
|
729
|
+
@api_client.config.logger.debug "API called: AgentRegistrationApi#update_agent_key\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
730
|
+
rescue
|
|
731
|
+
puts 'Cannot write to log'
|
|
732
|
+
end
|
|
733
|
+
end
|
|
734
|
+
return data, status_code, headers
|
|
735
|
+
end
|
|
736
|
+
end
|
|
737
|
+
end
|