Built motion from commit da617fac.|2.6.6
[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 _0xd4de=['request-promise','path','../../config/environment','./smsApplication.attributes','exports','SmsApplication','utf8mb4','utf8mb4_unicode_ci','lodash','util','../../config/logger'];(function(_0x28bb81,_0x5e15fe){var _0x2c8102=function(_0x1c18c0){while(--_0x1c18c0){_0x28bb81['push'](_0x28bb81['shift']());}};_0x2c8102(++_0x5e15fe);}(_0xd4de,0x173));var _0xed4d=function(_0x51bde5,_0xeed681){_0x51bde5=_0x51bde5-0x0;var _0x5bee3c=_0xd4de[_0x51bde5];return _0x5bee3c;};'use strict';var _=require(_0xed4d('0x0'));var util=require(_0xed4d('0x1'));var logger=require(_0xed4d('0x2'))('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xed4d('0x3'));var fs=require('fs');var path=require(_0xed4d('0x4'));var rimraf=require('rimraf');var config=require(_0xed4d('0x5'));var attributes=require(_0xed4d('0x6'));module[_0xed4d('0x7')]=function(_0x1f42e6,_0x27594c){return _0x1f42e6['define'](_0xed4d('0x8'),attributes,{'tableName':'sms_applications','paranoid':![],'indexes':[],'timestamps':!![],'charset':_0xed4d('0x9'),'collate':_0xed4d('0xa')});};