RockyRoad 0.0.580__py3-none-any.whl → 0.0.582__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 +41 -1
- {rockyroad-0.0.580.dist-info → rockyroad-0.0.582.dist-info}/METADATA +1 -1
- {rockyroad-0.0.580.dist-info → rockyroad-0.0.582.dist-info}/RECORD +6 -6
- {rockyroad-0.0.580.dist-info → rockyroad-0.0.582.dist-info}/WHEEL +0 -0
- {rockyroad-0.0.580.dist-info → rockyroad-0.0.582.dist-info}/licenses/LICENSE +0 -0
- {rockyroad-0.0.580.dist-info → rockyroad-0.0.582.dist-info}/top_level.txt +0 -0
rockyroad/modules/events.py
CHANGED
|
@@ -38,6 +38,10 @@ class _Events(Consumer):
|
|
|
38
38
|
"""Inteface to Knowledge Events resource for the RockyRoad API."""
|
|
39
39
|
return self._Knowledge_Events(self)
|
|
40
40
|
|
|
41
|
+
def parts_search_events(self):
|
|
42
|
+
"""Inteface to Parts Search Events resource for the RockyRoad API."""
|
|
43
|
+
return self._Parts_Search_Events(self)
|
|
44
|
+
|
|
41
45
|
@headers({"Ocp-Apim-Subscription-Key": key})
|
|
42
46
|
@retry(max_attempts=20, when=status_5xx())
|
|
43
47
|
class _Sent_Emails(Consumer):
|
|
@@ -104,6 +108,11 @@ class _Events(Consumer):
|
|
|
104
108
|
):
|
|
105
109
|
"""This call will return list of Portal Logs."""
|
|
106
110
|
|
|
111
|
+
@json
|
|
112
|
+
@post("events/portal-logs")
|
|
113
|
+
def insert(self, portal_log_object: Body):
|
|
114
|
+
"""This call will create the Portal Log with the specified parameters."""
|
|
115
|
+
|
|
107
116
|
@returns.json
|
|
108
117
|
@http_get("events/portal-logs/last-login-statistics")
|
|
109
118
|
def last_login_statistics(
|
|
@@ -164,4 +173,35 @@ class _Events(Consumer):
|
|
|
164
173
|
@json
|
|
165
174
|
@patch("events/knowledge-events/{uid}")
|
|
166
175
|
def update(self, uid: str, knowledge_event_object: Body):
|
|
167
|
-
"""This call will update the Knowledge Event with the specified parameters."""
|
|
176
|
+
"""This call will update the Knowledge Event with the specified parameters."""
|
|
177
|
+
|
|
178
|
+
@headers({"Ocp-Apim-Subscription-Key": key})
|
|
179
|
+
@retry(max_attempts=20, when=status_5xx())
|
|
180
|
+
class _Parts_Search_Events(Consumer):
|
|
181
|
+
"""Inteface to Parts Search Events resource for the RockyRoad API."""
|
|
182
|
+
|
|
183
|
+
def __init__(self, Resource, *args, **kw):
|
|
184
|
+
self._base_url = Resource._base_url
|
|
185
|
+
super().__init__(base_url=Resource._base_url, *args, **kw)
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
@returns.json
|
|
189
|
+
@http_get("events/parts-search-events")
|
|
190
|
+
def list(
|
|
191
|
+
self,
|
|
192
|
+
limit: Query = None,
|
|
193
|
+
order: Query = None,
|
|
194
|
+
company: Query = None,
|
|
195
|
+
subdomain: Query = None,
|
|
196
|
+
environment: Query = None,
|
|
197
|
+
user_uid: Query = None,
|
|
198
|
+
login_email: Query = None,
|
|
199
|
+
):
|
|
200
|
+
"""This call will return list of Parts Search Events."""
|
|
201
|
+
|
|
202
|
+
@json
|
|
203
|
+
@post("events/parts-search-events")
|
|
204
|
+
def insert(self, parts_search_event_object: Body):
|
|
205
|
+
"""This call will create the Parts Search Event with the specified parameters."""
|
|
206
|
+
|
|
207
|
+
|
|
@@ -19,7 +19,7 @@ rockyroad/modules/documoto.py,sha256=LHpKsj5ViBQbs4nk082Jxcj8O1xKzS1-VTdwhwjxsPE
|
|
|
19
19
|
rockyroad/modules/edap.py,sha256=7GnafVjDDRxy3G6RvBHHvetmgpz6VsavY053qnmivZU,1747
|
|
20
20
|
rockyroad/modules/emails.py,sha256=YZ-b-1F4r-p38pR9E_yNzTeCkQMmopN7I99_8ggcr4Y,618
|
|
21
21
|
rockyroad/modules/engines.py,sha256=72l1uFC0qB3Um4rasMFvDTN-fwPyz-mXdGoAursD0QA,3010
|
|
22
|
-
rockyroad/modules/events.py,sha256=
|
|
22
|
+
rockyroad/modules/events.py,sha256=UD234wA8-vGYyo4ToGGqHCgl6YW7Jqr-4v5_0eWaZRo,7056
|
|
23
23
|
rockyroad/modules/file_services.py,sha256=bgqX1HGd8Kzy_BcnDgExO0pGDpyp7N6d5AJ1hwNMN-E,2393
|
|
24
24
|
rockyroad/modules/financials.py,sha256=gGkbDPdogTr9JlmPsxTZLFBTXua1KV6qar7rAPAfZfk,2315
|
|
25
25
|
rockyroad/modules/generated_forms.py,sha256=ysArw79R6a50jTx7w5dO6IlOm9CrOOlnXbhuCebtH70,11587
|
|
@@ -59,8 +59,8 @@ rockyroad/modules/warranty_pip.py,sha256=_viDrbdMOX07OirXCH-22bfeeid60IoIl-lqZr_
|
|
|
59
59
|
rockyroad/modules/warranty_rates.py,sha256=8oeDfg3boooBa3KPOWoR1JIm9yaX9Kslo4ZZnuuCDZA,1704
|
|
60
60
|
rockyroad/modules/warranty_registrations.py,sha256=ycTKiYoV9T_OTyKlwKSiLrDH7cOigSBzjIFI47GPhFA,1969
|
|
61
61
|
rockyroad/modules/warranty_rga.py,sha256=9rDQFE1YLw4dcpbt2yD3qIMxbvhUfoBNdpWl6KBRTPU,4714
|
|
62
|
-
rockyroad-0.0.
|
|
63
|
-
rockyroad-0.0.
|
|
64
|
-
rockyroad-0.0.
|
|
65
|
-
rockyroad-0.0.
|
|
66
|
-
rockyroad-0.0.
|
|
62
|
+
rockyroad-0.0.582.dist-info/licenses/LICENSE,sha256=2bm9uFabQZ3Ykb_SaSU_uUbAj2-htc6WJQmS_65qD00,1073
|
|
63
|
+
rockyroad-0.0.582.dist-info/METADATA,sha256=55A0lTOCICRBNV0JJcCO0R5V3j6FkjLynOb6JlgqArY,34189
|
|
64
|
+
rockyroad-0.0.582.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
65
|
+
rockyroad-0.0.582.dist-info/top_level.txt,sha256=2i16gCpB6x-hh1eUXH0KijIjfx08oEvLfV7eS9TL3Bs,10
|
|
66
|
+
rockyroad-0.0.582.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|