809103904a503702679a47741ccd67b9aaa237ce
[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 _0xeeac=['FieldId','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./intZendeskField.attributes','exports','int_zendesk_fields','zendesk_unique_index'];(function(_0x47e7cb,_0x4c1b8d){var _0x2a8874=function(_0x36498f){while(--_0x36498f){_0x47e7cb['push'](_0x47e7cb['shift']());}};_0x2a8874(++_0x4c1b8d);}(_0xeeac,0x13c));var _0xceea=function(_0x176329,_0x568c84){_0x176329=_0x176329-0x0;var _0x31997c=_0xeeac[_0x176329];return _0x31997c;};'use strict';var _=require(_0xceea('0x0'));var util=require(_0xceea('0x1'));var logger=require(_0xceea('0x2'))(_0xceea('0x3'));var moment=require(_0xceea('0x4'));var BPromise=require(_0xceea('0x5'));var rp=require(_0xceea('0x6'));var fs=require('fs');var path=require(_0xceea('0x7'));var rimraf=require(_0xceea('0x8'));var config=require(_0xceea('0x9'));var attributes=require(_0xceea('0xa'));module[_0xceea('0xb')]=function(_0x3c94a7,_0x2ff0c3){return _0x3c94a7['define']('ZendeskField',attributes,{'tableName':_0xceea('0xc'),'paranoid':![],'indexes':[{'name':_0xceea('0xd'),'fields':['idField',_0xceea('0xe')],'unique':!![]}],'timestamps':!![]});};