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 _0x52e1=['request-promise','path','rimraf','../../config/environment','./smsApplication.attributes','exports','define','SmsApplication','sms_applications','../../config/logger','moment'];(function(_0x194cee,_0x5184f1){var _0x5954df=function(_0x41f3f1){while(--_0x41f3f1){_0x194cee['push'](_0x194cee['shift']());}};_0x5954df(++_0x5184f1);}(_0x52e1,0xb9));var _0x152e=function(_0x29975a,_0x2ca253){_0x29975a=_0x29975a-0x0;var _0x41bcac=_0x52e1[_0x29975a];return _0x41bcac;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x152e('0x0'))('api');var moment=require(_0x152e('0x1'));var BPromise=require('bluebird');var rp=require(_0x152e('0x2'));var fs=require('fs');var path=require(_0x152e('0x3'));var rimraf=require(_0x152e('0x4'));var config=require(_0x152e('0x5'));var attributes=require(_0x152e('0x6'));module[_0x152e('0x7')]=function(_0x2fb082,_0x2b3818){return _0x2fb082[_0x152e('0x8')](_0x152e('0x9'),attributes,{'tableName':_0x152e('0xa'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':'utf8mb4','collate':'utf8mb4_unicode_ci'});};