Built motion from commit (unavailable).|2.4.19
[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 _0x51e0=['rimraf','../../config/environment','UserSmsQueue','user_has_sms_queues','lodash','util','../../config/logger','bluebird','request-promise'];(function(_0x2ca2db,_0x2014eb){var _0x5ceed9=function(_0x57552e){while(--_0x57552e){_0x2ca2db['push'](_0x2ca2db['shift']());}};_0x5ceed9(++_0x2014eb);}(_0x51e0,0x1b4));var _0x051e=function(_0x6eb9aa,_0x52b8b4){_0x6eb9aa=_0x6eb9aa-0x0;var _0x50413d=_0x51e0[_0x6eb9aa];return _0x50413d;};'use strict';var _=require(_0x051e('0x0'));var util=require(_0x051e('0x1'));var logger=require(_0x051e('0x2'))('api');var moment=require('moment');var BPromise=require(_0x051e('0x3'));var rp=require(_0x051e('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x051e('0x5'));var config=require(_0x051e('0x6'));var attributes=require('./userSmsQueue.attributes');module['exports']=function(_0x20214f,_0x43406c){return _0x20214f['define'](_0x051e('0x7'),attributes,{'tableName':_0x051e('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};