Repository URL to install this package:
|
Version:
1.1.13 ▾
|
type CreditCardAddressInfo {
addressid: String
}
type CreditCardDetails {
cardid: String!
identifier: String!
addressinfo: [CreditCardAddressInfo]
cardnumber: String
cardtype: String
expirationmonth: String
expirationyear: String
isdefault: String
isvalidated: String
lastfourdigits: String
nameoncard: String
type: String
}
type UserCreditCardInfo {
cards: [CreditCardDetails]
}
type PhoneDetails {
phonenumber: String
}
type UserAddressInfo {
addressid: ID!
addresstype: String
isdefaultaddress: String
firstname: String
lastname: String
email: String
addressline1: String
addressline2: String
city: String
state: String
county: String
country: String
zipcode: String
additionaldetails: [LabelValue]
phonedetails: [PhoneDetails]
}
type UserIdentityList {
id: ID!
partner: String
name: String
type: String
userid: String
tags: [LabelValue]
}
type UserProfileInfo {
userid: ID
email: String
username: String
firstname: String
lastname: String
userphoto: String
phonenumber: String
gender: String
dob: String
city: String
state: String
country: String
usertimezone: String
preferences: [LabelValue]
additionalinfo: [LabelValue]
list: [UserIdentityList]
addressinfo: [UserAddressInfo]
}
type UserSegmentSecurity {
usersegment: [String]
securityanswer: String
securityquestion: String
}
# union UserProfile = UserProfileInfo | UserSegmentSecurity
type UserState {
starttime: String
status: String
}
type UserResponseProperties {
creditcardinfo: UserCreditCardInfo
state: UserState!
userinfo: [UserProfileInfo]
}
type UserResponse {
type: String
properties: UserResponseProperties
responseMessage: String
responseCode: String
cookies: [String]
}
type RegistrationState {
statuscode: String
starttime: String
status: String
}
type UserInfoProperties {
userid: String
# adding username prop to Response
username: String
}
type RegistrationProperties {
state: RegistrationState
userinfo: UserInfoProperties
}
type RegistrationResponse {
responseCode: String
responseMessage: String
type: String
properties: RegistrationProperties
cookies: [String]
}
type TwitterAuthTokenResponse {
type: String
responseMessage: String
}
type UserIdParams {
userid: String
}
type LogOutState {
status: String
}
type ResetPasswordState {
status: String
}
type ResetPasswordProperties {
state: ResetPasswordState
userinfo: UserIdParams
}
type ResetPasswordResponse {
type: String
properties: ResetPasswordProperties
}
type LogOutProperties {
state: LogOutState
userinfo: UserIdParams
}
type LogOut {
responseCode: String
responseMessage: String
properties: LogOutProperties
type: String
}
input UpdateSecurityCustomParams {
locale: String
}
input SecurityVerificationDetails {
challengeQuestion: String
challengeAnswer: String
}
input SecurityQuestionParams {
type: String
verificationDetails: SecurityVerificationDetails
}
input UpdateSecurityVerificationDetails {
userName: String!
}
input UpdateSecurityParams {
verificationDetails: UpdateSecurityVerificationDetails
addresses: [SecurityQuestionParams]
}
type StateProperties {
statuscode: String!
starttime: String!
status: String!
}
type SecurityQuestionUserInfoProperties {
country: String
userphoto: String
firstname: String
preferences: [LabelValue]
gender: String
city: String
phonenumber: String
userid: ID
additionalinfo: [LabelValue]
lastname: String
dob: String
state: String
usertimezone: String
email: String
username: String
securityanswer: String
securityquestion: String
}
type GetSecurityQuestionProperties {
state: StateProperties
userinfo: [SecurityQuestionUserInfoProperties]
}
type GetSecurityQuestionResponse {
type: String
properties: GetSecurityQuestionProperties
}
type SecurityQuestionsState {
status: String
}
type UserIdProperty {
userid: String!
}
type SecurityQuestionsProperties {
state: SecurityQuestionsState
userinfo: UserIdProperty
}
type ResetBySecurityQuestionsResponse {
type: String
properties: SecurityQuestionsProperties
}
type UpdatePasswordProperties {
state: StateProperties
userinfo: UserIdProperty
}
type UpdatePasswordResponse {
type: String
properties: UpdatePasswordProperties
}
type AddPaymentState {
status: String
}
type AddPaymentProperties {
state: AddPaymentState
}
type AddCardResponse{
type: String
properties: AddPaymentProperties
}
type DeletePaymentState {
status: String
}
type DeletePaymentProperties {
state: DeletePaymentState
}
type DeleteCardResponse{
type: String
properties: DeletePaymentProperties
}
type ChangeDefaultState {
status: String
}
type ChangeDefaultPaymentProperties {
state: ChangeDefaultState
}
type ChangeDefaultCardResponse{
type: String
properties: ChangeDefaultPaymentProperties
}
input VerificationDetails {
# oddly enough, actually the email
userName: String!
# user's password
password: String!
# new property
username: String
}
input RegisterUserAddressesCustomParam {
type: [String]
}
input RegisterUserAddresses {
type: String
value: String
customParams: RegisterUserAddressesCustomParam
}
input RegisterUserCustomParams {
resetMethod: [String]
status: [String]
contactPreferences: [String]
additionalPreferences: [String]
promotions: [String]
preferences: [String]
}
input RegisterUserParams {
verificationDetails: VerificationDetails
email: String
phone: String
dob: String
gender: String
firstName: String
lastName: String
nickName: String
city: String
state: String
country: String
postalCode: String
addresses: [RegisterUserAddresses]
customParams: RegisterUserCustomParams
}
# input RegisterCustomParams {
# messageCampaignId: String
# validationMethod: String
# sendWelcomeEmail: String
# cv: String
# cid: String
# promocode: String
# promocampaign: String
# skipValidations: String
# skipPassword: String
# locale: String
# channel: String
# }
input RegisterUserInput {
userName: String!
password: String!
telephone: String!
firstName: String!
lastName: String
}
# input UserProfileParams {
# enablePaymentRetrival: Boolean
# }
# {
# customParams: {
# enablePaymentRetrival: ['true']
# }
# }
input UserProfileParams {
# enablePaymentRetrival: Boolean
enablePaymentRetrival: [String]
}
# input UserLoginParams {
# type: String
# value: String
# partnerId: String
# authToken: String
# messageCampaignId: String
# promocode: String
# promocampaign: String
# locale: String
# channel: String
# }
input UserLoginInput {
userName: String
password: String
authToken: String
provider: String
# userinfo: VerificationDetails
# customparams: UserLoginParams
}
input AddAddressInput {
address: AddressParams
customParams: AddressInputParams
}
input AddressInputParams {
locale: String
messageCampaignId: String
}
input AddressCustomParams {
validated: [String]
override: [String]
default: [String]
}
input UpdateSecurityInput {
userName: String
challengeQuestion: String
challengeAnswer: String
}
input ResetBySecurityQuestions {
emailId: String
challengeQuestion1: String
challengeAnswer1: String
# new password
password: String
}
input UpdatePasswordParams {
oldPassword: String
newPassword: String
}
input UpdateProfileInput {
firstName: String
lastName: String
userId: String
}
input AddressesParams {
type: String
firstName: String
lastName: String
phone: String
addressLine1: String
addressLine2: String
city: String
country: String
state: String
postalCode: String
customParams: AddressCustomParams
}
input AddressParams {
addresses: [AddressesParams]
}
input removeAddressParams {
addresses: [AddressToDelete]
}
input AddressToDelete {
type: String
id: String
}
input RemoveAddressInput {
address: removeAddressParams
}
input UpdateShippingInput {
address: UpdateShippingParams
customParams: AddressInputParams
}
input UpdateShippingParams {
addresses: [UpdateAddressesParams]
}
# @todo use extends
input UpdateAddressesParams {
id: String
type: String
firstName: String
lastName: String
phone: String
addressLine1: String
addressLine2: String
city: String
country: String
state: String
postalCode: String
customParams: AddressCustomParams
}
type ShippingAddressResponse {
responseCode: String
responseMessage: String
type: String
properties: AddressStateProperties
}
type AddressStateProperties {
state: RegistrationState
}
input ResetByEmailInput {
email: String
messageCampaignId: String
}
input Custom {
locale: String,
channel: String,
linkBAddrToCard: String,
messageCampaignId: String,
userId: String
}
input PaymentData {
cardid: String
cardnumber: String
cardtype: String
expirationmonth: String
expirationyear: String
identifier: String
isdefault: String
isvalidated: String
lastfourdigits: String
nameoncard: String
type: String
}
input PaymentParams {
customparams: Custom
payment: PaymentData
}
input AddCardInput {
cardType: String
cardNumber: String
expirationmonth: String
expirationyear: String
expiryDate: String
firstName: String
lastName: String
makeDefaultCard: String
securityCode: String
}
input DeleteCardInput {
creditId: String
email: String
}
input ChangeDefaultCardInput {
creditCardNumber: String
}
input ValidateByEmailInput {
password: String
resetParam: String
messageCampaignId: String
}