drapcode-developer-sdk 1.0.14 → 1.0.15

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.
@@ -285,6 +285,10 @@ var getAllItems = function (baseurl, headers, version, collectionName, reqQuery,
285
285
  queryParams.append("sortField", reqQuery.sortField);
286
286
  if (reqQuery === null || reqQuery === void 0 ? void 0 : reqQuery.sortOrder)
287
287
  queryParams.append("sortOrder", reqQuery.sortOrder);
288
+ if (reqQuery === null || reqQuery === void 0 ? void 0 : reqQuery.includeFields)
289
+ queryParams.append("includeFields", reqQuery.includeFields);
290
+ if (reqQuery === null || reqQuery === void 0 ? void 0 : reqQuery.excludeFields)
291
+ queryParams.append("excludeFields", reqQuery.excludeFields);
288
292
  if (reqQuery === null || reqQuery === void 0 ? void 0 : reqQuery.searchTerm)
289
293
  queryParams.append("searchTerm", reqQuery.searchTerm);
290
294
  if (reqQuery === null || reqQuery === void 0 ? void 0 : reqQuery.isPagination) {
@@ -22,4 +22,6 @@ export type SearchPaginate = {
22
22
  isPagination?: boolean;
23
23
  page?: number | string | any;
24
24
  limit?: number | string | any;
25
+ includeFields?: string | any;
26
+ excludeFields?: string | any;
25
27
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "drapcode-developer-sdk",
3
- "version": "1.0.14",
3
+ "version": "1.0.15",
4
4
  "main": "build/index.js",
5
5
  "types": "build/index.d.ts",
6
6
  "files": [