Built motion from commit c116dc8b.|2.6.30
[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 _0x94ff=['../../config/environment','./contactItemType.attributes','define','ContactItemType','tools_contact_item_types','lodash','util','api','moment','path','rimraf'];(function(_0x11c928,_0x3e047f){var _0x5dda47=function(_0x24378c){while(--_0x24378c){_0x11c928['push'](_0x11c928['shift']());}};_0x5dda47(++_0x3e047f);}(_0x94ff,0xd6));var _0xf94f=function(_0xa449a4,_0xc6c91f){_0xa449a4=_0xa449a4-0x0;var _0x2e1458=_0x94ff[_0xa449a4];return _0x2e1458;};'use strict';var _=require(_0xf94f('0x0'));var util=require(_0xf94f('0x1'));var logger=require('../../config/logger')(_0xf94f('0x2'));var moment=require(_0xf94f('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xf94f('0x4'));var rimraf=require(_0xf94f('0x5'));var config=require(_0xf94f('0x6'));var attributes=require(_0xf94f('0x7'));module['exports']=function(_0x3eb829,_0xd86ad5){return _0x3eb829[_0xf94f('0x8')](_0xf94f('0x9'),attributes,{'tableName':_0xf94f('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};