{
  "applicationVersion" : "7.10.13",
  "services" : [ {
    "type" : "service",
    "name" : "com.avast.id.services.CaptchaService",
    "shortName" : "CaptchaService",
    "operations" : [ {
      "name" : "showCaptcha",
      "parameters" : [ ],
      "return" : {
        "type" : "object",
        "properties" : {
          "siteKey" : {
            "type" : "string"
          },
          "captchaRequired" : {
            "type" : "boolean"
          }
        }
      }
    } ]
  }, {
    "type" : "service",
    "name" : "com.avast.id.services.LoginService",
    "shortName" : "LoginService",
    "operations" : [ {
      "name" : "login",
      "parameters" : [ {
        "name" : "form",
        "schema" : {
          "type" : "object",
          "properties" : {
            "rememberMe" : {
              "type" : "boolean"
            },
            "captcha_response" : {
              "type" : "string"
            },
            "password" : {
              "type" : "string"
            },
            "email" : {
              "type" : "string"
            }
          }
        }
      }, {
        "name" : "options",
        "schema" : {
          "type" : "object",
          "properties" : {
            "allowAuthenticated" : {
              "type" : "boolean"
            },
            "extraLoginTicket" : {
              "type" : "boolean"
            }
          }
        }
      } ],
      "return" : {
        "type" : "object",
        "properties" : {
          "extraLoginTicket" : {
            "type" : "string"
          },
          "uuid" : {
            "type" : "string"
          },
          "forceVerification" : {
            "type" : "boolean"
          },
          "redirectTo" : {
            "type" : "string"
          }
        }
      }
    }, {
      "name" : "logout",
      "parameters" : [ ],
      "return" : {
        "type" : "object",
        "properties" : {
          "socialLogout" : {
            "type" : "object",
            "properties" : {
              "type" : {
                "type" : "string",
                "enums" : [ "FACEBOOK", "GOOGLE" ]
              },
              "token" : {
                "type" : "string"
              }
            }
          },
          "serviceAllowsUnauthenticated" : {
            "type" : "boolean"
          }
        }
      }
    } ]
  }, {
    "type" : "service",
    "name" : "com.avast.id.services.AccountService",
    "shortName" : "AccountService",
    "operations" : [ {
      "name" : "changePassword",
      "parameters" : [ {
        "name" : "form",
        "schema" : {
          "type" : "object",
          "properties" : {
            "oldPassword" : {
              "type" : "string"
            },
            "passwordCheck" : {
              "type" : "string"
            },
            "password" : {
              "type" : "string"
            },
            "version" : {
              "type" : "number"
            }
          }
        }
      } ],
      "return" : {
        "type" : "null"
      }
    }, {
      "name" : "createPassword",
      "parameters" : [ {
        "name" : "form",
        "schema" : {
          "type" : "object",
          "properties" : {
            "passwordCheck" : {
              "type" : "string"
            },
            "password" : {
              "type" : "string"
            },
            "version" : {
              "type" : "number"
            }
          }
        }
      } ],
      "return" : {
        "type" : "null"
      }
    }, {
      "name" : "getCurrentUserData",
      "parameters" : [ ],
      "return" : {
        "type" : "object",
        "properties" : {
          "uuid" : {
            "type" : "string"
          },
          "firstName" : {
            "type" : "string"
          },
          "lastName" : {
            "type" : "string"
          },
          "emails" : {
            "type" : "array",
            "items" : {
              "type" : "object",
              "properties" : {
                "verified" : {
                  "type" : "boolean"
                },
                "primary" : {
                  "type" : "boolean"
                },
                "email" : {
                  "type" : "string"
                }
              }
            }
          },
          "hasPassword" : {
            "type" : "boolean"
          },
          "verified" : {
            "type" : "boolean"
          },
          "picture" : {
            "type" : "string"
          },
          "version" : {
            "type" : "number"
          },
          "locale" : {
            "type" : "string",
            "enums" : [ "EN_WW", "ES_WW", "EN_EU", "EN_AU", "FR_BE", "NL_BE", "PT_BR", "EN_CA", "FR_CA", "CS_CZ", "EN_DK", "DE_DE", "ES_ES", "FR_FR", "IT_IT", "ES_MX", "NL_NL", "EN_NO", "PL_PL", "PT_PT", "RU_RU", "DE_CH", "FR_CH", "EN_SE", "TR_TR", "EN_GB", "EN_US", "ES_US", "JA_JP", "ZH_CN" ]
          }
        }
      }
    }, {
      "name" : "recoverPassword",
      "parameters" : [ {
        "name" : "form",
        "schema" : {
          "type" : "object",
          "properties" : {
            "captcha_response" : {
              "type" : "string"
            },
            "email" : {
              "type" : "string"
            }
          }
        }
      }, {
        "name" : "options",
        "schema" : {
          "type" : "object",
          "properties" : {
            "serviceUrlOverride" : {
              "type" : "string"
            }
          }
        }
      } ],
      "return" : {
        "type" : "null"
      }
    }, {
      "name" : "resetPassword",
      "parameters" : [ {
        "name" : "form",
        "schema" : {
          "type" : "object",
          "properties" : {
            "passwordCheck" : {
              "type" : "string"
            },
            "password" : {
              "type" : "string"
            },
            "token" : {
              "type" : "string"
            }
          }
        }
      } ],
      "return" : {
        "type" : "object",
        "properties" : {
          "redirectTo" : {
            "type" : "string"
          }
        }
      }
    }, {
      "name" : "updateUser",
      "parameters" : [ {
        "name" : "form",
        "schema" : {
          "type" : "object",
          "properties" : {
            "firstName" : {
              "type" : "string"
            },
            "lastName" : {
              "type" : "string"
            },
            "street" : {
              "type" : "string"
            },
            "city" : {
              "type" : "string"
            },
            "version" : {
              "type" : "number"
            }
          }
        }
      } ],
      "return" : {
        "type" : "null"
      }
    } ]
  }, {
    "type" : "service",
    "name" : "com.avast.id.services.MetaService",
    "shortName" : "MetaService",
    "operations" : [ {
      "name" : "changeLocale",
      "parameters" : [ {
        "name" : "code",
        "schema" : {
          "type" : "string"
        }
      } ],
      "return" : {
        "type" : "null"
      }
    }, {
      "name" : "getAppInitData",
      "parameters" : [ ],
      "return" : {
        "type" : "object",
        "properties" : {
          "securityToken" : {
            "type" : "string"
          },
          "socialConfig" : {
            "type" : "object",
            "properties" : {
              "facebookAppId" : {
                "type" : "string"
              },
              "googleAppId" : {
                "type" : "string"
              }
            }
          }
        }
      }
    }, {
      "name" : "listLocales",
      "parameters" : [ ],
      "return" : {
        "type" : "array",
        "items" : {
          "type" : "object",
          "properties" : {
            "name" : {
              "type" : "string"
            },
            "language" : {
              "type" : "string"
            },
            "country" : {
              "type" : "string"
            },
            "code" : {
              "type" : "string"
            }
          }
        }
      }
    }, {
      "name" : "securityToken",
      "parameters" : [ ],
      "return" : {
        "type" : "string"
      }
    } ]
  }, {
    "type" : "service",
    "name" : "com.avast.id.services.RegistrationService",
    "shortName" : "RegistrationService",
    "operations" : [ {
      "name" : "changeRegistrationEmail",
      "parameters" : [ {
        "name" : "form",
        "schema" : {
          "type" : "object",
          "properties" : {
            "captcha_response" : {
              "type" : "string"
            },
            "version" : {
              "type" : "number"
            },
            "email" : {
              "type" : "string"
            }
          }
        }
      }, {
        "name" : "options",
        "schema" : {
          "type" : "object",
          "properties" : {
            "serviceUrlOverride" : {
              "type" : "string"
            },
            "manageAccount" : {
              "type" : "boolean"
            },
            "pam" : {
              "type" : "boolean"
            }
          }
        }
      } ],
      "return" : {
        "type" : "null"
      }
    }, {
      "name" : "confirm",
      "parameters" : [ {
        "name" : "token",
        "schema" : {
          "type" : "string"
        }
      } ],
      "return" : {
        "type" : "object",
        "properties" : {
          "extraLoginTicket" : {
            "type" : "string"
          },
          "redirectTo" : {
            "type" : "string"
          }
        }
      }
    }, {
      "name" : "confirmAndSetPassword",
      "parameters" : [ {
        "name" : "form",
        "schema" : {
          "type" : "object",
          "properties" : {
            "passwordCheck" : {
              "type" : "string"
            },
            "password" : {
              "type" : "string"
            },
            "token" : {
              "type" : "string"
            }
          }
        }
      } ],
      "return" : {
        "type" : "object",
        "properties" : {
          "redirectTo" : {
            "type" : "string"
          },
          "userAuthenticated" : {
            "type" : "boolean"
          }
        }
      }
    }, {
      "name" : "getInitializationData",
      "parameters" : [ ],
      "return" : {
        "type" : "object",
        "properties" : {
          "captcha" : {
            "type" : "object",
            "properties" : {
              "siteKey" : {
                "type" : "string"
              },
              "captchaRequired" : {
                "type" : "boolean"
              }
            }
          },
          "requiresFullRegistration" : {
            "type" : "boolean"
          }
        }
      }
    }, {
      "name" : "register",
      "parameters" : [ {
        "name" : "form",
        "schema" : {
          "type" : "object",
          "properties" : {
            "captcha_response" : {
              "type" : "string"
            },
            "passwordCheck" : {
              "type" : "string"
            },
            "street" : {
              "type" : "string"
            },
            "city" : {
              "type" : "string"
            },
            "surname" : {
              "type" : "string"
            },
            "password" : {
              "type" : "string"
            },
            "name" : {
              "type" : "string"
            },
            "email" : {
              "type" : "string"
            }
          }
        }
      }, {
        "name" : "options",
        "schema" : {
          "type" : "object",
          "properties" : {
            "serviceUrlOverride" : {
              "type" : "string"
            },
            "manageAccount" : {
              "type" : "boolean"
            },
            "pam" : {
              "type" : "boolean"
            }
          }
        }
      } ],
      "return" : {
        "type" : "object",
        "properties" : {
          "redirectTo" : {
            "type" : "string"
          },
          "userAuthenticated" : {
            "type" : "boolean"
          }
        }
      }
    }, {
      "name" : "resendRegistrationEmail",
      "parameters" : [ {
        "name" : "form",
        "schema" : {
          "type" : "object",
          "properties" : {
            "captcha_response" : {
              "type" : "string"
            },
            "version" : {
              "type" : "number"
            }
          }
        }
      }, {
        "name" : "options",
        "schema" : {
          "type" : "object",
          "properties" : {
            "serviceUrlOverride" : {
              "type" : "string"
            },
            "manageAccount" : {
              "type" : "boolean"
            },
            "pam" : {
              "type" : "boolean"
            }
          }
        }
      } ],
      "return" : {
        "type" : "null"
      }
    }, {
      "name" : "resendRegistrationEmailNotAuth",
      "parameters" : [ {
        "name" : "form",
        "schema" : {
          "type" : "object",
          "properties" : {
            "captcha_response" : {
              "type" : "string"
            }
          }
        }
      }, {
        "name" : "options",
        "schema" : {
          "type" : "object",
          "properties" : {
            "serviceUrlOverride" : {
              "type" : "string"
            },
            "manageAccount" : {
              "type" : "boolean"
            },
            "pam" : {
              "type" : "boolean"
            }
          }
        }
      } ],
      "return" : {
        "type" : "null"
      }
    } ]
  }, {
    "type" : "service",
    "name" : "com.avast.id.services.SocialService",
    "shortName" : "SocialService",
    "operations" : [ {
      "name" : "addFacebokToAccount",
      "parameters" : [ {
        "name" : "credentials",
        "schema" : {
          "type" : "object",
          "properties" : {
            "token" : {
              "type" : "string"
            }
          }
        }
      } ],
      "return" : {
        "type" : "object",
        "properties" : {
          "extraLoginTicket" : {
            "type" : "string"
          },
          "redirectTo" : {
            "type" : "string"
          }
        }
      }
    }, {
      "name" : "addGoogleToAccount",
      "parameters" : [ {
        "name" : "credentials",
        "schema" : {
          "type" : "object",
          "properties" : {
            "code" : {
              "type" : "string"
            },
            "token" : {
              "type" : "string"
            }
          }
        }
      } ],
      "return" : {
        "type" : "object",
        "properties" : {
          "extraLoginTicket" : {
            "type" : "string"
          },
          "redirectTo" : {
            "type" : "string"
          }
        }
      }
    }, {
      "name" : "createNewAccount",
      "parameters" : [ {
        "name" : "form",
        "schema" : {
          "type" : "object",
          "properties" : {
            "ticket" : {
              "type" : "string"
            }
          }
        }
      }, {
        "name" : "socialNetwork",
        "schema" : {
          "type" : "string",
          "enums" : [ "FACEBOOK", "GOOGLE" ]
        }
      }, {
        "name" : "arg2",
        "schema" : {
          "type" : "object",
          "properties" : {
            "allowAuthenticated" : {
              "type" : "boolean"
            },
            "extraLoginTicket" : {
              "type" : "boolean"
            }
          }
        }
      } ],
      "return" : {
        "type" : "object",
        "properties" : {
          "extraLoginTicket" : {
            "type" : "string"
          },
          "redirectTo" : {
            "type" : "string"
          }
        }
      }
    }, {
      "name" : "facebookLogin",
      "parameters" : [ {
        "name" : "credentials",
        "schema" : {
          "type" : "object",
          "properties" : {
            "token" : {
              "type" : "string"
            }
          }
        }
      }, {
        "name" : "arg1",
        "schema" : {
          "type" : "object",
          "properties" : {
            "allowAuthenticated" : {
              "type" : "boolean"
            },
            "extraLoginTicket" : {
              "type" : "boolean"
            }
          }
        }
      } ],
      "return" : {
        "type" : "object",
        "properties" : {
          "extraLoginTicket" : {
            "type" : "string"
          },
          "redirectTo" : {
            "type" : "string"
          },
          "ticket" : {
            "type" : "string"
          },
          "joinStepRequired" : {
            "type" : "boolean"
          }
        }
      }
    }, {
      "name" : "facebookPairing",
      "parameters" : [ {
        "name" : "credentials",
        "schema" : {
          "type" : "object",
          "properties" : {
            "token" : {
              "type" : "string"
            }
          }
        }
      }, {
        "name" : "params",
        "schema" : {
          "type" : "object",
          "properties" : {
            "lid" : {
              "type" : "string"
            },
            "cnm" : {
              "type" : "string"
            },
            "aam" : {
              "type" : "string"
            },
            "hid" : {
              "type" : "string"
            },
            "midex" : {
              "type" : "string"
            },
            "conn" : {
              "type" : "string"
            },
            "os" : {
              "type" : "string"
            },
            "sessionId" : {
              "type" : "string"
            }
          }
        }
      } ],
      "return" : {
        "type" : "object",
        "properties" : {
          "redirectTo" : {
            "type" : "string"
          },
          "registrationAlreadyFinished" : {
            "type" : "boolean"
          },
          "registered" : {
            "type" : "boolean"
          }
        }
      }
    }, {
      "name" : "googleLogin",
      "parameters" : [ {
        "name" : "credentials",
        "schema" : {
          "type" : "object",
          "properties" : {
            "code" : {
              "type" : "string"
            },
            "token" : {
              "type" : "string"
            }
          }
        }
      }, {
        "name" : "arg1",
        "schema" : {
          "type" : "object",
          "properties" : {
            "allowAuthenticated" : {
              "type" : "boolean"
            },
            "extraLoginTicket" : {
              "type" : "boolean"
            }
          }
        }
      } ],
      "return" : {
        "type" : "object",
        "properties" : {
          "extraLoginTicket" : {
            "type" : "string"
          },
          "redirectTo" : {
            "type" : "string"
          },
          "ticket" : {
            "type" : "string"
          },
          "joinStepRequired" : {
            "type" : "boolean"
          }
        }
      }
    }, {
      "name" : "googlePairing",
      "parameters" : [ {
        "name" : "credentials",
        "schema" : {
          "type" : "object",
          "properties" : {
            "code" : {
              "type" : "string"
            },
            "token" : {
              "type" : "string"
            }
          }
        }
      }, {
        "name" : "params",
        "schema" : {
          "type" : "object",
          "properties" : {
            "lid" : {
              "type" : "string"
            },
            "cnm" : {
              "type" : "string"
            },
            "aam" : {
              "type" : "string"
            },
            "hid" : {
              "type" : "string"
            },
            "midex" : {
              "type" : "string"
            },
            "conn" : {
              "type" : "string"
            },
            "os" : {
              "type" : "string"
            },
            "sessionId" : {
              "type" : "string"
            }
          }
        }
      } ],
      "return" : {
        "type" : "object",
        "properties" : {
          "redirectTo" : {
            "type" : "string"
          },
          "registrationAlreadyFinished" : {
            "type" : "boolean"
          },
          "registered" : {
            "type" : "boolean"
          }
        }
      }
    }, {
      "name" : "joinSocialToAccount",
      "parameters" : [ {
        "name" : "form",
        "schema" : {
          "type" : "object",
          "properties" : {
            "ticket" : {
              "type" : "string"
            },
            "password" : {
              "type" : "string"
            },
            "email" : {
              "type" : "string"
            }
          }
        }
      }, {
        "name" : "socialNetwork",
        "schema" : {
          "type" : "string",
          "enums" : [ "FACEBOOK", "GOOGLE" ]
        }
      }, {
        "name" : "arg2",
        "schema" : {
          "type" : "object",
          "properties" : {
            "allowAuthenticated" : {
              "type" : "boolean"
            },
            "extraLoginTicket" : {
              "type" : "boolean"
            }
          }
        }
      } ],
      "return" : {
        "type" : "object",
        "properties" : {
          "extraLoginTicket" : {
            "type" : "string"
          },
          "redirectTo" : {
            "type" : "string"
          }
        }
      }
    } ]
  } ]
}