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

@figuredev/business-config-sdk

Package Overview
Dependencies
Maintainers
9
Versions
147
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@figuredev/business-config-sdk - npm Package Compare versions

Comparing version 0.15.72 to 0.15.73

lib/timeRecord.d.ts

8

lib/index.d.ts

@@ -21,2 +21,3 @@ import { AccountDTO, PreparedImageUploadDTO } from "./account";

import { TerminalDTO, TerminalPreviewDTO } from "./terminal";
import { TimeRecordLogDTO } from "./timeRecord";
import { UserContext } from "./utils";

@@ -84,2 +85,8 @@ type BusinessConfigClientConfig = {

};
export type GetTimeRecordLogsQueryParams = {
accountId: string;
dateFrom?: string;
dateTo?: string;
locationIds?: string[];
};
export declare class BusinessConfigClient {

@@ -130,3 +137,4 @@ private config;

getMenu(ctx: UserContext, params: GetMenuQueryParams): Promise<MenuDTO>;
getTimeRecordLogs(ctx: UserContext, params: GetTimeRecordLogsQueryParams): Promise<TimeRecordLogDTO[]>;
}
export {};

@@ -444,4 +444,17 @@ "use strict";

}
getTimeRecordLogs(ctx, params) {
var _a;
return __awaiter(this, void 0, void 0, function* () {
const { data } = yield (0, http_1.createHttpRequest)({
baseURL: this.config.baseUrl,
method: "GET",
url: "/time-record/log",
headers: this.prepareHeaders(ctx),
params: Object.assign(Object.assign({}, params), { locationIds: (_a = params.locationIds) === null || _a === void 0 ? void 0 : _a.join(",") }),
});
return data;
});
}
}
exports.BusinessConfigClient = BusinessConfigClient;
//# sourceMappingURL=index.js.map

2

package.json
{
"name": "@figuredev/business-config-sdk",
"version": "0.15.72",
"version": "0.15.73",
"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