Built motion from commit (unavailable).|2.4.17
[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 _0xb5c5=['util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','./smsAccount.attributes','exports','define','SmsAccount','lodash'];(function(_0x3c4e48,_0x43a5eb){var _0x37fd7e=function(_0x27aa2b){while(--_0x27aa2b){_0x3c4e48['push'](_0x3c4e48['shift']());}};_0x37fd7e(++_0x43a5eb);}(_0xb5c5,0xdc));var _0x5b5c=function(_0x45e733,_0x376388){_0x45e733=_0x45e733-0x0;var _0x31f2e3=_0xb5c5[_0x45e733];return _0x31f2e3;};'use strict';var _=require(_0x5b5c('0x0'));var util=require(_0x5b5c('0x1'));var logger=require(_0x5b5c('0x2'))(_0x5b5c('0x3'));var moment=require(_0x5b5c('0x4'));var BPromise=require(_0x5b5c('0x5'));var rp=require(_0x5b5c('0x6'));var fs=require('fs');var path=require(_0x5b5c('0x7'));var rimraf=require(_0x5b5c('0x8'));var config=require('../../config/environment');var attributes=require(_0x5b5c('0x9'));module[_0x5b5c('0xa')]=function(_0x3f5ea3,_0x79b4df){return _0x3f5ea3[_0x5b5c('0xb')](_0x5b5c('0xc'),attributes,{'tableName':'sms_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};