Built motion from commit (unavailable).|2.5.4
[motion2.git] / server / api / attachment / attachment.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 _0x349e=['util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','./attachment.attributes','Attachment','attachments','lodash'];(function(_0x2bddda,_0x4774dc){var _0x432c5e=function(_0x1dd39d){while(--_0x1dd39d){_0x2bddda['push'](_0x2bddda['shift']());}};_0x432c5e(++_0x4774dc);}(_0x349e,0xcb));var _0xe349=function(_0x495c12,_0xca76f7){_0x495c12=_0x495c12-0x0;var _0x47c1f5=_0x349e[_0x495c12];return _0x47c1f5;};'use strict';var _=require(_0xe349('0x0'));var util=require(_0xe349('0x1'));var logger=require(_0xe349('0x2'))(_0xe349('0x3'));var moment=require(_0xe349('0x4'));var BPromise=require(_0xe349('0x5'));var rp=require(_0xe349('0x6'));var fs=require('fs');var path=require(_0xe349('0x7'));var rimraf=require(_0xe349('0x8'));var config=require('../../config/environment');var attributes=require(_0xe349('0x9'));module['exports']=function(_0x55aae6,_0xb21068){return _0x55aae6['define'](_0xe349('0xa'),attributes,{'tableName':_0xe349('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};