Built motion from commit (unavailable).|2.5.14
[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 _0x33dd=['path','../../config/environment','./smsAccount.attributes','exports','define','SmsAccount','sms_accounts','lodash','util','moment','bluebird','request-promise'];(function(_0x2cc136,_0x159126){var _0x4ad9fc=function(_0x15ed7f){while(--_0x15ed7f){_0x2cc136['push'](_0x2cc136['shift']());}};_0x4ad9fc(++_0x159126);}(_0x33dd,0x73));var _0xd33d=function(_0x5454fd,_0x25d702){_0x5454fd=_0x5454fd-0x0;var _0x3fa091=_0x33dd[_0x5454fd];return _0x3fa091;};'use strict';var _=require(_0xd33d('0x0'));var util=require(_0xd33d('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0xd33d('0x2'));var BPromise=require(_0xd33d('0x3'));var rp=require(_0xd33d('0x4'));var fs=require('fs');var path=require(_0xd33d('0x5'));var rimraf=require('rimraf');var config=require(_0xd33d('0x6'));var attributes=require(_0xd33d('0x7'));module[_0xd33d('0x8')]=function(_0xfb1fe3,_0x660123){return _0xfb1fe3[_0xd33d('0x9')](_0xd33d('0xa'),attributes,{'tableName':_0xd33d('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};