Built motion from commit (unavailable).|2.5.14
[motion2.git] / server / api / UserSmsInteraction / UserSmsInteraction.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 _0xa5ed=['path','../../config/environment','./UserSmsInteraction.attributes','exports','define','UserSmsInteraction','user_has_sms_interactions','lodash','../../config/logger','moment','request-promise'];(function(_0xd83e3,_0x162b7b){var _0x83645b=function(_0xdcf001){while(--_0xdcf001){_0xd83e3['push'](_0xd83e3['shift']());}};_0x83645b(++_0x162b7b);}(_0xa5ed,0x1d5));var _0xda5e=function(_0x5ab3c3,_0x36beda){_0x5ab3c3=_0x5ab3c3-0x0;var _0x25d4e4=_0xa5ed[_0x5ab3c3];return _0x25d4e4;};'use strict';var _=require(_0xda5e('0x0'));var util=require('util');var logger=require(_0xda5e('0x1'))('api');var moment=require(_0xda5e('0x2'));var BPromise=require('bluebird');var rp=require(_0xda5e('0x3'));var fs=require('fs');var path=require(_0xda5e('0x4'));var rimraf=require('rimraf');var config=require(_0xda5e('0x5'));var attributes=require(_0xda5e('0x6'));module[_0xda5e('0x7')]=function(_0x26f95f,_0x6a96fc){return _0x26f95f[_0xda5e('0x8')](_0xda5e('0x9'),attributes,{'tableName':_0xda5e('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};