data-and-reporting-sdk 1.1.0 → 1.3.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/LICENSE +1 -1
- data/README.md +15 -15
- data/lib/shell_data_reporting_ap_is/controllers/customer_controller.rb +40 -40
- data/lib/shell_data_reporting_ap_is/controllers/invoice_controller.rb +45 -45
- data/lib/shell_data_reporting_ap_is/controllers/o_auth_authorization_controller.rb +1 -1
- data/lib/shell_data_reporting_ap_is/controllers/transaction_controller.rb +65 -65
- data/lib/shell_data_reporting_ap_is/exceptions/api_exception.rb +11 -0
- data/lib/shell_data_reporting_ap_is/exceptions/{fleetmanagement_v1_customer_accounts400_error_exception.rb → default_error_exception.rb} +17 -5
- data/lib/shell_data_reporting_ap_is/exceptions/{invoice_management_v1_dates400_error_exception.rb → error_object_exception.rb} +15 -2
- data/lib/shell_data_reporting_ap_is/exceptions/{fleetmanagement_v1_customer_auditreport403_error_exception.rb → error_user_access_error1_exception.rb} +14 -2
- data/lib/shell_data_reporting_ap_is/exceptions/o_auth_provider_exception.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/account_access.rb +17 -0
- data/lib/shell_data_reporting_ap_is/models/account_request.rb +26 -0
- data/lib/shell_data_reporting_ap_is/models/account_response.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/account_response_accounts_items.rb +79 -0
- data/lib/shell_data_reporting_ap_is/models/accounts.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/address.rb +21 -0
- data/lib/shell_data_reporting_ap_is/models/associated_account.rb +18 -0
- data/lib/shell_data_reporting_ap_is/models/audit_request.rb +21 -0
- data/lib/shell_data_reporting_ap_is/models/audit_response.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/audit_response_audits_items.rb +46 -0
- data/lib/shell_data_reporting_ap_is/models/bank_account.rb +22 -0
- data/lib/shell_data_reporting_ap_is/models/base_model.rb +76 -28
- data/lib/shell_data_reporting_ap_is/models/bonus_configuration.rb +45 -0
- data/lib/shell_data_reporting_ap_is/models/bonus_history.rb +47 -0
- data/lib/shell_data_reporting_ap_is/models/card_day_time_restrictions.rb +17 -0
- data/lib/shell_data_reporting_ap_is/models/card_exceptions.rb +27 -0
- data/lib/shell_data_reporting_ap_is/models/card_group_request.rb +19 -0
- data/lib/shell_data_reporting_ap_is/models/card_group_response.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/card_group_response_card_groups_items.rb +34 -0
- data/lib/shell_data_reporting_ap_is/models/card_type_request.rb +19 -0
- data/lib/shell_data_reporting_ap_is/models/card_type_response.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/card_type_response_customer_card_types_items.rb +52 -0
- data/lib/shell_data_reporting_ap_is/models/card_type_response_error.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/card_usage_restrictions.rb +38 -0
- data/lib/shell_data_reporting_ap_is/models/card_usage_summary_request.rb +19 -0
- data/lib/shell_data_reporting_ap_is/models/card_usage_summary_response.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/col_co_access.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/current_volume.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/customer_contract.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/customer_detail_request.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/customer_detail_response.rb +43 -0
- data/lib/shell_data_reporting_ap_is/models/customer_price_list_request.rb +22 -0
- data/lib/shell_data_reporting_ap_is/models/customer_price_list_response.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/default_error_fault.rb +15 -3
- data/lib/shell_data_reporting_ap_is/models/default_error_fault_detail.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/delivery_addresses.rb +28 -0
- data/lib/shell_data_reporting_ap_is/models/eid_access.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/eid_document.rb +21 -0
- data/lib/shell_data_reporting_ap_is/models/eid_document_response.rb +17 -0
- data/lib/shell_data_reporting_ap_is/models/eid_download_req.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/eid_download_request.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/eid_search_req.rb +19 -0
- data/lib/shell_data_reporting_ap_is/models/eid_search_request.rb +14 -1
- data/lib/shell_data_reporting_ap_is/models/error_details.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/error_status.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/error_user_access.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/error_user_access_error.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/exception_product.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/exception_site_location.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/fee_item.rb +97 -0
- data/lib/shell_data_reporting_ap_is/models/fee_item_summary_all_of0.rb +27 -0
- data/lib/shell_data_reporting_ap_is/models/fee_rule_location.rb +19 -0
- data/lib/shell_data_reporting_ap_is/models/fee_rule_product.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/fee_rule_tier.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/fee_summary_response.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/fees_fee_rule_tiers.rb +18 -0
- data/lib/shell_data_reporting_ap_is/models/finance_currency.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/fleetmanagement_v1_user_loggedinuser_request.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/fuel_consumption_card.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/fuel_consumption_data.rb +30 -0
- data/lib/shell_data_reporting_ap_is/models/fuel_consumption_request.rb +19 -0
- data/lib/shell_data_reporting_ap_is/models/fuel_consumption_response.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_dates_data.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_dates_request.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_dates_request_filters.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_dates_response_data.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_distribution_method.rb +15 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_download_req.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_download_request.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_search_additional_document.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_search_details.rb +93 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_search_request.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_search_request_filters.rb +30 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_search_response.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_summary_details.rb +21 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_summary_request.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_summary_request_filters.rb +30 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_summary_response.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/invoices_summaries.rb +31 -0
- data/lib/shell_data_reporting_ap_is/models/last_statement_of_account.rb +45 -0
- data/lib/shell_data_reporting_ap_is/models/logged_in_user_request.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/logged_in_user_response.rb +35 -0
- data/lib/shell_data_reporting_ap_is/models/monthly_invoice_trend.rb +17 -0
- data/lib/shell_data_reporting_ap_is/models/multi_priced_transaction_request.rb +30 -0
- data/lib/shell_data_reporting_ap_is/models/multi_priced_transaction_request_accounts_items.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb +165 -0
- data/lib/shell_data_reporting_ap_is/models/past_statement_of_accounts.rb +58 -0
- data/lib/shell_data_reporting_ap_is/models/payer_access.rb +19 -0
- data/lib/shell_data_reporting_ap_is/models/payer_details.rb +154 -6
- data/lib/shell_data_reporting_ap_is/models/payer_request.rb +18 -0
- data/lib/shell_data_reporting_ap_is/models/payer_response.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/payers.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/payments_since_last_soa.rb +40 -0
- data/lib/shell_data_reporting_ap_is/models/pin_advice_types.rb +15 -0
- data/lib/shell_data_reporting_ap_is/models/price_list.rb +45 -0
- data/lib/shell_data_reporting_ap_is/models/price_trans_summary_request.rb +39 -0
- data/lib/shell_data_reporting_ap_is/models/price_transaction_request.rb +42 -0
- data/lib/shell_data_reporting_ap_is/models/priced_request_data.rb +80 -8
- data/lib/shell_data_reporting_ap_is/models/priced_response_data.rb +221 -0
- data/lib/shell_data_reporting_ap_is/models/priced_trans_summary_response.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/priced_trans_summary_response_transactions_summary_items.rb +28 -0
- data/lib/shell_data_reporting_ap_is/models/priced_transaction_items_location_items.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/priced_transaction_request_v2.rb +18 -3
- data/lib/shell_data_reporting_ap_is/models/priced_transaction_response.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/priced_transaction_response_transactions_items.rb +166 -0
- data/lib/shell_data_reporting_ap_is/models/priced_transaction_response_v2.rb +15 -0
- data/lib/shell_data_reporting_ap_is/models/pricing_current_volume.rb +18 -0
- data/lib/shell_data_reporting_ap_is/models/pricing_history.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/purchase_categories.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/recent_transaction_req.rb +26 -0
- data/lib/shell_data_reporting_ap_is/models/recent_transaction_request.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/recent_transactions.rb +98 -0
- data/lib/shell_data_reporting_ap_is/models/recent_transactions_response.rb +15 -0
- data/lib/shell_data_reporting_ap_is/models/role.rb +17 -0
- data/lib/shell_data_reporting_ap_is/models/search_doc_req.rb +28 -0
- data/lib/shell_data_reporting_ap_is/models/search_documents_invoice.rb +24 -0
- data/lib/shell_data_reporting_ap_is/models/search_documents_request.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/search_documents_response.rb +17 -0
- data/lib/shell_data_reporting_ap_is/models/search_soa_req.rb +20 -0
- data/lib/shell_data_reporting_ap_is/models/search_statement_of_account.rb +27 -0
- data/lib/shell_data_reporting_ap_is/models/search_statement_of_account_request.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/search_statement_of_account_response.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/site_location.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/statement_of_account_request.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/statement_of_account_request_filters.rb +24 -0
- data/lib/shell_data_reporting_ap_is/models/statement_of_account_resp.rb +25 -7
- data/lib/shell_data_reporting_ap_is/models/statement_of_account_response.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/tier.rb +21 -0
- data/lib/shell_data_reporting_ap_is/models/transaction_exceptions.rb +130 -3
- data/lib/shell_data_reporting_ap_is/models/transaction_exceptions_request.rb +25 -0
- data/lib/shell_data_reporting_ap_is/models/transaction_exceptions_response.rb +15 -0
- data/lib/shell_data_reporting_ap_is/models/transaction_fees_request.rb +28 -0
- data/lib/shell_data_reporting_ap_is/models/transaction_fees_response.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/update_odometer.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/update_odometer_reference.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/update_odometer_request.rb +18 -0
- data/lib/shell_data_reporting_ap_is/models/update_odometer_response.rb +15 -0
- data/lib/shell_data_reporting_ap_is/models/usage_summary.rb +23 -0
- data/lib/shell_data_reporting_ap_is/models/volume_based_bonus_request.rb +17 -0
- data/lib/shell_data_reporting_ap_is/models/volume_based_bonus_response.rb +17 -0
- data/lib/shell_data_reporting_ap_is/models/volume_based_pricing_request.rb +15 -0
- data/lib/shell_data_reporting_ap_is/models/volume_based_pricing_response.rb +16 -0
- data/lib/shell_data_reporting_ap_is/utilities/file_wrapper.rb +14 -2
- data/lib/shell_data_reporting_ap_is.rb +3 -352
- data/test/controllers/test_invoice_controller.rb +1 -1
- data/test/controllers/test_transaction_controller.rb +1 -1
- metadata +7 -162
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_accounts401_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_accounts403_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_accounts404_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_accounts500_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_auditreport400_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_auditreport401_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_auditreport404_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_auditreport500_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_cardgroups400_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_cardgroups401_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_cardgroups403_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_cardgroups404_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_cardgroups500_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_customer400_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_customer401_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_customer403_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_customer404_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_customer500_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_payers400_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_payers401_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_payers403_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_payers404_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_payers500_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_cardusagesummary400_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_cardusagesummary401_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_cardusagesummary403_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_cardusagesummary404_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_cardusagesummary500_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_exceptions400_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_exceptions401_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_exceptions403_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_exceptions404_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_exceptions500_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_fees400_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_fees401_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_fees403_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_fees404_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_fees500_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_feessummary400_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_feessummary401_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_feessummary403_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_feessummary404_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_feessummary500_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_fuelconsumption400_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_fuelconsumption401_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_fuelconsumption403_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_fuelconsumption404_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_fuelconsumption500_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_multipayerspricedtransactions400_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_multipayerspricedtransactions401_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_multipayerspricedtransactions403_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_multipayerspricedtransactions404_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_multipayerspricedtransactions500_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_pricedtransactions400_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_pricedtransactions401_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_pricedtransactions403_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_pricedtransactions404_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_pricedtransactions500_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_pricedtransactionssummary400_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_pricedtransactionssummary401_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_pricedtransactionssummary403_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_pricedtransactionssummary404_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_pricedtransactionssummary500_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_updateodometer400_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_updateodometer401_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_updateodometer403_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_updateodometer404_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_updateodometer500_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_volumebasedbonus400_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_volumebasedbonus401_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_volumebasedbonus403_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_volumebasedbonus404_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_volumebasedbonus500_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_volumebasedpricing400_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_volumebasedpricing401_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_volumebasedpricing403_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_volumebasedpricing404_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_volumebasedpricing500_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_user_loggedinuser400_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_user_loggedinuser401_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_user_loggedinuser403_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_user_loggedinuser404_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_user_loggedinuser500_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v2_customer_cardtype400_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v2_customer_cardtype401_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v2_customer_cardtype403_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v2_customer_cardtype404_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v2_customer_cardtype500_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v2_customer_pricelist400_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v2_customer_pricelist401_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v2_customer_pricelist403_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v2_customer_pricelist404_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v2_customer_pricelist500_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_dates401_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_dates403_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_dates404_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_dates500_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_download400_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_download401_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_download403_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_download404_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_download500_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eiddownload400_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eiddownload401_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eiddownload403_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eiddownload404_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eiddownload500_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eidsearch400_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eidsearch401_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eidsearch403_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eidsearch404_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eidsearch500_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_search400_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_search401_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_search403_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_search404_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_search500_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchdocuments400_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchdocuments401_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchdocuments403_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchdocuments404_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchdocuments500_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchstatementofaccount400_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchstatementofaccount401_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchstatementofaccount403_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchstatementofaccount404_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchstatementofaccount500_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_statementofaccount400_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_statementofaccount401_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_statementofaccount403_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_statementofaccount404_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_statementofaccount500_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_summary400_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_summary401_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_summary403_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_summary404_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_summary500_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_priced400_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_priced401_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_priced403_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_priced404_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_priced500_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_recent400_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_recent401_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_recent403_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_recent404_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_recent500_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/models/default_error.rb +0 -50
- data/lib/shell_data_reporting_ap_is/models/detail.rb +0 -50
- data/lib/shell_data_reporting_ap_is/models/error_object.rb +0 -80
- data/lib/shell_data_reporting_ap_is/models/fault.rb +0 -59
- data/lib/shell_data_reporting_ap_is/models/filters.rb +0 -454
- data/lib/shell_data_reporting_ap_is/models/finance_currency2.rb +0 -96
- data/lib/shell_data_reporting_ap_is/models/last_statement_of_account2.rb +0 -412
- data/lib/shell_data_reporting_ap_is/models/location.rb +0 -62
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 031356f55355649745088ded676766dd0c8f982f6e4d740a8979f326191f977d
|
4
|
+
data.tar.gz: e2ed061fda9bc950ea7add678935bad2114cd314a37e9475274632499567b231
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6011a74f2cfcb42eef0b02ef087a2b1665d3d1d18eb48e9bfb236ad41909e07b02c199a1ad8a15d9ad9061227b5f8b5ba23d08888531c31533b19c55ded48d31
|
7
|
+
data.tar.gz: bce0d017e652d317d75a1a19e50dc48f8278761166f63df102745bb48448881e73d179d0fbb5268f256e3fb653383259f430ca2936399ea439433b03403ccfa0
|
data/LICENSE
CHANGED
@@ -3,7 +3,7 @@ License:
|
|
3
3
|
The MIT License (MIT)
|
4
4
|
http://opensource.org/licenses/MIT
|
5
5
|
|
6
|
-
Copyright (c) 2014 -
|
6
|
+
Copyright (c) 2014 - 2025 APIMATIC Limited
|
7
7
|
|
8
8
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
9
9
|
of this software and associated documentation files (the "Software"), to deal
|
data/README.md
CHANGED
@@ -14,17 +14,17 @@ Go to the Shell Developer Portal: [https://developer.shell.com](https://develope
|
|
14
14
|
|
15
15
|
Install the gem from the command line:
|
16
16
|
|
17
|
-
```
|
18
|
-
gem install data-and-reporting-sdk -v 1.
|
17
|
+
```bash
|
18
|
+
gem install data-and-reporting-sdk -v 1.3.0
|
19
19
|
```
|
20
20
|
|
21
21
|
Or add the gem to your Gemfile and run `bundle`:
|
22
22
|
|
23
23
|
```ruby
|
24
|
-
gem 'data-and-reporting-sdk', '1.
|
24
|
+
gem 'data-and-reporting-sdk', '1.3.0'
|
25
25
|
```
|
26
26
|
|
27
|
-
For additional gem details, see the [RubyGems page for the data-and-reporting-sdk gem](https://rubygems.org/gems/data-and-reporting-sdk/versions/1.
|
27
|
+
For additional gem details, see the [RubyGems page for the data-and-reporting-sdk gem](https://rubygems.org/gems/data-and-reporting-sdk/versions/1.3.0).
|
28
28
|
|
29
29
|
## Test the SDK
|
30
30
|
|
@@ -36,7 +36,7 @@ rake
|
|
36
36
|
|
37
37
|
## Initialize the API Client
|
38
38
|
|
39
|
-
**_Note:_** Documentation for the client can be found [here.](https://www.github.com/sdks-io/data-and-reporting-ruby-sdk/tree/1.
|
39
|
+
**_Note:_** Documentation for the client can be found [here.](https://www.github.com/sdks-io/data-and-reporting-ruby-sdk/tree/1.3.0/doc/client.md)
|
40
40
|
|
41
41
|
The following parameters are configurable for the API Client:
|
42
42
|
|
@@ -52,8 +52,8 @@ The following parameters are configurable for the API Client:
|
|
52
52
|
| `retry_statuses` | `Array` | A list of HTTP statuses to retry. <br> **Default: [408, 413, 429, 500, 502, 503, 504, 521, 522, 524]** |
|
53
53
|
| `retry_methods` | `Array` | A list of HTTP methods to retry. <br> **Default: %i[get put]** |
|
54
54
|
| `http_callback` | `HttpCallBack` | The Http CallBack allows defining callables for pre and post API calls. |
|
55
|
-
| `basic_auth_credentials` | [`BasicAuthCredentials`](https://www.github.com/sdks-io/data-and-reporting-ruby-sdk/tree/1.
|
56
|
-
| `bearer_token_credentials` | [`BearerTokenCredentials`](https://www.github.com/sdks-io/data-and-reporting-ruby-sdk/tree/1.
|
55
|
+
| `basic_auth_credentials` | [`BasicAuthCredentials`](https://www.github.com/sdks-io/data-and-reporting-ruby-sdk/tree/1.3.0/doc/auth/basic-authentication.md) | The credential object for Basic Authentication |
|
56
|
+
| `bearer_token_credentials` | [`BearerTokenCredentials`](https://www.github.com/sdks-io/data-and-reporting-ruby-sdk/tree/1.3.0/doc/auth/oauth-2-client-credentials-grant.md) | The credential object for OAuth 2 Client Credentials Grant |
|
57
57
|
|
58
58
|
The API client can be initialized as follows:
|
59
59
|
|
@@ -86,18 +86,18 @@ The SDK can be configured to use a different environment for making API calls. A
|
|
86
86
|
|
87
87
|
This API uses the following authentication schemes.
|
88
88
|
|
89
|
-
* [`BasicAuth (Basic Authentication)`](https://www.github.com/sdks-io/data-and-reporting-ruby-sdk/tree/1.
|
90
|
-
* [`BearerToken (OAuth 2 Client Credentials Grant)`](https://www.github.com/sdks-io/data-and-reporting-ruby-sdk/tree/1.
|
89
|
+
* [`BasicAuth (Basic Authentication)`](https://www.github.com/sdks-io/data-and-reporting-ruby-sdk/tree/1.3.0/doc/auth/basic-authentication.md)
|
90
|
+
* [`BearerToken (OAuth 2 Client Credentials Grant)`](https://www.github.com/sdks-io/data-and-reporting-ruby-sdk/tree/1.3.0/doc/auth/oauth-2-client-credentials-grant.md)
|
91
91
|
|
92
92
|
## List of APIs
|
93
93
|
|
94
|
-
* [Customer](https://www.github.com/sdks-io/data-and-reporting-ruby-sdk/tree/1.
|
95
|
-
* [Transaction](https://www.github.com/sdks-io/data-and-reporting-ruby-sdk/tree/1.
|
96
|
-
* [Invoice](https://www.github.com/sdks-io/data-and-reporting-ruby-sdk/tree/1.
|
94
|
+
* [Customer](https://www.github.com/sdks-io/data-and-reporting-ruby-sdk/tree/1.3.0/doc/controllers/customer.md)
|
95
|
+
* [Transaction](https://www.github.com/sdks-io/data-and-reporting-ruby-sdk/tree/1.3.0/doc/controllers/transaction.md)
|
96
|
+
* [Invoice](https://www.github.com/sdks-io/data-and-reporting-ruby-sdk/tree/1.3.0/doc/controllers/invoice.md)
|
97
97
|
|
98
98
|
## Classes Documentation
|
99
99
|
|
100
|
-
* [Utility Classes](https://www.github.com/sdks-io/data-and-reporting-ruby-sdk/tree/1.
|
101
|
-
* [HttpResponse](https://www.github.com/sdks-io/data-and-reporting-ruby-sdk/tree/1.
|
102
|
-
* [HttpRequest](https://www.github.com/sdks-io/data-and-reporting-ruby-sdk/tree/1.
|
100
|
+
* [Utility Classes](https://www.github.com/sdks-io/data-and-reporting-ruby-sdk/tree/1.3.0/doc/utility-classes.md)
|
101
|
+
* [HttpResponse](https://www.github.com/sdks-io/data-and-reporting-ruby-sdk/tree/1.3.0/doc/http-response.md)
|
102
|
+
* [HttpRequest](https://www.github.com/sdks-io/data-and-reporting-ruby-sdk/tree/1.3.0/doc/http-request.md)
|
103
103
|
|
@@ -42,24 +42,24 @@ module ShellDataReportingApIs
|
|
42
42
|
' something that is perceived to be a client\r\n error (e.g.,'\
|
43
43
|
' malformed request syntax, invalid \r\n request message'\
|
44
44
|
' framing, or deceptive request routing).",
|
45
|
-
|
45
|
+
DefaultErrorException)
|
46
46
|
.local_error('401',
|
47
47
|
'The request has not been applied because it lacks valid '\
|
48
48
|
' authentication credentials for the target resource.',
|
49
|
-
|
49
|
+
DefaultErrorException)
|
50
50
|
.local_error('403',
|
51
51
|
'The server understood the request but refuses to authorize it'\
|
52
52
|
'.',
|
53
|
-
|
53
|
+
ErrorUserAccessError1Exception)
|
54
54
|
.local_error('404',
|
55
55
|
'The origin server did not find a current representation for'\
|
56
56
|
' the target resource or is not willing to disclose that one'\
|
57
57
|
' exists.',
|
58
|
-
|
58
|
+
DefaultErrorException)
|
59
59
|
.local_error('500',
|
60
60
|
'The server encountered an unexpected condition the prevented'\
|
61
61
|
' it from fulfilling the request.',
|
62
|
-
|
62
|
+
DefaultErrorException))
|
63
63
|
.execute
|
64
64
|
end
|
65
65
|
|
@@ -102,24 +102,24 @@ module ShellDataReportingApIs
|
|
102
102
|
' something that is perceived to be a client\r\n error (e.g.,'\
|
103
103
|
' malformed request syntax, invalid \r\n request message'\
|
104
104
|
' framing, or deceptive request routing).",
|
105
|
-
|
105
|
+
DefaultErrorException)
|
106
106
|
.local_error('401',
|
107
107
|
'The request has not been applied because it lacks valid '\
|
108
108
|
' authentication credentials for the target resource.',
|
109
|
-
|
109
|
+
DefaultErrorException)
|
110
110
|
.local_error('403',
|
111
111
|
'The server understood the request but refuses to authorize it'\
|
112
112
|
'.',
|
113
|
-
|
113
|
+
ErrorUserAccessError1Exception)
|
114
114
|
.local_error('404',
|
115
115
|
'The origin server did not find a current representation for'\
|
116
116
|
' the target resource or is not willing to disclose that one'\
|
117
117
|
' exists.',
|
118
|
-
|
118
|
+
DefaultErrorException)
|
119
119
|
.local_error('500',
|
120
120
|
'The server encountered an unexpected condition the prevented'\
|
121
121
|
' it from fulfilling the request.',
|
122
|
-
|
122
|
+
DefaultErrorException))
|
123
123
|
.execute
|
124
124
|
end
|
125
125
|
|
@@ -156,24 +156,24 @@ module ShellDataReportingApIs
|
|
156
156
|
' something that is perceived to be a client\r\n error (e.g.,'\
|
157
157
|
' malformed request syntax, invalid \r\n request message'\
|
158
158
|
' framing, or deceptive request routing).",
|
159
|
-
|
159
|
+
DefaultErrorException)
|
160
160
|
.local_error('401',
|
161
161
|
'The request has not been applied because it lacks valid '\
|
162
162
|
' authentication credentials for the target resource.',
|
163
|
-
|
163
|
+
DefaultErrorException)
|
164
164
|
.local_error('403',
|
165
165
|
'The server understood the request but refuses to authorize it'\
|
166
166
|
'.',
|
167
|
-
|
167
|
+
ErrorUserAccessError1Exception)
|
168
168
|
.local_error('404',
|
169
169
|
'The origin server did not find a current representation for'\
|
170
170
|
' the target resource or is not willing to disclose that one'\
|
171
171
|
' exists.',
|
172
|
-
|
172
|
+
DefaultErrorException)
|
173
173
|
.local_error('500',
|
174
174
|
'The server encountered an unexpected condition the prevented'\
|
175
175
|
' it from fulfilling the request.',
|
176
|
-
|
176
|
+
DefaultErrorException))
|
177
177
|
.execute
|
178
178
|
end
|
179
179
|
|
@@ -218,24 +218,24 @@ module ShellDataReportingApIs
|
|
218
218
|
' something that is perceived to be a client\r\n error (e.g.,'\
|
219
219
|
' malformed request syntax, invalid \r\n request message'\
|
220
220
|
' framing, or deceptive request routing).",
|
221
|
-
|
221
|
+
DefaultErrorException)
|
222
222
|
.local_error('401',
|
223
223
|
'The request has not been applied because it lacks valid '\
|
224
224
|
' authentication credentials for the target resource.',
|
225
|
-
|
225
|
+
DefaultErrorException)
|
226
226
|
.local_error('403',
|
227
227
|
'The server understood the request but refuses to authorize it'\
|
228
228
|
'.',
|
229
|
-
|
229
|
+
ErrorUserAccessError1Exception)
|
230
230
|
.local_error('404',
|
231
231
|
'The origin server did not find a current representation for'\
|
232
232
|
' the target resource or is not willing to disclose that one'\
|
233
233
|
' exists.',
|
234
|
-
|
234
|
+
DefaultErrorException)
|
235
235
|
.local_error('500',
|
236
236
|
'The server encountered an unexpected condition the prevented'\
|
237
237
|
' it from fulfilling the request.',
|
238
|
-
|
238
|
+
DefaultErrorException))
|
239
239
|
.execute
|
240
240
|
end
|
241
241
|
|
@@ -271,24 +271,24 @@ module ShellDataReportingApIs
|
|
271
271
|
' something that is perceived to be a client\r\n error (e.g.,'\
|
272
272
|
' malformed request syntax, invalid \r\n request message'\
|
273
273
|
' framing, or deceptive request routing).",
|
274
|
-
|
274
|
+
DefaultErrorException)
|
275
275
|
.local_error('401',
|
276
276
|
'The request has not been applied because it lacks valid '\
|
277
277
|
' authentication credentials for the target resource.',
|
278
|
-
|
278
|
+
DefaultErrorException)
|
279
279
|
.local_error('403',
|
280
280
|
'The server understood the request but refuses to authorize it'\
|
281
281
|
'.',
|
282
|
-
|
282
|
+
ErrorUserAccessError1Exception)
|
283
283
|
.local_error('404',
|
284
284
|
'The origin server did not find a current representation for'\
|
285
285
|
' the target resource or is not willing to disclose that one'\
|
286
286
|
' exists.',
|
287
|
-
|
287
|
+
DefaultErrorException)
|
288
288
|
.local_error('500',
|
289
289
|
'The server encountered an unexpected condition the prevented'\
|
290
290
|
' it from fulfilling the request.',
|
291
|
-
|
291
|
+
DefaultErrorException))
|
292
292
|
.execute
|
293
293
|
end
|
294
294
|
|
@@ -324,24 +324,24 @@ module ShellDataReportingApIs
|
|
324
324
|
' something that is perceived to be a client\r\n error (e.g.,'\
|
325
325
|
' malformed request syntax, invalid \r\n request message'\
|
326
326
|
' framing, or deceptive request routing).",
|
327
|
-
|
327
|
+
DefaultErrorException)
|
328
328
|
.local_error('401',
|
329
329
|
'The request has not been applied because it lacks valid '\
|
330
330
|
' authentication credentials for the target resource.',
|
331
|
-
|
331
|
+
DefaultErrorException)
|
332
332
|
.local_error('403',
|
333
333
|
'The server understood the request but refuses to authorize it'\
|
334
334
|
'.',
|
335
|
-
|
335
|
+
ErrorUserAccessError1Exception)
|
336
336
|
.local_error('404',
|
337
337
|
'The origin server did not find a current representation for'\
|
338
338
|
' the target resource or is not willing to disclose that one'\
|
339
339
|
' exists.',
|
340
|
-
|
340
|
+
DefaultErrorException)
|
341
341
|
.local_error('500',
|
342
342
|
'The server encountered an unexpected condition the prevented'\
|
343
343
|
' it from fulfilling the request.',
|
344
|
-
|
344
|
+
DefaultErrorException))
|
345
345
|
.execute
|
346
346
|
end
|
347
347
|
|
@@ -384,24 +384,24 @@ module ShellDataReportingApIs
|
|
384
384
|
' something that is perceived to be a client\r\n error (e.g.,'\
|
385
385
|
' malformed request syntax, invalid \r\n request message'\
|
386
386
|
' framing, or deceptive request routing).",
|
387
|
-
|
387
|
+
DefaultErrorException)
|
388
388
|
.local_error('401',
|
389
389
|
'The request has not been applied because it lacks valid '\
|
390
390
|
' authentication credentials for the target resource.',
|
391
|
-
|
391
|
+
DefaultErrorException)
|
392
392
|
.local_error('403',
|
393
393
|
'The server understood the request but refuses to authorize it'\
|
394
394
|
'.',
|
395
|
-
|
395
|
+
ErrorUserAccessError1Exception)
|
396
396
|
.local_error('404',
|
397
397
|
'The origin server did not find a current representation for'\
|
398
398
|
' the target resource or is not willing to disclose that one'\
|
399
399
|
' exists.',
|
400
|
-
|
400
|
+
DefaultErrorException)
|
401
401
|
.local_error('500',
|
402
402
|
'The server encountered an unexpected condition the prevented'\
|
403
403
|
' it from fulfilling the request.',
|
404
|
-
|
404
|
+
DefaultErrorException))
|
405
405
|
.execute
|
406
406
|
end
|
407
407
|
|
@@ -454,24 +454,24 @@ module ShellDataReportingApIs
|
|
454
454
|
' something that is perceived to be a client\r\n error (e.g.,'\
|
455
455
|
' malformed request syntax, invalid \r\n request message'\
|
456
456
|
' framing, or deceptive request routing).",
|
457
|
-
|
457
|
+
DefaultErrorException)
|
458
458
|
.local_error('401',
|
459
459
|
'The request has not been applied because it lacks valid '\
|
460
460
|
' authentication credentials for the target resource.',
|
461
|
-
|
461
|
+
DefaultErrorException)
|
462
462
|
.local_error('403',
|
463
463
|
'The server understood the request but refuses to authorize it'\
|
464
464
|
'.',
|
465
|
-
|
465
|
+
ErrorUserAccessError1Exception)
|
466
466
|
.local_error('404',
|
467
467
|
'The origin server did not find a current representation for'\
|
468
468
|
' the target resource or is not willing to disclose that one'\
|
469
469
|
' exists.',
|
470
|
-
|
470
|
+
DefaultErrorException)
|
471
471
|
.local_error('500',
|
472
472
|
'The server encountered an unexpected condition the prevented'\
|
473
473
|
' it from fulfilling the request.',
|
474
|
-
|
474
|
+
DefaultErrorException))
|
475
475
|
.execute
|
476
476
|
end
|
477
477
|
end
|
@@ -46,23 +46,23 @@ module ShellDataReportingApIs
|
|
46
46
|
' something that is perceived to be a client error (e.g.,'\
|
47
47
|
' malformed request syntax, invalid request message framing, or'\
|
48
48
|
' deceptive request routing).',
|
49
|
-
|
49
|
+
ErrorObjectException)
|
50
50
|
.local_error('401',
|
51
51
|
'The request has not been applied because it lacks valid '\
|
52
52
|
' authentication credentials for the target resource.',
|
53
|
-
|
53
|
+
ErrorObjectException)
|
54
54
|
.local_error('403',
|
55
55
|
'Forbidden',
|
56
|
-
|
56
|
+
ErrorObjectException)
|
57
57
|
.local_error('404',
|
58
58
|
'The origin server did not find a current representation for'\
|
59
59
|
' the target resource or is not willing to disclose that one'\
|
60
60
|
' exists.',
|
61
|
-
|
61
|
+
ErrorObjectException)
|
62
62
|
.local_error('500',
|
63
63
|
'The server encountered an unexpected condition that prevented'\
|
64
64
|
' it from fulfilling the request.',
|
65
|
-
|
65
|
+
ErrorObjectException))
|
66
66
|
.execute
|
67
67
|
end
|
68
68
|
|
@@ -105,23 +105,23 @@ module ShellDataReportingApIs
|
|
105
105
|
' something that is perceived to be a client error (e.g.,'\
|
106
106
|
' malformed request syntax, invalid request message framing, or'\
|
107
107
|
' deceptive request routing).',
|
108
|
-
|
108
|
+
ErrorObjectException)
|
109
109
|
.local_error('401',
|
110
110
|
'The request has not been applied because it lacks valid '\
|
111
111
|
' authentication credentials for the target resource.',
|
112
|
-
|
112
|
+
ErrorObjectException)
|
113
113
|
.local_error('403',
|
114
114
|
'Forbidden',
|
115
|
-
|
115
|
+
ErrorObjectException)
|
116
116
|
.local_error('404',
|
117
117
|
'The origin server did not find a current representation for'\
|
118
118
|
' the target resource or is not willing to disclose that one'\
|
119
119
|
' exists.',
|
120
|
-
|
120
|
+
ErrorObjectException)
|
121
121
|
.local_error('500',
|
122
122
|
'The server encountered an unexpected condition that prevented'\
|
123
123
|
' it from fulfilling the request.',
|
124
|
-
|
124
|
+
ErrorObjectException))
|
125
125
|
.execute
|
126
126
|
end
|
127
127
|
|
@@ -162,23 +162,23 @@ module ShellDataReportingApIs
|
|
162
162
|
' something that is perceived to be a client error (e.g.,'\
|
163
163
|
' malformed request syntax, invalid request message framing, or'\
|
164
164
|
' deceptive request routing).',
|
165
|
-
|
165
|
+
ErrorObjectException)
|
166
166
|
.local_error('401',
|
167
167
|
'The request has not been applied because it lacks valid '\
|
168
168
|
' authentication credentials for the target resource.',
|
169
|
-
|
169
|
+
ErrorObjectException)
|
170
170
|
.local_error('403',
|
171
171
|
'Forbidden',
|
172
|
-
|
172
|
+
ErrorObjectException)
|
173
173
|
.local_error('404',
|
174
174
|
'The origin server did not find a current representation for'\
|
175
175
|
' the target resource or is not willing to disclose that one'\
|
176
176
|
' exists.',
|
177
|
-
|
177
|
+
ErrorObjectException)
|
178
178
|
.local_error('500',
|
179
179
|
'The server encountered an unexpected condition that prevented'\
|
180
180
|
' it from fulfilling the request.',
|
181
|
-
|
181
|
+
ErrorObjectException))
|
182
182
|
.execute
|
183
183
|
end
|
184
184
|
|
@@ -211,23 +211,23 @@ module ShellDataReportingApIs
|
|
211
211
|
' something that is perceived to be a client error (e.g.,'\
|
212
212
|
' malformed request syntax, invalid request message framing, or'\
|
213
213
|
' deceptive request routing).',
|
214
|
-
|
214
|
+
ErrorObjectException)
|
215
215
|
.local_error('401',
|
216
216
|
'The request has not been applied because it lacks valid '\
|
217
217
|
' authentication credentials for the target resource.',
|
218
|
-
|
218
|
+
ErrorObjectException)
|
219
219
|
.local_error('403',
|
220
220
|
'Forbidden',
|
221
|
-
|
221
|
+
ErrorObjectException)
|
222
222
|
.local_error('404',
|
223
223
|
'The origin server did not find a current representation for'\
|
224
224
|
' the target resource or is not willing to disclose that one'\
|
225
225
|
' exists.',
|
226
|
-
|
226
|
+
ErrorObjectException)
|
227
227
|
.local_error('500',
|
228
228
|
'The server encountered an unexpected condition that prevented'\
|
229
229
|
' it from fulfilling the request.',
|
230
|
-
|
230
|
+
ErrorObjectException))
|
231
231
|
.execute
|
232
232
|
end
|
233
233
|
|
@@ -258,23 +258,23 @@ module ShellDataReportingApIs
|
|
258
258
|
' something that is perceived to be a client error (e.g.,'\
|
259
259
|
' malformed request syntax, invalid request message framing, or'\
|
260
260
|
' deceptive request routing).',
|
261
|
-
|
261
|
+
ErrorObjectException)
|
262
262
|
.local_error('401',
|
263
263
|
'The request has not been applied because it lacks valid '\
|
264
264
|
' authentication credentials for the target resource.',
|
265
|
-
|
265
|
+
ErrorObjectException)
|
266
266
|
.local_error('403',
|
267
267
|
'Forbidden',
|
268
|
-
|
268
|
+
ErrorObjectException)
|
269
269
|
.local_error('404',
|
270
270
|
'The origin server did not find a current representation for'\
|
271
271
|
' the target resource or is not willing to disclose that one'\
|
272
272
|
' exists.',
|
273
|
-
|
273
|
+
ErrorObjectException)
|
274
274
|
.local_error('500',
|
275
275
|
'The server encountered an unexpected condition that prevented'\
|
276
276
|
' it from fulfilling the request.',
|
277
|
-
|
277
|
+
ErrorObjectException))
|
278
278
|
.execute
|
279
279
|
end
|
280
280
|
|
@@ -307,23 +307,23 @@ module ShellDataReportingApIs
|
|
307
307
|
' something that is perceived to be a client error (e.g.,'\
|
308
308
|
' malformed request syntax, invalid request message framing, or'\
|
309
309
|
' deceptive request routing).',
|
310
|
-
|
310
|
+
ErrorObjectException)
|
311
311
|
.local_error('401',
|
312
312
|
'The request has not been applied because it lacks valid '\
|
313
313
|
' authentication credentials for the target resource.',
|
314
|
-
|
314
|
+
ErrorObjectException)
|
315
315
|
.local_error('403',
|
316
316
|
'Forbidden',
|
317
|
-
|
317
|
+
ErrorObjectException)
|
318
318
|
.local_error('404',
|
319
319
|
'The origin server did not find a current representation for'\
|
320
320
|
' the target resource or is not willing to disclose that one'\
|
321
321
|
' exists.',
|
322
|
-
|
322
|
+
ErrorObjectException)
|
323
323
|
.local_error('500',
|
324
324
|
'The server encountered an unexpected condition that prevented'\
|
325
325
|
' it from fulfilling the request.',
|
326
|
-
|
326
|
+
ErrorObjectException))
|
327
327
|
.execute
|
328
328
|
end
|
329
329
|
|
@@ -355,23 +355,23 @@ module ShellDataReportingApIs
|
|
355
355
|
' something that is perceived to be a client error (e.g.,'\
|
356
356
|
' malformed request syntax, invalid request message framing, or'\
|
357
357
|
' deceptive request routing).',
|
358
|
-
|
358
|
+
ErrorObjectException)
|
359
359
|
.local_error('401',
|
360
360
|
'The request has not been applied because it lacks valid '\
|
361
361
|
' authentication credentials for the target resource.',
|
362
|
-
|
362
|
+
ErrorObjectException)
|
363
363
|
.local_error('403',
|
364
364
|
'Forbidden',
|
365
|
-
|
365
|
+
ErrorObjectException)
|
366
366
|
.local_error('404',
|
367
367
|
'The origin server did not find a current representation for'\
|
368
368
|
' the target resource or is not willing to disclose that one'\
|
369
369
|
' exists.',
|
370
|
-
|
370
|
+
ErrorObjectException)
|
371
371
|
.local_error('500',
|
372
372
|
'The server encountered an unexpected condition that prevented'\
|
373
373
|
' it from fulfilling the request.',
|
374
|
-
|
374
|
+
ErrorObjectException))
|
375
375
|
.execute
|
376
376
|
end
|
377
377
|
|
@@ -400,23 +400,23 @@ module ShellDataReportingApIs
|
|
400
400
|
' something that is perceived to be a client error (e.g.,'\
|
401
401
|
' malformed request syntax, invalid request message framing, or'\
|
402
402
|
' deceptive request routing).',
|
403
|
-
|
403
|
+
ErrorObjectException)
|
404
404
|
.local_error('401',
|
405
405
|
'The request has not been applied because it lacks valid '\
|
406
406
|
' authentication credentials for the target resource.',
|
407
|
-
|
407
|
+
ErrorObjectException)
|
408
408
|
.local_error('403',
|
409
409
|
'Forbidden',
|
410
|
-
|
410
|
+
ErrorObjectException)
|
411
411
|
.local_error('404',
|
412
412
|
'The origin server did not find a current representation for'\
|
413
413
|
' the target resource or is not willing to disclose that one'\
|
414
414
|
' exists.',
|
415
|
-
|
415
|
+
ErrorObjectException)
|
416
416
|
.local_error('500',
|
417
417
|
'The server encountered an unexpected condition that prevented'\
|
418
418
|
' it from fulfilling the request.',
|
419
|
-
|
419
|
+
ErrorObjectException))
|
420
420
|
.execute
|
421
421
|
end
|
422
422
|
|
@@ -447,23 +447,23 @@ module ShellDataReportingApIs
|
|
447
447
|
' something that is perceived to be a client error (e.g.,'\
|
448
448
|
' malformed request syntax, invalid request message framing, or'\
|
449
449
|
' deceptive request routing).',
|
450
|
-
|
450
|
+
ErrorObjectException)
|
451
451
|
.local_error('401',
|
452
452
|
'The request has not been applied because it lacks valid '\
|
453
453
|
' authentication credentials for the target resource.',
|
454
|
-
|
454
|
+
ErrorObjectException)
|
455
455
|
.local_error('403',
|
456
456
|
'Forbidden',
|
457
|
-
|
457
|
+
ErrorObjectException)
|
458
458
|
.local_error('404',
|
459
459
|
'The origin server did not find a current representation for'\
|
460
460
|
' the target resource or is not willing to disclose that one'\
|
461
461
|
' exists.',
|
462
|
-
|
462
|
+
ErrorObjectException)
|
463
463
|
.local_error('500',
|
464
464
|
'The server encountered an unexpected condition that prevented'\
|
465
465
|
' it from fulfilling the request.',
|
466
|
-
|
466
|
+
ErrorObjectException))
|
467
467
|
.execute
|
468
468
|
end
|
469
469
|
end
|
@@ -19,7 +19,7 @@ module ShellDataReportingApIs
|
|
19
19
|
_field_parameters: nil)
|
20
20
|
new_api_call_builder
|
21
21
|
.request(new_request_builder(HttpMethodEnum::POST,
|
22
|
-
'/
|
22
|
+
'/v2/oauth/token',
|
23
23
|
Server::OAUTH_SERVER)
|
24
24
|
.form_param(new_parameter('client_credentials', key: 'grant_type'))
|
25
25
|
.header_param(new_parameter(authorization, key: 'Authorization'))
|