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 _0xc8e9=['exports','define','SmsApplication','sms_applications','utf8mb4','utf8mb4_unicode_ci','util','../../config/logger','api','request-promise','path','rimraf','../../config/environment'];(function(_0x50f3b6,_0x56a9b5){var _0x59a9cc=function(_0x5cfef6){while(--_0x5cfef6){_0x50f3b6['push'](_0x50f3b6['shift']());}};_0x59a9cc(++_0x56a9b5);}(_0xc8e9,0x1f4));var _0x9c8e=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xc8e9[_0x3dd15e];return _0x231fd0;};'use strict';var _=require('lodash');var util=require(_0x9c8e('0x0'));var logger=require(_0x9c8e('0x1'))(_0x9c8e('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x9c8e('0x3'));var fs=require('fs');var path=require(_0x9c8e('0x4'));var rimraf=require(_0x9c8e('0x5'));var config=require(_0x9c8e('0x6'));var attributes=require('./smsApplication.attributes');module[_0x9c8e('0x7')]=function(_0x38c013,_0x241bea){return _0x38c013[_0x9c8e('0x8')](_0x9c8e('0x9'),attributes,{'tableName':_0x9c8e('0xa'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0x9c8e('0xb'),'collate':_0x9c8e('0xc')});};