Built motion from commit (unavailable).|2.5.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 _0x15b3=['../../config/environment','./userSmsQueue.attributes','exports','define','user_has_sms_queues','lodash','util','path','rimraf'];(function(_0x575c02,_0x18e3ce){var _0x1d9fdc=function(_0xcdc813){while(--_0xcdc813){_0x575c02['push'](_0x575c02['shift']());}};_0x1d9fdc(++_0x18e3ce);}(_0x15b3,0xdd));var _0x315b=function(_0x3febc0,_0x59acc4){_0x3febc0=_0x3febc0-0x0;var _0x3a95fb=_0x15b3[_0x3febc0];return _0x3a95fb;};'use strict';var _=require(_0x315b('0x0'));var util=require(_0x315b('0x1'));var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x315b('0x2'));var rimraf=require(_0x315b('0x3'));var config=require(_0x315b('0x4'));var attributes=require(_0x315b('0x5'));module[_0x315b('0x6')]=function(_0x5405c8,_0x25e8c6){return _0x5405c8[_0x315b('0x7')]('UserSmsQueue',attributes,{'tableName':_0x315b('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};