washday-sdk 1.6.1 → 1.6.2
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/dist/api/index.js +2 -1
- package/package.json +1 -1
- package/src/api/index.ts +2 -1
- package/src/interfaces/Api.ts +2 -1
package/dist/api/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { deleteCashierBoxById, deleteCashierBoxMovementById } from "./cashierbox
|
|
|
2
2
|
import { getCashierBoxMovementsHistory, getCashierboxesById, getCashierboxesByStoreId } from "./cashierbox/get";
|
|
3
3
|
import { addCashierBoxMovement, createCashierBox } from "./cashierbox/post";
|
|
4
4
|
import { updateCashierBoxById, updateCashierBoxMovementById } from "./cashierbox/put";
|
|
5
|
-
import { getCompanyById } from "./companies/get";
|
|
5
|
+
import { getCompanyById, getCompanyOrdersMetrics } from "./companies/get";
|
|
6
6
|
import { disableBillingOverage, enableBillingOverage, updateCFDIOrgLogo, updateCompanyTaxInfoCertificates } from "./companies/post";
|
|
7
7
|
import { updateCompanyById, updateCompanyLogoById, updateCompanyTaxInfoById } from "./companies/put";
|
|
8
8
|
import { getCountries } from "./countries/get";
|
|
@@ -231,6 +231,7 @@ const WashdayClient = function WashdayClient(apiToken, env = 'PROD', clientId, c
|
|
|
231
231
|
});
|
|
232
232
|
this.companies = bindMethods(this, {
|
|
233
233
|
getCompanyById: getCompanyById,
|
|
234
|
+
getCompanyOrdersMetrics: getCompanyOrdersMetrics,
|
|
234
235
|
updateCompanyById: updateCompanyById,
|
|
235
236
|
updateCompanyLogoById: updateCompanyLogoById,
|
|
236
237
|
updateCompanyTaxInfoById: updateCompanyTaxInfoById,
|
package/package.json
CHANGED
package/src/api/index.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { deleteCashierBoxById, deleteCashierBoxMovementById } from "./cashierbox
|
|
|
3
3
|
import { getCashierBoxMovementsHistory, getCashierboxesById, getCashierboxesByStoreId } from "./cashierbox/get";
|
|
4
4
|
import { addCashierBoxMovement, createCashierBox } from "./cashierbox/post";
|
|
5
5
|
import { updateCashierBoxById, updateCashierBoxMovementById } from "./cashierbox/put";
|
|
6
|
-
import { getCompanyById } from "./companies/get";
|
|
6
|
+
import { getCompanyById, getCompanyOrdersMetrics } from "./companies/get";
|
|
7
7
|
import { disableBillingOverage, enableBillingOverage, updateCFDIOrgLogo, updateCompanyTaxInfoCertificates } from "./companies/post";
|
|
8
8
|
import { updateCompanyById, updateCompanyLogoById, updateCompanyTaxInfoById } from "./companies/put";
|
|
9
9
|
import { getCountries } from "./countries/get";
|
|
@@ -238,6 +238,7 @@ const WashdayClient: WashdayClientConstructor = function WashdayClient(this: Was
|
|
|
238
238
|
});
|
|
239
239
|
this.companies = bindMethods(this, {
|
|
240
240
|
getCompanyById: getCompanyById,
|
|
241
|
+
getCompanyOrdersMetrics: getCompanyOrdersMetrics,
|
|
241
242
|
updateCompanyById: updateCompanyById,
|
|
242
243
|
updateCompanyLogoById: updateCompanyLogoById,
|
|
243
244
|
updateCompanyTaxInfoById: updateCompanyTaxInfoById,
|
package/src/interfaces/Api.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { deleteCashierBoxById, deleteCashierBoxMovementById } from "../api/cashi
|
|
|
2
2
|
import { getCashierBoxMovementsHistory, getCashierboxesById, getCashierboxesByStoreId } from "../api/cashierbox/get";
|
|
3
3
|
import { addCashierBoxMovement, createCashierBox } from "../api/cashierbox/post";
|
|
4
4
|
import { updateCashierBoxById, updateCashierBoxMovementById } from "../api/cashierbox/put";
|
|
5
|
-
import { getCompanyById } from "../api/companies/get";
|
|
5
|
+
import { getCompanyById, getCompanyOrdersMetrics } from "../api/companies/get";
|
|
6
6
|
import { disableBillingOverage, enableBillingOverage, updateCFDIOrgLogo, updateCompanyTaxInfoCertificates } from "../api/companies/post";
|
|
7
7
|
import { updateCompanyById, updateCompanyLogoById, updateCompanyTaxInfoById } from "../api/companies/put";
|
|
8
8
|
import { getCountries } from "../api/countries/get";
|
|
@@ -223,6 +223,7 @@ export interface WashdayClientInstance {
|
|
|
223
223
|
};
|
|
224
224
|
companies: {
|
|
225
225
|
getCompanyById: typeof getCompanyById;
|
|
226
|
+
getCompanyOrdersMetrics: typeof getCompanyOrdersMetrics;
|
|
226
227
|
updateCompanyById: typeof updateCompanyById;
|
|
227
228
|
updateCompanyLogoById: typeof updateCompanyLogoById;
|
|
228
229
|
updateCompanyTaxInfoById: typeof updateCompanyTaxInfoById;
|