49 lines
1.6 KiB
JSON
49 lines
1.6 KiB
JSON
{
|
|
"config": {
|
|
"step": {
|
|
"user": {
|
|
"title": "PerfectDraft Account",
|
|
"description": "Enter your PerfectDraft app credentials.",
|
|
"data": {
|
|
"email": "Email",
|
|
"password": "Password"
|
|
}
|
|
},
|
|
"token": {
|
|
"title": "Verification Token",
|
|
"description": "Open perfectdraft.com/en-gb/customer/account/login, press F12, paste this in the Console and press Enter: grecaptcha.enterprise.execute('6LcZQiUoAAAAAAO3JUjLiT470c-pNXbWyepuvMtV', {action: 'Magento/login'}).then(t => console.log(t)) — Copy the output and paste it below. Token expires in 2 minutes.",
|
|
"data": {
|
|
"recaptcha_token": "Verification Token"
|
|
}
|
|
},
|
|
"reauth_confirm": {
|
|
"title": "Re-authenticate PerfectDraft",
|
|
"description": "Your session has expired. Please re-enter your credentials.",
|
|
"data": {
|
|
"email": "Email",
|
|
"password": "Password"
|
|
}
|
|
}
|
|
},
|
|
"error": {
|
|
"invalid_auth": "Authentication failed. Token may have expired (2 min limit) or credentials are wrong. Try again with a fresh token.",
|
|
"cannot_connect": "Cannot connect to PerfectDraft service.",
|
|
"unknown": "An unexpected error occurred."
|
|
},
|
|
"abort": {
|
|
"already_configured": "This PerfectDraft account is already configured.",
|
|
"reauth_successful": "Re-authentication successful."
|
|
}
|
|
},
|
|
"options": {
|
|
"step": {
|
|
"init": {
|
|
"title": "PerfectDraft Options",
|
|
"data": {
|
|
"scan_interval": "Polling interval (seconds)"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|