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 _0x5a58=['path','rimraf','../../config/environment','./migration.attributes','exports','Migration','migrations','util','../../config/logger','moment','bluebird','request-promise'];(function(_0x125581,_0x1c1bf1){var _0x5909e5=function(_0x54a051){while(--_0x54a051){_0x125581['push'](_0x125581['shift']());}};_0x5909e5(++_0x1c1bf1);}(_0x5a58,0x97));var _0x85a5=function(_0x263a74,_0xc31414){_0x263a74=_0x263a74-0x0;var _0x2aa86c=_0x5a58[_0x263a74];return _0x2aa86c;};'use strict';var _=require('lodash');var util=require(_0x85a5('0x0'));var logger=require(_0x85a5('0x1'))('api');var moment=require(_0x85a5('0x2'));var BPromise=require(_0x85a5('0x3'));var rp=require(_0x85a5('0x4'));var fs=require('fs');var path=require(_0x85a5('0x5'));var rimraf=require(_0x85a5('0x6'));var config=require(_0x85a5('0x7'));var attributes=require(_0x85a5('0x8'));module[_0x85a5('0x9')]=function(_0x3653ee,_0x45796a){return _0x3653ee['define'](_0x85a5('0xa'),attributes,{'tableName':_0x85a5('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};