webfleet_connect 0.2.1 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +42 -8
- data/lib/webfleet_connect/actions/areas.rb +18 -0
- data/lib/webfleet_connect/actions/configuration.rb +20 -0
- data/lib/webfleet_connect/actions/message_queues.rb +1 -1
- data/lib/webfleet_connect/actions/plugins.rb +9 -0
- data/lib/webfleet_connect/actions/reporting.rb +13 -0
- data/lib/webfleet_connect/actions/user_management.rb +9 -0
- data/lib/webfleet_connect/actions/vehicle_maintenance.rb +13 -0
- data/lib/webfleet_connect/session.rb +12 -0
- data/lib/webfleet_connect/version.rb +1 -1
- data/webfleet_logo.svg +8 -0
- metadata +9 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b16acd0d29d5841efd520981aa96887f229feee55d880a5d8bc2dcadd0c9b4df
|
4
|
+
data.tar.gz: a2458d952cba4f1b5f070726eb8671e53c93e52fe1e112d0e41a4696b638e05d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a4665b88863ec1cf55021d5fc0ec04d84b308f5e426d25ba18b2c25dda570e71b01330898d27d673227d6c1f207c2b0f08a0a48d42cba891fcc3feabafc89e22
|
7
|
+
data.tar.gz: b484805510057559cd87aa15c8f80d29c92e054ffbc4e840a5b62e68fd026306357985d0e9eed58bd7c4f6526d0a495ef80c467b8c0d2b440e8c76b397f610e7
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# WebfleetConnect
|
2
2
|
|
3
|
-
![Webfleet logo](
|
3
|
+
![Webfleet logo](./webfleet_logo.svg)
|
4
4
|
|
5
5
|
#
|
6
6
|
|
@@ -142,7 +142,7 @@ Mesage queues:
|
|
142
142
|
- [create_queue_extern](https://www.webfleet.com/static/help/webfleet-connect/en_gb/index.html#data/createqueueextern.html)
|
143
143
|
- [delete_queue_extern](https://www.webfleet.com/static/help/webfleet-connect/en_gb/index.html#data/deletequeueextern.html)
|
144
144
|
- [pop_queue_messages_extern](https://www.webfleet.com/static/help/webfleet-connect/en_gb/index.html#data/popqueuemessagesextern.html)
|
145
|
-
- [
|
145
|
+
- [ack_queue_messages_extern](https://www.webfleet.com/static/help/webfleet-connect/en_gb/index.html#data/ackqueuemessagesextern.html)
|
146
146
|
|
147
147
|
Objects:
|
148
148
|
|
@@ -268,23 +268,56 @@ Geocoding and routing:
|
|
268
268
|
|
269
269
|
Configuration and security:
|
270
270
|
|
271
|
-
-
|
271
|
+
- [show_settings](https://www.webfleet.com/static/help/webfleet-connect/en_gb/index.html#data/showsettings.html)
|
272
|
+
- [create_session](https://www.webfleet.com/static/help/webfleet-connect/en_gb/index.html#data/createsession.html)
|
273
|
+
- [terminate_session](https://www.webfleet.com/static/help/webfleet-connect/en_gb/index.html#data/terminatesession.html)
|
274
|
+
- [show_account_order_states](https://www.webfleet.com/static/help/webfleet-connect/en_gb/index.html#data/showaccountorderstates.html)
|
275
|
+
- [update_account_order_state](https://www.webfleet.com/static/help/webfleet-connect/en_gb/index.html#data/updateaccountorderstate.html)
|
276
|
+
- [show_account_order_automations](https://www.webfleet.com/static/help/webfleet-connect/en_gb/index.html#data/showaccountorderautomations.html)
|
277
|
+
- [update_account_order_automation](https://www.webfleet.com/static/help/webfleet-connect/en_gb/index.html#data/updateaccountorderautomation.html)
|
278
|
+
- [get_account_status_messages](https://www.webfleet.com/static/help/webfleet-connect/en_gb/index.html#data/getaccountstatusmessages.html)
|
279
|
+
- [get_status_messages](https://www.webfleet.com/static/help/webfleet-connect/en_gb/index.html#data/getstatusmessages.html)
|
280
|
+
- [set_vehicle_config](https://www.webfleet.com/static/help/webfleet-connect/en_gb/index.html#data/setvehicleconfig.html)
|
281
|
+
- [get_vehicle_config](https://www.webfleet.com/static/help/webfleet-connect/en_gb/index.html#data/getvehicleconfig.html)
|
282
|
+
- [set_status_messages](https://www.webfleet.com/static/help/webfleet-connect/en_gb/index.html#data/setstatusmessages.html)
|
283
|
+
- [set_account_status_messages](https://www.webfleet.com/static/help/webfleet-connect/en_gb/index.html#data/setaccountstatusmessages.html)
|
272
284
|
|
273
285
|
User management:
|
274
286
|
|
275
|
-
-
|
287
|
+
- [show_users](https://www.webfleet.com/static/help/webfleet-connect/en_gb/index.html#data/showusers.html)
|
288
|
+
- [change_password](https://www.webfleet.com/static/help/webfleet-connect/en_gb/index.html#data/changepassword.html)
|
276
289
|
|
277
290
|
Vehicle maintenance:
|
278
291
|
|
279
|
-
-
|
292
|
+
- [insert_maintenance_schedule](https://www.webfleet.com/static/help/webfleet-connect/en_gb/index.html#data/insertmaintenanceschedule.html)
|
293
|
+
- [update_maintenance_schedule](https://www.webfleet.com/static/help/webfleet-connect/en_gb/index.html#data/updatemaintenanceschedule.html)
|
294
|
+
- [delete_maintenance_schedule](https://www.webfleet.com/static/help/webfleet-connect/en_gb/index.html#data/deletemaintenanceschedule.html)
|
295
|
+
- [show_maintenance_schedules](https://www.webfleet.com/static/help/webfleet-connect/en_gb/index.html#data/showmaintenanceschedules.html)
|
296
|
+
- [show_maintenance_tasks](https://www.webfleet.com/static/help/webfleet-connect/en_gb/index.html#data/showmaintenancetasks.html)
|
297
|
+
- [resolve_maintenance_task](https://www.webfleet.com/static/help/webfleet-connect/en_gb/index.html#data/resolvemaintenancetask.html)
|
280
298
|
|
281
299
|
Reporting:
|
282
300
|
|
283
|
-
-
|
301
|
+
- [get_archived_report_list](https://www.webfleet.com/static/help/webfleet-connect/en_gb/index.html#data/getarchivedreportlist.html)
|
302
|
+
- [get_archived_report](https://www.webfleet.com/static/help/webfleet-connect/en_gb/index.html#data/getarchivedreport.html)
|
303
|
+
- [delete_archived_report](https://www.webfleet.com/static/help/webfleet-connect/en_gb/index.html#data/deletearchivedreport.html)
|
304
|
+
- [get_report_list](https://www.webfleet.com/static/help/webfleet-connect/en_gb/index.html#data/getreportlist.html)
|
305
|
+
- [create_report](https://www.webfleet.com/static/help/webfleet-connect/en_gb/index.html#data/createreport.html)
|
306
|
+
- [send_report_via_mail](https://www.webfleet.com/static/help/webfleet-connect/en_gb/index.html#data/sendreportviamail.html)
|
284
307
|
|
285
308
|
Areas:
|
286
309
|
|
287
|
-
-
|
310
|
+
- [get_areas](https://www.webfleet.com/static/help/webfleet-connect/en_gb/index.html#data/getareas.html)
|
311
|
+
- [insert_area](https://www.webfleet.com/static/help/webfleet-connect/en_gb/index.html#data/insertarea.html)
|
312
|
+
- [delete_area](https://www.webfleet.com/static/help/webfleet-connect/en_gb/index.html#data/deletearea.html)
|
313
|
+
- [update_area](https://www.webfleet.com/static/help/webfleet-connect/en_gb/index.html#data/updatearea.html)
|
314
|
+
- [get_area_points](https://www.webfleet.com/static/help/webfleet-connect/en_gb/index.html#data/getareapoints.html)
|
315
|
+
- [get_area_assignments](https://www.webfleet.com/static/help/webfleet-connect/en_gb/index.html#data/getareaassignments.html)
|
316
|
+
- [insert_area_assignment](https://www.webfleet.com/static/help/webfleet-connect/en_gb/index.html#data/insertareaassignment.html)
|
317
|
+
- [delete_area_assignment](https://www.webfleet.com/static/help/webfleet-connect/en_gb/index.html#data/deleteareaassignment.html)
|
318
|
+
- [get_area_schedules](https://www.webfleet.com/static/help/webfleet-connect/en_gb/index.html#data/getareaschedules.html)
|
319
|
+
- [insert_area_schedule](https://www.webfleet.com/static/help/webfleet-connect/en_gb/index.html#data/insertareaschedule.html)
|
320
|
+
- [delete_area_schedule](https://www.webfleet.com/static/help/webfleet-connect/en_gb/index.html#data/deleteareaschedule.html)
|
288
321
|
|
289
322
|
LINK.connect:
|
290
323
|
|
@@ -299,4 +332,5 @@ LINK.connect:
|
|
299
332
|
|
300
333
|
Plugins:
|
301
334
|
|
302
|
-
-
|
335
|
+
- [insert_external_event](https://www.webfleet.com/static/help/webfleet-connect/en_gb/index.html#data/insertexternalevent.html)
|
336
|
+
- [set_external_object_data](https://www.webfleet.com/static/help/webfleet-connect/en_gb/index.html#data/setexternalobjectdata.html)
|
@@ -0,0 +1,18 @@
|
|
1
|
+
require_relative 'actions'
|
2
|
+
require_relative 'action'
|
3
|
+
|
4
|
+
module WebfleetConnect::Actions::Areas
|
5
|
+
extend WebfleetConnect::Actions
|
6
|
+
|
7
|
+
add_action :get_areas
|
8
|
+
add_action :insert_area
|
9
|
+
add_action :delete_area
|
10
|
+
add_action :update_area
|
11
|
+
add_action :get_area_points
|
12
|
+
add_action :get_area_assignments
|
13
|
+
add_action :insert_area_assignment
|
14
|
+
add_action :delete_area_assignment
|
15
|
+
add_action :get_area_schedules
|
16
|
+
add_action :insert_area_schedule
|
17
|
+
add_action :delete_area_schedule
|
18
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
require_relative 'actions'
|
2
|
+
require_relative 'action'
|
3
|
+
|
4
|
+
module WebfleetConnect::Actions::Configuration
|
5
|
+
extend WebfleetConnect::Actions
|
6
|
+
|
7
|
+
add_action :show_settings
|
8
|
+
add_action :create_session
|
9
|
+
add_action :terminate_session
|
10
|
+
add_action :show_account_order_states
|
11
|
+
add_action :update_account_order_state
|
12
|
+
add_action :show_account_order_automations
|
13
|
+
add_action :update_account_order_automation
|
14
|
+
add_action :get_account_status_messages
|
15
|
+
add_action :get_status_messages
|
16
|
+
add_action :set_vehicle_config
|
17
|
+
add_action :get_vehicle_config
|
18
|
+
add_action :set_status_messages
|
19
|
+
add_action :set_account_status_messages
|
20
|
+
end
|
@@ -0,0 +1,13 @@
|
|
1
|
+
require_relative 'actions'
|
2
|
+
require_relative 'action'
|
3
|
+
|
4
|
+
module WebfleetConnect::Actions::Reporting
|
5
|
+
extend WebfleetConnect::Actions
|
6
|
+
|
7
|
+
add_action :get_archived_report_list
|
8
|
+
add_action :get_archived_report
|
9
|
+
add_action :delete_archived_report
|
10
|
+
add_action :get_report_list
|
11
|
+
add_action :create_report
|
12
|
+
add_action :send_report_via_mail
|
13
|
+
end
|
@@ -0,0 +1,13 @@
|
|
1
|
+
require_relative 'actions'
|
2
|
+
require_relative 'action'
|
3
|
+
|
4
|
+
module WebfleetConnect::Actions::VehicleMaintenance
|
5
|
+
extend WebfleetConnect::Actions
|
6
|
+
|
7
|
+
add_action :insert_maintenance_schedule
|
8
|
+
add_action :update_maintenance_schedule
|
9
|
+
add_action :delete_maintenance_schedule
|
10
|
+
add_action :show_maintenance_schedules
|
11
|
+
add_action :show_maintenance_tasks
|
12
|
+
add_action :resolve_maintenance_task
|
13
|
+
end
|
@@ -1,4 +1,6 @@
|
|
1
1
|
require_relative 'actions/addresses'
|
2
|
+
require_relative 'actions/areas'
|
3
|
+
require_relative 'actions/configuration'
|
2
4
|
require_relative 'actions/drivers'
|
3
5
|
require_relative 'actions/events'
|
4
6
|
require_relative 'actions/geocoding'
|
@@ -8,12 +10,18 @@ require_relative 'actions/messages'
|
|
8
10
|
require_relative 'actions/miscellaneous'
|
9
11
|
require_relative 'actions/objects'
|
10
12
|
require_relative 'actions/orders'
|
13
|
+
require_relative 'actions/plugins'
|
14
|
+
require_relative 'actions/reporting'
|
11
15
|
require_relative 'actions/trips'
|
16
|
+
require_relative 'actions/user_management'
|
17
|
+
require_relative 'actions/vehicle_maintenance'
|
12
18
|
require_relative 'connection'
|
13
19
|
|
14
20
|
module WebfleetConnect
|
15
21
|
class Session
|
16
22
|
include Actions::Addresses
|
23
|
+
include Actions::Areas
|
24
|
+
include Actions::Configuration
|
17
25
|
include Actions::Drivers
|
18
26
|
include Actions::Events
|
19
27
|
include Actions::Geocoding
|
@@ -23,7 +31,11 @@ module WebfleetConnect
|
|
23
31
|
include Actions::Miscellaneous
|
24
32
|
include Actions::Objects
|
25
33
|
include Actions::Orders
|
34
|
+
include Actions::Plugins
|
35
|
+
include Actions::Reporting
|
26
36
|
include Actions::Trips
|
37
|
+
include Actions::UserManagement
|
38
|
+
include Actions::VehicleMaintenance
|
27
39
|
|
28
40
|
def initialize(credentials, config)
|
29
41
|
@credentials = credentials
|
data/webfleet_logo.svg
ADDED
@@ -0,0 +1,8 @@
|
|
1
|
+
<svg xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Ebene_1" xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" viewBox="0.01 2.9 131.29 20.9" style="enable-background:new 0 0 226 30;" xml:space="preserve">
|
2
|
+
<style type="text/css">
|
3
|
+
.st0{fill:#FF0000;}
|
4
|
+
</style>
|
5
|
+
<title>Webfleet_logo</title>
|
6
|
+
<path d="M54.9,23.8c-3.9,0-7.4-2.6-7.4-7.5c0-4.7,3.3-7.4,7.2-7.4s6.7,2.7,6.8,7c0,0.9,0,1.2,0,1.5h-9.9c0.1,2,1.7,3.3,3.5,3.3 c1.5,0,2.7-0.7,3.4-1.9l2.8,1.9C60.2,22.5,58,23.8,54.9,23.8z M51.7,14.6h5.7c-0.2-1.8-1.5-2.6-2.9-2.6C53.1,12,51.8,12.9,51.7,14.6 z M66.7,21.9v1.5h-3.8V2.9H67v7.2c0.9-0.8,2.1-1.2,3.6-1.2c3.4,0,6.4,2.5,6.4,7.4s-3.1,7.4-6.4,7.4C68.9,23.7,67.6,23,66.7,21.9z M72.9,16.3c0-2.6-1.4-3.7-3-3.7s-2.8,1.1-2.9,2.8v1.8c0,1.8,1.3,2.9,2.9,2.9S72.9,18.9,72.9,16.3z M101.7,23.8 c-3.9,0-7.4-2.6-7.4-7.5c0-4.7,3.3-7.4,7.2-7.4c3.9,0,6.7,2.7,6.8,7c0,0.9,0,1.2,0,1.5h-9.9c0.1,2,1.7,3.3,3.5,3.3 c1.5,0,2.7-0.7,3.4-1.9l2.8,1.9C106.9,22.5,104.8,23.8,101.7,23.8z M98.4,14.6h5.7c-0.1-1.8-1.4-2.6-2.8-2.6 C99.9,12,98.5,12.9,98.4,14.6z M116.5,23.8c-3.9,0-7.4-2.6-7.4-7.5c0-4.7,3.3-7.4,7.2-7.4c3.9,0,6.7,2.7,6.8,7c0,0.9,0,1.2,0,1.5 h-9.9c0.1,2,1.7,3.3,3.5,3.3c1.5,0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.4l0,0C10.7,18.4,11.2,18.8,11.4,19.4z M18.4,18.1L18.4,18.1 c-1.2-0.7-3-1.9-3.7-3.4c-0.7-1.4-0.5-3.2-0.3-5c0.1-0.6,0-1.2-0.3-1.8c-0.7-1.5-2.5-2.2-4.1-1.5c-1.5,0.7-2.2,2.5-1.5,4.1 c0.3,0.6,0.7,1,1.2,1.3l0,0c1.5,0.9,3,1.9,3.7,3.4s0.5,3.5,0.3,5l0,0c-0.1,0.6,0,1.2,0.3,1.8c0.7,1.5,2.5,2.2,4.1,1.5 c1.5-0.7,2.2-2.5,1.5-4.1C19.3,18.8,18.9,18.4,18.4,18.1z M23.2,7.4c-1-1.3-2.9-1.6-4.3-0.6c-1,0.8-1.4,2-1.1,3.1l0,0 c0.8,3.3,0.8,3.3,1,4.2l0,0c0.1,0.4,0.5,0.7,1,0.6c0.2,0,0.4-0.1,0.5-0.3l0,0c0.6-0.7,0.6-0.7,2.8-3.3l0,0 C24,10.2,24.1,8.6,23.2,7.4z"/>
|
8
|
+
</svg>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: webfleet_connect
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- alex
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-11-
|
11
|
+
date: 2023-11-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|
@@ -94,6 +94,8 @@ files:
|
|
94
94
|
- lib/webfleet_connect/actions/action.rb
|
95
95
|
- lib/webfleet_connect/actions/actions.rb
|
96
96
|
- lib/webfleet_connect/actions/addresses.rb
|
97
|
+
- lib/webfleet_connect/actions/areas.rb
|
98
|
+
- lib/webfleet_connect/actions/configuration.rb
|
97
99
|
- lib/webfleet_connect/actions/drivers.rb
|
98
100
|
- lib/webfleet_connect/actions/events.rb
|
99
101
|
- lib/webfleet_connect/actions/geocoding.rb
|
@@ -103,7 +105,11 @@ files:
|
|
103
105
|
- lib/webfleet_connect/actions/miscellaneous.rb
|
104
106
|
- lib/webfleet_connect/actions/objects.rb
|
105
107
|
- lib/webfleet_connect/actions/orders.rb
|
108
|
+
- lib/webfleet_connect/actions/plugins.rb
|
109
|
+
- lib/webfleet_connect/actions/reporting.rb
|
106
110
|
- lib/webfleet_connect/actions/trips.rb
|
111
|
+
- lib/webfleet_connect/actions/user_management.rb
|
112
|
+
- lib/webfleet_connect/actions/vehicle_maintenance.rb
|
107
113
|
- lib/webfleet_connect/builder.rb
|
108
114
|
- lib/webfleet_connect/connection.rb
|
109
115
|
- lib/webfleet_connect/credentials.rb
|
@@ -137,6 +143,7 @@ files:
|
|
137
143
|
- sig/webfleet_connect.rbs
|
138
144
|
- webfleet_connect-0.2.0.gem
|
139
145
|
- webfleet_connect.gemspec
|
146
|
+
- webfleet_logo.svg
|
140
147
|
homepage: https://movomx.com
|
141
148
|
licenses: []
|
142
149
|
metadata:
|