Built motion from commit d5e4af8c.|2.6.23
[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 _0xd1f5=['path','rimraf','../../config/environment','./contactItemType.attributes','exports','define','ContactItemType','lodash','util','api','moment','request-promise'];(function(_0x10b48a,_0x1a0a3f){var _0x2c4533=function(_0x5e4be6){while(--_0x5e4be6){_0x10b48a['push'](_0x10b48a['shift']());}};_0x2c4533(++_0x1a0a3f);}(_0xd1f5,0xdf));var _0x5d1f=function(_0x5a537e,_0xbe7cab){_0x5a537e=_0x5a537e-0x0;var _0x2e2ba6=_0xd1f5[_0x5a537e];return _0x2e2ba6;};'use strict';var _=require(_0x5d1f('0x0'));var util=require(_0x5d1f('0x1'));var logger=require('../../config/logger')(_0x5d1f('0x2'));var moment=require(_0x5d1f('0x3'));var BPromise=require('bluebird');var rp=require(_0x5d1f('0x4'));var fs=require('fs');var path=require(_0x5d1f('0x5'));var rimraf=require(_0x5d1f('0x6'));var config=require(_0x5d1f('0x7'));var attributes=require(_0x5d1f('0x8'));module[_0x5d1f('0x9')]=function(_0x2a90ef,_0x25b637){return _0x2a90ef[_0x5d1f('0xa')](_0x5d1f('0xb'),attributes,{'tableName':'tools_contact_item_types','paranoid':![],'indexes':[],'timestamps':!![]});};