mobyo-interfaces
Version:
Interfaces de Projetos Mobyo
35 lines (34 loc) • 1.15 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.PayioJwtPayloadEntity = void 0;
var activation_key_status_enum_1 = require("../../activation-key/enums/activation-key-status.enum");
var PayioJwtPayloadEntity = /** @class */ (function () {
// #endregion Properties (16)
// #region Constructors (1)
function PayioJwtPayloadEntity(data) {
// #region Properties (16)
this.activationStatus = activation_key_status_enum_1.EPayuioActivationStatus.NONE;
this.app = null;
this.aud = '';
this.device = null;
this.distributorId = null;
this.exp = 0;
this.iat = 0;
this.info = null;
this.iss = '';
this.jti = '';
this.permissions = [];
this.sub = '';
this.type = null;
this.user = null;
if (data) {
for (var key in data) {
if (data.hasOwnProperty(key) && key in this) {
this[key] = data[key];
}
}
}
}
return PayioJwtPayloadEntity;
}());
exports.PayioJwtPayloadEntity = PayioJwtPayloadEntity;