Built motion from commit 87cd5f02.|2.5.48
[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 _0x96e0=['sequelize','exports','STRING','out','DATE','ENUM','BOOLEAN'];(function(_0x49b929,_0x1bddba){var _0x25abc2=function(_0x1e77b1){while(--_0x1e77b1){_0x49b929['push'](_0x49b929['shift']());}};_0x25abc2(++_0x1bddba);}(_0x96e0,0x7e));var _0x096e=function(_0x326fe6,_0x282f00){_0x326fe6=_0x326fe6-0x0;var _0x2e2ce4=_0x96e0[_0x326fe6];return _0x2e2ce4;};'use strict';var Sequelize=require(_0x096e('0x0'));var moment=require('moment');module[_0x096e('0x1')]={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize[_0x096e('0x2')]},'secondDisposition':{'type':Sequelize[_0x096e('0x2')]},'thirdDisposition':{'type':Sequelize[_0x096e('0x2')]},'note':{'type':Sequelize[_0x096e('0x2')]},'phone':{'type':Sequelize['STRING']},'read1stAt':{'type':Sequelize['DATE']},'firstMsgDirection':{'type':Sequelize['ENUM']('in',_0x096e('0x3')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x096e('0x4')]},'lastMsgDirection':{'type':Sequelize[_0x096e('0x5')]('in',_0x096e('0x3')),'defaultValue':'in','allowNull':![]},'autoreplyExecuted':{'type':Sequelize[_0x096e('0x6')],'defaultValue':![]}};