Skip to content

Commit

Permalink
No need to fetch all data from graphql
Browse files Browse the repository at this point in the history
  • Loading branch information
arjenbos committed Apr 3, 2024
1 parent 9de3e5a commit c40ae06
Showing 1 changed file with 0 additions and 75 deletions.
75 changes: 0 additions & 75 deletions custom_components/postnl/graphql.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,81 +38,6 @@ def profile(self):
fragment ProfileData on Profile {
username
countryOfRegistration
mobilePhoneNumber
preferredLanguage
created
person {
gender
initials
firstName
middleName
lastName
__typename
}
homeAddress {
street
houseNumber
houseNumberSuffix
postalCode
city
country
addressFeatures {
featureType
creationDate
__typename
}
availablePreferences {
delivery {
overall
parcel
retail
publicParcelLocker
availableForValidation
__typename
}
notAtHome {
overall
availableForValidation
__typename
}
__typename
}
deliveryPreferences {
defaultDeliveryLocation
__typename
}
notAtHomePreferences {
safePlace
instructions
consentDate
deliveryLocation
lastUpdated
__typename
}
__typename
}
extraEmailAddresses {
emailAddress
__typename
}
optIns {
optInType
optIn
optInCreatedAt
optInChangedAt
__typename
}
profileFeatures {
featureType
creationDate
creationSource
__typename
}
antiPhishing {
code
__typename
}
__typename
}
"""
Expand Down

0 comments on commit c40ae06

Please sign in to comment.