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 _0x554b=['request-promise','../../config/environment','exports','SmsAccount','util','../../config/logger','api','bluebird'];(function(_0xda3a09,_0x388a33){var _0xaa722e=function(_0x53e6db){while(--_0x53e6db){_0xda3a09['push'](_0xda3a09['shift']());}};_0xaa722e(++_0x388a33);}(_0x554b,0xb4));var _0xb554=function(_0x2ff238,_0x1811d2){_0x2ff238=_0x2ff238-0x0;var _0x204a56=_0x554b[_0x2ff238];return _0x204a56;};'use strict';var _=require('lodash');var util=require(_0xb554('0x0'));var logger=require(_0xb554('0x1'))(_0xb554('0x2'));var moment=require('moment');var BPromise=require(_0xb554('0x3'));var rp=require(_0xb554('0x4'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0xb554('0x5'));var attributes=require('./smsAccount.attributes');module[_0xb554('0x6')]=function(_0x5e5aa8,_0x23a0b0){return _0x5e5aa8['define'](_0xb554('0x7'),attributes,{'tableName':'sms_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};