a1d534cae31290652a53dcff277667a84678a089
[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 _0x14f3=['exports','BOOLEAN','DATE','STRING','ENUM','out','sequelize','moment'];(function(_0x3379d3,_0x587194){var _0xa14b30=function(_0xa73b09){while(--_0xa73b09){_0x3379d3['push'](_0x3379d3['shift']());}};_0xa14b30(++_0x587194);}(_0x14f3,0x186));var _0x314f=function(_0x1bb019,_0x5f1ae2){_0x1bb019=_0x1bb019-0x0;var _0x1bbc4e=_0x14f3[_0x1bb019];return _0x1bbc4e;};'use strict';var Sequelize=require(_0x314f('0x0'));var moment=require(_0x314f('0x1'));module[_0x314f('0x2')]={'closed':{'type':Sequelize[_0x314f('0x3')],'defaultValue':![]},'closedAt':{'type':Sequelize[_0x314f('0x4')]},'disposition':{'type':Sequelize[_0x314f('0x5')]},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize[_0x314f('0x5')]},'note':{'type':Sequelize['STRING']},'phone':{'type':Sequelize[_0x314f('0x5')]},'read1stAt':{'type':Sequelize[_0x314f('0x4')]},'firstMsgDirection':{'type':Sequelize[_0x314f('0x6')]('in',_0x314f('0x7')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize['DATE']},'lastMsgDirection':{'type':Sequelize[_0x314f('0x6')]('in','out'),'defaultValue':'in','allowNull':![]}};