Built motion from commit (unavailable).|2.2.0
[motion2.git] / server / api / intZendeskField / intZendeskField.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 _0xb0f9=['exports','ZendeskField','int_zendesk_fields','lodash','util','api','moment','bluebird','request-promise'];(function(_0x3c0865,_0x4a196f){var _0x2372c3=function(_0x536009){while(--_0x536009){_0x3c0865['push'](_0x3c0865['shift']());}};_0x2372c3(++_0x4a196f);}(_0xb0f9,0xb7));var _0x9b0f=function(_0x269c04,_0x43b37a){_0x269c04=_0x269c04-0x0;var _0x5cdccc=_0xb0f9[_0x269c04];return _0x5cdccc;};'use strict';var _=require(_0x9b0f('0x0'));var util=require(_0x9b0f('0x1'));var logger=require('../../config/logger')(_0x9b0f('0x2'));var moment=require(_0x9b0f('0x3'));var BPromise=require(_0x9b0f('0x4'));var rp=require(_0x9b0f('0x5'));var attributes=require('./intZendeskField.attributes');module[_0x9b0f('0x6')]=function(_0x551446,_0x4bb83e){return _0x551446['define'](_0x9b0f('0x7'),attributes,{'tableName':_0x9b0f('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};