data-and-reporting-sdk 1.0.0 → 1.1.0

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