Built motion from commit (unavailable).|2.5.17
[motion2.git] / server / api / automation / automation.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 _0x753e=['api','moment','bluebird','request-promise','path','rimraf','./automation.attributes','Automation','tools_automations','lodash','util','../../config/logger'];(function(_0x21ecf3,_0x3b4b99){var _0x3cf63a=function(_0x536c67){while(--_0x536c67){_0x21ecf3['push'](_0x21ecf3['shift']());}};_0x3cf63a(++_0x3b4b99);}(_0x753e,0x99));var _0xe753=function(_0x2ec461,_0x5f588a){_0x2ec461=_0x2ec461-0x0;var _0x28603d=_0x753e[_0x2ec461];return _0x28603d;};'use strict';var _=require(_0xe753('0x0'));var util=require(_0xe753('0x1'));var logger=require(_0xe753('0x2'))(_0xe753('0x3'));var moment=require(_0xe753('0x4'));var BPromise=require(_0xe753('0x5'));var rp=require(_0xe753('0x6'));var fs=require('fs');var path=require(_0xe753('0x7'));var rimraf=require(_0xe753('0x8'));var config=require('../../config/environment');var attributes=require(_0xe753('0x9'));module['exports']=function(_0x27b134,_0x325074){return _0x27b134['define'](_0xe753('0xa'),attributes,{'tableName':_0xe753('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};