Built motion from commit c738b9ac.|2.6.25
[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 _0x6f6e=['tools_contact_item_types','../../config/logger','api','moment','bluebird','request-promise','rimraf','./contactItemType.attributes','exports','define','ContactItemType'];(function(_0xebf860,_0x3bb4e4){var _0x5c041e=function(_0x253aca){while(--_0x253aca){_0xebf860['push'](_0xebf860['shift']());}};_0x5c041e(++_0x3bb4e4);}(_0x6f6e,0x9b));var _0xe6f6=function(_0x50a44b,_0x2bea0a){_0x50a44b=_0x50a44b-0x0;var _0x372b56=_0x6f6e[_0x50a44b];return _0x372b56;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xe6f6('0x0'))(_0xe6f6('0x1'));var moment=require(_0xe6f6('0x2'));var BPromise=require(_0xe6f6('0x3'));var rp=require(_0xe6f6('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xe6f6('0x5'));var config=require('../../config/environment');var attributes=require(_0xe6f6('0x6'));module[_0xe6f6('0x7')]=function(_0x261643,_0x5a35fe){return _0x261643[_0xe6f6('0x8')](_0xe6f6('0x9'),attributes,{'tableName':_0xe6f6('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};