ed89b9594f4c7eee2b07b3dbbb266b039b6455ba
[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 _0x4d9e=['path','../../config/environment','./contactItemType.attributes','exports','define','ContactItemType','tools_contact_item_types','util','../../config/logger','api','moment','request-promise'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x4d9e,0xf7));var _0xe4d9=function(_0x328174,_0x11e9f8){_0x328174=_0x328174-0x0;var _0x414e0d=_0x4d9e[_0x328174];return _0x414e0d;};'use strict';var _=require('lodash');var util=require(_0xe4d9('0x0'));var logger=require(_0xe4d9('0x1'))(_0xe4d9('0x2'));var moment=require(_0xe4d9('0x3'));var BPromise=require('bluebird');var rp=require(_0xe4d9('0x4'));var fs=require('fs');var path=require(_0xe4d9('0x5'));var rimraf=require('rimraf');var config=require(_0xe4d9('0x6'));var attributes=require(_0xe4d9('0x7'));module[_0xe4d9('0x8')]=function(_0xd1773b,_0x4263ad){return _0xd1773b[_0xe4d9('0x9')](_0xe4d9('0xa'),attributes,{'tableName':_0xe4d9('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};