Built motion from commit (unavailable).|2.4.15
[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 _0xe542=['define','UserSmsQueue','user_has_sms_queues','util','../../config/logger','api','request-promise','path','rimraf','./userSmsQueue.attributes','exports'];(function(_0x5e36d1,_0x471178){var _0x950b9e=function(_0x1872f3){while(--_0x1872f3){_0x5e36d1['push'](_0x5e36d1['shift']());}};_0x950b9e(++_0x471178);}(_0xe542,0x16e));var _0x2e54=function(_0x9e0b4d,_0x4b203b){_0x9e0b4d=_0x9e0b4d-0x0;var _0x136ef3=_0xe542[_0x9e0b4d];return _0x136ef3;};'use strict';var _=require('lodash');var util=require(_0x2e54('0x0'));var logger=require(_0x2e54('0x1'))(_0x2e54('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x2e54('0x3'));var fs=require('fs');var path=require(_0x2e54('0x4'));var rimraf=require(_0x2e54('0x5'));var config=require('../../config/environment');var attributes=require(_0x2e54('0x6'));module[_0x2e54('0x7')]=function(_0x4e1722,_0x550d27){return _0x4e1722[_0x2e54('0x8')](_0x2e54('0x9'),attributes,{'tableName':_0x2e54('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};