data-and-reporting-sdk 1.2.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/README.md +14 -14
- data/lib/shell_data_reporting_ap_is/controllers/o_auth_authorization_controller.rb +1 -1
- data/lib/shell_data_reporting_ap_is/exceptions/api_exception.rb +11 -0
- data/lib/shell_data_reporting_ap_is/exceptions/default_error_exception.rb +12 -0
- data/lib/shell_data_reporting_ap_is/exceptions/error_object_exception.rb +13 -0
- data/lib/shell_data_reporting_ap_is/exceptions/error_user_access_error1_exception.rb +12 -0
- data/lib/shell_data_reporting_ap_is/exceptions/o_auth_provider_exception.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/account_access.rb +17 -0
- data/lib/shell_data_reporting_ap_is/models/account_request.rb +26 -0
- data/lib/shell_data_reporting_ap_is/models/account_response.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/account_response_accounts_items.rb +79 -0
- data/lib/shell_data_reporting_ap_is/models/accounts.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/address.rb +21 -0
- data/lib/shell_data_reporting_ap_is/models/associated_account.rb +18 -0
- data/lib/shell_data_reporting_ap_is/models/audit_request.rb +21 -0
- data/lib/shell_data_reporting_ap_is/models/audit_response.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/audit_response_audits_items.rb +46 -0
- data/lib/shell_data_reporting_ap_is/models/bank_account.rb +22 -0
- data/lib/shell_data_reporting_ap_is/models/bonus_configuration.rb +45 -0
- data/lib/shell_data_reporting_ap_is/models/bonus_history.rb +47 -0
- data/lib/shell_data_reporting_ap_is/models/card_day_time_restrictions.rb +17 -0
- data/lib/shell_data_reporting_ap_is/models/card_exceptions.rb +27 -0
- data/lib/shell_data_reporting_ap_is/models/card_group_request.rb +19 -0
- data/lib/shell_data_reporting_ap_is/models/card_group_response.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/card_group_response_card_groups_items.rb +34 -0
- data/lib/shell_data_reporting_ap_is/models/card_type_request.rb +19 -0
- data/lib/shell_data_reporting_ap_is/models/card_type_response.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/card_type_response_customer_card_types_items.rb +52 -0
- data/lib/shell_data_reporting_ap_is/models/card_type_response_error.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/card_usage_restrictions.rb +38 -0
- data/lib/shell_data_reporting_ap_is/models/card_usage_summary_request.rb +19 -0
- data/lib/shell_data_reporting_ap_is/models/card_usage_summary_response.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/col_co_access.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/current_volume.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/customer_contract.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/customer_detail_request.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/customer_detail_response.rb +43 -0
- data/lib/shell_data_reporting_ap_is/models/customer_price_list_request.rb +22 -0
- data/lib/shell_data_reporting_ap_is/models/customer_price_list_response.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/default_error_fault.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/default_error_fault_detail.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/delivery_addresses.rb +28 -0
- data/lib/shell_data_reporting_ap_is/models/eid_access.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/eid_document.rb +21 -0
- data/lib/shell_data_reporting_ap_is/models/eid_document_response.rb +17 -0
- data/lib/shell_data_reporting_ap_is/models/eid_download_req.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/eid_download_request.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/eid_search_req.rb +19 -0
- data/lib/shell_data_reporting_ap_is/models/eid_search_request.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/error_details.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/error_status.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/error_user_access.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/error_user_access_error.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/exception_product.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/exception_site_location.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/fee_item.rb +97 -0
- data/lib/shell_data_reporting_ap_is/models/fee_item_summary_all_of0.rb +27 -0
- data/lib/shell_data_reporting_ap_is/models/fee_rule_location.rb +19 -0
- data/lib/shell_data_reporting_ap_is/models/fee_rule_product.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/fee_rule_tier.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/fee_summary_response.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/fees_fee_rule_tiers.rb +18 -0
- data/lib/shell_data_reporting_ap_is/models/finance_currency.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/fleetmanagement_v1_user_loggedinuser_request.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/fuel_consumption_card.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/fuel_consumption_data.rb +30 -0
- data/lib/shell_data_reporting_ap_is/models/fuel_consumption_request.rb +19 -0
- data/lib/shell_data_reporting_ap_is/models/fuel_consumption_response.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_dates_data.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_dates_request.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_dates_request_filters.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_dates_response_data.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_distribution_method.rb +15 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_download_req.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_download_request.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_search_additional_document.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_search_details.rb +93 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_search_request.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_search_request_filters.rb +30 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_search_response.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_summary_details.rb +21 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_summary_request.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_summary_request_filters.rb +30 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_summary_response.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/invoices_summaries.rb +31 -0
- data/lib/shell_data_reporting_ap_is/models/last_statement_of_account.rb +45 -0
- data/lib/shell_data_reporting_ap_is/models/logged_in_user_request.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/logged_in_user_response.rb +35 -0
- data/lib/shell_data_reporting_ap_is/models/monthly_invoice_trend.rb +17 -0
- data/lib/shell_data_reporting_ap_is/models/multi_priced_transaction_request.rb +30 -0
- data/lib/shell_data_reporting_ap_is/models/multi_priced_transaction_request_accounts_items.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb +165 -0
- data/lib/shell_data_reporting_ap_is/models/past_statement_of_accounts.rb +58 -0
- data/lib/shell_data_reporting_ap_is/models/payer_access.rb +19 -0
- data/lib/shell_data_reporting_ap_is/models/payer_details.rb +150 -0
- data/lib/shell_data_reporting_ap_is/models/payer_request.rb +18 -0
- data/lib/shell_data_reporting_ap_is/models/payer_response.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/payers.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/payments_since_last_soa.rb +40 -0
- data/lib/shell_data_reporting_ap_is/models/pin_advice_types.rb +15 -0
- data/lib/shell_data_reporting_ap_is/models/price_list.rb +45 -0
- data/lib/shell_data_reporting_ap_is/models/price_trans_summary_request.rb +39 -0
- data/lib/shell_data_reporting_ap_is/models/price_transaction_request.rb +42 -0
- data/lib/shell_data_reporting_ap_is/models/priced_request_data.rb +76 -7
- data/lib/shell_data_reporting_ap_is/models/priced_response_data.rb +221 -0
- data/lib/shell_data_reporting_ap_is/models/priced_trans_summary_response.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/priced_trans_summary_response_transactions_summary_items.rb +28 -0
- data/lib/shell_data_reporting_ap_is/models/priced_transaction_items_location_items.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/priced_transaction_request_v2.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/priced_transaction_response.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/priced_transaction_response_transactions_items.rb +166 -0
- data/lib/shell_data_reporting_ap_is/models/priced_transaction_response_v2.rb +15 -0
- data/lib/shell_data_reporting_ap_is/models/pricing_current_volume.rb +18 -0
- data/lib/shell_data_reporting_ap_is/models/pricing_history.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/purchase_categories.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/recent_transaction_req.rb +26 -0
- data/lib/shell_data_reporting_ap_is/models/recent_transaction_request.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/recent_transactions.rb +98 -0
- data/lib/shell_data_reporting_ap_is/models/recent_transactions_response.rb +15 -0
- data/lib/shell_data_reporting_ap_is/models/role.rb +17 -0
- data/lib/shell_data_reporting_ap_is/models/search_doc_req.rb +28 -0
- data/lib/shell_data_reporting_ap_is/models/search_documents_invoice.rb +24 -0
- data/lib/shell_data_reporting_ap_is/models/search_documents_request.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/search_documents_response.rb +17 -0
- data/lib/shell_data_reporting_ap_is/models/search_soa_req.rb +20 -0
- data/lib/shell_data_reporting_ap_is/models/search_statement_of_account.rb +27 -0
- data/lib/shell_data_reporting_ap_is/models/search_statement_of_account_request.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/search_statement_of_account_response.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/site_location.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/statement_of_account_request.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/statement_of_account_request_filters.rb +24 -0
- data/lib/shell_data_reporting_ap_is/models/statement_of_account_resp.rb +18 -0
- data/lib/shell_data_reporting_ap_is/models/statement_of_account_response.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/tier.rb +21 -0
- data/lib/shell_data_reporting_ap_is/models/transaction_exceptions.rb +127 -0
- data/lib/shell_data_reporting_ap_is/models/transaction_exceptions_request.rb +25 -0
- data/lib/shell_data_reporting_ap_is/models/transaction_exceptions_response.rb +15 -0
- data/lib/shell_data_reporting_ap_is/models/transaction_fees_request.rb +28 -0
- data/lib/shell_data_reporting_ap_is/models/transaction_fees_response.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/update_odometer.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/update_odometer_reference.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/update_odometer_request.rb +18 -0
- data/lib/shell_data_reporting_ap_is/models/update_odometer_response.rb +15 -0
- data/lib/shell_data_reporting_ap_is/models/usage_summary.rb +23 -0
- data/lib/shell_data_reporting_ap_is/models/volume_based_bonus_request.rb +17 -0
- data/lib/shell_data_reporting_ap_is/models/volume_based_bonus_response.rb +17 -0
- data/lib/shell_data_reporting_ap_is/models/volume_based_pricing_request.rb +15 -0
- data/lib/shell_data_reporting_ap_is/models/volume_based_pricing_response.rb +16 -0
- data/lib/shell_data_reporting_ap_is/utilities/file_wrapper.rb +14 -2
- metadata +2 -2
@@ -87,5 +87,20 @@ module ShellDataReportingApIs
|
|
87
87
|
error,
|
88
88
|
request_id)
|
89
89
|
end
|
90
|
+
|
91
|
+
# Provides a human-readable string representation of the object.
|
92
|
+
def to_s
|
93
|
+
class_name = self.class.name.split('::').last
|
94
|
+
"<#{class_name} service_reference: #{@service_reference}, update_odometer_references:"\
|
95
|
+
" #{@update_odometer_references}, error: #{@error}, request_id: #{@request_id}>"
|
96
|
+
end
|
97
|
+
|
98
|
+
# Provides a debugging-friendly string with detailed object information.
|
99
|
+
def inspect
|
100
|
+
class_name = self.class.name.split('::').last
|
101
|
+
"<#{class_name} service_reference: #{@service_reference.inspect},"\
|
102
|
+
" update_odometer_references: #{@update_odometer_references.inspect}, error:"\
|
103
|
+
" #{@error.inspect}, request_id: #{@request_id.inspect}>"
|
104
|
+
end
|
90
105
|
end
|
91
106
|
end
|
@@ -190,5 +190,28 @@ module ShellDataReportingApIs
|
|
190
190
|
product_group_id,
|
191
191
|
product_group_name)
|
192
192
|
end
|
193
|
+
|
194
|
+
# Provides a human-readable string representation of the object.
|
195
|
+
def to_s
|
196
|
+
class_name = self.class.name.split('::').last
|
197
|
+
"<#{class_name} date: #{@date}, product_id: #{@product_id}, product_code: #{@product_code},"\
|
198
|
+
" product_name: #{@product_name}, is_fuel_product: #{@is_fuel_product}, site_group_id:"\
|
199
|
+
" #{@site_group_id}, site_group_name: #{@site_group_name}, total_volume: #{@total_volume},"\
|
200
|
+
" total_gross: #{@total_gross}, total_net: #{@total_net}, currency_code: #{@currency_code},"\
|
201
|
+
" currency_symbol: #{@currency_symbol}, product_group_id: #{@product_group_id},"\
|
202
|
+
" product_group_name: #{@product_group_name}>"
|
203
|
+
end
|
204
|
+
|
205
|
+
# Provides a debugging-friendly string with detailed object information.
|
206
|
+
def inspect
|
207
|
+
class_name = self.class.name.split('::').last
|
208
|
+
"<#{class_name} date: #{@date.inspect}, product_id: #{@product_id.inspect}, product_code:"\
|
209
|
+
" #{@product_code.inspect}, product_name: #{@product_name.inspect}, is_fuel_product:"\
|
210
|
+
" #{@is_fuel_product.inspect}, site_group_id: #{@site_group_id.inspect}, site_group_name:"\
|
211
|
+
" #{@site_group_name.inspect}, total_volume: #{@total_volume.inspect}, total_gross:"\
|
212
|
+
" #{@total_gross.inspect}, total_net: #{@total_net.inspect}, currency_code:"\
|
213
|
+
" #{@currency_code.inspect}, currency_symbol: #{@currency_symbol.inspect}, product_group_id:"\
|
214
|
+
" #{@product_group_id.inspect}, product_group_name: #{@product_group_name.inspect}>"
|
215
|
+
end
|
193
216
|
end
|
194
217
|
end
|
@@ -111,5 +111,22 @@ module ShellDataReportingApIs
|
|
111
111
|
include_history,
|
112
112
|
include_current_period_volume)
|
113
113
|
end
|
114
|
+
|
115
|
+
# Provides a human-readable string representation of the object.
|
116
|
+
def to_s
|
117
|
+
class_name = self.class.name.split('::').last
|
118
|
+
"<#{class_name} col_co_id: #{@col_co_id}, col_co_code: #{@col_co_code}, payer_id:"\
|
119
|
+
" #{@payer_id}, payer_number: #{@payer_number}, include_history: #{@include_history},"\
|
120
|
+
" include_current_period_volume: #{@include_current_period_volume}>"
|
121
|
+
end
|
122
|
+
|
123
|
+
# Provides a debugging-friendly string with detailed object information.
|
124
|
+
def inspect
|
125
|
+
class_name = self.class.name.split('::').last
|
126
|
+
"<#{class_name} col_co_id: #{@col_co_id.inspect}, col_co_code: #{@col_co_code.inspect},"\
|
127
|
+
" payer_id: #{@payer_id.inspect}, payer_number: #{@payer_number.inspect}, include_history:"\
|
128
|
+
" #{@include_history.inspect}, include_current_period_volume:"\
|
129
|
+
" #{@include_current_period_volume.inspect}>"
|
130
|
+
end
|
114
131
|
end
|
115
132
|
end
|
@@ -114,5 +114,22 @@ module ShellDataReportingApIs
|
|
114
114
|
error,
|
115
115
|
request_id)
|
116
116
|
end
|
117
|
+
|
118
|
+
# Provides a human-readable string representation of the object.
|
119
|
+
def to_s
|
120
|
+
class_name = self.class.name.split('::').last
|
121
|
+
"<#{class_name} configuration: #{@configuration}, current_period_consumption:"\
|
122
|
+
" #{@current_period_consumption}, historical_bonus_paid: #{@historical_bonus_paid}, error:"\
|
123
|
+
" #{@error}, request_id: #{@request_id}>"
|
124
|
+
end
|
125
|
+
|
126
|
+
# Provides a debugging-friendly string with detailed object information.
|
127
|
+
def inspect
|
128
|
+
class_name = self.class.name.split('::').last
|
129
|
+
"<#{class_name} configuration: #{@configuration.inspect}, current_period_consumption:"\
|
130
|
+
" #{@current_period_consumption.inspect}, historical_bonus_paid:"\
|
131
|
+
" #{@historical_bonus_paid.inspect}, error: #{@error.inspect}, request_id:"\
|
132
|
+
" #{@request_id.inspect}>"
|
133
|
+
end
|
117
134
|
end
|
118
135
|
end
|
@@ -96,5 +96,20 @@ module ShellDataReportingApIs
|
|
96
96
|
payer_number,
|
97
97
|
include_history)
|
98
98
|
end
|
99
|
+
|
100
|
+
# Provides a human-readable string representation of the object.
|
101
|
+
def to_s
|
102
|
+
class_name = self.class.name.split('::').last
|
103
|
+
"<#{class_name} col_co_id: #{@col_co_id}, col_co_code: #{@col_co_code}, payer_id:"\
|
104
|
+
" #{@payer_id}, payer_number: #{@payer_number}, include_history: #{@include_history}>"
|
105
|
+
end
|
106
|
+
|
107
|
+
# Provides a debugging-friendly string with detailed object information.
|
108
|
+
def inspect
|
109
|
+
class_name = self.class.name.split('::').last
|
110
|
+
"<#{class_name} col_co_id: #{@col_co_id.inspect}, col_co_code: #{@col_co_code.inspect},"\
|
111
|
+
" payer_id: #{@payer_id.inspect}, payer_number: #{@payer_number.inspect}, include_history:"\
|
112
|
+
" #{@include_history.inspect}>"
|
113
|
+
end
|
99
114
|
end
|
100
115
|
end
|
@@ -113,5 +113,21 @@ module ShellDataReportingApIs
|
|
113
113
|
error,
|
114
114
|
request_id)
|
115
115
|
end
|
116
|
+
|
117
|
+
# Provides a human-readable string representation of the object.
|
118
|
+
def to_s
|
119
|
+
class_name = self.class.name.split('::').last
|
120
|
+
"<#{class_name} configuration: #{@configuration}, current_period_consumption:"\
|
121
|
+
" #{@current_period_consumption}, history: #{@history}, error: #{@error}, request_id:"\
|
122
|
+
" #{@request_id}>"
|
123
|
+
end
|
124
|
+
|
125
|
+
# Provides a debugging-friendly string with detailed object information.
|
126
|
+
def inspect
|
127
|
+
class_name = self.class.name.split('::').last
|
128
|
+
"<#{class_name} configuration: #{@configuration.inspect}, current_period_consumption:"\
|
129
|
+
" #{@current_period_consumption.inspect}, history: #{@history.inspect}, error:"\
|
130
|
+
" #{@error.inspect}, request_id: #{@request_id.inspect}>"
|
131
|
+
end
|
116
132
|
end
|
117
133
|
end
|
@@ -12,5 +12,17 @@ module ShellDataReportingApIs
|
|
12
12
|
def initialize(file, content_type: 'application/octet-stream')
|
13
13
|
super
|
14
14
|
end
|
15
|
-
|
16
|
-
|
15
|
+
|
16
|
+
# Provides a human-readable string representation of the object.
|
17
|
+
def to_s
|
18
|
+
class_name = self.class.name.split('::').last
|
19
|
+
"<#{class_name} file: #{@file}, content_type: #{@content_type}>"
|
20
|
+
end
|
21
|
+
|
22
|
+
# Provides a debugging-friendly string with detailed object information.
|
23
|
+
def to_inspect
|
24
|
+
class_name = self.class.name.split('::').last
|
25
|
+
"<#{class_name} file: #{@file.inspect}, content_type: #{@content_type.inspect}>"
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: data-and-reporting-sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- developer sdksio
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-03-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: apimatic_core_interfaces
|