d17ecf6c22b87e05e127f039c3643d73436e44d6
[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 _0xbc61=['util','../../config/logger','api','moment','request-promise','path','rimraf','./smsApplication.attributes','exports','SmsApplication','sms_applications','utf8mb4','utf8mb4_unicode_ci','lodash'];(function(_0x4e00bd,_0x49a06d){var _0x3fb3ea=function(_0x4f34a2){while(--_0x4f34a2){_0x4e00bd['push'](_0x4e00bd['shift']());}};_0x3fb3ea(++_0x49a06d);}(_0xbc61,0x1b1));var _0x1bc6=function(_0x249b34,_0x55321e){_0x249b34=_0x249b34-0x0;var _0x12fe13=_0xbc61[_0x249b34];return _0x12fe13;};'use strict';var _=require(_0x1bc6('0x0'));var util=require(_0x1bc6('0x1'));var logger=require(_0x1bc6('0x2'))(_0x1bc6('0x3'));var moment=require(_0x1bc6('0x4'));var BPromise=require('bluebird');var rp=require(_0x1bc6('0x5'));var fs=require('fs');var path=require(_0x1bc6('0x6'));var rimraf=require(_0x1bc6('0x7'));var config=require('../../config/environment');var attributes=require(_0x1bc6('0x8'));module[_0x1bc6('0x9')]=function(_0x31f018,_0x3e7dd4){return _0x31f018['define'](_0x1bc6('0xa'),attributes,{'tableName':_0x1bc6('0xb'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0x1bc6('0xc'),'collate':_0x1bc6('0xd')});};