b45c3964d2c3c9842c6e13ada57fac0b9985180d
[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 _0xeb95=['SmsAccount','util','request-promise','rimraf','../../config/environment','./smsAccount.attributes'];(function(_0x178e48,_0x3c9509){var _0x440d7e=function(_0xc2f8a0){while(--_0xc2f8a0){_0x178e48['push'](_0x178e48['shift']());}};_0x440d7e(++_0x3c9509);}(_0xeb95,0xdf));var _0x5eb9=function(_0xab9738,_0x213272){_0xab9738=_0xab9738-0x0;var _0x4ca53c=_0xeb95[_0xab9738];return _0x4ca53c;};'use strict';var _=require('lodash');var util=require(_0x5eb9('0x0'));var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x5eb9('0x1'));var fs=require('fs');var path=require('path');var rimraf=require(_0x5eb9('0x2'));var config=require(_0x5eb9('0x3'));var attributes=require(_0x5eb9('0x4'));module['exports']=function(_0x199efa,_0x425060){return _0x199efa['define'](_0x5eb9('0x5'),attributes,{'tableName':'sms_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};