Built motion from commit 994c64e1.|2.6.1
[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 _0xe4a5=['moment','bluebird','path','rimraf','../../config/environment','./smsApplication.attributes','exports','SmsApplication','sms_applications','utf8mb4','lodash','util','../../config/logger','api'];(function(_0x36d20f,_0x133196){var _0x324a71=function(_0x2153b3){while(--_0x2153b3){_0x36d20f['push'](_0x36d20f['shift']());}};_0x324a71(++_0x133196);}(_0xe4a5,0xea));var _0x5e4a=function(_0x502953,_0x28de83){_0x502953=_0x502953-0x0;var _0x2fa32d=_0xe4a5[_0x502953];return _0x2fa32d;};'use strict';var _=require(_0x5e4a('0x0'));var util=require(_0x5e4a('0x1'));var logger=require(_0x5e4a('0x2'))(_0x5e4a('0x3'));var moment=require(_0x5e4a('0x4'));var BPromise=require(_0x5e4a('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x5e4a('0x6'));var rimraf=require(_0x5e4a('0x7'));var config=require(_0x5e4a('0x8'));var attributes=require(_0x5e4a('0x9'));module[_0x5e4a('0xa')]=function(_0x134ce2,_0x3074a9){return _0x134ce2['define'](_0x5e4a('0xb'),attributes,{'tableName':_0x5e4a('0xc'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0x5e4a('0xd'),'collate':'utf8mb4_unicode_ci'});};