1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0xd86b=['SmsQueue','sms_queues','lodash','../../config/logger','moment','exports','define'];(function(_0x347a1f,_0xab8013){var _0x20316c=function(_0x18be5f){while(--_0x18be5f){_0x347a1f['push'](_0x347a1f['shift']());}};_0x20316c(++_0xab8013);}(_0xd86b,0x136));var _0xbd86=function(_0x32753a,_0x313eff){_0x32753a=_0x32753a-0x0;var _0x5cc638=_0xd86b[_0x32753a];return _0x5cc638;};'use strict';var _=require(_0xbd86('0x0'));var util=require('util');var logger=require(_0xbd86('0x1'))('api');var moment=require(_0xbd86('0x2'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require('./smsQueue.attributes');module[_0xbd86('0x3')]=function(_0x3e1d8e,_0x164e70){return _0x3e1d8e[_0xbd86('0x4')](_0xbd86('0x5'),attributes,{'tableName':_0xbd86('0x6'),'paranoid':![],'indexes':[],'timestamps':!![]});};