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

@figuredev/orders-sdk

Package Overview
Dependencies
Maintainers
8
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.55 to 0.12.56

2

lib/index.d.ts

@@ -0,1 +1,2 @@

import { Maybe } from "fgr-lib-backend/lib/types";
import { InventoryInfoDTO } from "./inventory";

@@ -20,2 +21,3 @@ import { OrderDTO } from "./orderV3";

placeOrder(order: OrderDTO, ctx: UserContext): Promise<import("axios").AxiosResponse<any>>;
getOrderForTable(ctx: UserContext, assignmentId: Maybe<string>): Promise<any>;
getOrder(ctx: UserContext, id: string): Promise<OrderDTO>;

@@ -22,0 +24,0 @@ getOrdersCount(ctx: UserContext, params: {

@@ -34,2 +34,17 @@ "use strict";

}
getOrderForTable(ctx, assignmentId) {
return __awaiter(this, void 0, void 0, function* () {
return yield http_1.createHttpRequest({
baseURL: this.config.baseUrl,
method: "POST",
url: "/order/order-lookup",
headers: this.prepareHeaders(ctx),
data: {
assignmentId: assignmentId,
state: "active",
deleted: false,
},
}).then((r) => r.data);
});
}
getOrder(ctx, id) {

@@ -36,0 +51,0 @@ return __awaiter(this, void 0, void 0, function* () {

2

lib/reportsTypes.d.ts

@@ -111,4 +111,4 @@ import { Maybe } from "./types";

account_id: string;
fromTimestamp: string;
fromTimestamp: Maybe<string>;
toTimestamp: Maybe<string>;
};
{
"name": "@figuredev/orders-sdk",
"version": "0.12.55",
"version": "0.12.56",
"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