11e5da7e0939497c0aad21e2e71dfda315af398b
[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 _0x5a84=['define','ContactItemType','tools_contact_item_types','../../config/logger','api','moment','path'];(function(_0x115795,_0x3dc6b8){var _0x26e31a=function(_0x2ed21d){while(--_0x2ed21d){_0x115795['push'](_0x115795['shift']());}};_0x26e31a(++_0x3dc6b8);}(_0x5a84,0x1ed));var _0x45a8=function(_0x276623,_0x4fa861){_0x276623=_0x276623-0x0;var _0xe2706e=_0x5a84[_0x276623];return _0xe2706e;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x45a8('0x0'))(_0x45a8('0x1'));var moment=require(_0x45a8('0x2'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x45a8('0x3'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require('./contactItemType.attributes');module['exports']=function(_0x2ec25f,_0x4f04b0){return _0x2ec25f[_0x45a8('0x4')](_0x45a8('0x5'),attributes,{'tableName':_0x45a8('0x6'),'paranoid':![],'indexes':[],'timestamps':!![]});};