9501e807219a94821623f85f3da8d7c552b49e6e
[motion2.git] / server / api / smsQueue / smsQueue.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 _0x78e6=['rimraf','../../config/environment','./smsQueue.attributes','exports','define','SmsQueue','sms_queues','util','bluebird','request-promise'];(function(_0x2601de,_0x26f80c){var _0x20aa0c=function(_0x3e4223){while(--_0x3e4223){_0x2601de['push'](_0x2601de['shift']());}};_0x20aa0c(++_0x26f80c);}(_0x78e6,0x1dd));var _0x678e=function(_0xac151d,_0x4ea1d2){_0xac151d=_0xac151d-0x0;var _0x111dba=_0x78e6[_0xac151d];return _0x111dba;};'use strict';var _=require('lodash');var util=require(_0x678e('0x0'));var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require(_0x678e('0x1'));var rp=require(_0x678e('0x2'));var fs=require('fs');var path=require('path');var rimraf=require(_0x678e('0x3'));var config=require(_0x678e('0x4'));var attributes=require(_0x678e('0x5'));module[_0x678e('0x6')]=function(_0x306883,_0x1e136f){return _0x306883[_0x678e('0x7')](_0x678e('0x8'),attributes,{'tableName':_0x678e('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};