1a76814c3da53bc02814de38aceaf43bb98f60aa
[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 _0x6ea7=['SmsApplication','sms_applications','utf8mb4','utf8mb4_unicode_ci','util','../../config/logger','api','path','rimraf','../../config/environment','./smsApplication.attributes','exports','define'];(function(_0x4d659b,_0x2e1167){var _0x142fc4=function(_0x41966c){while(--_0x41966c){_0x4d659b['push'](_0x4d659b['shift']());}};_0x142fc4(++_0x2e1167);}(_0x6ea7,0x163));var _0x76ea=function(_0x4b7895,_0x3c4f5d){_0x4b7895=_0x4b7895-0x0;var _0x264180=_0x6ea7[_0x4b7895];return _0x264180;};'use strict';var _=require('lodash');var util=require(_0x76ea('0x0'));var logger=require(_0x76ea('0x1'))(_0x76ea('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x76ea('0x3'));var rimraf=require(_0x76ea('0x4'));var config=require(_0x76ea('0x5'));var attributes=require(_0x76ea('0x6'));module[_0x76ea('0x7')]=function(_0x466dfb,_0x1a9f14){return _0x466dfb[_0x76ea('0x8')](_0x76ea('0x9'),attributes,{'tableName':_0x76ea('0xa'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0x76ea('0xb'),'collate':_0x76ea('0xc')});};