Built motion from commit (unavailable).|2.6.0
[motion2.git] / server / api / smsApplication / smsApplication.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 _0x1e77=['../../config/environment','./smsApplication.attributes','exports','define','SmsApplication','sms_applications','utf8mb4','utf8mb4_unicode_ci','lodash','../../config/logger','api','moment','bluebird'];(function(_0x56f816,_0x430cfb){var _0x2b05cf=function(_0x18128d){while(--_0x18128d){_0x56f816['push'](_0x56f816['shift']());}};_0x2b05cf(++_0x430cfb);}(_0x1e77,0xbe));var _0x71e7=function(_0x2dafbe,_0x5d04de){_0x2dafbe=_0x2dafbe-0x0;var _0x58a45a=_0x1e77[_0x2dafbe];return _0x58a45a;};'use strict';var _=require(_0x71e7('0x0'));var util=require('util');var logger=require(_0x71e7('0x1'))(_0x71e7('0x2'));var moment=require(_0x71e7('0x3'));var BPromise=require(_0x71e7('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x71e7('0x5'));var attributes=require(_0x71e7('0x6'));module[_0x71e7('0x7')]=function(_0x25b53f,_0x7bf88b){return _0x25b53f[_0x71e7('0x8')](_0x71e7('0x9'),attributes,{'tableName':_0x71e7('0xa'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0x71e7('0xb'),'collate':_0x71e7('0xc')});};