c1e8400ee519a659c12820d74a0df908ef6c55d9
[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 _0x635f=['define','CmList','cm_lists','lodash','util','../../config/logger','api','bluebird','path','rimraf','../../config/environment','exports'];(function(_0x1bb1e0,_0x4a62c0){var _0x174693=function(_0x369803){while(--_0x369803){_0x1bb1e0['push'](_0x1bb1e0['shift']());}};_0x174693(++_0x4a62c0);}(_0x635f,0x19b));var _0xf635=function(_0x3ee105,_0x1a0955){_0x3ee105=_0x3ee105-0x0;var _0xe39aad=_0x635f[_0x3ee105];return _0xe39aad;};'use strict';var _=require(_0xf635('0x0'));var util=require(_0xf635('0x1'));var logger=require(_0xf635('0x2'))(_0xf635('0x3'));var moment=require('moment');var BPromise=require(_0xf635('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xf635('0x5'));var rimraf=require(_0xf635('0x6'));var config=require(_0xf635('0x7'));var attributes=require('./cmList.attributes');module[_0xf635('0x8')]=function(_0x196a4a,_0x50507b){return _0x196a4a[_0xf635('0x9')](_0xf635('0xa'),attributes,{'tableName':_0xf635('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};