RockyRoad 0.0.566__py3-none-any.whl → 0.0.568__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/business_information.py +37 -0
- rockyroad/modules/dealer_parts.py +12 -0
- {rockyroad-0.0.566.dist-info → rockyroad-0.0.568.dist-info}/METADATA +1 -1
- {rockyroad-0.0.566.dist-info → rockyroad-0.0.568.dist-info}/RECORD +7 -7
- {rockyroad-0.0.566.dist-info → rockyroad-0.0.568.dist-info}/WHEEL +0 -0
- {rockyroad-0.0.566.dist-info → rockyroad-0.0.568.dist-info}/licenses/LICENSE +0 -0
- {rockyroad-0.0.566.dist-info → rockyroad-0.0.568.dist-info}/top_level.txt +0 -0
|
@@ -27,6 +27,9 @@ class Business_Information(Consumer):
|
|
|
27
27
|
def brands(self):
|
|
28
28
|
return self.__Brands(self)
|
|
29
29
|
|
|
30
|
+
def sites(self):
|
|
31
|
+
return self.__Sites(self)
|
|
32
|
+
|
|
30
33
|
@headers({"Ocp-Apim-Subscription-Key": key})
|
|
31
34
|
@retry(max_attempts=20, when=status_5xx())
|
|
32
35
|
class __Brands(Consumer):
|
|
@@ -61,3 +64,37 @@ class Business_Information(Consumer):
|
|
|
61
64
|
def update(self, uid: str, brand: Body):
|
|
62
65
|
"""This call will update the specified brand with new parameters."""
|
|
63
66
|
|
|
67
|
+
@headers({"Ocp-Apim-Subscription-Key": key})
|
|
68
|
+
@retry(max_attempts=20, when=status_5xx())
|
|
69
|
+
class __Sites(Consumer):
|
|
70
|
+
"""Interface to Sites resource for the RockyRoad API."""
|
|
71
|
+
|
|
72
|
+
def __init__(self, Resource, *args, **kw):
|
|
73
|
+
self._base_url = Resource._base_url
|
|
74
|
+
super().__init__(base_url=Resource._base_url, *args, **kw)
|
|
75
|
+
|
|
76
|
+
@returns.json
|
|
77
|
+
@http_get("business-information/sites")
|
|
78
|
+
def list(self):
|
|
79
|
+
"""This call will return a list of all sites."""
|
|
80
|
+
|
|
81
|
+
@returns.json
|
|
82
|
+
@http_get("business-information/sites/{uid}")
|
|
83
|
+
def get(self, uid: str):
|
|
84
|
+
"""This call will return detailed information about a specific site."""
|
|
85
|
+
|
|
86
|
+
@delete("business-information/sites/{uid}")
|
|
87
|
+
def delete(self, uid: str):
|
|
88
|
+
"""This call will delete the specified site."""
|
|
89
|
+
|
|
90
|
+
@returns.json
|
|
91
|
+
@json
|
|
92
|
+
@post("business-information/sites")
|
|
93
|
+
def insert(self, site: Body):
|
|
94
|
+
"""This call will create a new site with the specified parameters."""
|
|
95
|
+
|
|
96
|
+
@json
|
|
97
|
+
@patch("business-information/sites/{uid}")
|
|
98
|
+
def update(self, uid: str, site: Body):
|
|
99
|
+
"""This call will update the specified site with new parameters."""
|
|
100
|
+
|
|
@@ -45,6 +45,18 @@ class Dealer_Part(Consumer):
|
|
|
45
45
|
):
|
|
46
46
|
"""This call will return list of dealer parts."""
|
|
47
47
|
|
|
48
|
+
|
|
49
|
+
@returns.json
|
|
50
|
+
@http_get("dealers/parts/analytics")
|
|
51
|
+
def list_analytics(
|
|
52
|
+
self,
|
|
53
|
+
company_uid: Query = None,
|
|
54
|
+
company_branch_uid: Query = None,
|
|
55
|
+
part_search_str: Query = None,
|
|
56
|
+
in_active_dealer_listing_branches: Query = None,
|
|
57
|
+
):
|
|
58
|
+
"""This call will return list of dealer parts analytics."""
|
|
59
|
+
|
|
48
60
|
@returns.json
|
|
49
61
|
@http_get("dealers/parts/{uid}")
|
|
50
62
|
def get(self, uid: str):
|
|
@@ -7,12 +7,12 @@ rockyroad/modules/analytics.py,sha256=9x1fK-PZwq919KiK8zGa0dRyDFaX6YZQ5fuAkE9WNf
|
|
|
7
7
|
rockyroad/modules/apbs.py,sha256=8ScnRpjP4tKZCjlVlZ8Xn2vesYI7CKllgSHaShIYPRw,4209
|
|
8
8
|
rockyroad/modules/api_info.py,sha256=7SGoS6pfPtNXxH3zZ0aOgUGicuZaT3wln2qR5WS0y2M,827
|
|
9
9
|
rockyroad/modules/b2c_users.py,sha256=EGdcQeFoQC2LjF0Ocy31SPazMXpUN_omnlGhm157wa0,2418
|
|
10
|
-
rockyroad/modules/business_information.py,sha256=
|
|
10
|
+
rockyroad/modules/business_information.py,sha256=KI0SwfcAQ3GJyHyELNL01jBh5F1wUye3pl76-vds6is,3256
|
|
11
11
|
rockyroad/modules/calculators.py,sha256=yjhBUavlaeccani1FwxZwiCbpSgISRzPk0GwF9yBA64,567
|
|
12
12
|
rockyroad/modules/companies.py,sha256=BXnAVTuGOoW5Ei9LyOkcMr1A6iTbRhAsyIqVS2CdpHU,13192
|
|
13
13
|
rockyroad/modules/company_specified_info.py,sha256=wD8-qaQerpGqFfzUrTIR7ednHQJ2RboODGJnd-kKsh4,2313
|
|
14
14
|
rockyroad/modules/content_management.py,sha256=RL3XnMbH8aYMR58J2DpAGnNUDL7TRjDVmkgLFtsrpc8,4448
|
|
15
|
-
rockyroad/modules/dealer_parts.py,sha256=
|
|
15
|
+
rockyroad/modules/dealer_parts.py,sha256=lWRSEMulimvb6lIRUvwHUS2snMFvRVbL3YONYf6CLJs,4432
|
|
16
16
|
rockyroad/modules/dealers.py,sha256=W1CYiGUmgJ28ZTC3-RhkT-bBtQuUC5-_qrHpX-OviJ0,5636
|
|
17
17
|
rockyroad/modules/docs.py,sha256=SqIN_Kan5FzcfbslH9yaIPVuP90qirFhFnWuXaS7_w4,777
|
|
18
18
|
rockyroad/modules/documoto.py,sha256=LHpKsj5ViBQbs4nk082Jxcj8O1xKzS1-VTdwhwjxsPE,7053
|
|
@@ -58,8 +58,8 @@ rockyroad/modules/warranty_pip.py,sha256=_viDrbdMOX07OirXCH-22bfeeid60IoIl-lqZr_
|
|
|
58
58
|
rockyroad/modules/warranty_rates.py,sha256=8oeDfg3boooBa3KPOWoR1JIm9yaX9Kslo4ZZnuuCDZA,1704
|
|
59
59
|
rockyroad/modules/warranty_registrations.py,sha256=ycTKiYoV9T_OTyKlwKSiLrDH7cOigSBzjIFI47GPhFA,1969
|
|
60
60
|
rockyroad/modules/warranty_rga.py,sha256=9rDQFE1YLw4dcpbt2yD3qIMxbvhUfoBNdpWl6KBRTPU,4714
|
|
61
|
-
rockyroad-0.0.
|
|
62
|
-
rockyroad-0.0.
|
|
63
|
-
rockyroad-0.0.
|
|
64
|
-
rockyroad-0.0.
|
|
65
|
-
rockyroad-0.0.
|
|
61
|
+
rockyroad-0.0.568.dist-info/licenses/LICENSE,sha256=2bm9uFabQZ3Ykb_SaSU_uUbAj2-htc6WJQmS_65qD00,1073
|
|
62
|
+
rockyroad-0.0.568.dist-info/METADATA,sha256=PDVKWx-yTX_DZBovCtIRd7EEyyr80BXQe39d9zzquEw,34189
|
|
63
|
+
rockyroad-0.0.568.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
64
|
+
rockyroad-0.0.568.dist-info/top_level.txt,sha256=2i16gCpB6x-hh1eUXH0KijIjfx08oEvLfV7eS9TL3Bs,10
|
|
65
|
+
rockyroad-0.0.568.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|