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 _0xe58b=['define','SmsAccount','util','moment','path','rimraf','../../config/environment'];(function(_0xc4001c,_0x1bf8f0){var _0x49f7bc=function(_0x1059b8){while(--_0x1059b8){_0xc4001c['push'](_0xc4001c['shift']());}};_0x49f7bc(++_0x1bf8f0);}(_0xe58b,0x1a6));var _0xbe58=function(_0x4fd804,_0x2343f3){_0x4fd804=_0x4fd804-0x0;var _0x55d45f=_0xe58b[_0x4fd804];return _0x55d45f;};'use strict';var _=require('lodash');var util=require(_0xbe58('0x0'));var logger=require('../../config/logger')('api');var moment=require(_0xbe58('0x1'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xbe58('0x2'));var rimraf=require(_0xbe58('0x3'));var config=require(_0xbe58('0x4'));var attributes=require('./smsAccount.attributes');module['exports']=function(_0x248ecb,_0x4fe5dc){return _0x248ecb[_0xbe58('0x5')](_0xbe58('0x6'),attributes,{'tableName':'sms_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};