6526a3d99c9315d6d05e1f8e7c1aed189ccc8deb
[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 _0x500e=['bluebird','path','rimraf','../../config/environment','./smsAccount.attributes','exports','define','SmsAccount','sms_accounts','util','../../config/logger','api','moment'];(function(_0x4be34e,_0x11d554){var _0x22bffd=function(_0x5dac7b){while(--_0x5dac7b){_0x4be34e['push'](_0x4be34e['shift']());}};_0x22bffd(++_0x11d554);}(_0x500e,0x1c3));var _0xe500=function(_0x12bcf7,_0xc11103){_0x12bcf7=_0x12bcf7-0x0;var _0x2825a=_0x500e[_0x12bcf7];return _0x2825a;};'use strict';var _=require('lodash');var util=require(_0xe500('0x0'));var logger=require(_0xe500('0x1'))(_0xe500('0x2'));var moment=require(_0xe500('0x3'));var BPromise=require(_0xe500('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xe500('0x5'));var rimraf=require(_0xe500('0x6'));var config=require(_0xe500('0x7'));var attributes=require(_0xe500('0x8'));module[_0xe500('0x9')]=function(_0x55a0d2,_0x366e1a){return _0x55a0d2[_0xe500('0xa')](_0xe500('0xb'),attributes,{'tableName':_0xe500('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};