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 _0xa68c=['exports','define','SmsAccount','sms_accounts','lodash','util','../../config/logger','api','request-promise','path','../../config/environment','./smsAccount.attributes'];(function(_0x162a48,_0x4b93c2){var _0x4f4721=function(_0x6261e4){while(--_0x6261e4){_0x162a48['push'](_0x162a48['shift']());}};_0x4f4721(++_0x4b93c2);}(_0xa68c,0x1a8));var _0xca68=function(_0x1facfa,_0x1acf7d){_0x1facfa=_0x1facfa-0x0;var _0x9ec701=_0xa68c[_0x1facfa];return _0x9ec701;};'use strict';var _=require(_0xca68('0x0'));var util=require(_0xca68('0x1'));var logger=require(_0xca68('0x2'))(_0xca68('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xca68('0x4'));var fs=require('fs');var path=require(_0xca68('0x5'));var rimraf=require('rimraf');var config=require(_0xca68('0x6'));var attributes=require(_0xca68('0x7'));module[_0xca68('0x8')]=function(_0x461892,_0x25fef4){return _0x461892[_0xca68('0x9')](_0xca68('0xa'),attributes,{'tableName':_0xca68('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};