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
5
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.10.3 to 0.10.4

2

lib/assignments.d.ts

@@ -5,3 +5,3 @@ export declare type AssignmentDTO = {

locationId: string;
parentId: string | null;
parentId?: string | null;
deleted?: boolean;

@@ -8,0 +8,0 @@ specialType?: string;

@@ -56,2 +56,3 @@ import { UserContext } from "./utils";

getEmployee(ctx: UserContext, id: string): Promise<EmployeeDTO | null>;
getAssignment(ctx: UserContext, id: string): Promise<AssignmentDTO | null>;
getAssignments(ctx: UserContext, params: GetAssignmentsQueryParams): Promise<AssignmentDTO[]>;

@@ -58,0 +59,0 @@ getPricingByPromoCode(ctx: UserContext, promoCode: string): Promise<PricingDTO | null>;

@@ -99,2 +99,14 @@ "use strict";

}
getAssignment(ctx, id) {
return __awaiter(this, void 0, void 0, function* () {
return yield axios_1.default
.request({
baseURL: this.config.baseUrl,
method: "GET",
url: `/assignment/${id}`,
headers: this.prepareHeaders(ctx),
})
.then((r) => r.data);
});
}
getAssignments(ctx, params) {

@@ -101,0 +113,0 @@ return __awaiter(this, void 0, void 0, function* () {

{
"name": "@figuredev/business-config-sdk",
"version": "0.10.3",
"version": "0.10.4",
"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