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 _0x2bde=['exports','SmsApplication','sms_applications','utf8mb4','utf8mb4_unicode_ci','lodash','util','bluebird','request-promise','rimraf','../../config/environment','./smsApplication.attributes'];(function(_0x5c5f69,_0x4d568b){var _0x50c1bc=function(_0x1c6374){while(--_0x1c6374){_0x5c5f69['push'](_0x5c5f69['shift']());}};_0x50c1bc(++_0x4d568b);}(_0x2bde,0x19d));var _0xe2bd=function(_0x47604d,_0x15a014){_0x47604d=_0x47604d-0x0;var _0x388e4c=_0x2bde[_0x47604d];return _0x388e4c;};'use strict';var _=require(_0xe2bd('0x0'));var util=require(_0xe2bd('0x1'));var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require(_0xe2bd('0x2'));var rp=require(_0xe2bd('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0xe2bd('0x4'));var config=require(_0xe2bd('0x5'));var attributes=require(_0xe2bd('0x6'));module[_0xe2bd('0x7')]=function(_0x363903,_0x1533dc){return _0x363903['define'](_0xe2bd('0x8'),attributes,{'tableName':_0xe2bd('0x9'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0xe2bd('0xa'),'collate':_0xe2bd('0xb')});};