6dbacf0d3109a01f8c25df327766046428ea756d
[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 _0x2642=['moment','bluebird','request-promise','path','../../config/environment','./smsAccount.attributes','exports','define','SmsAccount','lodash','util','../../config/logger','api'];(function(_0x197185,_0x251145){var _0x2c8af1=function(_0x1dbcfd){while(--_0x1dbcfd){_0x197185['push'](_0x197185['shift']());}};_0x2c8af1(++_0x251145);}(_0x2642,0x15b));var _0x2264=function(_0x3947c9,_0x4d6c97){_0x3947c9=_0x3947c9-0x0;var _0x2e7871=_0x2642[_0x3947c9];return _0x2e7871;};'use strict';var _=require(_0x2264('0x0'));var util=require(_0x2264('0x1'));var logger=require(_0x2264('0x2'))(_0x2264('0x3'));var moment=require(_0x2264('0x4'));var BPromise=require(_0x2264('0x5'));var rp=require(_0x2264('0x6'));var fs=require('fs');var path=require(_0x2264('0x7'));var rimraf=require('rimraf');var config=require(_0x2264('0x8'));var attributes=require(_0x2264('0x9'));module[_0x2264('0xa')]=function(_0x4d48b7,_0x1b5f55){return _0x4d48b7[_0x2264('0xb')](_0x2264('0xc'),attributes,{'tableName':'sms_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};