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 _0x68bb=['lodash','moment','bluebird','path','../../config/environment','./smsAccount.attributes','exports','define','SmsAccount','sms_accounts'];(function(_0x1cb18a,_0x33167a){var _0x22442e=function(_0x46c611){while(--_0x46c611){_0x1cb18a['push'](_0x1cb18a['shift']());}};_0x22442e(++_0x33167a);}(_0x68bb,0x1d6));var _0xb68b=function(_0x4bd99c,_0xce288a){_0x4bd99c=_0x4bd99c-0x0;var _0x24ad64=_0x68bb[_0x4bd99c];return _0x24ad64;};'use strict';var _=require(_0xb68b('0x0'));var util=require('util');var logger=require('../../config/logger')('api');var moment=require(_0xb68b('0x1'));var BPromise=require(_0xb68b('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xb68b('0x3'));var rimraf=require('rimraf');var config=require(_0xb68b('0x4'));var attributes=require(_0xb68b('0x5'));module[_0xb68b('0x6')]=function(_0x1c1824,_0x1f61e7){return _0x1c1824[_0xb68b('0x7')](_0xb68b('0x8'),attributes,{'tableName':_0xb68b('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};