Built motion from commit (unavailable).|2.0.80
[motion2.git] / server / api / cmCustomField / cmCustomField.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 _0x3bcd=['cm_custom_fields','lodash','util','moment','request-promise','./cmCustomField.attributes','exports','define','CmCustomField'];(function(_0x517f81,_0x46b4cc){var _0x4e3691=function(_0x29a182){while(--_0x29a182){_0x517f81['push'](_0x517f81['shift']());}};_0x4e3691(++_0x46b4cc);}(_0x3bcd,0x1b1));var _0xd3bc=function(_0x428dbd,_0x30eeb5){_0x428dbd=_0x428dbd-0x0;var _0xc411d8=_0x3bcd[_0x428dbd];return _0xc411d8;};'use strict';var _=require(_0xd3bc('0x0'));var util=require(_0xd3bc('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0xd3bc('0x2'));var BPromise=require('bluebird');var rp=require(_0xd3bc('0x3'));var attributes=require(_0xd3bc('0x4'));module[_0xd3bc('0x5')]=function(_0x1d674a,_0x3b8514){return _0x1d674a[_0xd3bc('0x6')](_0xd3bc('0x7'),attributes,{'tableName':_0xd3bc('0x8'),'paranoid':!![],'indexes':[],'timestamps':!![]});};