UNPKG

dynamicpixels-typescript-sdk

Version:

This sdk will help you to connect your game's to the DynamicPixels

75 lines 2.12 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.VerifyOtaTokenParams = exports.SendOtaTokenParams = exports.IsOtaReadyParams = exports.LoginWithTokenParams = exports.LoginAsGuestParams = exports.LoginWithGoogleParams = exports.LoginWithEmailParams = exports.RegisterWithEmailParams = exports.LoginResponse = exports.ConnectionInfo = void 0; const user_1 = require("../dto/user"); class ConnectionInfo { constructor() { this.endpoint = ""; this.protocol = ""; this.version = ""; } } exports.ConnectionInfo = ConnectionInfo; class LoginResponse { constructor() { this.token = ""; this.user = new user_1.User(); this.connection = new ConnectionInfo(); } } exports.LoginResponse = LoginResponse; class RegisterWithEmailParams { constructor(init) { this.name = ""; this.email = ""; this.password = ""; Object.assign(this, init); } } exports.RegisterWithEmailParams = RegisterWithEmailParams; class LoginWithEmailParams { constructor(init) { this.email = ""; this.password = ""; Object.assign(this, init); } } exports.LoginWithEmailParams = LoginWithEmailParams; class LoginWithGoogleParams { constructor() { this.access_token = ""; } } exports.LoginWithGoogleParams = LoginWithGoogleParams; class LoginAsGuestParams { constructor() { this.device_info = { device_id: "" }; } } exports.LoginAsGuestParams = LoginAsGuestParams; class LoginWithTokenParams { constructor() { this.token = ""; } } exports.LoginWithTokenParams = LoginWithTokenParams; class IsOtaReadyParams { } exports.IsOtaReadyParams = IsOtaReadyParams; class SendOtaTokenParams { constructor() { this.phone_number = ""; } } exports.SendOtaTokenParams = SendOtaTokenParams; class VerifyOtaTokenParams { constructor() { this.phone_number = ""; this.name = ""; this.token = ""; } } exports.VerifyOtaTokenParams = VerifyOtaTokenParams; //# sourceMappingURL=authentication.js.map