1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0xe677=['Attachment','util','../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment','./attachment.attributes'];(function(_0x44266a,_0x1a495e){var _0x10d89f=function(_0x55ce51){while(--_0x55ce51){_0x44266a['push'](_0x44266a['shift']());}};_0x10d89f(++_0x1a495e);}(_0xe677,0x123));var _0x7e67=function(_0x1cfa0d,_0x4391f2){_0x1cfa0d=_0x1cfa0d-0x0;var _0xe33279=_0xe677[_0x1cfa0d];return _0xe33279;};'use strict';var _=require('lodash');var util=require(_0x7e67('0x0'));var logger=require(_0x7e67('0x1'))('api');var moment=require(_0x7e67('0x2'));var BPromise=require(_0x7e67('0x3'));var rp=require(_0x7e67('0x4'));var fs=require('fs');var path=require(_0x7e67('0x5'));var rimraf=require(_0x7e67('0x6'));var config=require(_0x7e67('0x7'));var attributes=require(_0x7e67('0x8'));module['exports']=function(_0x33220b,_0x21a758){return _0x33220b['define'](_0x7e67('0x9'),attributes,{'tableName':'attachments','paranoid':![],'indexes':[],'timestamps':!![]});};