Built motion from commit 85328c08.|2.5.50
[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 _0xaefd=['request-promise','./smsAccount.attributes','exports','define','sms_accounts','util','api','moment','bluebird'];(function(_0x84bb24,_0x1e8e35){var _0x40f5aa=function(_0x586c8c){while(--_0x586c8c){_0x84bb24['push'](_0x84bb24['shift']());}};_0x40f5aa(++_0x1e8e35);}(_0xaefd,0xa7));var _0xdaef=function(_0x5b604f,_0x1e5a25){_0x5b604f=_0x5b604f-0x0;var _0x33df77=_0xaefd[_0x5b604f];return _0x33df77;};'use strict';var _=require('lodash');var util=require(_0xdaef('0x0'));var logger=require('../../config/logger')(_0xdaef('0x1'));var moment=require(_0xdaef('0x2'));var BPromise=require(_0xdaef('0x3'));var rp=require(_0xdaef('0x4'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xdaef('0x5'));module[_0xdaef('0x6')]=function(_0x1aee9a,_0x15a4b1){return _0x1aee9a[_0xdaef('0x7')]('SmsAccount',attributes,{'tableName':_0xdaef('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};