RockyRoad 0.0.606__py3-none-any.whl → 0.0.607__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 +38 -1
- {rockyroad-0.0.606.dist-info → rockyroad-0.0.607.dist-info}/METADATA +1 -1
- {rockyroad-0.0.606.dist-info → rockyroad-0.0.607.dist-info}/RECORD +6 -6
- {rockyroad-0.0.606.dist-info → rockyroad-0.0.607.dist-info}/WHEEL +0 -0
- {rockyroad-0.0.606.dist-info → rockyroad-0.0.607.dist-info}/licenses/LICENSE +0 -0
- {rockyroad-0.0.606.dist-info → rockyroad-0.0.607.dist-info}/top_level.txt +0 -0
|
@@ -30,6 +30,9 @@ class Business_Information(Consumer):
|
|
|
30
30
|
def sites(self):
|
|
31
31
|
return self.__Sites(self)
|
|
32
32
|
|
|
33
|
+
def edap_business_units(self):
|
|
34
|
+
return self.__EDAP_Business_Units(self)
|
|
35
|
+
|
|
33
36
|
@headers({"Ocp-Apim-Subscription-Key": key})
|
|
34
37
|
@retry(max_attempts=20, when=status_5xx())
|
|
35
38
|
class __Brands(Consumer):
|
|
@@ -75,7 +78,7 @@ class Business_Information(Consumer):
|
|
|
75
78
|
|
|
76
79
|
@returns.json
|
|
77
80
|
@http_get("business-information/sites")
|
|
78
|
-
def list(self):
|
|
81
|
+
def list(self, name: Query = None):
|
|
79
82
|
"""This call will return a list of all sites."""
|
|
80
83
|
|
|
81
84
|
@returns.json
|
|
@@ -98,3 +101,37 @@ class Business_Information(Consumer):
|
|
|
98
101
|
def update(self, uid: str, site: Body):
|
|
99
102
|
"""This call will update the specified site with new parameters."""
|
|
100
103
|
|
|
104
|
+
@headers({"Ocp-Apim-Subscription-Key": key})
|
|
105
|
+
@retry(max_attempts=20, when=status_5xx())
|
|
106
|
+
class __EDAP_Business_Units(Consumer):
|
|
107
|
+
"""Interface to Sites resource for the RockyRoad API."""
|
|
108
|
+
|
|
109
|
+
def __init__(self, Resource, *args, **kw):
|
|
110
|
+
self._base_url = Resource._base_url
|
|
111
|
+
super().__init__(base_url=Resource._base_url, *args, **kw)
|
|
112
|
+
|
|
113
|
+
@returns.json
|
|
114
|
+
@http_get("business-information/edap-business-units")
|
|
115
|
+
def list(self, name: Query = None):
|
|
116
|
+
"""This call will return a list of all edap business units."""
|
|
117
|
+
|
|
118
|
+
@returns.json
|
|
119
|
+
@http_get("business-information/edap-business-units/{uid}")
|
|
120
|
+
def get(self, uid: str):
|
|
121
|
+
"""This call will return detailed information about a specific edap business unit."""
|
|
122
|
+
|
|
123
|
+
@delete("business-information/edap-business-units/{uid}")
|
|
124
|
+
def delete(self, uid: str):
|
|
125
|
+
"""This call will delete the specified edap business unit."""
|
|
126
|
+
|
|
127
|
+
@returns.json
|
|
128
|
+
@json
|
|
129
|
+
@post("business-information/edap-business-units")
|
|
130
|
+
def insert(self, edap_business_unit: Body):
|
|
131
|
+
"""This call will create a new edap business unit with the specified parameters."""
|
|
132
|
+
|
|
133
|
+
@json
|
|
134
|
+
@patch("business-information/edap-business-units/{uid}")
|
|
135
|
+
def update(self, uid: str, edap_business_unit: Body):
|
|
136
|
+
"""This call will update the specified edap business unit with new parameters."""
|
|
137
|
+
|
|
@@ -7,7 +7,7 @@ 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=_pUM-2HrM-Qexd8k6gA7FL-XDFIISX0UVN5UecWq-fI,4818
|
|
11
11
|
rockyroad/modules/calculators.py,sha256=8kTPt-QleXHbgx7vqLgC8a0cv6eqLxWsfUZNDdZXWVE,810
|
|
12
12
|
rockyroad/modules/case_management.py,sha256=MqyoJ0fEiknYlIntoKFKd_zJpFYjdD408uJ3br2iBMg,15648
|
|
13
13
|
rockyroad/modules/companies.py,sha256=BXnAVTuGOoW5Ei9LyOkcMr1A6iTbRhAsyIqVS2CdpHU,13192
|
|
@@ -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.607.dist-info/licenses/LICENSE,sha256=2bm9uFabQZ3Ykb_SaSU_uUbAj2-htc6WJQmS_65qD00,1073
|
|
65
|
+
rockyroad-0.0.607.dist-info/METADATA,sha256=Ot1uUQBNN0Vd98Rs8kbihPav_kEj5p1bJax5bqtnSFY,34189
|
|
66
|
+
rockyroad-0.0.607.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
67
|
+
rockyroad-0.0.607.dist-info/top_level.txt,sha256=2i16gCpB6x-hh1eUXH0KijIjfx08oEvLfV7eS9TL3Bs,10
|
|
68
|
+
rockyroad-0.0.607.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|