Built motion from commit (unavailable).|2.5.0
[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 _0x7ea3=['define','SmsAccount','sms_accounts','lodash','util','../../config/logger','api','moment','bluebird','path','./smsAccount.attributes','exports'];(function(_0x441981,_0x12a3eb){var _0x19ce77=function(_0x26973d){while(--_0x26973d){_0x441981['push'](_0x441981['shift']());}};_0x19ce77(++_0x12a3eb);}(_0x7ea3,0x18f));var _0x37ea=function(_0x2ae489,_0x9f8183){_0x2ae489=_0x2ae489-0x0;var _0x144cd2=_0x7ea3[_0x2ae489];return _0x144cd2;};'use strict';var _=require(_0x37ea('0x0'));var util=require(_0x37ea('0x1'));var logger=require(_0x37ea('0x2'))(_0x37ea('0x3'));var moment=require(_0x37ea('0x4'));var BPromise=require(_0x37ea('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x37ea('0x6'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x37ea('0x7'));module[_0x37ea('0x8')]=function(_0x4c7904,_0x15fc92){return _0x4c7904[_0x37ea('0x9')](_0x37ea('0xa'),attributes,{'tableName':_0x37ea('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};