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 _0xa88e=['path','rimraf','./contactItemType.attributes','exports','tools_contact_item_types','lodash','../../config/logger','api','moment','bluebird','request-promise'];(function(_0x2e76a7,_0x23871a){var _0x454cde=function(_0x51724d){while(--_0x51724d){_0x2e76a7['push'](_0x2e76a7['shift']());}};_0x454cde(++_0x23871a);}(_0xa88e,0x1bd));var _0xea88=function(_0x431dca,_0x4c1359){_0x431dca=_0x431dca-0x0;var _0x40f13d=_0xa88e[_0x431dca];return _0x40f13d;};'use strict';var _=require(_0xea88('0x0'));var util=require('util');var logger=require(_0xea88('0x1'))(_0xea88('0x2'));var moment=require(_0xea88('0x3'));var BPromise=require(_0xea88('0x4'));var rp=require(_0xea88('0x5'));var fs=require('fs');var path=require(_0xea88('0x6'));var rimraf=require(_0xea88('0x7'));var config=require('../../config/environment');var attributes=require(_0xea88('0x8'));module[_0xea88('0x9')]=function(_0xf4416c,_0x35de82){return _0xf4416c['define']('ContactItemType',attributes,{'tableName':_0xea88('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};