75cd558e3960a067e70b29306a6d574b7b9ce0ad
[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 _0x85c1=['api','moment','bluebird','path','rimraf','../../config/environment','./smsAccount.attributes','lodash','util','../../config/logger'];(function(_0x58fa5b,_0x93f1c8){var _0x2edf3f=function(_0x46ee8f){while(--_0x46ee8f){_0x58fa5b['push'](_0x58fa5b['shift']());}};_0x2edf3f(++_0x93f1c8);}(_0x85c1,0x1ab));var _0x185c=function(_0x2459fd,_0x575d9b){_0x2459fd=_0x2459fd-0x0;var _0x364cd2=_0x85c1[_0x2459fd];return _0x364cd2;};'use strict';var _=require(_0x185c('0x0'));var util=require(_0x185c('0x1'));var logger=require(_0x185c('0x2'))(_0x185c('0x3'));var moment=require(_0x185c('0x4'));var BPromise=require(_0x185c('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x185c('0x6'));var rimraf=require(_0x185c('0x7'));var config=require(_0x185c('0x8'));var attributes=require(_0x185c('0x9'));module['exports']=function(_0x3e0020,_0x3fc08f){return _0x3e0020['define']('SmsAccount',attributes,{'tableName':'sms_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};