ngx-nearit-api
Advanced tools
Comparing version 0.0.9 to 0.0.10
@@ -1,2 +0,2 @@ | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core"),require("@angular/common/http"),require("rxjs/operators"),require("rxjs"),require("lodash"),require("queueing-subject/lib"),require("rxjs-websockets/lib"),require("@auth0/angular-jwt"),require("@angular/common")):"function"==typeof define&&define.amd?define("ngx-nearit-api",["exports","@angular/core","@angular/common/http","rxjs/operators","rxjs","lodash","queueing-subject/lib","rxjs-websockets/lib","@auth0/angular-jwt","@angular/common"],e):e(t["ngx-nearit-api"]={},t.ng.core,t.ng.common.http,t.rxjs.operators,t.rxjs,t.lodash,t.lib,t.websocketConnect,t.angularJwt,t.ng.common)}(this,function(t,n,r,a,o,i,s,u,e,p){"use strict";u=u&&u.hasOwnProperty("default")?u["default"]:u;var c=function(t,e){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)};function l(t,e){function r(){this.constructor=t}c(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}var f=function(){return(f=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};function R(t){var e="function"==typeof Symbol&&t[Symbol.iterator],r=0;return e?e.call(t):{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}}}var d=function(){function l(){}return l.toJsonModel=function(t,e){var r={};if(t&&(r.id=t.id,r.type=t.type,this.populateJsonAttributes(r,t),t.relationships&&(r.relationships=this.populateJsonRelationships(t.relationships)),t.meta&&(r.meta=this.populateJsonMeta(t.meta)),e)){r.included={},r.included=this.populateInclude(r,t,e,{})}return r},l.toJsonArrayModel=function(t,e,r){var n,o,i=[];try{for(var a=R(t),s=a.next();!s.done;s=a.next()){var u=s.value;i.push(l.toJsonModel(u,e))}}catch(c){n={error:c}}finally{try{s&&!s.done&&(o=a["return"])&&o.call(a)}finally{if(n)throw n.error}}if(r){var p={};return p.meta=this.populateJsonMeta(r),p.array=i,p}return i},l.toJsonApiModel=function(t){var e,r,n={data:{attributes:{}}};for(var o in n.data.id=t.id,n.data.type=t.type,t)this.notAttributeType(o)||(n.data.attributes[o]=t[o]);if(t.relationships){n.data.relationships={};try{for(var i=R(Object.keys(t.relationships)),a=i.next();!a.done;a=i.next()){o=a.value;n.data.relationships[o]=t.relationships[o]}}catch(s){e={error:s}}finally{try{a&&!a.done&&(r=i["return"])&&r.call(i)}finally{if(e)throw e.error}}}return n},l.populateJsonAttributes=function(t,e){var r,n;if(e&&e.attributes)try{for(var o=R(Object.keys(e.attributes)),i=o.next();!i.done;i=o.next()){var a=i.value;t[a]=e.attributes[a]}}catch(s){r={error:s}}finally{try{i&&!i.done&&(n=o["return"])&&n.call(o)}finally{if(r)throw r.error}}},l.populateJsonRelationships=function(t){var e,r,n={};try{for(var o=R(Object.keys(t)),i=o.next();!i.done;i=o.next()){var a=i.value;n[a]=t[a]}}catch(s){e={error:s}}finally{try{i&&!i.done&&(r=o["return"])&&r.call(o)}finally{if(e)throw e.error}}return n},l.populateJsonMeta=function(t){var e,r,n={};try{for(var o=R(Object.keys(t)),i=o.next();!i.done;i=o.next()){var a=i.value;n[a]=t[a]}}catch(s){e={error:s}}finally{try{i&&!i.done&&(r=o["return"])&&r.call(o)}finally{if(e)throw e.error}}return n},l.populateInclude=function(f,d,h,y){var t,e,r=function(t){var e,r,n=d.relationships[t].data;if(f.included[t]={},!n)return"continue";if(Array.isArray(n)){var o=[],i=function(e){var t={},r=h.find(function(t){return t.id===e.id});if(!r)return"continue";if(t.id=r.id,g.populateJsonAttributes(t,r),r.meta&&(t.meta=g.populateJsonMeta(r.meta)),r.relationships&&!y[e.id]){y[e.id]=e.id;var n=g.populateInclude({included:{}},r,h,y);t.included=n,t.relationships=g.populateJsonRelationships(r.relationships)}o.push(t)};try{for(var a=R(n),s=a.next();!s.done;s=a.next()){i(s.value)}}catch(l){e={error:l}}finally{try{s&&!s.done&&(r=a["return"])&&r.call(a)}finally{if(e)throw e.error}}f.included[t]=o}else if("parent"===t)f.included[t].id=n.id;else{var u={},p=h.find(function(t){return t.id===n.id});if(p){if(u.id=p.id,g.populateJsonAttributes(u,p),p.meta&&(u.meta=g.populateJsonMeta(p.meta)),p.relationships&&!y[n.id]){y[n.id]=n.id;var c=g.populateInclude({included:{}},p,h,y);u.included=c,u.relationships=g.populateJsonRelationships(p.relationships)}f.included[t]=u}}},g=this;try{for(var n=R(Object.keys(d.relationships)),o=n.next();!o.done;o=n.next()){r(o.value)}}catch(i){t={error:i}}finally{try{o&&!o.done&&(e=n["return"])&&e.call(n)}finally{if(t)throw t.error}}return f.included},l.createFilter=function(t){var e,r,n,o,i,a,s,u,p,c,l,f,d={};t.sort&&(d.sort=t.sort),t.include&&(d.include=t.include),t.polyglot&&(d.polyglot=t.polyglot);var h=t.filter;for(var y in h)if(h[y]instanceof Object)try{for(var g=R(Object.keys(h[y])),v=g.next();!v.done;v=g.next()){var j=v.value;d["filter["+y+"]["+j+"]"]=h[y][j]}}catch(x){e={error:x}}finally{try{v&&!v.done&&(r=g["return"])&&r.call(g)}finally{if(e)throw e.error}}else d["filter["+y+"]"]=h[y];if(t.filterMultipleFields&&(d.filter=t.filterMultipleFields),t.startsWith)try{for(var A=R(Object.keys(t.startsWith)),m=A.next();!m.done;m=A.next()){d["filter["+(y=m.value)+"][starts_with]"]=t.startsWith[y]}}catch(S){n={error:S}}finally{try{m&&!m.done&&(o=A["return"])&&o.call(A)}finally{if(n)throw n.error}}if(t.starts)try{for(var I=R(Object.keys(t.starts)),b=I.next();!b.done;b=I.next()){d["filter["+(y=b.value)+"][start]"]=t.starts[y]}}catch(k){i={error:k}}finally{try{b&&!b.done&&(a=I["return"])&&a.call(I)}finally{if(i)throw i.error}}if(t.ends)try{for(var _=R(Object.keys(t.ends)),C=_.next();!C.done;C=_.next()){d["filter["+(y=C.value)+"][end]"]=t.ends[y]}}catch(T){s={error:T}}finally{try{C&&!C.done&&(u=_["return"])&&u.call(_)}finally{if(s)throw s.error}}if(t.contains)try{for(var E=R(Object.keys(t.contains)),w=E.next();!w.done;w=E.next()){d["filter["+(y=w.value)+"][contains]"]=t.contains[y]}}catch(M){p={error:M}}finally{try{w&&!w.done&&(c=E["return"])&&c.call(E)}finally{if(p)throw p.error}}if(t.page)try{for(var U=R(Object.keys(t.page)),P=U.next();!P.done;P=U.next()){d["page["+(y=P.value)+"]"]=t.page[y]}}catch(O){l={error:O}}finally{try{P&&!P.done&&(f=U["return"])&&f.call(U)}finally{if(l)throw l.error}}return t.search&&(d.search=t.search),t.app_id&&(d.app_id=t.app_id),t.price&&(d.price=t.price),d},l.notAttributeType=function(t){return"relationships"===t||"meta"===t||"included"===t||"id"===t||"type"===t},l.addRelationship=function(t,e){var r=e.key,n=e.type,o=e.data,i=f({},t);if(i.relationships||(i.relationships={}),Array.isArray(o)){if(0===o.length)return;i.relationships[r]={data:[]};for(var a=0;a<o.length;a++){var s=o[a];null!=s&&""!==s&&i.relationships[r].data.push({id:s,type:n})}}else i.relationships[r]={data:{id:o,type:n}};return i},l.cleanRelationships=function(t){return t&&t.relationships&&delete t.relationships,t},l}(),h=function(){function t(t){this.http=t}return t.prototype._get=function(t,e,r){return r&&r.params&&(r.params=d.createFilter(r.params)),e&&(t=t+"/"+e),this.http.get(t,r).pipe(a.retry(2),a.catchError(function(t){return o.throwError(t)}),a.map(function(t){return d.toJsonModel(i.get(t,"data",{}),i.get(t,"included",null))}))},t.prototype._getAll=function(t,e){return e&&e.params&&(e.params=d.createFilter(e.params)),this.http.get(t,e).pipe(a.retry(2),a.catchError(function(t){return o.throwError(t)}),a.map(function(t){return d.toJsonArrayModel(i.get(t,"data",[]))}))},t.prototype._post=function(t,e,r){return this.http.post(t,d.toJsonApiModel(e)).pipe(a.retry(2),a.catchError(function(t){return o.throwError(t)}),a.map(function(t){return d.toJsonModel(i.get(t,"data",{}),i.get(t,"included",null))}))},t.prototype._put=function(t,e,r,n){return this.http.put(t+"/"+e,d.toJsonApiModel(r)).pipe(a.retry(2),a.catchError(function(t){return o.throwError(t)}),a.map(function(t){return d.toJsonModel(i.get(t,"data",{}),i.get(t,"included",null))}))},t.prototype._delete=function(t,e,r){return this.http["delete"](t+"/"+e,r).pipe(a.retry(2),a.catchError(function(t){return o.throwError(t)}),a.map(function(t){if(t&&t.data)return d.toJsonModel(i.get(t,"data",{}),i.get(t,"included",null))}))},t.decorators=[{type:n.Injectable}],t.ctorParameters=function(){return[{type:r.HttpClient}]},t}(),y=function(){function t(t,e){this.jsonApiClient=t,this.config=e,this.resourceUrl=e.baseUrl+"/accounts"}return t.prototype.create=function(t,e,r){var n=this.setupRelationships(t,e);return this.jsonApiClient._post(this.resourceUrl,n,r)},t.prototype.readAll=function(t){return this.jsonApiClient._getAll(this.resourceUrl,t)},t.prototype.read=function(t,e){return this.jsonApiClient._get(this.resourceUrl,t,e)},t.prototype.update=function(t,e,r,n){var o=this.setupRelationships(e,r);return this.jsonApiClient._put(this.resourceUrl,t,o,n)},t.prototype["delete"]=function(t,e){return this.jsonApiClient._delete(this.resourceUrl,t,e)},t.prototype.setupRelationships=function(t,e){return t=d.addRelationship(t,{key:"parent",type:"accounts",data:e}),delete(t=d.addRelationship(t,{key:"apps",type:"apps",data:t.apps})).apps,t},t.decorators=[{type:n.Injectable}],t.ctorParameters=function(){return[{type:h},{type:undefined,decorators:[{type:n.Inject,args:["nrtApiConfig"]}]}]},t}(),g=function(){function t(t,e,r){this.jsonApiClient=t,this._resourceUrl=e,this._config=r,this.config=r,this.resourceUrl=r.baseUrl+e}return t.prototype.create=function(t,e){return this.jsonApiClient._post(this.resourceUrl,t,e)},t.prototype.readAll=function(t){return this.jsonApiClient._getAll(this.resourceUrl,t)},t.prototype.read=function(t,e){return this.jsonApiClient._get(this.resourceUrl,t,e)},t.prototype.update=function(t,e,r){return this.jsonApiClient._put(this.resourceUrl,t,e,r)},t.prototype["delete"]=function(t,e){return this.jsonApiClient._delete(this.resourceUrl,t,e)},t.decorators=[{type:n.Injectable}],t.ctorParameters=function(){return[{type:h},null,{type:undefined}]},t}(),v=function(r){function t(t,e){return r.call(this,t,"/apps",e)||this}return l(t,r),t.prototype.getStats=function(t){return this.jsonApiClient._get(this.resourceUrl+"/"+t+"/stats")},t.decorators=[{type:n.Injectable}],t.ctorParameters=function(){return[{type:h},{type:undefined,decorators:[{type:n.Inject,args:["nrtApiConfig"]}]}]},t}(g),j=function(){function t(t,e){this.jsonApiClient=t,this.config=e,this.resourceURL=e.baseUrl}return t.prototype.login=function(t,e){return this.jsonApiClient._post(this.resourceURL+"/auth",t,e)},t.prototype.signup=function(t,e){return this.jsonApiClient._post(this.resourceURL+"/signup",t,e)},t.prototype.impersonate=function(t,e){return this.jsonApiClient._get(this.resourceURL+"/masks/as",t,e)},t.prototype.deImpersonate=function(t){return this.jsonApiClient._get(this.resourceURL+"/masks/up","",t)},t.prototype.sendRecoveryEmail=function(t,e){return this.jsonApiClient._post(this.resourceURL+"/auth/new_password",{type:"authorization",email:t},e)},t.prototype.validateChangePasswordToken=function(t,e){return this.jsonApiClient._post(this.resourceURL+"/auth/exchange_token",{type:"authorization",token:t},e)},t.prototype.updatePassword=function(e,r,t){var n,o=this,i=this.resourceURL+"/accounts";return this.jsonApiClient._get(i,e,t).pipe(a.flatMap(function(t){return n=f({},t,{password:r}),o.jsonApiClient._put(i,e,n)}),a.map(function(){return n}))},t.decorators=[{type:n.Injectable}],t.ctorParameters=function(){return[{type:h},{type:undefined,decorators:[{type:n.Inject,args:["nrtApiConfig"]}]}]},t}(),A=function(r){function t(t,e){return r.call(this,t,"/plugins/geopolis/beacons",e)||this}return l(t,r),t.decorators=[{type:n.Injectable,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[{type:h},{type:undefined,decorators:[{type:n.Inject,args:["nrtApiConfig"]}]}]},t.ngInjectableDef=n.defineInjectable({factory:function(){return new t(n.inject(h),n.inject("nrtApiConfig"))},token:t,providedIn:"root"}),t}(g),m=function(){function t(){}return t.RECIPE_FIRED="RECIPE_FIRED",t.INSTALLATION_CREATEDì="INSTALLATION_CREATED",t.UPLOAD_PROCESSED="UPLOAD_PROCESSED",t.IMAGE_PROCESSED="IMAGE_PROCESSED",t.TEST_DEVICE_ENROLLED="TEST_DEVICE_ENROLLED",t.TEST_DEVICE_UNENROLLED="TEST_DEVICE_UNENROLLED",t.TEST_PUSH_SENT="TEST_PUSH_SENT",t}(),I=function(){function t(t){this.config=t,this.wssUrl=t.wssUrl}return t.prototype.init=function(t,e){var r=u(this.wssUrl+"/apps/"+e+"?jwt="+t,new s.QueueingSubject);this.messages=r.messages,this.connectionStatus=r.connectionStatus},t.prototype.register=function(){return this.messages.pipe(a.retryWhen(function(t){return t?t.delay(1e3):null}),a.map(function(t){return t?JSON.parse(t):t}))},t.decorators=[{type:n.Injectable,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[{type:undefined,decorators:[{type:n.Inject,args:["nrtApiConfig"]}]}]},t.ngInjectableDef=n.defineInjectable({factory:function(){return new t(n.inject("nrtApiConfig"))},token:t,providedIn:"root"}),t}(),b=function(){function t(t,e,r){this.jsonApiClient=t,this.ws=e,this.config=r,this.resourceUrl=r.baseUrl+"/media/images"}return t.prototype.create=function(t,e){return this.jsonApiClient._post(this.resourceUrl,t,e)},t.prototype.upload=function(t,e,r){var n=this;return o.of({name:r.name,image:r.base64,app_id:e,creator_id:t}).pipe(a.flatMap(function(t){return n.create(t)}),a.flatMap(function(t){return n.currentImgId=t.id,n.ws.register()}),a.filter(function(t){return t&&t.event===m.IMAGE_PROCESSED&&t.data.id===n.currentImgId}),a.first(),a.map(function(t){return i.get(t,"data.attributes.image.url")}),a.finalize(function(){return n.currentImgId=null}))},t.decorators=[{type:n.Injectable,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[{type:h},{type:I},{type:undefined,decorators:[{type:n.Inject,args:["nrtApiConfig"]}]}]},t.ngInjectableDef=n.defineInjectable({factory:function(){return new t(n.inject(h),n.inject(I),n.inject("nrtApiConfig"))},token:t,providedIn:"root"}),t}(),_=function(r){function t(t,e){return r.call(this,t,"/installations",e)||this}return l(t,r),t.prototype.sendTestInvitation=function(t,e){return this.jsonApiClient._post(this.config.baseUrl+"/apps/"+t+"/send_test_invitation?email="+e,{})},t.decorators=[{type:n.Injectable,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[{type:h},{type:undefined,decorators:[{type:n.Inject,args:["nrtApiConfig"]}]}]},t.ngInjectableDef=n.defineInjectable({factory:function(){return new t(n.inject(h),n.inject("nrtApiConfig"))},token:t,providedIn:"root"}),t}(g),C=function(r){function t(t,e){return r.call(this,t,"/profiles",e)||this}return l(t,r),t.decorators=[{type:n.Injectable,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[{type:h},{type:undefined,decorators:[{type:n.Inject,args:["nrtApiConfig"]}]}]},t.ngInjectableDef=n.defineInjectable({factory:function(){return new t(n.inject(h),n.inject("nrtApiConfig"))},token:t,providedIn:"root"}),t}(g),E=function(r){function t(t,e){return r.call(this,t,"/plugins/push-machine/configurations",e)||this}return l(t,r),t.prototype.convertP12=function(t){return this.jsonApiClient._post(this.config.baseUrl+"/certificates/p12toPEM",t)},t.prototype.sendTestPush=function(t,e){var r=this.config.baseUrl+"/plugins/push-machine/pushes/send_push_test?app_id="+t+"&installation_ids="+e;return this.jsonApiClient._post(r,{})},t.prototype.getTestPushReport=function(t){var e=this.config.baseUrl+"/plugins/push-machine/pushes/test/stats?app_id="+t;return this.jsonApiClient._getAll(e)},t.decorators=[{type:n.Injectable,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[{type:h},{type:undefined,decorators:[{type:n.Inject,args:["nrtApiConfig"]}]}]},t.ngInjectableDef=n.defineInjectable({factory:function(){return new t(n.inject(h),n.inject("nrtApiConfig"))},token:t,providedIn:"root"}),t}(g),w=function(){function t(t,e){this.jsonApiClient=t,this.config=e,this.resourceUrl=e.baseUrl+"/plugins/thehitman/actions/custom_trigger/bundles"}return t.prototype.create=function(t,e,r){var n=this.setHeaders(t,r);return this.jsonApiClient._post(this.resourceUrl,e,n)},t.prototype.read=function(t,e,r){var n=this.setHeaders(t,r);return this.jsonApiClient._get(this.resourceUrl,e,n)},t.prototype.readAll=function(t,e){var r=this.setHeaders(t,e);return this.jsonApiClient._getAll(this.resourceUrl,r)},t.prototype["delete"]=function(t,e,r){var n=this.setHeaders(t,r);return this.jsonApiClient._delete(this.resourceUrl,e,n)},t.prototype.setHeaders=function(t,e){return f({},e,{headers:{"X-Near-App-Id":t}})},t.decorators=[{type:n.Injectable,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[{type:h},{type:undefined,decorators:[{type:n.Inject,args:["nrtApiConfig"]}]}]},t.ngInjectableDef=n.defineInjectable({factory:function(){return new t(n.inject(h),n.inject("nrtApiConfig"))},token:t,providedIn:"root"}),t}(),U=function(){function t(t,e){this.jsonApiClient=t,this.config=e,this.resourceUrl=e.baseUrl+"/plugins/congrego/configurations"}return t.prototype.update=function(t,e,r){var n=this,o={mappings:{},id:t,type:"configurations"};return e.map(function(t){o.mappings[t.id]={kind:t.kind,label:t.label,choices:t.choices,allowed:t.allowed}}),this.jsonApiClient._put(this.resourceUrl,t,o,r).pipe(a.map(function(t){return n.toMappingList(t)}))},t.prototype.read=function(t,e){var r=this;return this.jsonApiClient._get(this.resourceUrl,t,e).pipe(a.map(function(t){return r.toMappingList(t)}))},t.prototype.toMappingList=function(e){var r=[];return Object.keys(e.mappings).forEach(function(t){r.push({id:t,label:e.mappings[t].label,kind:e.mappings[t].kind,choices:e.mappings[t].choices,allowed:e.mappings[t].allowed})}),r},t.decorators=[{type:n.Injectable,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[{type:h},{type:undefined,decorators:[{type:n.Inject,args:["nrtApiConfig"]}]}]},t.ngInjectableDef=n.defineInjectable({factory:function(){return new t(n.inject(h),n.inject("nrtApiConfig"))},token:t,providedIn:"root"}),t}(),P=function(){function t(){}return t.root="root",t.impersonate="impersonate",t.owner="agent",t.developer="app-manager",t.marketer="marketer",t.cashier="cashier",t}(),x=function(){function e(){}return e.getIcon=function(t){switch(t){case e.BOOLEAN:return"type_booleano";case e.DATE:return"calendar_medium";case e.NUMERIC:return"type_number_small";case e.TEXT:return"text_small";case e.LIST:case e.MULTI:return"type_enumeration_small";default:return"icon_not_found"}},e.asArray=function(){return[e.LIST,e.MULTI,e.BOOLEAN,e.DATE,e.NUMERIC,e.TEXT]},e.BOOLEAN="boolean",e.DATE="date",e.NUMERIC="numeric",e.TEXT="text",e.LIST="list",e.MULTI="multi",e}(),S=function(){function t(){}return t.prototype.hasAuthorization=function(t,e){var r,n;try{for(var o=R(e),i=o.next();!i.done;i=o.next()){var a=i.value;if(t.role===P[a])return!0;if(P[a]===P.impersonate&&t.impersonate)return!0}}catch(s){r={error:s}}finally{try{i&&!i.done&&(n=o["return"])&&n.call(o)}finally{if(r)throw r.error}}return!1},t.prototype.decodeJwt=function(t){return(new e.JwtHelperService).decodeToken(t)},t.prototype.jwtToNrtAccount=function(t){var e=this.decodeJwt(t),r={token:t,id:e.data.account.id,role:e.data.account.role_key};return i.has(e,"data.super_account.role_key")?r.impersonate=e.data.super_account.role_key:delete r.impersonate,r},t.prototype.gotUserInfo=function(t){return null!=t.email},t.decorators=[{type:n.Injectable,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[]},t.ngInjectableDef=n.defineInjectable({factory:function(){return new t},token:t,providedIn:"root"}),t}(),k=function(){function e(){}return e.forRoot=function(t){return{ngModule:e,providers:[[y,{provide:"nrtApiConfig",useValue:t}],[S,{provide:"nrtApiConfig",useValue:t}],[v,{provide:"nrtApiConfig",useValue:t}],[j,{provide:"nrtApiConfig",useValue:t}],[A,{provide:"nrtApiConfig",useValue:t}],[b,{provide:"nrtApiConfig",useValue:t}],[_,{provide:"nrtApiConfig",useValue:t}],[h,{provide:"nrtApiConfig",useValue:t}],[C,{provide:"nrtApiConfig",useValue:t}],[E,{provide:"nrtApiConfig",useValue:t}],[U,{provide:"nrtApiConfig",useValue:t}]]}},e.decorators=[{type:n.NgModule,args:[{imports:[p.CommonModule,r.HttpClientModule]}]}],e}(),T=function(){function t(){this.operationFilter={}}return t.prototype.build=function(){return this.operationFilter},t.prototype.pageable=function(t){return this.operationFilter.page=t,this},t.prototype.search=function(t){return this.operationFilter.search=t,this},t.prototype.sortBy=function(t){return this.operationFilter.sort=t,this},t.prototype.include=function(t){return this.operationFilter.include=t,this},t.prototype.byCustomFilter=function(t,e){return this.operationFilter.filter||(this.operationFilter.filter={}),this.operationFilter.filter[t]=e,this},t.prototype.byAppId=function(t){return this.operationFilter=f({},this.operationFilter,{filter:{app_id:t}}),this},t}();t.NrtApiModule=k,t.AccountProviderService=y,t.AppProviderService=v,t.AuthProviderService=j,t.BeaconProviderService=A,t.ImageProviderService=b,t.InstallationProviderService=_,t.ProfileProviderService=C,t.PushConfigurationProviderService=E,t.InAppEventProviderService=w,t.UserDataMappingProviderService=U,t.NrtRole=P,t.NrtUserDataMappingType=x,t.NrtWsEvents=m,t.NrtWsService=I,t.NrtFilterBuilder=T,t.AccountUtilsService=S,t.ɵg=h,t.ɵa=y,t.ɵb=v,t.ɵc=j,t.ɵd=A,t.ɵe=b,t.ɵf=_,t.ɵh=C,t.ɵk=U,t.ɵj=g,t.ɵi=E,Object.defineProperty(t,"__esModule",{value:!0})}); | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core"),require("@angular/common/http"),require("rxjs/operators"),require("rxjs"),require("lodash"),require("queueing-subject/lib"),require("rxjs-websockets/lib"),require("@auth0/angular-jwt"),require("@angular/common")):"function"==typeof define&&define.amd?define("ngx-nearit-api",["exports","@angular/core","@angular/common/http","rxjs/operators","rxjs","lodash","queueing-subject/lib","rxjs-websockets/lib","@auth0/angular-jwt","@angular/common"],e):e(t["ngx-nearit-api"]={},t.ng.core,t.ng.common.http,t.rxjs.operators,t.rxjs,t.lodash,t.lib,t.websocketConnect,t.angularJwt,t.ng.common)}(this,function(t,n,r,a,i,o,s,u,e,p){"use strict";u=u&&u.hasOwnProperty("default")?u["default"]:u;var c=function(t,e){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)};function l(t,e){function r(){this.constructor=t}c(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}var f=function(){return(f=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var i in e=arguments[r])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function R(t){var e="function"==typeof Symbol&&t[Symbol.iterator],r=0;return e?e.call(t):{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}}}var d=function(){function l(){}return l.toJsonModel=function(t,e){var r={};if(t&&(r.id=t.id,r.type=t.type,this.populateJsonAttributes(r,t),t.relationships&&(r.relationships=this.populateJsonRelationships(t.relationships)),t.meta&&(r.meta=this.populateJsonMeta(t.meta)),e)){r.included={},r.included=this.populateInclude(r,t,e,{})}return r},l.toJsonArrayModel=function(t,e,r){var n,i,o=[];try{for(var a=R(t),s=a.next();!s.done;s=a.next()){var u=s.value;o.push(l.toJsonModel(u,e))}}catch(c){n={error:c}}finally{try{s&&!s.done&&(i=a["return"])&&i.call(a)}finally{if(n)throw n.error}}if(r){var p={};return p.meta=this.populateJsonMeta(r),p.array=o,p}return o},l.toJsonApiModel=function(t){var e,r,n={data:{attributes:{}}};for(var i in n.data.id=t.id,n.data.type=t.type,t)this.notAttributeType(i)||(n.data.attributes[i]=t[i]);if(t.relationships){n.data.relationships={};try{for(var o=R(Object.keys(t.relationships)),a=o.next();!a.done;a=o.next()){i=a.value;n.data.relationships[i]=t.relationships[i]}}catch(s){e={error:s}}finally{try{a&&!a.done&&(r=o["return"])&&r.call(o)}finally{if(e)throw e.error}}}return n},l.populateJsonAttributes=function(t,e){var r,n;if(e&&e.attributes)try{for(var i=R(Object.keys(e.attributes)),o=i.next();!o.done;o=i.next()){var a=o.value;t[a]=e.attributes[a]}}catch(s){r={error:s}}finally{try{o&&!o.done&&(n=i["return"])&&n.call(i)}finally{if(r)throw r.error}}},l.populateJsonRelationships=function(t){var e,r,n={};try{for(var i=R(Object.keys(t)),o=i.next();!o.done;o=i.next()){var a=o.value;n[a]=t[a]}}catch(s){e={error:s}}finally{try{o&&!o.done&&(r=i["return"])&&r.call(i)}finally{if(e)throw e.error}}return n},l.populateJsonMeta=function(t){var e,r,n={};try{for(var i=R(Object.keys(t)),o=i.next();!o.done;o=i.next()){var a=o.value;n[a]=t[a]}}catch(s){e={error:s}}finally{try{o&&!o.done&&(r=i["return"])&&r.call(i)}finally{if(e)throw e.error}}return n},l.populateInclude=function(f,d,h,y){var t,e,r=function(t){var e,r,n=d.relationships[t].data;if(f.included[t]={},!n)return"continue";if(Array.isArray(n)){var i=[],o=function(e){var t={},r=h.find(function(t){return t.id===e.id});if(!r)return"continue";if(t.id=r.id,g.populateJsonAttributes(t,r),r.meta&&(t.meta=g.populateJsonMeta(r.meta)),r.relationships&&!y[e.id]){y[e.id]=e.id;var n=g.populateInclude({included:{}},r,h,y);t.included=n,t.relationships=g.populateJsonRelationships(r.relationships)}i.push(t)};try{for(var a=R(n),s=a.next();!s.done;s=a.next()){o(s.value)}}catch(l){e={error:l}}finally{try{s&&!s.done&&(r=a["return"])&&r.call(a)}finally{if(e)throw e.error}}f.included[t]=i}else if("parent"===t)f.included[t].id=n.id;else{var u={},p=h.find(function(t){return t.id===n.id});if(p){if(u.id=p.id,g.populateJsonAttributes(u,p),p.meta&&(u.meta=g.populateJsonMeta(p.meta)),p.relationships&&!y[n.id]){y[n.id]=n.id;var c=g.populateInclude({included:{}},p,h,y);u.included=c,u.relationships=g.populateJsonRelationships(p.relationships)}f.included[t]=u}}},g=this;try{for(var n=R(Object.keys(d.relationships)),i=n.next();!i.done;i=n.next()){r(i.value)}}catch(o){t={error:o}}finally{try{i&&!i.done&&(e=n["return"])&&e.call(n)}finally{if(t)throw t.error}}return f.included},l.createFilter=function(t){var e,r,n,i,o,a,s,u,p,c,l,f,d={};t.sort&&(d.sort=t.sort),t.include&&(d.include=t.include),t.polyglot&&(d.polyglot=t.polyglot);var h=t.filter;for(var y in h)if(h[y]instanceof Object)try{for(var g=R(Object.keys(h[y])),v=g.next();!v.done;v=g.next()){var j=v.value;d["filter["+y+"]["+j+"]"]=h[y][j]}}catch(k){e={error:k}}finally{try{v&&!v.done&&(r=g["return"])&&r.call(g)}finally{if(e)throw e.error}}else d["filter["+y+"]"]=h[y];if(t.filterMultipleFields&&(d.filter=t.filterMultipleFields),t.startsWith)try{for(var A=R(Object.keys(t.startsWith)),m=A.next();!m.done;m=A.next()){d["filter["+(y=m.value)+"][starts_with]"]=t.startsWith[y]}}catch(S){n={error:S}}finally{try{m&&!m.done&&(i=A["return"])&&i.call(A)}finally{if(n)throw n.error}}if(t.starts)try{for(var I=R(Object.keys(t.starts)),b=I.next();!b.done;b=I.next()){d["filter["+(y=b.value)+"][start]"]=t.starts[y]}}catch(x){o={error:x}}finally{try{b&&!b.done&&(a=I["return"])&&a.call(I)}finally{if(o)throw o.error}}if(t.ends)try{for(var _=R(Object.keys(t.ends)),C=_.next();!C.done;C=_.next()){d["filter["+(y=C.value)+"][end]"]=t.ends[y]}}catch(T){s={error:T}}finally{try{C&&!C.done&&(u=_["return"])&&u.call(_)}finally{if(s)throw s.error}}if(t.contains)try{for(var E=R(Object.keys(t.contains)),w=E.next();!w.done;w=E.next()){d["filter["+(y=w.value)+"][contains]"]=t.contains[y]}}catch(O){p={error:O}}finally{try{w&&!w.done&&(c=E["return"])&&c.call(E)}finally{if(p)throw p.error}}if(t.page)try{for(var U=R(Object.keys(t.page)),P=U.next();!P.done;P=U.next()){d["page["+(y=P.value)+"]"]=t.page[y]}}catch(M){l={error:M}}finally{try{P&&!P.done&&(f=U["return"])&&f.call(U)}finally{if(l)throw l.error}}return t.search&&(d.search=t.search),t.app_id&&(d.app_id=t.app_id),t.price&&(d.price=t.price),d},l.notAttributeType=function(t){return"relationships"===t||"meta"===t||"included"===t||"id"===t||"type"===t},l.addRelationship=function(t,e){var r=e.key,n=e.type,i=e.data,o=f({},t);if(o.relationships||(o.relationships={}),Array.isArray(i)){if(0===i.length)return;o.relationships[r]={data:[]};for(var a=0;a<i.length;a++){var s=i[a];null!=s&&""!==s&&o.relationships[r].data.push({id:s,type:n})}}else o.relationships[r]={data:{id:i,type:n}};return o},l.cleanRelationships=function(t){return t&&t.relationships&&delete t.relationships,t},l}(),h=function(){function t(t){this.http=t}return t.prototype._get=function(t,e,r){return r&&r.params&&(r.params=d.createFilter(r.params)),e&&(t=t+"/"+e),this.http.get(t,r).pipe(a.retry(2),a.catchError(function(t){return i.throwError(t)}),a.map(function(t){return d.toJsonModel(o.get(t,"data",{}),o.get(t,"included",null))}))},t.prototype._getAll=function(t,e){return e&&e.params&&(e.params=d.createFilter(e.params)),this.http.get(t,e).pipe(a.retry(2),a.catchError(function(t){return i.throwError(t)}),a.map(function(t){return d.toJsonArrayModel(o.get(t,"data",[]))}))},t.prototype._post=function(t,e,r){return this.http.post(t,d.toJsonApiModel(e)).pipe(a.retry(2),a.catchError(function(t){return i.throwError(t)}),a.map(function(t){return d.toJsonModel(o.get(t,"data",{}),o.get(t,"included",null))}))},t.prototype._put=function(t,e,r,n){return this.http.put(t+"/"+e,d.toJsonApiModel(r)).pipe(a.retry(2),a.catchError(function(t){return i.throwError(t)}),a.map(function(t){return d.toJsonModel(o.get(t,"data",{}),o.get(t,"included",null))}))},t.prototype._delete=function(t,e,r){return this.http["delete"](t+"/"+e,r).pipe(a.retry(2),a.catchError(function(t){return i.throwError(t)}),a.map(function(t){if(t&&t.data)return d.toJsonModel(o.get(t,"data",{}),o.get(t,"included",null))}))},t.decorators=[{type:n.Injectable}],t.ctorParameters=function(){return[{type:r.HttpClient}]},t}(),y=function(){function t(t,e){this.jsonApiClient=t,this.config=e,this.resourceUrl=e.baseUrl+"/accounts"}return t.prototype.create=function(t,e,r){var n=this.setupRelationships(t,e);return this.jsonApiClient._post(this.resourceUrl,n,r)},t.prototype.readAll=function(t){return this.jsonApiClient._getAll(this.resourceUrl,t)},t.prototype.read=function(t,e){return this.jsonApiClient._get(this.resourceUrl,t,e)},t.prototype.update=function(t,e,r,n){var i=this.setupRelationships(e,r);return this.jsonApiClient._put(this.resourceUrl,t,i,n)},t.prototype["delete"]=function(t,e){return this.jsonApiClient._delete(this.resourceUrl,t,e)},t.prototype.setupRelationships=function(t,e){return t=d.addRelationship(t,{key:"parent",type:"accounts",data:e}),delete(t=d.addRelationship(t,{key:"apps",type:"apps",data:t.apps})).apps,t},t.decorators=[{type:n.Injectable}],t.ctorParameters=function(){return[{type:h},{type:undefined,decorators:[{type:n.Inject,args:["nrtApiConfig"]}]}]},t}(),g=function(){function t(t,e,r){this.jsonApiClient=t,this._resourceUrl=e,this._config=r,this.config=r,this.resourceUrl=r.baseUrl+e}return t.prototype.create=function(t,e){return this.jsonApiClient._post(this.resourceUrl,t,e)},t.prototype.readAll=function(t){return this.jsonApiClient._getAll(this.resourceUrl,t)},t.prototype.read=function(t,e){return this.jsonApiClient._get(this.resourceUrl,t,e)},t.prototype.update=function(t,e,r){return this.jsonApiClient._put(this.resourceUrl,t,e,r)},t.prototype["delete"]=function(t,e){return this.jsonApiClient._delete(this.resourceUrl,t,e)},t.decorators=[{type:n.Injectable}],t.ctorParameters=function(){return[{type:h},null,{type:undefined}]},t}(),v=function(r){function t(t,e){return r.call(this,t,"/apps",e)||this}return l(t,r),t.prototype.getStats=function(t){return this.jsonApiClient._get(this.resourceUrl+"/"+t+"/stats")},t.decorators=[{type:n.Injectable}],t.ctorParameters=function(){return[{type:h},{type:undefined,decorators:[{type:n.Inject,args:["nrtApiConfig"]}]}]},t}(g),j=function(){function t(t,e){this.jsonApiClient=t,this.config=e,this.resourceURL=e.baseUrl}return t.prototype.login=function(t,e){return this.jsonApiClient._post(this.resourceURL+"/auth",t,e)},t.prototype.signup=function(t,e){return this.jsonApiClient._post(this.resourceURL+"/signup",t,e)},t.prototype.impersonate=function(t,e){return this.jsonApiClient._get(this.resourceURL+"/masks/as",t,e)},t.prototype.deImpersonate=function(t){return this.jsonApiClient._get(this.resourceURL+"/masks/up","",t)},t.prototype.sendRecoveryEmail=function(t,e){return this.jsonApiClient._post(this.resourceURL+"/auth/new_password",{type:"authorization",email:t},e)},t.prototype.validateChangePasswordToken=function(t,e){return this.jsonApiClient._post(this.resourceURL+"/auth/exchange_token",{type:"authorization",token:t},e)},t.prototype.updatePassword=function(e,r,t){var n,i=this,o=this.resourceURL+"/accounts";return this.jsonApiClient._get(o,e,t).pipe(a.flatMap(function(t){return n=f({},t,{password:r}),i.jsonApiClient._put(o,e,n)}),a.map(function(){return n}))},t.decorators=[{type:n.Injectable}],t.ctorParameters=function(){return[{type:h},{type:undefined,decorators:[{type:n.Inject,args:["nrtApiConfig"]}]}]},t}(),A=function(r){function t(t,e){return r.call(this,t,"/plugins/geopolis/beacons",e)||this}return l(t,r),t.decorators=[{type:n.Injectable,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[{type:h},{type:undefined,decorators:[{type:n.Inject,args:["nrtApiConfig"]}]}]},t.ngInjectableDef=n.defineInjectable({factory:function(){return new t(n.inject(h),n.inject("nrtApiConfig"))},token:t,providedIn:"root"}),t}(g),m=function(){function t(){}return t.RECIPE_FIRED="RECIPE_FIRED",t.INSTALLATION_CREATEDì="INSTALLATION_CREATED",t.UPLOAD_PROCESSED="UPLOAD_PROCESSED",t.IMAGE_PROCESSED="IMAGE_PROCESSED",t.TEST_DEVICE_ENROLLED="TEST_DEVICE_ENROLLED",t.TEST_DEVICE_UNENROLLED="TEST_DEVICE_UNENROLLED",t.TEST_PUSH_SENT="TEST_PUSH_SENT",t}(),I=function(){function t(t){this.config=t,this.wssUrl=t.wssUrl}return t.prototype.init=function(t,e){var r=u(this.wssUrl+"/apps/"+e+"?jwt="+t,new s.QueueingSubject);this.messages=r.messages,this.connectionStatus=r.connectionStatus},t.prototype.register=function(){return this.messages.pipe(a.retryWhen(function(t){return t?t.delay(1e3):null}),a.map(function(t){return t?JSON.parse(t):t}))},t.decorators=[{type:n.Injectable,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[{type:undefined,decorators:[{type:n.Inject,args:["nrtApiConfig"]}]}]},t.ngInjectableDef=n.defineInjectable({factory:function(){return new t(n.inject("nrtApiConfig"))},token:t,providedIn:"root"}),t}(),b=function(){function t(t,e,r){this.jsonApiClient=t,this.ws=e,this.config=r,this.resourceUrl=r.baseUrl+"/media/images"}return t.prototype.create=function(t,e){return this.jsonApiClient._post(this.resourceUrl,t,e)},t.prototype.upload=function(t,e,r){var n=this;return i.of({name:r.name,image:r.base64,app_id:e,creator_id:t}).pipe(a.flatMap(function(t){return n.create(t)}),a.flatMap(function(t){return n.currentImgId=t.id,n.ws.register()}),a.filter(function(t){return t&&t.event===m.IMAGE_PROCESSED&&t.data.id===n.currentImgId}),a.first(),a.map(function(t){return o.get(t,"data.attributes.image.url")}),a.finalize(function(){return n.currentImgId=null}))},t.decorators=[{type:n.Injectable,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[{type:h},{type:I},{type:undefined,decorators:[{type:n.Inject,args:["nrtApiConfig"]}]}]},t.ngInjectableDef=n.defineInjectable({factory:function(){return new t(n.inject(h),n.inject(I),n.inject("nrtApiConfig"))},token:t,providedIn:"root"}),t}(),_=function(r){function t(t,e){return r.call(this,t,"/installations",e)||this}return l(t,r),t.prototype.sendTestInvitation=function(t,e){return this.jsonApiClient._post(this.config.baseUrl+"/apps/"+t+"/send_test_invitation?email="+e,{})},t.decorators=[{type:n.Injectable,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[{type:h},{type:undefined,decorators:[{type:n.Inject,args:["nrtApiConfig"]}]}]},t.ngInjectableDef=n.defineInjectable({factory:function(){return new t(n.inject(h),n.inject("nrtApiConfig"))},token:t,providedIn:"root"}),t}(g),C=function(r){function t(t,e){return r.call(this,t,"/profiles",e)||this}return l(t,r),t.decorators=[{type:n.Injectable,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[{type:h},{type:undefined,decorators:[{type:n.Inject,args:["nrtApiConfig"]}]}]},t.ngInjectableDef=n.defineInjectable({factory:function(){return new t(n.inject(h),n.inject("nrtApiConfig"))},token:t,providedIn:"root"}),t}(g),E=function(r){function t(t,e){return r.call(this,t,"/plugins/push-machine/configurations",e)||this}return l(t,r),t.prototype.convertP12=function(t){return this.jsonApiClient._post(this.config.baseUrl+"/certificates/p12toPEM",t)},t.prototype.sendTestPush=function(t,e){var r=this.config.baseUrl+"/plugins/push-machine/pushes/send_push_test?app_id="+t+"&installation_ids="+e;return this.jsonApiClient._post(r,{})},t.prototype.getTestPushReport=function(t){var e=this.config.baseUrl+"/plugins/push-machine/pushes/test/stats?app_id="+t;return this.jsonApiClient._getAll(e)},t.decorators=[{type:n.Injectable,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[{type:h},{type:undefined,decorators:[{type:n.Inject,args:["nrtApiConfig"]}]}]},t.ngInjectableDef=n.defineInjectable({factory:function(){return new t(n.inject(h),n.inject("nrtApiConfig"))},token:t,providedIn:"root"}),t}(g),w=function(){function t(t,e){this.jsonApiClient=t,this.config=e}return t.prototype.readBillingDetails=function(t){var e=this,r=(new M).byAppId(t).build();return this.jsonApiClient._get(this.config.baseUrl+"/recipes/stats",null,{params:r}).pipe(a.map(function(t){return{active:e.getFirstVal(t.active),limit:e.getFirstVal(t.limits)}}))},t.prototype.getFirstVal=function(t){return t[Object.keys(t)[0]]},t.decorators=[{type:n.Injectable,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[{type:h},{type:undefined,decorators:[{type:n.Inject,args:["nrtApiConfig"]}]}]},t.ngInjectableDef=n.defineInjectable({factory:function(){return new t(n.inject(h),n.inject("nrtApiConfig"))},token:t,providedIn:"root"}),t}(),U=function(){function t(t,e){this.jsonApiClient=t,this.config=e,this.resourceUrl=e.baseUrl+"/plugins/thehitman/actions/custom_trigger/bundles"}return t.prototype.create=function(t,e,r){var n=this.setHeaders(t,r);return this.jsonApiClient._post(this.resourceUrl,e,n)},t.prototype.read=function(t,e,r){var n=this.setHeaders(t,r);return this.jsonApiClient._get(this.resourceUrl,e,n)},t.prototype.readAll=function(t,e){var r=this.setHeaders(t,e);return this.jsonApiClient._getAll(this.resourceUrl,r)},t.prototype["delete"]=function(t,e,r){var n=this.setHeaders(t,r);return this.jsonApiClient._delete(this.resourceUrl,e,n)},t.prototype.setHeaders=function(t,e){return f({},e,{headers:{"X-Near-App-Id":t}})},t.decorators=[{type:n.Injectable,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[{type:h},{type:undefined,decorators:[{type:n.Inject,args:["nrtApiConfig"]}]}]},t.ngInjectableDef=n.defineInjectable({factory:function(){return new t(n.inject(h),n.inject("nrtApiConfig"))},token:t,providedIn:"root"}),t}(),P=function(){function t(t,e){this.jsonApiClient=t,this.config=e}return t.prototype.read=function(t,e,r){return this.jsonApiClient._get(this.config.baseUrl+"/usage/profiles/apps/"+t+"?month="+e+"&year="+r)},t.decorators=[{type:n.Injectable,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[{type:h},{type:undefined,decorators:[{type:n.Inject,args:["nrtApiConfig"]}]}]},t.ngInjectableDef=n.defineInjectable({factory:function(){return new t(n.inject(h),n.inject("nrtApiConfig"))},token:t,providedIn:"root"}),t}(),k=function(){function t(t,e){this.jsonApiClient=t,this.config=e,this.resourceUrl=e.baseUrl+"/plugins/congrego/configurations"}return t.prototype.update=function(t,e,r){var n=this,i={mappings:{},id:t,type:"configurations"};return e.map(function(t){i.mappings[t.id]={kind:t.kind,label:t.label,choices:t.choices,allowed:t.allowed}}),this.jsonApiClient._put(this.resourceUrl,t,i,r).pipe(a.map(function(t){return n.toMappingList(t)}))},t.prototype.read=function(t,e){var r=this;return this.jsonApiClient._get(this.resourceUrl,t,e).pipe(a.map(function(t){return r.toMappingList(t)}))},t.prototype.toMappingList=function(e){var r=[];return Object.keys(e.mappings).forEach(function(t){r.push({id:t,label:e.mappings[t].label,kind:e.mappings[t].kind,choices:e.mappings[t].choices,allowed:e.mappings[t].allowed})}),r},t.decorators=[{type:n.Injectable,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[{type:h},{type:undefined,decorators:[{type:n.Inject,args:["nrtApiConfig"]}]}]},t.ngInjectableDef=n.defineInjectable({factory:function(){return new t(n.inject(h),n.inject("nrtApiConfig"))},token:t,providedIn:"root"}),t}(),S=function(){function t(){}return t.root="root",t.impersonate="impersonate",t.owner="agent",t.developer="app-manager",t.marketer="marketer",t.cashier="cashier",t}(),x=function(){function e(){}return e.getIcon=function(t){switch(t){case e.BOOLEAN:return"type_booleano";case e.DATE:return"calendar_medium";case e.NUMERIC:return"type_number_small";case e.TEXT:return"text_small";case e.LIST:case e.MULTI:return"type_enumeration_small";default:return"icon_not_found"}},e.asArray=function(){return[e.LIST,e.MULTI,e.BOOLEAN,e.DATE,e.NUMERIC,e.TEXT]},e.BOOLEAN="boolean",e.DATE="date",e.NUMERIC="numeric",e.TEXT="text",e.LIST="list",e.MULTI="multi",e}(),T=function(){function t(){}return t.prototype.hasAuthorization=function(t,e){var r,n;try{for(var i=R(e),o=i.next();!o.done;o=i.next()){var a=o.value;if(t.role===S[a])return!0;if(S[a]===S.impersonate&&t.impersonate)return!0}}catch(s){r={error:s}}finally{try{o&&!o.done&&(n=i["return"])&&n.call(i)}finally{if(r)throw r.error}}return!1},t.prototype.decodeJwt=function(t){return(new e.JwtHelperService).decodeToken(t)},t.prototype.jwtToNrtAccount=function(t){var e=this.decodeJwt(t),r={token:t,id:e.data.account.id,role:e.data.account.role_key};return o.has(e,"data.super_account.role_key")?r.impersonate=e.data.super_account.role_key:delete r.impersonate,r},t.prototype.gotUserInfo=function(t){return null!=t.email},t.decorators=[{type:n.Injectable,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[]},t.ngInjectableDef=n.defineInjectable({factory:function(){return new t},token:t,providedIn:"root"}),t}(),O=function(){function e(){}return e.forRoot=function(t){return{ngModule:e,providers:[[y,{provide:"nrtApiConfig",useValue:t}],[T,{provide:"nrtApiConfig",useValue:t}],[v,{provide:"nrtApiConfig",useValue:t}],[j,{provide:"nrtApiConfig",useValue:t}],[A,{provide:"nrtApiConfig",useValue:t}],[b,{provide:"nrtApiConfig",useValue:t}],[_,{provide:"nrtApiConfig",useValue:t}],[h,{provide:"nrtApiConfig",useValue:t}],[C,{provide:"nrtApiConfig",useValue:t}],[E,{provide:"nrtApiConfig",useValue:t}],[k,{provide:"nrtApiConfig",useValue:t}]]}},e.decorators=[{type:n.NgModule,args:[{imports:[p.CommonModule,r.HttpClientModule]}]}],e}(),M=function(){function t(){this.operationFilter={}}return t.prototype.build=function(){return this.operationFilter},t.prototype.pageable=function(t){return this.operationFilter.page=t,this},t.prototype.search=function(t){return this.operationFilter.search=t,this},t.prototype.sortBy=function(t){return this.operationFilter.sort=t,this},t.prototype.include=function(t){return this.operationFilter.include=t,this},t.prototype.byCustomFilter=function(t,e){return this.operationFilter.filter||(this.operationFilter.filter={}),this.operationFilter.filter[t]=e,this},t.prototype.byAppId=function(t){return this.operationFilter=f({},this.operationFilter,{filter:{app_id:t}}),this},t}();t.NrtApiModule=O,t.AccountProviderService=y,t.AppProviderService=v,t.AuthProviderService=j,t.BeaconProviderService=A,t.ImageProviderService=b,t.InstallationProviderService=_,t.ProfileProviderService=C,t.PushConfigurationProviderService=E,t.RecipeProviderService=w,t.InAppEventProviderService=U,t.UsageProviderService=P,t.UserDataMappingProviderService=k,t.NrtRole=S,t.NrtUserDataMappingType=x,t.NrtWsEvents=m,t.NrtWsService=I,t.NrtFilterBuilder=M,t.AccountUtilsService=T,t.ɵg=h,t.ɵa=y,t.ɵb=v,t.ɵc=j,t.ɵd=A,t.ɵe=b,t.ɵf=_,t.ɵh=C,t.ɵk=k,t.ɵj=g,t.ɵi=E,Object.defineProperty(t,"__esModule",{value:!0})}); | ||
//# sourceMappingURL=ngx-nearit-api.umd.min.js.map |
@@ -19,5 +19,7 @@ /** | ||
export {} from './nrt-profile.model'; | ||
export {} from './nrt-recipe-limit.model'; | ||
export { NrtRole } from './nrt-role.model'; | ||
export {} from './nrt-signup-request.model'; | ||
export {} from './nrt-usage.model'; | ||
export { NrtUserDataMappingType } from './nrt-user-data-mapping.model'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9uZ3gtbmVhcml0LWFwaS8iLCJzb3VyY2VzIjpbImxpYi9tb2RlbHMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLGVBQWMscUJBQXFCLENBQUM7QUFDcEMsZUFBYyxpQkFBaUIsQ0FBQztBQUNoQyxlQUFjLHVCQUF1QixDQUFDO0FBQ3RDLGVBQWMseUJBQXlCLENBQUM7QUFDeEMsZUFBYywyQkFBMkIsQ0FBQztBQUMxQyxlQUFjLG9CQUFvQixDQUFDO0FBQ25DLGVBQWMseUJBQXlCLENBQUM7QUFDeEMsZUFBYyxrQkFBa0IsQ0FBQztBQUNqQyxlQUFjLG1CQUFtQixDQUFDO0FBQ2xDLGVBQWMsMEJBQTBCLENBQUM7QUFDekMsZUFBYywwQkFBMEIsQ0FBQztBQUN6QyxlQUFjLGdDQUFnQyxDQUFDO0FBQy9DLGVBQWMsaUNBQWlDLENBQUM7QUFDaEQsZUFBYyxxQkFBcUIsQ0FBQztBQUNwQyx3QkFBYyxrQkFBa0IsQ0FBQztBQUNqQyxlQUFjLDRCQUE0QixDQUFDO0FBQzNDLHVDQUFjLCtCQUErQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9ucnQtYWNjb3VudC5tb2RlbCc7XG5leHBvcnQgKiBmcm9tICcuL25ydC1hcHA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mV4cG9ydCAqIGZyb20gJy4vbnJ0LWluLWFwcC1ldmVudC5tb2RlbCc7XG5leHBvcnQgKiBmcm9tICcuL25ydC1pbnN0YWxsYXRpb24ubW9kZWwnO1xuZXhwb3J0ICogZnJvbSAnLi9ucnQtcHVzaC1jb25maWd1cmF0aW9uLm1vZGVsJztcbmV4cG9ydCAqIGZyb20gJy4vbnJ0LXB1c2gtZGVsaXZlcnktc3RhdHMubW9kZWwnO1xuZXhwb3J0ICogZnJvbSAnLi9ucnQtcHJvZmlsZS5tb2RlbCc7XG5leHBvcnQgKiBmcm9tICcuL25ydC1yZWNpcGUtbGltaXQubW9kZWwnO1xuZXhwb3J0ICogZnJvbSAnLi9ucnQtcm9sZS5tb2RlbCc7XG5leHBvcnQgKiBmcm9tICcuL25ydC1zaWdudXAtcmVxdWVzdC5tb2RlbCc7XG5leHBvcnQgKiBmcm9tICcuL25ydC11c2FnZS5tb2RlbCc7XG5leHBvcnQgKiBmcm9tICcuL25ydC11c2VyLWRhdGEtbWFwcGluZy5tb2RlbCc7XG4iXX0= |
@@ -13,4 +13,6 @@ /** | ||
export { PushConfigurationProviderService } from './push-configuration-provider.service'; | ||
export { RecipeProviderService } from './recipe-provider.service'; | ||
export { InAppEventProviderService } from './in-app-event-provider.service'; | ||
export { UsageProviderService } from './usage-provider.service'; | ||
export { UserDataMappingProviderService } from './user-data-mapping-provider.service'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9uZ3gtbmVhcml0LWFwaS8iLCJzb3VyY2VzIjpbImxpYi9wcm92aWRlcnMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLHVDQUFjLDRCQUE0QixDQUFDO0FBQzNDLG1DQUFjLHdCQUF3QixDQUFDO0FBQ3ZDLG9DQUFjLHlCQUF5QixDQUFDO0FBQ3hDLHNDQUFjLDJCQUEy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7XG5leHBvcnQgKiBmcm9tICcuL3VzZXItZGF0YS1tYXBwaW5nLXByb3ZpZGVyLnNlcnZpY2UnO1xuIl19 |
@@ -8,3 +8,3 @@ /** | ||
*/ | ||
export { NrtApiModule, AccountProviderService, AppProviderService, AuthProviderService, BeaconProviderService, ImageProviderService, InstallationProviderService, ProfileProviderService, PushConfigurationProviderService, InAppEventProviderService, UserDataMappingProviderService, NrtRole, NrtUserDataMappingType, NrtWsEvents, NrtWsService, NrtFilterBuilder, AccountUtilsService } from './public_api'; | ||
export { NrtApiModule, AccountProviderService, AppProviderService, AuthProviderService, BeaconProviderService, ImageProviderService, InstallationProviderService, ProfileProviderService, PushConfigurationProviderService, RecipeProviderService, InAppEventProviderService, UsageProviderService, UserDataMappingProviderService, NrtRole, NrtUserDataMappingType, NrtWsEvents, NrtWsService, NrtFilterBuilder, AccountUtilsService } from './public_api'; | ||
export { JsonApiClientService as ɵg } from './lib/json-api/json-api-client.service'; | ||
@@ -14,2 +14,2 @@ export { AccountProviderService as ɵa, AppProviderService as ɵb, AuthProviderService as ɵc, BeaconProviderService as ɵd, ImageProviderService as ɵe, InstallationProviderService as ɵf, ProfileProviderService as ɵh, UserDataMappingProviderService as ɵk } from './lib/providers'; | ||
export { PushConfigurationProviderService as ɵi } from './lib/providers/push-configuration-provider.service'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LW5lYXJpdC1hcGkuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9uZ3gtbmVhcml0LWFwaS8iLCJzb3VyY2VzIjpbIm5neC1uZWFyaXQtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFJQSxnWUFBYyxjQUFjLENBQUM7QUFFN0IsT0FBTyxFQUFDLG9CQUFvQixJQUFJLEVBQUUsRUFBQyxNQUFNLHdDQUF3QyxDQUFDO0FBQ2xGLE9BQU8sRUFBQyxzQkFBc0IsSUFBSSxFQ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i9wdWJsaWNfYXBpJztcblxuZXhwb3J0IHtKc29uQXBpQ2xpZW50U2VydmljZSBhcyDJtWd9IGZyb20gJy4vbGliL2pzb24tYXBpL2pzb24tYXBpLWNsaWVudC5zZXJ2aWNlJztcbmV4cG9ydCB7QWNjb3VudFByb3ZpZGVyU2VydmljZSBhcyDJtWEsQXBwUHJvdmlkZXJTZXJ2aWNlIGFzIMm1YixBdXRoUHJvdmlkZXJTZXJ2aWNlIGFzIMm1YyxCZWFjb25Qcm92aWRlclNlcnZpY2UgYXMgybVkLEltYWdlUHJvdmlkZXJTZXJ2aWNlIGFzIMm1ZSxJbnN0YWxsYXRpb25Qcm92aWRlclNlcnZpY2UgYXMgybVmLFByb2ZpbGVQcm92aWRlclNlcnZpY2UgYXMgybVoLFVzZXJEYXRhTWFwcGluZ1Byb3ZpZGVyU2VydmljZSBhcyDJtWt9IGZyb20gJy4vbGliL3Byb3ZpZGVycyc7XG5leHBvcnQge0NydWRQcm92aWRlclNlcnZpY2UgYXMgybVqfSBmcm9tICcuL2xpYi9wcm92aWRlcnMvY3J1ZC1wcm92aWRlci5zZXJ2aWNlJztcbmV4cG9ydCB7UHVzaENvbmZpZ3VyYXRpb25Qcm92aWRlclNlcnZpY2UgYXMgybVpfSBmcm9tICcuL2xpYi9wcm92aWRlcnMvcHVzaC1jb25maWd1cmF0aW9uLXByb3ZpZGVyLnNlcnZpY2UnOyJdfQ== |
@@ -9,3 +9,3 @@ /** | ||
export { NrtApiModule } from './lib/nrt-api.module'; | ||
export { AccountProviderService, AppProviderService, AuthProviderService, BeaconProviderService, ImageProviderService, InstallationProviderService, ProfileProviderService, PushConfigurationProviderService, InAppEventProviderService, UserDataMappingProviderService } from './lib/providers'; | ||
export { AccountProviderService, AppProviderService, AuthProviderService, BeaconProviderService, ImageProviderService, InstallationProviderService, ProfileProviderService, PushConfigurationProviderService, RecipeProviderService, InAppEventProviderService, UsageProviderService, UserDataMappingProviderService } from './lib/providers'; | ||
export { NrtRole, NrtUserDataMappingType } from './lib/models'; | ||
@@ -15,2 +15,2 @@ export { NrtWsEvents, NrtWsService } from './lib/nrt-ws/nrt-ws.service'; | ||
export { AccountUtilsService } from './lib/account-utils/account-utils.service'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25neC1uZWFyaXQtYXBpLyIsInNvdXJjZXMiOlsicHVibGljX2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBSUEsNkJBQWMsc0JBQXNCLENBQUM7QUFDckMsK1FBQWMsaUJBQWlCLENBQUM7QUFDaEMsZ0RBQWMsY0FBYyxDQUFDO0FBQzdCLDBDQUFjLDZCQUE2QixDQUFDO0FBQzVDLGlDQUFjLDZDQUE2QyxDQUFDO0FBQzVELG9DQUFjLDJDQUEyQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLypcbiAqIFB1YmxpYyBBUEkgU3VyZmFjZSBvZiBuZ3gtbmVhcml0LWFwaVxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vbGliL25ydC1hcGkubW9kdWxlJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL3Byb3ZpZGVycyc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9tb2RlbHMnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvbnJ0LXdzL25ydC13cy5zZXJ2aWNlJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL25ydC1maWx0ZXItYnVpbGRlci9ucnQtZmlsdGVyLWJ1aWxkZXInO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvYWNjb3VudC11dGlscy9hY2NvdW50LXV0aWxzLnNlcnZpY2UnO1xuIl19 | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25neC1uZWFyaXQtYXBpLyIsInNvdXJjZXMiOlsicHVibGljX2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBSUEsNkJBQWMsc0JBQXNCLENBQUM7QUFDckMsNFRBQWMsaUJBQWlCLENBQUM7QUFDaEMsZ0RBQWMsY0FBYyxDQUFDO0FBQzdCLDBDQUFjLDZCQUE2QixDQUFDO0FBQzVDLGlDQUFjLDZDQUE2QyxDQUFDO0FBQzVELG9DQUFjLDJDQUEyQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLypcbiAqIFB1YmxpYyBBUEkgU3VyZmFjZSBvZiBuZ3gtbmVhcml0LWFwaVxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vbGliL25ydC1hcGkubW9kdWxlJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL3Byb3ZpZGVycyc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9tb2RlbHMnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvbnJ0LXdzL25ydC13cy5zZXJ2aWNlJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL25ydC1maWx0ZXItYnVpbGRlci9ucnQtZmlsdGVyLWJ1aWxkZXInO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvYWNjb3VudC11dGlscy9hY2NvdW50LXV0aWxzLnNlcnZpY2UnO1xuIl19 |
@@ -19,5 +19,7 @@ /** | ||
export {} from './nrt-profile.model'; | ||
export {} from './nrt-recipe-limit.model'; | ||
export { NrtRole } from './nrt-role.model'; | ||
export {} from './nrt-signup-request.model'; | ||
export {} from './nrt-usage.model'; | ||
export { NrtUserDataMappingType } from './nrt-user-data-mapping.model'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9uZ3gtbmVhcml0LWFwaS8iLCJzb3VyY2VzIjpbImxpYi9tb2RlbHMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYX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tICcuL25ydC1zaWdudXAtcmVxdWVzdC5tb2RlbCc7XG5leHBvcnQgKiBmcm9tICcuL25ydC11c2FnZS5tb2RlbCc7XG5leHBvcnQgKiBmcm9tICcuL25ydC11c2VyLWRhdGEtbWFwcGluZy5tb2RlbCc7XG4iXX0= |
@@ -13,4 +13,6 @@ /** | ||
export { PushConfigurationProviderService } from './push-configuration-provider.service'; | ||
export { RecipeProviderService } from './recipe-provider.service'; | ||
export { InAppEventProviderService } from './in-app-event-provider.service'; | ||
export { UsageProviderService } from './usage-provider.service'; | ||
export { UserDataMappingProviderService } from './user-data-mapping-provider.service'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9uZ3gtbmVhcml0LWFwaS8iLCJzb3VyY2VzIjpbImxpYi9wcm92aWRlcnMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLHVDQUFjLDRCQUE0QixDQUFDO0FBQzNDLG1DQUFjLHdCQUF3QixDQUFDO0FBQ3ZDLG9DQUFjLHlCQUF5QixDQUFDO0FBQ3hDLHNDQUFjLDJCQUEyQixDQUFDO0FBQzFDLHFDQUFjLDBCQUEwQixDQUFDO0FBQ3pDLDRDQUFjLGlDQUFpQyxDQUFDO0FBQ2hELHVDQUFjLDRCQUE0QixDQUFDO0FBQzNDLGlEQUFjLHVDQUF1QyxDQUFDO0FBQ3RELDBDQUFjLGlDQUFpQyxDQUFDO0FBQ2hELCtDQUFjLHNDQUFzQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9hY2NvdW50LXByb3ZpZGVyLnNlcnZpY2UnO1xuZXhwb3J0ICogZnJvbSAnLi9hcHAtcHJvdmlkZXIuc2VydmljZSc7XG5leHBvcnQgKiBmcm9tICcuL2F1dGgtcHJvdmlkZXIuc2VydmljZSc7XG5leHBvcnQgKiBmc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b3J0ICogZnJvbSAnLi9hY2NvdW50LXByb3ZpZGVyLnNlcnZpY2UnO1xuZXhwb3J0ICogZnJvbSAnLi9hcHAtcHJvdmlkZXIuc2VydmljZSc7XG5leHBvcnQgKiBmcm9tICcuL2F1dGgtcHJvdmlkZXIuc2VydmljZSc7XG5leHBvcnQgKiBmcm9tICcuL2JlYWNvbi1wcm92aWRlci5zZXJ2aWNlJztcbmV4cG9ydCAqIGZyb20gJy4vaW1hZ2UtcHJvdmlkZXIuc2VydmljZSc7XG5leHBvcnQgKiBmcm9tICcuL2luc3RhbGxhdGlvbi1wcm92aWRlci5zZXJ2aWNlJztcbmV4cG9ydCAqIGZyb20gJy4vcHJvZmlsZS1wcm92aWRlci5zZXJ2aWNlJztcbmV4cG9ydCAqIGZyb20gJy4vcHVzaC1jb25maWd1cmF0aW9uLXByb3ZpZGVyLnNlcnZpY2UnO1xuZXhwb3J0ICogZnJvbSAnLi9yZWNpcGUtcHJvdmlkZXIuc2VydmljZSc7XG5leHBvcnQgKiBmcm9tICcuL2luLWFwcC1ldmVudC1wcm92aWRlci5zZXJ2aWNlJztcbmV4cG9ydCAqIGZyb20gJy4vdXNhZ2UtcHJvdmlkZXIuc2VydmljZSc7XG5leHBvcnQgKiBmcm9tICcuL3VzZXItZGF0YS1tYXBwaW5nLXByb3ZpZGVyLnNlcnZpY2UnO1xuIl19 |
@@ -8,3 +8,3 @@ /** | ||
*/ | ||
export { NrtApiModule, AccountProviderService, AppProviderService, AuthProviderService, BeaconProviderService, ImageProviderService, InstallationProviderService, ProfileProviderService, PushConfigurationProviderService, InAppEventProviderService, UserDataMappingProviderService, NrtRole, NrtUserDataMappingType, NrtWsEvents, NrtWsService, NrtFilterBuilder, AccountUtilsService } from './public_api'; | ||
export { NrtApiModule, AccountProviderService, AppProviderService, AuthProviderService, BeaconProviderService, ImageProviderService, InstallationProviderService, ProfileProviderService, PushConfigurationProviderService, RecipeProviderService, InAppEventProviderService, UsageProviderService, UserDataMappingProviderService, NrtRole, NrtUserDataMappingType, NrtWsEvents, NrtWsService, NrtFilterBuilder, AccountUtilsService } from './public_api'; | ||
export { JsonApiClientService as ɵg } from './lib/json-api/json-api-client.service'; | ||
@@ -14,2 +14,2 @@ export { AccountProviderService as ɵa, AppProviderService as ɵb, AuthProviderService as ɵc, BeaconProviderService as ɵd, ImageProviderService as ɵe, InstallationProviderService as ɵf, ProfileProviderService as ɵh, UserDataMappingProviderService as ɵk } from './lib/providers'; | ||
export { PushConfigurationProviderService as ɵi } from './lib/providers/push-configuration-provider.service'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LW5lYXJpdC1hcGkuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9uZ3gtbmVhcml0LWFwaS8iLCJzb3VyY2VzIjpbIm5neC1uZWFyaXQtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFJQSxnWUFBYyxjQUFjLENBQUM7QUFFN0IsT0FBTyxFQUFDLG9CQUFvQixJQUFJLEVBQUUsRUFBQyxNQUFNLHdDQUF3QyxDQUFDO0FBQ2xGLE9BQU8sRUFBQyxzQkFBc0IsSUFBSSxFQUFFLEVBQUMsa0JBQWtCLElBQUksRUFBRSxFQUFDLG1CQUFtQixJQUFJLEVBQUUsRUFBQyxxQkFBcUIsSUFBSSxFQUFFLEVBQUMsb0JBQW9CLElBQUksRUFBRSxFQUFDLDJCQUEyQixJQUFJLEVBQUUsRUFBQyxzQkFBc0IsSUFBSSxFQUFFLEVBQUMsOEJBQThCLElBQUksRUFBRSxFQUFDLE1BQU0saUJBQWlCLENBQUM7QUFDM1EsT0FBTyxFQUFDLG1CQUFtQixJQUFJLEVBQUUsRUFBQyxNQUFNLHVDQUF1QyxDQUFDO0FBQ2hGLE9BQU8sRUFBQyxnQ0FBZ0MsSUFBSSxFQUFFLEVBQUMsTUFBTSxxREFBcUQsQ0FBQyIsInNvdXJjZXNDb250ZW50Ijp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oLFVzZXJEYXRhTWFwcGluZ1Byb3ZpZGVyU2VydmljZSBhcyDJtWt9IGZyb20gJy4vbGliL3Byb3ZpZGVycyc7XG5leHBvcnQge0NydWRQcm92aWRlclNlcnZpY2UgYXMgybVqfSBmcm9tICcuL2xpYi9wcm92aWRlcnMvY3J1ZC1wcm92aWRlci5zZXJ2aWNlJztcbmV4cG9ydCB7UHVzaENvbmZpZ3VyYXRpb25Qcm92aWRlclNlcnZpY2UgYXMgybVpfSBmcm9tICcuL2xpYi9wcm92aWRlcnMvcHVzaC1jb25maWd1cmF0aW9uLXByb3ZpZGVyLnNlcnZpY2UnOyJdfQ== |
@@ -9,3 +9,3 @@ /** | ||
export { NrtApiModule } from './lib/nrt-api.module'; | ||
export { AccountProviderService, AppProviderService, AuthProviderService, BeaconProviderService, ImageProviderService, InstallationProviderService, ProfileProviderService, PushConfigurationProviderService, InAppEventProviderService, UserDataMappingProviderService } from './lib/providers'; | ||
export { AccountProviderService, AppProviderService, AuthProviderService, BeaconProviderService, ImageProviderService, InstallationProviderService, ProfileProviderService, PushConfigurationProviderService, RecipeProviderService, InAppEventProviderService, UsageProviderService, UserDataMappingProviderService } from './lib/providers'; | ||
export { NrtRole, NrtUserDataMappingType } from './lib/models'; | ||
@@ -15,2 +15,2 @@ export { NrtWsEvents, NrtWsService } from './lib/nrt-ws/nrt-ws.service'; | ||
export { AccountUtilsService } from './lib/account-utils/account-utils.service'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25neC1uZWFyaXQtYXBpLyIsInNvdXJjZXMiOlsicHVibGljX2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBSUEsNkJBQWMsc0JBQXNCLENBQUM7QUFDckMsK1FBQWMsaUJBQWlCLENBQUM7QUFDaEMsZ0RBQWMsY0FBYyxDQUFDO0FBQzdCLDBDQUF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cG9ydCAqIGZyb20gJy4vbGliL3Byb3ZpZGVycyc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9tb2RlbHMnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvbnJ0LXdzL25ydC13cy5zZXJ2aWNlJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL25ydC1maWx0ZXItYnVpbGRlci9ucnQtZmlsdGVyLWJ1aWxkZXInO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvYWNjb3VudC11dGlscy9hY2NvdW50LXV0aWxzLnNlcnZpY2UnO1xuIl19 |
@@ -15,4 +15,6 @@ export * from './nrt-account.model'; | ||
export * from './nrt-profile.model'; | ||
export * from './nrt-recipe-limit.model'; | ||
export * from './nrt-role.model'; | ||
export * from './nrt-signup-request.model'; | ||
export * from './nrt-usage.model'; | ||
export * from './nrt-user-data-mapping.model'; |
@@ -9,3 +9,5 @@ export * from './account-provider.service'; | ||
export * from './push-configuration-provider.service'; | ||
export * from './recipe-provider.service'; | ||
export * from './in-app-event-provider.service'; | ||
export * from './usage-provider.service'; | ||
export * from './user-data-mapping-provider.service'; |
{ | ||
"name": "ngx-nearit-api", | ||
"version": "0.0.9", | ||
"version": "0.0.10", | ||
"homepage": "https://www.nearit.com", | ||
@@ -5,0 +5,0 @@ "author": "Claudio Suardi", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1298307
138
12148