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 _0x6ea3=['utf8mb4_unicode_ci','lodash','util','moment','path','rimraf','../../config/environment','exports','SmsApplication','sms_applications','utf8mb4'];(function(_0x266ddc,_0x45aa52){var _0x39c1d7=function(_0x4cd07c){while(--_0x4cd07c){_0x266ddc['push'](_0x266ddc['shift']());}};_0x39c1d7(++_0x45aa52);}(_0x6ea3,0x7a));var _0x36ea=function(_0x4e676e,_0x2a7c6d){_0x4e676e=_0x4e676e-0x0;var _0x336a3c=_0x6ea3[_0x4e676e];return _0x336a3c;};'use strict';var _=require(_0x36ea('0x0'));var util=require(_0x36ea('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x36ea('0x2'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x36ea('0x3'));var rimraf=require(_0x36ea('0x4'));var config=require(_0x36ea('0x5'));var attributes=require('./smsApplication.attributes');module[_0x36ea('0x6')]=function(_0x15808a,_0x2f21f6){return _0x15808a['define'](_0x36ea('0x7'),attributes,{'tableName':_0x36ea('0x8'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0x36ea('0x9'),'collate':_0x36ea('0xa')});};