Built motion from commit (unavailable).|2.5.14
[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 _0x29c3=['sms_applications','utf8mb4','utf8mb4_unicode_ci','../../config/logger','api','moment','path','rimraf','../../config/environment','exports','define','SmsApplication'];(function(_0x424939,_0x1d73ac){var _0x205af5=function(_0x31ecf4){while(--_0x31ecf4){_0x424939['push'](_0x424939['shift']());}};_0x205af5(++_0x1d73ac);}(_0x29c3,0x1cb));var _0x329c=function(_0x2cbd0a,_0x2e3f2a){_0x2cbd0a=_0x2cbd0a-0x0;var _0x223ac9=_0x29c3[_0x2cbd0a];return _0x223ac9;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x329c('0x0'))(_0x329c('0x1'));var moment=require(_0x329c('0x2'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x329c('0x3'));var rimraf=require(_0x329c('0x4'));var config=require(_0x329c('0x5'));var attributes=require('./smsApplication.attributes');module[_0x329c('0x6')]=function(_0x23762f,_0x43a518){return _0x23762f[_0x329c('0x7')](_0x329c('0x8'),attributes,{'tableName':_0x329c('0x9'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0x329c('0xa'),'collate':_0x329c('0xb')});};