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 _0x151a=['define','SAJobOrder','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','./saJobOrder.attributes','exports'];(function(_0x34591b,_0x4eaeb4){var _0x5d6409=function(_0x239d17){while(--_0x239d17){_0x34591b['push'](_0x34591b['shift']());}};_0x5d6409(++_0x4eaeb4);}(_0x151a,0x16e));var _0xa151=function(_0x143759,_0x249c49){_0x143759=_0x143759-0x0;var _0x4582be=_0x151a[_0x143759];return _0x4582be;};'use strict';var _=require(_0xa151('0x0'));var util=require(_0xa151('0x1'));var logger=require(_0xa151('0x2'))(_0xa151('0x3'));var moment=require(_0xa151('0x4'));var BPromise=require(_0xa151('0x5'));var rp=require(_0xa151('0x6'));var fs=require('fs');var path=require(_0xa151('0x7'));var rimraf=require(_0xa151('0x8'));var config=require('../../config/environment');var attributes=require(_0xa151('0x9'));module[_0xa151('0xa')]=function(_0x1b4d9a,_0x1f6f43){return _0x1b4d9a[_0xa151('0xb')](_0xa151('0xc'),attributes,{'tableName':'sa_job_orders','paranoid':![],'indexes':[],'timestamps':!![]});};