Built motion from commit 06eb8eb0.|2.6.31
[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 _0x0e27=['define','SmsAccount','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','./smsAccount.attributes','exports'];(function(_0x122096,_0x60c295){var _0x3d1966=function(_0x3d569e){while(--_0x3d569e){_0x122096['push'](_0x122096['shift']());}};_0x3d1966(++_0x60c295);}(_0x0e27,0x7a));var _0x70e2=function(_0x2fadf7,_0x2bfc9d){_0x2fadf7=_0x2fadf7-0x0;var _0x5bccca=_0x0e27[_0x2fadf7];return _0x5bccca;};'use strict';var _=require('lodash');var util=require(_0x70e2('0x0'));var logger=require(_0x70e2('0x1'))(_0x70e2('0x2'));var moment=require(_0x70e2('0x3'));var BPromise=require(_0x70e2('0x4'));var rp=require(_0x70e2('0x5'));var fs=require('fs');var path=require(_0x70e2('0x6'));var rimraf=require(_0x70e2('0x7'));var config=require('../../config/environment');var attributes=require(_0x70e2('0x8'));module[_0x70e2('0x9')]=function(_0x23296e,_0x45af19){return _0x23296e[_0x70e2('0xa')](_0x70e2('0xb'),attributes,{'tableName':'sms_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};