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 _0x7ce2=['util','api','moment','request-promise','rimraf','exports','sms_accounts','lodash'];(function(_0x127ab7,_0x4823e4){var _0x510f5d=function(_0x32ff70){while(--_0x32ff70){_0x127ab7['push'](_0x127ab7['shift']());}};_0x510f5d(++_0x4823e4);}(_0x7ce2,0xa7));var _0x27ce=function(_0x23380d,_0x2b7a1c){_0x23380d=_0x23380d-0x0;var _0x3cb39f=_0x7ce2[_0x23380d];return _0x3cb39f;};'use strict';var _=require(_0x27ce('0x0'));var util=require(_0x27ce('0x1'));var logger=require('../../config/logger')(_0x27ce('0x2'));var moment=require(_0x27ce('0x3'));var BPromise=require('bluebird');var rp=require(_0x27ce('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x27ce('0x5'));var config=require('../../config/environment');var attributes=require('./smsAccount.attributes');module[_0x27ce('0x6')]=function(_0x2948a8,_0x454633){return _0x2948a8['define']('SmsAccount',attributes,{'tableName':_0x27ce('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};