RockyRoad 0.0.558__py3-none-any.whl → 0.0.560__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/parts.py +16 -2
- {rockyroad-0.0.558.dist-info → rockyroad-0.0.560.dist-info}/METADATA +1 -1
- {rockyroad-0.0.558.dist-info → rockyroad-0.0.560.dist-info}/RECORD +6 -6
- {rockyroad-0.0.558.dist-info → rockyroad-0.0.560.dist-info}/WHEEL +0 -0
- {rockyroad-0.0.558.dist-info → rockyroad-0.0.560.dist-info}/licenses/LICENSE +0 -0
- {rockyroad-0.0.558.dist-info → rockyroad-0.0.560.dist-info}/top_level.txt +0 -0
rockyroad/modules/parts.py
CHANGED
|
@@ -50,6 +50,15 @@ class Parts(Consumer):
|
|
|
50
50
|
):
|
|
51
51
|
"""This call will return detailed part information in paginated form for the part(s) specified or all parts if nothing is specified."""
|
|
52
52
|
|
|
53
|
+
@returns.json
|
|
54
|
+
@http_get("parts/part-numbers")
|
|
55
|
+
def list_part_numbers(
|
|
56
|
+
self,
|
|
57
|
+
partNumber: Query = None,
|
|
58
|
+
brand: Query = None,
|
|
59
|
+
):
|
|
60
|
+
"""This call will return the part numbers for the part(s) specified."""
|
|
61
|
+
|
|
53
62
|
@returns.json
|
|
54
63
|
@http_get("parts/search")
|
|
55
64
|
def parts_searcher(
|
|
@@ -87,10 +96,15 @@ class Parts(Consumer):
|
|
|
87
96
|
"""This call will get the specified part."""
|
|
88
97
|
|
|
89
98
|
@returns.json
|
|
90
|
-
@http_get("parts/cost/{brand}/{part_number}")
|
|
91
|
-
def
|
|
99
|
+
@http_get("parts/cost/{brand}/{part_number}/date/{date}")
|
|
100
|
+
def get_part_cost(self, brand: str, part_number: str, date: str):
|
|
92
101
|
"""This call will get the cost of the specified part."""
|
|
93
102
|
|
|
103
|
+
@returns.json
|
|
104
|
+
@http_get("parts/oracle-cost/{brand}/{part_number}/date/{date}")
|
|
105
|
+
def get_oracle_part_cost(self, brand: str, part_number: str, date: str):
|
|
106
|
+
"""This call will get the cost of the specified part from Oracle."""
|
|
107
|
+
|
|
94
108
|
@returns.json
|
|
95
109
|
@json
|
|
96
110
|
@post("parts")
|
|
@@ -34,7 +34,7 @@ rockyroad/modules/module_imports.py,sha256=vWkjAbKKZJyP_M31KlvWmSENDKlIaD9OO1i5M
|
|
|
34
34
|
rockyroad/modules/oracle_installed_base_assets.py,sha256=fJpuaZArOYfFjnDuFeBpDdS4GYB07OFKIsTtadtBH60,2695
|
|
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
|
-
rockyroad/modules/parts.py,sha256=
|
|
37
|
+
rockyroad/modules/parts.py,sha256=86eIKcaBepc94eOi1PhGs37095XHQNOnHolNSZSfOqg,5071
|
|
38
38
|
rockyroad/modules/portal_configurations.py,sha256=y6hTpP3HE08M9gDXQKWTf-pZYkh-W5jecudd58V1Qz0,1727
|
|
39
39
|
rockyroad/modules/portal_users.py,sha256=h1IpyD02NtbZaVYy-mtyygBmJgvOHWzPRiJoQHyOj2k,1018
|
|
40
40
|
rockyroad/modules/predictive_maintenance.py,sha256=-lpt93hJC__oGmn8pdAHhwSmJVMTpDHhQLhOg8k-FlQ,695
|
|
@@ -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.560.dist-info/licenses/LICENSE,sha256=2bm9uFabQZ3Ykb_SaSU_uUbAj2-htc6WJQmS_65qD00,1073
|
|
62
|
+
rockyroad-0.0.560.dist-info/METADATA,sha256=yfa--G87eEPQ4nzt9aK18Ppl5sklER7PUAz8QWhiuzM,34189
|
|
63
|
+
rockyroad-0.0.560.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
64
|
+
rockyroad-0.0.560.dist-info/top_level.txt,sha256=2i16gCpB6x-hh1eUXH0KijIjfx08oEvLfV7eS9TL3Bs,10
|
|
65
|
+
rockyroad-0.0.560.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|