b5b8723b145f008cd793a75060e10923d29ba26d
[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 _0xe5a8=['request-promise','path','rimraf','../../config/environment','./smsAccount.attributes','exports','SmsAccount','sms_accounts','lodash','util','../../config/logger','api','bluebird'];(function(_0x490f12,_0x534c74){var _0xfb9c75=function(_0x1c9561){while(--_0x1c9561){_0x490f12['push'](_0x490f12['shift']());}};_0xfb9c75(++_0x534c74);}(_0xe5a8,0x10c));var _0x8e5a=function(_0x31cf17,_0x691c15){_0x31cf17=_0x31cf17-0x0;var _0x30a251=_0xe5a8[_0x31cf17];return _0x30a251;};'use strict';var _=require(_0x8e5a('0x0'));var util=require(_0x8e5a('0x1'));var logger=require(_0x8e5a('0x2'))(_0x8e5a('0x3'));var moment=require('moment');var BPromise=require(_0x8e5a('0x4'));var rp=require(_0x8e5a('0x5'));var fs=require('fs');var path=require(_0x8e5a('0x6'));var rimraf=require(_0x8e5a('0x7'));var config=require(_0x8e5a('0x8'));var attributes=require(_0x8e5a('0x9'));module[_0x8e5a('0xa')]=function(_0x504203,_0x30b5a6){return _0x504203['define'](_0x8e5a('0xb'),attributes,{'tableName':_0x8e5a('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};