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 _0xae44=['UserSmsQueue','user_has_sms_queues','lodash','util','../../config/logger','moment','request-promise','path','rimraf','exports'];(function(_0x49a89e,_0x3a9a3a){var _0x418126=function(_0x4bc93b){while(--_0x4bc93b){_0x49a89e['push'](_0x49a89e['shift']());}};_0x418126(++_0x3a9a3a);}(_0xae44,0xe8));var _0x4ae4=function(_0x410612,_0x551c48){_0x410612=_0x410612-0x0;var _0xbfa860=_0xae44[_0x410612];return _0xbfa860;};'use strict';var _=require(_0x4ae4('0x0'));var util=require(_0x4ae4('0x1'));var logger=require(_0x4ae4('0x2'))('api');var moment=require(_0x4ae4('0x3'));var BPromise=require('bluebird');var rp=require(_0x4ae4('0x4'));var fs=require('fs');var path=require(_0x4ae4('0x5'));var rimraf=require(_0x4ae4('0x6'));var config=require('../../config/environment');var attributes=require('./userSmsQueue.attributes');module[_0x4ae4('0x7')]=function(_0x13761e,_0x3315df){return _0x13761e['define'](_0x4ae4('0x8'),attributes,{'tableName':_0x4ae4('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};