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 _0xc1ba=['utf8mb4_unicode_ci','lodash','util','../../config/logger','bluebird','request-promise','path','SmsApplication','sms_applications'];(function(_0x5dda6b,_0x460c90){var _0x40fb23=function(_0x1b9521){while(--_0x1b9521){_0x5dda6b['push'](_0x5dda6b['shift']());}};_0x40fb23(++_0x460c90);}(_0xc1ba,0x18d));var _0xac1b=function(_0x1fc395,_0x3b8d2e){_0x1fc395=_0x1fc395-0x0;var _0x3e6bb9=_0xc1ba[_0x1fc395];return _0x3e6bb9;};'use strict';var _=require(_0xac1b('0x0'));var util=require(_0xac1b('0x1'));var logger=require(_0xac1b('0x2'))('api');var moment=require('moment');var BPromise=require(_0xac1b('0x3'));var rp=require(_0xac1b('0x4'));var fs=require('fs');var path=require(_0xac1b('0x5'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require('./smsApplication.attributes');module['exports']=function(_0x160dfb,_0x497af4){return _0x160dfb['define'](_0xac1b('0x6'),attributes,{'tableName':_0xac1b('0x7'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':'utf8mb4','collate':_0xac1b('0x8')});};