c3d594f9dfc28e7325c77b535a269f4634ede342
[motion2.git] / server / api / whatsappInteraction / whatsappInteraction.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 _0xa3a3=['out','moment','DATE','STRING','ENUM'];(function(_0x4b9dc9,_0x14b3a2){var _0x57b302=function(_0x4f99ff){while(--_0x4f99ff){_0x4b9dc9['push'](_0x4b9dc9['shift']());}};_0x57b302(++_0x14b3a2);}(_0xa3a3,0x141));var _0x3a3a=function(_0x1aad29,_0x42ee4d){_0x1aad29=_0x1aad29-0x0;var _0x47f0ac=_0xa3a3[_0x1aad29];return _0x47f0ac;};'use strict';var Sequelize=require('sequelize');var moment=require(_0x3a3a('0x0'));module['exports']={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'closedAt':{'type':Sequelize[_0x3a3a('0x1')]},'disposition':{'type':Sequelize[_0x3a3a('0x2')]},'secondDisposition':{'type':Sequelize[_0x3a3a('0x2')]},'thirdDisposition':{'type':Sequelize[_0x3a3a('0x2')]},'note':{'type':Sequelize[_0x3a3a('0x2')]},'phone':{'type':Sequelize[_0x3a3a('0x2')]},'read1stAt':{'type':Sequelize[_0x3a3a('0x1')]},'firstMsgDirection':{'type':Sequelize[_0x3a3a('0x3')]('in',_0x3a3a('0x4')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x3a3a('0x1')]},'lastMsgDirection':{'type':Sequelize[_0x3a3a('0x3')]('in','out'),'defaultValue':'in','allowNull':![]}};