python-terminusgps 20.4.0__tar.gz → 20.5.0__tar.gz
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.
- {python_terminusgps-20.4.0 → python_terminusgps-20.5.0}/PKG-INFO +1 -1
- python_terminusgps-20.5.0/docs/Makefile +20 -0
- python_terminusgps-20.5.0/docs/make.bat +35 -0
- python_terminusgps-20.5.0/docs/source/authorizenet/auth.rst +33 -0
- python_terminusgps-20.5.0/docs/source/authorizenet/index.rst +11 -0
- python_terminusgps-20.5.0/docs/source/authorizenet/profiles.rst +2 -0
- python_terminusgps-20.5.0/docs/source/aws/index.rst +10 -0
- python_terminusgps-20.5.0/docs/source/aws/secrets.rst +17 -0
- python_terminusgps-20.5.0/docs/source/conf.py +40 -0
- python_terminusgps-20.5.0/docs/source/index.rst +16 -0
- python_terminusgps-20.5.0/docs/source/twilio/caller.rst +47 -0
- python_terminusgps-20.5.0/docs/source/twilio/index.rst +10 -0
- python_terminusgps-20.5.0/docs/source/wialon/constants.rst +19 -0
- python_terminusgps-20.5.0/docs/source/wialon/errors.rst +8 -0
- python_terminusgps-20.5.0/docs/source/wialon/flags.rst +188 -0
- python_terminusgps-20.5.0/docs/source/wialon/index.rst +15 -0
- python_terminusgps-20.5.0/docs/source/wialon/items.rst +537 -0
- python_terminusgps-20.5.0/docs/source/wialon/session.rst +155 -0
- python_terminusgps-20.5.0/docs/source/wialon/utils.rst +36 -0
- {python_terminusgps-20.4.0 → python_terminusgps-20.5.0}/pyproject.toml +1 -1
- python_terminusgps-20.5.0/terminusgps/wialon/__init__.py +0 -0
- {python_terminusgps-20.4.0 → python_terminusgps-20.5.0}/uv.lock +51 -41
- python_terminusgps-20.4.0/terminusgps/__init__.py +0 -20
- {python_terminusgps-20.4.0 → python_terminusgps-20.5.0}/.gitignore +0 -0
- {python_terminusgps-20.4.0 → python_terminusgps-20.5.0}/COPYING +0 -0
- {python_terminusgps-20.4.0 → python_terminusgps-20.5.0}/README.md +0 -0
- {python_terminusgps-20.4.0/terminusgps/authorizenet → python_terminusgps-20.5.0/terminusgps}/__init__.py +0 -0
- {python_terminusgps-20.4.0/terminusgps/aws → python_terminusgps-20.5.0/terminusgps/authorizenet}/__init__.py +0 -0
- {python_terminusgps-20.4.0 → python_terminusgps-20.5.0}/terminusgps/authorizenet/auth.py +0 -0
- {python_terminusgps-20.4.0 → python_terminusgps-20.5.0}/terminusgps/authorizenet/profiles/__init__.py +0 -0
- {python_terminusgps-20.4.0 → python_terminusgps-20.5.0}/terminusgps/authorizenet/profiles/addresses.py +0 -0
- {python_terminusgps-20.4.0 → python_terminusgps-20.5.0}/terminusgps/authorizenet/profiles/base.py +0 -0
- {python_terminusgps-20.4.0 → python_terminusgps-20.5.0}/terminusgps/authorizenet/profiles/customers.py +0 -0
- {python_terminusgps-20.4.0 → python_terminusgps-20.5.0}/terminusgps/authorizenet/profiles/payments.py +0 -0
- {python_terminusgps-20.4.0 → python_terminusgps-20.5.0}/terminusgps/authorizenet/subscriptions.py +0 -0
- {python_terminusgps-20.4.0/terminusgps/wialon → python_terminusgps-20.5.0/terminusgps/aws}/__init__.py +0 -0
- {python_terminusgps-20.4.0 → python_terminusgps-20.5.0}/terminusgps/aws/secrets.py +0 -0
- {python_terminusgps-20.4.0 → python_terminusgps-20.5.0}/terminusgps/aws/ses.py +0 -0
- {python_terminusgps-20.4.0 → python_terminusgps-20.5.0}/terminusgps/settings.py +0 -0
- {python_terminusgps-20.4.0 → python_terminusgps-20.5.0}/terminusgps/twilio/__init__.py +0 -0
- {python_terminusgps-20.4.0 → python_terminusgps-20.5.0}/terminusgps/twilio/caller.py +0 -0
- {python_terminusgps-20.4.0 → python_terminusgps-20.5.0}/terminusgps/wialon/constants.py +0 -0
- {python_terminusgps-20.4.0 → python_terminusgps-20.5.0}/terminusgps/wialon/flags.py +0 -0
- {python_terminusgps-20.4.0 → python_terminusgps-20.5.0}/terminusgps/wialon/items/__init__.py +0 -0
- {python_terminusgps-20.4.0 → python_terminusgps-20.5.0}/terminusgps/wialon/items/base.py +0 -0
- {python_terminusgps-20.4.0 → python_terminusgps-20.5.0}/terminusgps/wialon/items/geofence.py +0 -0
- {python_terminusgps-20.4.0 → python_terminusgps-20.5.0}/terminusgps/wialon/items/notification.py +0 -0
- {python_terminusgps-20.4.0 → python_terminusgps-20.5.0}/terminusgps/wialon/items/resource.py +0 -0
- {python_terminusgps-20.4.0 → python_terminusgps-20.5.0}/terminusgps/wialon/items/retranslator.py +0 -0
- {python_terminusgps-20.4.0 → python_terminusgps-20.5.0}/terminusgps/wialon/items/route.py +0 -0
- {python_terminusgps-20.4.0 → python_terminusgps-20.5.0}/terminusgps/wialon/items/unit.py +0 -0
- {python_terminusgps-20.4.0 → python_terminusgps-20.5.0}/terminusgps/wialon/items/unit_group.py +0 -0
- {python_terminusgps-20.4.0 → python_terminusgps-20.5.0}/terminusgps/wialon/items/user.py +0 -0
- {python_terminusgps-20.4.0 → python_terminusgps-20.5.0}/terminusgps/wialon/logger.py +0 -0
- {python_terminusgps-20.4.0 → python_terminusgps-20.5.0}/terminusgps/wialon/session.py +0 -0
- {python_terminusgps-20.4.0 → python_terminusgps-20.5.0}/terminusgps/wialon/utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-terminusgps
|
|
3
|
-
Version: 20.
|
|
3
|
+
Version: 20.5.0
|
|
4
4
|
Summary: Provides abstractions/utilities for working with Wialon API, Authorize.NET API, AWS API, and more.
|
|
5
5
|
Project-URL: Documentation, https://app.terminusgps.com/docs/apps/python-terminusgps/index.html
|
|
6
6
|
Project-URL: Repository, https://github.com/terminusgps/python-terminusgps
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Minimal makefile for Sphinx documentation
|
|
2
|
+
#
|
|
3
|
+
|
|
4
|
+
# You can set these variables from the command line, and also
|
|
5
|
+
# from the environment for the first two.
|
|
6
|
+
SPHINXOPTS ?=
|
|
7
|
+
SPHINXBUILD ?= sphinx-build
|
|
8
|
+
SOURCEDIR = source
|
|
9
|
+
BUILDDIR = build
|
|
10
|
+
|
|
11
|
+
# Put it first so that "make" without argument is like "make help".
|
|
12
|
+
help:
|
|
13
|
+
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
|
14
|
+
|
|
15
|
+
.PHONY: help Makefile
|
|
16
|
+
|
|
17
|
+
# Catch-all target: route all unknown targets to Sphinx using the new
|
|
18
|
+
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
|
|
19
|
+
%: Makefile
|
|
20
|
+
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
@ECHO OFF
|
|
2
|
+
|
|
3
|
+
pushd %~dp0
|
|
4
|
+
|
|
5
|
+
REM Command file for Sphinx documentation
|
|
6
|
+
|
|
7
|
+
if "%SPHINXBUILD%" == "" (
|
|
8
|
+
set SPHINXBUILD=sphinx-build
|
|
9
|
+
)
|
|
10
|
+
set SOURCEDIR=source
|
|
11
|
+
set BUILDDIR=build
|
|
12
|
+
|
|
13
|
+
%SPHINXBUILD% >NUL 2>NUL
|
|
14
|
+
if errorlevel 9009 (
|
|
15
|
+
echo.
|
|
16
|
+
echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
|
|
17
|
+
echo.installed, then set the SPHINXBUILD environment variable to point
|
|
18
|
+
echo.to the full path of the 'sphinx-build' executable. Alternatively you
|
|
19
|
+
echo.may add the Sphinx directory to PATH.
|
|
20
|
+
echo.
|
|
21
|
+
echo.If you don't have Sphinx installed, grab it from
|
|
22
|
+
echo.https://www.sphinx-doc.org/
|
|
23
|
+
exit /b 1
|
|
24
|
+
)
|
|
25
|
+
|
|
26
|
+
if "%1" == "" goto help
|
|
27
|
+
|
|
28
|
+
%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
|
|
29
|
+
goto end
|
|
30
|
+
|
|
31
|
+
:help
|
|
32
|
+
%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
|
|
33
|
+
|
|
34
|
+
:end
|
|
35
|
+
popd
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
Authorizenet API Authentication
|
|
2
|
+
===============================
|
|
3
|
+
|
|
4
|
+
To authorize with the Authorizenet API, use these utility functions to provide data to each API call.
|
|
5
|
+
|
|
6
|
+
.. currentmodule:: terminusgps.authorizenet.auth
|
|
7
|
+
|
|
8
|
+
.. py:function:: get_merchant_auth() -> merchantAuthenticationType
|
|
9
|
+
|
|
10
|
+
Generates and returns a :py:obj:`~authorizenet.apicontractsv1.merchantAuthenticationType` object.
|
|
11
|
+
|
|
12
|
+
This object is generated using :confval:`MERCHANT_AUTH_LOGIN_ID` and :confval:`MERCHANT_AUTH_TRANSACTION_KEY`.
|
|
13
|
+
|
|
14
|
+
:returns: A merchant authentication object.
|
|
15
|
+
:rtype: :py:obj:`~authorizenet.apicontractsv1.merchantAuthenticationType`
|
|
16
|
+
|
|
17
|
+
.. py:function:: get_environment() -> str
|
|
18
|
+
|
|
19
|
+
Gets the current application environment for Authorizenet API calls.
|
|
20
|
+
|
|
21
|
+
This string is generated using :confval:`DEBUG`.
|
|
22
|
+
|
|
23
|
+
:returns: The current Authorizenet API environment.
|
|
24
|
+
:rtype: :py:obj:`str`
|
|
25
|
+
|
|
26
|
+
.. py:function:: get_validation_mode() -> str
|
|
27
|
+
|
|
28
|
+
Gets the current application validation mode for Authorizenet API calls.
|
|
29
|
+
|
|
30
|
+
This string is generated using :confval:`DEBUG`.
|
|
31
|
+
|
|
32
|
+
:returns: The current Authorizenet API validation mode.
|
|
33
|
+
:rtype: :py:obj:`str`
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
Authorizenet API
|
|
2
|
+
================
|
|
3
|
+
|
|
4
|
+
:py:mod:`terminusgps` offers the :py:mod:`authorizenet` package; a Python library that makes it simple to operate within the Authorizenet API.
|
|
5
|
+
|
|
6
|
+
.. toctree::
|
|
7
|
+
:maxdepth: 2
|
|
8
|
+
:caption: Contents:
|
|
9
|
+
|
|
10
|
+
auth.rst
|
|
11
|
+
profiles.rst
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
Secrets
|
|
2
|
+
=======
|
|
3
|
+
|
|
4
|
+
.. currentmodule:: terminusgps.aws.secrets
|
|
5
|
+
|
|
6
|
+
.. py:function:: get_secret(name, [region="us-east-1"]) -> dict[str, str]
|
|
7
|
+
|
|
8
|
+
Logs into the default AWS CLI session and returns a secret value by name.
|
|
9
|
+
|
|
10
|
+
:param name: An AWS `secretsmanager`_ secret name.
|
|
11
|
+
:type name: :py:obj:`str`
|
|
12
|
+
:param region: An AWS region name. Default is ``"us-east-1"``.
|
|
13
|
+
:type region: :py:obj:`str`
|
|
14
|
+
:returns: The secret as a dictionary.
|
|
15
|
+
:rtype: :py:obj:`dict`
|
|
16
|
+
|
|
17
|
+
.. _secretsmanager: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/secretsmanager.html
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# Configuration file for the Sphinx documentation builder.
|
|
2
|
+
#
|
|
3
|
+
# For the full list of built-in configuration values, see the documentation:
|
|
4
|
+
# https://www.sphinx-doc.org/en/master/usage/configuration.html
|
|
5
|
+
|
|
6
|
+
# -- Project information -----------------------------------------------------
|
|
7
|
+
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
|
|
8
|
+
|
|
9
|
+
project = "python-terminusgps"
|
|
10
|
+
copyright = "2025, Terminus GPS, LLC"
|
|
11
|
+
author = "Terminus GPS, LLC"
|
|
12
|
+
release = "20.5.0"
|
|
13
|
+
|
|
14
|
+
# -- General configuration ---------------------------------------------------
|
|
15
|
+
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
|
|
16
|
+
|
|
17
|
+
extensions = [
|
|
18
|
+
"sphinx.ext.autodoc",
|
|
19
|
+
"sphinx.ext.autosummary",
|
|
20
|
+
"sphinx.ext.intersphinx",
|
|
21
|
+
"sphinx.ext.viewcode",
|
|
22
|
+
]
|
|
23
|
+
|
|
24
|
+
intersphinx_mapping = {
|
|
25
|
+
"python": ("https://docs.python.org/3", None),
|
|
26
|
+
"django": (
|
|
27
|
+
"http://docs.djangoproject.com/en/stable/",
|
|
28
|
+
"http://docs.djangoproject.com/en/stable/_objects/",
|
|
29
|
+
),
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
templates_path = ["_templates"]
|
|
33
|
+
exclude_patterns = []
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
# -- Options for HTML output -------------------------------------------------
|
|
37
|
+
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
|
|
38
|
+
|
|
39
|
+
html_theme = "sphinx_rtd_theme"
|
|
40
|
+
html_static_path = ["_static"]
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
.. python-terminusgps documentation master file, created by
|
|
2
|
+
sphinx-quickstart on Wed Feb 19 10:39:57 2025.
|
|
3
|
+
You can adapt this file completely to your liking, but it should at least
|
|
4
|
+
contain the root `toctree` directive.
|
|
5
|
+
|
|
6
|
+
python-terminusgps documentation
|
|
7
|
+
================================
|
|
8
|
+
|
|
9
|
+
.. toctree::
|
|
10
|
+
:maxdepth: 2
|
|
11
|
+
:caption: Contents:
|
|
12
|
+
|
|
13
|
+
authorizenet/index.rst
|
|
14
|
+
aws/index.rst
|
|
15
|
+
twilio/index.rst
|
|
16
|
+
wialon/index.rst
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
Caller object
|
|
2
|
+
=============
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
.. currentmodule:: terminusgps.twilio.caller
|
|
6
|
+
|
|
7
|
+
.. py:class:: TwilioCaller
|
|
8
|
+
|
|
9
|
+
An asyncronous phone messager/caller.
|
|
10
|
+
|
|
11
|
+
.. py:method:: create_notification(to_number, message, [method="sms"]) -> asyncio.Task
|
|
12
|
+
|
|
13
|
+
Creates a task that must be awaited in an asyncronous event loop in order to be executed.
|
|
14
|
+
|
|
15
|
+
:meta async:
|
|
16
|
+
:param to_number: A phone number, starting with a '+' and country code.
|
|
17
|
+
:type to_number: :py:obj:`str`
|
|
18
|
+
:param message: A message to send to `to_number`.
|
|
19
|
+
:type message: :py:obj:`str`
|
|
20
|
+
:param method: Notification method to use. Default is ``"sms"``.
|
|
21
|
+
:type method: :py:obj:`str`
|
|
22
|
+
:returns: An awaitable notification task.
|
|
23
|
+
:rtype: :py:obj:`asyncio.Task`
|
|
24
|
+
|
|
25
|
+
.. py:method:: create_call(to_number, message) -> None
|
|
26
|
+
|
|
27
|
+
Creates a phone call task.
|
|
28
|
+
|
|
29
|
+
:meta async:
|
|
30
|
+
:param to_number: A phone number, starting with a '+' and country code.
|
|
31
|
+
:type to_number: :py:obj:`str`
|
|
32
|
+
:param message: A message to send to `to_number`.
|
|
33
|
+
:type message: :py:obj:`str`
|
|
34
|
+
:returns: Nothing.
|
|
35
|
+
:rtype: :py:obj:`None`
|
|
36
|
+
|
|
37
|
+
.. py:method:: create_sms(to_number, message) -> None
|
|
38
|
+
|
|
39
|
+
Creates an sms message task.
|
|
40
|
+
|
|
41
|
+
:meta async:
|
|
42
|
+
:param to_number: A phone number, starting with a '+' and country code.
|
|
43
|
+
:type to_number: :py:obj:`str`
|
|
44
|
+
:param message: A message to send to `to_number`.
|
|
45
|
+
:type message: :py:obj:`str`
|
|
46
|
+
:returns: Nothing.
|
|
47
|
+
:rtype: :py:obj:`None`
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
Constants
|
|
2
|
+
=========
|
|
3
|
+
|
|
4
|
+
.. currentmodule:: terminusgps.wialon.constants
|
|
5
|
+
|
|
6
|
+
.. py:data:: ACCESSMASK_RESOURCE_BASIC
|
|
7
|
+
|
|
8
|
+
:type: :py:obj:`int`
|
|
9
|
+
:value: ``17604054880353``
|
|
10
|
+
|
|
11
|
+
.. py:data:: ACCESSMASK_UNIT_BASIC
|
|
12
|
+
|
|
13
|
+
:type: :py:obj:`int`
|
|
14
|
+
:value: ``3540009843``
|
|
15
|
+
|
|
16
|
+
.. py:data:: ACCESSMASK_UNIT_MIGRATION
|
|
17
|
+
|
|
18
|
+
:type: :py:obj:`int`
|
|
19
|
+
:value: ``9437197``
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
Flags
|
|
2
|
+
=====
|
|
3
|
+
|
|
4
|
+
.. currentmodule:: terminusgps.wialon.flags
|
|
5
|
+
|
|
6
|
+
============
|
|
7
|
+
Access Flags
|
|
8
|
+
============
|
|
9
|
+
|
|
10
|
+
-------
|
|
11
|
+
General
|
|
12
|
+
-------
|
|
13
|
+
|
|
14
|
+
`Wialon API Reference <https://sdk.wialon.com/wiki/en/sidebar/remoteapi/apiref/core/check_items_billing#general>`_
|
|
15
|
+
|
|
16
|
+
.. py:data:: ACCESSFLAG_VIEW_ITEM_BASIC
|
|
17
|
+
.. py:data:: ACCESSFLAG_VIEW_ITEM_DETAILED
|
|
18
|
+
.. py:data:: ACCESSFLAG_MANAGE_ITEM_ACCESS
|
|
19
|
+
.. py:data:: ACCESSFLAG_DELETE_ITEM
|
|
20
|
+
.. py:data:: ACCESSFLAG_RENAME_ITEM
|
|
21
|
+
.. py:data:: ACCESSFLAG_VIEW_CUSTOM_FIELDS
|
|
22
|
+
.. py:data:: ACCESSFLAG_MANAGE_CUSTOM_FIELDS
|
|
23
|
+
.. py:data:: ACCESSFLAG_MANAGE_UNMENTIONED_FIELDS
|
|
24
|
+
.. py:data:: ACCESSFLAG_MANAGE_ICON
|
|
25
|
+
.. py:data:: ACCESSFLAG_QUERY_REPORTS
|
|
26
|
+
.. py:data:: ACCESSFLAG_MANAGE_ACL
|
|
27
|
+
.. py:data:: ACCESSFLAG_MANAGE_ITEM_LOG
|
|
28
|
+
.. py:data:: ACCESSFLAG_VIEW_ADMIN_FIELDS
|
|
29
|
+
.. py:data:: ACCESSFLAG_MANAGE_ADMIN_FIELDS
|
|
30
|
+
.. py:data:: ACCESSFLAG_VIEW_ATTACHED_FILES
|
|
31
|
+
.. py:data:: ACCESSFLAG_MANAGE_ATTACHED_FILES
|
|
32
|
+
|
|
33
|
+
---------------
|
|
34
|
+
Unit/Unit Group
|
|
35
|
+
---------------
|
|
36
|
+
|
|
37
|
+
`Wialon API Reference <https://sdk.wialon.com/wiki/en/sidebar/remoteapi/apiref/core/check_items_billing#units_and_unit_groups>`_
|
|
38
|
+
|
|
39
|
+
.. py:data:: ACCESSFLAG_UNIT_MANAGE_CONNECTIVITY
|
|
40
|
+
.. py:data:: ACCESSFLAG_UNIT_MANAGE_SENSORS
|
|
41
|
+
.. py:data:: ACCESSFLAG_UNIT_MANAGE_COUNTERS
|
|
42
|
+
.. py:data:: ACCESSFLAG_UNIT_DELETE_MESSAGES
|
|
43
|
+
.. py:data:: ACCESSFLAG_UNIT_EXECUTE_COMMANDS
|
|
44
|
+
.. py:data:: ACCESSFLAG_UNIT_REGISTER_EVENTS
|
|
45
|
+
.. py:data:: ACCESSFLAG_UNIT_VIEW_CONNECTIVITY
|
|
46
|
+
.. py:data:: ACCESSFLAG_UNIT_VIEW_SERVICE_INTERVALS
|
|
47
|
+
.. py:data:: ACCESSFLAG_UNIT_MANAGE_SERVICE_INTERVALS
|
|
48
|
+
.. py:data:: ACCESSFLAG_UNIT_IMPORT_MESSAGES
|
|
49
|
+
.. py:data:: ACCESSFLAG_UNIT_EXPORT_MESSAGES
|
|
50
|
+
.. py:data:: ACCESSFLAG_UNIT_VIEW_COMMANDS
|
|
51
|
+
.. py:data:: ACCESSFLAG_UNIT_MANAGE_COMMANDS
|
|
52
|
+
.. py:data:: ACCESSFLAG_UNIT_MANAGE_TRIP_DETECTOR
|
|
53
|
+
.. py:data:: ACCESSFLAG_UNIT_MANAGE_ASSIGNMENTS
|
|
54
|
+
|
|
55
|
+
----
|
|
56
|
+
User
|
|
57
|
+
----
|
|
58
|
+
|
|
59
|
+
`Wialon API Reference <https://sdk.wialon.com/wiki/en/sidebar/remoteapi/apiref/core/check_items_billing#users>`_
|
|
60
|
+
|
|
61
|
+
.. py:data:: ACCESSFLAG_USER_MANAGE_ACCESS_RIGHTS
|
|
62
|
+
.. py:data:: ACCESSFLAG_USER_ACT_AS_OTHER
|
|
63
|
+
.. py:data:: ACCESSFLAG_USER_MANAGE_FLAGS
|
|
64
|
+
.. py:data:: ACCESSFLAG_USER_VIEW_PUSH_MESSAGES
|
|
65
|
+
.. py:data:: ACCESSFLAG_USER_MANAGE_PUSH_MESSAGES
|
|
66
|
+
|
|
67
|
+
------------
|
|
68
|
+
Retranslator
|
|
69
|
+
------------
|
|
70
|
+
|
|
71
|
+
`Wialon API Reference <https://sdk.wialon.com/wiki/en/sidebar/remoteapi/apiref/core/check_items_billing#retranslators>`_
|
|
72
|
+
|
|
73
|
+
.. py:data:: ACCESSFLAG_RETRANSLATOR_MANAGE_PROPERTIES
|
|
74
|
+
.. py:data:: ACCESSFLAG_RETRANSLATOR_MANAGE_UNITS
|
|
75
|
+
|
|
76
|
+
------------------
|
|
77
|
+
Resources/Accounts
|
|
78
|
+
------------------
|
|
79
|
+
|
|
80
|
+
`Wialon API Reference <https://sdk.wialon.com/wiki/en/sidebar/remoteapi/apiref/core/check_items_billing#resources_accounts>`_
|
|
81
|
+
|
|
82
|
+
.. py:data:: ACCESSFLAG_RESOURCE_VIEW_NOTIFICATIONS
|
|
83
|
+
.. py:data:: ACCESSFLAG_RESOURCE_MANAGE_NOTIFICATIONS
|
|
84
|
+
.. py:data:: ACCESSFLAG_RESOURCE_VIEW_POIS
|
|
85
|
+
.. py:data:: ACCESSFLAG_RESOURCE_MANAGE_POIS
|
|
86
|
+
.. py:data:: ACCESSFLAG_RESOURCE_VIEW_GEOFENCES
|
|
87
|
+
.. py:data:: ACCESSFLAG_RESOURCE_MANAGE_GEOFENCES
|
|
88
|
+
.. py:data:: ACCESSFLAG_RESOURCE_VIEW_JOBS
|
|
89
|
+
.. py:data:: ACCESSFLAG_RESOURCE_MANAGE_JOBS
|
|
90
|
+
.. py:data:: ACCESSFLAG_RESOURCE_VIEW_REPORT_TEMPLATES
|
|
91
|
+
.. py:data:: ACCESSFLAG_RESOURCE_MANAGE_REPORT_TEMPLATES
|
|
92
|
+
.. py:data:: ACCESSFLAG_RESOURCE_VIEW_DRIVERS
|
|
93
|
+
.. py:data:: ACCESSFLAG_RESOURCE_MANAGE_DRIVERS
|
|
94
|
+
.. py:data:: ACCESSFLAG_RESOURCE_MANAGE_ACCOUNT
|
|
95
|
+
.. py:data:: ACCESSFLAG_RESOURCE_VIEW_ORDERS
|
|
96
|
+
.. py:data:: ACCESSFLAG_RESOURCE_MANAGE_ORDERS
|
|
97
|
+
.. py:data:: ACCESSFLAG_RESOURCE_VIEW_TRAILERS
|
|
98
|
+
.. py:data:: ACCESSFLAG_RESOURCE_MANAGE_TRAILERS
|
|
99
|
+
|
|
100
|
+
------
|
|
101
|
+
Routes
|
|
102
|
+
------
|
|
103
|
+
|
|
104
|
+
`Wialon API Reference <https://sdk.wialon.com/wiki/en/sidebar/remoteapi/apiref/core/check_items_billing#routes>`_
|
|
105
|
+
|
|
106
|
+
.. py:data:: ACCESSFLAG_ROUTE_MANAGE_ROUTE
|
|
107
|
+
|
|
108
|
+
-----
|
|
109
|
+
Other
|
|
110
|
+
-----
|
|
111
|
+
|
|
112
|
+
`Wialon API Reference <https://sdk.wialon.com/wiki/en/sidebar/remoteapi/apiref/core/check_items_billing#other>`_
|
|
113
|
+
|
|
114
|
+
.. py:data:: ACCESSFLAG_FULL_ACCESS
|
|
115
|
+
|
|
116
|
+
==========
|
|
117
|
+
Data Flags
|
|
118
|
+
==========
|
|
119
|
+
|
|
120
|
+
------------
|
|
121
|
+
Retranslator
|
|
122
|
+
------------
|
|
123
|
+
|
|
124
|
+
`Wialon API Reference <https://sdk.wialon.com/wiki/en/sidebar/remoteapi/apiref/format/retranslator>`_
|
|
125
|
+
|
|
126
|
+
.. py:data:: DATAFLAG_RETRANSLATOR_BASE
|
|
127
|
+
.. py:data:: DATAFLAG_RETRANSLATOR_CUSTOM_PROPERTIES
|
|
128
|
+
.. py:data:: DATAFLAG_RETRANSLATOR_BILLING_PROPERTIES
|
|
129
|
+
.. py:data:: DATAFLAG_RETRANSLATOR_GUID
|
|
130
|
+
.. py:data:: DATAFLAG_RETRANSLATOR_ADMIN_FIELDS
|
|
131
|
+
.. py:data:: DATAFLAG_RETRANSLATOR_CONFIGURATION
|
|
132
|
+
.. py:data:: DATAFLAG_RETRANSLATOR_UNITS
|
|
133
|
+
.. py:data:: DATAFLAG_RETRANSLATOR_ALL
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
-----------------
|
|
137
|
+
Resource/Accounts
|
|
138
|
+
-----------------
|
|
139
|
+
|
|
140
|
+
`Wialon API Reference <https://sdk.wialon.com/wiki/en/sidebar/remoteapi/apiref/format/resource>`_
|
|
141
|
+
|
|
142
|
+
.. py:data:: DATAFLAG_RESOURCE_BASE
|
|
143
|
+
.. py:data:: DATAFLAG_RESOURCE_CUSTOM_PROPERTIES
|
|
144
|
+
.. py:data:: DATAFLAG_RESOURCE_BILLING_PROPERTIES
|
|
145
|
+
.. py:data:: DATAFLAG_RESOURCE_CUSTOM_FIELDS
|
|
146
|
+
.. py:data:: DATAFLAG_RESOURCE_MESSAGES
|
|
147
|
+
.. py:data:: DATAFLAG_RESOURCE_GUID
|
|
148
|
+
.. py:data:: DATAFLAG_RESOURCE_ADMIN_FIELDS
|
|
149
|
+
.. py:data:: DATAFLAG_RESOURCE_DRIVERS
|
|
150
|
+
.. py:data:: DATAFLAG_RESOURCE_JOBS
|
|
151
|
+
.. py:data:: DATAFLAG_RESOURCE_NOTIFICATIONS
|
|
152
|
+
.. py:data:: DATAFLAG_RESOURCE_POIS
|
|
153
|
+
.. py:data:: DATAFLAG_RESOURCE_GEOFENCES
|
|
154
|
+
.. py:data:: DATAFLAG_RESOURCE_REPORT_TEMPLATES
|
|
155
|
+
.. py:data:: DATAFLAG_RESOURCE_DRIVER_ATTACHABLE_UNITS
|
|
156
|
+
.. py:data:: DATAFLAG_RESOURCE_DRIVER_GROUPS
|
|
157
|
+
.. py:data:: DATAFLAG_RESOURCE_TRAILERS
|
|
158
|
+
.. py:data:: DATAFLAG_RESOURCE_TRAILER_GROUPS
|
|
159
|
+
.. py:data:: DATAFLAG_RESOURCE_TRAILER_ATTACHABLE_UNITS
|
|
160
|
+
.. py:data:: DATAFLAG_RESOURCE_ORDERS
|
|
161
|
+
.. py:data:: DATAFLAG_RESOURCE_GEOFENCE_GROUPS
|
|
162
|
+
.. py:data:: DATAFLAG_RESOURCE_TAGS
|
|
163
|
+
.. py:data:: DATAFLAG_RESOURCE_TAG_ATTACHABLE_UNITS
|
|
164
|
+
.. py:data:: DATAFLAG_RESOURCE_TAG_GROUPS
|
|
165
|
+
.. py:data:: DATAFLAG_RESOURCE_ALL
|
|
166
|
+
|
|
167
|
+
-----
|
|
168
|
+
Route
|
|
169
|
+
-----
|
|
170
|
+
|
|
171
|
+
`Wialon API Reference <https://sdk.wialon.com/wiki/en/sidebar/remoteapi/apiref/format/route>`_
|
|
172
|
+
|
|
173
|
+
.. py:data:: DATAFLAG_ROUTE_BASE
|
|
174
|
+
.. py:data:: DATAFLAG_ROUTE_CUSTOM_PROPERTIES
|
|
175
|
+
.. py:data:: DATAFLAG_ROUTE_BILLING_PROPERTIES
|
|
176
|
+
.. py:data:: DATAFLAG_ROUTE_GUID
|
|
177
|
+
.. py:data:: DATAFLAG_ROUTE_ADMIN_FIELDS
|
|
178
|
+
.. py:data:: DATAFLAG_ROUTE_CONFIGURATION
|
|
179
|
+
.. py:data:: DATAFLAG_ROUTE_CHECKPOINTS
|
|
180
|
+
.. py:data:: DATAFLAG_ROUTE_SCHEDULES
|
|
181
|
+
.. py:data:: DATAFLAG_ROUTE_ROUNDS
|
|
182
|
+
.. py:data:: DATAFLAG_ROUTE_ALL
|
|
183
|
+
|
|
184
|
+
---------------
|
|
185
|
+
Unit/Unit Group
|
|
186
|
+
---------------
|
|
187
|
+
|
|
188
|
+
`Wialon API Reference <https://sdk.wialon.com/wiki/en/sidebar/remoteapi/apiref/format/unit>`_
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
Wialon API
|
|
2
|
+
==========
|
|
3
|
+
|
|
4
|
+
:py:mod:`terminusgps` offers the :py:mod:`wialon` package; a Python library that makes it simple to operate within the Wialon API.
|
|
5
|
+
|
|
6
|
+
.. toctree::
|
|
7
|
+
:maxdepth: 2
|
|
8
|
+
:caption: Contents:
|
|
9
|
+
|
|
10
|
+
constants.rst
|
|
11
|
+
errors.rst
|
|
12
|
+
flags.rst
|
|
13
|
+
items.rst
|
|
14
|
+
session.rst
|
|
15
|
+
utils.rst
|