Built motion from commit (unavailable).|2.5.26
[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 _0x8eb7=['exports','SmsAccount','sms_accounts','lodash','util','api','path','rimraf','./smsAccount.attributes'];(function(_0x176329,_0x568c84){var _0x31997c=function(_0x3d64df){while(--_0x3d64df){_0x176329['push'](_0x176329['shift']());}};_0x31997c(++_0x568c84);}(_0x8eb7,0x1f2));var _0x78eb=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x8eb7[_0x3dd15e];return _0x231fd0;};'use strict';var _=require(_0x78eb('0x0'));var util=require(_0x78eb('0x1'));var logger=require('../../config/logger')(_0x78eb('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x78eb('0x3'));var rimraf=require(_0x78eb('0x4'));var config=require('../../config/environment');var attributes=require(_0x78eb('0x5'));module[_0x78eb('0x6')]=function(_0x23d22e,_0x33c478){return _0x23d22e['define'](_0x78eb('0x7'),attributes,{'tableName':_0x78eb('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};