3bbea4e28724d9426de8f7ae2a2908b2a5943155
[motion2.git] / server / api / faxInteraction / faxInteraction.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 _0xa1e7=['DATE','STRING','out','ENUM','sequelize','exports'];(function(_0x276f6d,_0x10a50e){var _0xda31b5=function(_0x5cfb89){while(--_0x5cfb89){_0x276f6d['push'](_0x276f6d['shift']());}};_0xda31b5(++_0x10a50e);}(_0xa1e7,0xfa));var _0x7a1e=function(_0x21b5df,_0x152551){_0x21b5df=_0x21b5df-0x0;var _0x56ef3c=_0xa1e7[_0x21b5df];return _0x56ef3c;};'use strict';var Sequelize=require(_0x7a1e('0x0'));module[_0x7a1e('0x1')]={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'closedAt':{'type':Sequelize[_0x7a1e('0x2')]},'disposition':{'type':Sequelize[_0x7a1e('0x3')]},'secondDisposition':{'type':Sequelize[_0x7a1e('0x3')]},'thirdDisposition':{'type':Sequelize[_0x7a1e('0x3')]},'note':{'type':Sequelize[_0x7a1e('0x3')]},'read1stAt':{'type':Sequelize[_0x7a1e('0x2')]},'fax':{'type':Sequelize[_0x7a1e('0x3')]},'firstMsgDirection':{'type':Sequelize['ENUM']('in',_0x7a1e('0x4')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x7a1e('0x2')]},'lastMsgDirection':{'type':Sequelize[_0x7a1e('0x5')]('in',_0x7a1e('0x4')),'defaultValue':'in','allowNull':![]}};