aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2016-11-02 12:56:54 +0200
committerFilipp Lepalaan <filipp@mac.com>2016-11-02 12:56:54 +0200
commitfc037d07daed0e10eb4f981847975c314c36a8e2 (patch)
treed1cad2362bfb5fc3dc7e28c04d39e60641ffa0c5
parentcf61815f971b1e1067ddc6759a3ccb5880e19df7 (diff)
downloadpy-gsxws-fc037d07daed0e10eb4f981847975c314c36a8e2.tar.gz
py-gsxws-fc037d07daed0e10eb4f981847975c314c36a8e2.tar.bz2
py-gsxws-fc037d07daed0e10eb4f981847975c314c36a8e2.zip
Added new products
-rw-r--r--gsxws/products.py4
-rw-r--r--gsxws/products.yaml4
-rw-r--r--gsxws/repairs.py9
3 files changed, 10 insertions, 7 deletions
diff --git a/gsxws/products.py b/gsxws/products.py
index 6fa4666..2c2745a 100644
--- a/gsxws/products.py
+++ b/gsxws/products.py
@@ -26,8 +26,8 @@ class Product(object):
"""
Something serviceable made by Apple
"""
- sn = '' #serialNumber
- description = '' #configDescription
+ sn = '' # serialNumber
+ description = '' # configDescription
def __init__(self, sn, **kwargs):
if validate(sn, 'alternateDeviceId'):
diff --git a/gsxws/products.yaml b/gsxws/products.yaml
index 0aee19c..81e937a 100644
--- a/gsxws/products.yaml
+++ b/gsxws/products.yaml
@@ -111,6 +111,7 @@ IPHONE:
- "iPhone 6s Plus"
- "iPhone SE"
- "iPhone 7"
+ - "iPhone 7 Plus"
IPHONEACCESSORY:
name: iPhone Accessory
@@ -244,7 +245,7 @@ MACBOOK:
- "MacBook (Retina, 12-inch, Early 2016)"
MACBOOKLEGACY:
- name: MacBook
+ name: MacBook (Legacy)
models:
- "MacBook (13-inch)"
- "MacBook (13-inch Late 2006)"
@@ -317,6 +318,7 @@ MACBOOKPRO:
- "MacBook Pro (Retina, 15-inch, Mid 2014)"
- "MacBook Pro (Retina, 13-inch, Early 2015)"
- "MacBook Pro (Retina, 15-inch, Mid 2015)"
+ - "MacBook Pro (13-inch, Late 2016, Two Thunderbolt 3 Ports)"
SERVERS:
name: Server
diff --git a/gsxws/repairs.py b/gsxws/repairs.py
index f5baf48..0bea2bd 100644
--- a/gsxws/repairs.py
+++ b/gsxws/repairs.py
@@ -46,13 +46,14 @@ COVERAGE_STATUSES = (
class SymptomIssue(GsxObject):
"""
- The Reported Symptom/Issue API allows partners to fetch the information
- related to symptoms and issues. If all the validations go through,
- api returns a list of valid symptoms/issues according to the input data.
+ The Reported Symptom/Issue API allows partners to fetch the information
+ related to symptoms and issues. If all the validations go through,
+ api returns a list of valid symptoms/issues according to the input data.
Otherwise api returns appropriate error message.
"""
+
_namespace = "asp:"
-
+
def fetch(self):
result = []
self._submit("requestData", "ReportedSymptomIssue",