ba7f430b711a7904a130f24e8b764065e39f0d49
[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 _0x6bac=['DATE','STRING','out','ENUM','sequelize','exports','BOOLEAN'];(function(_0x535f9b,_0x1cf960){var _0x981102=function(_0xd61914){while(--_0xd61914){_0x535f9b['push'](_0x535f9b['shift']());}};_0x981102(++_0x1cf960);}(_0x6bac,0xa5));var _0xc6ba=function(_0x63c4ee,_0x2d652f){_0x63c4ee=_0x63c4ee-0x0;var _0x1cc26d=_0x6bac[_0x63c4ee];return _0x1cc26d;};'use strict';var Sequelize=require(_0xc6ba('0x0'));var moment=require('moment');module[_0xc6ba('0x1')]={'closed':{'type':Sequelize[_0xc6ba('0x2')],'defaultValue':![]},'closedAt':{'type':Sequelize[_0xc6ba('0x3')]},'disposition':{'type':Sequelize[_0xc6ba('0x4')]},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize['STRING']},'phone':{'type':Sequelize[_0xc6ba('0x4')]},'read1stAt':{'type':Sequelize[_0xc6ba('0x3')]},'firstMsgDirection':{'type':Sequelize['ENUM']('in',_0xc6ba('0x5')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0xc6ba('0x3')]},'lastMsgDirection':{'type':Sequelize[_0xc6ba('0x6')]('in',_0xc6ba('0x5')),'defaultValue':'in','allowNull':![]},'autoreplyExecuted':{'type':Sequelize[_0xc6ba('0x2')],'defaultValue':![]}};