data-and-reporting-sdk 2.0.0 → 3.0.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 +67 -17
- data/bin/console +15 -0
- data/lib/shell_data_reporting_ap_is/client.rb +17 -2
- data/lib/shell_data_reporting_ap_is/configuration.rb +132 -6
- data/lib/shell_data_reporting_ap_is/controllers/customer_controller.rb +97 -97
- data/lib/shell_data_reporting_ap_is/controllers/invoice_controller.rb +45 -45
- data/lib/shell_data_reporting_ap_is/controllers/transaction_controller.rb +66 -66
- data/lib/shell_data_reporting_ap_is/exceptions/customer_management_v1_accounts400_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/customer_management_v1_accounts401_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/customer_management_v1_accounts403_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/customer_management_v1_accounts404_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/customer_management_v1_accounts500_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/customer_management_v1_auditreport400_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/customer_management_v1_auditreport401_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/customer_management_v1_auditreport403_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/customer_management_v1_auditreport404_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/customer_management_v1_auditreport500_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/customer_management_v1_cardgroups400_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/customer_management_v1_cardgroups401_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/customer_management_v1_cardgroups403_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/customer_management_v1_cardgroups404_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/customer_management_v1_cardgroups500_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/customer_management_v1_customer400_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/customer_management_v1_customer401_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/customer_management_v1_customer403_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/customer_management_v1_customer404_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/customer_management_v1_customer500_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/customer_management_v1_payers400_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/customer_management_v1_payers401_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/customer_management_v1_payers403_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/customer_management_v1_payers404_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/customer_management_v1_payers500_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/customer_management_v1_pricelist400_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/customer_management_v1_pricelist401_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/customer_management_v1_pricelist403_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/customer_management_v1_pricelist404_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/customer_management_v1_pricelist500_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/customer_management_v2_cardtype400_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/customer_management_v2_cardtype401_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/customer_management_v2_cardtype403_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/customer_management_v2_cardtype404_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/customer_management_v2_cardtype500_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_dates400_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_dates401_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_dates403_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_dates404_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_dates500_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_download400_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_download401_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_download403_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_download404_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_download500_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eiddownload400_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eiddownload401_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eiddownload403_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eiddownload404_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eiddownload500_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eidsearch400_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eidsearch401_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eidsearch403_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eidsearch404_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eidsearch500_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_search400_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_search401_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_search403_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_search404_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_search500_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchdocuments400_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchdocuments401_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchdocuments403_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchdocuments404_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchdocuments500_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchstatementofaccount400_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchstatementofaccount401_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchstatementofaccount403_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchstatementofaccount404_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchstatementofaccount500_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_statementofaccount400_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_statementofaccount401_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_statementofaccount403_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_statementofaccount404_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_statementofaccount500_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_summary400_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_summary401_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_summary403_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_summary404_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_summary500_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_cardusagesummary400_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_cardusagesummary401_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_cardusagesummary403_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_cardusagesummary404_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_cardusagesummary500_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_exceptions400_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_exceptions401_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_exceptions403_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_exceptions404_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_exceptions500_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/{error_object_exception.rb → transaction_data_v1_fees400_error_exception.rb} +2 -2
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_fees401_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_fees403_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_fees404_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_fees500_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_feessummary400_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_feessummary401_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_feessummary403_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_feessummary404_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_feessummary500_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_fuelconsumption400_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_fuelconsumption401_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_fuelconsumption403_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_fuelconsumption404_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_fuelconsumption500_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_multipayerspricedtransactions400_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_multipayerspricedtransactions401_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_multipayerspricedtransactions403_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_multipayerspricedtransactions404_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_multipayerspricedtransactions500_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_priced400_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_priced401_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_priced403_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_priced404_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_priced500_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_pricedtransaction400_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_pricedtransaction401_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_pricedtransaction403_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_pricedtransaction404_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_pricedtransaction500_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_pricedtransactionssummary400_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_pricedtransactionssummary401_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_pricedtransactionssummary403_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_pricedtransactionssummary404_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_pricedtransactionssummary500_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_recent400_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_recent401_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_recent403_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_recent404_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_recent500_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_updateodometer400_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_updateodometer401_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_updateodometer403_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_updateodometer404_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_updateodometer500_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_volumebasedbonus400_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_volumebasedbonus401_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_volumebasedbonus403_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_volumebasedbonus404_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_volumebasedbonus500_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_volumebasedpricing400_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_volumebasedpricing401_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_volumebasedpricing403_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_volumebasedpricing404_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_volumebasedpricing500_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/user_management_v1_loggedinuser400_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/user_management_v1_loggedinuser401_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/user_management_v1_loggedinuser403_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/user_management_v1_loggedinuser404_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/exceptions/user_management_v1_loggedinuser500_error_exception.rb +69 -0
- data/lib/shell_data_reporting_ap_is/http/auth/o_auth2.rb +15 -0
- data/lib/shell_data_reporting_ap_is/http/proxy_settings.rb +9 -0
- data/lib/shell_data_reporting_ap_is/models/card_type_response_customer_card_types_items.rb +164 -289
- data/lib/shell_data_reporting_ap_is/models/cart_type_account.rb +161 -0
- data/lib/shell_data_reporting_ap_is/models/eid_document.rb +5 -21
- data/lib/shell_data_reporting_ap_is/models/eid_document_response.rb +18 -18
- data/lib/shell_data_reporting_ap_is/models/eid_search_req.rb +4 -20
- data/lib/shell_data_reporting_ap_is/models/error_object.rb +93 -0
- data/lib/shell_data_reporting_ap_is/models/filters.rb +4 -1
- data/lib/shell_data_reporting_ap_is/models/o_auth_provider_error_enum.rb +17 -0
- data/lib/shell_data_reporting_ap_is/models/priced_request_data.rb +4 -1
- data/lib/shell_data_reporting_ap_is/models/priced_transaction_req_v2_invoice_status_enum.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/priced_transaction_req_v2_period_enum.rb +20 -0
- data/lib/shell_data_reporting_ap_is/models/priced_transaction_req_v2_sort_order_enum.rb +17 -0
- data/lib/shell_data_reporting_ap_is/models/priced_transaction_resp_v2_refund_flag_enum.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/recent_transaction_req.rb +1 -1
- data/lib/shell_data_reporting_ap_is/models/search_doc_req.rb +16 -35
- data/lib/shell_data_reporting_ap_is/models/search_documents_invoice.rb +20 -19
- data/lib/shell_data_reporting_ap_is/models/search_documents_response.rb +15 -15
- data/lib/shell_data_reporting_ap_is/models/transaction_fees_request.rb +57 -16
- data/lib/shell_data_reporting_ap_is.rb +317 -1
- data/test/controllers/controller_test_base.rb +3 -8
- data/test/controllers/test_invoice_controller.rb +25 -27
- data/test/controllers/test_transaction_controller.rb +8 -8
- metadata +159 -7
|
@@ -161,6 +161,7 @@ require_relative 'shell_data_reporting_ap_is/models/recent_transaction_req'
|
|
|
161
161
|
require_relative 'shell_data_reporting_ap_is/models/' \
|
|
162
162
|
'recent_transactions_response'
|
|
163
163
|
require_relative 'shell_data_reporting_ap_is/models/recent_transactions'
|
|
164
|
+
require_relative 'shell_data_reporting_ap_is/models/error_object'
|
|
164
165
|
require_relative 'shell_data_reporting_ap_is/models/error_details'
|
|
165
166
|
require_relative 'shell_data_reporting_ap_is/models/' \
|
|
166
167
|
'priced_transaction_request_v2'
|
|
@@ -229,6 +230,7 @@ require_relative 'shell_data_reporting_ap_is/models/filters'
|
|
|
229
230
|
require_relative 'shell_data_reporting_ap_is/models/last_statement_of_account2'
|
|
230
231
|
require_relative 'shell_data_reporting_ap_is/models/location'
|
|
231
232
|
require_relative 'shell_data_reporting_ap_is/models/warning'
|
|
233
|
+
require_relative 'shell_data_reporting_ap_is/models/cart_type_account'
|
|
232
234
|
require_relative 'shell_data_reporting_ap_is/models/o_auth_token'
|
|
233
235
|
require_relative 'shell_data_reporting_ap_is/models/' \
|
|
234
236
|
'priced_transaction_req_v2_invoice_status_enum'
|
|
@@ -242,7 +244,321 @@ require_relative 'shell_data_reporting_ap_is/models/o_auth_provider_error_enum'
|
|
|
242
244
|
|
|
243
245
|
# Exceptions
|
|
244
246
|
require_relative 'shell_data_reporting_ap_is/exceptions/api_exception'
|
|
245
|
-
require_relative 'shell_data_reporting_ap_is/exceptions/
|
|
247
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
248
|
+
'customer_management_v1_accounts400_error_exception'
|
|
249
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
250
|
+
'customer_management_v1_accounts401_error_exception'
|
|
251
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
252
|
+
'customer_management_v1_accounts403_error_exception'
|
|
253
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
254
|
+
'customer_management_v1_accounts404_error_exception'
|
|
255
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
256
|
+
'customer_management_v1_accounts500_error_exception'
|
|
257
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
258
|
+
'customer_management_v1_auditreport400_error_exception'
|
|
259
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
260
|
+
'customer_management_v1_auditreport401_error_exception'
|
|
261
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
262
|
+
'customer_management_v1_auditreport403_error_exception'
|
|
263
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
264
|
+
'customer_management_v1_auditreport404_error_exception'
|
|
265
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
266
|
+
'customer_management_v1_auditreport500_error_exception'
|
|
267
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
268
|
+
'customer_management_v1_cardgroups400_error_exception'
|
|
269
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
270
|
+
'customer_management_v1_cardgroups401_error_exception'
|
|
271
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
272
|
+
'customer_management_v1_cardgroups403_error_exception'
|
|
273
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
274
|
+
'customer_management_v1_cardgroups404_error_exception'
|
|
275
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
276
|
+
'customer_management_v1_cardgroups500_error_exception'
|
|
277
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
278
|
+
'customer_management_v1_customer400_error_exception'
|
|
279
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
280
|
+
'customer_management_v1_customer401_error_exception'
|
|
281
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
282
|
+
'customer_management_v1_customer403_error_exception'
|
|
283
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
284
|
+
'customer_management_v1_customer404_error_exception'
|
|
285
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
286
|
+
'customer_management_v1_customer500_error_exception'
|
|
287
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
288
|
+
'customer_management_v1_payers400_error_exception'
|
|
289
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
290
|
+
'customer_management_v1_payers401_error_exception'
|
|
291
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
292
|
+
'customer_management_v1_payers403_error_exception'
|
|
293
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
294
|
+
'customer_management_v1_payers404_error_exception'
|
|
295
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
296
|
+
'customer_management_v1_payers500_error_exception'
|
|
297
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
298
|
+
'customer_management_v1_pricelist400_error_exception'
|
|
299
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
300
|
+
'customer_management_v1_pricelist401_error_exception'
|
|
301
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
302
|
+
'customer_management_v1_pricelist403_error_exception'
|
|
303
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
304
|
+
'customer_management_v1_pricelist404_error_exception'
|
|
305
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
306
|
+
'customer_management_v1_pricelist500_error_exception'
|
|
307
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
308
|
+
'customer_management_v2_cardtype400_error_exception'
|
|
309
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
310
|
+
'customer_management_v2_cardtype401_error_exception'
|
|
311
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
312
|
+
'customer_management_v2_cardtype403_error_exception'
|
|
313
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
314
|
+
'customer_management_v2_cardtype404_error_exception'
|
|
315
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
316
|
+
'customer_management_v2_cardtype500_error_exception'
|
|
317
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
318
|
+
'invoice_management_v1_dates400_error_exception'
|
|
319
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
320
|
+
'invoice_management_v1_dates401_error_exception'
|
|
321
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
322
|
+
'invoice_management_v1_dates403_error_exception'
|
|
323
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
324
|
+
'invoice_management_v1_dates404_error_exception'
|
|
325
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
326
|
+
'invoice_management_v1_dates500_error_exception'
|
|
327
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
328
|
+
'invoice_management_v1_download400_error_exception'
|
|
329
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
330
|
+
'invoice_management_v1_download401_error_exception'
|
|
331
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
332
|
+
'invoice_management_v1_download403_error_exception'
|
|
333
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
334
|
+
'invoice_management_v1_download404_error_exception'
|
|
335
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
336
|
+
'invoice_management_v1_download500_error_exception'
|
|
337
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
338
|
+
'invoice_management_v1_eiddownload400_error_exception'
|
|
339
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
340
|
+
'invoice_management_v1_eiddownload401_error_exception'
|
|
341
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
342
|
+
'invoice_management_v1_eiddownload403_error_exception'
|
|
343
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
344
|
+
'invoice_management_v1_eiddownload404_error_exception'
|
|
345
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
346
|
+
'invoice_management_v1_eiddownload500_error_exception'
|
|
347
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
348
|
+
'invoice_management_v1_eidsearch400_error_exception'
|
|
349
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
350
|
+
'invoice_management_v1_eidsearch401_error_exception'
|
|
351
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
352
|
+
'invoice_management_v1_eidsearch403_error_exception'
|
|
353
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
354
|
+
'invoice_management_v1_eidsearch404_error_exception'
|
|
355
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
356
|
+
'invoice_management_v1_eidsearch500_error_exception'
|
|
357
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
358
|
+
'invoice_management_v1_search400_error_exception'
|
|
359
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
360
|
+
'invoice_management_v1_search401_error_exception'
|
|
361
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
362
|
+
'invoice_management_v1_search403_error_exception'
|
|
363
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
364
|
+
'invoice_management_v1_search404_error_exception'
|
|
365
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
366
|
+
'invoice_management_v1_search500_error_exception'
|
|
367
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
368
|
+
'invoice_management_v1_searchdocuments400_error_exception'
|
|
369
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
370
|
+
'invoice_management_v1_searchdocuments401_error_exception'
|
|
371
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
372
|
+
'invoice_management_v1_searchdocuments403_error_exception'
|
|
373
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
374
|
+
'invoice_management_v1_searchdocuments404_error_exception'
|
|
375
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
376
|
+
'invoice_management_v1_searchdocuments500_error_exception'
|
|
377
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
378
|
+
'invoice_management_v1_searchstatemento' \
|
|
379
|
+
'faccount400_error_exception'
|
|
380
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
381
|
+
'invoice_management_v1_searchstatemento' \
|
|
382
|
+
'faccount401_error_exception'
|
|
383
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
384
|
+
'invoice_management_v1_searchstatemento' \
|
|
385
|
+
'faccount403_error_exception'
|
|
386
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
387
|
+
'invoice_management_v1_searchstatemento' \
|
|
388
|
+
'faccount404_error_exception'
|
|
389
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
390
|
+
'invoice_management_v1_searchstatemento' \
|
|
391
|
+
'faccount500_error_exception'
|
|
392
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
393
|
+
'invoice_management_v1_statementofaccount400_error_exception'
|
|
394
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
395
|
+
'invoice_management_v1_statementofaccount401_error_exception'
|
|
396
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
397
|
+
'invoice_management_v1_statementofaccount403_error_exception'
|
|
398
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
399
|
+
'invoice_management_v1_statementofaccount404_error_exception'
|
|
400
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
401
|
+
'invoice_management_v1_statementofaccount500_error_exception'
|
|
402
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
403
|
+
'invoice_management_v1_summary400_error_exception'
|
|
404
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
405
|
+
'invoice_management_v1_summary401_error_exception'
|
|
406
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
407
|
+
'invoice_management_v1_summary403_error_exception'
|
|
408
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
409
|
+
'invoice_management_v1_summary404_error_exception'
|
|
410
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
411
|
+
'invoice_management_v1_summary500_error_exception'
|
|
412
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
413
|
+
'transaction_data_v1_cardusagesummary400_error_exception'
|
|
414
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
415
|
+
'transaction_data_v1_cardusagesummary401_error_exception'
|
|
416
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
417
|
+
'transaction_data_v1_cardusagesummary403_error_exception'
|
|
418
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
419
|
+
'transaction_data_v1_cardusagesummary404_error_exception'
|
|
420
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
421
|
+
'transaction_data_v1_cardusagesummary500_error_exception'
|
|
422
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
423
|
+
'transaction_data_v1_exceptions400_error_exception'
|
|
424
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
425
|
+
'transaction_data_v1_exceptions401_error_exception'
|
|
426
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
427
|
+
'transaction_data_v1_exceptions403_error_exception'
|
|
428
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
429
|
+
'transaction_data_v1_exceptions404_error_exception'
|
|
430
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
431
|
+
'transaction_data_v1_exceptions500_error_exception'
|
|
432
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
433
|
+
'transaction_data_v1_fees400_error_exception'
|
|
434
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
435
|
+
'transaction_data_v1_fees401_error_exception'
|
|
436
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
437
|
+
'transaction_data_v1_fees403_error_exception'
|
|
438
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
439
|
+
'transaction_data_v1_fees404_error_exception'
|
|
440
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
441
|
+
'transaction_data_v1_fees500_error_exception'
|
|
442
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
443
|
+
'transaction_data_v1_feessummary400_error_exception'
|
|
444
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
445
|
+
'transaction_data_v1_feessummary401_error_exception'
|
|
446
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
447
|
+
'transaction_data_v1_feessummary403_error_exception'
|
|
448
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
449
|
+
'transaction_data_v1_feessummary404_error_exception'
|
|
450
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
451
|
+
'transaction_data_v1_feessummary500_error_exception'
|
|
452
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
453
|
+
'transaction_data_v1_fuelconsumption400_error_exception'
|
|
454
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
455
|
+
'transaction_data_v1_fuelconsumption401_error_exception'
|
|
456
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
457
|
+
'transaction_data_v1_fuelconsumption403_error_exception'
|
|
458
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
459
|
+
'transaction_data_v1_fuelconsumption404_error_exception'
|
|
460
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
461
|
+
'transaction_data_v1_fuelconsumption500_error_exception'
|
|
462
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
463
|
+
'transaction_data_v1_multipayerspricedt' \
|
|
464
|
+
'ransactions400_error_exception'
|
|
465
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
466
|
+
'transaction_data_v1_multipayerspricedt' \
|
|
467
|
+
'ransactions401_error_exception'
|
|
468
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
469
|
+
'transaction_data_v1_multipayerspricedt' \
|
|
470
|
+
'ransactions403_error_exception'
|
|
471
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
472
|
+
'transaction_data_v1_multipayerspricedt' \
|
|
473
|
+
'ransactions404_error_exception'
|
|
474
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
475
|
+
'transaction_data_v1_multipayerspricedt' \
|
|
476
|
+
'ransactions500_error_exception'
|
|
477
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
478
|
+
'transaction_data_v1_priced400_error_exception'
|
|
479
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
480
|
+
'transaction_data_v1_priced401_error_exception'
|
|
481
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
482
|
+
'transaction_data_v1_priced403_error_exception'
|
|
483
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
484
|
+
'transaction_data_v1_priced404_error_exception'
|
|
485
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
486
|
+
'transaction_data_v1_priced500_error_exception'
|
|
487
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
488
|
+
'transaction_data_v1_pricedtransaction400_error_exception'
|
|
489
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
490
|
+
'transaction_data_v1_pricedtransaction401_error_exception'
|
|
491
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
492
|
+
'transaction_data_v1_pricedtransaction403_error_exception'
|
|
493
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
494
|
+
'transaction_data_v1_pricedtransaction404_error_exception'
|
|
495
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
496
|
+
'transaction_data_v1_pricedtransaction500_error_exception'
|
|
497
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
498
|
+
'transaction_data_v1_pricedtransactions' \
|
|
499
|
+
'summary400_error_exception'
|
|
500
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
501
|
+
'transaction_data_v1_pricedtransactions' \
|
|
502
|
+
'summary401_error_exception'
|
|
503
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
504
|
+
'transaction_data_v1_pricedtransactions' \
|
|
505
|
+
'summary403_error_exception'
|
|
506
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
507
|
+
'transaction_data_v1_pricedtransactions' \
|
|
508
|
+
'summary404_error_exception'
|
|
509
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
510
|
+
'transaction_data_v1_pricedtransactions' \
|
|
511
|
+
'summary500_error_exception'
|
|
512
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
513
|
+
'transaction_data_v1_recent400_error_exception'
|
|
514
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
515
|
+
'transaction_data_v1_recent401_error_exception'
|
|
516
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
517
|
+
'transaction_data_v1_recent403_error_exception'
|
|
518
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
519
|
+
'transaction_data_v1_recent404_error_exception'
|
|
520
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
521
|
+
'transaction_data_v1_recent500_error_exception'
|
|
522
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
523
|
+
'transaction_data_v1_updateodometer400_error_exception'
|
|
524
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
525
|
+
'transaction_data_v1_updateodometer401_error_exception'
|
|
526
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
527
|
+
'transaction_data_v1_updateodometer403_error_exception'
|
|
528
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
529
|
+
'transaction_data_v1_updateodometer404_error_exception'
|
|
530
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
531
|
+
'transaction_data_v1_updateodometer500_error_exception'
|
|
532
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
533
|
+
'transaction_data_v1_volumebasedbonus400_error_exception'
|
|
534
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
535
|
+
'transaction_data_v1_volumebasedbonus401_error_exception'
|
|
536
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
537
|
+
'transaction_data_v1_volumebasedbonus403_error_exception'
|
|
538
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
539
|
+
'transaction_data_v1_volumebasedbonus404_error_exception'
|
|
540
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
541
|
+
'transaction_data_v1_volumebasedbonus500_error_exception'
|
|
542
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
543
|
+
'transaction_data_v1_volumebasedpricing400_error_exception'
|
|
544
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
545
|
+
'transaction_data_v1_volumebasedpricing401_error_exception'
|
|
546
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
547
|
+
'transaction_data_v1_volumebasedpricing403_error_exception'
|
|
548
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
549
|
+
'transaction_data_v1_volumebasedpricing404_error_exception'
|
|
550
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
551
|
+
'transaction_data_v1_volumebasedpricing500_error_exception'
|
|
552
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
553
|
+
'user_management_v1_loggedinuser400_error_exception'
|
|
554
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
555
|
+
'user_management_v1_loggedinuser401_error_exception'
|
|
556
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
557
|
+
'user_management_v1_loggedinuser403_error_exception'
|
|
558
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
559
|
+
'user_management_v1_loggedinuser404_error_exception'
|
|
560
|
+
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
561
|
+
'user_management_v1_loggedinuser500_error_exception'
|
|
246
562
|
require_relative 'shell_data_reporting_ap_is/exceptions/' \
|
|
247
563
|
'o_auth_provider_exception'
|
|
248
564
|
|
|
@@ -16,14 +16,9 @@ class ControllerTestBase < Minitest::Test
|
|
|
16
16
|
include ShellDataReportingApIs
|
|
17
17
|
include CoreLibrary
|
|
18
18
|
|
|
19
|
-
# Create configuration and set any test parameters
|
|
20
|
-
def create_configuration
|
|
21
|
-
Configuration.new(http_callback: HttpResponseCatcher.new)
|
|
22
|
-
end
|
|
23
|
-
|
|
24
19
|
# Initializes the base test controller
|
|
25
20
|
def setup_class
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
end
|
|
21
|
+
@client = Client.from_env(http_callback: HttpResponseCatcher.new)
|
|
22
|
+
|
|
23
|
+
_config = @client.config end
|
|
29
24
|
end
|
|
@@ -46,7 +46,7 @@ class InvoiceControllerTest < ControllerTestBase
|
|
|
46
46
|
assert_equal(200, @response_catcher.response.status_code)
|
|
47
47
|
# Test headers
|
|
48
48
|
expected_headers = {}
|
|
49
|
-
expected_headers['content-type'] = 'application/json'
|
|
49
|
+
expected_headers['content-type'] = 'application/json; charset=utf-8'
|
|
50
50
|
|
|
51
51
|
assert(ComparisonHelper.match_headers(expected_headers, @response_catcher.response.headers))
|
|
52
52
|
|
|
@@ -115,7 +115,7 @@ class InvoiceControllerTest < ControllerTestBase
|
|
|
115
115
|
assert_equal(200, @response_catcher.response.status_code)
|
|
116
116
|
# Test headers
|
|
117
117
|
expected_headers = {}
|
|
118
|
-
expected_headers['content-type'] = 'application/json'
|
|
118
|
+
expected_headers['content-type'] = 'application/json; charset=utf-8'
|
|
119
119
|
|
|
120
120
|
assert(ComparisonHelper.match_headers(expected_headers, @response_catcher.response.headers))
|
|
121
121
|
|
|
@@ -158,7 +158,7 @@ class InvoiceControllerTest < ControllerTestBase
|
|
|
158
158
|
assert_equal(200, @response_catcher.response.status_code)
|
|
159
159
|
# Test headers
|
|
160
160
|
expected_headers = {}
|
|
161
|
-
expected_headers['content-type'] = 'application/json'
|
|
161
|
+
expected_headers['content-type'] = 'application/json; charset=utf-8'
|
|
162
162
|
|
|
163
163
|
assert(ComparisonHelper.match_headers(expected_headers, @response_catcher.response.headers))
|
|
164
164
|
|
|
@@ -216,7 +216,7 @@ class InvoiceControllerTest < ControllerTestBase
|
|
|
216
216
|
assert_equal(200, @response_catcher.response.status_code)
|
|
217
217
|
# Test headers
|
|
218
218
|
expected_headers = {}
|
|
219
|
-
expected_headers['content-type'] = 'application/json'
|
|
219
|
+
expected_headers['content-type'] = 'application/json; charset=utf-8'
|
|
220
220
|
|
|
221
221
|
assert(ComparisonHelper.match_headers(expected_headers, @response_catcher.response.headers))
|
|
222
222
|
|
|
@@ -248,7 +248,7 @@ class InvoiceControllerTest < ControllerTestBase
|
|
|
248
248
|
assert_equal(200, @response_catcher.response.status_code)
|
|
249
249
|
# Test headers
|
|
250
250
|
expected_headers = {}
|
|
251
|
-
expected_headers['content-type'] = 'application/json'
|
|
251
|
+
expected_headers['content-type'] = 'application/json; charset=utf-8'
|
|
252
252
|
|
|
253
253
|
assert(ComparisonHelper.match_headers(expected_headers, @response_catcher.response.headers))
|
|
254
254
|
|
|
@@ -274,12 +274,11 @@ class InvoiceControllerTest < ControllerTestBase
|
|
|
274
274
|
body = SearchDocumentsRequest.from_hash(APIHelper.json_deserialize(
|
|
275
275
|
'{"Filters":{"PayerNumber":"DE00000096","AccountNumber":"DE00000096","Co'\
|
|
276
276
|
'lCoCode":14,"AccountNumberList":["DE00000123","DE00000225"],"InvoiceNum'\
|
|
277
|
-
'ber":"1234567","InvoiceNumberList":["6400013693","9421000010"],"
|
|
278
|
-
'
|
|
279
|
-
'
|
|
280
|
-
'
|
|
281
|
-
'
|
|
282
|
-
'ageSize":"50"}', false))
|
|
277
|
+
'ber":"1234567","InvoiceNumberList":["6400013693","9421000010"],"Issuing'\
|
|
278
|
+
'DateFrom":"2023/05/01","IssuingDateTo":"2023/06/30","DueDateFrom":"2023'\
|
|
279
|
+
'/05/04","DueDateTo":"2023/06/30","GrossAmount":"1000","GrossAmountOpera'\
|
|
280
|
+
'tor":"LT","DocumentType":"SOA","VATIssuerCountry":"DE","SortyBy":["Invo'\
|
|
281
|
+
'iceNumber ASC","InvoiceDate DESC"]},"Page":"1","PageSize":"50"}', false))
|
|
283
282
|
|
|
284
283
|
# Perform the API call through the SDK function
|
|
285
284
|
result = @controller.search_documents(request_id, body: body)
|
|
@@ -288,7 +287,7 @@ class InvoiceControllerTest < ControllerTestBase
|
|
|
288
287
|
assert_equal(200, @response_catcher.response.status_code)
|
|
289
288
|
# Test headers
|
|
290
289
|
expected_headers = {}
|
|
291
|
-
expected_headers['content-type'] = 'application/json'
|
|
290
|
+
expected_headers['content-type'] = 'application/json; charset=utf-8'
|
|
292
291
|
|
|
293
292
|
assert(ComparisonHelper.match_headers(expected_headers, @response_catcher.response.headers))
|
|
294
293
|
|
|
@@ -296,12 +295,12 @@ class InvoiceControllerTest < ControllerTestBase
|
|
|
296
295
|
refute_nil(result)
|
|
297
296
|
expected_body = JSON.parse(
|
|
298
297
|
'{"RequestId":"a8b81c1d-f44a-4365-8113-8958061c0b7e","Status":"SUCCESS",'\
|
|
299
|
-
'"
|
|
300
|
-
'
|
|
301
|
-
'
|
|
302
|
-
'
|
|
303
|
-
'
|
|
304
|
-
'"
|
|
298
|
+
'"Invoices":[{"DocumentReference":311161,"InvoiceNumber":"6400013693","P'\
|
|
299
|
+
'ayerName":"DE00000096","AccountNumber":"DE00000096","AccountName":"DE00'\
|
|
300
|
+
'000096","DocumentType":"NAT","GrossAmount":-3141.93,"NetAmount":0,"TaxA'\
|
|
301
|
+
'mount":0,"CurrencyCode":"EUR","InvoiceDate":"2023/01/31","DueDate":"202'\
|
|
302
|
+
'3/02/07","VATCountryISOCode":"DE"}],"TotalRecords":2,"TotalRecordsOnPag'\
|
|
303
|
+
'e":2,"IsFirstPage":true,"IsLastPage":true}'
|
|
305
304
|
)
|
|
306
305
|
received_body = JSON.parse(@response_catcher.response.raw_body)
|
|
307
306
|
assert(ComparisonHelper.match_body(expected_body, received_body))
|
|
@@ -314,8 +313,8 @@ class InvoiceControllerTest < ControllerTestBase
|
|
|
314
313
|
body = EIDSearchRequest.from_hash(APIHelper.json_deserialize(
|
|
315
314
|
'{"Filters":{"ColCoCode":32,"AccountGroupCountry":32,"AccountGroupId":["'\
|
|
316
315
|
'122"],"AccountGroupName":null,"FromDate":"2017/08/30","ToDate":"2017/10'\
|
|
317
|
-
'/31","InvoiceType":"NAT","
|
|
318
|
-
'
|
|
316
|
+
'/31","InvoiceType":"NAT","SortBy":["DocumentDate ASC"]},"Page":1,"PageS'\
|
|
317
|
+
'ize":10}', false))
|
|
319
318
|
|
|
320
319
|
# Perform the API call through the SDK function
|
|
321
320
|
result = @controller.eid_search(request_id, body: body)
|
|
@@ -324,7 +323,7 @@ class InvoiceControllerTest < ControllerTestBase
|
|
|
324
323
|
assert_equal(200, @response_catcher.response.status_code)
|
|
325
324
|
# Test headers
|
|
326
325
|
expected_headers = {}
|
|
327
|
-
expected_headers['content-type'] = 'application/json'
|
|
326
|
+
expected_headers['content-type'] = 'application/json; charset=utf-8'
|
|
328
327
|
|
|
329
328
|
assert(ComparisonHelper.match_headers(expected_headers, @response_catcher.response.headers))
|
|
330
329
|
|
|
@@ -332,12 +331,11 @@ class InvoiceControllerTest < ControllerTestBase
|
|
|
332
331
|
refute_nil(result)
|
|
333
332
|
expected_body = JSON.parse(
|
|
334
333
|
'{"RequestId":"a0a1596f-b242-4672-b513-66c5e5554195","Status":"SUCCESS",'\
|
|
335
|
-
'"
|
|
336
|
-
'EID-122","DocumentType":"INT","DocumentFormat":"FLAT","DocumentDate
|
|
337
|
-
'
|
|
338
|
-
'
|
|
339
|
-
'
|
|
340
|
-
'lse}'
|
|
334
|
+
'"Document":[{"DocumentId":15029,"AccountGroupId":"122","AccountGroupNam'\
|
|
335
|
+
'e":"EID-122","DocumentType":"INT","DocumentFormat":"FLAT","DocumentDate'\
|
|
336
|
+
'":"2022/12/28","NumberOfInvoices":1,"FileSize":1624,"DocumentName":"032'\
|
|
337
|
+
'_122_INT_28122022.TXT"}],"PageSize":1,"Page":1,"TotalPages":12,"TotalRe'\
|
|
338
|
+
'cords":120,"IsFirstPage":true,"IsLastPage":false}'
|
|
341
339
|
)
|
|
342
340
|
received_body = JSON.parse(@response_catcher.response.raw_body)
|
|
343
341
|
assert(ComparisonHelper.match_body(expected_body, received_body))
|
|
@@ -39,12 +39,12 @@ class TransactionControllerTest < ControllerTestBase
|
|
|
39
39
|
body = RecentTransactionRequest.from_hash(APIHelper.json_deserialize(
|
|
40
40
|
'{"PageSize":1,"Page":1,"Filters":{"ColCoCode":14,"PayerNumber":"GB00001'\
|
|
41
41
|
'232","AccountNumber":"GB00001233","ProductCode":"22","PurchasedInCountr'\
|
|
42
|
-
'y":"GB","CardPAN":"
|
|
43
|
-
':03.000","ToDateTime":"2020-12-09 13:56:03.000","TransactionStatus":"
|
|
44
|
-
'
|
|
45
|
-
'
|
|
46
|
-
'Mathew","ColumnList":"PayerNumber,AccountNumber,ProductName,FuelVolume
|
|
47
|
-
'PAN"}}', false))
|
|
42
|
+
'y":"GB","CardPAN":"7002051006629890645","FromDateTime":"2020-11-09 13:5'\
|
|
43
|
+
'6:03.000","ToDateTime":"2020-12-09 13:56:03.000","TransactionStatus":"A'\
|
|
44
|
+
'PPROVED","FuelOnly":"False","ProductGroupName":"Motor gasoline","Vehicl'\
|
|
45
|
+
'eRegistrationNumber":"YG67OUM","IncludeDeclines":true,"CardIssuerName":'\
|
|
46
|
+
'"Mathew","ColumnList":"PayerNumber,AccountNumber,ProductName,FuelVolume'\
|
|
47
|
+
',PAN"}}', false))
|
|
48
48
|
|
|
49
49
|
# Perform the API call through the SDK function
|
|
50
50
|
result = @controller.recent_transactions_new(request_id, body: body)
|
|
@@ -53,7 +53,7 @@ class TransactionControllerTest < ControllerTestBase
|
|
|
53
53
|
assert_equal(200, @response_catcher.response.status_code)
|
|
54
54
|
# Test headers
|
|
55
55
|
expected_headers = {}
|
|
56
|
-
expected_headers['content-type'] = 'application/json'
|
|
56
|
+
expected_headers['content-type'] = 'application/json; charset=utf-8'
|
|
57
57
|
|
|
58
58
|
assert(ComparisonHelper.match_headers(expected_headers, @response_catcher.response.headers))
|
|
59
59
|
|
|
@@ -157,7 +157,7 @@ class TransactionControllerTest < ControllerTestBase
|
|
|
157
157
|
assert_equal(200, @response_catcher.response.status_code)
|
|
158
158
|
# Test headers
|
|
159
159
|
expected_headers = {}
|
|
160
|
-
expected_headers['content-type'] = 'application/json'
|
|
160
|
+
expected_headers['content-type'] = 'application/json; charset=utf-8'
|
|
161
161
|
|
|
162
162
|
assert(ComparisonHelper.match_headers(expected_headers, @response_catcher.response.headers))
|
|
163
163
|
|