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 _0x9ac6=['path','./cmContactHasItem.attributes','exports','define','CmContactHasItem','util','../../config/logger','moment','bluebird','request-promise'];(function(_0x3a5b78,_0x31bb02){var _0x32479f=function(_0x49009f){while(--_0x49009f){_0x3a5b78['push'](_0x3a5b78['shift']());}};_0x32479f(++_0x31bb02);}(_0x9ac6,0x113));var _0x69ac=function(_0x4d5ca6,_0x583e94){_0x4d5ca6=_0x4d5ca6-0x0;var _0x4096fa=_0x9ac6[_0x4d5ca6];return _0x4096fa;};'use strict';var _=require('lodash');var util=require(_0x69ac('0x0'));var logger=require(_0x69ac('0x1'))('api');var moment=require(_0x69ac('0x2'));var BPromise=require(_0x69ac('0x3'));var rp=require(_0x69ac('0x4'));var fs=require('fs');var path=require(_0x69ac('0x5'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x69ac('0x6'));module[_0x69ac('0x7')]=function(_0x215efc,_0x2e9ab8){return _0x215efc[_0x69ac('0x8')](_0x69ac('0x9'),attributes,{'tableName':'cm_contact_has_items','paranoid':![],'indexes':[],'timestamps':!![]});};