d9994fdcc5a356535ff1ea316d17e6027034f1d5
[motion2.git] / server / api / smsAccount / smsAccount.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 _0x2c2f=['../../config/environment','exports','SmsAccount','sms_accounts','lodash','util','../../config/logger','api','moment','request-promise','path','rimraf'];(function(_0x4a2b3c,_0xc69f59){var _0x4b081b=function(_0x3dfcb1){while(--_0x3dfcb1){_0x4a2b3c['push'](_0x4a2b3c['shift']());}};_0x4b081b(++_0xc69f59);}(_0x2c2f,0xdc));var _0xf2c2=function(_0x17dee4,_0x569c71){_0x17dee4=_0x17dee4-0x0;var _0xfa0f08=_0x2c2f[_0x17dee4];return _0xfa0f08;};'use strict';var _=require(_0xf2c2('0x0'));var util=require(_0xf2c2('0x1'));var logger=require(_0xf2c2('0x2'))(_0xf2c2('0x3'));var moment=require(_0xf2c2('0x4'));var BPromise=require('bluebird');var rp=require(_0xf2c2('0x5'));var fs=require('fs');var path=require(_0xf2c2('0x6'));var rimraf=require(_0xf2c2('0x7'));var config=require(_0xf2c2('0x8'));var attributes=require('./smsAccount.attributes');module[_0xf2c2('0x9')]=function(_0x3adbbc,_0x4de742){return _0x3adbbc['define'](_0xf2c2('0xa'),attributes,{'tableName':_0xf2c2('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};