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
8
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.19 to 0.15.20

6

lib/category.d.ts

@@ -47,2 +47,8 @@ import { Maybe, TimeSpan } from "./utils";

};
export declare type CategoryReportDTO = {
id: string;
name: string;
type: CategoryTypeDTO;
parentId?: string;
};
export declare enum CategoryTypeDTO {

@@ -49,0 +55,0 @@ Category = "category",

3

lib/index.d.ts
import { AccountDTO } from "./account";
import { AssignmentDTO } from "./assignments";
import { CategoryDTO, MatchCategoriesRequestItem, MatchCategoriesResponseItem, ModifierGroupDTO } from "./category";
import { CategoryDTO, CategoryReportDTO, MatchCategoriesRequestItem, MatchCategoriesResponseItem, ModifierGroupDTO } from "./category";
import { DeliverySettingDTO } from "./delivery";

@@ -110,4 +110,5 @@ import { EmployeeDTO } from "./employee";

getCategories(ctx: UserContext, params: GetCategoriesQueryParams): Promise<CategoryDTO[]>;
getCategoriesForReports(ctx: UserContext): Promise<CategoryReportDTO[]>;
getDeliverySettings(ctx: UserContext, params: GetDeliverySettingsQueryParams): Promise<DeliverySettingDTO>;
}
export {};

@@ -322,2 +322,13 @@ "use strict";

}
getCategoriesForReports(ctx) {
return __awaiter(this, void 0, void 0, function* () {
return yield http_1.createHttpRequest({
baseURL: this.config.baseUrl,
method: "GET",
url: "/category/reports",
headers: this.prepareHeaders(ctx),
params: {},
}).then((r) => r.data);
});
}
getDeliverySettings(ctx, params) {

@@ -324,0 +335,0 @@ return __awaiter(this, void 0, void 0, function* () {

{
"name": "@figuredev/business-config-sdk",
"version": "0.15.19",
"version": "0.15.20",
"license": "ISC",

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

Sorry, the diff of this file is not supported yet

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