data-and-reporting-sdk 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +14 -15
- data/lib/shell_data_reporting_ap_is/controllers/base_controller.rb +9 -9
- data/lib/shell_data_reporting_ap_is/controllers/customer_controller.rb +210 -210
- data/lib/shell_data_reporting_ap_is/controllers/invoice_controller.rb +221 -221
- data/lib/shell_data_reporting_ap_is/controllers/o_auth_authorization_controller.rb +9 -9
- data/lib/shell_data_reporting_ap_is/controllers/transaction_controller.rb +354 -354
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_accounts400_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_accounts401_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_accounts403_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_accounts404_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_accounts500_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_auditreport400_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_auditreport401_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_auditreport403_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_auditreport404_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_auditreport500_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_cardgroups400_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_cardgroups401_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_cardgroups403_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_cardgroups404_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_cardgroups500_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_customer400_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_customer401_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_customer403_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_customer404_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_customer500_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/{default_error_exception.rb → fleetmanagement_v1_customer_payers400_error_exception.rb} +20 -20
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_payers401_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/{error_user_access_error1_exception.rb → fleetmanagement_v1_customer_payers403_error_exception.rb} +17 -17
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_payers404_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_payers500_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_cardusagesummary400_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_cardusagesummary401_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_cardusagesummary403_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_cardusagesummary404_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_cardusagesummary500_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_exceptions400_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_exceptions401_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_exceptions403_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_exceptions404_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_exceptions500_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_fees400_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_fees401_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_fees403_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_fees404_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_fees500_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_feessummary400_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_feessummary401_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_feessummary403_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_feessummary404_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_feessummary500_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_fuelconsumption400_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_fuelconsumption401_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_fuelconsumption403_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_fuelconsumption404_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_fuelconsumption500_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_multipayerspricedtransactions400_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_multipayerspricedtransactions401_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_multipayerspricedtransactions403_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_multipayerspricedtransactions404_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_multipayerspricedtransactions500_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_pricedtransactions400_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_pricedtransactions401_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_pricedtransactions403_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_pricedtransactions404_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_pricedtransactions500_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_pricedtransactionssummary400_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_pricedtransactionssummary401_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_pricedtransactionssummary403_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_pricedtransactionssummary404_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_pricedtransactionssummary500_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_updateodometer400_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_updateodometer401_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_updateodometer403_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_updateodometer404_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_updateodometer500_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_volumebasedbonus400_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_volumebasedbonus401_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_volumebasedbonus403_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_volumebasedbonus404_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_volumebasedbonus500_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_volumebasedpricing400_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_volumebasedpricing401_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_volumebasedpricing403_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_volumebasedpricing404_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_volumebasedpricing500_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_user_loggedinuser400_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_user_loggedinuser401_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_user_loggedinuser403_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_user_loggedinuser404_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_user_loggedinuser500_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v2_customer_cardtype400_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v2_customer_cardtype401_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v2_customer_cardtype403_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v2_customer_cardtype404_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v2_customer_cardtype500_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v2_customer_pricelist400_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v2_customer_pricelist401_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v2_customer_pricelist403_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v2_customer_pricelist404_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v2_customer_pricelist500_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_dates400_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_dates401_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_dates403_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_dates404_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_dates500_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_download400_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_download401_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_download403_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_download404_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_download500_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eiddownload400_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eiddownload401_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eiddownload403_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eiddownload404_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eiddownload500_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eidsearch400_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eidsearch401_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eidsearch403_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eidsearch404_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eidsearch500_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_search400_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_search401_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_search403_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_search404_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_search500_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchdocuments400_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchdocuments401_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchdocuments403_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchdocuments404_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchdocuments500_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchstatementofaccount400_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchstatementofaccount401_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchstatementofaccount403_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchstatementofaccount404_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchstatementofaccount500_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_statementofaccount400_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_statementofaccount401_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_statementofaccount403_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_statementofaccount404_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_statementofaccount500_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_summary400_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_summary401_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_summary403_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_summary404_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_summary500_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/o_auth_provider_exception.rb +15 -15
- data/lib/shell_data_reporting_ap_is/exceptions/{error_object_exception.rb → transaction_data_v1_priced400_error_exception.rb} +17 -17
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_priced401_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_priced403_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_priced404_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_priced500_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_recent400_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_recent401_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_recent403_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_recent404_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_recent500_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/http/auth/bearer_token.rb +54 -10
- data/lib/shell_data_reporting_ap_is/models/account_access.rb +3 -8
- data/lib/shell_data_reporting_ap_is/models/account_request.rb +17 -26
- data/lib/shell_data_reporting_ap_is/models/account_response.rb +2 -6
- data/lib/shell_data_reporting_ap_is/models/account_response_accounts_items.rb +29 -53
- data/lib/shell_data_reporting_ap_is/models/accounts.rb +1 -2
- data/lib/shell_data_reporting_ap_is/models/address.rb +4 -11
- data/lib/shell_data_reporting_ap_is/models/audit_request.rb +17 -25
- data/lib/shell_data_reporting_ap_is/models/audit_response.rb +2 -6
- data/lib/shell_data_reporting_ap_is/models/audit_response_audits_items.rb +50 -63
- data/lib/shell_data_reporting_ap_is/models/bank_account.rb +5 -13
- data/lib/shell_data_reporting_ap_is/models/bonus_configuration.rb +9 -18
- data/lib/shell_data_reporting_ap_is/models/bonus_history.rb +14 -29
- data/lib/shell_data_reporting_ap_is/models/card_day_time_restrictions.rb +3 -9
- data/lib/shell_data_reporting_ap_is/models/card_exceptions.rb +8 -19
- data/lib/shell_data_reporting_ap_is/models/card_group_request.rb +6 -12
- data/lib/shell_data_reporting_ap_is/models/card_group_response.rb +2 -6
- data/lib/shell_data_reporting_ap_is/models/card_group_response_card_groups_items.rb +10 -20
- data/lib/shell_data_reporting_ap_is/models/card_type_request.rb +3 -7
- data/lib/shell_data_reporting_ap_is/models/card_type_response.rb +1 -3
- data/lib/shell_data_reporting_ap_is/models/card_type_response_customer_card_types_items.rb +15 -31
- data/lib/shell_data_reporting_ap_is/models/card_type_response_error.rb +1 -2
- data/lib/shell_data_reporting_ap_is/models/card_usage_restrictions.rb +5 -10
- data/lib/shell_data_reporting_ap_is/models/card_usage_summary_request.rb +3 -8
- data/lib/shell_data_reporting_ap_is/models/card_usage_summary_response.rb +1 -3
- data/lib/shell_data_reporting_ap_is/models/col_co_access.rb +2 -4
- data/lib/shell_data_reporting_ap_is/models/current_volume.rb +2 -5
- data/lib/shell_data_reporting_ap_is/models/customer_contract.rb +1 -2
- data/lib/shell_data_reporting_ap_is/models/customer_detail_request.rb +2 -5
- data/lib/shell_data_reporting_ap_is/models/customer_detail_response.rb +31 -45
- data/lib/shell_data_reporting_ap_is/models/customer_price_list_request.rb +5 -12
- data/lib/shell_data_reporting_ap_is/models/customer_price_list_response.rb +1 -3
- data/lib/shell_data_reporting_ap_is/models/default_error.rb +50 -0
- data/lib/shell_data_reporting_ap_is/models/default_error_fault.rb +4 -5
- data/lib/shell_data_reporting_ap_is/models/delivery_addresses.rb +7 -18
- data/lib/shell_data_reporting_ap_is/models/detail.rb +50 -0
- data/lib/shell_data_reporting_ap_is/models/eid_access.rb +1 -2
- data/lib/shell_data_reporting_ap_is/models/eid_document.rb +11 -16
- data/lib/shell_data_reporting_ap_is/models/eid_document_response.rb +3 -8
- data/lib/shell_data_reporting_ap_is/models/eid_download_req.rb +2 -4
- data/lib/shell_data_reporting_ap_is/models/eid_search_req.rb +10 -15
- data/lib/shell_data_reporting_ap_is/models/eid_search_request.rb +1 -3
- data/lib/shell_data_reporting_ap_is/models/error_details.rb +1 -3
- data/lib/shell_data_reporting_ap_is/models/error_object.rb +80 -0
- data/lib/shell_data_reporting_ap_is/models/error_status.rb +11 -2
- data/lib/shell_data_reporting_ap_is/models/error_user_access_error.rb +1 -2
- data/lib/shell_data_reporting_ap_is/models/exception_product.rb +1 -2
- data/lib/shell_data_reporting_ap_is/models/exception_site_location.rb +1 -2
- data/lib/shell_data_reporting_ap_is/models/fault.rb +59 -0
- data/lib/shell_data_reporting_ap_is/models/fee_item.rb +35 -71
- data/lib/shell_data_reporting_ap_is/models/fee_item_summary_all_of0.rb +5 -11
- data/lib/shell_data_reporting_ap_is/models/fee_rule_location.rb +4 -10
- data/lib/shell_data_reporting_ap_is/models/fee_rule_product.rb +2 -5
- data/lib/shell_data_reporting_ap_is/models/fee_rule_tier.rb +1 -3
- data/lib/shell_data_reporting_ap_is/models/fee_summary_response.rb +1 -3
- data/lib/shell_data_reporting_ap_is/models/fees_fee_rule_tiers.rb +3 -7
- data/lib/shell_data_reporting_ap_is/models/filters.rb +454 -0
- data/lib/shell_data_reporting_ap_is/models/finance_currency.rb +1 -2
- data/lib/shell_data_reporting_ap_is/models/finance_currency2.rb +96 -0
- data/lib/shell_data_reporting_ap_is/models/fleetmanagement_v1_user_loggedinuser_request.rb +104 -0
- data/lib/shell_data_reporting_ap_is/models/fuel_consumption_card.rb +1 -3
- data/lib/shell_data_reporting_ap_is/models/fuel_consumption_data.rb +9 -20
- data/lib/shell_data_reporting_ap_is/models/fuel_consumption_request.rb +7 -14
- data/lib/shell_data_reporting_ap_is/models/fuel_consumption_response.rb +1 -3
- data/lib/shell_data_reporting_ap_is/models/invoice_dates_data.rb +1 -2
- data/lib/shell_data_reporting_ap_is/models/invoice_dates_request_filters.rb +2 -6
- data/lib/shell_data_reporting_ap_is/models/invoice_dates_response_data.rb +1 -3
- data/lib/shell_data_reporting_ap_is/models/invoice_distribution_method.rb +2 -4
- data/lib/shell_data_reporting_ap_is/models/invoice_download_req.rb +2 -5
- data/lib/shell_data_reporting_ap_is/models/invoice_search_additional_document.rb +2 -4
- data/lib/shell_data_reporting_ap_is/models/invoice_search_details.rb +86 -107
- data/lib/shell_data_reporting_ap_is/models/invoice_search_request.rb +5 -7
- data/lib/shell_data_reporting_ap_is/models/invoice_search_request_filters.rb +21 -31
- data/lib/shell_data_reporting_ap_is/models/invoice_search_response.rb +2 -7
- data/lib/shell_data_reporting_ap_is/models/invoice_summary_request_filters.rb +21 -31
- data/lib/shell_data_reporting_ap_is/models/invoice_summary_response.rb +1 -3
- data/lib/shell_data_reporting_ap_is/models/invoices_summaries.rb +5 -10
- data/lib/shell_data_reporting_ap_is/models/last_statement_of_account.rb +39 -48
- data/lib/shell_data_reporting_ap_is/models/last_statement_of_account2.rb +412 -0
- data/lib/shell_data_reporting_ap_is/models/location.rb +62 -0
- data/lib/shell_data_reporting_ap_is/models/logged_in_user_request.rb +2 -4
- data/lib/shell_data_reporting_ap_is/models/logged_in_user_response.rb +12 -25
- data/lib/shell_data_reporting_ap_is/models/monthly_invoice_trend.rb +2 -5
- data/lib/shell_data_reporting_ap_is/models/multi_priced_transaction_request.rb +21 -32
- data/lib/shell_data_reporting_ap_is/models/multi_priced_transaction_request_accounts_items.rb +1 -3
- data/lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response.rb +2 -6
- data/lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb +70 -122
- data/lib/shell_data_reporting_ap_is/models/o_auth_token.rb +2 -6
- data/lib/shell_data_reporting_ap_is/models/past_statement_of_accounts.rb +11 -22
- data/lib/shell_data_reporting_ap_is/models/payer_access.rb +3 -8
- data/lib/shell_data_reporting_ap_is/models/payer_details.rb +55 -96
- data/lib/shell_data_reporting_ap_is/models/payer_request.rb +9 -12
- data/lib/shell_data_reporting_ap_is/models/payer_response.rb +2 -6
- data/lib/shell_data_reporting_ap_is/models/payers.rb +2 -5
- data/lib/shell_data_reporting_ap_is/models/payments_since_last_soa.rb +8 -17
- data/lib/shell_data_reporting_ap_is/models/pin_advice_types.rb +5 -6
- data/lib/shell_data_reporting_ap_is/models/price_list.rb +25 -45
- data/lib/shell_data_reporting_ap_is/models/price_trans_summary_request.rb +28 -44
- data/lib/shell_data_reporting_ap_is/models/price_transaction_request.rb +41 -59
- data/lib/shell_data_reporting_ap_is/models/priced_request_data.rb +21 -50
- data/lib/shell_data_reporting_ap_is/models/priced_response_data.rb +91 -201
- data/lib/shell_data_reporting_ap_is/models/priced_trans_summary_response.rb +1 -3
- data/lib/shell_data_reporting_ap_is/models/priced_trans_summary_response_transactions_summary_items.rb +22 -28
- data/lib/shell_data_reporting_ap_is/models/priced_transaction_items_location_items.rb +11 -2
- data/lib/shell_data_reporting_ap_is/models/priced_transaction_request_v2.rb +4 -8
- data/lib/shell_data_reporting_ap_is/models/priced_transaction_response_transactions_items.rb +91 -141
- data/lib/shell_data_reporting_ap_is/models/priced_transaction_response_v2.rb +2 -6
- data/lib/shell_data_reporting_ap_is/models/pricing_current_volume.rb +3 -6
- data/lib/shell_data_reporting_ap_is/models/pricing_history.rb +2 -5
- data/lib/shell_data_reporting_ap_is/models/purchase_categories.rb +1 -4
- data/lib/shell_data_reporting_ap_is/models/recent_transaction_req.rb +6 -14
- data/lib/shell_data_reporting_ap_is/models/recent_transaction_request.rb +1 -3
- data/lib/shell_data_reporting_ap_is/models/recent_transactions.rb +29 -60
- data/lib/shell_data_reporting_ap_is/models/recent_transactions_response.rb +2 -6
- data/lib/shell_data_reporting_ap_is/models/role.rb +3 -6
- data/lib/shell_data_reporting_ap_is/models/search_doc_req.rb +19 -27
- data/lib/shell_data_reporting_ap_is/models/search_documents_invoice.rb +9 -16
- data/lib/shell_data_reporting_ap_is/models/search_documents_request.rb +1 -3
- data/lib/shell_data_reporting_ap_is/models/search_documents_response.rb +3 -7
- data/lib/shell_data_reporting_ap_is/models/search_soa_req.rb +4 -11
- data/lib/shell_data_reporting_ap_is/models/search_statement_of_account.rb +11 -18
- data/lib/shell_data_reporting_ap_is/models/search_statement_of_account_request.rb +1 -3
- data/lib/shell_data_reporting_ap_is/models/search_statement_of_account_response.rb +2 -7
- data/lib/shell_data_reporting_ap_is/models/site_location.rb +11 -2
- data/lib/shell_data_reporting_ap_is/models/statement_of_account_request_filters.rb +2 -5
- data/lib/shell_data_reporting_ap_is/models/statement_of_account_resp.rb +8 -9
- data/lib/shell_data_reporting_ap_is/models/statement_of_account_response.rb +1 -3
- data/lib/shell_data_reporting_ap_is/models/tier.rb +8 -12
- data/lib/shell_data_reporting_ap_is/models/transaction_exceptions.rb +50 -95
- data/lib/shell_data_reporting_ap_is/models/transaction_exceptions_request.rb +12 -21
- data/lib/shell_data_reporting_ap_is/models/transaction_exceptions_response.rb +2 -4
- data/lib/shell_data_reporting_ap_is/models/transaction_fees_request.rb +21 -33
- data/lib/shell_data_reporting_ap_is/models/transaction_fees_response.rb +2 -6
- data/lib/shell_data_reporting_ap_is/models/update_odometer.rb +1 -2
- data/lib/shell_data_reporting_ap_is/models/update_odometer_reference.rb +1 -2
- data/lib/shell_data_reporting_ap_is/models/update_odometer_request.rb +3 -8
- data/lib/shell_data_reporting_ap_is/models/update_odometer_response.rb +2 -4
- data/lib/shell_data_reporting_ap_is/models/usage_summary.rb +6 -14
- data/lib/shell_data_reporting_ap_is/models/volume_based_bonus_request.rb +2 -5
- data/lib/shell_data_reporting_ap_is/models/volume_based_bonus_response.rb +2 -4
- data/lib/shell_data_reporting_ap_is/models/volume_based_pricing_request.rb +2 -5
- data/lib/shell_data_reporting_ap_is/models/volume_based_pricing_response.rb +2 -5
- data/lib/shell_data_reporting_ap_is/utilities/file_wrapper.rb +9 -9
- data/lib/shell_data_reporting_ap_is/utilities/union_type_lookup.rb +35 -0
- data/lib/shell_data_reporting_ap_is.rb +355 -3
- data/test/controllers/controller_test_base.rb +0 -5
- data/test/controllers/test_transaction_controller.rb +82 -74
- metadata +170 -19
@@ -17,9 +17,9 @@ module ShellDataReportingApIs
|
|
17
17
|
# @param [String] request_id Required parameter: Mandatory UUID (according
|
18
18
|
# to RFC 4122 standards) for requests and responses. This will be played
|
19
19
|
# back in the response from the request.
|
20
|
-
# @param [
|
21
|
-
# request body
|
22
|
-
# @return [LoggedInUserResponse] response from the API call
|
20
|
+
# @param [FleetmanagementV1UserLoggedinuserRequest] body Optional parameter:
|
21
|
+
# Logged in user request body
|
22
|
+
# @return [LoggedInUserResponse] response from the API call.
|
23
23
|
def loggedin_user(apikey,
|
24
24
|
request_id,
|
25
25
|
body: nil)
|
@@ -35,31 +35,31 @@ module ShellDataReportingApIs
|
|
35
35
|
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
36
36
|
.auth(Single.new('BasicAuth')))
|
37
37
|
.response(new_response_handler
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
38
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
39
|
+
.deserialize_into(LoggedInUserResponse.method(:from_hash))
|
40
|
+
.local_error('400',
|
41
|
+
"The server cannot or will not process the request due to'\
|
42
|
+
' something that is perceived to be a client\r\n error (e.g.,'\
|
43
|
+
' malformed request syntax, invalid \r\n request message'\
|
44
|
+
' framing, or deceptive request routing).",
|
45
|
+
FleetmanagementV1UserLoggedinuser400ErrorException)
|
46
|
+
.local_error('401',
|
47
|
+
'The request has not been applied because it lacks valid '\
|
48
|
+
' authentication credentials for the target resource.',
|
49
|
+
FleetmanagementV1UserLoggedinuser401ErrorException)
|
50
|
+
.local_error('403',
|
51
|
+
'The server understood the request but refuses to authorize it'\
|
52
|
+
'.',
|
53
|
+
FleetmanagementV1UserLoggedinuser403ErrorException)
|
54
|
+
.local_error('404',
|
55
|
+
'The origin server did not find a current representation for'\
|
56
|
+
' the target resource or is not willing to disclose that one'\
|
57
|
+
' exists.',
|
58
|
+
FleetmanagementV1UserLoggedinuser404ErrorException)
|
59
|
+
.local_error('500',
|
60
|
+
'The server encountered an unexpected condition the prevented'\
|
61
|
+
' it from fulfilling the request.',
|
62
|
+
FleetmanagementV1UserLoggedinuser500ErrorException))
|
63
63
|
.execute
|
64
64
|
end
|
65
65
|
|
@@ -79,7 +79,7 @@ module ShellDataReportingApIs
|
|
79
79
|
# back in the response from the request.
|
80
80
|
# @param [PayerRequest] body Optional parameter: Serach payers request
|
81
81
|
# body
|
82
|
-
# @return [PayerResponse] response from the API call
|
82
|
+
# @return [PayerResponse] response from the API call.
|
83
83
|
def payers(apikey,
|
84
84
|
request_id,
|
85
85
|
body: nil)
|
@@ -95,31 +95,31 @@ module ShellDataReportingApIs
|
|
95
95
|
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
96
96
|
.auth(Single.new('BasicAuth')))
|
97
97
|
.response(new_response_handler
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
98
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
99
|
+
.deserialize_into(PayerResponse.method(:from_hash))
|
100
|
+
.local_error('400',
|
101
|
+
"The server cannot or will not process the request due to'\
|
102
|
+
' something that is perceived to be a client\r\n error (e.g.,'\
|
103
|
+
' malformed request syntax, invalid \r\n request message'\
|
104
|
+
' framing, or deceptive request routing).",
|
105
|
+
FleetmanagementV1CustomerPayers400ErrorException)
|
106
|
+
.local_error('401',
|
107
|
+
'The request has not been applied because it lacks valid '\
|
108
|
+
' authentication credentials for the target resource.',
|
109
|
+
FleetmanagementV1CustomerPayers401ErrorException)
|
110
|
+
.local_error('403',
|
111
|
+
'The server understood the request but refuses to authorize it'\
|
112
|
+
'.',
|
113
|
+
FleetmanagementV1CustomerPayers403ErrorException)
|
114
|
+
.local_error('404',
|
115
|
+
'The origin server did not find a current representation for'\
|
116
|
+
' the target resource or is not willing to disclose that one'\
|
117
|
+
' exists.',
|
118
|
+
FleetmanagementV1CustomerPayers404ErrorException)
|
119
|
+
.local_error('500',
|
120
|
+
'The server encountered an unexpected condition the prevented'\
|
121
|
+
' it from fulfilling the request.',
|
122
|
+
FleetmanagementV1CustomerPayers500ErrorException))
|
123
123
|
.execute
|
124
124
|
end
|
125
125
|
|
@@ -133,7 +133,7 @@ module ShellDataReportingApIs
|
|
133
133
|
# back in the response from the request.
|
134
134
|
# @param [CustomerDetailRequest] body Optional parameter: Customerdetails
|
135
135
|
# request body
|
136
|
-
# @return [CustomerDetailResponse] response from the API call
|
136
|
+
# @return [CustomerDetailResponse] response from the API call.
|
137
137
|
def customer(apikey,
|
138
138
|
request_id,
|
139
139
|
body: nil)
|
@@ -149,31 +149,31 @@ module ShellDataReportingApIs
|
|
149
149
|
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
150
150
|
.auth(Single.new('BasicAuth')))
|
151
151
|
.response(new_response_handler
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
152
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
153
|
+
.deserialize_into(CustomerDetailResponse.method(:from_hash))
|
154
|
+
.local_error('400',
|
155
|
+
"The server cannot or will not process the request due to'\
|
156
|
+
' something that is perceived to be a client\r\n error (e.g.,'\
|
157
|
+
' malformed request syntax, invalid \r\n request message'\
|
158
|
+
' framing, or deceptive request routing).",
|
159
|
+
FleetmanagementV1CustomerCustomer400ErrorException)
|
160
|
+
.local_error('401',
|
161
|
+
'The request has not been applied because it lacks valid '\
|
162
|
+
' authentication credentials for the target resource.',
|
163
|
+
FleetmanagementV1CustomerCustomer401ErrorException)
|
164
|
+
.local_error('403',
|
165
|
+
'The server understood the request but refuses to authorize it'\
|
166
|
+
'.',
|
167
|
+
FleetmanagementV1CustomerCustomer403ErrorException)
|
168
|
+
.local_error('404',
|
169
|
+
'The origin server did not find a current representation for'\
|
170
|
+
' the target resource or is not willing to disclose that one'\
|
171
|
+
' exists.',
|
172
|
+
FleetmanagementV1CustomerCustomer404ErrorException)
|
173
|
+
.local_error('500',
|
174
|
+
'The server encountered an unexpected condition the prevented'\
|
175
|
+
' it from fulfilling the request.',
|
176
|
+
FleetmanagementV1CustomerCustomer500ErrorException))
|
177
177
|
.execute
|
178
178
|
end
|
179
179
|
|
@@ -195,7 +195,7 @@ module ShellDataReportingApIs
|
|
195
195
|
# back in the response from the request.
|
196
196
|
# @param [CustomerPriceListRequest] body Optional parameter: Customerdetails
|
197
197
|
# request body
|
198
|
-
# @return [CustomerPriceListResponse] response from the API call
|
198
|
+
# @return [CustomerPriceListResponse] response from the API call.
|
199
199
|
def customer_price_list(apikey,
|
200
200
|
request_id,
|
201
201
|
body: nil)
|
@@ -211,31 +211,31 @@ module ShellDataReportingApIs
|
|
211
211
|
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
212
212
|
.auth(Single.new('BasicAuth')))
|
213
213
|
.response(new_response_handler
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
214
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
215
|
+
.deserialize_into(CustomerPriceListResponse.method(:from_hash))
|
216
|
+
.local_error('400',
|
217
|
+
"The server cannot or will not process the request due to'\
|
218
|
+
' something that is perceived to be a client\r\n error (e.g.,'\
|
219
|
+
' malformed request syntax, invalid \r\n request message'\
|
220
|
+
' framing, or deceptive request routing).",
|
221
|
+
FleetmanagementV2CustomerPricelist400ErrorException)
|
222
|
+
.local_error('401',
|
223
|
+
'The request has not been applied because it lacks valid '\
|
224
|
+
' authentication credentials for the target resource.',
|
225
|
+
FleetmanagementV2CustomerPricelist401ErrorException)
|
226
|
+
.local_error('403',
|
227
|
+
'The server understood the request but refuses to authorize it'\
|
228
|
+
'.',
|
229
|
+
FleetmanagementV2CustomerPricelist403ErrorException)
|
230
|
+
.local_error('404',
|
231
|
+
'The origin server did not find a current representation for'\
|
232
|
+
' the target resource or is not willing to disclose that one'\
|
233
|
+
' exists.',
|
234
|
+
FleetmanagementV2CustomerPricelist404ErrorException)
|
235
|
+
.local_error('500',
|
236
|
+
'The server encountered an unexpected condition the prevented'\
|
237
|
+
' it from fulfilling the request.',
|
238
|
+
FleetmanagementV2CustomerPricelist500ErrorException))
|
239
239
|
.execute
|
240
240
|
end
|
241
241
|
|
@@ -248,7 +248,7 @@ module ShellDataReportingApIs
|
|
248
248
|
# to RFC 4122 standards) for requests and responses. This will be played
|
249
249
|
# back in the response from the request.
|
250
250
|
# @param [AccountRequest] body Optional parameter: Example:
|
251
|
-
# @return [AccountResponse] response from the API call
|
251
|
+
# @return [AccountResponse] response from the API call.
|
252
252
|
def accounts(apikey,
|
253
253
|
request_id,
|
254
254
|
body: nil)
|
@@ -264,31 +264,31 @@ module ShellDataReportingApIs
|
|
264
264
|
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
265
265
|
.auth(Single.new('BasicAuth')))
|
266
266
|
.response(new_response_handler
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
267
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
268
|
+
.deserialize_into(AccountResponse.method(:from_hash))
|
269
|
+
.local_error('400',
|
270
|
+
"The server cannot or will not process the request due to'\
|
271
|
+
' something that is perceived to be a client\r\n error (e.g.,'\
|
272
|
+
' malformed request syntax, invalid \r\n request message'\
|
273
|
+
' framing, or deceptive request routing).",
|
274
|
+
FleetmanagementV1CustomerAccounts400ErrorException)
|
275
|
+
.local_error('401',
|
276
|
+
'The request has not been applied because it lacks valid '\
|
277
|
+
' authentication credentials for the target resource.',
|
278
|
+
FleetmanagementV1CustomerAccounts401ErrorException)
|
279
|
+
.local_error('403',
|
280
|
+
'The server understood the request but refuses to authorize it'\
|
281
|
+
'.',
|
282
|
+
FleetmanagementV1CustomerAccounts403ErrorException)
|
283
|
+
.local_error('404',
|
284
|
+
'The origin server did not find a current representation for'\
|
285
|
+
' the target resource or is not willing to disclose that one'\
|
286
|
+
' exists.',
|
287
|
+
FleetmanagementV1CustomerAccounts404ErrorException)
|
288
|
+
.local_error('500',
|
289
|
+
'The server encountered an unexpected condition the prevented'\
|
290
|
+
' it from fulfilling the request.',
|
291
|
+
FleetmanagementV1CustomerAccounts500ErrorException))
|
292
292
|
.execute
|
293
293
|
end
|
294
294
|
|
@@ -301,7 +301,7 @@ module ShellDataReportingApIs
|
|
301
301
|
# back in the response from the request.
|
302
302
|
# @param [CardTypeRequest] body Optional parameter: Get CardType Request
|
303
303
|
# Body
|
304
|
-
# @return [CardTypeResponse] response from the API call
|
304
|
+
# @return [CardTypeResponse] response from the API call.
|
305
305
|
def card_type(apikey,
|
306
306
|
request_id,
|
307
307
|
body: nil)
|
@@ -317,31 +317,31 @@ module ShellDataReportingApIs
|
|
317
317
|
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
318
318
|
.auth(Single.new('BasicAuth')))
|
319
319
|
.response(new_response_handler
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
320
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
321
|
+
.deserialize_into(CardTypeResponse.method(:from_hash))
|
322
|
+
.local_error('400',
|
323
|
+
"The server cannot or will not process the request due to'\
|
324
|
+
' something that is perceived to be a client\r\n error (e.g.,'\
|
325
|
+
' malformed request syntax, invalid \r\n request message'\
|
326
|
+
' framing, or deceptive request routing).",
|
327
|
+
FleetmanagementV2CustomerCardtype400ErrorException)
|
328
|
+
.local_error('401',
|
329
|
+
'The request has not been applied because it lacks valid '\
|
330
|
+
' authentication credentials for the target resource.',
|
331
|
+
FleetmanagementV2CustomerCardtype401ErrorException)
|
332
|
+
.local_error('403',
|
333
|
+
'The server understood the request but refuses to authorize it'\
|
334
|
+
'.',
|
335
|
+
FleetmanagementV2CustomerCardtype403ErrorException)
|
336
|
+
.local_error('404',
|
337
|
+
'The origin server did not find a current representation for'\
|
338
|
+
' the target resource or is not willing to disclose that one'\
|
339
|
+
' exists.',
|
340
|
+
FleetmanagementV2CustomerCardtype404ErrorException)
|
341
|
+
.local_error('500',
|
342
|
+
'The server encountered an unexpected condition the prevented'\
|
343
|
+
' it from fulfilling the request.',
|
344
|
+
FleetmanagementV2CustomerCardtype500ErrorException))
|
345
345
|
.execute
|
346
346
|
end
|
347
347
|
|
@@ -361,7 +361,7 @@ module ShellDataReportingApIs
|
|
361
361
|
# to RFC 4122 standards) for requests and responses. This will be played
|
362
362
|
# back in the response from the request.
|
363
363
|
# @param [CardGroupRequest] body Optional parameter: Request Body
|
364
|
-
# @return [CardGroupResponse] response from the API call
|
364
|
+
# @return [CardGroupResponse] response from the API call.
|
365
365
|
def card_groups(apikey,
|
366
366
|
request_id,
|
367
367
|
body: nil)
|
@@ -377,31 +377,31 @@ module ShellDataReportingApIs
|
|
377
377
|
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
378
378
|
.auth(Single.new('BasicAuth')))
|
379
379
|
.response(new_response_handler
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
380
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
381
|
+
.deserialize_into(CardGroupResponse.method(:from_hash))
|
382
|
+
.local_error('400',
|
383
|
+
"The server cannot or will not process the request due to'\
|
384
|
+
' something that is perceived to be a client\r\n error (e.g.,'\
|
385
|
+
' malformed request syntax, invalid \r\n request message'\
|
386
|
+
' framing, or deceptive request routing).",
|
387
|
+
FleetmanagementV1CustomerCardgroups400ErrorException)
|
388
|
+
.local_error('401',
|
389
|
+
'The request has not been applied because it lacks valid '\
|
390
|
+
' authentication credentials for the target resource.',
|
391
|
+
FleetmanagementV1CustomerCardgroups401ErrorException)
|
392
|
+
.local_error('403',
|
393
|
+
'The server understood the request but refuses to authorize it'\
|
394
|
+
'.',
|
395
|
+
FleetmanagementV1CustomerCardgroups403ErrorException)
|
396
|
+
.local_error('404',
|
397
|
+
'The origin server did not find a current representation for'\
|
398
|
+
' the target resource or is not willing to disclose that one'\
|
399
|
+
' exists.',
|
400
|
+
FleetmanagementV1CustomerCardgroups404ErrorException)
|
401
|
+
.local_error('500',
|
402
|
+
'The server encountered an unexpected condition the prevented'\
|
403
|
+
' it from fulfilling the request.',
|
404
|
+
FleetmanagementV1CustomerCardgroups500ErrorException))
|
405
405
|
.execute
|
406
406
|
end
|
407
407
|
|
@@ -431,7 +431,7 @@ module ShellDataReportingApIs
|
|
431
431
|
# to RFC 4122 standards) for requests and responses. This will be played
|
432
432
|
# back in the response from the request.
|
433
433
|
# @param [AuditRequest] body Optional parameter: request body
|
434
|
-
# @return [AuditResponse] response from the API call
|
434
|
+
# @return [AuditResponse] response from the API call.
|
435
435
|
def audit_report(apikey,
|
436
436
|
request_id,
|
437
437
|
body: nil)
|
@@ -447,31 +447,31 @@ module ShellDataReportingApIs
|
|
447
447
|
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
448
448
|
.auth(Single.new('BasicAuth')))
|
449
449
|
.response(new_response_handler
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
450
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
451
|
+
.deserialize_into(AuditResponse.method(:from_hash))
|
452
|
+
.local_error('400',
|
453
|
+
"The server cannot or will not process the request due to'\
|
454
|
+
' something that is perceived to be a client\r\n error (e.g.,'\
|
455
|
+
' malformed request syntax, invalid \r\n request message'\
|
456
|
+
' framing, or deceptive request routing).",
|
457
|
+
FleetmanagementV1CustomerAuditreport400ErrorException)
|
458
|
+
.local_error('401',
|
459
|
+
'The request has not been applied because it lacks valid '\
|
460
|
+
' authentication credentials for the target resource.',
|
461
|
+
FleetmanagementV1CustomerAuditreport401ErrorException)
|
462
|
+
.local_error('403',
|
463
|
+
'The server understood the request but refuses to authorize it'\
|
464
|
+
'.',
|
465
|
+
FleetmanagementV1CustomerAuditreport403ErrorException)
|
466
|
+
.local_error('404',
|
467
|
+
'The origin server did not find a current representation for'\
|
468
|
+
' the target resource or is not willing to disclose that one'\
|
469
|
+
' exists.',
|
470
|
+
FleetmanagementV1CustomerAuditreport404ErrorException)
|
471
|
+
.local_error('500',
|
472
|
+
'The server encountered an unexpected condition the prevented'\
|
473
|
+
' it from fulfilling the request.',
|
474
|
+
FleetmanagementV1CustomerAuditreport500ErrorException))
|
475
475
|
.execute
|
476
476
|
end
|
477
477
|
end
|