8a9a65e6ede32a252658f7cf3cbd0f7c5481c7a5
[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 _0x88f8=['path','../../config/environment','./smsAccount.attributes','exports','define','sms_accounts','lodash','util','../../config/logger','api','moment','bluebird','request-promise'];(function(_0x33bd5e,_0x1364ad){var _0x5148e=function(_0x527a01){while(--_0x527a01){_0x33bd5e['push'](_0x33bd5e['shift']());}};_0x5148e(++_0x1364ad);}(_0x88f8,0x158));var _0x888f=function(_0x40b3cc,_0x2d77f9){_0x40b3cc=_0x40b3cc-0x0;var _0x595ace=_0x88f8[_0x40b3cc];return _0x595ace;};'use strict';var _=require(_0x888f('0x0'));var util=require(_0x888f('0x1'));var logger=require(_0x888f('0x2'))(_0x888f('0x3'));var moment=require(_0x888f('0x4'));var BPromise=require(_0x888f('0x5'));var rp=require(_0x888f('0x6'));var fs=require('fs');var path=require(_0x888f('0x7'));var rimraf=require('rimraf');var config=require(_0x888f('0x8'));var attributes=require(_0x888f('0x9'));module[_0x888f('0xa')]=function(_0x5a42ae,_0x1efdb3){return _0x5a42ae[_0x888f('0xb')]('SmsAccount',attributes,{'tableName':_0x888f('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};