c883eb05cd2beba1d5d1675a7544b17e1ab751d2
[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 _0xecec=['../../config/logger','api','moment','bluebird','request-promise','path','rimraf','./contactItemType.attributes','exports','define','ContactItemType','tools_contact_item_types','lodash','util'];(function(_0x261b8a,_0x553ec4){var _0x3455e8=function(_0xdf10d4){while(--_0xdf10d4){_0x261b8a['push'](_0x261b8a['shift']());}};_0x3455e8(++_0x553ec4);}(_0xecec,0x1b0));var _0xcece=function(_0x434861,_0x3f3ff8){_0x434861=_0x434861-0x0;var _0x2b22f2=_0xecec[_0x434861];return _0x2b22f2;};'use strict';var _=require(_0xcece('0x0'));var util=require(_0xcece('0x1'));var logger=require(_0xcece('0x2'))(_0xcece('0x3'));var moment=require(_0xcece('0x4'));var BPromise=require(_0xcece('0x5'));var rp=require(_0xcece('0x6'));var fs=require('fs');var path=require(_0xcece('0x7'));var rimraf=require(_0xcece('0x8'));var config=require('../../config/environment');var attributes=require(_0xcece('0x9'));module[_0xcece('0xa')]=function(_0xca7b7a,_0x54c65a){return _0xca7b7a[_0xcece('0xb')](_0xcece('0xc'),attributes,{'tableName':_0xcece('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};