a40b5ccd2b0fe39c1b80637a405c117c8f82a154
[motion2.git] / server / api / cmList / cmList.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 _0xff74=['./cmList.attributes','exports','define','cm_lists','../../config/logger','api','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x749c41,_0x814a97){var _0x193046=function(_0x5ba05c){while(--_0x5ba05c){_0x749c41['push'](_0x749c41['shift']());}};_0x193046(++_0x814a97);}(_0xff74,0xa9));var _0x4ff7=function(_0x194cb5,_0x479e8a){_0x194cb5=_0x194cb5-0x0;var _0x55db4b=_0xff74[_0x194cb5];return _0x55db4b;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x4ff7('0x0'))(_0x4ff7('0x1'));var moment=require('moment');var BPromise=require(_0x4ff7('0x2'));var rp=require(_0x4ff7('0x3'));var fs=require('fs');var path=require(_0x4ff7('0x4'));var rimraf=require(_0x4ff7('0x5'));var config=require(_0x4ff7('0x6'));var attributes=require(_0x4ff7('0x7'));module[_0x4ff7('0x8')]=function(_0x1fc455,_0xb7d62d){return _0x1fc455[_0x4ff7('0x9')]('CmList',attributes,{'tableName':_0x4ff7('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};