b3e4cd73de6973b8a3f718fcc28c4c5cf8b5d164
[motion2.git] / server / api / contactItemType / contactItemType.model.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 _0xfb8f=['util','moment','bluebird','request-promise','path','rimraf','./contactItemType.attributes','exports','tools_contact_item_types'];(function(_0x169dcf,_0x500546){var _0x48f65d=function(_0x40ee3d){while(--_0x40ee3d){_0x169dcf['push'](_0x169dcf['shift']());}};_0x48f65d(++_0x500546);}(_0xfb8f,0x18c));var _0xffb8=function(_0x5313d7,_0x4a2318){_0x5313d7=_0x5313d7-0x0;var _0x449168=_0xfb8f[_0x5313d7];return _0x449168;};'use strict';var _=require('lodash');var util=require(_0xffb8('0x0'));var logger=require('../../config/logger')('api');var moment=require(_0xffb8('0x1'));var BPromise=require(_0xffb8('0x2'));var rp=require(_0xffb8('0x3'));var fs=require('fs');var path=require(_0xffb8('0x4'));var rimraf=require(_0xffb8('0x5'));var config=require('../../config/environment');var attributes=require(_0xffb8('0x6'));module[_0xffb8('0x7')]=function(_0x463cfb,_0x47b1e5){return _0x463cfb['define']('ContactItemType',attributes,{'tableName':_0xffb8('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};