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 _0xac0c=['rimraf','exports','define','SmsAccount','sms_accounts','util','moment','bluebird','request-promise'];(function(_0x47e102,_0x1c9448){var _0x62da49=function(_0x2d34b8){while(--_0x2d34b8){_0x47e102['push'](_0x47e102['shift']());}};_0x62da49(++_0x1c9448);}(_0xac0c,0xd4));var _0xcac0=function(_0x2c6074,_0x29a401){_0x2c6074=_0x2c6074-0x0;var _0x8cdb5f=_0xac0c[_0x2c6074];return _0x8cdb5f;};'use strict';var _=require('lodash');var util=require(_0xcac0('0x0'));var logger=require('../../config/logger')('api');var moment=require(_0xcac0('0x1'));var BPromise=require(_0xcac0('0x2'));var rp=require(_0xcac0('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0xcac0('0x4'));var config=require('../../config/environment');var attributes=require('./smsAccount.attributes');module[_0xcac0('0x5')]=function(_0x1c5103,_0x25ab60){return _0x1c5103[_0xcac0('0x6')](_0xcac0('0x7'),attributes,{'tableName':_0xcac0('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};