Commit Graph

51 Commits

Author SHA1 Message Date
ac9ae74a0b Make the exception show you all unknown keys at once
In case a response type contains an unknown key, there are probably some 
more.
2022-06-16 23:00:22 +02:00
501be198c4 Allow ommsync mode to be used in cli 2022-06-16 22:40:01 +02:00
4796d1587b Improve exception message 2022-06-16 22:32:01 +02:00
deba76228b Add CreatePPUser message 2022-06-16 21:29:21 +02:00
428c4b8661 Add an interactive cli 2022-06-16 19:39:36 +02:00
93e0676147 Add infrastructure for dealing with encryption keys 2022-06-16 14:56:39 +02:00
2d8a1897f0 Add method for changing PP user num 2022-05-02 18:54:49 +02:00
e3f9fbf36b Allow modification of PPUser 2022-05-02 18:33:21 +02:00
36187c18b3 Fix message name quoting 2022-05-02 18:08:31 +02:00
2eb04e0428 Remove weird side effects that insert the values from previuos call 2022-05-02 18:07:15 +02:00
0a442e4ab5 Add child typing to all other existing message types 2022-05-02 00:41:46 +02:00
bb8dd03299 Implement EnumType 2022-05-02 00:14:24 +02:00
80eec844bf Update readme 2022-05-01 23:57:37 +02:00
bd68cbd7d8 Bootstrap child type casting 2022-05-01 23:55:18 +02:00
0e19927610 Restructuring api documentation 2022-05-01 22:43:52 +02:00
cf3c16c66a Refactor message classes
Message classes allow dynamic attribute access to message fields. Childs
get exposed through a dedicated class by attributes too. Message type
fields and childs have types that get enforces. None type is allowed
too while transitioning.
2022-05-01 22:32:08 +02:00
1752a9151d Add support for PP user 2022-05-01 13:27:56 +02:00
5365b942ce Add function to get all devices 2022-05-01 13:13:31 +02:00
7064d6f615 Rename get_pp_dev to get_device to match python-mitel feature naming 2022-05-01 12:53:46 +02:00
50d9b79ad0 Fix documentation 2022-05-01 12:50:59 +02:00
49a4ecc07f Remove DictRequest type 2022-04-02 21:23:43 +02:00
7076eb1543 Expose connection object directly instead of proxying the request method 2022-04-02 21:10:05 +02:00
8f4a7b1f6d Introduce the different classes a bit more. 2022-01-17 14:00:47 +01:00
f05a985c5e Adding some documentation 2022-01-17 13:52:56 +01:00
e6f93150a0 Update API documentation 2022-01-17 12:29:14 +01:00
8d2e94f5f3 Move last components of session layer to client and remove session completely 2022-01-17 12:20:54 +01:00
80fb8cd7cc Replace send and recv in connection with a concurrent synchronous implementation of request 2022-01-17 00:09:16 +01:00
8501aab7c3 Handle message parsing in connection 2022-01-16 22:29:18 +01:00
1365226c00 Use thread for receiving data 2022-01-16 22:17:28 +01:00
a8d9afe3d1 Add ommsync mode 2022-01-16 13:58:38 +01:00
f1c340fb3d Add GetPPDev message 2022-01-16 13:52:08 +01:00
1b0a5caa1b Pass childs to childs attribute 2022-01-16 13:47:06 +01:00
c63ecf7781 Fix GetAccountResp data parsing 2022-01-06 23:58:59 +01:00
5d8affbb5f Actually pass response to exception object 2022-01-06 23:56:35 +01:00
9e1e7c3377 Fix data read loop from connection 2022-01-06 23:55:36 +01:00
a87893199c Use right var name 2022-01-06 23:55:01 +01:00
5c565bc62c Use request wrapper for session login 2022-01-06 23:54:40 +01:00
d14fb10ddb Import Open messages 2022-01-06 23:53:52 +01:00
3617494917 Default to unencrypted connection because the required old ssl protocols aren't supported anymore 2022-01-06 23:52:24 +01:00
f62579ce90 Add GetAccount 2022-01-06 18:13:48 +01:00
496b915c9d Stop on failed login 2022-01-06 17:59:12 +01:00
9f9df79ab8 Introduce exception handling 2022-01-06 17:28:19 +01:00
72f148f7b9 Add license and attribution 2022-01-06 16:20:46 +01:00
e5938a0cc6 Give some quickstart documentation 2022-01-06 16:13:05 +01:00
80357a49d1 Add gitignore 2022-01-06 16:12:27 +01:00
aec4a2157f Add api documentation 2022-01-06 16:12:13 +01:00
d821b57f7c Introduce high level OMMClient2 interface 2022-01-06 16:11:21 +01:00
f7dce4bfcd Bootstrap some basic session handling 2022-01-06 16:10:30 +01:00
7c028834b9 Add message handling 2022-01-06 16:09:55 +01:00
9e0f5fe5c9 Add connection classes 2022-01-06 16:09:07 +01:00