d33758eb159ae5ea37b9b4ea0203887c29ba5f39
[motion2.git] / server / api / cmHopperAdditionalPhone / cmHopperAdditionalPhone.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 _0xa33d=['YYYY-MM-DD\x20HH:mm:ss','moment','exports','STRING','INTEGER','DATE','format'];(function(_0x6923ea,_0x4b5785){var _0x37b5d1=function(_0x3dd161){while(--_0x3dd161){_0x6923ea['push'](_0x6923ea['shift']());}};_0x37b5d1(++_0x4b5785);}(_0xa33d,0x1a5));var _0xda33=function(_0x12709e,_0x4fe126){_0x12709e=_0x12709e-0x0;var _0x3cac55=_0xa33d[_0x12709e];return _0x3cac55;};'use strict';var moment=require(_0xda33('0x0'));var Sequelize=require('sequelize');module[_0xda33('0x1')]={'CmHopperId':{'type':Sequelize['INTEGER']},'phone':{'type':Sequelize[_0xda33('0x2')],'allowNull':![]},'OrderBy':{'type':Sequelize[_0xda33('0x3')],'defaultValue':0x0},'scheduledat':{'type':Sequelize[_0xda33('0x4')],'defaultValue':moment()[_0xda33('0x5')](_0xda33('0x6'))},'countbusyretry':{'type':Sequelize[_0xda33('0x3')],'defaultValue':0x0},'countcongestionretry':{'type':Sequelize[_0xda33('0x3')],'defaultValue':0x0},'countnoanswerretry':{'type':Sequelize[_0xda33('0x3')],'defaultValue':0x0},'countnosuchnumberretry':{'type':Sequelize[_0xda33('0x3')],'defaultValue':0x0},'countdropretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countabandonedretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countmachineretry':{'type':Sequelize[_0xda33('0x3')],'defaultValue':0x0},'countagentrejectretry':{'type':Sequelize[_0xda33('0x3')],'defaultValue':0x0}};