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 _0xff25=['util','../../config/logger','path','rimraf','../../config/environment','./smsApplication.attributes','define','SmsApplication','sms_applications'];(function(_0x2ec3d1,_0x2d82b2){var _0x2551e2=function(_0x5a638b){while(--_0x5a638b){_0x2ec3d1['push'](_0x2ec3d1['shift']());}};_0x2551e2(++_0x2d82b2);}(_0xff25,0x195));var _0x5ff2=function(_0xe82684,_0x342a90){_0xe82684=_0xe82684-0x0;var _0x455b2b=_0xff25[_0xe82684];return _0x455b2b;};'use strict';var _=require('lodash');var util=require(_0x5ff2('0x0'));var logger=require(_0x5ff2('0x1'))('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x5ff2('0x2'));var rimraf=require(_0x5ff2('0x3'));var config=require(_0x5ff2('0x4'));var attributes=require(_0x5ff2('0x5'));module['exports']=function(_0x10a4ce,_0x41a731){return _0x10a4ce[_0x5ff2('0x6')](_0x5ff2('0x7'),attributes,{'tableName':_0x5ff2('0x8'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':'utf8mb4','collate':'utf8mb4_unicode_ci'});};