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 _0x6e70=['define','SmsQueue','sms_queues','lodash','util','../../config/logger','moment','bluebird','request-promise','exports'];(function(_0x552fce,_0x3f24bc){var _0x3e27a2=function(_0xc91154){while(--_0xc91154){_0x552fce['push'](_0x552fce['shift']());}};_0x3e27a2(++_0x3f24bc);}(_0x6e70,0x143));var _0x06e7=function(_0x346adc,_0x594fe8){_0x346adc=_0x346adc-0x0;var _0x145200=_0x6e70[_0x346adc];return _0x145200;};'use strict';var _=require(_0x06e7('0x0'));var util=require(_0x06e7('0x1'));var logger=require(_0x06e7('0x2'))('api');var moment=require(_0x06e7('0x3'));var BPromise=require(_0x06e7('0x4'));var rp=require(_0x06e7('0x5'));var attributes=require('./smsQueue.attributes');module[_0x06e7('0x6')]=function(_0x3e8a75,_0xdeefca){return _0x3e8a75[_0x06e7('0x7')](_0x06e7('0x8'),attributes,{'tableName':_0x06e7('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};