RockyRoad 0.0.609__py3-none-any.whl → 0.0.610__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- rockyroad/modules/events.py +33 -0
- {rockyroad-0.0.609.dist-info → rockyroad-0.0.610.dist-info}/METADATA +1 -1
- {rockyroad-0.0.609.dist-info → rockyroad-0.0.610.dist-info}/RECORD +6 -6
- {rockyroad-0.0.609.dist-info → rockyroad-0.0.610.dist-info}/WHEEL +1 -1
- {rockyroad-0.0.609.dist-info → rockyroad-0.0.610.dist-info}/licenses/LICENSE +0 -0
- {rockyroad-0.0.609.dist-info → rockyroad-0.0.610.dist-info}/top_level.txt +0 -0
rockyroad/modules/events.py
CHANGED
|
@@ -42,6 +42,10 @@ class _Events(Consumer):
|
|
|
42
42
|
"""Inteface to Parts Search Events resource for the RockyRoad API."""
|
|
43
43
|
return self._Parts_Search_Events(self)
|
|
44
44
|
|
|
45
|
+
def machine_360_events(self):
|
|
46
|
+
"""Inteface to Machine 360 Events resource for the RockyRoad API."""
|
|
47
|
+
return self._Machine_360_Events(self)
|
|
48
|
+
|
|
45
49
|
@headers({"Ocp-Apim-Subscription-Key": key})
|
|
46
50
|
@retry(max_attempts=20, when=status_5xx())
|
|
47
51
|
class _Sent_Emails(Consumer):
|
|
@@ -203,5 +207,34 @@ class _Events(Consumer):
|
|
|
203
207
|
@post("events/parts-search-events")
|
|
204
208
|
def insert(self, parts_search_event_object: Body):
|
|
205
209
|
"""This call will create the Parts Search Event with the specified parameters."""
|
|
210
|
+
|
|
211
|
+
@headers({"Ocp-Apim-Subscription-Key": key})
|
|
212
|
+
@retry(max_attempts=20, when=status_5xx())
|
|
213
|
+
class _Machine_360_Events(Consumer):
|
|
214
|
+
"""Inteface to Machine 360 Events resource for the RockyRoad API."""
|
|
215
|
+
|
|
216
|
+
def __init__(self, Resource, *args, **kw):
|
|
217
|
+
self._base_url = Resource._base_url
|
|
218
|
+
super().__init__(base_url=Resource._base_url, *args, **kw)
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
@returns.json
|
|
222
|
+
@http_get("events/machine-360-events")
|
|
223
|
+
def list(
|
|
224
|
+
self,
|
|
225
|
+
limit: Query = None,
|
|
226
|
+
order: Query = None,
|
|
227
|
+
company: Query = None,
|
|
228
|
+
subdomain: Query = None,
|
|
229
|
+
environment: Query = None,
|
|
230
|
+
user_uid: Query = None,
|
|
231
|
+
login_email: Query = None,
|
|
232
|
+
):
|
|
233
|
+
"""This call will return list of Machine 360 Events."""
|
|
234
|
+
|
|
235
|
+
@json
|
|
236
|
+
@post("events/machine-360-events")
|
|
237
|
+
def insert(self, machine_360_event_object: Body):
|
|
238
|
+
"""This call will create the Machine 360 Event with the specified parameters."""
|
|
206
239
|
|
|
207
240
|
|
|
@@ -20,7 +20,7 @@ rockyroad/modules/documoto.py,sha256=LHpKsj5ViBQbs4nk082Jxcj8O1xKzS1-VTdwhwjxsPE
|
|
|
20
20
|
rockyroad/modules/edap.py,sha256=7GnafVjDDRxy3G6RvBHHvetmgpz6VsavY053qnmivZU,1747
|
|
21
21
|
rockyroad/modules/emails.py,sha256=YZ-b-1F4r-p38pR9E_yNzTeCkQMmopN7I99_8ggcr4Y,618
|
|
22
22
|
rockyroad/modules/engines.py,sha256=72l1uFC0qB3Um4rasMFvDTN-fwPyz-mXdGoAursD0QA,3010
|
|
23
|
-
rockyroad/modules/events.py,sha256=
|
|
23
|
+
rockyroad/modules/events.py,sha256=1DehFSDmvIPeqv5clWoZr8PPfRNuTt_iPv35AIvN628,8251
|
|
24
24
|
rockyroad/modules/file_services.py,sha256=bgqX1HGd8Kzy_BcnDgExO0pGDpyp7N6d5AJ1hwNMN-E,2393
|
|
25
25
|
rockyroad/modules/financials.py,sha256=gGkbDPdogTr9JlmPsxTZLFBTXua1KV6qar7rAPAfZfk,2315
|
|
26
26
|
rockyroad/modules/generated_forms.py,sha256=ysArw79R6a50jTx7w5dO6IlOm9CrOOlnXbhuCebtH70,11587
|
|
@@ -61,8 +61,8 @@ rockyroad/modules/warranty_pip.py,sha256=_viDrbdMOX07OirXCH-22bfeeid60IoIl-lqZr_
|
|
|
61
61
|
rockyroad/modules/warranty_rates.py,sha256=8oeDfg3boooBa3KPOWoR1JIm9yaX9Kslo4ZZnuuCDZA,1704
|
|
62
62
|
rockyroad/modules/warranty_registrations.py,sha256=ycTKiYoV9T_OTyKlwKSiLrDH7cOigSBzjIFI47GPhFA,1969
|
|
63
63
|
rockyroad/modules/warranty_rga.py,sha256=9rDQFE1YLw4dcpbt2yD3qIMxbvhUfoBNdpWl6KBRTPU,4714
|
|
64
|
-
rockyroad-0.0.
|
|
65
|
-
rockyroad-0.0.
|
|
66
|
-
rockyroad-0.0.
|
|
67
|
-
rockyroad-0.0.
|
|
68
|
-
rockyroad-0.0.
|
|
64
|
+
rockyroad-0.0.610.dist-info/licenses/LICENSE,sha256=2bm9uFabQZ3Ykb_SaSU_uUbAj2-htc6WJQmS_65qD00,1073
|
|
65
|
+
rockyroad-0.0.610.dist-info/METADATA,sha256=TPYvbvnEJnE01A-8ugX43GgHTgKwDDzRWzWsK5beqR4,34189
|
|
66
|
+
rockyroad-0.0.610.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
67
|
+
rockyroad-0.0.610.dist-info/top_level.txt,sha256=2i16gCpB6x-hh1eUXH0KijIjfx08oEvLfV7eS9TL3Bs,10
|
|
68
|
+
rockyroad-0.0.610.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|