b9dc645ecdeecd5b2539ae7e97b1399ac07973b5
[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 _0x914c=['api','bluebird','rimraf','./smsQueue.attributes','exports','define','SmsQueue','sms_queues','lodash','util'];(function(_0x3316ab,_0x2e8e60){var _0x2611e6=function(_0x3b83a6){while(--_0x3b83a6){_0x3316ab['push'](_0x3316ab['shift']());}};_0x2611e6(++_0x2e8e60);}(_0x914c,0x6c));var _0xc914=function(_0x1249f4,_0x27226c){_0x1249f4=_0x1249f4-0x0;var _0x47c8a9=_0x914c[_0x1249f4];return _0x47c8a9;};'use strict';var _=require(_0xc914('0x0'));var util=require(_0xc914('0x1'));var logger=require('../../config/logger')(_0xc914('0x2'));var moment=require('moment');var BPromise=require(_0xc914('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xc914('0x4'));var config=require('../../config/environment');var attributes=require(_0xc914('0x5'));module[_0xc914('0x6')]=function(_0x59425c,_0x2f8de8){return _0x59425c[_0xc914('0x7')](_0xc914('0x8'),attributes,{'tableName':_0xc914('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};