card-management-sdk 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +14 -15
- data/lib/shell_card_management_ap_is/controllers/base_controller.rb +9 -9
- data/lib/shell_card_management_ap_is/controllers/card_controller.rb +383 -378
- data/lib/shell_card_management_ap_is/controllers/customer_controller.rb +234 -225
- data/lib/shell_card_management_ap_is/controllers/o_auth_authorization_controller.rb +9 -9
- data/lib/shell_card_management_ap_is/controllers/restriction_controller.rb +256 -248
- data/lib/shell_card_management_ap_is/exceptions/error_object_exception.rb +15 -15
- data/lib/shell_card_management_ap_is/exceptions/fleetmanagement_v1_customer_customer403_error_exception.rb +15 -15
- data/lib/shell_card_management_ap_is/exceptions/fleetmanagement_v1_customer_payers400_error_exception.rb +15 -15
- data/lib/shell_card_management_ap_is/exceptions/fleetmanagement_v1_customer_payers404_error_exception.rb +15 -15
- data/lib/shell_card_management_ap_is/exceptions/fleetmanagement_v1_user_loggedinuser400_error_exception.rb +15 -15
- data/lib/shell_card_management_ap_is/exceptions/fleetmanagement_v1_user_loggedinuser401_error_exception.rb +15 -15
- data/lib/shell_card_management_ap_is/exceptions/fleetmanagement_v1_user_loggedinuser403_error_exception.rb +15 -15
- data/lib/shell_card_management_ap_is/exceptions/fleetmanagement_v1_user_loggedinuser404_error_exception.rb +15 -15
- data/lib/shell_card_management_ap_is/exceptions/fleetmanagement_v1_user_loggedinuser500_error_exception.rb +15 -15
- data/lib/shell_card_management_ap_is/exceptions/fleetmanagement_v2_restriction_searchcard401_error_exception.rb +15 -15
- data/lib/shell_card_management_ap_is/exceptions/fleetmanagement_v2_restriction_searchcard500_error_exception.rb +15 -15
- data/lib/shell_card_management_ap_is/exceptions/o_auth_provider_exception.rb +15 -15
- data/lib/shell_card_management_ap_is/models/account_request.rb +11 -11
- data/lib/shell_card_management_ap_is/models/account_response_accounts_items.rb +8 -8
- data/lib/shell_card_management_ap_is/models/account_restriction_request.rb +3 -4
- data/lib/shell_card_management_ap_is/models/audit_request.rb +29 -29
- data/lib/shell_card_management_ap_is/models/audit_response_audits_items.rb +41 -41
- data/lib/shell_card_management_ap_is/models/auto_renew_card_request_auto_renew_cards_items.rb +12 -1
- data/lib/shell_card_management_ap_is/models/auto_renew_card_response_data_items.rb +13 -2
- data/lib/shell_card_management_ap_is/models/bundle_restriction.rb +35 -22
- data/lib/shell_card_management_ap_is/models/bundle_restriction_update.rb +6 -8
- data/lib/shell_card_management_ap_is/models/bundled_restrictions_list.rb +10 -16
- data/lib/shell_card_management_ap_is/models/card.rb +25 -6
- data/lib/shell_card_management_ap_is/models/card_detail.rb +29 -27
- data/lib/shell_card_management_ap_is/models/card_details_response.rb +160 -8
- data/lib/shell_card_management_ap_is/models/card_group_request.rb +3 -3
- data/lib/shell_card_management_ap_is/models/card_settings.rb +10 -10
- data/lib/shell_card_management_ap_is/models/create_bundle_request.rb +2 -3
- data/lib/shell_card_management_ap_is/models/customer_detail_response.rb +18 -18
- data/lib/shell_card_management_ap_is/models/day_time_restriction.rb +2 -2
- data/lib/shell_card_management_ap_is/models/day_time_restrictions.rb +132 -0
- data/lib/shell_card_management_ap_is/models/filters.rb +6 -6
- data/lib/shell_card_management_ap_is/models/filters1.rb +6 -6
- data/lib/shell_card_management_ap_is/models/filters2.rb +9 -3
- data/lib/shell_card_management_ap_is/models/fleetmanagement_v1_customer_payers400_error1.rb +50 -0
- data/lib/shell_card_management_ap_is/models/fleetmanagement_v1_customer_payers404_error1.rb +50 -0
- data/lib/shell_card_management_ap_is/models/fleetmanagement_v1_user_loggedinuser400_error1.rb +50 -0
- data/lib/shell_card_management_ap_is/models/fleetmanagement_v1_user_loggedinuser401_error1.rb +50 -0
- data/lib/shell_card_management_ap_is/models/fleetmanagement_v1_user_loggedinuser404_error1.rb +50 -0
- data/lib/shell_card_management_ap_is/models/fleetmanagement_v1_user_loggedinuser500_error1.rb +50 -0
- data/lib/shell_card_management_ap_is/models/fleetmanagement_v2_restriction_searchcard401_error1.rb +50 -0
- data/lib/shell_card_management_ap_is/models/fleetmanagement_v2_restriction_searchcard500_error1.rb +50 -0
- data/lib/shell_card_management_ap_is/models/logged_in_user_response.rb +3 -3
- data/lib/shell_card_management_ap_is/models/order_card_enquiry.rb +27 -6
- data/lib/shell_card_management_ap_is/models/order_card_enquiry_req.rb +9 -3
- data/lib/shell_card_management_ap_is/models/payer_details.rb +10 -10
- data/lib/shell_card_management_ap_is/models/payer_request.rb +6 -6
- data/lib/shell_card_management_ap_is/models/pin_advice_types.rb +4 -4
- data/lib/shell_card_management_ap_is/models/pin_reminder_card_details.rb +11 -11
- data/lib/shell_card_management_ap_is/models/purchase_category1_all_of0.rb +8 -8
- data/lib/shell_card_management_ap_is/models/replace_card_settings.rb +10 -10
- data/lib/shell_card_management_ap_is/models/restriction.rb +10 -16
- data/lib/shell_card_management_ap_is/models/restriction_cards_list.rb +21 -17
- data/lib/shell_card_management_ap_is/models/schedule_card_block_cards_items.rb +39 -27
- data/lib/shell_card_management_ap_is/models/search_card.rb +13 -2
- data/lib/shell_card_management_ap_is/models/search_request.rb +6 -6
- data/lib/shell_card_management_ap_is/models/submitted_card.rb +22 -1
- data/lib/shell_card_management_ap_is/models/summary_request.rb +6 -6
- data/lib/shell_card_management_ap_is/models/update_bundle_request.rb +7 -7
- data/lib/shell_card_management_ap_is/models/update_card.rb +11 -1
- data/lib/shell_card_management_ap_is/models/update_card_group_request.rb +3 -3
- data/lib/shell_card_management_ap_is/models/update_card_renewal_address.rb +2 -2
- data/lib/shell_card_management_ap_is/models/update_card_renewal_address2.rb +2 -2
- data/lib/shell_card_management_ap_is/models/update_m_pay_reg_status_request_m_pay_requests_items.rb +1 -1
- data/lib/shell_card_management_ap_is/models/usage_restriction.rb +2 -2
- data/lib/shell_card_management_ap_is/utilities/file_wrapper.rb +9 -9
- data/lib/shell_card_management_ap_is.rb +17 -0
- metadata +17 -8
@@ -249,11 +249,28 @@ require_relative 'shell_card_management_ap_is/models/filters2'
|
|
249
249
|
require_relative 'shell_card_management_ap_is/models/finance_currency2'
|
250
250
|
require_relative 'shell_card_management_ap_is/models/' \
|
251
251
|
'fleetmanagement_v1_user_loggedinuser_request'
|
252
|
+
require_relative 'shell_card_management_ap_is/models/' \
|
253
|
+
'fleetmanagement_v1_user_loggedinuser400_error1'
|
254
|
+
require_relative 'shell_card_management_ap_is/models/' \
|
255
|
+
'fleetmanagement_v1_user_loggedinuser401_error1'
|
256
|
+
require_relative 'shell_card_management_ap_is/models/' \
|
257
|
+
'fleetmanagement_v1_user_loggedinuser404_error1'
|
258
|
+
require_relative 'shell_card_management_ap_is/models/' \
|
259
|
+
'fleetmanagement_v1_user_loggedinuser500_error1'
|
260
|
+
require_relative 'shell_card_management_ap_is/models/' \
|
261
|
+
'fleetmanagement_v1_customer_payers400_error1'
|
262
|
+
require_relative 'shell_card_management_ap_is/models/' \
|
263
|
+
'fleetmanagement_v1_customer_payers404_error1'
|
264
|
+
require_relative 'shell_card_management_ap_is/models/' \
|
265
|
+
'fleetmanagement_v2_restriction_searchcard401_error1'
|
266
|
+
require_relative 'shell_card_management_ap_is/models/' \
|
267
|
+
'fleetmanagement_v2_restriction_searchcard500_error1'
|
252
268
|
require_relative 'shell_card_management_ap_is/models/pin_contact'
|
253
269
|
require_relative 'shell_card_management_ap_is/models/pin_deliver_to'
|
254
270
|
require_relative 'shell_card_management_ap_is/models/pin_delivery_address'
|
255
271
|
require_relative 'shell_card_management_ap_is/models/' \
|
256
272
|
'update_card_renewal_address2'
|
273
|
+
require_relative 'shell_card_management_ap_is/models/day_time_restrictions'
|
257
274
|
require_relative 'shell_card_management_ap_is/models/o_auth_token'
|
258
275
|
require_relative 'shell_card_management_ap_is/models/' \
|
259
276
|
'card_detail_auto_renew_enum'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: card-management-sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.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: 2024-
|
11
|
+
date: 2024-09-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: apimatic_core_interfaces
|
@@ -16,42 +16,42 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.2.
|
19
|
+
version: 0.2.1
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.2.
|
26
|
+
version: 0.2.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: apimatic_core
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.3.
|
33
|
+
version: 0.3.9
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.3.
|
40
|
+
version: 0.3.9
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: apimatic_faraday_client_adapter
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0.1.
|
47
|
+
version: 0.1.4
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0.1.
|
54
|
+
version: 0.1.4
|
55
55
|
description: |-
|
56
56
|
The Shell Card Management API is REST-based and employs OAUTH 2.0,Basic and ApiKey authentication. The API endpoints accept JSON-encoded request bodies, return JSON-encoded responses and use standard HTTP response codes.
|
57
57
|
All resources are located in the Shell Card Platform. The Shell Card Platform is the overall platform that encompasses all the internal Shell systems used to manage resources. The internal workings of the platform are not important when interacting with the API. However, it is worth noting that the platform uses a microservice architecture to communicate with various backend systems and some API calls are processed asynchronously. All endpoints use the POST verb for retrieving, updating, creating and deleting resources in the Shell Card Platform. The endpoints that retrieve resources from the Shell Card Platform allow flexible search parameters in the API request body.
|
@@ -179,6 +179,7 @@ files:
|
|
179
179
|
- lib/shell_card_management_ap_is/models/customer_detail_request.rb
|
180
180
|
- lib/shell_card_management_ap_is/models/customer_detail_response.rb
|
181
181
|
- lib/shell_card_management_ap_is/models/day_time_restriction.rb
|
182
|
+
- lib/shell_card_management_ap_is/models/day_time_restrictions.rb
|
182
183
|
- lib/shell_card_management_ap_is/models/default_error.rb
|
183
184
|
- lib/shell_card_management_ap_is/models/default_error_fault.rb
|
184
185
|
- lib/shell_card_management_ap_is/models/default_error_fault_detail.rb
|
@@ -202,7 +203,15 @@ files:
|
|
202
203
|
- lib/shell_card_management_ap_is/models/filters2.rb
|
203
204
|
- lib/shell_card_management_ap_is/models/finance_currency.rb
|
204
205
|
- lib/shell_card_management_ap_is/models/finance_currency2.rb
|
206
|
+
- lib/shell_card_management_ap_is/models/fleetmanagement_v1_customer_payers400_error1.rb
|
207
|
+
- lib/shell_card_management_ap_is/models/fleetmanagement_v1_customer_payers404_error1.rb
|
208
|
+
- lib/shell_card_management_ap_is/models/fleetmanagement_v1_user_loggedinuser400_error1.rb
|
209
|
+
- lib/shell_card_management_ap_is/models/fleetmanagement_v1_user_loggedinuser401_error1.rb
|
210
|
+
- lib/shell_card_management_ap_is/models/fleetmanagement_v1_user_loggedinuser404_error1.rb
|
211
|
+
- lib/shell_card_management_ap_is/models/fleetmanagement_v1_user_loggedinuser500_error1.rb
|
205
212
|
- lib/shell_card_management_ap_is/models/fleetmanagement_v1_user_loggedinuser_request.rb
|
213
|
+
- lib/shell_card_management_ap_is/models/fleetmanagement_v2_restriction_searchcard401_error1.rb
|
214
|
+
- lib/shell_card_management_ap_is/models/fleetmanagement_v2_restriction_searchcard500_error1.rb
|
206
215
|
- lib/shell_card_management_ap_is/models/generate_pin_key_response.rb
|
207
216
|
- lib/shell_card_management_ap_is/models/invoice_distribution_method.rb
|
208
217
|
- lib/shell_card_management_ap_is/models/location_restriction.rb
|