33b42bae3ab3be0f64277cf3f627d30248c39c5a
[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 _0x4eb8=['request-promise','path','rimraf','../../config/environment','./smsAccount.attributes','exports','SmsAccount','sms_accounts','lodash','util','../../config/logger','api','bluebird'];(function(_0x2b8c2f,_0x26343d){var _0x2b23ab=function(_0x57015a){while(--_0x57015a){_0x2b8c2f['push'](_0x2b8c2f['shift']());}};_0x2b23ab(++_0x26343d);}(_0x4eb8,0x1b5));var _0x84eb=function(_0xc48869,_0x56b37b){_0xc48869=_0xc48869-0x0;var _0x1f5dca=_0x4eb8[_0xc48869];return _0x1f5dca;};'use strict';var _=require(_0x84eb('0x0'));var util=require(_0x84eb('0x1'));var logger=require(_0x84eb('0x2'))(_0x84eb('0x3'));var moment=require('moment');var BPromise=require(_0x84eb('0x4'));var rp=require(_0x84eb('0x5'));var fs=require('fs');var path=require(_0x84eb('0x6'));var rimraf=require(_0x84eb('0x7'));var config=require(_0x84eb('0x8'));var attributes=require(_0x84eb('0x9'));module[_0x84eb('0xa')]=function(_0x23b3fc,_0x3a8e37){return _0x23b3fc['define'](_0x84eb('0xb'),attributes,{'tableName':_0x84eb('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};