kui-crm 0.0.307 → 0.0.309

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/index.d.ts CHANGED
@@ -1308,7 +1308,7 @@ declare type DocumentsStoreInterface = {
1308
1308
  loader: Loader;
1309
1309
  };
1310
1310
  declare type DocumentAgentInterface = {
1311
- postDocument: (body: any, ...params: any) => Promise<DocumentModel>;
1311
+ postDocuments: (body: any, ...params: any) => Promise<DocumentModel[]>;
1312
1312
  patchDocument: (id: number, body: any, ...params: any) => Promise<DocumentModel>;
1313
1313
  deleteDocument: (id: number, ...params: any) => Promise<DocumentModel>;
1314
1314
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kui-crm",
3
- "version": "0.0.307",
3
+ "version": "0.0.309",
4
4
  "description": "crm complex fields",
5
5
  "main": "./cjs/index.js",
6
6
  "types": "./index.d.ts",
package/types/index.d.ts CHANGED
@@ -1551,7 +1551,7 @@ declare type DocumentsStoreInterface = {
1551
1551
  loader: Loader;
1552
1552
  };
1553
1553
  declare type DocumentAgentInterface = {
1554
- postDocument: (body: any, ...params: any) => Promise<DocumentModel>;
1554
+ postDocuments: (body: any, ...params: any) => Promise<DocumentModel[]>;
1555
1555
  patchDocument: (id: number, body: any, ...params: any) => Promise<DocumentModel>;
1556
1556
  deleteDocument: (id: number, ...params: any) => Promise<DocumentModel>;
1557
1557
  };
package/utils/index.d.ts CHANGED
@@ -615,7 +615,7 @@ declare type DocumentsStoreInterface = {
615
615
  loader: Loader;
616
616
  };
617
617
  declare type DocumentAgentInterface = {
618
- postDocument: (body: any, ...params: any) => Promise<DocumentModel>;
618
+ postDocuments: (body: any, ...params: any) => Promise<DocumentModel[]>;
619
619
  patchDocument: (id: number, body: any, ...params: any) => Promise<DocumentModel>;
620
620
  deleteDocument: (id: number, ...params: any) => Promise<DocumentModel>;
621
621
  };