Built motion from commit (unavailable).|2.3.1
[motion2.git] / server / api / action / action.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 _0x24a3=['request-promise','./action.attributes','exports','define','Action','tools_actions','lodash','util','../../config/logger','api','moment','bluebird'];(function(_0xb6e2ea,_0x3b26e9){var _0x2a57bb=function(_0x2a1ac9){while(--_0x2a1ac9){_0xb6e2ea['push'](_0xb6e2ea['shift']());}};_0x2a57bb(++_0x3b26e9);}(_0x24a3,0x96));var _0x324a=function(_0x38a58f,_0x4e14f7){_0x38a58f=_0x38a58f-0x0;var _0x4187b7=_0x24a3[_0x38a58f];return _0x4187b7;};'use strict';var _=require(_0x324a('0x0'));var util=require(_0x324a('0x1'));var logger=require(_0x324a('0x2'))(_0x324a('0x3'));var moment=require(_0x324a('0x4'));var BPromise=require(_0x324a('0x5'));var rp=require(_0x324a('0x6'));var attributes=require(_0x324a('0x7'));module[_0x324a('0x8')]=function(_0x3821ec,_0x4f779b){return _0x3821ec[_0x324a('0x9')](_0x324a('0xa'),attributes,{'tableName':_0x324a('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};