Built motion from commit (unavailable).|2.5.22
[motion2.git] / server / api / userSmsQueue / userSmsQueue.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 _0xc58b=['./userSmsQueue.attributes','exports','define','UserSmsQueue','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x1e0126,_0x528c99){var _0x1a65c0=function(_0x29d754){while(--_0x29d754){_0x1e0126['push'](_0x1e0126['shift']());}};_0x1a65c0(++_0x528c99);}(_0xc58b,0x149));var _0xbc58=function(_0x31bc72,_0x2aef23){_0x31bc72=_0x31bc72-0x0;var _0x20cb43=_0xc58b[_0x31bc72];return _0x20cb43;};'use strict';var _=require('lodash');var util=require(_0xbc58('0x0'));var logger=require(_0xbc58('0x1'))(_0xbc58('0x2'));var moment=require(_0xbc58('0x3'));var BPromise=require(_0xbc58('0x4'));var rp=require(_0xbc58('0x5'));var fs=require('fs');var path=require(_0xbc58('0x6'));var rimraf=require(_0xbc58('0x7'));var config=require(_0xbc58('0x8'));var attributes=require(_0xbc58('0x9'));module[_0xbc58('0xa')]=function(_0x11d23f,_0x1b0959){return _0x11d23f[_0xbc58('0xb')](_0xbc58('0xc'),attributes,{'tableName':'user_has_sms_queues','paranoid':![],'indexes':[],'timestamps':!![]});};