b7f80ab92b19cc9799caa075f12c45312ac815d1
[motion2.git] / server / api / cmContactHasPhone / cmContactHasPhone.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 _0x32c0=['../../config/environment','exports','define','cm_contact_has_phones','lodash','util','api','moment','request-promise','path','rimraf'];(function(_0x554569,_0x36fb90){var _0x1a8695=function(_0x90f507){while(--_0x90f507){_0x554569['push'](_0x554569['shift']());}};_0x1a8695(++_0x36fb90);}(_0x32c0,0x1f3));var _0x032c=function(_0x361122,_0xdc9d04){_0x361122=_0x361122-0x0;var _0x2a8ab6=_0x32c0[_0x361122];return _0x2a8ab6;};'use strict';var _=require(_0x032c('0x0'));var util=require(_0x032c('0x1'));var logger=require('../../config/logger')(_0x032c('0x2'));var moment=require(_0x032c('0x3'));var BPromise=require('bluebird');var rp=require(_0x032c('0x4'));var fs=require('fs');var path=require(_0x032c('0x5'));var rimraf=require(_0x032c('0x6'));var config=require(_0x032c('0x7'));var attributes=require('./cmContactHasPhone.attributes');module[_0x032c('0x8')]=function(_0x282c50,_0x2d5376){return _0x282c50[_0x032c('0x9')]('CmContactHasPhone',attributes,{'tableName':_0x032c('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};