Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@figuredev/orders-sdk

Package Overview
Dependencies
Maintainers
10
Versions
151
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@figuredev/orders-sdk - npm Package Compare versions

Comparing version 0.12.90 to 0.12.91

lib/till.d.ts

6

lib/index.d.ts

@@ -6,2 +6,3 @@ import { Maybe } from "fgr-lib-backend/lib/types";

import { ReportPreparationTimeByItemDTO, ReportPreparationTimeHourlyDTO } from "./report";
import { TillCountDTO } from "./till";
import { IsoDate, IsoDateTime } from "./types";

@@ -53,3 +54,8 @@ import { UserContext } from "./utils";

}): Promise<ReportPreparationTimeHourlyDTO>;
getTillsCount(ctx: UserContext, params: {
locationId: string;
includeDeleted: boolean;
includeClosed: boolean;
}): Promise<TillCountDTO>;
}
export {};

@@ -147,4 +147,25 @@ "use strict";

}
getTillsCount(ctx, params) {
return __awaiter(this, void 0, void 0, function* () {
return yield http_1.createHttpRequest({
baseURL: this.config.baseUrl,
method: "GET",
url: "/till/count",
headers: this.prepareHeaders(ctx),
params: {
includeDeleted: params.includeDeleted,
includeClosed: params.includeClosed,
},
}).then((r) => {
var _a;
return (_a = r.data) !== null && _a !== void 0 ? _a : {
count: 0,
includeDeleted: params.includeDeleted,
includeClosed: params.includeClosed,
};
});
});
}
}
exports.OrdersClient = OrdersClient;
//# sourceMappingURL=index.js.map

2

package.json
{
"name": "@figuredev/orders-sdk",
"version": "0.12.90",
"version": "0.12.91",
"license": "ISC",

@@ -5,0 +5,0 @@ "files": [

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc