diff options
-rw-r--r-- | gsxws/products.py | 4 | ||||
-rw-r--r-- | gsxws/products.yaml | 4 | ||||
-rw-r--r-- | gsxws/repairs.py | 9 |
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", |