515894a3941a2f905467c387637f6d19b333d8eb
[motion2.git] / server / api / crmActionsList / crmActionsList.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 _0xbb2a=['util','api','request-promise','path','rimraf','../../config/environment','./crmActionsList.attributes','exports','define','CrmActionsList','crm_actions_lists','lodash'];(function(_0x4b621d,_0x5dd926){var _0x32b758=function(_0x2c0d14){while(--_0x2c0d14){_0x4b621d['push'](_0x4b621d['shift']());}};_0x32b758(++_0x5dd926);}(_0xbb2a,0xa7));var _0xabb2=function(_0x1abc5f,_0x1d28da){_0x1abc5f=_0x1abc5f-0x0;var _0x57a641=_0xbb2a[_0x1abc5f];return _0x57a641;};'use strict';var _=require(_0xabb2('0x0'));var util=require(_0xabb2('0x1'));var logger=require('../../config/logger')(_0xabb2('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xabb2('0x3'));var fs=require('fs');var path=require(_0xabb2('0x4'));var rimraf=require(_0xabb2('0x5'));var config=require(_0xabb2('0x6'));var attributes=require(_0xabb2('0x7'));module[_0xabb2('0x8')]=function(_0x235cea,_0x135311){return _0x235cea[_0xabb2('0x9')](_0xabb2('0xa'),attributes,{'tableName':_0xabb2('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};