Built motion from commit (unavailable).|2.5.9
[motion2.git] / server / api / integration / integration.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 _0x7fce=['lodash','../../config/logger','api','moment','request-promise','rimraf','./integration.attributes','exports','define','Integration'];(function(_0x3bb5b4,_0x128455){var _0x586c60=function(_0x179226){while(--_0x179226){_0x3bb5b4['push'](_0x3bb5b4['shift']());}};_0x586c60(++_0x128455);}(_0x7fce,0x1ae));var _0xe7fc=function(_0x52e614,_0x154ac9){_0x52e614=_0x52e614-0x0;var _0x4bc9bd=_0x7fce[_0x52e614];return _0x4bc9bd;};'use strict';var _=require(_0xe7fc('0x0'));var util=require('util');var logger=require(_0xe7fc('0x1'))(_0xe7fc('0x2'));var moment=require(_0xe7fc('0x3'));var BPromise=require('bluebird');var rp=require(_0xe7fc('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xe7fc('0x5'));var config=require('../../config/environment');var attributes=require(_0xe7fc('0x6'));module[_0xe7fc('0x7')]=function(_0x590602,_0x823d1){return _0x590602[_0xe7fc('0x8')](_0xe7fc('0x9'),attributes,{'tableName':'integrations','paranoid':![],'indexes':[],'timestamps':!![]});};