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 _0x43f7=['sms_applications','utf8mb4_unicode_ci','lodash','util','../../config/logger','request-promise','path','rimraf','exports','SmsApplication'];(function(_0xdd2bfa,_0x5bd304){var _0x55397e=function(_0x196f7d){while(--_0x196f7d){_0xdd2bfa['push'](_0xdd2bfa['shift']());}};_0x55397e(++_0x5bd304);}(_0x43f7,0x8e));var _0x743f=function(_0x1955c4,_0x22488a){_0x1955c4=_0x1955c4-0x0;var _0x128ca9=_0x43f7[_0x1955c4];return _0x128ca9;};'use strict';var _=require(_0x743f('0x0'));var util=require(_0x743f('0x1'));var logger=require(_0x743f('0x2'))('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x743f('0x3'));var fs=require('fs');var path=require(_0x743f('0x4'));var rimraf=require(_0x743f('0x5'));var config=require('../../config/environment');var attributes=require('./smsApplication.attributes');module[_0x743f('0x6')]=function(_0x2b9a1f,_0x448a03){return _0x2b9a1f['define'](_0x743f('0x7'),attributes,{'tableName':_0x743f('0x8'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':'utf8mb4','collate':_0x743f('0x9')});};