Socket
Socket
Sign inDemoInstall

@essent/document

Package Overview
Dependencies
7
Maintainers
54
Versions
32
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 6.1.0 to 7.0.0

document-by-account-id/config/get-document-by-account-id.config.d.ts

104

bundles/essent-document.umd.js
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@essent/common'), require('@angular/core'), require('@ngrx/effects'), require('rxjs/operators'), require('uuid'), require('@angular/common/http')) :
typeof define === 'function' && define.amd ? define('@essent/document', ['exports', '@essent/common', '@angular/core', '@ngrx/effects', 'rxjs/operators', 'uuid', '@angular/common/http'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.essent = global.essent || {}, global.essent.document = {}), global.essent.common, global.ng.core, global.ngrx.effects, global.rxjs.operators, global.uuid, global.ng.common.http));
})(this, (function (exports, common, i0, i1$1, operators, uuid, i1) { 'use strict';
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@essent/common'), require('@angular/core'), require('rxjs/operators'), require('uuid'), require('@angular/common/http'), require('@ngrx/effects')) :
typeof define === 'function' && define.amd ? define('@essent/document', ['exports', '@essent/common', '@angular/core', 'rxjs/operators', 'uuid', '@angular/common/http', '@ngrx/effects'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.essent = global.essent || {}, global.essent.document = {}), global.essent.common, global.ng.core, global.rxjs.operators, global.uuid, global.ng.common.http, global.ngrx.effects));
})(this, (function (exports, common, i0, operators, uuid, i1, i1$1) { 'use strict';

@@ -26,11 +26,5 @@ function _interopNamespace(e) {

var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
var i1__namespace$1 = /*#__PURE__*/_interopNamespace(i1$1);
var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
var getDocumentByAccountIdActions = common.createApiActions('[Document by accountId] Get document by account id');
var getDocumentByAccountId = getDocumentByAccountIdActions.requestAction, getDocumentByAccountIdSuccess = getDocumentByAccountIdActions.successAction, getDocumentByAccountIdError = getDocumentByAccountIdActions.errorAction, getDocumentByAccountIdClear = getDocumentByAccountIdActions.clearAction;
var getDocumentActions = common.createApiActions('[Document] Get document');
var getDocument = getDocumentActions.requestAction, getDocumentSuccess = getDocumentActions.successAction, getDocumentError = getDocumentActions.errorAction, getDocumentClear = getDocumentActions.clearAction;
/*! *****************************************************************************

@@ -404,5 +398,6 @@ Copyright (c) Microsoft Corporation.

var getDocumentDetailsActions = common.createApiActions('[Document details] Get document details');
var getDocumentDetails = getDocumentDetailsActions.requestAction, getDocumentDetailsSuccess = getDocumentDetailsActions.successAction, getDocumentDetailsError = getDocumentDetailsActions.errorAction, getDocumentDetailsClear = getDocumentDetailsActions.clearAction;
var getDocumentByAccountIdApi = common.createNamedApi('[DocumentState] Get document by account id', GetDocumentByAccountIdService);
var getDocumentByAccountIdActions = getDocumentByAccountIdApi.getDocumentByAccountIdActions, getDocumentByAccountId = getDocumentByAccountIdApi.getDocumentByAccountId, getDocumentByAccountIdSuccess = getDocumentByAccountIdApi.getDocumentByAccountIdSuccess, getDocumentByAccountIdError = getDocumentByAccountIdApi.getDocumentByAccountIdError, getDocumentByAccountIdClear = getDocumentByAccountIdApi.getDocumentByAccountIdClear;
var GetDocumentDetailsService = /** @class */ (function () {

@@ -444,2 +439,4 @@ function GetDocumentDetailsService(apiUrl, httpClient) {

var getDocumentDetailsApi = common.createNamedApi('[DocumentState] Get document details', GetDocumentDetailsService);
var GetDocumentService = /** @class */ (function () {

@@ -485,76 +482,5 @@ function GetDocumentService(apiUrl, httpClient) {

/* eslint-disable max-classes-per-file */
var GetDocumentEffects = /** @class */ (function () {
function GetDocumentEffects() {
}
return GetDocumentEffects;
}());
var GetDocumentConfig = /** @class */ (function () {
function GetDocumentConfig() {
}
return GetDocumentConfig;
}());
var getDocumentEffectConfig = {
requestAction: getDocument,
successAction: getDocumentSuccess,
errorAction: getDocumentError
};
function getDocumentEffectConfigFactory() {
return getDocumentEffectConfig;
}
var GetDocumentByAccountIdEffects = /** @class */ (function () {
function GetDocumentByAccountIdEffects() {
}
return GetDocumentByAccountIdEffects;
}());
var GetDocumentByAccountIdConfig = /** @class */ (function () {
function GetDocumentByAccountIdConfig() {
}
return GetDocumentByAccountIdConfig;
}());
var GetDocumentDetailsEffects = /** @class */ (function () {
function GetDocumentDetailsEffects() {
}
return GetDocumentDetailsEffects;
}());
var GetDocumentDetailsConfig = /** @class */ (function () {
function GetDocumentDetailsConfig() {
}
return GetDocumentDetailsConfig;
}());
var getDocumentByAccountIdEffectConfig = {
requestAction: getDocumentByAccountId,
successAction: getDocumentByAccountIdSuccess,
errorAction: getDocumentByAccountIdError
};
function getDocumentByAccountIdEffectConfigFactory() {
return getDocumentByAccountIdEffectConfig;
}
var EFFECTS = [GetDocumentEffects, GetDocumentByAccountIdEffects, GetDocumentDetailsEffects];
var PROVIDERS = [
GetDocumentService,
GetDocumentByAccountIdService,
GetDocumentDetailsService,
{ provide: GetDocumentConfig, useFactory: getDocumentEffectConfigFactory },
{
provide: GetDocumentEffects,
useFactory: common.baseEffectFactory,
deps: [i1$1.Actions, common.HandleRequestService, GetDocumentService, GetDocumentConfig]
},
{ provide: GetDocumentByAccountIdConfig, useFactory: getDocumentByAccountIdEffectConfigFactory },
{
provide: GetDocumentByAccountIdEffects,
useFactory: common.baseEffectFactory,
deps: [i1$1.Actions, common.HandleRequestService, GetDocumentByAccountIdService, GetDocumentByAccountIdConfig]
},
{
provide: GetDocumentDetailsConfig,
useValue: getDocumentDetailsActions
},
{
provide: GetDocumentDetailsEffects,
useFactory: common.baseEffectFactory,
deps: [i1$1.Actions, common.HandleRequestService, GetDocumentDetailsService, GetDocumentDetailsConfig]
}
];
var getDocumentApi = common.createNamedApi('[DocumentState] Get document', GetDocumentService);
var _a = common.combineEffectsWithProviders(getDocumentApi, getDocumentByAccountIdApi, getDocumentDetailsApi), EFFECTS = _a.EFFECTS, PROVIDERS = _a.PROVIDERS;
var DocumentCoreModule = /** @class */ (function () {

@@ -599,2 +525,6 @@ function DocumentCoreModule(parentModule) {

var getDocumentActions = getDocumentApi.getDocumentActions, getDocument = getDocumentApi.getDocument, getDocumentSuccess = getDocumentApi.getDocumentSuccess, getDocumentError = getDocumentApi.getDocumentError, getDocumentClear = getDocumentApi.getDocumentClear;
var getDocumentDetailsActions = getDocumentDetailsApi.getDocumentDetailsActions, getDocumentDetails = getDocumentDetailsApi.getDocumentDetails, getDocumentDetailsSuccess = getDocumentDetailsApi.getDocumentDetailsSuccess, getDocumentDetailsError = getDocumentDetailsApi.getDocumentDetailsError, getDocumentDetailsClear = getDocumentDetailsApi.getDocumentDetailsClear;
/**

@@ -601,0 +531,0 @@ * Generated bundle index. Do not edit.

@@ -1,8 +0,1 @@

import { GetDocumentByAccountIdPayload } from '../interfaces/get-document-by-account-id-payload.interface';
export declare const getDocumentByAccountIdActions: {
requestAction: import("@ngrx/store").FunctionWithParametersType<[params?: import("@essent/common").BaseActionType<GetDocumentByAccountIdPayload> | undefined], import("@essent/common").BaseActionType<GetDocumentByAccountIdPayload> & import("@ngrx/store/src/models").TypedAction<string>> & import("@ngrx/store/src/models").TypedAction<string>;
successAction: import("@ngrx/store").FunctionWithParametersType<[params?: import("@essent/common").BaseActionType<void> | undefined], import("@essent/common").BaseActionType<void> & import("@ngrx/store/src/models").TypedAction<string>> & import("@ngrx/store/src/models").TypedAction<string>;
errorAction: import("@ngrx/store").FunctionWithParametersType<[params?: import("@essent/common").BaseActionType<import("@angular/common/http").HttpErrorResponse> | undefined], import("@essent/common").BaseActionType<import("@angular/common/http").HttpErrorResponse> & import("@ngrx/store/src/models").TypedAction<string>> & import("@ngrx/store/src/models").TypedAction<string>;
clearAction: import("@ngrx/store").FunctionWithParametersType<[params?: import("@essent/common").BaseActionType<void> | undefined], import("@essent/common").BaseActionType<void> & import("@ngrx/store/src/models").TypedAction<string>> & import("@ngrx/store/src/models").TypedAction<string>;
};
export declare const getDocumentByAccountId: import("@ngrx/store").FunctionWithParametersType<[params?: import("@essent/common").BaseActionType<GetDocumentByAccountIdPayload> | undefined], import("@essent/common").BaseActionType<GetDocumentByAccountIdPayload> & import("@ngrx/store/src/models").TypedAction<string>> & import("@ngrx/store/src/models").TypedAction<string>, getDocumentByAccountIdSuccess: import("@ngrx/store").FunctionWithParametersType<[params?: import("@essent/common").BaseActionType<void> | undefined], import("@essent/common").BaseActionType<void> & import("@ngrx/store/src/models").TypedAction<string>> & import("@ngrx/store/src/models").TypedAction<string>, getDocumentByAccountIdError: import("@ngrx/store").FunctionWithParametersType<[params?: import("@essent/common").BaseActionType<import("@angular/common/http").HttpErrorResponse> | undefined], import("@essent/common").BaseActionType<import("@angular/common/http").HttpErrorResponse> & import("@ngrx/store/src/models").TypedAction<string>> & import("@ngrx/store/src/models").TypedAction<string>, getDocumentByAccountIdClear: import("@ngrx/store").FunctionWithParametersType<[params?: import("@essent/common").BaseActionType<void> | undefined], import("@essent/common").BaseActionType<void> & import("@ngrx/store/src/models").TypedAction<string>> & import("@ngrx/store/src/models").TypedAction<string>;
export declare const getDocumentByAccountIdActions: import("@essent/common/factories/action.factory").ApiActions<import("@essent/document").GetDocumentByAccountIdPayload, void>, getDocumentByAccountId: import("@essent/common").ActionType<import("@essent/document").GetDocumentByAccountIdPayload>, getDocumentByAccountIdSuccess: import("@essent/common").ActionType<void>, getDocumentByAccountIdError: import("@essent/common").ActionType<import("@angular/common/http").HttpErrorResponse>, getDocumentByAccountIdClear: import("@essent/common").ActionType<void>;

@@ -1,1 +0,1 @@

export * from './get-document.actions';
export * from './get-document-details.actions';
import { ModuleWithProviders } from '@angular/core';
import { baseEffectFactory, EffectConfiguration, HandleRequestService } from '@essent/common';
import { Actions } from '@ngrx/effects';
import { GetDocumentPayload } from './document';
import { GetDocumentByAccountIdPayload } from './document-by-account-id';
import { GetDocumentByAccountIdService } from './document-by-account-id/services/get-document-by-account-id.service';
import { GetDocumentDetailsService } from './document-details/services/get-document-details.service';
import { GetDocumentService } from './document/services/get-document.service';
import * as i0 from "@angular/core";
import * as i1 from "@ngrx/effects";
export declare class GetDocumentEffects {
}
export declare class GetDocumentConfig {
}
export declare const getDocumentEffectConfig: EffectConfiguration<GetDocumentPayload, void>;
export declare function getDocumentEffectConfigFactory(): EffectConfiguration<GetDocumentPayload, void>;
export declare class GetDocumentByAccountIdEffects {
}
export declare class GetDocumentByAccountIdConfig {
}
export declare class GetDocumentDetailsEffects {
}
export declare class GetDocumentDetailsConfig {
}
export declare const getDocumentByAccountIdEffectConfig: EffectConfiguration<GetDocumentByAccountIdPayload, void>;
export declare function getDocumentByAccountIdEffectConfigFactory(): EffectConfiguration<GetDocumentByAccountIdPayload, void>;
export declare const EFFECTS: (typeof GetDocumentEffects)[];
export declare const PROVIDERS: (typeof GetDocumentByAccountIdService | typeof GetDocumentDetailsService | typeof GetDocumentService | {
provide: typeof GetDocumentConfig;
useFactory: typeof getDocumentEffectConfigFactory;
deps?: undefined;
useValue?: undefined;
} | {
provide: typeof GetDocumentEffects;
useFactory: typeof baseEffectFactory;
deps: (typeof Actions | typeof HandleRequestService | typeof GetDocumentService | typeof GetDocumentConfig)[];
useValue?: undefined;
} | {
provide: typeof GetDocumentByAccountIdEffects;
useFactory: typeof baseEffectFactory;
deps: (typeof Actions | typeof HandleRequestService | typeof GetDocumentByAccountIdService | typeof GetDocumentByAccountIdConfig)[];
useValue?: undefined;
} | {
provide: typeof GetDocumentDetailsConfig;
useValue: {
requestAction: import("@ngrx/store").FunctionWithParametersType<[params?: import("@essent/common").BaseActionType<import("./document-details").GetDocumentDetailsPayload> | undefined], import("@essent/common").BaseActionType<import("./document-details").GetDocumentDetailsPayload> & import("@ngrx/store/src/models").TypedAction<string>> & import("@ngrx/store/src/models").TypedAction<string>;
successAction: import("@ngrx/store").FunctionWithParametersType<[params?: import("@essent/common").BaseActionType<import("./document-details").GetDocumentDetails> | undefined], import("@essent/common").BaseActionType<import("./document-details").GetDocumentDetails> & import("@ngrx/store/src/models").TypedAction<string>> & import("@ngrx/store/src/models").TypedAction<string>;
errorAction: import("@ngrx/store").FunctionWithParametersType<[params?: import("@essent/common").BaseActionType<import("@angular/common/http").HttpErrorResponse> | undefined], import("@essent/common").BaseActionType<import("@angular/common/http").HttpErrorResponse> & import("@ngrx/store/src/models").TypedAction<string>> & import("@ngrx/store/src/models").TypedAction<string>;
clearAction: import("@ngrx/store").FunctionWithParametersType<[params?: import("@essent/common").BaseActionType<void> | undefined], import("@essent/common").BaseActionType<void> & import("@ngrx/store/src/models").TypedAction<string>> & import("@ngrx/store/src/models").TypedAction<string>;
};
useFactory?: undefined;
deps?: undefined;
} | {
provide: typeof GetDocumentDetailsEffects;
useFactory: typeof baseEffectFactory;
deps: (typeof Actions | typeof HandleRequestService | typeof GetDocumentDetailsService | typeof GetDocumentDetailsConfig)[];
useValue?: undefined;
})[];
export declare class DocumentCoreModule {

@@ -60,0 +5,0 @@ constructor(parentModule: DocumentCoreModule);

@@ -1,8 +0,1 @@

import { GetDocumentPayload } from '../interfaces/get-document-payload.interface';
export declare const getDocumentActions: {
requestAction: import("@ngrx/store").FunctionWithParametersType<[params?: import("@essent/common").BaseActionType<GetDocumentPayload> | undefined], import("@essent/common").BaseActionType<GetDocumentPayload> & import("@ngrx/store/src/models").TypedAction<string>> & import("@ngrx/store/src/models").TypedAction<string>;
successAction: import("@ngrx/store").FunctionWithParametersType<[params?: import("@essent/common").BaseActionType<void> | undefined], import("@essent/common").BaseActionType<void> & import("@ngrx/store/src/models").TypedAction<string>> & import("@ngrx/store/src/models").TypedAction<string>;
errorAction: import("@ngrx/store").FunctionWithParametersType<[params?: import("@essent/common").BaseActionType<import("@angular/common/http").HttpErrorResponse> | undefined], import("@essent/common").BaseActionType<import("@angular/common/http").HttpErrorResponse> & import("@ngrx/store/src/models").TypedAction<string>> & import("@ngrx/store/src/models").TypedAction<string>;
clearAction: import("@ngrx/store").FunctionWithParametersType<[params?: import("@essent/common").BaseActionType<void> | undefined], import("@essent/common").BaseActionType<void> & import("@ngrx/store/src/models").TypedAction<string>> & import("@ngrx/store/src/models").TypedAction<string>;
};
export declare const getDocument: import("@ngrx/store").FunctionWithParametersType<[params?: import("@essent/common").BaseActionType<GetDocumentPayload> | undefined], import("@essent/common").BaseActionType<GetDocumentPayload> & import("@ngrx/store/src/models").TypedAction<string>> & import("@ngrx/store/src/models").TypedAction<string>, getDocumentSuccess: import("@ngrx/store").FunctionWithParametersType<[params?: import("@essent/common").BaseActionType<void> | undefined], import("@essent/common").BaseActionType<void> & import("@ngrx/store/src/models").TypedAction<string>> & import("@ngrx/store/src/models").TypedAction<string>, getDocumentError: import("@ngrx/store").FunctionWithParametersType<[params?: import("@essent/common").BaseActionType<import("@angular/common/http").HttpErrorResponse> | undefined], import("@essent/common").BaseActionType<import("@angular/common/http").HttpErrorResponse> & import("@ngrx/store/src/models").TypedAction<string>> & import("@ngrx/store/src/models").TypedAction<string>, getDocumentClear: import("@ngrx/store").FunctionWithParametersType<[params?: import("@essent/common").BaseActionType<void> | undefined], import("@essent/common").BaseActionType<void> & import("@ngrx/store/src/models").TypedAction<string>> & import("@ngrx/store/src/models").TypedAction<string>;
export declare const getDocumentActions: import("@essent/common/factories/action.factory").ApiActions<import("@essent/document").GetDocumentPayload, void>, getDocument: import("@essent/common").ActionType<import("@essent/document").GetDocumentPayload>, getDocumentSuccess: import("@essent/common").ActionType<void>, getDocumentError: import("@essent/common").ActionType<import("@angular/common/http").HttpErrorResponse>, getDocumentClear: import("@essent/common").ActionType<void>;

@@ -1,4 +0,3 @@

import { createApiActions } from '@essent/common';
export const getDocumentByAccountIdActions = createApiActions('[Document by accountId] Get document by account id');
export const { requestAction: getDocumentByAccountId, successAction: getDocumentByAccountIdSuccess, errorAction: getDocumentByAccountIdError, clearAction: getDocumentByAccountIdClear } = getDocumentByAccountIdActions;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LWRvY3VtZW50LWJ5LWFjY291bnQtaWQuYWN0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GdldERvY3VtZW50QnlBY2NvdW50SWQsXG4gICAgc3VjY2Vzc0FjdGlvbjogZ2V0RG9jdW1lbnRCeUFjY291bnRJZFN1Y2Nlc3MsXG4gICAgZXJyb3JBY3Rpb246IGdldERvY3VtZW50QnlBY2NvdW50SWRFcnJvcixcbiAgICBjbGVhckFjdGlvbjogZ2V0RG9jdW1lbnRCeUFjY291bnRJZENsZWFyXG59ID0gZ2V0RG9jdW1lbnRCeUFjY291bnRJZEFjdGlvbnM7XG4iXX0=
import { getDocumentByAccountIdApi } from '../config';
export const { getDocumentByAccountIdActions, getDocumentByAccountId, getDocumentByAccountIdSuccess, getDocumentByAccountIdError, getDocumentByAccountIdClear } = getDocumentByAccountIdApi;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LWRvY3VtZW50LWJ5LWFjY291bnQtaWQuYWN0aW9ucy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Vzc2VudC9kb2N1bWVudC9zcmMvZG9jdW1lbnQtYnktYWNjb3VudC1pZC9hY3Rpb25zL2dldC1kb2N1bWVudC1ieS1hY2NvdW50LWlkLmFjdGlvbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHlCQUF5QixFQUFFLE1BQU0sV0FBVyxDQUFDO0FBRXRELE1BQU0sQ0FBQyxNQUFNLEVBQ1QsNkJBQTZCLEVBQzdCLHNCQUFzQixFQUN0Qiw2QkFBNkIsRUFDN0IsMkJBQTJCLEVBQzNCLDJCQUEyQixFQUM5QixHQUFHLHlCQUF5QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgZ2V0RG9jdW1lbnRCeUFjY291bnRJZEFwaSB9IGZyb20gJy4uL2NvbmZpZyc7XG5cbmV4cG9ydCBjb25zdCB7XG4gICAgZ2V0RG9jdW1lbnRCeUFjY291bnRJZEFjdGlvbnMsXG4gICAgZ2V0RG9jdW1lbnRCeUFjY291bnRJZCxcbiAgICBnZXREb2N1bWVudEJ5QWNjb3VudElkU3VjY2VzcyxcbiAgICBnZXREb2N1bWVudEJ5QWNjb3VudElkRXJyb3IsXG4gICAgZ2V0RG9jdW1lbnRCeUFjY291bnRJZENsZWFyXG59ID0gZ2V0RG9jdW1lbnRCeUFjY291bnRJZEFwaTtcbiJdfQ==

@@ -1,2 +0,2 @@

export * from './get-document.actions';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9lc3NlbnQvZG9jdW1lbnQvc3JjL2RvY3VtZW50LWRldGFpbHMvYWN0aW9ucy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLHdCQUF3QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9nZXQtZG9jdW1lbnQuYWN0aW9ucyc7XG4iXX0=
export * from './get-document-details.actions';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9lc3NlbnQvZG9jdW1lbnQvc3JjL2RvY3VtZW50LWRldGFpbHMvYWN0aW9ucy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGdDQUFnQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9nZXQtZG9jdW1lbnQtZGV0YWlscy5hY3Rpb25zJztcbiJdfQ==

@@ -1,69 +0,11 @@

/* eslint-disable max-classes-per-file */
import { NgModule, Optional, SkipSelf } from '@angular/core';
import { baseEffectFactory, HandleRequestService } from '@essent/common';
import { Actions, EffectsModule } from '@ngrx/effects';
import { getDocument, getDocumentError, getDocumentSuccess } from './document';
import { getDocumentByAccountId, getDocumentByAccountIdError, getDocumentByAccountIdSuccess } from './document-by-account-id';
import { GetDocumentByAccountIdService } from './document-by-account-id/services/get-document-by-account-id.service';
import { getDocumentDetailsActions } from './document-details';
import { GetDocumentDetailsService } from './document-details/services/get-document-details.service';
import { GetDocumentService } from './document/services/get-document.service';
import { combineEffectsWithProviders } from '@essent/common';
import { EffectsModule } from '@ngrx/effects';
import { getDocumentByAccountIdApi } from './document-by-account-id/config';
import { getDocumentDetailsApi } from './document-details/config';
import { getDocumentApi } from './document/config';
import { API } from './shared/tokens';
import * as i0 from "@angular/core";
import * as i1 from "@ngrx/effects";
export class GetDocumentEffects {
}
export class GetDocumentConfig {
}
export const getDocumentEffectConfig = {
requestAction: getDocument,
successAction: getDocumentSuccess,
errorAction: getDocumentError
};
export function getDocumentEffectConfigFactory() {
return getDocumentEffectConfig;
}
export class GetDocumentByAccountIdEffects {
}
export class GetDocumentByAccountIdConfig {
}
export class GetDocumentDetailsEffects {
}
export class GetDocumentDetailsConfig {
}
export const getDocumentByAccountIdEffectConfig = {
requestAction: getDocumentByAccountId,
successAction: getDocumentByAccountIdSuccess,
errorAction: getDocumentByAccountIdError
};
export function getDocumentByAccountIdEffectConfigFactory() {
return getDocumentByAccountIdEffectConfig;
}
export const EFFECTS = [GetDocumentEffects, GetDocumentByAccountIdEffects, GetDocumentDetailsEffects];
export const PROVIDERS = [
GetDocumentService,
GetDocumentByAccountIdService,
GetDocumentDetailsService,
{ provide: GetDocumentConfig, useFactory: getDocumentEffectConfigFactory },
{
provide: GetDocumentEffects,
useFactory: baseEffectFactory,
deps: [Actions, HandleRequestService, GetDocumentService, GetDocumentConfig]
},
{ provide: GetDocumentByAccountIdConfig, useFactory: getDocumentByAccountIdEffectConfigFactory },
{
provide: GetDocumentByAccountIdEffects,
useFactory: baseEffectFactory,
deps: [Actions, HandleRequestService, GetDocumentByAccountIdService, GetDocumentByAccountIdConfig]
},
{
provide: GetDocumentDetailsConfig,
useValue: getDocumentDetailsActions
},
{
provide: GetDocumentDetailsEffects,
useFactory: baseEffectFactory,
deps: [Actions, HandleRequestService, GetDocumentDetailsService, GetDocumentDetailsConfig]
}
];
const { EFFECTS, PROVIDERS } = combineEffectsWithProviders(getDocumentApi, getDocumentByAccountIdApi, getDocumentDetailsApi);
export class DocumentCoreModule {

@@ -102,2 +44,2 @@ constructor(parentModule) {

(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(DocumentCoreModule, { imports: [i1.EffectsFeatureModule] }); })();
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZG9jdW1lbnQubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvZXNzZW50L2RvY3VtZW50L3NyYy9kb2N1bWVudC5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEseUNBQXlDO0FBQ3pDLE9BQU8sRUFBdUIsUUFBUSxFQUFFLFFBQVEsRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDbEYsT0FBTyxFQUFFLGlCQUFpQixFQUF1QixvQkFBb0IsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQzlGLE9BQU8sRUFBRSxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRXZELE9BQU8sRUFBRSxXQUFXLEVBQUUsZ0JBQWdCLEVBQXNCLGtCQUFrQixFQUFFLE1BQU0sWUFBWSxDQUFDO0FBQ25HLE9BQU8sRUFDSCxzQkFBc0IsRUFDdEIsMkJBQTJCLEVBRTNCLDZCQUE2QixFQUNoQyxNQUFNLDBCQUEwQixDQUFDO0FBQ2xDLE9BQU8sRUFBRSw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c1xuICAgIH0sXG4gICAge1xuICAgICAgICBwcm92aWRlOiBHZXREb2N1bWVudERldGFpbHNFZmZlY3RzLFxuICAgICAgICB1c2VGYWN0b3J5OiBiYXNlRWZmZWN0RmFjdG9yeSxcbiAgICAgICAgZGVwczogW0FjdGlvbnMsIEhhbmRsZVJlcXVlc3RTZXJ2aWNlLCBHZXREb2N1bWVudERldGFpbHNTZXJ2aWNlLCBHZXREb2N1bWVudERldGFpbHNDb25maWddXG4gICAgfVxuXTtcblxuQE5nTW9kdWxlKHtcbiAgICBpbXBvcnRzOiBbRWZmZWN0c01vZHVsZS5mb3JGZWF0dXJlKEVGRkVDVFMpXSxcbiAgICBwcm92aWRlcnM6IFBST1ZJREVSU1xufSlcbmV4cG9ydCBjbGFzcyBEb2N1bWVudENvcmVNb2R1bGUge1xuICAgIHB1YmxpYyBjb25zdHJ1Y3RvcihcbiAgICAgICAgQE9wdGlvbmFsKClcbiAgICAgICAgQFNraXBTZWxmKClcbiAgICAgICAgcGFyZW50TW9kdWxlOiBEb2N1bWVudENvcmVNb2R1bGVcbiAgICApIHtcbiAgICAgICAgaWYgKHBhcmVudE1vZHVsZSkge1xuICAgICAgICAgICAgdGhyb3cgbmV3IEVycm9yKCdEb2N1bWVudENvcmVNb2R1bGUgaXMgaW1wb3J0ZWQgbW9yZSB0aGFuIG9uY2UuJyk7XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICBwdWJsaWMgc3RhdGljIGZvclJvb3QoY29uZmlnPzogeyBhcGk/OiBzdHJpbmcgfSk6IE1vZHVsZVdpdGhQcm92aWRlcnM8RG9jdW1lbnRDb3JlTW9kdWxlPiB7XG4gICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICBuZ01vZHVsZTogRG9jdW1lbnRDb3JlTW9kdWxlLFxuICAgICAgICAgICAgcHJvdmlkZXJzOiBbXG4gICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgICBwcm92aWRlOiBBUEksXG4gICAgICAgICAgICAgICAgIC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ERvY3VtZW50Q29yZU1vZHVsZSxcbiAgICAgICAgICAgIHByb3ZpZGVyczogW1xuICAgICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICAgICAgcHJvdmlkZTogQVBJLFxuICAgICAgICAgICAgICAgICAgICB1c2VWYWx1ZTogY29uZmlnID8gY29uZmlnLmFwaSA6IHVuZGVmaW5lZFxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIF1cbiAgICAgICAgfTtcbiAgICB9XG59XG4iXX0=

@@ -1,4 +0,3 @@

import { createApiActions } from '@essent/common';
export const getDocumentActions = createApiActions('[Document] Get document');
export const { requestAction: getDocument, successAction: getDocumentSuccess, errorAction: getDocumentError, clearAction: getDocumentClear } = getDocumentActions;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LWRvY3VtZW50LmFjdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9lc3NlbnQvZG9jdW1lbnQvc3JjL2RvY3VtZW50L2FjdGlvbnMvZ2V0LWRvY3VtZW50LmFjdGlvbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFJbEQsTUFBTSxDQUFDLE1BQU0sa0JBQWtCLEdBQUcsZ0JBQWdCLENBQXFCLHlCQUF5QixDQUFDLENBQUM7QUFFbEcsTUFBTSxDQUFDLE1BQU0sRUFDVCxhQUFhLEVBQUUsV0FBVyxFQUMxQixhQUFhLEVBQUUsa0JBQWtCLEVBQ2pDLFdBQVcsRUFBRSxnQkFBZ0IsRUFDN0IsV0FBVyxFQUFFLGdCQUFnQixFQUNoQyxHQUFHLGtCQUFrQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3JlYXRlQXBpQWN0aW9ucyB9IGZyb20gJ0Blc3NlbnQvY29tbW9uJztcblxuaW1wb3J0IHsgR2V0RG9jdW1lbnRQYXlsb2FkIH0gZnJvbSAnLi4vaW50ZXJmYWNlcy9nZXQtZG9jdW1lbnQtcGF5bG9hZC5pbnRlcmZhY2UnO1xuXG5leHBvcnQgY29uc3QgZ2V0RG9jdW1lbnRBY3Rpb25zID0gY3JlYXRlQXBpQWN0aW9uczxHZXREb2N1bWVudFBheWxvYWQ+KCdbRG9jdW1lbnRdIEdldCBkb2N1bWVudCcpO1xuXG5leHBvcnQgY29uc3Qge1xuICAgIHJlcXVlc3RBY3Rpb246IGdldERvY3VtZW50LFxuICAgIHN1Y2Nlc3NBY3Rpb246IGdldERvY3VtZW50U3VjY2VzcyxcbiAgICBlcnJvckFjdGlvbjogZ2V0RG9jdW1lbnRFcnJvcixcbiAgICBjbGVhckFjdGlvbjogZ2V0RG9jdW1lbnRDbGVhclxufSA9IGdldERvY3VtZW50QWN0aW9ucztcbiJdfQ==
import { getDocumentApi } from '../config';
export const { getDocumentActions, getDocument, getDocumentSuccess, getDocumentError, getDocumentClear } = getDocumentApi;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LWRvY3VtZW50LmFjdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9lc3NlbnQvZG9jdW1lbnQvc3JjL2RvY3VtZW50L2FjdGlvbnMvZ2V0LWRvY3VtZW50LmFjdGlvbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLFdBQVcsQ0FBQztBQUUzQyxNQUFNLENBQUMsTUFBTSxFQUNULGtCQUFrQixFQUNsQixXQUFXLEVBQ1gsa0JBQWtCLEVBQ2xCLGdCQUFnQixFQUNoQixnQkFBZ0IsRUFDbkIsR0FBRyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBnZXREb2N1bWVudEFwaSB9IGZyb20gJy4uL2NvbmZpZyc7XG5cbmV4cG9ydCBjb25zdCB7XG4gICAgZ2V0RG9jdW1lbnRBY3Rpb25zLFxuICAgIGdldERvY3VtZW50LFxuICAgIGdldERvY3VtZW50U3VjY2VzcyxcbiAgICBnZXREb2N1bWVudEVycm9yLFxuICAgIGdldERvY3VtZW50Q2xlYXJcbn0gPSBnZXREb2N1bWVudEFwaTtcbiJdfQ==

@@ -1,17 +0,11 @@

import { createApiActions, toHttpParams, snakeCase, toCamelcase, baseEffectFactory, HandleRequestService } from '@essent/common';
import { toHttpParams, snakeCase, createNamedApi, toCamelcase, combineEffectsWithProviders } from '@essent/common';
import { __rest } from 'tslib';
import * as i0 from '@angular/core';
import { InjectionToken, Injectable, Optional, Inject, NgModule, SkipSelf } from '@angular/core';
import * as i1$1 from '@ngrx/effects';
import { Actions, EffectsModule } from '@ngrx/effects';
import { __rest } from 'tslib';
import { tap, map } from 'rxjs/operators';
import { v4 } from 'uuid';
import * as i1 from '@angular/common/http';
import * as i1$1 from '@ngrx/effects';
import { EffectsModule } from '@ngrx/effects';
const getDocumentByAccountIdActions = createApiActions('[Document by accountId] Get document by account id');
const { requestAction: getDocumentByAccountId, successAction: getDocumentByAccountIdSuccess, errorAction: getDocumentByAccountIdError, clearAction: getDocumentByAccountIdClear } = getDocumentByAccountIdActions;
const getDocumentActions = createApiActions('[Document] Get document');
const { requestAction: getDocument, successAction: getDocumentSuccess, errorAction: getDocumentError, clearAction: getDocumentClear } = getDocumentActions;
const API = new InjectionToken('api-documents');

@@ -65,5 +59,6 @@

const getDocumentDetailsActions = createApiActions('[Document details] Get document details');
const { requestAction: getDocumentDetails, successAction: getDocumentDetailsSuccess, errorAction: getDocumentDetailsError, clearAction: getDocumentDetailsClear } = getDocumentDetailsActions;
const getDocumentByAccountIdApi = createNamedApi('[DocumentState] Get document by account id', GetDocumentByAccountIdService);
const { getDocumentByAccountIdActions, getDocumentByAccountId, getDocumentByAccountIdSuccess, getDocumentByAccountIdError, getDocumentByAccountIdClear } = getDocumentByAccountIdApi;
class GetDocumentDetailsService {

@@ -99,2 +94,4 @@ constructor(apiUrl, httpClient) {

const getDocumentDetailsApi = createNamedApi('[DocumentState] Get document details', GetDocumentDetailsService);
class GetDocumentService {

@@ -135,58 +132,5 @@ constructor(apiUrl, httpClient) {

/* eslint-disable max-classes-per-file */
class GetDocumentEffects {
}
class GetDocumentConfig {
}
const getDocumentEffectConfig = {
requestAction: getDocument,
successAction: getDocumentSuccess,
errorAction: getDocumentError
};
function getDocumentEffectConfigFactory() {
return getDocumentEffectConfig;
}
class GetDocumentByAccountIdEffects {
}
class GetDocumentByAccountIdConfig {
}
class GetDocumentDetailsEffects {
}
class GetDocumentDetailsConfig {
}
const getDocumentByAccountIdEffectConfig = {
requestAction: getDocumentByAccountId,
successAction: getDocumentByAccountIdSuccess,
errorAction: getDocumentByAccountIdError
};
function getDocumentByAccountIdEffectConfigFactory() {
return getDocumentByAccountIdEffectConfig;
}
const EFFECTS = [GetDocumentEffects, GetDocumentByAccountIdEffects, GetDocumentDetailsEffects];
const PROVIDERS = [
GetDocumentService,
GetDocumentByAccountIdService,
GetDocumentDetailsService,
{ provide: GetDocumentConfig, useFactory: getDocumentEffectConfigFactory },
{
provide: GetDocumentEffects,
useFactory: baseEffectFactory,
deps: [Actions, HandleRequestService, GetDocumentService, GetDocumentConfig]
},
{ provide: GetDocumentByAccountIdConfig, useFactory: getDocumentByAccountIdEffectConfigFactory },
{
provide: GetDocumentByAccountIdEffects,
useFactory: baseEffectFactory,
deps: [Actions, HandleRequestService, GetDocumentByAccountIdService, GetDocumentByAccountIdConfig]
},
{
provide: GetDocumentDetailsConfig,
useValue: getDocumentDetailsActions
},
{
provide: GetDocumentDetailsEffects,
useFactory: baseEffectFactory,
deps: [Actions, HandleRequestService, GetDocumentDetailsService, GetDocumentDetailsConfig]
}
];
const getDocumentApi = createNamedApi('[DocumentState] Get document', GetDocumentService);
const { EFFECTS, PROVIDERS } = combineEffectsWithProviders(getDocumentApi, getDocumentByAccountIdApi, getDocumentDetailsApi);
class DocumentCoreModule {

@@ -226,2 +170,6 @@ constructor(parentModule) {

const { getDocumentActions, getDocument, getDocumentSuccess, getDocumentError, getDocumentClear } = getDocumentApi;
const { getDocumentDetailsActions, getDocumentDetails, getDocumentDetailsSuccess, getDocumentDetailsError, getDocumentDetailsClear } = getDocumentDetailsApi;
/**

@@ -228,0 +176,0 @@ * Generated bundle index. Do not edit.

{
"name": "@essent/document",
"version": "6.1.0",
"version": "7.0.0",
"peerDependencies": {
"@angular/common": "^11.2.14 || ^12.2.12",
"@angular/core": "^11.2.14 || ^12.2.12",
"@essent/common": "^11.2.1",
"@essent/common": "^13.3.0",
"@ngrx/store": "^11.1.1 || ^12.4.0",

@@ -9,0 +9,0 @@ "@ngrx/effects": "^11.1.1 || ^12.4.0",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc