a36161429f8eca562f186d0b60bdf628754b8e1f
[motion2.git] / server / api / smsApplication / smsApplication.model.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xc95d=['../../config/environment','./smsApplication.attributes','exports','define','SmsApplication','sms_applications','utf8mb4','utf8mb4_unicode_ci','lodash','../../config/logger','api','moment','bluebird','request-promise','path','rimraf'];(function(_0x51f34d,_0x5847ca){var _0x2a747e=function(_0x439ed6){while(--_0x439ed6){_0x51f34d['push'](_0x51f34d['shift']());}};_0x2a747e(++_0x5847ca);}(_0xc95d,0xd8));var _0xdc95=function(_0x47695c,_0x34d59b){_0x47695c=_0x47695c-0x0;var _0x218087=_0xc95d[_0x47695c];return _0x218087;};'use strict';var _=require(_0xdc95('0x0'));var util=require('util');var logger=require(_0xdc95('0x1'))(_0xdc95('0x2'));var moment=require(_0xdc95('0x3'));var BPromise=require(_0xdc95('0x4'));var rp=require(_0xdc95('0x5'));var fs=require('fs');var path=require(_0xdc95('0x6'));var rimraf=require(_0xdc95('0x7'));var config=require(_0xdc95('0x8'));var attributes=require(_0xdc95('0x9'));module[_0xdc95('0xa')]=function(_0x2c2fa4,_0x1698c5){return _0x2c2fa4[_0xdc95('0xb')](_0xdc95('0xc'),attributes,{'tableName':_0xdc95('0xd'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0xdc95('0xe'),'collate':_0xdc95('0xf')});};