@figuredev/orders-sdk
Advanced tools
Comparing version 0.12.79 to 0.12.80
@@ -14,2 +14,3 @@ "use strict"; | ||
const axios_1 = require("axios"); | ||
const ramda_1 = require("ramda"); | ||
const reportsTypes_1 = require("./reportsTypes"); | ||
@@ -149,3 +150,3 @@ class ReportsClient { | ||
headers: this.prepareHeaders(ctx), | ||
data: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({ from: params.from, to: params.to }, (params.locationIds ? { locationIds: params.locationIds } : null)), (params.assigneeIds ? { assigneeIds: params.assigneeIds } : null)), (params.search ? { search: params.search } : null)), (params.source ? { source: params.source } : null)), (params.isActive ? { isActive: params.isActive } : null)), { offset: params.offset, pageSize: params.pageSize }), (params.sort ? { sort: params.sort } : null)), (params.sortOrder ? { sortOrder: params.sortOrder } : null)), | ||
data: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({ from: params.from, to: params.to }, (params.locationIds ? { locationIds: params.locationIds } : null)), (params.assigneeIds ? { assigneeIds: params.assigneeIds } : null)), (params.search ? { search: params.search } : null)), (params.source ? { source: params.source } : null)), (!ramda_1.isNil(params.isActive) ? { isActive: params.isActive } : null)), { offset: params.offset, pageSize: params.pageSize }), (params.sort ? { sort: params.sort } : null)), (params.sortOrder ? { sortOrder: params.sortOrder } : null)), | ||
}) | ||
@@ -152,0 +153,0 @@ .then((r) => { var _a; return (_a = r.data) !== null && _a !== void 0 ? _a : []; }); |
{ | ||
"name": "@figuredev/orders-sdk", | ||
"version": "0.12.79", | ||
"version": "0.12.80", | ||
"license": "ISC", | ||
@@ -5,0 +5,0 @@ "files": [ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
66776
1292