Built motion from commit da617fac.|2.6.6
[motion2.git] / server / api / openchannelInteraction / openchannelInteraction.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 _0xb2b5=['out','ENUM','BOOLEAN','STRING','DATE'];(function(_0x5b192d,_0x1241f1){var _0x352f33=function(_0x1ddad8){while(--_0x1ddad8){_0x5b192d['push'](_0x5b192d['shift']());}};_0x352f33(++_0x1241f1);}(_0xb2b5,0xa3));var _0x5b2b=function(_0x32f7d7,_0x54231b){_0x32f7d7=_0x32f7d7-0x0;var _0x133d09=_0xb2b5[_0x32f7d7];return _0x133d09;};'use strict';var Sequelize=require('sequelize');module['exports']={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize[_0x5b2b('0x0')]},'secondDisposition':{'type':Sequelize[_0x5b2b('0x0')]},'thirdDisposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize['STRING']},'read1stAt':{'type':Sequelize[_0x5b2b('0x1')]},'threadId':{'type':Sequelize[_0x5b2b('0x0')]},'externalUrl':{'type':Sequelize[_0x5b2b('0x0')]},'lastMsgAt':{'type':Sequelize[_0x5b2b('0x1')]},'firstMsgDirection':{'type':Sequelize['ENUM']('in',_0x5b2b('0x2')),'defaultValue':'in','allowNull':![]},'lastMsgDirection':{'type':Sequelize[_0x5b2b('0x3')]('in','out'),'defaultValue':'in','allowNull':![]},'from':{'type':Sequelize['STRING']},'autoreplyExecuted':{'type':Sequelize[_0x5b2b('0x4')],'defaultValue':![]}};