Built motion from commit (unavailable).|2.5.15
[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 _0x838e=['path','rimraf','../../config/environment','./smsAccount.attributes','exports','define','SmsAccount','lodash','util','bluebird','request-promise'];(function(_0x4c49cd,_0x1b630d){var _0x29ba71=function(_0x3df9cf){while(--_0x3df9cf){_0x4c49cd['push'](_0x4c49cd['shift']());}};_0x29ba71(++_0x1b630d);}(_0x838e,0x188));var _0xe838=function(_0x94860f,_0x110553){_0x94860f=_0x94860f-0x0;var _0x2ce3f8=_0x838e[_0x94860f];return _0x2ce3f8;};'use strict';var _=require(_0xe838('0x0'));var util=require(_0xe838('0x1'));var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require(_0xe838('0x2'));var rp=require(_0xe838('0x3'));var fs=require('fs');var path=require(_0xe838('0x4'));var rimraf=require(_0xe838('0x5'));var config=require(_0xe838('0x6'));var attributes=require(_0xe838('0x7'));module[_0xe838('0x8')]=function(_0x3ff72d,_0x12096a){return _0x3ff72d[_0xe838('0x9')](_0xe838('0xa'),attributes,{'tableName':'sms_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};