8ac4756e471a6df4df910dbcd82def0e768af7d6
[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 _0x452a=['./smsApplication.attributes','exports','utf8mb4','util','../../config/logger','api','bluebird','request-promise','rimraf','../../config/environment'];(function(_0xbda3d,_0x23a96d){var _0x1600f4=function(_0x52ca63){while(--_0x52ca63){_0xbda3d['push'](_0xbda3d['shift']());}};_0x1600f4(++_0x23a96d);}(_0x452a,0x7b));var _0xa452=function(_0x220dbb,_0x99328d){_0x220dbb=_0x220dbb-0x0;var _0x2b77de=_0x452a[_0x220dbb];return _0x2b77de;};'use strict';var _=require('lodash');var util=require(_0xa452('0x0'));var logger=require(_0xa452('0x1'))(_0xa452('0x2'));var moment=require('moment');var BPromise=require(_0xa452('0x3'));var rp=require(_0xa452('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xa452('0x5'));var config=require(_0xa452('0x6'));var attributes=require(_0xa452('0x7'));module[_0xa452('0x8')]=function(_0x326e05,_0x11c18b){return _0x326e05['define']('SmsApplication',attributes,{'tableName':'sms_applications','paranoid':![],'indexes':[],'timestamps':!![],'charset':_0xa452('0x9'),'collate':'utf8mb4_unicode_ci'});};