Built motion from commit 47436d59.|2.6.7
[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 _0xcd70=['../../config/environment','./smsAccount.attributes','exports','sms_accounts','lodash','api','moment','bluebird','request-promise','path','rimraf'];(function(_0x793bd9,_0x4654b0){var _0x31be35=function(_0x4d5d78){while(--_0x4d5d78){_0x793bd9['push'](_0x793bd9['shift']());}};_0x31be35(++_0x4654b0);}(_0xcd70,0x143));var _0x0cd7=function(_0x42db0f,_0x5c600f){_0x42db0f=_0x42db0f-0x0;var _0x338886=_0xcd70[_0x42db0f];return _0x338886;};'use strict';var _=require(_0x0cd7('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x0cd7('0x1'));var moment=require(_0x0cd7('0x2'));var BPromise=require(_0x0cd7('0x3'));var rp=require(_0x0cd7('0x4'));var fs=require('fs');var path=require(_0x0cd7('0x5'));var rimraf=require(_0x0cd7('0x6'));var config=require(_0x0cd7('0x7'));var attributes=require(_0x0cd7('0x8'));module[_0x0cd7('0x9')]=function(_0x4f49fa,_0x19e700){return _0x4f49fa['define']('SmsAccount',attributes,{'tableName':_0x0cd7('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};