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 _0x3a15=['moment','bluebird','request-promise','../../config/environment','Attachment','attachments','lodash','../../config/logger'];(function(_0x276592,_0x154e81){var _0x9137cc=function(_0x552792){while(--_0x552792){_0x276592['push'](_0x276592['shift']());}};_0x9137cc(++_0x154e81);}(_0x3a15,0xde));var _0x53a1=function(_0x260d5b,_0x9df418){_0x260d5b=_0x260d5b-0x0;var _0x18ae84=_0x3a15[_0x260d5b];return _0x18ae84;};'use strict';var _=require(_0x53a1('0x0'));var util=require('util');var logger=require(_0x53a1('0x1'))('api');var moment=require(_0x53a1('0x2'));var BPromise=require(_0x53a1('0x3'));var rp=require(_0x53a1('0x4'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x53a1('0x5'));var attributes=require('./attachment.attributes');module['exports']=function(_0x5acff4,_0x292b62){return _0x5acff4['define'](_0x53a1('0x6'),attributes,{'tableName':_0x53a1('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};