690ddb7cc5ac89b87c01982595f4ffa5f86d7da7
[motion2.git] / server / api / cdr / cdr.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 _0x180f=['1970-01-01\x2000:00:01','STRING','INTEGER','sequelize','exports'];(function(_0x1cb18a,_0x33167a){var _0x22442e=function(_0x46c611){while(--_0x46c611){_0x1cb18a['push'](_0x1cb18a['shift']());}};_0x22442e(++_0x33167a);}(_0x180f,0xf3));var _0xf180=function(_0x4bf96c,_0x4d24fd){_0x4bf96c=_0x4bf96c-0x0;var _0x281d09=_0x180f[_0x4bf96c];return _0x281d09;};'use strict';var Sequelize=require(_0xf180('0x0'));module[_0xf180('0x1')]={'calldate':{'type':Sequelize['DATE'],'allowNull':![],'defaultValue':_0xf180('0x2')},'clid':{'type':Sequelize[_0xf180('0x3')]},'src':{'type':Sequelize['STRING']},'dst':{'type':Sequelize[_0xf180('0x3')]},'dcontext':{'type':Sequelize[_0xf180('0x3')]},'channel':{'type':Sequelize[_0xf180('0x3')]},'dstchannel':{'type':Sequelize[_0xf180('0x3')]},'lastapp':{'type':Sequelize[_0xf180('0x3')]},'lastdata':{'type':Sequelize['STRING']},'duration':{'type':Sequelize[_0xf180('0x4')],'allowNull':![],'defaultValue':0x0},'billsec':{'type':Sequelize[_0xf180('0x4')],'allowNull':![],'defaultValue':0x0},'disposition':{'type':Sequelize['STRING']},'amaflags':{'type':Sequelize['INTEGER'],'allowNull':![],'defaultValue':0x0},'accountcode':{'type':Sequelize[_0xf180('0x3')]},'userfield':{'type':Sequelize[_0xf180('0x3')]},'uniqueid':{'type':Sequelize[_0xf180('0x3')]},'linkedid':{'type':Sequelize[_0xf180('0x3')]},'sequence':{'type':Sequelize[_0xf180('0x3')]},'peeraccount':{'type':Sequelize[_0xf180('0x3')]},'type':{'type':Sequelize[_0xf180('0x3')]},'tag':{'type':Sequelize[_0xf180('0x3')]}};