Built motion from commit da617fac.|2.6.6
[motion2.git] / server / api / cmContactHasItem / cmContactHasItem.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 _0xe477=['define','CmContactHasItem','cm_contact_has_items','lodash','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./cmContactHasItem.attributes','exports'];(function(_0xb5fb77,_0x2ec122){var _0x3f4101=function(_0x25b782){while(--_0x25b782){_0xb5fb77['push'](_0xb5fb77['shift']());}};_0x3f4101(++_0x2ec122);}(_0xe477,0x1c3));var _0x7e47=function(_0x2bfc60,_0xa254ab){_0x2bfc60=_0x2bfc60-0x0;var _0x44ea2c=_0xe477[_0x2bfc60];return _0x44ea2c;};'use strict';var _=require(_0x7e47('0x0'));var util=require('util');var logger=require(_0x7e47('0x1'))(_0x7e47('0x2'));var moment=require(_0x7e47('0x3'));var BPromise=require(_0x7e47('0x4'));var rp=require(_0x7e47('0x5'));var fs=require('fs');var path=require(_0x7e47('0x6'));var rimraf=require(_0x7e47('0x7'));var config=require(_0x7e47('0x8'));var attributes=require(_0x7e47('0x9'));module[_0x7e47('0xa')]=function(_0xcdb140,_0x3dcd03){return _0xcdb140[_0x7e47('0xb')](_0x7e47('0xc'),attributes,{'tableName':_0x7e47('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};