3632cf843d538bc0211bd23d529da4666cf74a4a
[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 _0xda4e=['sms_queues','lodash','util','../../config/logger','api','bluebird','request-promise','path','../../config/environment','./smsQueue.attributes','exports','define','SmsQueue'];(function(_0x5c27b6,_0x4a3c28){var _0x284ce4=function(_0x29fa20){while(--_0x29fa20){_0x5c27b6['push'](_0x5c27b6['shift']());}};_0x284ce4(++_0x4a3c28);}(_0xda4e,0xeb));var _0xeda4=function(_0x4c7568,_0x84f7f0){_0x4c7568=_0x4c7568-0x0;var _0x225a93=_0xda4e[_0x4c7568];return _0x225a93;};'use strict';var _=require(_0xeda4('0x0'));var util=require(_0xeda4('0x1'));var logger=require(_0xeda4('0x2'))(_0xeda4('0x3'));var moment=require('moment');var BPromise=require(_0xeda4('0x4'));var rp=require(_0xeda4('0x5'));var fs=require('fs');var path=require(_0xeda4('0x6'));var rimraf=require('rimraf');var config=require(_0xeda4('0x7'));var attributes=require(_0xeda4('0x8'));module[_0xeda4('0x9')]=function(_0x5d50e9,_0x58112f){return _0x5d50e9[_0xeda4('0xa')](_0xeda4('0xb'),attributes,{'tableName':_0xeda4('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};