@figuredev/orders-sdk
Advanced tools
Comparing version 0.12.61 to 0.12.62
import { Maybe } from "fgr-lib-backend/lib/types"; | ||
import { InventoryInfoDTO } from "./inventory"; | ||
import { OrderDTO, OrderPreviewDTO } from "./orderV3"; | ||
import { OrderDTO, OrderPreviewDTO } from "./order"; | ||
import { OrderInputDTO } from "./orderInput"; | ||
import { ReportPreparationTimeByItemDTO, ReportPreparationTimeHourlyDTO } from "./report"; | ||
@@ -20,3 +21,3 @@ import { IsoDate, IsoDateTime } from "./types"; | ||
}; | ||
placeOrder(order: OrderDTO, ctx: UserContext): Promise<import("axios").AxiosResponse<any>>; | ||
placeOrder(order: OrderInputDTO, ctx: UserContext): Promise<import("axios").AxiosResponse<any>>; | ||
getOrderForTable(ctx: UserContext, assignmentId: Maybe<string>): Promise<any>; | ||
@@ -23,0 +24,0 @@ getOrder(ctx: UserContext, id: string): Promise<OrderDTO>; |
@@ -14,2 +14,3 @@ "use strict"; | ||
const http_1 = require("./http"); | ||
const order_1 = require("./order"); | ||
class OrdersClient { | ||
@@ -44,3 +45,3 @@ constructor(config) { | ||
assignmentId: assignmentId, | ||
state: "active", | ||
state: [order_1.OrderStateDTO.Created, order_1.OrderStateDTO.Active], | ||
deleted: false, | ||
@@ -47,0 +48,0 @@ }, |
{ | ||
"name": "@figuredev/orders-sdk", | ||
"version": "0.12.61", | ||
"version": "0.12.62", | ||
"license": "ISC", | ||
@@ -5,0 +5,0 @@ "files": [ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
58369
32
1137