Built motion from commit (unavailable).|2.5.25
[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 _0x506f=['sms_accounts','lodash','util','../../config/logger','api','moment','request-promise','../../config/environment','exports','define'];(function(_0x1496d5,_0x346ed5){var _0x3555ba=function(_0xa5e58c){while(--_0xa5e58c){_0x1496d5['push'](_0x1496d5['shift']());}};_0x3555ba(++_0x346ed5);}(_0x506f,0x123));var _0xf506=function(_0x400dc4,_0x1f830a){_0x400dc4=_0x400dc4-0x0;var _0x684b59=_0x506f[_0x400dc4];return _0x684b59;};'use strict';var _=require(_0xf506('0x0'));var util=require(_0xf506('0x1'));var logger=require(_0xf506('0x2'))(_0xf506('0x3'));var moment=require(_0xf506('0x4'));var BPromise=require('bluebird');var rp=require(_0xf506('0x5'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0xf506('0x6'));var attributes=require('./smsAccount.attributes');module[_0xf506('0x7')]=function(_0x55ecc5,_0x2c044b){return _0x55ecc5[_0xf506('0x8')]('SmsAccount',attributes,{'tableName':_0xf506('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};