RockyRoad 0.0.606__py3-none-any.whl → 0.0.608__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.
@@ -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
+
@@ -56,6 +56,8 @@ class Price_Reviews(Consumer):
56
56
  created_date_to: Query = None,
57
57
  part_number: Query = None,
58
58
  company_name: Query = None,
59
+ request_site_uid: Query = None,
60
+ part_site_uid: Query = None,
59
61
  ):
60
62
  """This call will return detailed price review requests information for the specified criteria."""
61
63
 
@@ -95,6 +97,7 @@ class Price_Reviews(Consumer):
95
97
  @http_get("price-reviews/parts")
96
98
  def list(
97
99
  self,
100
+ site_uid: Query = None,
98
101
  ):
99
102
  """This call will return detailed price review parts information for the specified criteria."""
100
103
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: RockyRoad
3
- Version: 0.0.606
3
+ Version: 0.0.608
4
4
  Summary: Python wrapper for the RockyRoad API
5
5
  Home-page: https://github.com/pypa/sampleproject
6
6
  Project-URL: Bug Tracker, https://github.com/pypa/sampleproject/issues
@@ -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=KI0SwfcAQ3GJyHyELNL01jBh5F1wUye3pl76-vds6is,3256
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
@@ -39,7 +39,7 @@ rockyroad/modules/parts.py,sha256=Ee4bKSoOzhrdMH1RTBSRMIMJf5BRFxkdppxwD22z-mA,56
39
39
  rockyroad/modules/portal_configurations.py,sha256=6mYcEK9VSuQi348m_1vzRmgS8hxbcJB7NiLQXnHoYgg,2673
40
40
  rockyroad/modules/portal_users.py,sha256=h1IpyD02NtbZaVYy-mtyygBmJgvOHWzPRiJoQHyOj2k,1018
41
41
  rockyroad/modules/predictive_maintenance.py,sha256=-lpt93hJC__oGmn8pdAHhwSmJVMTpDHhQLhOg8k-FlQ,695
42
- rockyroad/modules/price_reviews.py,sha256=kD8mQn8ldo3o5iETlA4M4VSGFWo1Anyj1D-JSHaTZjM,5910
42
+ rockyroad/modules/price_reviews.py,sha256=Obj3BssMyYELHokRnSrqTuEaRQ3tn_uUFcOkp6Mei68,6031
43
43
  rockyroad/modules/service_reports.py,sha256=AndnKc3xgs-iXQino60LD7LHvpc00NL1ZDPyODyNmSI,1539
44
44
  rockyroad/modules/services.py,sha256=yAYJxMzYFgAw95uaAH4Y1FWsGz1LNN5s3pQDvQ88wFE,6420
45
45
  rockyroad/modules/sharepoint.py,sha256=H_Oy2Q6ST1g-uX4spvlcYAf95zfuA-XO8UOKmtBvN_w,4510
@@ -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.606.dist-info/licenses/LICENSE,sha256=2bm9uFabQZ3Ykb_SaSU_uUbAj2-htc6WJQmS_65qD00,1073
65
- rockyroad-0.0.606.dist-info/METADATA,sha256=pT8a9djs6guafLLRs_uo6gtSVXFrrYRdwn4aLwPvkrE,34189
66
- rockyroad-0.0.606.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
67
- rockyroad-0.0.606.dist-info/top_level.txt,sha256=2i16gCpB6x-hh1eUXH0KijIjfx08oEvLfV7eS9TL3Bs,10
68
- rockyroad-0.0.606.dist-info/RECORD,,
64
+ rockyroad-0.0.608.dist-info/licenses/LICENSE,sha256=2bm9uFabQZ3Ykb_SaSU_uUbAj2-htc6WJQmS_65qD00,1073
65
+ rockyroad-0.0.608.dist-info/METADATA,sha256=qn3JDkSsqMsQmuB6p0NpwZrvohFZGgpGtVff8eCW0VM,34189
66
+ rockyroad-0.0.608.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
67
+ rockyroad-0.0.608.dist-info/top_level.txt,sha256=2i16gCpB6x-hh1eUXH0KijIjfx08oEvLfV7eS9TL3Bs,10
68
+ rockyroad-0.0.608.dist-info/RECORD,,