RockyRoad 0.0.567__py3-none-any.whl → 0.0.569__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.
@@ -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
+
@@ -52,4 +52,11 @@ class _Portal_Configurations(Consumer):
52
52
  self,
53
53
  file_type: str,
54
54
  ):
55
- """This call will return the file type storage mapping for the specified file type."""
55
+ """This call will return the file type storage mapping for the specified file type."""
56
+
57
+ @returns.json
58
+ @http_get("portal/configurations/portal-search-config")
59
+ def get_portal_search_config(
60
+ self,
61
+ ):
62
+ """This call will return portal configurations for portal search config."""
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: RockyRoad
3
- Version: 0.0.567
3
+ Version: 0.0.569
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=MOS0D18u_ovn0p9LlQWIBcndo9GbjDXSzMZ5aMwUv1Y,1944
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
@@ -35,7 +35,7 @@ rockyroad/modules/oracle_installed_base_assets.py,sha256=fJpuaZArOYfFjnDuFeBpDdS
35
35
  rockyroad/modules/oracle_knowledge_management.py,sha256=Je-eGleNWqrYkz18vXPTxMqW1Zh8hgaVqalB3Qq98G4,1724
36
36
  rockyroad/modules/oracle_users.py,sha256=wtMcA70JKAQxj1j-izNjNbpZ_DPLN7_Nl59Ay9zXy0U,1726
37
37
  rockyroad/modules/parts.py,sha256=86eIKcaBepc94eOi1PhGs37095XHQNOnHolNSZSfOqg,5071
38
- rockyroad/modules/portal_configurations.py,sha256=y6hTpP3HE08M9gDXQKWTf-pZYkh-W5jecudd58V1Qz0,1727
38
+ rockyroad/modules/portal_configurations.py,sha256=oaKp4JKEHAFvtE_e1cqm8JDdEQlFZVmnr-YDg_nTenE,1946
39
39
  rockyroad/modules/portal_users.py,sha256=h1IpyD02NtbZaVYy-mtyygBmJgvOHWzPRiJoQHyOj2k,1018
40
40
  rockyroad/modules/predictive_maintenance.py,sha256=-lpt93hJC__oGmn8pdAHhwSmJVMTpDHhQLhOg8k-FlQ,695
41
41
  rockyroad/modules/service_reports.py,sha256=AndnKc3xgs-iXQino60LD7LHvpc00NL1ZDPyODyNmSI,1539
@@ -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.567.dist-info/licenses/LICENSE,sha256=2bm9uFabQZ3Ykb_SaSU_uUbAj2-htc6WJQmS_65qD00,1073
62
- rockyroad-0.0.567.dist-info/METADATA,sha256=AgOd8ygbkX5aNt8fPgDLWvBf4kRC5IypeRcU9KDIPWQ,34189
63
- rockyroad-0.0.567.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
64
- rockyroad-0.0.567.dist-info/top_level.txt,sha256=2i16gCpB6x-hh1eUXH0KijIjfx08oEvLfV7eS9TL3Bs,10
65
- rockyroad-0.0.567.dist-info/RECORD,,
61
+ rockyroad-0.0.569.dist-info/licenses/LICENSE,sha256=2bm9uFabQZ3Ykb_SaSU_uUbAj2-htc6WJQmS_65qD00,1073
62
+ rockyroad-0.0.569.dist-info/METADATA,sha256=Xj7CWVl1T64Bbjd0jAVVvZM7gGeGZSQKp9sSll_-YBM,34189
63
+ rockyroad-0.0.569.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
64
+ rockyroad-0.0.569.dist-info/top_level.txt,sha256=2i16gCpB6x-hh1eUXH0KijIjfx08oEvLfV7eS9TL3Bs,10
65
+ rockyroad-0.0.569.dist-info/RECORD,,