@essent/document
Advanced tools
Comparing version 9.0.0 to 10.0.0
@@ -1,1 +0,1 @@ | ||
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>; | ||
export declare const getDocumentByAccountIdActions: import("@essent/common").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>; |
@@ -9,4 +9,4 @@ export declare const getDocumentByAccountIdApi: { | ||
getDocumentByAccountIdClear: import("@essent/common").ActionType<void>; | ||
} & import("@essent/common/factories/named-action.factory").ApiActionsWrapper<"getDocumentByAccountId", import("@essent/document").GetDocumentByAccountIdPayload, void> & { | ||
apiActions: import("@essent/common/factories/action.factory").ApiActions<import("@essent/document").GetDocumentByAccountIdPayload, void>; | ||
} & import("@essent/common/factories/effect.factory").EffectTypeWithProviders; | ||
} & import("@essent/common").ApiActionsWrapper<"getDocumentByAccountId", import("@essent/document").GetDocumentByAccountIdPayload, void> & { | ||
apiActions: import("@essent/common").ApiActions<import("@essent/document").GetDocumentByAccountIdPayload, void>; | ||
} & import("@essent/common").EffectTypeWithProviders; |
@@ -6,7 +6,10 @@ import { HttpClient } from '@angular/common/http'; | ||
import * as i0 from "@angular/core"; | ||
/** | ||
* Techdebt: ABD-10249, once we have time to change details api to common/documents/{id}/details, we can change this to common/documents/{id} | ||
*/ | ||
export declare class GetDocumentByAccountIdService implements BaseService<GetDocumentByAccountIdPayload, void> { | ||
private readonly apiUrl; | ||
private readonly httpClient; | ||
readonly apiVersion = "2"; | ||
readonly endpoint: ({ documentId }: GetDocumentByAccountIdPayload) => string; | ||
readonly apiVersion = "1"; | ||
readonly endpoint: (documentPayload: GetDocumentByAccountIdPayload) => string; | ||
constructor(apiUrl: string, httpClient: HttpClient); | ||
@@ -13,0 +16,0 @@ call$(payload: GetDocumentByAccountIdPayload): Observable<void>; |
@@ -1,1 +0,1 @@ | ||
export declare const getDocumentDetailsActions: import("@essent/common/factories/action.factory").ApiActions<import("@essent/document").GetDocumentDetailsPayload, import("@essent/document").GetDocumentDetails[]>, getDocumentDetails: import("@essent/common").ActionType<import("@essent/document").GetDocumentDetailsPayload>, getDocumentDetailsSuccess: import("@essent/common").ActionType<import("@essent/document").GetDocumentDetails[]>, getDocumentDetailsError: import("@essent/common").ActionType<import("@angular/common/http").HttpErrorResponse>, getDocumentDetailsClear: import("@essent/common").ActionType<void>; | ||
export declare const getDocumentDetailsActions: import("@essent/common").ApiActions<import("@essent/document").GetDocumentDetailsPayload, import("@essent/document").GetDocumentDetails[]>, getDocumentDetails: import("@essent/common").ActionType<import("@essent/document").GetDocumentDetailsPayload>, getDocumentDetailsSuccess: import("@essent/common").ActionType<import("@essent/document").GetDocumentDetails[]>, getDocumentDetailsError: import("@essent/common").ActionType<import("@angular/common/http").HttpErrorResponse>, getDocumentDetailsClear: import("@essent/common").ActionType<void>; |
@@ -9,4 +9,4 @@ export declare const getDocumentDetailsApi: { | ||
getDocumentDetailsClear: import("@essent/common").ActionType<void>; | ||
} & import("@essent/common/factories/named-action.factory").ApiActionsWrapper<"getDocumentDetails", import("@essent/document").GetDocumentDetailsPayload, import("@essent/document").GetDocumentDetails[]> & { | ||
apiActions: import("@essent/common/factories/action.factory").ApiActions<import("@essent/document").GetDocumentDetailsPayload, import("@essent/document").GetDocumentDetails[]>; | ||
} & import("@essent/common/factories/effect.factory").EffectTypeWithProviders; | ||
} & import("@essent/common").ApiActionsWrapper<"getDocumentDetails", import("@essent/document").GetDocumentDetailsPayload, import("@essent/document").GetDocumentDetails[]> & { | ||
apiActions: import("@essent/common").ApiActions<import("@essent/document").GetDocumentDetailsPayload, import("@essent/document").GetDocumentDetails[]>; | ||
} & import("@essent/common").EffectTypeWithProviders; |
@@ -7,2 +7,5 @@ import { HttpClient } from '@angular/common/http'; | ||
import * as i0 from "@angular/core"; | ||
/** | ||
* Techdebt: ABD-10249, change details api to common/documents/{id}/details | ||
*/ | ||
export declare class GetDocumentDetailsService implements BaseService<GetDocumentDetailsPayload, GetDocumentDetails[]> { | ||
@@ -9,0 +12,0 @@ private readonly apiUrl; |
@@ -1,1 +0,1 @@ | ||
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>; | ||
export declare const getDocumentActions: import("@essent/common").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>; |
@@ -9,4 +9,4 @@ export declare const getDocumentApi: { | ||
getDocumentClear: import("@essent/common").ActionType<void>; | ||
} & import("@essent/common/factories/named-action.factory").ApiActionsWrapper<"getDocument", import("@essent/document").GetDocumentPayload, void> & { | ||
apiActions: import("@essent/common/factories/action.factory").ApiActions<import("@essent/document").GetDocumentPayload, void>; | ||
} & import("@essent/common/factories/effect.factory").EffectTypeWithProviders; | ||
} & import("@essent/common").ApiActionsWrapper<"getDocument", import("@essent/document").GetDocumentPayload, void> & { | ||
apiActions: import("@essent/common").ApiActions<import("@essent/document").GetDocumentPayload, void>; | ||
} & import("@essent/common").EffectTypeWithProviders; |
{ | ||
"name": "@essent/document", | ||
"version": "9.0.0", | ||
"version": "10.0.0", | ||
"peerDependencies": { | ||
@@ -10,3 +10,8 @@ "@angular/common": "12 || 13", | ||
"@ngrx/effects": "12 || 13", | ||
"rxjs": "^6.6.0" | ||
"rxjs": "^6.6.0", | ||
"lodash": "^4.17.20", | ||
"@essent/core-utils": "0.0.1", | ||
"zone.js": "~0.11.4", | ||
"@angular/platform-browser-dynamic": "^13.2.3", | ||
"uuid": "^8.0.0" | ||
}, | ||
@@ -36,2 +41,2 @@ "module": "fesm2015/essent-document.mjs", | ||
} | ||
} | ||
} |
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 not supported yet
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 not supported yet
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 not supported yet
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 not supported yet
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 not supported yet
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 not supported yet
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 not supported yet
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 not supported yet
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 not supported yet
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 not supported yet
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 not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
101950
747
12