Built motion from commit (unavailable).|2.5.14
[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 _0xe0c9=['DATE','STRING','ENUM','out','moment','exports'];(function(_0x4709c0,_0x3396c7){var _0x13348b=function(_0x426235){while(--_0x426235){_0x4709c0['push'](_0x4709c0['shift']());}};_0x13348b(++_0x3396c7);}(_0xe0c9,0x136));var _0x9e0c=function(_0x50f1b4,_0x408367){_0x50f1b4=_0x50f1b4-0x0;var _0x2885cc=_0xe0c9[_0x50f1b4];return _0x2885cc;};'use strict';var Sequelize=require('sequelize');var moment=require(_0x9e0c('0x0'));module[_0x9e0c('0x1')]={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'closedAt':{'type':Sequelize[_0x9e0c('0x2')]},'disposition':{'type':Sequelize[_0x9e0c('0x3')]},'secondDisposition':{'type':Sequelize[_0x9e0c('0x3')]},'thirdDisposition':{'type':Sequelize[_0x9e0c('0x3')]},'note':{'type':Sequelize[_0x9e0c('0x3')]},'phone':{'type':Sequelize[_0x9e0c('0x3')]},'read1stAt':{'type':Sequelize['DATE']},'firstMsgDirection':{'type':Sequelize[_0x9e0c('0x4')]('in',_0x9e0c('0x5')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x9e0c('0x2')]},'lastMsgDirection':{'type':Sequelize['ENUM']('in',_0x9e0c('0x5')),'defaultValue':'in','allowNull':![]}};