@techextensor/tab-sdk 0.0.35 → 0.0.37

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.
@@ -83,6 +83,14 @@ export declare class AppService {
83
83
  * @returns A promise that resolves to a common API response containing the refreshed record info data.
84
84
  */
85
85
  refreshRecordInfoData(payload: RefreshRecordInfoDataPayload): Promise<CommonApiResponse>;
86
+ /**
87
+ * Retrieves all documents from the database.
88
+ *
89
+ * @param headers Optional headers to pass to the server.
90
+ * @returns A promise that resolves to a common API response containing all documents.
91
+ */
92
+ getAllDocumnets(headers?: any): Promise<CommonApiResponse>;
93
+ getDocumentById(id: string, headers?: any): Promise<CommonApiResponse>;
86
94
  static ɵfac: i0.ɵɵFactoryDeclaration<AppService, never>;
87
95
  static ɵprov: i0.ɵɵInjectableDeclaration<AppService>;
88
96
  }
@@ -43,14 +43,6 @@ export declare class CrudService {
43
43
  * @returns A promise that resolves to a common API response containing the deleted record.
44
44
  */
45
45
  delete(payload: DeletePayload, headers?: any): Promise<CommonApiResponse>;
46
- /**
47
- * Executes a stored procedure using the provided payload.
48
- *
49
- * @param sp - The name of the stored procedure to execute.
50
- * @param headers - Optional headers to pass to the server.
51
- * @returns A promise that resolves to a common API response containing the result of executing the stored procedure.
52
- */
53
- executeSp(sp: string, headers?: any): Promise<CommonApiResponse>;
54
46
  /**
55
47
  * Executes a stored procedure using the provided payload.
56
48
  *
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@techextensor/tab-sdk",
3
- "version": "0.0.35",
3
+ "version": "0.0.37",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.3.0",
6
6
  "@angular/core": "^17.3.0",
7
- "@techextensor/tab-core-utility": "^2.2.174"
7
+ "@techextensor/tab-core-utility": "^2.2.176"
8
8
  },
9
9
  "dependencies": {
10
10
  "tslib": "^2.3.0"