Welcome to pyevr’s documentation!¶
pyevr¶
Python client for EVR
Free software: MIT license
Documentation: https://pyevr.readthedocs.io.
Credits¶
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
Installation¶
Stable release¶
To install pyevr, run this command in your terminal:
$ pip install pyevr
This is the preferred method to install pyevr, as it will always install the most recent stable release.
If you don’t have pip installed, this Python installation guide can guide you through the process.
From sources¶
The sources for pyevr can be downloaded from the Github repo.
You can either clone the public repository:
$ git clone git://github.com/thorgate/pyevr
Or download the tarball:
$ curl -OJL https://github.com/thorgate/pyevr/tarball/master
Once you have a copy of the source, you can install it with:
$ python setup.py install
Usage¶
To use pyevr in a project:
from pyevr import EVRClient
evr = EVRClient("YOUR-API-KEY", "https://evr.veoseleht.ee/")
# Fetch all assortments
assortments = evr.assortments.all()
# Fetch all certificates
certificates = evr.certificates.all()
# Fetch all measurements for a waybill
measurements = evr.measurements.all(number="WB123")
# Fetch all measurement units
measurement_units = evr.measurement_units.all()
# Fetch all organizations
organizations = evr.organizations.all()
# Fetch all place of deliveries
place_of_deliveries = evr.place_of_deliveries.all()
# Fetch waybills in date range
waybills = evr.waybills.all(
created_after=datetime(2020, 4, 1),
created_before=datetime(2020, 5, 1),
)
Details about using the endpoints can be found from EVR API docs.
pyevr package¶
Subpackages¶
pyevr.openapi_client package¶
Subpackages¶
pyevr.openapi_client.api package¶
EVR API
OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501
The version of the OpenAPI document: 1.5.0 Generated by: https://openapi-generator.tech
-
class
pyevr.openapi_client.api.assortments_api.
AssortmentsApi
(api_client=None)[source]¶ Bases:
object
NOTE: This class is auto generated by OpenAPI Generator Ref: https://openapi-generator.tech
Do not edit the class manually.
-
assortments_list
(**kwargs)[source]¶ Sortimentide pärimine # noqa: E501
Tagastab EVR-i aktiivsed sortimendid. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.assortments_list(async_req=True) >>> result = thread.get()
- Parameters
bool (async_req) – execute request asynchronously
page (int) – Tagastatav lehekülg
evr_language (str) – Defineerib keele tagastatavatele veateadetele (toetatud on väärtused “et” eesti keele ning “en” inglise keele jaoks).
_preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns
PagedResultOfAssortment If the method is called asynchronously, returns the request thread.
-
assortments_list_with_http_info
(**kwargs)[source]¶ Sortimentide pärimine # noqa: E501
Tagastab EVR-i aktiivsed sortimendid. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.assortments_list_with_http_info(async_req=True) >>> result = thread.get()
- Parameters
bool (async_req) – execute request asynchronously
page (int) – Tagastatav lehekülg
evr_language (str) – Defineerib keele tagastatavatele veateadetele (toetatud on väärtused “et” eesti keele ning “en” inglise keele jaoks).
_return_http_data_only – response data without head status code and headers
_preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns
tuple(PagedResultOfAssortment, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.
-
EVR API
OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501
The version of the OpenAPI document: 1.5.0 Generated by: https://openapi-generator.tech
-
class
pyevr.openapi_client.api.certificates_api.
CertificatesApi
(api_client=None)[source]¶ Bases:
object
NOTE: This class is auto generated by OpenAPI Generator Ref: https://openapi-generator.tech
Do not edit the class manually.
-
certificates_list
(**kwargs)[source]¶ Sertifikaatide pärimine # noqa: E501
Tagastab EVR-i aktiivsed sertifikaadid. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.certificates_list(async_req=True) >>> result = thread.get()
- Parameters
bool (async_req) – execute request asynchronously
page (int) – Tagastatav lehekülg
evr_language (str) – Defineerib keele tagastatavatele veateadetele (toetatud on väärtused “et” eesti keele ning “en” inglise keele jaoks).
_preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns
PagedResultOfCertificate If the method is called asynchronously, returns the request thread.
-
certificates_list_with_http_info
(**kwargs)[source]¶ Sertifikaatide pärimine # noqa: E501
Tagastab EVR-i aktiivsed sertifikaadid. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.certificates_list_with_http_info(async_req=True) >>> result = thread.get()
- Parameters
bool (async_req) – execute request asynchronously
page (int) – Tagastatav lehekülg
evr_language (str) – Defineerib keele tagastatavatele veateadetele (toetatud on väärtused “et” eesti keele ning “en” inglise keele jaoks).
_return_http_data_only – response data without head status code and headers
_preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns
tuple(PagedResultOfCertificate, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.
-
EVR API
OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501
The version of the OpenAPI document: 1.5.0 Generated by: https://openapi-generator.tech
-
class
pyevr.openapi_client.api.measurement_units_api.
MeasurementUnitsApi
(api_client=None)[source]¶ Bases:
object
NOTE: This class is auto generated by OpenAPI Generator Ref: https://openapi-generator.tech
Do not edit the class manually.
-
measurement_units_list
(**kwargs)[source]¶ Mõõtühikute pärimine # noqa: E501
Tagastab EVR-i aktiivsed mõõtühikud. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.measurement_units_list(async_req=True) >>> result = thread.get()
- Parameters
bool (async_req) – execute request asynchronously
page (int) – Tagastatav lehekülg
evr_language (str) – Defineerib keele tagastatavatele veateadetele (toetatud on väärtused “et” eesti keele ning “en” inglise keele jaoks).
_preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns
PagedResultOfMeasurementUnit If the method is called asynchronously, returns the request thread.
-
measurement_units_list_with_http_info
(**kwargs)[source]¶ Mõõtühikute pärimine # noqa: E501
Tagastab EVR-i aktiivsed mõõtühikud. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.measurement_units_list_with_http_info(async_req=True) >>> result = thread.get()
- Parameters
bool (async_req) – execute request asynchronously
page (int) – Tagastatav lehekülg
evr_language (str) – Defineerib keele tagastatavatele veateadetele (toetatud on väärtused “et” eesti keele ning “en” inglise keele jaoks).
_return_http_data_only – response data without head status code and headers
_preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns
tuple(PagedResultOfMeasurementUnit, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.
-
EVR API
OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501
The version of the OpenAPI document: 1.5.0 Generated by: https://openapi-generator.tech
-
class
pyevr.openapi_client.api.measurements_api.
MeasurementsApi
(api_client=None)[source]¶ Bases:
object
NOTE: This class is auto generated by OpenAPI Generator Ref: https://openapi-generator.tech
Do not edit the class manually.
-
measurements_get
(number, **kwargs)[source]¶ Veoselehe mõõtmisandmete pärimine # noqa: E501
Tagastab veoselehega seotud mõõtmisandmed. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.measurements_get(number, async_req=True) >>> result = thread.get()
- Parameters
bool (async_req) – execute request asynchronously
number (str) – Veoselehe number (required)
page (int) – Tagastatav lehekülg
evr_language (str) – Defineerib keele tagastatavatele veateadetele (toetatud on väärtused “et” eesti keele ning “en” inglise keele jaoks).
_preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns
PagedResultOfMeasurementAct If the method is called asynchronously, returns the request thread.
-
measurements_get_with_http_info
(number, **kwargs)[source]¶ Veoselehe mõõtmisandmete pärimine # noqa: E501
Tagastab veoselehega seotud mõõtmisandmed. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.measurements_get_with_http_info(number, async_req=True) >>> result = thread.get()
- Parameters
bool (async_req) – execute request asynchronously
number (str) – Veoselehe number (required)
page (int) – Tagastatav lehekülg
evr_language (str) – Defineerib keele tagastatavatele veateadetele (toetatud on väärtused “et” eesti keele ning “en” inglise keele jaoks).
_return_http_data_only – response data without head status code and headers
_preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns
tuple(PagedResultOfMeasurementAct, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.
-
measurements_post
(number, add_measurement_act_request, **kwargs)[source]¶ Veoselehele mõõtmisandmete lisamine # noqa: E501
Lisab veoselehele mõõtmisandmed. Mõõtmisandmeid saab lisada “koorem maas” staatuses veoselehele sellele märgitud veose saaja või tema volitatud mõõtja. Mõõtmistulemusi on võimalik lisada koormapakkidena või lihtsalt sortimentide kogustena. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.measurements_post(number, add_measurement_act_request, async_req=True) >>> result = thread.get()
- Parameters
bool (async_req) – execute request asynchronously
number (str) – Veoselehe number (required)
add_measurement_act_request (AddMeasurementActRequest) – Mõõtmisandmed (required)
evr_language (str) – Defineerib keele tagastatavatele veateadetele (toetatud on väärtused “et” eesti keele ning “en” inglise keele jaoks).
_preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns
None If the method is called asynchronously, returns the request thread.
-
measurements_post_with_http_info
(number, add_measurement_act_request, **kwargs)[source]¶ Veoselehele mõõtmisandmete lisamine # noqa: E501
Lisab veoselehele mõõtmisandmed. Mõõtmisandmeid saab lisada “koorem maas” staatuses veoselehele sellele märgitud veose saaja või tema volitatud mõõtja. Mõõtmistulemusi on võimalik lisada koormapakkidena või lihtsalt sortimentide kogustena. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.measurements_post_with_http_info(number, add_measurement_act_request, async_req=True) >>> result = thread.get()
- Parameters
bool (async_req) – execute request asynchronously
number (str) – Veoselehe number (required)
add_measurement_act_request (AddMeasurementActRequest) – Mõõtmisandmed (required)
evr_language (str) – Defineerib keele tagastatavatele veateadetele (toetatud on väärtused “et” eesti keele ning “en” inglise keele jaoks).
_return_http_data_only – response data without head status code and headers
_preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns
None If the method is called asynchronously, returns the request thread.
-
EVR API
OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501
The version of the OpenAPI document: 1.5.0 Generated by: https://openapi-generator.tech
-
class
pyevr.openapi_client.api.organizations_api.
OrganizationsApi
(api_client=None)[source]¶ Bases:
object
NOTE: This class is auto generated by OpenAPI Generator Ref: https://openapi-generator.tech
Do not edit the class manually.
-
organizations_list
(**kwargs)[source]¶ Registreeritud asutuste pärimine # noqa: E501
Tagastab EVR-i aktiivsed asutused. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.organizations_list(async_req=True) >>> result = thread.get()
- Parameters
bool (async_req) – execute request asynchronously
code_starts_with (str) – Filtreerib asutused, mille registrikood algab otsinguterminiga
name_contains (str) – Filtreerib asutused, mille nimi sisaldab otsinguterminit
page (int) – Tagastatav lehekülg
evr_language (str) – Defineerib keele tagastatavatele veateadetele (toetatud on väärtused “et” eesti keele ning “en” inglise keele jaoks).
_preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns
PagedResultOfOrganization If the method is called asynchronously, returns the request thread.
-
organizations_list_with_http_info
(**kwargs)[source]¶ Registreeritud asutuste pärimine # noqa: E501
Tagastab EVR-i aktiivsed asutused. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.organizations_list_with_http_info(async_req=True) >>> result = thread.get()
- Parameters
bool (async_req) – execute request asynchronously
code_starts_with (str) – Filtreerib asutused, mille registrikood algab otsinguterminiga
name_contains (str) – Filtreerib asutused, mille nimi sisaldab otsinguterminit
page (int) – Tagastatav lehekülg
evr_language (str) – Defineerib keele tagastatavatele veateadetele (toetatud on väärtused “et” eesti keele ning “en” inglise keele jaoks).
_return_http_data_only – response data without head status code and headers
_preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns
tuple(PagedResultOfOrganization, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.
-
organizations_me
(**kwargs)[source]¶ Päringu teostaja enda organisatsiooni andmete pärimine # noqa: E501
Tagastab asutuse andmed # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.organizations_me(async_req=True) >>> result = thread.get()
- Parameters
bool (async_req) – execute request asynchronously
evr_language (str) – Defineerib keele tagastatavatele veateadetele (toetatud on väärtused “et” eesti keele ning “en” inglise keele jaoks).
_preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns
Organization If the method is called asynchronously, returns the request thread.
-
organizations_me_with_http_info
(**kwargs)[source]¶ Päringu teostaja enda organisatsiooni andmete pärimine # noqa: E501
Tagastab asutuse andmed # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.organizations_me_with_http_info(async_req=True) >>> result = thread.get()
- Parameters
bool (async_req) – execute request asynchronously
evr_language (str) – Defineerib keele tagastatavatele veateadetele (toetatud on väärtused “et” eesti keele ning “en” inglise keele jaoks).
_return_http_data_only – response data without head status code and headers
_preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns
tuple(Organization, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.
-
EVR API
OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501
The version of the OpenAPI document: 1.5.0 Generated by: https://openapi-generator.tech
-
class
pyevr.openapi_client.api.place_of_deliveries_api.
PlaceOfDeliveriesApi
(api_client=None)[source]¶ Bases:
object
NOTE: This class is auto generated by OpenAPI Generator Ref: https://openapi-generator.tech
Do not edit the class manually.
-
place_of_deliveries_add_or_update
(code, put_place_of_delivery_request, **kwargs)[source]¶ Tarnekoha lisamine ja muutmine # noqa: E501
Lisab uue tarnekoha. Kui antud koodiga tarnekoht juba eksisteerib, siis muudab olemasolevat tarnekohta. Loomisel märgitakse päringu tegija tarnekoha omanikuks. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.place_of_deliveries_add_or_update(code, put_place_of_delivery_request, async_req=True) >>> result = thread.get()
- Parameters
bool (async_req) – execute request asynchronously
code (str) – Kood (required)
put_place_of_delivery_request (PutPlaceOfDeliveryRequest) – (required)
evr_language (str) – Defineerib keele tagastatavatele veateadetele (toetatud on väärtused “et” eesti keele ning “en” inglise keele jaoks).
_preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns
None If the method is called asynchronously, returns the request thread.
-
place_of_deliveries_add_or_update_with_http_info
(code, put_place_of_delivery_request, **kwargs)[source]¶ Tarnekoha lisamine ja muutmine # noqa: E501
Lisab uue tarnekoha. Kui antud koodiga tarnekoht juba eksisteerib, siis muudab olemasolevat tarnekohta. Loomisel märgitakse päringu tegija tarnekoha omanikuks. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.place_of_deliveries_add_or_update_with_http_info(code, put_place_of_delivery_request, async_req=True) >>> result = thread.get()
- Parameters
bool (async_req) – execute request asynchronously
code (str) – Kood (required)
put_place_of_delivery_request (PutPlaceOfDeliveryRequest) – (required)
evr_language (str) – Defineerib keele tagastatavatele veateadetele (toetatud on väärtused “et” eesti keele ning “en” inglise keele jaoks).
_return_http_data_only – response data without head status code and headers
_preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns
None If the method is called asynchronously, returns the request thread.
-
place_of_deliveries_get
(code, **kwargs)[source]¶ Tarnekoha pärimine # noqa: E501
Tagastab koodile vastava tarnekoha. Pärida saab ainult enda asutusele kuuluvat tarnekohta. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.place_of_deliveries_get(code, async_req=True) >>> result = thread.get()
- Parameters
bool (async_req) – execute request asynchronously
code (str) – Päritava tarnekoha kood (tõstutundlik) (required)
evr_language (str) – Defineerib keele tagastatavatele veateadetele (toetatud on väärtused “et” eesti keele ning “en” inglise keele jaoks).
_preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns
PlaceOfDelivery If the method is called asynchronously, returns the request thread.
-
place_of_deliveries_get_with_http_info
(code, **kwargs)[source]¶ Tarnekoha pärimine # noqa: E501
Tagastab koodile vastava tarnekoha. Pärida saab ainult enda asutusele kuuluvat tarnekohta. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.place_of_deliveries_get_with_http_info(code, async_req=True) >>> result = thread.get()
- Parameters
bool (async_req) – execute request asynchronously
code (str) – Päritava tarnekoha kood (tõstutundlik) (required)
evr_language (str) – Defineerib keele tagastatavatele veateadetele (toetatud on väärtused “et” eesti keele ning “en” inglise keele jaoks).
_return_http_data_only – response data without head status code and headers
_preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns
tuple(PlaceOfDelivery, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.
-
place_of_deliveries_list
(**kwargs)[source]¶ Tarnekohtade pärimine # noqa: E501
Tagastab filtritele vastavad aktiivsed avalikud tarnekohad ja kõik ettevõttega seotud tarnekohad. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.place_of_deliveries_list(async_req=True) >>> result = thread.get()
- Parameters
bool (async_req) – execute request asynchronously
name_contains (str) – Filtreerib tarnekohad, mille nimi sisaldab otsinguterminit
code_starts_with (str) – Filtreerib tarnekohad, mille kood algab otsinguterminiga (tõstutundlik)
register_code (str) – Filtreerib ettevõtte tarnekohad, mille registrikood vastab otsinguterminile
address (str) – Vabatekstiline aadressi otsing. Toetatud on järgmine süntaks: * ilma jutumärkideta tekst: sõnade vahel rakendatakse loogiline JA * jutumärkides tekst: otsitakse jutumärkides olevat lauset * OR: loogiline VÕI operaator sõnade vahel * -: loogiline EITUS
page (int) – Tagastatav lehekülg
evr_language (str) – Defineerib keele tagastatavatele veateadetele (toetatud on väärtused “et” eesti keele ning “en” inglise keele jaoks).
_preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns
PagedResultOfPlaceOfDelivery If the method is called asynchronously, returns the request thread.
-
place_of_deliveries_list_with_http_info
(**kwargs)[source]¶ Tarnekohtade pärimine # noqa: E501
Tagastab filtritele vastavad aktiivsed avalikud tarnekohad ja kõik ettevõttega seotud tarnekohad. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.place_of_deliveries_list_with_http_info(async_req=True) >>> result = thread.get()
- Parameters
bool (async_req) – execute request asynchronously
name_contains (str) – Filtreerib tarnekohad, mille nimi sisaldab otsinguterminit
code_starts_with (str) – Filtreerib tarnekohad, mille kood algab otsinguterminiga (tõstutundlik)
register_code (str) – Filtreerib ettevõtte tarnekohad, mille registrikood vastab otsinguterminile
address (str) – Vabatekstiline aadressi otsing. Toetatud on järgmine süntaks: * ilma jutumärkideta tekst: sõnade vahel rakendatakse loogiline JA * jutumärkides tekst: otsitakse jutumärkides olevat lauset * OR: loogiline VÕI operaator sõnade vahel * -: loogiline EITUS
page (int) – Tagastatav lehekülg
evr_language (str) – Defineerib keele tagastatavatele veateadetele (toetatud on väärtused “et” eesti keele ning “en” inglise keele jaoks).
_return_http_data_only – response data without head status code and headers
_preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns
tuple(PagedResultOfPlaceOfDelivery, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.
-
EVR API
OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501
The version of the OpenAPI document: 1.5.0 Generated by: https://openapi-generator.tech
-
class
pyevr.openapi_client.api.waybills_api.
WaybillsApi
(api_client=None)[source]¶ Bases:
object
NOTE: This class is auto generated by OpenAPI Generator Ref: https://openapi-generator.tech
Do not edit the class manually.
-
waybills_add_shipments
(number, add_shipments_to_waybill_request, **kwargs)[source]¶ Veoselehele veose lisamine # noqa: E501
Lisab veoselehele uue veose. Veoseid saab lisada veoselehele vedaja ja veoselehe looja. Veoseid saab lisada ainult veos olevatele veoselehtedele. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.waybills_add_shipments(number, add_shipments_to_waybill_request, async_req=True) >>> result = thread.get()
- Parameters
bool (async_req) – execute request asynchronously
number (str) – Veoselehe number (required)
add_shipments_to_waybill_request (AddShipmentsToWaybillRequest) – (required)
evr_language (str) – Defineerib keele tagastatavatele veateadetele (toetatud on väärtused “et” eesti keele ning “en” inglise keele jaoks).
_preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns
None If the method is called asynchronously, returns the request thread.
-
waybills_add_shipments_with_http_info
(number, add_shipments_to_waybill_request, **kwargs)[source]¶ Veoselehele veose lisamine # noqa: E501
Lisab veoselehele uue veose. Veoseid saab lisada veoselehele vedaja ja veoselehe looja. Veoseid saab lisada ainult veos olevatele veoselehtedele. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.waybills_add_shipments_with_http_info(number, add_shipments_to_waybill_request, async_req=True) >>> result = thread.get()
- Parameters
bool (async_req) – execute request asynchronously
number (str) – Veoselehe number (required)
add_shipments_to_waybill_request (AddShipmentsToWaybillRequest) – (required)
evr_language (str) – Defineerib keele tagastatavatele veateadetele (toetatud on väärtused “et” eesti keele ning “en” inglise keele jaoks).
_return_http_data_only – response data without head status code and headers
_preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns
None If the method is called asynchronously, returns the request thread.
-
waybills_cancel
(number, cancel_waybill_request, **kwargs)[source]¶ Veoselehe tühistamine # noqa: E501
Tühistab veoselehe. Veoselehe staatuseks märgitakse tühistatud (status: “cancelled”). Veoselehe saab tühistada veoselehe looja, kuni veoseleht pole veel vastu võetud. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.waybills_cancel(number, cancel_waybill_request, async_req=True) >>> result = thread.get()
- Parameters
bool (async_req) – execute request asynchronously
number (str) – Veoselehe number (required)
cancel_waybill_request (CancelWaybillRequest) – (required)
evr_language (str) – Defineerib keele tagastatavatele veateadetele (toetatud on väärtused “et” eesti keele ning “en” inglise keele jaoks).
_preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns
None If the method is called asynchronously, returns the request thread.
-
waybills_cancel_with_http_info
(number, cancel_waybill_request, **kwargs)[source]¶ Veoselehe tühistamine # noqa: E501
Tühistab veoselehe. Veoselehe staatuseks märgitakse tühistatud (status: “cancelled”). Veoselehe saab tühistada veoselehe looja, kuni veoseleht pole veel vastu võetud. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.waybills_cancel_with_http_info(number, cancel_waybill_request, async_req=True) >>> result = thread.get()
- Parameters
bool (async_req) – execute request asynchronously
number (str) – Veoselehe number (required)
cancel_waybill_request (CancelWaybillRequest) – (required)
evr_language (str) – Defineerib keele tagastatavatele veateadetele (toetatud on väärtused “et” eesti keele ning “en” inglise keele jaoks).
_return_http_data_only – response data without head status code and headers
_preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns
None If the method is called asynchronously, returns the request thread.
-
waybills_finish
(number, **kwargs)[source]¶ Veoselehe lõpetamine # noqa: E501
Lõpetab veoselehe ja veoselehe staatuseks märgitakse “veoseleht lõpetatud” (status: “finished”). Veoselehte saab lõpetada veoselehele märgitud saaja ja seda ainult “koorem maas” staatuses. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.waybills_finish(number, async_req=True) >>> result = thread.get()
- Parameters
bool (async_req) – execute request asynchronously
number (str) – Veoselehe number (required)
evr_language (str) – Defineerib keele tagastatavatele veateadetele (toetatud on väärtused “et” eesti keele ning “en” inglise keele jaoks).
_preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns
None If the method is called asynchronously, returns the request thread.
-
waybills_finish_with_http_info
(number, **kwargs)[source]¶ Veoselehe lõpetamine # noqa: E501
Lõpetab veoselehe ja veoselehe staatuseks märgitakse “veoseleht lõpetatud” (status: “finished”). Veoselehte saab lõpetada veoselehele märgitud saaja ja seda ainult “koorem maas” staatuses. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.waybills_finish_with_http_info(number, async_req=True) >>> result = thread.get()
- Parameters
bool (async_req) – execute request asynchronously
number (str) – Veoselehe number (required)
evr_language (str) – Defineerib keele tagastatavatele veateadetele (toetatud on väärtused “et” eesti keele ning “en” inglise keele jaoks).
_return_http_data_only – response data without head status code and headers
_preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns
None If the method is called asynchronously, returns the request thread.
-
waybills_get
(number, **kwargs)[source]¶ Veoselehe pärimine # noqa: E501
Tagastab numbrile vastava veoselehe. Veoselehte saavad pärida ainult sellega seotud asutused. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.waybills_get(number, async_req=True) >>> result = thread.get()
- Parameters
bool (async_req) – execute request asynchronously
number (str) – Päritava veoselehe number (required)
evr_language (str) – Defineerib keele tagastatavatele veateadetele (toetatud on väärtused “et” eesti keele ning “en” inglise keele jaoks).
_preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns
Waybill If the method is called asynchronously, returns the request thread.
-
waybills_get_with_http_info
(number, **kwargs)[source]¶ Veoselehe pärimine # noqa: E501
Tagastab numbrile vastava veoselehe. Veoselehte saavad pärida ainult sellega seotud asutused. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.waybills_get_with_http_info(number, async_req=True) >>> result = thread.get()
- Parameters
bool (async_req) – execute request asynchronously
number (str) – Päritava veoselehe number (required)
evr_language (str) – Defineerib keele tagastatavatele veateadetele (toetatud on väärtused “et” eesti keele ning “en” inglise keele jaoks).
_return_http_data_only – response data without head status code and headers
_preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns
tuple(Waybill, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.
-
waybills_list
(**kwargs)[source]¶ Veoselehtede pärimine # noqa: E501
Tagastab filtritele vastavad veoselehed. Veoselehti saavad pärida ainult nendega seotud asutused. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.waybills_list(async_req=True) >>> result = thread.get()
- Parameters
bool (async_req) – execute request asynchronously
created_after (datetime) – Filtreerib veoselehed, mis on loodud hiljem või samal ajal. Ajavahemik ‘created_after’ ning ‘created_before’ vahe peab jääma 1 kuu piiresse.
created_before (datetime) – Filtreerib veoselehed, mis on loodud varem või samal ajal. Ajavahemik ‘created_after’ ning ‘created_before’ vahe peab jääma 1 kuu piiresse.
last_modified_after (datetime) – Filtreerib veoselehed, mis on muutunud pärast määratud aega
status (WaybillStatus) – Filtreerib veoselehed, mis vastavad määratud staatusele
owner_code (str) – Filtreerib veoselehed, millel on sama omaniku kood
transporter_code (str) – Filtreerib veoselehed, millel on sama transportija kood
receiver_code (str) – Filtreerib veoselehed, millel on sama saaja kood
van_registration_number (str) – Filtreerib veoselehed, millel on sama veoki registreerimisnumber (tõstutundlik)
trailer_registration_number (str) – Filtreerib veoselehed, millel on sama haagise registreerimisnumber (tõstutundlik)
text (str) – Vabateksti otsing. Toetatud on järgmine süntaks: * ilma jutumärkideta tekst: sõnade vahel rakendatakse loogiline JA. * jutumärkides tekst: otsitakse jutumärkides olevat lauset. * OR: loogiline VÕI operaator sõnade vahel. * -: loogiline EITUS.
sort (WaybillSortField) – Sorteerib tulemused valitud välja järgi
page (int) – Määrab tagastatava lehekülje
evr_language (str) – Defineerib keele tagastatavatele veateadetele (toetatud on väärtused “et” eesti keele ning “en” inglise keele jaoks).
_preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns
PagedResultOfWaybill If the method is called asynchronously, returns the request thread.
-
waybills_list_with_http_info
(**kwargs)[source]¶ Veoselehtede pärimine # noqa: E501
Tagastab filtritele vastavad veoselehed. Veoselehti saavad pärida ainult nendega seotud asutused. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.waybills_list_with_http_info(async_req=True) >>> result = thread.get()
- Parameters
bool (async_req) – execute request asynchronously
created_after (datetime) – Filtreerib veoselehed, mis on loodud hiljem või samal ajal. Ajavahemik ‘created_after’ ning ‘created_before’ vahe peab jääma 1 kuu piiresse.
created_before (datetime) – Filtreerib veoselehed, mis on loodud varem või samal ajal. Ajavahemik ‘created_after’ ning ‘created_before’ vahe peab jääma 1 kuu piiresse.
last_modified_after (datetime) – Filtreerib veoselehed, mis on muutunud pärast määratud aega
status (WaybillStatus) – Filtreerib veoselehed, mis vastavad määratud staatusele
owner_code (str) – Filtreerib veoselehed, millel on sama omaniku kood
transporter_code (str) – Filtreerib veoselehed, millel on sama transportija kood
receiver_code (str) – Filtreerib veoselehed, millel on sama saaja kood
van_registration_number (str) – Filtreerib veoselehed, millel on sama veoki registreerimisnumber (tõstutundlik)
trailer_registration_number (str) – Filtreerib veoselehed, millel on sama haagise registreerimisnumber (tõstutundlik)
text (str) – Vabateksti otsing. Toetatud on järgmine süntaks: * ilma jutumärkideta tekst: sõnade vahel rakendatakse loogiline JA. * jutumärkides tekst: otsitakse jutumärkides olevat lauset. * OR: loogiline VÕI operaator sõnade vahel. * -: loogiline EITUS.
sort (WaybillSortField) – Sorteerib tulemused valitud välja järgi
page (int) – Määrab tagastatava lehekülje
evr_language (str) – Defineerib keele tagastatavatele veateadetele (toetatud on väärtused “et” eesti keele ning “en” inglise keele jaoks).
_return_http_data_only – response data without head status code and headers
_preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns
tuple(PagedResultOfWaybill, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.
-
waybills_post
(start_waybill_request, **kwargs)[source]¶ Veoselehe loomine # noqa: E501
Loob veoselehe staatusega “vedu alustatud” (status: “shipping”). Veo alustaja peab olema ise märgitud veoselehele kas omanikuks või vedajaks. Toimingu õnnestumisel tagastatakse loodud veoselehe number. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.waybills_post(start_waybill_request, async_req=True) >>> result = thread.get()
- Parameters
bool (async_req) – execute request asynchronously
start_waybill_request (StartWaybillRequest) – Veoselehe andmed (required)
evr_language (str) – Defineerib keele tagastatavatele veateadetele (toetatud on väärtused “et” eesti keele ning “en” inglise keele jaoks).
_preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns
str If the method is called asynchronously, returns the request thread.
-
waybills_post_with_http_info
(start_waybill_request, **kwargs)[source]¶ Veoselehe loomine # noqa: E501
Loob veoselehe staatusega “vedu alustatud” (status: “shipping”). Veo alustaja peab olema ise märgitud veoselehele kas omanikuks või vedajaks. Toimingu õnnestumisel tagastatakse loodud veoselehe number. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.waybills_post_with_http_info(start_waybill_request, async_req=True) >>> result = thread.get()
- Parameters
bool (async_req) – execute request asynchronously
start_waybill_request (StartWaybillRequest) – Veoselehe andmed (required)
evr_language (str) – Defineerib keele tagastatavatele veateadetele (toetatud on väärtused “et” eesti keele ning “en” inglise keele jaoks).
_return_http_data_only – response data without head status code and headers
_preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns
tuple(str, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread.
-
waybills_unload
(number, unload_waybill_request, **kwargs)[source]¶ Veoselehel veo lõpetamine # noqa: E501
Lõpetab veo veoselehel ja veoselehe staatuseks märgitakse “koorem maas” (status: “unloaded”). Vedu saab lõpetada veoselehe looja või vedaja ja seda ainult “vedu alustatud” (status: shipping) staatuses. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.waybills_unload(number, unload_waybill_request, async_req=True) >>> result = thread.get()
- Parameters
bool (async_req) – execute request asynchronously
number (str) – Veoselehe number (required)
unload_waybill_request (UnloadWaybillRequest) – (required)
evr_language (str) – Defineerib keele tagastatavatele veateadetele (toetatud on väärtused “et” eesti keele ning “en” inglise keele jaoks).
_preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns
None If the method is called asynchronously, returns the request thread.
-
waybills_unload_with_http_info
(number, unload_waybill_request, **kwargs)[source]¶ Veoselehel veo lõpetamine # noqa: E501
Lõpetab veo veoselehel ja veoselehe staatuseks märgitakse “koorem maas” (status: “unloaded”). Vedu saab lõpetada veoselehe looja või vedaja ja seda ainult “vedu alustatud” (status: shipping) staatuses. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.waybills_unload_with_http_info(number, unload_waybill_request, async_req=True) >>> result = thread.get()
- Parameters
bool (async_req) – execute request asynchronously
number (str) – Veoselehe number (required)
unload_waybill_request (UnloadWaybillRequest) – (required)
evr_language (str) – Defineerib keele tagastatavatele veateadetele (toetatud on väärtused “et” eesti keele ning “en” inglise keele jaoks).
_return_http_data_only – response data without head status code and headers
_preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns
None If the method is called asynchronously, returns the request thread.
-
pyevr.openapi_client.models package¶
EVR API
OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501
The version of the OpenAPI document: 1.5.0 Generated by: https://openapi-generator.tech
-
class
pyevr.openapi_client.models.add_measurement_act_request.
AddMeasurementActRequest
(act_number=None, measurements=None, custom_measurement_data=None, local_vars_configuration=None)[source]¶ Bases:
object
NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
-
property
act_number
¶ Gets the act_number of this AddMeasurementActRequest. # noqa: E501
Mõõtmisakti number # noqa: E501
- Returns
The act_number of this AddMeasurementActRequest. # noqa: E501
- Return type
str
-
attribute_map
= {'act_number': 'actNumber', 'custom_measurement_data': 'customMeasurementData', 'measurements': 'measurements'}¶
-
property
custom_measurement_data
¶ Gets the custom_measurement_data of this AddMeasurementActRequest. # noqa: E501
Mõõtmistulemused vabas formaadis. # noqa: E501
- Returns
The custom_measurement_data of this AddMeasurementActRequest. # noqa: E501
- Return type
object
-
property
measurements
¶ Gets the measurements of this AddMeasurementActRequest. # noqa: E501
Mõõtmistulemused # noqa: E501
- Returns
The measurements of this AddMeasurementActRequest. # noqa: E501
- Return type
list[ShipmentItem]
-
openapi_types
= {'act_number': 'str', 'custom_measurement_data': 'object', 'measurements': 'list[ShipmentItem]'}¶
-
property
EVR API
OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501
The version of the OpenAPI document: 1.5.0 Generated by: https://openapi-generator.tech
-
class
pyevr.openapi_client.models.add_shipments_to_waybill_request.
AddShipmentsToWaybillRequest
(shipments=None, local_vars_configuration=None)[source]¶ Bases:
object
NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
-
attribute_map
= {'shipments': 'shipments'}¶
-
openapi_types
= {'shipments': 'list[Shipment]'}¶
-
EVR API
OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501
The version of the OpenAPI document: 1.5.0 Generated by: https://openapi-generator.tech
-
class
pyevr.openapi_client.models.address.
Address
(country_code=None, county=None, city=None, street=None, local_vars_configuration=None)[source]¶ Bases:
object
NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
-
attribute_map
= {'city': 'city', 'country_code': 'countryCode', 'county': 'county', 'street': 'street'}¶
-
property
city
¶ Gets the city of this Address. # noqa: E501
Linn/vald # noqa: E501
- Returns
The city of this Address. # noqa: E501
- Return type
str
-
property
country_code
¶ Gets the country_code of this Address. # noqa: E501
Riigi kood # noqa: E501
- Returns
The country_code of this Address. # noqa: E501
- Return type
str
-
property
county
¶ Gets the county of this Address. # noqa: E501
Maakond # noqa: E501
- Returns
The county of this Address. # noqa: E501
- Return type
str
-
openapi_types
= {'city': 'str', 'country_code': 'str', 'county': 'str', 'street': 'str'}¶
-
property
street
¶ Gets the street of this Address. # noqa: E501
Tänav/küla # noqa: E501
- Returns
The street of this Address. # noqa: E501
- Return type
str
-
EVR API
OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501
The version of the OpenAPI document: 1.5.0 Generated by: https://openapi-generator.tech
-
class
pyevr.openapi_client.models.assortment.
Assortment
(code=None, product_group_code=None, name=None, measurement_unit_code=None, local_vars_configuration=None)[source]¶ Bases:
object
NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
-
attribute_map
= {'code': 'code', 'measurement_unit_code': 'measurementUnitCode', 'name': 'name', 'product_group_code': 'productGroupCode'}¶
-
property
code
¶ Gets the code of this Assortment. # noqa: E501
Sortimendi kood # noqa: E501
- Returns
The code of this Assortment. # noqa: E501
- Return type
str
-
property
measurement_unit_code
¶ Gets the measurement_unit_code of this Assortment. # noqa: E501
Sortimendi mõõtühik # noqa: E501
- Returns
The measurement_unit_code of this Assortment. # noqa: E501
- Return type
str
-
property
name
¶ Gets the name of this Assortment. # noqa: E501
Sortimendi nimi # noqa: E501
- Returns
The name of this Assortment. # noqa: E501
- Return type
str
-
openapi_types
= {'code': 'str', 'measurement_unit_code': 'str', 'name': 'str', 'product_group_code': 'str'}¶
-
property
product_group_code
¶ Gets the product_group_code of this Assortment. # noqa: E501
Sortimendi tootegrupp # noqa: E501
- Returns
The product_group_code of this Assortment. # noqa: E501
- Return type
str
-
EVR API
OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501
The version of the OpenAPI document: 1.5.0 Generated by: https://openapi-generator.tech
-
class
pyevr.openapi_client.models.cancel_waybill_request.
CancelWaybillRequest
(reason=None, local_vars_configuration=None)[source]¶ Bases:
object
NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
-
attribute_map
= {'reason': 'reason'}¶
-
openapi_types
= {'reason': 'str'}¶
-
property
reason
¶ Gets the reason of this CancelWaybillRequest. # noqa: E501
Selgitus # noqa: E501
- Returns
The reason of this CancelWaybillRequest. # noqa: E501
- Return type
str
-
EVR API
OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501
The version of the OpenAPI document: 1.5.0 Generated by: https://openapi-generator.tech
-
class
pyevr.openapi_client.models.certificate.
Certificate
(code=None, name=None, local_vars_configuration=None)[source]¶ Bases:
object
NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
-
attribute_map
= {'code': 'code', 'name': 'name'}¶
-
property
code
¶ Gets the code of this Certificate. # noqa: E501
Sertifikaadi kood # noqa: E501
- Returns
The code of this Certificate. # noqa: E501
- Return type
str
-
property
name
¶ Gets the name of this Certificate. # noqa: E501
Sertifikaadi nimetus # noqa: E501
- Returns
The name of this Certificate. # noqa: E501
- Return type
str
-
openapi_types
= {'code': 'str', 'name': 'str'}¶
-
EVR API
OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501
The version of the OpenAPI document: 1.5.0 Generated by: https://openapi-generator.tech
-
class
pyevr.openapi_client.models.certificate_claim.
CertificateClaim
(code=None, number=None, local_vars_configuration=None)[source]¶ Bases:
object
NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
-
attribute_map
= {'code': 'code', 'number': 'number'}¶
-
property
code
¶ Gets the code of this CertificateClaim. # noqa: E501
[Tarneahela sertifikaadi väite kood](#operation/Certificates_List) # noqa: E501
- Returns
The code of this CertificateClaim. # noqa: E501
- Return type
str
-
property
number
¶ Gets the number of this CertificateClaim. # noqa: E501
Sertifikaadi number # noqa: E501
- Returns
The number of this CertificateClaim. # noqa: E501
- Return type
str
-
openapi_types
= {'code': 'str', 'number': 'str'}¶
-
EVR API
OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501
The version of the OpenAPI document: 1.5.0 Generated by: https://openapi-generator.tech
-
class
pyevr.openapi_client.models.consolidated_act.
ConsolidatedAct
(contract_number=None, contract_date=None, cadaster=None, compartment=None, forest_allocation_number=None, local_vars_configuration=None)[source]¶ Bases:
object
NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
-
attribute_map
= {'cadaster': 'cadaster', 'compartment': 'compartment', 'contract_date': 'contractDate', 'contract_number': 'contractNumber', 'forest_allocation_number': 'forestAllocationNumber'}¶
-
property
cadaster
¶ Gets the cadaster of this ConsolidatedAct. # noqa: E501
Katastritunnus # noqa: E501
- Returns
The cadaster of this ConsolidatedAct. # noqa: E501
- Return type
str
-
property
compartment
¶ Gets the compartment of this ConsolidatedAct. # noqa: E501
Kvartal # noqa: E501
- Returns
The compartment of this ConsolidatedAct. # noqa: E501
- Return type
str
-
property
contract_date
¶ Gets the contract_date of this ConsolidatedAct. # noqa: E501
Dokumendi kuupäev # noqa: E501
- Returns
The contract_date of this ConsolidatedAct. # noqa: E501
- Return type
datetime
-
property
contract_number
¶ Gets the contract_number of this ConsolidatedAct. # noqa: E501
Dokumendi number # noqa: E501
- Returns
The contract_number of this ConsolidatedAct. # noqa: E501
- Return type
str
-
property
forest_allocation_number
¶ Gets the forest_allocation_number of this ConsolidatedAct. # noqa: E501
Metsaeraldis # noqa: E501
- Returns
The forest_allocation_number of this ConsolidatedAct. # noqa: E501
- Return type
str
-
openapi_types
= {'cadaster': 'str', 'compartment': 'str', 'contract_date': 'datetime', 'contract_number': 'str', 'forest_allocation_number': 'str'}¶
-
EVR API
OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501
The version of the OpenAPI document: 1.5.0 Generated by: https://openapi-generator.tech
-
class
pyevr.openapi_client.models.consolidated_act_all_of.
ConsolidatedActAllOf
(contract_number=None, contract_date=None, cadaster=None, compartment=None, forest_allocation_number=None, local_vars_configuration=None)[source]¶ Bases:
object
NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
-
attribute_map
= {'cadaster': 'cadaster', 'compartment': 'compartment', 'contract_date': 'contractDate', 'contract_number': 'contractNumber', 'forest_allocation_number': 'forestAllocationNumber'}¶
-
property
cadaster
¶ Gets the cadaster of this ConsolidatedActAllOf. # noqa: E501
Katastritunnus # noqa: E501
- Returns
The cadaster of this ConsolidatedActAllOf. # noqa: E501
- Return type
str
-
property
compartment
¶ Gets the compartment of this ConsolidatedActAllOf. # noqa: E501
Kvartal # noqa: E501
- Returns
The compartment of this ConsolidatedActAllOf. # noqa: E501
- Return type
str
-
property
contract_date
¶ Gets the contract_date of this ConsolidatedActAllOf. # noqa: E501
Dokumendi kuupäev # noqa: E501
- Returns
The contract_date of this ConsolidatedActAllOf. # noqa: E501
- Return type
datetime
-
property
contract_number
¶ Gets the contract_number of this ConsolidatedActAllOf. # noqa: E501
Dokumendi number # noqa: E501
- Returns
The contract_number of this ConsolidatedActAllOf. # noqa: E501
- Return type
str
-
property
forest_allocation_number
¶ Gets the forest_allocation_number of this ConsolidatedActAllOf. # noqa: E501
Metsaeraldis # noqa: E501
- Returns
The forest_allocation_number of this ConsolidatedActAllOf. # noqa: E501
- Return type
str
-
openapi_types
= {'cadaster': 'str', 'compartment': 'str', 'contract_date': 'datetime', 'contract_number': 'str', 'forest_allocation_number': 'str'}¶
-
EVR API
OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501
The version of the OpenAPI document: 1.5.0 Generated by: https://openapi-generator.tech
-
class
pyevr.openapi_client.models.contact_person.
ContactPerson
(name=None, phone=None, email=None, local_vars_configuration=None)[source]¶ Bases:
object
NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
-
attribute_map
= {'email': 'email', 'name': 'name', 'phone': 'phone'}¶
-
property
email
¶ Gets the email of this ContactPerson. # noqa: E501
Email # noqa: E501
- Returns
The email of this ContactPerson. # noqa: E501
- Return type
str
-
property
name
¶ Gets the name of this ContactPerson. # noqa: E501
Nimi # noqa: E501
- Returns
The name of this ContactPerson. # noqa: E501
- Return type
str
-
openapi_types
= {'email': 'str', 'name': 'str', 'phone': 'str'}¶
-
property
phone
¶ Gets the phone of this ContactPerson. # noqa: E501
Telefoninumber # noqa: E501
- Returns
The phone of this ContactPerson. # noqa: E501
- Return type
str
-
EVR API
OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501
The version of the OpenAPI document: 1.5.0 Generated by: https://openapi-generator.tech
-
class
pyevr.openapi_client.models.contract_for_transfer_of_cutting_rights.
ContractForTransferOfCuttingRights
(contract_number=None, contract_date=None, cadaster=None, compartment=None, forest_allocation_number=None, previous_owner=None, local_vars_configuration=None)[source]¶ Bases:
object
NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
-
attribute_map
= {'cadaster': 'cadaster', 'compartment': 'compartment', 'contract_date': 'contractDate', 'contract_number': 'contractNumber', 'forest_allocation_number': 'forestAllocationNumber', 'previous_owner': 'previousOwner'}¶
-
property
cadaster
¶ Gets the cadaster of this ContractForTransferOfCuttingRights. # noqa: E501
Katastritunnus # noqa: E501
- Returns
The cadaster of this ContractForTransferOfCuttingRights. # noqa: E501
- Return type
str
-
property
compartment
¶ Gets the compartment of this ContractForTransferOfCuttingRights. # noqa: E501
Kvartal # noqa: E501
- Returns
The compartment of this ContractForTransferOfCuttingRights. # noqa: E501
- Return type
str
-
property
contract_date
¶ Gets the contract_date of this ContractForTransferOfCuttingRights. # noqa: E501
Dokumendi kuupäev # noqa: E501
- Returns
The contract_date of this ContractForTransferOfCuttingRights. # noqa: E501
- Return type
datetime
-
property
contract_number
¶ Gets the contract_number of this ContractForTransferOfCuttingRights. # noqa: E501
Dokumendi number # noqa: E501
- Returns
The contract_number of this ContractForTransferOfCuttingRights. # noqa: E501
- Return type
str
-
property
forest_allocation_number
¶ Gets the forest_allocation_number of this ContractForTransferOfCuttingRights. # noqa: E501
Metsaeraldis # noqa: E501
- Returns
The forest_allocation_number of this ContractForTransferOfCuttingRights. # noqa: E501
- Return type
str
-
openapi_types
= {'cadaster': 'str', 'compartment': 'str', 'contract_date': 'datetime', 'contract_number': 'str', 'forest_allocation_number': 'str', 'previous_owner': 'PreviousOwner'}¶
-
property
previous_owner
¶ Gets the previous_owner of this ContractForTransferOfCuttingRights. # noqa: E501
- Returns
The previous_owner of this ContractForTransferOfCuttingRights. # noqa: E501
- Return type
-
EVR API
OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501
The version of the OpenAPI document: 1.5.0 Generated by: https://openapi-generator.tech
-
class
pyevr.openapi_client.models.coordinates.
Coordinates
(x=None, y=None, local_vars_configuration=None)[source]¶ Bases:
object
NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
-
attribute_map
= {'x': 'x', 'y': 'y'}¶
-
openapi_types
= {'x': 'float', 'y': 'float'}¶
-
property
x
¶ Gets the x of this Coordinates. # noqa: E501
X koordinaat # noqa: E501
- Returns
The x of this Coordinates. # noqa: E501
- Return type
float
-
property
y
¶ Gets the y of this Coordinates. # noqa: E501
Y koordinaat # noqa: E501
- Returns
The y of this Coordinates. # noqa: E501
- Return type
float
-
EVR API
OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501
The version of the OpenAPI document: 1.5.0 Generated by: https://openapi-generator.tech
-
class
pyevr.openapi_client.models.forest_act.
ForestAct
(contract_number=None, contract_date=None, cadaster=None, compartment=None, forest_allocation_number=None, local_vars_configuration=None)[source]¶ Bases:
object
NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
-
attribute_map
= {'cadaster': 'cadaster', 'compartment': 'compartment', 'contract_date': 'contractDate', 'contract_number': 'contractNumber', 'forest_allocation_number': 'forestAllocationNumber'}¶
-
property
cadaster
¶ Gets the cadaster of this ForestAct. # noqa: E501
Katastritunnus # noqa: E501
- Returns
The cadaster of this ForestAct. # noqa: E501
- Return type
str
-
property
compartment
¶ Gets the compartment of this ForestAct. # noqa: E501
Kvartal # noqa: E501
- Returns
The compartment of this ForestAct. # noqa: E501
- Return type
str
-
property
contract_date
¶ Gets the contract_date of this ForestAct. # noqa: E501
Dokumendi kuupäev # noqa: E501
- Returns
The contract_date of this ForestAct. # noqa: E501
- Return type
datetime
-
property
contract_number
¶ Gets the contract_number of this ForestAct. # noqa: E501
Dokumendi number # noqa: E501
- Returns
The contract_number of this ForestAct. # noqa: E501
- Return type
str
-
property
forest_allocation_number
¶ Gets the forest_allocation_number of this ForestAct. # noqa: E501
Metsaeraldis # noqa: E501
- Returns
The forest_allocation_number of this ForestAct. # noqa: E501
- Return type
str
-
openapi_types
= {'cadaster': 'str', 'compartment': 'str', 'contract_date': 'datetime', 'contract_number': 'str', 'forest_allocation_number': 'str'}¶
-
EVR API
OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501
The version of the OpenAPI document: 1.5.0 Generated by: https://openapi-generator.tech
-
class
pyevr.openapi_client.models.forest_notice.
ForestNotice
(cadaster=None, compartment=None, forest_allocation_number=None, number=None, local_vars_configuration=None)[source]¶ Bases:
object
NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
-
attribute_map
= {'cadaster': 'cadaster', 'compartment': 'compartment', 'forest_allocation_number': 'forestAllocationNumber', 'number': 'number'}¶
-
property
cadaster
¶ Gets the cadaster of this ForestNotice. # noqa: E501
Katastritunnus # noqa: E501
- Returns
The cadaster of this ForestNotice. # noqa: E501
- Return type
str
-
property
compartment
¶ Gets the compartment of this ForestNotice. # noqa: E501
Kvartal # noqa: E501
- Returns
The compartment of this ForestNotice. # noqa: E501
- Return type
str
-
property
forest_allocation_number
¶ Gets the forest_allocation_number of this ForestNotice. # noqa: E501
Metsaeraldis # noqa: E501
- Returns
The forest_allocation_number of this ForestNotice. # noqa: E501
- Return type
str
-
property
number
¶ Gets the number of this ForestNotice. # noqa: E501
Metsateatise number # noqa: E501
- Returns
The number of this ForestNotice. # noqa: E501
- Return type
str
-
openapi_types
= {'cadaster': 'str', 'compartment': 'str', 'forest_allocation_number': 'str', 'number': 'str'}¶
-
EVR API
OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501
The version of the OpenAPI document: 1.5.0 Generated by: https://openapi-generator.tech
-
class
pyevr.openapi_client.models.forest_notice_all_of.
ForestNoticeAllOf
(cadaster=None, compartment=None, forest_allocation_number=None, number=None, local_vars_configuration=None)[source]¶ Bases:
object
NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
-
attribute_map
= {'cadaster': 'cadaster', 'compartment': 'compartment', 'forest_allocation_number': 'forestAllocationNumber', 'number': 'number'}¶
-
property
cadaster
¶ Gets the cadaster of this ForestNoticeAllOf. # noqa: E501
Katastritunnus # noqa: E501
- Returns
The cadaster of this ForestNoticeAllOf. # noqa: E501
- Return type
str
-
property
compartment
¶ Gets the compartment of this ForestNoticeAllOf. # noqa: E501
Kvartal # noqa: E501
- Returns
The compartment of this ForestNoticeAllOf. # noqa: E501
- Return type
str
-
property
forest_allocation_number
¶ Gets the forest_allocation_number of this ForestNoticeAllOf. # noqa: E501
Metsaeraldis # noqa: E501
- Returns
The forest_allocation_number of this ForestNoticeAllOf. # noqa: E501
- Return type
str
-
property
number
¶ Gets the number of this ForestNoticeAllOf. # noqa: E501
Metsateatise number # noqa: E501
- Returns
The number of this ForestNoticeAllOf. # noqa: E501
- Return type
str
-
openapi_types
= {'cadaster': 'str', 'compartment': 'str', 'forest_allocation_number': 'str', 'number': 'str'}¶
-
EVR API
OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501
The version of the OpenAPI document: 1.5.0 Generated by: https://openapi-generator.tech
-
class
pyevr.openapi_client.models.holding_base.
HoldingBase
(type=None, local_vars_configuration=None)[source]¶ Bases:
object
NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
-
attribute_map
= {'type': 'type'}¶
-
discriminator_value_class_map
= {'ConsolidatedAct': 'ConsolidatedAct', 'ContractForTransferOfCuttingRights': 'ContractForTransferOfCuttingRights', 'ForestAct': 'ForestAct', 'ForestNotice': 'ForestNotice', 'InventoryAct': 'InventoryAct', 'SalesContract': 'SalesContract'}¶
-
openapi_types
= {'type': 'str'}¶
-
property
type
¶ Gets the type of this HoldingBase. # noqa: E501
- Returns
The type of this HoldingBase. # noqa: E501
- Return type
str
-
EVR API
OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501
The version of the OpenAPI document: 1.5.0 Generated by: https://openapi-generator.tech
-
class
pyevr.openapi_client.models.inventory_act.
InventoryAct
(contract_number=None, contract_date=None, cadaster=None, compartment=None, forest_allocation_number=None, local_vars_configuration=None)[source]¶ Bases:
object
NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
-
attribute_map
= {'cadaster': 'cadaster', 'compartment': 'compartment', 'contract_date': 'contractDate', 'contract_number': 'contractNumber', 'forest_allocation_number': 'forestAllocationNumber'}¶
-
property
cadaster
¶ Gets the cadaster of this InventoryAct. # noqa: E501
Katastritunnus # noqa: E501
- Returns
The cadaster of this InventoryAct. # noqa: E501
- Return type
str
-
property
compartment
¶ Gets the compartment of this InventoryAct. # noqa: E501
Kvartal # noqa: E501
- Returns
The compartment of this InventoryAct. # noqa: E501
- Return type
str
-
property
contract_date
¶ Gets the contract_date of this InventoryAct. # noqa: E501
Dokumendi kuupäev # noqa: E501
- Returns
The contract_date of this InventoryAct. # noqa: E501
- Return type
datetime
-
property
contract_number
¶ Gets the contract_number of this InventoryAct. # noqa: E501
Dokumendi number # noqa: E501
- Returns
The contract_number of this InventoryAct. # noqa: E501
- Return type
str
-
property
forest_allocation_number
¶ Gets the forest_allocation_number of this InventoryAct. # noqa: E501
Metsaeraldis # noqa: E501
- Returns
The forest_allocation_number of this InventoryAct. # noqa: E501
- Return type
str
-
openapi_types
= {'cadaster': 'str', 'compartment': 'str', 'contract_date': 'datetime', 'contract_number': 'str', 'forest_allocation_number': 'str'}¶
-
EVR API
OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501
The version of the OpenAPI document: 1.5.0 Generated by: https://openapi-generator.tech
-
class
pyevr.openapi_client.models.inventory_act_all_of.
InventoryActAllOf
(contract_number=None, contract_date=None, cadaster=None, compartment=None, forest_allocation_number=None, local_vars_configuration=None)[source]¶ Bases:
object
NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
-
attribute_map
= {'cadaster': 'cadaster', 'compartment': 'compartment', 'contract_date': 'contractDate', 'contract_number': 'contractNumber', 'forest_allocation_number': 'forestAllocationNumber'}¶
-
property
cadaster
¶ Gets the cadaster of this InventoryActAllOf. # noqa: E501
Katastritunnus # noqa: E501
- Returns
The cadaster of this InventoryActAllOf. # noqa: E501
- Return type
str
-
property
compartment
¶ Gets the compartment of this InventoryActAllOf. # noqa: E501
Kvartal # noqa: E501
- Returns
The compartment of this InventoryActAllOf. # noqa: E501
- Return type
str
-
property
contract_date
¶ Gets the contract_date of this InventoryActAllOf. # noqa: E501
Dokumendi kuupäev # noqa: E501
- Returns
The contract_date of this InventoryActAllOf. # noqa: E501
- Return type
datetime
-
property
contract_number
¶ Gets the contract_number of this InventoryActAllOf. # noqa: E501
Dokumendi number # noqa: E501
- Returns
The contract_number of this InventoryActAllOf. # noqa: E501
- Return type
str
-
property
forest_allocation_number
¶ Gets the forest_allocation_number of this InventoryActAllOf. # noqa: E501
Metsaeraldis # noqa: E501
- Returns
The forest_allocation_number of this InventoryActAllOf. # noqa: E501
- Return type
str
-
openapi_types
= {'cadaster': 'str', 'compartment': 'str', 'contract_date': 'datetime', 'contract_number': 'str', 'forest_allocation_number': 'str'}¶
-
EVR API
OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501
The version of the OpenAPI document: 1.5.0 Generated by: https://openapi-generator.tech
-
class
pyevr.openapi_client.models.measurement_act.
MeasurementAct
(act_number=None, measurements=None, custom_measurement_data=None, measurer_code=None, creation_time=None, local_vars_configuration=None)[source]¶ Bases:
object
NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
-
property
act_number
¶ Gets the act_number of this MeasurementAct. # noqa: E501
Mõõtmisakti number # noqa: E501
- Returns
The act_number of this MeasurementAct. # noqa: E501
- Return type
str
-
attribute_map
= {'act_number': 'actNumber', 'creation_time': 'creationTime', 'custom_measurement_data': 'customMeasurementData', 'measurements': 'measurements', 'measurer_code': 'measurerCode'}¶
-
property
creation_time
¶ Gets the creation_time of this MeasurementAct. # noqa: E501
Lisamise aeg # noqa: E501
- Returns
The creation_time of this MeasurementAct. # noqa: E501
- Return type
datetime
-
property
custom_measurement_data
¶ Gets the custom_measurement_data of this MeasurementAct. # noqa: E501
Mõõtmistulemused vabas formaadis # noqa: E501
- Returns
The custom_measurement_data of this MeasurementAct. # noqa: E501
- Return type
object
-
property
measurements
¶ Gets the measurements of this MeasurementAct. # noqa: E501
Mõõtmistulemused EVR poolt sätestatud formaadis # noqa: E501
- Returns
The measurements of this MeasurementAct. # noqa: E501
- Return type
list[ShipmentItem]
-
property
measurer_code
¶ Gets the measurer_code of this MeasurementAct. # noqa: E501
Mõõtja registri kood # noqa: E501
- Returns
The measurer_code of this MeasurementAct. # noqa: E501
- Return type
str
-
openapi_types
= {'act_number': 'str', 'creation_time': 'datetime', 'custom_measurement_data': 'object', 'measurements': 'list[ShipmentItem]', 'measurer_code': 'str'}¶
-
property
EVR API
OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501
The version of the OpenAPI document: 1.5.0 Generated by: https://openapi-generator.tech
-
class
pyevr.openapi_client.models.measurement_unit.
MeasurementUnit
(code=None, name=None, local_vars_configuration=None)[source]¶ Bases:
object
NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
-
attribute_map
= {'code': 'code', 'name': 'name'}¶
-
property
code
¶ Gets the code of this MeasurementUnit. # noqa: E501
Mõõtühiku kood # noqa: E501
- Returns
The code of this MeasurementUnit. # noqa: E501
- Return type
str
-
property
name
¶ Gets the name of this MeasurementUnit. # noqa: E501
Mõõtühiku nimetus # noqa: E501
- Returns
The name of this MeasurementUnit. # noqa: E501
- Return type
str
-
openapi_types
= {'code': 'str', 'name': 'str'}¶
-
EVR API
OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501
The version of the OpenAPI document: 1.5.0 Generated by: https://openapi-generator.tech
-
class
pyevr.openapi_client.models.organization.
Organization
(name=None, waybill_number_prefix=None, register_code=None, address=None, email=None, phone=None, contact_persons=None, local_vars_configuration=None)[source]¶ Bases:
object
NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
-
property
address
¶ Gets the address of this Organization. # noqa: E501
- Returns
The address of this Organization. # noqa: E501
- Return type
-
attribute_map
= {'address': 'address', 'contact_persons': 'contactPersons', 'email': 'email', 'name': 'name', 'phone': 'phone', 'register_code': 'registerCode', 'waybill_number_prefix': 'waybillNumberPrefix'}¶
-
property
contact_persons
¶ Gets the contact_persons of this Organization. # noqa: E501
Kontaktisikud # noqa: E501
- Returns
The contact_persons of this Organization. # noqa: E501
- Return type
list[ContactPerson]
-
property
email
¶ Gets the email of this Organization. # noqa: E501
Asutuse üldemail # noqa: E501
- Returns
The email of this Organization. # noqa: E501
- Return type
str
-
property
name
¶ Gets the name of this Organization. # noqa: E501
Asutuse nimi # noqa: E501
- Returns
The name of this Organization. # noqa: E501
- Return type
str
-
openapi_types
= {'address': 'Address', 'contact_persons': 'list[ContactPerson]', 'email': 'str', 'name': 'str', 'phone': 'str', 'register_code': 'str', 'waybill_number_prefix': 'str'}¶
-
property
phone
¶ Gets the phone of this Organization. # noqa: E501
Asutuse üldtelefon # noqa: E501
- Returns
The phone of this Organization. # noqa: E501
- Return type
str
-
property
register_code
¶ Gets the register_code of this Organization. # noqa: E501
Registrikood # noqa: E501
- Returns
The register_code of this Organization. # noqa: E501
- Return type
str
-
property
waybill_number_prefix
¶ Gets the waybill_number_prefix of this Organization. # noqa: E501
- Returns
The waybill_number_prefix of this Organization. # noqa: E501
- Return type
str
-
property
EVR API
OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501
The version of the OpenAPI document: 1.5.0 Generated by: https://openapi-generator.tech
-
class
pyevr.openapi_client.models.owner.
Owner
(name=None, code=None, email=None, address=None, contact_person=None, representer=None, local_vars_configuration=None)[source]¶ Bases:
object
NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
-
property
address
¶ Gets the address of this Owner. # noqa: E501
- Returns
The address of this Owner. # noqa: E501
- Return type
-
attribute_map
= {'address': 'address', 'code': 'code', 'contact_person': 'contactPerson', 'email': 'email', 'name': 'name', 'representer': 'representer'}¶
-
property
code
¶ Gets the code of this Owner. # noqa: E501
Isiku- või registrikood # noqa: E501
- Returns
The code of this Owner. # noqa: E501
- Return type
str
-
property
contact_person
¶ Gets the contact_person of this Owner. # noqa: E501
- Returns
The contact_person of this Owner. # noqa: E501
- Return type
-
property
email
¶ Gets the email of this Owner. # noqa: E501
Email # noqa: E501
- Returns
The email of this Owner. # noqa: E501
- Return type
str
-
property
name
¶ Gets the name of this Owner. # noqa: E501
Nimi # noqa: E501
- Returns
The name of this Owner. # noqa: E501
- Return type
str
-
openapi_types
= {'address': 'Address', 'code': 'str', 'contact_person': 'ContactPerson', 'email': 'str', 'name': 'str', 'representer': 'Representer'}¶
-
property
representer
¶ Gets the representer of this Owner. # noqa: E501
- Returns
The representer of this Owner. # noqa: E501
- Return type
-
property
EVR API
OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501
The version of the OpenAPI document: 1.5.0 Generated by: https://openapi-generator.tech
-
class
pyevr.openapi_client.models.pack.
Pack
(pack_number=None, length=None, height=None, width=None, coefficient=None, location=None, local_vars_configuration=None)[source]¶ Bases:
object
NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
-
attribute_map
= {'coefficient': 'coefficient', 'height': 'height', 'length': 'length', 'location': 'location', 'pack_number': 'packNumber', 'width': 'width'}¶
-
property
coefficient
¶ Gets the coefficient of this Pack. # noqa: E501
Koeffitsient # noqa: E501
- Returns
The coefficient of this Pack. # noqa: E501
- Return type
float
-
property
height
¶ Gets the height of this Pack. # noqa: E501
Koosmapaki kõrgus # noqa: E501
- Returns
The height of this Pack. # noqa: E501
- Return type
float
-
property
length
¶ Gets the length of this Pack. # noqa: E501
Koormapaki pikkus # noqa: E501
- Returns
The length of this Pack. # noqa: E501
- Return type
float
-
property
location
¶ Gets the location of this Pack. # noqa: E501
- Returns
The location of this Pack. # noqa: E501
- Return type
-
openapi_types
= {'coefficient': 'float', 'height': 'float', 'length': 'float', 'location': 'PackLocation', 'pack_number': 'int', 'width': 'float'}¶
-
property
pack_number
¶ Gets the pack_number of this Pack. # noqa: E501
Paki number # noqa: E501
- Returns
The pack_number of this Pack. # noqa: E501
- Return type
int
-
property
width
¶ Gets the width of this Pack. # noqa: E501
Koormapaki laius # noqa: E501
- Returns
The width of this Pack. # noqa: E501
- Return type
float
-
EVR API
OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501
The version of the OpenAPI document: 1.5.0 Generated by: https://openapi-generator.tech
-
class
pyevr.openapi_client.models.pack_location.
PackLocation
(local_vars_configuration=None)[source]¶ Bases:
object
NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
-
TRAILER
= 'trailer'¶
-
VAN
= 'van'¶
-
allowable_values
= ['van', 'trailer']¶ - Attributes:
- openapi_types (dict): The key is attribute name
and the value is attribute type.
- attribute_map (dict): The key is attribute name
and the value is json key in definition.
-
attribute_map
= {}¶
-
openapi_types
= {}¶
-
EVR API
OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501
The version of the OpenAPI document: 1.5.0 Generated by: https://openapi-generator.tech
-
class
pyevr.openapi_client.models.paged_result_of_assortment.
PagedResultOfAssortment
(page_number=None, page_size=None, page_result=None, total_count=None, local_vars_configuration=None)[source]¶ Bases:
object
NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
-
attribute_map
= {'page_number': 'pageNumber', 'page_result': 'pageResult', 'page_size': 'pageSize', 'total_count': 'totalCount'}¶
-
openapi_types
= {'page_number': 'int', 'page_result': 'list[Assortment]', 'page_size': 'int', 'total_count': 'int'}¶
-
property
page_number
¶ Gets the page_number of this PagedResultOfAssortment. # noqa: E501
- Returns
The page_number of this PagedResultOfAssortment. # noqa: E501
- Return type
int
-
property
page_result
¶ Gets the page_result of this PagedResultOfAssortment. # noqa: E501
- Returns
The page_result of this PagedResultOfAssortment. # noqa: E501
- Return type
list[Assortment]
-
property
page_size
¶ Gets the page_size of this PagedResultOfAssortment. # noqa: E501
- Returns
The page_size of this PagedResultOfAssortment. # noqa: E501
- Return type
int
-
property
total_count
¶ Gets the total_count of this PagedResultOfAssortment. # noqa: E501
- Returns
The total_count of this PagedResultOfAssortment. # noqa: E501
- Return type
int
-
EVR API
OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501
The version of the OpenAPI document: 1.5.0 Generated by: https://openapi-generator.tech
-
class
pyevr.openapi_client.models.paged_result_of_certificate.
PagedResultOfCertificate
(page_number=None, page_size=None, page_result=None, total_count=None, local_vars_configuration=None)[source]¶ Bases:
object
NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
-
attribute_map
= {'page_number': 'pageNumber', 'page_result': 'pageResult', 'page_size': 'pageSize', 'total_count': 'totalCount'}¶
-
openapi_types
= {'page_number': 'int', 'page_result': 'list[Certificate]', 'page_size': 'int', 'total_count': 'int'}¶
-
property
page_number
¶ Gets the page_number of this PagedResultOfCertificate. # noqa: E501
- Returns
The page_number of this PagedResultOfCertificate. # noqa: E501
- Return type
int
-
property
page_result
¶ Gets the page_result of this PagedResultOfCertificate. # noqa: E501
- Returns
The page_result of this PagedResultOfCertificate. # noqa: E501
- Return type
list[Certificate]
-
property
page_size
¶ Gets the page_size of this PagedResultOfCertificate. # noqa: E501
- Returns
The page_size of this PagedResultOfCertificate. # noqa: E501
- Return type
int
-
property
total_count
¶ Gets the total_count of this PagedResultOfCertificate. # noqa: E501
- Returns
The total_count of this PagedResultOfCertificate. # noqa: E501
- Return type
int
-
EVR API
OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501
The version of the OpenAPI document: 1.5.0 Generated by: https://openapi-generator.tech
-
class
pyevr.openapi_client.models.paged_result_of_measurement_act.
PagedResultOfMeasurementAct
(page_number=None, page_size=None, page_result=None, total_count=None, local_vars_configuration=None)[source]¶ Bases:
object
NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
-
attribute_map
= {'page_number': 'pageNumber', 'page_result': 'pageResult', 'page_size': 'pageSize', 'total_count': 'totalCount'}¶
-
openapi_types
= {'page_number': 'int', 'page_result': 'list[MeasurementAct]', 'page_size': 'int', 'total_count': 'int'}¶
-
property
page_number
¶ Gets the page_number of this PagedResultOfMeasurementAct. # noqa: E501
- Returns
The page_number of this PagedResultOfMeasurementAct. # noqa: E501
- Return type
int
-
property
page_result
¶ Gets the page_result of this PagedResultOfMeasurementAct. # noqa: E501
- Returns
The page_result of this PagedResultOfMeasurementAct. # noqa: E501
- Return type
list[MeasurementAct]
-
property
page_size
¶ Gets the page_size of this PagedResultOfMeasurementAct. # noqa: E501
- Returns
The page_size of this PagedResultOfMeasurementAct. # noqa: E501
- Return type
int
-
property
total_count
¶ Gets the total_count of this PagedResultOfMeasurementAct. # noqa: E501
- Returns
The total_count of this PagedResultOfMeasurementAct. # noqa: E501
- Return type
int
-
EVR API
OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501
The version of the OpenAPI document: 1.5.0 Generated by: https://openapi-generator.tech
-
class
pyevr.openapi_client.models.paged_result_of_measurement_unit.
PagedResultOfMeasurementUnit
(page_number=None, page_size=None, page_result=None, total_count=None, local_vars_configuration=None)[source]¶ Bases:
object
NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
-
attribute_map
= {'page_number': 'pageNumber', 'page_result': 'pageResult', 'page_size': 'pageSize', 'total_count': 'totalCount'}¶
-
openapi_types
= {'page_number': 'int', 'page_result': 'list[MeasurementUnit]', 'page_size': 'int', 'total_count': 'int'}¶
-
property
page_number
¶ Gets the page_number of this PagedResultOfMeasurementUnit. # noqa: E501
- Returns
The page_number of this PagedResultOfMeasurementUnit. # noqa: E501
- Return type
int
-
property
page_result
¶ Gets the page_result of this PagedResultOfMeasurementUnit. # noqa: E501
- Returns
The page_result of this PagedResultOfMeasurementUnit. # noqa: E501
- Return type
list[MeasurementUnit]
-
property
page_size
¶ Gets the page_size of this PagedResultOfMeasurementUnit. # noqa: E501
- Returns
The page_size of this PagedResultOfMeasurementUnit. # noqa: E501
- Return type
int
-
property
total_count
¶ Gets the total_count of this PagedResultOfMeasurementUnit. # noqa: E501
- Returns
The total_count of this PagedResultOfMeasurementUnit. # noqa: E501
- Return type
int
-
EVR API
OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501
The version of the OpenAPI document: 1.5.0 Generated by: https://openapi-generator.tech
-
class
pyevr.openapi_client.models.paged_result_of_organization.
PagedResultOfOrganization
(page_number=None, page_size=None, page_result=None, total_count=None, local_vars_configuration=None)[source]¶ Bases:
object
NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
-
attribute_map
= {'page_number': 'pageNumber', 'page_result': 'pageResult', 'page_size': 'pageSize', 'total_count': 'totalCount'}¶
-
openapi_types
= {'page_number': 'int', 'page_result': 'list[Organization]', 'page_size': 'int', 'total_count': 'int'}¶
-
property
page_number
¶ Gets the page_number of this PagedResultOfOrganization. # noqa: E501
- Returns
The page_number of this PagedResultOfOrganization. # noqa: E501
- Return type
int
-
property
page_result
¶ Gets the page_result of this PagedResultOfOrganization. # noqa: E501
- Returns
The page_result of this PagedResultOfOrganization. # noqa: E501
- Return type
list[Organization]
-
property
page_size
¶ Gets the page_size of this PagedResultOfOrganization. # noqa: E501
- Returns
The page_size of this PagedResultOfOrganization. # noqa: E501
- Return type
int
-
property
total_count
¶ Gets the total_count of this PagedResultOfOrganization. # noqa: E501
- Returns
The total_count of this PagedResultOfOrganization. # noqa: E501
- Return type
int
-
EVR API
OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501
The version of the OpenAPI document: 1.5.0 Generated by: https://openapi-generator.tech
-
class
pyevr.openapi_client.models.paged_result_of_place_of_delivery.
PagedResultOfPlaceOfDelivery
(page_number=None, page_size=None, page_result=None, total_count=None, local_vars_configuration=None)[source]¶ Bases:
object
NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
-
attribute_map
= {'page_number': 'pageNumber', 'page_result': 'pageResult', 'page_size': 'pageSize', 'total_count': 'totalCount'}¶
-
openapi_types
= {'page_number': 'int', 'page_result': 'list[PlaceOfDelivery]', 'page_size': 'int', 'total_count': 'int'}¶
-
property
page_number
¶ Gets the page_number of this PagedResultOfPlaceOfDelivery. # noqa: E501
- Returns
The page_number of this PagedResultOfPlaceOfDelivery. # noqa: E501
- Return type
int
-
property
page_result
¶ Gets the page_result of this PagedResultOfPlaceOfDelivery. # noqa: E501
- Returns
The page_result of this PagedResultOfPlaceOfDelivery. # noqa: E501
- Return type
list[PlaceOfDelivery]
-
property
page_size
¶ Gets the page_size of this PagedResultOfPlaceOfDelivery. # noqa: E501
- Returns
The page_size of this PagedResultOfPlaceOfDelivery. # noqa: E501
- Return type
int
-
property
total_count
¶ Gets the total_count of this PagedResultOfPlaceOfDelivery. # noqa: E501
- Returns
The total_count of this PagedResultOfPlaceOfDelivery. # noqa: E501
- Return type
int
-
EVR API
OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501
The version of the OpenAPI document: 1.5.0 Generated by: https://openapi-generator.tech
-
class
pyevr.openapi_client.models.paged_result_of_waybill.
PagedResultOfWaybill
(page_number=None, page_size=None, page_result=None, total_count=None, local_vars_configuration=None)[source]¶ Bases:
object
NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
-
attribute_map
= {'page_number': 'pageNumber', 'page_result': 'pageResult', 'page_size': 'pageSize', 'total_count': 'totalCount'}¶
-
openapi_types
= {'page_number': 'int', 'page_result': 'list[Waybill]', 'page_size': 'int', 'total_count': 'int'}¶
-
property
page_number
¶ Gets the page_number of this PagedResultOfWaybill. # noqa: E501
- Returns
The page_number of this PagedResultOfWaybill. # noqa: E501
- Return type
int
-
property
page_result
¶ Gets the page_result of this PagedResultOfWaybill. # noqa: E501
- Returns
The page_result of this PagedResultOfWaybill. # noqa: E501
- Return type
list[Waybill]
-
property
page_size
¶ Gets the page_size of this PagedResultOfWaybill. # noqa: E501
- Returns
The page_size of this PagedResultOfWaybill. # noqa: E501
- Return type
int
-
property
total_count
¶ Gets the total_count of this PagedResultOfWaybill. # noqa: E501
- Returns
The total_count of this PagedResultOfWaybill. # noqa: E501
- Return type
int
-
EVR API
OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501
The version of the OpenAPI document: 1.5.0 Generated by: https://openapi-generator.tech
-
class
pyevr.openapi_client.models.place_of_delivery.
PlaceOfDelivery
(name=None, code=None, register_code=None, address=None, near_address=None, coordinates=None, open_times=None, is_public=None, is_active=None, preferred_certificates=None, contact_person=None, waybill_authorizations=None, description=None, user_custom_data=None, local_vars_configuration=None)[source]¶ Bases:
object
NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
-
property
address
¶ Gets the address of this PlaceOfDelivery. # noqa: E501
- Returns
The address of this PlaceOfDelivery. # noqa: E501
- Return type
-
attribute_map
= {'address': 'address', 'code': 'code', 'contact_person': 'contactPerson', 'coordinates': 'coordinates', 'description': 'description', 'is_active': 'isActive', 'is_public': 'isPublic', 'name': 'name', 'near_address': 'nearAddress', 'open_times': 'openTimes', 'preferred_certificates': 'preferredCertificates', 'register_code': 'registerCode', 'user_custom_data': 'userCustomData', 'waybill_authorizations': 'waybillAuthorizations'}¶
-
property
code
¶ Gets the code of this PlaceOfDelivery. # noqa: E501
Tarnekoha kood # noqa: E501
- Returns
The code of this PlaceOfDelivery. # noqa: E501
- Return type
str
-
property
contact_person
¶ Gets the contact_person of this PlaceOfDelivery. # noqa: E501
- Returns
The contact_person of this PlaceOfDelivery. # noqa: E501
- Return type
-
property
coordinates
¶ Gets the coordinates of this PlaceOfDelivery. # noqa: E501
- Returns
The coordinates of this PlaceOfDelivery. # noqa: E501
- Return type
-
property
description
¶ Gets the description of this PlaceOfDelivery. # noqa: E501
Märkused # noqa: E501
- Returns
The description of this PlaceOfDelivery. # noqa: E501
- Return type
str
-
property
is_active
¶ Gets the is_active of this PlaceOfDelivery. # noqa: E501
Kas on aktiivne # noqa: E501
- Returns
The is_active of this PlaceOfDelivery. # noqa: E501
- Return type
bool
-
property
is_public
¶ Gets the is_public of this PlaceOfDelivery. # noqa: E501
Kas on avalik # noqa: E501
- Returns
The is_public of this PlaceOfDelivery. # noqa: E501
- Return type
bool
-
property
name
¶ Gets the name of this PlaceOfDelivery. # noqa: E501
Tarnekoha nimi # noqa: E501
- Returns
The name of this PlaceOfDelivery. # noqa: E501
- Return type
str
-
property
near_address
¶ Gets the near_address of this PlaceOfDelivery. # noqa: E501
Lähiaadress # noqa: E501
- Returns
The near_address of this PlaceOfDelivery. # noqa: E501
- Return type
str
-
property
open_times
¶ Gets the open_times of this PlaceOfDelivery. # noqa: E501
Millal avatud # noqa: E501
- Returns
The open_times of this PlaceOfDelivery. # noqa: E501
- Return type
list[str]
-
openapi_types
= {'address': 'Address', 'code': 'str', 'contact_person': 'ContactPerson', 'coordinates': 'Coordinates', 'description': 'str', 'is_active': 'bool', 'is_public': 'bool', 'name': 'str', 'near_address': 'str', 'open_times': 'list[str]', 'preferred_certificates': 'list[str]', 'register_code': 'str', 'user_custom_data': 'object', 'waybill_authorizations': 'list[WaybillAuthorization]'}¶
-
property
preferred_certificates
¶ Gets the preferred_certificates of this PlaceOfDelivery. # noqa: E501
Eelistatud sertifikaadid # noqa: E501
- Returns
The preferred_certificates of this PlaceOfDelivery. # noqa: E501
- Return type
list[str]
-
property
register_code
¶ Gets the register_code of this PlaceOfDelivery. # noqa: E501
Registrikood # noqa: E501
- Returns
The register_code of this PlaceOfDelivery. # noqa: E501
- Return type
str
-
property
user_custom_data
¶ Gets the user_custom_data of this PlaceOfDelivery. # noqa: E501
Api kasutaja poolt kohandatavad andmed # noqa: E501
- Returns
The user_custom_data of this PlaceOfDelivery. # noqa: E501
- Return type
object
Gets the waybill_authorizations of this PlaceOfDelivery. # noqa: E501
Volitused # noqa: E501
- Returns
The waybill_authorizations of this PlaceOfDelivery. # noqa: E501
- Return type
list[WaybillAuthorization]
-
property
EVR API
OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501
The version of the OpenAPI document: 1.5.0 Generated by: https://openapi-generator.tech
-
class
pyevr.openapi_client.models.previous_owner.
PreviousOwner
(name=None, code=None, address=None, local_vars_configuration=None)[source]¶ Bases:
object
NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
-
property
address
¶ Gets the address of this PreviousOwner. # noqa: E501
Aadress # noqa: E501
- Returns
The address of this PreviousOwner. # noqa: E501
- Return type
str
-
attribute_map
= {'address': 'address', 'code': 'code', 'name': 'name'}¶
-
property
code
¶ Gets the code of this PreviousOwner. # noqa: E501
Isiku- või registrikood # noqa: E501
- Returns
The code of this PreviousOwner. # noqa: E501
- Return type
str
-
property
name
¶ Gets the name of this PreviousOwner. # noqa: E501
Nimi # noqa: E501
- Returns
The name of this PreviousOwner. # noqa: E501
- Return type
str
-
openapi_types
= {'address': 'str', 'code': 'str', 'name': 'str'}¶
-
property
EVR API
OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501
The version of the OpenAPI document: 1.5.0 Generated by: https://openapi-generator.tech
-
class
pyevr.openapi_client.models.problem_details.
ProblemDetails
(type=None, title=None, status=None, detail=None, instance=None, extensions=None, local_vars_configuration=None)[source]¶ Bases:
object
NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
-
attribute_map
= {'detail': 'detail', 'extensions': 'extensions', 'instance': 'instance', 'status': 'status', 'title': 'title', 'type': 'type'}¶
-
property
detail
¶ Gets the detail of this ProblemDetails. # noqa: E501
- Returns
The detail of this ProblemDetails. # noqa: E501
- Return type
str
-
property
extensions
¶ Gets the extensions of this ProblemDetails. # noqa: E501
- Returns
The extensions of this ProblemDetails. # noqa: E501
- Return type
dict(str, object)
-
property
instance
¶ Gets the instance of this ProblemDetails. # noqa: E501
- Returns
The instance of this ProblemDetails. # noqa: E501
- Return type
str
-
openapi_types
= {'detail': 'str', 'extensions': 'dict(str, object)', 'instance': 'str', 'status': 'int', 'title': 'str', 'type': 'str'}¶
-
property
status
¶ Gets the status of this ProblemDetails. # noqa: E501
- Returns
The status of this ProblemDetails. # noqa: E501
- Return type
int
-
property
title
¶ Gets the title of this ProblemDetails. # noqa: E501
- Returns
The title of this ProblemDetails. # noqa: E501
- Return type
str
-
property
type
¶ Gets the type of this ProblemDetails. # noqa: E501
- Returns
The type of this ProblemDetails. # noqa: E501
- Return type
str
-
EVR API
OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501
The version of the OpenAPI document: 1.5.0 Generated by: https://openapi-generator.tech
-
class
pyevr.openapi_client.models.put_place_of_delivery_request.
PutPlaceOfDeliveryRequest
(name=None, address=None, near_address=None, coordinates=None, description=None, is_active=None, is_public=None, preferred_certificates=None, open_times=None, contact_person=None, waybill_authorizations=None, user_custom_data=None, local_vars_configuration=None)[source]¶ Bases:
object
NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
-
property
address
¶ Gets the address of this PutPlaceOfDeliveryRequest. # noqa: E501
- Returns
The address of this PutPlaceOfDeliveryRequest. # noqa: E501
- Return type
-
attribute_map
= {'address': 'address', 'contact_person': 'contactPerson', 'coordinates': 'coordinates', 'description': 'description', 'is_active': 'isActive', 'is_public': 'isPublic', 'name': 'name', 'near_address': 'nearAddress', 'open_times': 'openTimes', 'preferred_certificates': 'preferredCertificates', 'user_custom_data': 'userCustomData', 'waybill_authorizations': 'waybillAuthorizations'}¶
-
property
contact_person
¶ Gets the contact_person of this PutPlaceOfDeliveryRequest. # noqa: E501
- Returns
The contact_person of this PutPlaceOfDeliveryRequest. # noqa: E501
- Return type
-
property
coordinates
¶ Gets the coordinates of this PutPlaceOfDeliveryRequest. # noqa: E501
- Returns
The coordinates of this PutPlaceOfDeliveryRequest. # noqa: E501
- Return type
-
property
description
¶ Gets the description of this PutPlaceOfDeliveryRequest. # noqa: E501
Märkused # noqa: E501
- Returns
The description of this PutPlaceOfDeliveryRequest. # noqa: E501
- Return type
str
-
property
is_active
¶ Gets the is_active of this PutPlaceOfDeliveryRequest. # noqa: E501
Kas on aktiivne # noqa: E501
- Returns
The is_active of this PutPlaceOfDeliveryRequest. # noqa: E501
- Return type
bool
-
property
is_public
¶ Gets the is_public of this PutPlaceOfDeliveryRequest. # noqa: E501
Kas on avalik (avalikke ladusid näevad ka teised asutused) # noqa: E501
- Returns
The is_public of this PutPlaceOfDeliveryRequest. # noqa: E501
- Return type
bool
-
property
name
¶ Gets the name of this PutPlaceOfDeliveryRequest. # noqa: E501
Nimi # noqa: E501
- Returns
The name of this PutPlaceOfDeliveryRequest. # noqa: E501
- Return type
str
-
property
near_address
¶ Gets the near_address of this PutPlaceOfDeliveryRequest. # noqa: E501
Lähiaadress # noqa: E501
- Returns
The near_address of this PutPlaceOfDeliveryRequest. # noqa: E501
- Return type
str
-
property
open_times
¶ Gets the open_times of this PutPlaceOfDeliveryRequest. # noqa: E501
Millal avatud # noqa: E501
- Returns
The open_times of this PutPlaceOfDeliveryRequest. # noqa: E501
- Return type
list[str]
-
openapi_types
= {'address': 'Address', 'contact_person': 'ContactPerson', 'coordinates': 'Coordinates', 'description': 'str', 'is_active': 'bool', 'is_public': 'bool', 'name': 'str', 'near_address': 'str', 'open_times': 'list[str]', 'preferred_certificates': 'list[str]', 'user_custom_data': 'object', 'waybill_authorizations': 'list[WaybillAuthorization]'}¶
-
property
preferred_certificates
¶ Gets the preferred_certificates of this PutPlaceOfDeliveryRequest. # noqa: E501
Eelistatud sertifikaadid # noqa: E501
- Returns
The preferred_certificates of this PutPlaceOfDeliveryRequest. # noqa: E501
- Return type
list[str]
-
property
user_custom_data
¶ Gets the user_custom_data of this PutPlaceOfDeliveryRequest. # noqa: E501
Api kasutaja poolt kohandatavad andmed # noqa: E501
- Returns
The user_custom_data of this PutPlaceOfDeliveryRequest. # noqa: E501
- Return type
object
Gets the waybill_authorizations of this PutPlaceOfDeliveryRequest. # noqa: E501
Volitatud mõõtjad ja vaatlejad # noqa: E501
- Returns
The waybill_authorizations of this PutPlaceOfDeliveryRequest. # noqa: E501
- Return type
list[WaybillAuthorization]
-
property
EVR API
OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501
The version of the OpenAPI document: 1.5.0 Generated by: https://openapi-generator.tech
-
class
pyevr.openapi_client.models.receiver.
Receiver
(name=None, code=None, address=None, contact_person=None, local_vars_configuration=None)[source]¶ Bases:
object
NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
-
property
address
¶ Gets the address of this Receiver. # noqa: E501
- Returns
The address of this Receiver. # noqa: E501
- Return type
-
attribute_map
= {'address': 'address', 'code': 'code', 'contact_person': 'contactPerson', 'name': 'name'}¶
-
property
code
¶ Gets the code of this Receiver. # noqa: E501
Isiku- või registrikood # noqa: E501
- Returns
The code of this Receiver. # noqa: E501
- Return type
str
-
property
contact_person
¶ Gets the contact_person of this Receiver. # noqa: E501
- Returns
The contact_person of this Receiver. # noqa: E501
- Return type
-
property
name
¶ Gets the name of this Receiver. # noqa: E501
Nimi # noqa: E501
- Returns
The name of this Receiver. # noqa: E501
- Return type
str
-
openapi_types
= {'address': 'Address', 'code': 'str', 'contact_person': 'ContactPerson', 'name': 'str'}¶
-
property
EVR API
OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501
The version of the OpenAPI document: 1.5.0 Generated by: https://openapi-generator.tech
-
class
pyevr.openapi_client.models.representer.
Representer
(name=None, code=None, address=None, right_of_representation=None, email=None, phone=None, local_vars_configuration=None)[source]¶ Bases:
object
NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
-
property
address
¶ Gets the address of this Representer. # noqa: E501
- Returns
The address of this Representer. # noqa: E501
- Return type
-
attribute_map
= {'address': 'address', 'code': 'code', 'email': 'email', 'name': 'name', 'phone': 'phone', 'right_of_representation': 'rightOfRepresentation'}¶
-
property
code
¶ Gets the code of this Representer. # noqa: E501
Isiku- või registrikood # noqa: E501
- Returns
The code of this Representer. # noqa: E501
- Return type
str
-
property
email
¶ Gets the email of this Representer. # noqa: E501
Email # noqa: E501
- Returns
The email of this Representer. # noqa: E501
- Return type
str
-
property
name
¶ Gets the name of this Representer. # noqa: E501
Nimi # noqa: E501
- Returns
The name of this Representer. # noqa: E501
- Return type
str
-
openapi_types
= {'address': 'Address', 'code': 'str', 'email': 'str', 'name': 'str', 'phone': 'str', 'right_of_representation': 'str'}¶
-
property
phone
¶ Gets the phone of this Representer. # noqa: E501
Telefoninumber # noqa: E501
- Returns
The phone of this Representer. # noqa: E501
- Return type
str
-
property
right_of_representation
¶ Gets the right_of_representation of this Representer. # noqa: E501
Esindusõiguse alus # noqa: E501
- Returns
The right_of_representation of this Representer. # noqa: E501
- Return type
str
-
property
EVR API
OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501
The version of the OpenAPI document: 1.5.0 Generated by: https://openapi-generator.tech
-
class
pyevr.openapi_client.models.sales_contract.
SalesContract
(contract_number=None, contract_date=None, cadaster=None, compartment=None, forest_allocation_number=None, previous_owner=None, local_vars_configuration=None)[source]¶ Bases:
object
NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
-
attribute_map
= {'cadaster': 'cadaster', 'compartment': 'compartment', 'contract_date': 'contractDate', 'contract_number': 'contractNumber', 'forest_allocation_number': 'forestAllocationNumber', 'previous_owner': 'previousOwner'}¶
-
property
cadaster
¶ Gets the cadaster of this SalesContract. # noqa: E501
Katastritunnus # noqa: E501
- Returns
The cadaster of this SalesContract. # noqa: E501
- Return type
str
-
property
compartment
¶ Gets the compartment of this SalesContract. # noqa: E501
Kvartal # noqa: E501
- Returns
The compartment of this SalesContract. # noqa: E501
- Return type
str
-
property
contract_date
¶ Gets the contract_date of this SalesContract. # noqa: E501
Dokumendi kuupäev # noqa: E501
- Returns
The contract_date of this SalesContract. # noqa: E501
- Return type
datetime
-
property
contract_number
¶ Gets the contract_number of this SalesContract. # noqa: E501
Dokumendi number # noqa: E501
- Returns
The contract_number of this SalesContract. # noqa: E501
- Return type
str
-
property
forest_allocation_number
¶ Gets the forest_allocation_number of this SalesContract. # noqa: E501
Metsaeraldis # noqa: E501
- Returns
The forest_allocation_number of this SalesContract. # noqa: E501
- Return type
str
-
openapi_types
= {'cadaster': 'str', 'compartment': 'str', 'contract_date': 'datetime', 'contract_number': 'str', 'forest_allocation_number': 'str', 'previous_owner': 'PreviousOwner'}¶
-
property
previous_owner
¶ Gets the previous_owner of this SalesContract. # noqa: E501
- Returns
The previous_owner of this SalesContract. # noqa: E501
- Return type
-
EVR API
OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501
The version of the OpenAPI document: 1.5.0 Generated by: https://openapi-generator.tech
-
class
pyevr.openapi_client.models.sales_contract_all_of.
SalesContractAllOf
(contract_number=None, contract_date=None, cadaster=None, compartment=None, forest_allocation_number=None, previous_owner=None, local_vars_configuration=None)[source]¶ Bases:
object
NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
-
attribute_map
= {'cadaster': 'cadaster', 'compartment': 'compartment', 'contract_date': 'contractDate', 'contract_number': 'contractNumber', 'forest_allocation_number': 'forestAllocationNumber', 'previous_owner': 'previousOwner'}¶
-
property
cadaster
¶ Gets the cadaster of this SalesContractAllOf. # noqa: E501
Katastritunnus # noqa: E501
- Returns
The cadaster of this SalesContractAllOf. # noqa: E501
- Return type
str
-
property
compartment
¶ Gets the compartment of this SalesContractAllOf. # noqa: E501
Kvartal # noqa: E501
- Returns
The compartment of this SalesContractAllOf. # noqa: E501
- Return type
str
-
property
contract_date
¶ Gets the contract_date of this SalesContractAllOf. # noqa: E501
Dokumendi kuupäev # noqa: E501
- Returns
The contract_date of this SalesContractAllOf. # noqa: E501
- Return type
datetime
-
property
contract_number
¶ Gets the contract_number of this SalesContractAllOf. # noqa: E501
Dokumendi number # noqa: E501
- Returns
The contract_number of this SalesContractAllOf. # noqa: E501
- Return type
str
-
property
forest_allocation_number
¶ Gets the forest_allocation_number of this SalesContractAllOf. # noqa: E501
Metsaeraldis # noqa: E501
- Returns
The forest_allocation_number of this SalesContractAllOf. # noqa: E501
- Return type
str
-
openapi_types
= {'cadaster': 'str', 'compartment': 'str', 'contract_date': 'datetime', 'contract_number': 'str', 'forest_allocation_number': 'str', 'previous_owner': 'PreviousOwner'}¶
-
property
previous_owner
¶ Gets the previous_owner of this SalesContractAllOf. # noqa: E501
- Returns
The previous_owner of this SalesContractAllOf. # noqa: E501
- Return type
-
EVR API
OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501
The version of the OpenAPI document: 1.5.0 Generated by: https://openapi-generator.tech
-
class
pyevr.openapi_client.models.shipment.
Shipment
(holding_base=None, source=None, items=None, certificate_claims=None, user_custom_data=None, supply_contract_number=None, local_vars_configuration=None)[source]¶ Bases:
object
NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
-
attribute_map
= {'certificate_claims': 'certificateClaims', 'holding_base': 'holdingBase', 'items': 'items', 'source': 'source', 'supply_contract_number': 'supplyContractNumber', 'user_custom_data': 'userCustomData'}¶
-
property
certificate_claims
¶ Gets the certificate_claims of this Shipment. # noqa: E501
Tarneahela sertifikaadi väited # noqa: E501
- Returns
The certificate_claims of this Shipment. # noqa: E501
- Return type
list[CertificateClaim]
-
property
holding_base
¶ Gets the holding_base of this Shipment. # noqa: E501
- Returns
The holding_base of this Shipment. # noqa: E501
- Return type
-
property
items
¶ Gets the items of this Shipment. # noqa: E501
Saadetis # noqa: E501
- Returns
The items of this Shipment. # noqa: E501
- Return type
list[ShipmentItem]
-
openapi_types
= {'certificate_claims': 'list[CertificateClaim]', 'holding_base': 'HoldingBase', 'items': 'list[ShipmentItem]', 'source': 'Source', 'supply_contract_number': 'str', 'user_custom_data': 'object'}¶
-
property
source
¶ Gets the source of this Shipment. # noqa: E501
- Returns
The source of this Shipment. # noqa: E501
- Return type
-
property
supply_contract_number
¶ Gets the supply_contract_number of this Shipment. # noqa: E501
Tarnelepingu number # noqa: E501
- Returns
The supply_contract_number of this Shipment. # noqa: E501
- Return type
str
-
property
user_custom_data
¶ Gets the user_custom_data of this Shipment. # noqa: E501
Api kasutaja poolt kohandatavad andmed # noqa: E501
- Returns
The user_custom_data of this Shipment. # noqa: E501
- Return type
object
-
EVR API
OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501
The version of the OpenAPI document: 1.5.0 Generated by: https://openapi-generator.tech
-
class
pyevr.openapi_client.models.shipment_assortment.
ShipmentAssortment
(code=None, name=None, product_group=None, local_vars_configuration=None)[source]¶ Bases:
object
NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
-
attribute_map
= {'code': 'code', 'name': 'name', 'product_group': 'productGroup'}¶
-
property
code
¶ Gets the code of this ShipmentAssortment. # noqa: E501
Sortimendi kood. Kui organisatsioon on seadistatud kasutama EVR sortimente, peab kood olema [üks EVR sortimentide koodist.](#operation/Assortments_List) # noqa: E501
- Returns
The code of this ShipmentAssortment. # noqa: E501
- Return type
str
-
property
name
¶ Gets the name of this ShipmentAssortment. # noqa: E501
Sortimendi nimetus # noqa: E501
- Returns
The name of this ShipmentAssortment. # noqa: E501
- Return type
str
-
openapi_types
= {'code': 'str', 'name': 'str', 'product_group': 'str'}¶
-
property
product_group
¶ Gets the product_group of this ShipmentAssortment. # noqa: E501
Tootegrupi kood # noqa: E501
- Returns
The product_group of this ShipmentAssortment. # noqa: E501
- Return type
str
-
EVR API
OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501
The version of the OpenAPI document: 1.5.0 Generated by: https://openapi-generator.tech
-
class
pyevr.openapi_client.models.shipment_item.
ShipmentItem
(amount=None, pack=None, unit_code=None, assortment=None, local_vars_configuration=None)[source]¶ Bases:
object
NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
-
property
amount
¶ Gets the amount of this ShipmentItem. # noqa: E501
Kogus # noqa: E501
- Returns
The amount of this ShipmentItem. # noqa: E501
- Return type
float
-
property
assortment
¶ Gets the assortment of this ShipmentItem. # noqa: E501
- Returns
The assortment of this ShipmentItem. # noqa: E501
- Return type
-
attribute_map
= {'amount': 'amount', 'assortment': 'assortment', 'pack': 'pack', 'unit_code': 'unitCode'}¶
-
openapi_types
= {'amount': 'float', 'assortment': 'ShipmentAssortment', 'pack': 'Pack', 'unit_code': 'str'}¶
-
property
pack
¶ Gets the pack of this ShipmentItem. # noqa: E501
- Returns
The pack of this ShipmentItem. # noqa: E501
- Return type
-
property
unit_code
¶ Gets the unit_code of this ShipmentItem. # noqa: E501
[Mõõtühiku kood](#operation/MeasurementUnits_List) # noqa: E501
- Returns
The unit_code of this ShipmentItem. # noqa: E501
- Return type
str
-
property
EVR API
OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501
The version of the OpenAPI document: 1.5.0 Generated by: https://openapi-generator.tech
-
class
pyevr.openapi_client.models.source.
Source
(name=None, code=None, compartment=None, appropriation=None, planning_area=None, address=None, coordinates=None, contact_person=None, near_address=None, source_document_url=None, local_vars_configuration=None)[source]¶ Bases:
object
NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
-
property
address
¶ Gets the address of this Source. # noqa: E501
- Returns
The address of this Source. # noqa: E501
- Return type
-
property
appropriation
¶ Gets the appropriation of this Source. # noqa: E501
Eraldis # noqa: E501
- Returns
The appropriation of this Source. # noqa: E501
- Return type
str
-
attribute_map
= {'address': 'address', 'appropriation': 'appropriation', 'code': 'code', 'compartment': 'compartment', 'contact_person': 'contactPerson', 'coordinates': 'coordinates', 'name': 'name', 'near_address': 'nearAddress', 'planning_area': 'planningArea', 'source_document_url': 'sourceDocumentUrl'}¶
-
property
code
¶ Gets the code of this Source. # noqa: E501
Laokood # noqa: E501
- Returns
The code of this Source. # noqa: E501
- Return type
str
-
property
compartment
¶ Gets the compartment of this Source. # noqa: E501
Kvartal # noqa: E501
- Returns
The compartment of this Source. # noqa: E501
- Return type
str
-
property
contact_person
¶ Gets the contact_person of this Source. # noqa: E501
- Returns
The contact_person of this Source. # noqa: E501
- Return type
-
property
coordinates
¶ Gets the coordinates of this Source. # noqa: E501
- Returns
The coordinates of this Source. # noqa: E501
- Return type
-
property
name
¶ Gets the name of this Source. # noqa: E501
Maaüksuse või laoplatsi nimi # noqa: E501
- Returns
The name of this Source. # noqa: E501
- Return type
str
-
property
near_address
¶ Gets the near_address of this Source. # noqa: E501
Lähiaadress # noqa: E501
- Returns
The near_address of this Source. # noqa: E501
- Return type
str
-
openapi_types
= {'address': 'Address', 'appropriation': 'str', 'code': 'str', 'compartment': 'str', 'contact_person': 'ContactPerson', 'coordinates': 'Coordinates', 'name': 'str', 'near_address': 'str', 'planning_area': 'str', 'source_document_url': 'str'}¶
-
property
planning_area
¶ Gets the planning_area of this Source. # noqa: E501
Planeerimispiirkond # noqa: E501
- Returns
The planning_area of this Source. # noqa: E501
- Return type
str
-
property
source_document_url
¶ Gets the source_document_url of this Source. # noqa: E501
Päritoludokumendi URL # noqa: E501
- Returns
The source_document_url of this Source. # noqa: E501
- Return type
str
-
property
EVR API
OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501
The version of the OpenAPI document: 1.5.0 Generated by: https://openapi-generator.tech
-
class
pyevr.openapi_client.models.start_waybill_request.
StartWaybillRequest
(owner=None, transport=None, receiver=None, place_of_delivery=None, comment=None, departure_time=None, submission_time=None, shipments=None, pre_journey_mileage=None, user_custom_data=None, mass=None, viewers=None, local_vars_configuration=None)[source]¶ Bases:
object
NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
-
attribute_map
= {'comment': 'comment', 'departure_time': 'departureTime', 'mass': 'mass', 'owner': 'owner', 'place_of_delivery': 'placeOfDelivery', 'pre_journey_mileage': 'preJourneyMileage', 'receiver': 'receiver', 'shipments': 'shipments', 'submission_time': 'submissionTime', 'transport': 'transport', 'user_custom_data': 'userCustomData', 'viewers': 'viewers'}¶
-
property
comment
¶ Gets the comment of this StartWaybillRequest. # noqa: E501
Märkused/lisainfo # noqa: E501
- Returns
The comment of this StartWaybillRequest. # noqa: E501
- Return type
str
-
property
departure_time
¶ Gets the departure_time of this StartWaybillRequest. # noqa: E501
Väljasõidu aeg # noqa: E501
- Returns
The departure_time of this StartWaybillRequest. # noqa: E501
- Return type
datetime
-
property
mass
¶ Gets the mass of this StartWaybillRequest. # noqa: E501
Autorongi mass tonnides # noqa: E501
- Returns
The mass of this StartWaybillRequest. # noqa: E501
- Return type
float
-
openapi_types
= {'comment': 'str', 'departure_time': 'datetime', 'mass': 'float', 'owner': 'Owner', 'place_of_delivery': 'WaybillPlaceOfDelivery', 'pre_journey_mileage': 'int', 'receiver': 'Receiver', 'shipments': 'list[Shipment]', 'submission_time': 'datetime', 'transport': 'Transport', 'user_custom_data': 'object', 'viewers': 'list[Viewer]'}¶
-
property
owner
¶ Gets the owner of this StartWaybillRequest. # noqa: E501
- Returns
The owner of this StartWaybillRequest. # noqa: E501
- Return type
-
property
place_of_delivery
¶ Gets the place_of_delivery of this StartWaybillRequest. # noqa: E501
- Returns
The place_of_delivery of this StartWaybillRequest. # noqa: E501
- Return type
-
property
pre_journey_mileage
¶ Gets the pre_journey_mileage of this StartWaybillRequest. # noqa: E501
Ettesõidu kilometraaž # noqa: E501
- Returns
The pre_journey_mileage of this StartWaybillRequest. # noqa: E501
- Return type
int
-
property
receiver
¶ Gets the receiver of this StartWaybillRequest. # noqa: E501
- Returns
The receiver of this StartWaybillRequest. # noqa: E501
- Return type
-
property
shipments
¶ Gets the shipments of this StartWaybillRequest. # noqa: E501
Lähetatud veose andmed # noqa: E501
- Returns
The shipments of this StartWaybillRequest. # noqa: E501
- Return type
list[Shipment]
-
property
submission_time
¶ Gets the submission_time of this StartWaybillRequest. # noqa: E501
Veoselehe EVR-i saatmise aeg # noqa: E501
- Returns
The submission_time of this StartWaybillRequest. # noqa: E501
- Return type
datetime
-
property
transport
¶ Gets the transport of this StartWaybillRequest. # noqa: E501
- Returns
The transport of this StartWaybillRequest. # noqa: E501
- Return type
-
property
user_custom_data
¶ Gets the user_custom_data of this StartWaybillRequest. # noqa: E501
Api kasutaja poolt kohandatavad andmed # noqa: E501
- Returns
The user_custom_data of this StartWaybillRequest. # noqa: E501
- Return type
object
-
EVR API
OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501
The version of the OpenAPI document: 1.5.0 Generated by: https://openapi-generator.tech
-
class
pyevr.openapi_client.models.transport.
Transport
(transporter=None, driver_name=None, driver_id_code=None, driver_phone=None, van_registration_number=None, trailer_registration_number=None, local_vars_configuration=None)[source]¶ Bases:
object
NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
-
attribute_map
= {'driver_id_code': 'driverIdCode', 'driver_name': 'driverName', 'driver_phone': 'driverPhone', 'trailer_registration_number': 'trailerRegistrationNumber', 'transporter': 'transporter', 'van_registration_number': 'vanRegistrationNumber'}¶
-
property
driver_id_code
¶ Gets the driver_id_code of this Transport. # noqa: E501
Autojuhi isikukood # noqa: E501
- Returns
The driver_id_code of this Transport. # noqa: E501
- Return type
str
-
property
driver_name
¶ Gets the driver_name of this Transport. # noqa: E501
Autojuhi nimi # noqa: E501
- Returns
The driver_name of this Transport. # noqa: E501
- Return type
str
-
property
driver_phone
¶ Gets the driver_phone of this Transport. # noqa: E501
Autojuhi telefoninumber # noqa: E501
- Returns
The driver_phone of this Transport. # noqa: E501
- Return type
str
-
openapi_types
= {'driver_id_code': 'str', 'driver_name': 'str', 'driver_phone': 'str', 'trailer_registration_number': 'str', 'transporter': 'Transporter', 'van_registration_number': 'str'}¶
-
property
trailer_registration_number
¶ Gets the trailer_registration_number of this Transport. # noqa: E501
Haagise kasutamise korral haagise riiklik registreerimisnumber # noqa: E501
- Returns
The trailer_registration_number of this Transport. # noqa: E501
- Return type
str
-
property
transporter
¶ Gets the transporter of this Transport. # noqa: E501
- Returns
The transporter of this Transport. # noqa: E501
- Return type
-
property
van_registration_number
¶ Gets the van_registration_number of this Transport. # noqa: E501
Veoki riiklik registreerimisnumber # noqa: E501
- Returns
The van_registration_number of this Transport. # noqa: E501
- Return type
str
-
EVR API
OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501
The version of the OpenAPI document: 1.5.0 Generated by: https://openapi-generator.tech
-
class
pyevr.openapi_client.models.transporter.
Transporter
(name=None, code=None, contact_person=None, local_vars_configuration=None)[source]¶ Bases:
object
NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
-
attribute_map
= {'code': 'code', 'contact_person': 'contactPerson', 'name': 'name'}¶
-
property
code
¶ Gets the code of this Transporter. # noqa: E501
Isiku- või registrikood # noqa: E501
- Returns
The code of this Transporter. # noqa: E501
- Return type
str
-
property
contact_person
¶ Gets the contact_person of this Transporter. # noqa: E501
- Returns
The contact_person of this Transporter. # noqa: E501
- Return type
-
property
name
¶ Gets the name of this Transporter. # noqa: E501
Nimi # noqa: E501
- Returns
The name of this Transporter. # noqa: E501
- Return type
str
-
openapi_types
= {'code': 'str', 'contact_person': 'ContactPerson', 'name': 'str'}¶
-
EVR API
OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501
The version of the OpenAPI document: 1.5.0 Generated by: https://openapi-generator.tech
-
class
pyevr.openapi_client.models.unload_waybill_request.
UnloadWaybillRequest
(total_journey_mileage=None, comment=None, local_vars_configuration=None)[source]¶ Bases:
object
NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
-
attribute_map
= {'comment': 'comment', 'total_journey_mileage': 'totalJourneyMileage'}¶
-
property
comment
¶ Gets the comment of this UnloadWaybillRequest. # noqa: E501
Kommentaar # noqa: E501
- Returns
The comment of this UnloadWaybillRequest. # noqa: E501
- Return type
str
-
openapi_types
= {'comment': 'str', 'total_journey_mileage': 'int'}¶
-
property
total_journey_mileage
¶ Gets the total_journey_mileage of this UnloadWaybillRequest. # noqa: E501
Kilometraaž koormaga # noqa: E501
- Returns
The total_journey_mileage of this UnloadWaybillRequest. # noqa: E501
- Return type
int
-
EVR API
OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501
The version of the OpenAPI document: 1.5.0 Generated by: https://openapi-generator.tech
-
class
pyevr.openapi_client.models.validation_result.
ValidationResult
(errors=None, local_vars_configuration=None)[source]¶ Bases:
object
NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
-
attribute_map
= {'errors': 'errors'}¶
-
property
errors
¶ Gets the errors of this ValidationResult. # noqa: E501
- Returns
The errors of this ValidationResult. # noqa: E501
- Return type
dict(str, list[str])
-
openapi_types
= {'errors': 'dict(str, list[str])'}¶
-
EVR API
OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501
The version of the OpenAPI document: 1.5.0 Generated by: https://openapi-generator.tech
-
class
pyevr.openapi_client.models.viewer.
Viewer
(code=None, local_vars_configuration=None)[source]¶ Bases:
object
NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
-
attribute_map
= {'code': 'code'}¶
-
property
code
¶ Gets the code of this Viewer. # noqa: E501
Registrikood # noqa: E501
- Returns
The code of this Viewer. # noqa: E501
- Return type
str
-
openapi_types
= {'code': 'str'}¶
-
EVR API
OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501
The version of the OpenAPI document: 1.5.0 Generated by: https://openapi-generator.tech
-
class
pyevr.openapi_client.models.waybill.
Waybill
(owner=None, transport=None, receiver=None, place_of_delivery=None, comment=None, departure_time=None, submission_time=None, shipments=None, pre_journey_mileage=None, user_custom_data=None, mass=None, number=None, status=None, creation_time=None, cancellation_time=None, cancellation_reason=None, total_journey_mileage=None, unloading_comment=None, unloading_time=None, finishing_time=None, last_modification_time=None, waybill_authorizations=None, local_vars_configuration=None)[source]¶ Bases:
object
NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
-
attribute_map
= {'cancellation_reason': 'cancellationReason', 'cancellation_time': 'cancellationTime', 'comment': 'comment', 'creation_time': 'creationTime', 'departure_time': 'departureTime', 'finishing_time': 'finishingTime', 'last_modification_time': 'lastModificationTime', 'mass': 'mass', 'number': 'number', 'owner': 'owner', 'place_of_delivery': 'placeOfDelivery', 'pre_journey_mileage': 'preJourneyMileage', 'receiver': 'receiver', 'shipments': 'shipments', 'status': 'status', 'submission_time': 'submissionTime', 'total_journey_mileage': 'totalJourneyMileage', 'transport': 'transport', 'unloading_comment': 'unloadingComment', 'unloading_time': 'unloadingTime', 'user_custom_data': 'userCustomData', 'waybill_authorizations': 'waybillAuthorizations'}¶
-
property
cancellation_reason
¶ Gets the cancellation_reason of this Waybill. # noqa: E501
Tühistamise põhjus (kui veoseleht on tühistatud) # noqa: E501
- Returns
The cancellation_reason of this Waybill. # noqa: E501
- Return type
str
-
property
cancellation_time
¶ Gets the cancellation_time of this Waybill. # noqa: E501
Tühistamise aeg (kui veoseleht on tühistatud) # noqa: E501
- Returns
The cancellation_time of this Waybill. # noqa: E501
- Return type
datetime
-
property
comment
¶ Gets the comment of this Waybill. # noqa: E501
Märkused/lisainfo # noqa: E501
- Returns
The comment of this Waybill. # noqa: E501
- Return type
str
-
property
creation_time
¶ Gets the creation_time of this Waybill. # noqa: E501
Loomise aeg # noqa: E501
- Returns
The creation_time of this Waybill. # noqa: E501
- Return type
datetime
-
property
departure_time
¶ Gets the departure_time of this Waybill. # noqa: E501
Väljasõidu aeg # noqa: E501
- Returns
The departure_time of this Waybill. # noqa: E501
- Return type
datetime
-
property
finishing_time
¶ Gets the finishing_time of this Waybill. # noqa: E501
Veoselehe lõpetamise aeg (kui veoseleht on lõpetatud) # noqa: E501
- Returns
The finishing_time of this Waybill. # noqa: E501
- Return type
datetime
-
property
last_modification_time
¶ Gets the last_modification_time of this Waybill. # noqa: E501
Veoselehe viimase muutmise aeg # noqa: E501
- Returns
The last_modification_time of this Waybill. # noqa: E501
- Return type
datetime
-
property
mass
¶ Gets the mass of this Waybill. # noqa: E501
Autorongi mass tonnides # noqa: E501
- Returns
The mass of this Waybill. # noqa: E501
- Return type
float
-
property
number
¶ Gets the number of this Waybill. # noqa: E501
Veoselehe number # noqa: E501
- Returns
The number of this Waybill. # noqa: E501
- Return type
str
-
openapi_types
= {'cancellation_reason': 'str', 'cancellation_time': 'datetime', 'comment': 'str', 'creation_time': 'datetime', 'departure_time': 'datetime', 'finishing_time': 'datetime', 'last_modification_time': 'datetime', 'mass': 'float', 'number': 'str', 'owner': 'Owner', 'place_of_delivery': 'WaybillPlaceOfDelivery', 'pre_journey_mileage': 'int', 'receiver': 'Receiver', 'shipments': 'list[Shipment]', 'status': 'WaybillStatus', 'submission_time': 'datetime', 'total_journey_mileage': 'int', 'transport': 'Transport', 'unloading_comment': 'str', 'unloading_time': 'datetime', 'user_custom_data': 'object', 'waybill_authorizations': 'list[WaybillAuthorization]'}¶
-
property
owner
¶ Gets the owner of this Waybill. # noqa: E501
- Returns
The owner of this Waybill. # noqa: E501
- Return type
-
property
place_of_delivery
¶ Gets the place_of_delivery of this Waybill. # noqa: E501
- Returns
The place_of_delivery of this Waybill. # noqa: E501
- Return type
-
property
pre_journey_mileage
¶ Gets the pre_journey_mileage of this Waybill. # noqa: E501
Ettesõidu kilometraaž # noqa: E501
- Returns
The pre_journey_mileage of this Waybill. # noqa: E501
- Return type
int
-
property
receiver
¶ Gets the receiver of this Waybill. # noqa: E501
- Returns
The receiver of this Waybill. # noqa: E501
- Return type
-
property
shipments
¶ Gets the shipments of this Waybill. # noqa: E501
Lähetatud veose andmed # noqa: E501
- Returns
The shipments of this Waybill. # noqa: E501
- Return type
list[Shipment]
-
property
status
¶ Gets the status of this Waybill. # noqa: E501
- Returns
The status of this Waybill. # noqa: E501
- Return type
-
property
submission_time
¶ Gets the submission_time of this Waybill. # noqa: E501
Veoselehe EVR-i saatmise aeg # noqa: E501
- Returns
The submission_time of this Waybill. # noqa: E501
- Return type
datetime
-
property
total_journey_mileage
¶ Gets the total_journey_mileage of this Waybill. # noqa: E501
Kilometraaž koormaga (kui veoselehel on vedu lõpetatud) # noqa: E501
- Returns
The total_journey_mileage of this Waybill. # noqa: E501
- Return type
int
-
property
transport
¶ Gets the transport of this Waybill. # noqa: E501
- Returns
The transport of this Waybill. # noqa: E501
- Return type
-
property
unloading_comment
¶ Gets the unloading_comment of this Waybill. # noqa: E501
Mahalaadimise kommentaar (kui veoselehel on vedu lõpetatud) # noqa: E501
- Returns
The unloading_comment of this Waybill. # noqa: E501
- Return type
str
-
property
unloading_time
¶ Gets the unloading_time of this Waybill. # noqa: E501
Mahalaadimise aeg (kui veoselehel on vedu lõpetatud) # noqa: E501
- Returns
The unloading_time of this Waybill. # noqa: E501
- Return type
datetime
-
property
user_custom_data
¶ Gets the user_custom_data of this Waybill. # noqa: E501
Api kasutaja poolt kohandatavad andmed # noqa: E501
- Returns
The user_custom_data of this Waybill. # noqa: E501
- Return type
object
Gets the waybill_authorizations of this Waybill. # noqa: E501
Veoselehe volitused # noqa: E501
- Returns
The waybill_authorizations of this Waybill. # noqa: E501
- Return type
list[WaybillAuthorization]
-
EVR API
OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501
The version of the OpenAPI document: 1.5.0 Generated by: https://openapi-generator.tech
-
class
pyevr.openapi_client.models.waybill_place_of_delivery.
WaybillPlaceOfDelivery
(code=None, name=None, coordinates=None, address=None, contact_person=None, near_address=None, user_custom_data=None, local_vars_configuration=None)[source]¶ Bases:
object
NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
-
property
address
¶ Gets the address of this WaybillPlaceOfDelivery. # noqa: E501
- Returns
The address of this WaybillPlaceOfDelivery. # noqa: E501
- Return type
-
attribute_map
= {'address': 'address', 'code': 'code', 'contact_person': 'contactPerson', 'coordinates': 'coordinates', 'name': 'name', 'near_address': 'nearAddress', 'user_custom_data': 'userCustomData'}¶
-
property
code
¶ Gets the code of this WaybillPlaceOfDelivery. # noqa: E501
EVR tarnekoha kood (kui on EVR-i lisatud tarnekoht) # noqa: E501
- Returns
The code of this WaybillPlaceOfDelivery. # noqa: E501
- Return type
str
-
property
contact_person
¶ Gets the contact_person of this WaybillPlaceOfDelivery. # noqa: E501
- Returns
The contact_person of this WaybillPlaceOfDelivery. # noqa: E501
- Return type
-
property
coordinates
¶ Gets the coordinates of this WaybillPlaceOfDelivery. # noqa: E501
- Returns
The coordinates of this WaybillPlaceOfDelivery. # noqa: E501
- Return type
-
property
name
¶ Gets the name of this WaybillPlaceOfDelivery. # noqa: E501
Tarnekoha nimi # noqa: E501
- Returns
The name of this WaybillPlaceOfDelivery. # noqa: E501
- Return type
str
-
property
near_address
¶ Gets the near_address of this WaybillPlaceOfDelivery. # noqa: E501
Lähiaadress # noqa: E501
- Returns
The near_address of this WaybillPlaceOfDelivery. # noqa: E501
- Return type
str
-
openapi_types
= {'address': 'Address', 'code': 'str', 'contact_person': 'ContactPerson', 'coordinates': 'Coordinates', 'name': 'str', 'near_address': 'str', 'user_custom_data': 'object'}¶
-
property
user_custom_data
¶ Gets the user_custom_data of this WaybillPlaceOfDelivery. # noqa: E501
Api kasutaja poolt kohandatavad andmed # noqa: E501
- Returns
The user_custom_data of this WaybillPlaceOfDelivery. # noqa: E501
- Return type
object
-
property
EVR API
OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501
The version of the OpenAPI document: 1.5.0 Generated by: https://openapi-generator.tech
-
class
pyevr.openapi_client.models.waybill_sort_field.
WaybillSortField
(local_vars_configuration=None)[source]¶ Bases:
object
NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
-
CREATIONTIMEASC
= 'creationTimeAsc'¶
-
CREATIONTIMEDESC
= 'creationTimeDesc'¶
-
LASTMODIFICATIONTIMEASC
= 'lastModificationTimeAsc'¶
-
LASTMODIFICATIONTIMEDESC
= 'lastModificationTimeDesc'¶
-
allowable_values
= ['creationTimeAsc', 'creationTimeDesc', 'lastModificationTimeAsc', 'lastModificationTimeDesc']¶ - Attributes:
- openapi_types (dict): The key is attribute name
and the value is attribute type.
- attribute_map (dict): The key is attribute name
and the value is json key in definition.
-
attribute_map
= {}¶
-
openapi_types
= {}¶
-
EVR API
OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501
The version of the OpenAPI document: 1.5.0 Generated by: https://openapi-generator.tech
-
class
pyevr.openapi_client.models.waybill_status.
WaybillStatus
(local_vars_configuration=None)[source]¶ Bases:
object
NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
-
CANCELLED
= 'cancelled'¶
-
FINISHED
= 'finished'¶
-
SHIPPING
= 'shipping'¶
-
UNLOADED
= 'unloaded'¶
-
allowable_values
= ['shipping', 'cancelled', 'unloaded', 'finished']¶ - Attributes:
- openapi_types (dict): The key is attribute name
and the value is attribute type.
- attribute_map (dict): The key is attribute name
and the value is json key in definition.
-
attribute_map
= {}¶
-
openapi_types
= {}¶
-
EVR API
OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501
The version of the OpenAPI document: 1.5.0 Generated by: https://openapi-generator.tech
Submodules¶
pyevr.openapi_client.api_client module¶
EVR API
OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501
The version of the OpenAPI document: 1.5.0 Generated by: https://openapi-generator.tech
-
class
pyevr.openapi_client.api_client.
ApiClient
(configuration=None, header_name=None, header_value=None, cookie=None, pool_threads=1)[source]¶ Bases:
object
Generic API client for OpenAPI client library builds.
OpenAPI generic API client. This client handles the client- server communication, and is invariant across implementations. Specifics of the methods and models for each application are generated from the OpenAPI templates.
NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually.
- Parameters
configuration – .Configuration object for this client
header_name – a header to pass when making calls to the API.
header_value – a header value to pass when making calls to the API.
cookie – a cookie to include in the header when making calls to the API
pool_threads – The number of threads to use for async requests to the API. More threads means more concurrent API requests.
-
NATIVE_TYPES_MAPPING
= {'bool': <class 'bool'>, 'date': <class 'datetime.date'>, 'datetime': <class 'datetime.datetime'>, 'float': <class 'float'>, 'int': <class 'int'>, 'long': <class 'int'>, 'object': <class 'object'>, 'str': <class 'str'>}¶
-
PRIMITIVE_TYPES
= (<class 'float'>, <class 'bool'>, <class 'bytes'>, <class 'str'>, <class 'int'>)¶
-
call_api
(resource_path, method, path_params=None, query_params=None, header_params=None, body=None, post_params=None, files=None, response_type=None, auth_settings=None, async_req=None, _return_http_data_only=None, collection_formats=None, _preload_content=True, _request_timeout=None, _host=None)[source]¶ Makes the HTTP request (synchronous) and returns deserialized data.
To make an async_req request, set the async_req parameter.
- Parameters
resource_path – Path to method endpoint.
method – Method to call.
path_params – Path parameters in the url.
query_params – Query parameters in the url.
header_params – Header parameters to be placed in the request header.
body – Request body.
dict (files) – Request post form parameters, for application/x-www-form-urlencoded, multipart/form-data.
list (auth_settings) – Auth Settings names for the request.
response – Response data type.
dict – key -> filename, value -> filepath, for multipart/form-data.
bool (async_req) – execute request asynchronously
_return_http_data_only – response data without head status code and headers
collection_formats – dict of collection formats for path, query, header, and post parameters.
_preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns
If async_req parameter is True, the request will be called asynchronously. The method will return the request thread. If parameter async_req is False or missing, then the method will return the response directly.
-
deserialize
(response, response_type)[source]¶ Deserializes response into an object.
- Parameters
response – RESTResponse object to be deserialized.
response_type – class literal for deserialized object, or string of class name.
- Returns
deserialized object.
-
files_parameters
(files=None)[source]¶ Builds form parameters.
- Parameters
files – File parameters.
- Returns
Form parameters with files.
-
parameters_to_tuples
(params, collection_formats)[source]¶ Get parameters as list of tuples, formatting collections.
- Parameters
params – Parameters as dict or list of two-tuples
collection_formats (dict) – Parameter collection formats
- Returns
Parameters as list of tuples, collections formatted
-
property
pool
¶ Create thread pool on first request avoids instantiating unused threadpool for blocking clients.
-
request
(method, url, query_params=None, headers=None, post_params=None, body=None, _preload_content=True, _request_timeout=None)[source]¶ Makes the HTTP request using RESTClient.
-
sanitize_for_serialization
(obj)[source]¶ Builds a JSON POST object.
If obj is None, return None. If obj is str, int, long, float, bool, return directly. If obj is datetime.datetime, datetime.date
convert to string in iso8601 format.
If obj is list, sanitize each element in the list. If obj is dict, return the dict. If obj is OpenAPI model, return the properties dict.
- Parameters
obj – The data to serialize.
- Returns
The serialized form of data.
-
select_header_accept
(accepts)[source]¶ Returns Accept based on an array of accepts provided.
- Parameters
accepts – List of headers.
- Returns
Accept (e.g. application/json).
-
select_header_content_type
(content_types)[source]¶ Returns Content-Type based on an array of content_types provided.
- Parameters
content_types – List of content-types.
- Returns
Content-Type (e.g. application/json).
-
update_params_for_auth
(headers, querys, auth_settings)[source]¶ Updates header and query params based on authentication setting.
- Parameters
headers – Header parameters dict to be updated.
querys – Query parameters tuple list to be updated.
auth_settings – Authentication setting identifiers list.
-
property
user_agent
¶ User agent for this API client
pyevr.openapi_client.configuration module¶
EVR API
OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501
The version of the OpenAPI document: 1.5.0 Generated by: https://openapi-generator.tech
-
class
pyevr.openapi_client.configuration.
Configuration
(host='https://evr.veoseleht.ee', api_key=None, api_key_prefix=None, username=None, password=None, discard_unknown_keys=False)[source]¶ Bases:
object
NOTE: This class is auto generated by OpenAPI Generator
Ref: https://openapi-generator.tech Do not edit the class manually.
- Parameters
host – Base url
api_key – Dict to store API key(s). Each entry in the dict specifies an API key. The dict key is the name of the security scheme in the OAS specification. The dict value is the API key secret.
api_key_prefix – Dict to store API prefix (e.g. Bearer) The dict key is the name of the security scheme in the OAS specification. The dict value is an API key prefix when generating the auth data.
username – Username for HTTP basic authentication
password – Password for HTTP basic authentication
discard_unknown_keys –
Boolean value indicating whether to discard unknown properties. A server may send a response that includes additional properties that are not known by the client in the following scenarios: 1. The OpenAPI document is incomplete, i.e. it does not match the server
implementation.
The client was generated using an older version of the OpenAPI document and the server has been upgraded since then.
If a schema in the OpenAPI document defines the additionalProperties attribute, then all undeclared properties received by the server are injected into the additional properties map. In that case, there are undeclared properties, and nothing to discard.
- Example
API Key Authentication Example. Given the following security scheme in the OpenAPI specification:
- components:
- securitySchemes:
- cookieAuth: # name for the security scheme
type: apiKey in: cookie name: JSESSIONID # cookie name
- You can programmatically set the cookie:
- conf = openapi_client.Configuration(
api_key={‘cookieAuth’: ‘abc123’} api_key_prefix={‘cookieAuth’: ‘JSESSIONID’}
)
- The following cookie will be added to the HTTP request:
Cookie: JSESSIONID abc123
-
assert_hostname
= None¶ Set this to True/False to enable/disable SSL hostname verification.
-
auth_settings
()[source]¶ Gets Auth Settings dict for api client.
- Returns
The Auth Settings information dict.
-
cert_file
= None¶ client certificate file
-
connection_pool_maxsize
= None¶ urllib3 connection pool’s maximum number of connections saved per pool. urllib3 uses 1 connection as default value, but this is not the best value when you are making a lot of possibly parallel requests to the same host, which is often the case here. cpu_count * 5 is used as default value to increase performance.
-
property
debug
¶ Debug switch
-
get_api_key_with_prefix
(identifier)[source]¶ Gets API key (with prefix if set).
- Parameters
identifier – The identifier of apiKey.
- Returns
The token for api key authentication.
-
get_basic_auth_token
()[source]¶ Gets HTTP basic authentication header (string).
- Returns
The token for basic HTTP authentication.
-
classmethod
get_default_copy
()[source]¶ Return new instance of configuration.
This method returns newly created, based on default constructor, object of Configuration class or returns a copy of default configuration passed by the set_default method.
- Returns
The configuration object.
-
get_host_from_settings
(index, variables=None)[source]¶ Gets host URL based on the index and variables :param index: array index of the host settings :param variables: hash of variable and the corresponding value :return: URL based on host settings
-
host
= None¶ Default Base url
-
key_file
= None¶ client key file
-
logger
= None¶ Logging Settings
-
property
logger_file
¶ Debug file location
-
logger_file_handler
= None¶ Log file handler
-
property
logger_format
¶ Log format
-
logger_stream_handler
= None¶ Log stream handler
-
password
= None¶ Password for HTTP basic authentication
-
proxy
= None¶ Proxy URL
-
proxy_headers
= None¶ Proxy headers
-
refresh_api_key_hook
= None¶ function hook to refresh API key if expired
-
retries
= None¶ Adding retries to override urllib3 default value 3
-
safe_chars_for_path_param
= None¶ Safe chars for path_param
-
classmethod
set_default
(default)[source]¶ Set default instance of configuration.
It stores default configuration, which can be returned by get_default_copy method.
- Parameters
default – object of Configuration
-
ssl_ca_cert
= None¶ Set this to customize the certificate file to verify the peer.
-
temp_folder_path
= None¶ Temp file folder for downloading files
-
to_debug_report
()[source]¶ Gets the essential information for debugging.
- Returns
The report for debugging.
-
username
= None¶ Username for HTTP basic authentication
-
verify_ssl
= None¶ SSL/TLS verification Set this to false to skip verifying SSL certificate when calling API from https server.
pyevr.openapi_client.exceptions module¶
EVR API
OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501
The version of the OpenAPI document: 1.5.0 Generated by: https://openapi-generator.tech
-
exception
pyevr.openapi_client.exceptions.
ApiException
(status=None, reason=None, http_resp=None)[source]¶
-
exception
pyevr.openapi_client.exceptions.
ApiKeyError
(msg, path_to_item=None)[source]¶ Bases:
pyevr.openapi_client.exceptions.OpenApiException
,KeyError
-
exception
pyevr.openapi_client.exceptions.
ApiTypeError
(msg, path_to_item=None, valid_classes=None, key_type=None)[source]¶ Bases:
pyevr.openapi_client.exceptions.OpenApiException
,TypeError
-
exception
pyevr.openapi_client.exceptions.
ApiValueError
(msg, path_to_item=None)[source]¶ Bases:
pyevr.openapi_client.exceptions.OpenApiException
,ValueError
pyevr.openapi_client.rest module¶
EVR API
OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501
The version of the OpenAPI document: 1.5.0 Generated by: https://openapi-generator.tech
-
class
pyevr.openapi_client.rest.
RESTClientObject
(configuration, pools_size=4, maxsize=None)[source]¶ Bases:
object
-
DELETE
(url, headers=None, query_params=None, body=None, _preload_content=True, _request_timeout=None)[source]¶
-
OPTIONS
(url, headers=None, query_params=None, post_params=None, body=None, _preload_content=True, _request_timeout=None)[source]¶
-
PATCH
(url, headers=None, query_params=None, post_params=None, body=None, _preload_content=True, _request_timeout=None)[source]¶
-
POST
(url, headers=None, query_params=None, post_params=None, body=None, _preload_content=True, _request_timeout=None)[source]¶
-
PUT
(url, headers=None, query_params=None, post_params=None, body=None, _preload_content=True, _request_timeout=None)[source]¶
-
request
(method, url, query_params=None, headers=None, body=None, post_params=None, _preload_content=True, _request_timeout=None)[source]¶ Perform requests.
- Parameters
method – http request method
url – http request url
query_params – query parameters in the url
headers – http request headers
body – request json body, for application/json
post_params – request post parameters, application/x-www-form-urlencoded and multipart/form-data
_preload_content – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
-
Module contents¶
EVR API
OpenAPI Generator’i jaoks kohandatud EVR API kirjeldus. Kasuta seda juhul, kui spetsifikatsioonile vastava EVR API kirjeldusega ei õnnestu klienti genereerida. # noqa: E501
The version of the OpenAPI document: 1.5.0 Generated by: https://openapi-generator.tech
Submodules¶
pyevr.apis module¶
-
class
pyevr.apis.
AllMixin
[source]¶ Bases:
object
Mixin for API endpoint classes to have an all() method for returning objects from all pages.
- Attr list_endpoint_attr
API endpoint’s method for returning paged results
- Attr evr_page_param
Argument name that determines the page number
-
all
(**kwargs)[source]¶ Method for going through all the pages of a list view that is responsible for returning paged results
-
evr_page_param
= 'page'¶
-
get_list_endpoint
() → Callable[source]¶ Method for getting the callable API’s endpoint that is responsible for returning paged results
- Returns
Callable API’s list endpoint method.
-
list_endpoint_attr
= None¶
-
class
pyevr.apis.
AssortmentsAPI
(api_client=None)[source]¶ Bases:
pyevr.apis.AllMixin
,pyevr.openapi_client.api.assortments_api.AssortmentsApi
-
list_endpoint_attr
= 'assortments_list'¶
-
-
class
pyevr.apis.
CertificatesAPI
(api_client=None)[source]¶ Bases:
pyevr.apis.AllMixin
,pyevr.openapi_client.api.certificates_api.CertificatesApi
-
list_endpoint_attr
= 'certificates_list'¶
-
-
class
pyevr.apis.
MeasurementUnitsAPI
(api_client=None)[source]¶ Bases:
pyevr.apis.AllMixin
,pyevr.openapi_client.api.measurement_units_api.MeasurementUnitsApi
-
list_endpoint_attr
= 'measurement_units_list'¶
-
-
class
pyevr.apis.
MeasurementsAPI
(api_client=None)[source]¶ Bases:
pyevr.apis.AllMixin
,pyevr.openapi_client.api.measurements_api.MeasurementsApi
-
list_endpoint_attr
= 'measurements_get'¶
-
-
class
pyevr.apis.
OrganizationsAPI
(api_client=None)[source]¶ Bases:
pyevr.apis.AllMixin
,pyevr.openapi_client.api.organizations_api.OrganizationsApi
-
list_endpoint_attr
= 'organizations_list'¶
-
-
class
pyevr.apis.
PlaceOfDeliveriesAPI
(api_client=None)[source]¶ Bases:
pyevr.apis.AllMixin
,pyevr.openapi_client.api.place_of_deliveries_api.PlaceOfDeliveriesApi
-
list_endpoint_attr
= 'place_of_deliveries_list'¶
-
-
class
pyevr.apis.
WaybillsAPI
(api_client=None)[source]¶ Bases:
pyevr.apis.AllMixin
,pyevr.openapi_client.api.waybills_api.WaybillsApi
-
list_endpoint_attr
= 'waybills_list'¶
-
pyevr.client module¶
Main module.
-
class
pyevr.client.
EVRClient
(api_key: str, host: str = None)[source]¶ Bases:
object
API client class for EVR.
- Parameters
api_key – Company API key in EVR
host – EVR host. Defaults to test host (optional)
-
class
pyevr.client.
ExtendedApiClient
(configuration=None, header_name=None, header_value=None, cookie=None, pool_threads=1)[source]¶ Bases:
pyevr.openapi_client.api_client.ApiClient
Extended API client generated by openapi-generator-cli.
-
sanitize_for_serialization
(obj)[source]¶ Builds a JSON POST object.
If obj is one of the subclasses of pyevr.openapi_client.models.holding_base.HoldingBase adds the corresponding type to dictionary. Otherwise returns the dictionary from pyevr.openapi_client.api_client.ApiClient
- Parameters
obj – The data to serialize.
- Returns
The serialized form of data.
-
pyevr.main module¶
Console script for pyevr.
Module contents¶
Top-level package for pyevr.
Contributing¶
Contributions are welcome, and they are greatly appreciated! Every little bit helps, and credit will always be given.
You can contribute in many ways:
Types of Contributions¶
Report Bugs¶
Report bugs at https://github.com/thorgate/pyevr/issues.
If you are reporting a bug, please include:
Your operating system name and version.
Any details about your local setup that might be helpful in troubleshooting.
Detailed steps to reproduce the bug.
Fix Bugs¶
Look through the GitHub issues for bugs. Anything tagged with “bug” and “help wanted” is open to whoever wants to implement it.
Implement Features¶
Look through the GitHub issues for features. Anything tagged with “enhancement” and “help wanted” is open to whoever wants to implement it.
Write Documentation¶
pyevr could always use more documentation, whether as part of the official pyevr docs, in docstrings, or even on the web in blog posts, articles, and such.
Submit Feedback¶
The best way to send feedback is to file an issue at https://github.com/thorgate/pyevr/issues.
If you are proposing a feature:
Explain in detail how it would work.
Keep the scope as narrow as possible, to make it easier to implement.
Remember that this is a volunteer-driven project, and that contributions are welcome :)
Get Started!¶
Ready to contribute? Here’s how to set up pyevr for local development.
Fork the pyevr repo on GitHub.
Clone your fork locally:
$ git clone git@github.com:your_name_here/pyevr.git
Install your local copy into a virtualenv. Assuming you have virtualenvwrapper installed, this is how you set up your fork for local development:
$ mkvirtualenv pyevr $ cd pyevr/ $ python setup.py develop
Create a branch for local development:
$ git checkout -b name-of-your-bugfix-or-feature
Now you can make your changes locally.
When you’re done making changes, check that your changes pass flake8 and the tests, including testing other Python versions with tox:
$ make lint $ make test $ make test-all $ flake8 pyevr tests $ pytest or python setup.py test $ tox
To get flake8 and tox, just pip install them into your virtualenv. All development dependencies are included in requirements_dev.txt.
Update CHANGELOG.rst with your changes.
Commit your changes and push your branch to GitHub:
$ git add . $ git commit -m "Your detailed description of your changes." $ git push origin name-of-your-bugfix-or-feature
Submit a pull request through the GitHub website.
Pull Request Guidelines¶
Before you submit a pull request, check that it meets these guidelines:
The pull request should include tests.
If the pull request adds functionality, the docs should be updated. Put your new functionality into a function with a docstring, and add the feature to the list in README.rst.
The pull request should work for Python 3.6, 3.7 and 3.8, and for PyPy. Check https://travis-ci.org/thorgate/pyevr/pull_requests and make sure that the tests pass for all supported Python versions.
Tips¶
To run a subset of tests:
$ pytest tests.test_pyevr
Deploying¶
A reminder for the maintainers on how to deploy. Make sure all your changes are committed (including an entry in CHANGELOG.rst). Then run:
$ bump2version patch # possible: major / minor / patch
$ git push
$ git push --tags
Create a release in Github and Travis will then deploy to PyPI if tests pass.
Changelog¶
0.5.1.dev3 (2021-11-18)¶
Generic
Improve documentation
Compatibility
Update to newest EVR schema
Workaround: Patch minLength in schema to be consistent with data returned by API
Remove workaround for assortmnet schema
0.5.0 (2020-04-18)¶
Generic
Remove Python 3.5 support (#56)
Update client code to match EVR API v1.1.1 (#56)
Update openapi-generator-cli to v4.3.0 (#56)
Update Python dependencies (#43 #52 #54 #55 #56)
0.4.0 (2020-02-02)¶
Generic
Update Python requirements (#33 #36 #40 #41)
Update openapi-generator-cli to v4.2.3 (#42)
Bugs
Add type to holding base children when sending a waybill to EVR (#42)
Fix Assortment.product_group usage (#42)
0.3.0 (2020-01-16)¶
Enhancements
Add a method for returning all of the results for EVR API’s list endpoints
Update WaybillsApi to use waybills_list instead of waybills_get and waybills_get instead of waybills_get2
0.2.2 (2019-12-04)¶
Generic
Remove workarounds that where created because of invalid API schema and wrong data in test server
Update openapi-generator-cli to v4.2.2
Bugs
Fix issues with all configuration instances having same values as the one that was created first
0.2.1 (2019-11-26)¶
Generic
Update openapi-generator-cli to v4.2.1
Update Python requirements and fix them for the CI
Bugs
Fix issues with maximum values in API schema (until it gets fixed in schema)
Workaround for issues with invalid data in test server (until if gets fixed in test server)
0.2.0 (2019-11-23)¶
Generic
Implement the initial client using auto-generated code by openapi-generator-cli
0.1.0 (2019-11-09)¶
First release on PyPI.
Credits¶
Development Lead¶
Thorgate <code@thorgate.eu>
Contributors¶
Taavi Teska <taavi@thorgate.eu>