Built motion from commit 1fa89557.|2.6.10
[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 _0x8b3d=['api','moment','bluebird','rimraf','../../config/environment','./smsApplication.attributes','define','SmsApplication','sms_applications','utf8mb4','utf8mb4_unicode_ci','util'];(function(_0x3df856,_0x5e44e4){var _0x148c59=function(_0x1933aa){while(--_0x1933aa){_0x3df856['push'](_0x3df856['shift']());}};_0x148c59(++_0x5e44e4);}(_0x8b3d,0xb3));var _0xd8b3=function(_0x594fa4,_0x18ad92){_0x594fa4=_0x594fa4-0x0;var _0x42745a=_0x8b3d[_0x594fa4];return _0x42745a;};'use strict';var _=require('lodash');var util=require(_0xd8b3('0x0'));var logger=require('../../config/logger')(_0xd8b3('0x1'));var moment=require(_0xd8b3('0x2'));var BPromise=require(_0xd8b3('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xd8b3('0x4'));var config=require(_0xd8b3('0x5'));var attributes=require(_0xd8b3('0x6'));module['exports']=function(_0x4267eb,_0x474541){return _0x4267eb[_0xd8b3('0x7')](_0xd8b3('0x8'),attributes,{'tableName':_0xd8b3('0x9'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0xd8b3('0xa'),'collate':_0xd8b3('0xb')});};