cat-documents-ng 1.0.26 → 1.0.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Shared/constant/URLS.d.ts +2 -0
- package/fesm2022/cat-documents-ng.mjs +80 -90
- package/fesm2022/cat-documents-ng.mjs.map +1 -1
- package/lib/document/services/document-http.service.d.ts +12 -0
- package/lib/document/services/document-upload-business.service.d.ts +8 -0
- package/lib/document/services/document-upload-data.service.d.ts +8 -0
- package/package.json +1 -1
|
@@ -108,6 +108,18 @@ export declare class DocumentHttpService {
|
|
|
108
108
|
* @returns {Observable<DocumentCategory[]>} Observable that emits the categories.
|
|
109
109
|
*/
|
|
110
110
|
getCategoriesBySource(source: string): Observable<DocumentCategory[]>;
|
|
111
|
+
/**
|
|
112
|
+
* Fetches broker document categories by source.
|
|
113
|
+
* @param {string} source - The source type (Broker).
|
|
114
|
+
* @returns {Observable<DocumentCategory[]>} Observable that emits the categories.
|
|
115
|
+
*/
|
|
116
|
+
getBrokerDocumentCatagoriesBySource(source: string): Observable<DocumentCategory[]>;
|
|
117
|
+
/**
|
|
118
|
+
* Fetches broker document types by category ID.
|
|
119
|
+
* @param {string} categoryId - The category ID to fetch document types for.
|
|
120
|
+
* @returns {Observable<DocumentTypeModel[]>} Observable that emits the document types.
|
|
121
|
+
*/
|
|
122
|
+
getBrokerDocumentTypesByCategoryId(categoryId: string): Observable<DocumentTypeModel[]>;
|
|
111
123
|
/**
|
|
112
124
|
* Fetches document types by category ID.
|
|
113
125
|
* @param {string} categoryId - The category ID to fetch document types for.
|
|
@@ -43,10 +43,18 @@ export declare class DocumentUploadBusinessService {
|
|
|
43
43
|
* Loads categories based on assignment type
|
|
44
44
|
*/
|
|
45
45
|
loadCategories(assignmentType: string): Observable<DocumentCategory[]>;
|
|
46
|
+
/**
|
|
47
|
+
* Loads categories based on assignment type
|
|
48
|
+
*/
|
|
49
|
+
loadBrokerCategories(assignmentType: string): Observable<DocumentCategory[]>;
|
|
46
50
|
/**
|
|
47
51
|
* Loads document types based on category
|
|
48
52
|
*/
|
|
49
53
|
loadDocumentTypes(categoryId: string): Observable<DocumentTypeModel[]>;
|
|
54
|
+
/**
|
|
55
|
+
* Loads broker document types based on category
|
|
56
|
+
*/
|
|
57
|
+
loadBrokerDocumentTypes(categoryId: string): Observable<DocumentTypeModel[]>;
|
|
50
58
|
/**
|
|
51
59
|
* Filters applicants based on assignment type
|
|
52
60
|
*/
|
|
@@ -23,6 +23,14 @@ export declare class DocumentUploadDataService {
|
|
|
23
23
|
* Loads categories and handles the response
|
|
24
24
|
*/
|
|
25
25
|
loadCategories(assignmentType: string, onSuccess: (categories: DocumentCategory[]) => void, onError: (error: any) => void): Observable<DocumentCategory[]>;
|
|
26
|
+
/**
|
|
27
|
+
* Loads categories and handles the response
|
|
28
|
+
*/
|
|
29
|
+
loadBrokerCategories(assignmentType: string, onSuccess: (categories: DocumentCategory[]) => void, onError: (error: any) => void): Observable<DocumentCategory[]>;
|
|
30
|
+
/**
|
|
31
|
+
* Loads broker document types and handles the response
|
|
32
|
+
*/
|
|
33
|
+
loadBrokerDocumentTypes(categoryId: string, onSuccess: (documentTypes: DocumentTypeModel[]) => void, onError: (error: any) => void): Observable<DocumentTypeModel[]>;
|
|
26
34
|
/**
|
|
27
35
|
* Loads document types and handles the response
|
|
28
36
|
*/
|