f2de3005cd592534e24620a640a349471810064b
[motion2.git] / server / api / smsInteraction / smsInteraction.attributes.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and   *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xf90e=['DATE','STRING','ENUM','sequelize','exports','BOOLEAN'];(function(_0x4ae6ef,_0xc2af80){var _0x3cbb4e=function(_0x569ad5){while(--_0x569ad5){_0x4ae6ef['push'](_0x4ae6ef['shift']());}};_0x3cbb4e(++_0xc2af80);}(_0xf90e,0x1e3));var _0xef90=function(_0x380d6a,_0x1d1d74){_0x380d6a=_0x380d6a-0x0;var _0x592c8a=_0xf90e[_0x380d6a];return _0x592c8a;};'use strict';var Sequelize=require(_0xef90('0x0'));var moment=require('moment');module[_0xef90('0x1')]={'closed':{'type':Sequelize[_0xef90('0x2')],'defaultValue':![]},'closedAt':{'type':Sequelize[_0xef90('0x3')]},'disposition':{'type':Sequelize[_0xef90('0x4')]},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize[_0xef90('0x4')]},'note':{'type':Sequelize['STRING']},'phone':{'type':Sequelize[_0xef90('0x4')]},'read1stAt':{'type':Sequelize[_0xef90('0x3')]},'firstMsgDirection':{'type':Sequelize[_0xef90('0x5')]('in','out'),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0xef90('0x3')]},'lastMsgDirection':{'type':Sequelize[_0xef90('0x5')]('in','out'),'defaultValue':'in','allowNull':![]}};