@figuredev/orders-sdk
Advanced tools
Comparing version 0.13.1 to 0.13.2
@@ -6,2 +6,5 @@ # Changelog | ||
## 0.13.2 | ||
- Fixed typings | ||
## 0.13.1 | ||
@@ -8,0 +11,0 @@ - Added `SDK.getCustomerById` to get a loyalty program transaction by id |
@@ -56,4 +56,4 @@ import { Maybe } from "@figurepos/fgr-lib-backend/lib/types"; | ||
constructor(config: OrdersClientConfig); | ||
placeOrder(order: OrderInputDTO, ctx: UserContext): Promise<unknown>; | ||
getOrderForTable(ctx: UserContext, assignmentId: Maybe<string>): Promise<unknown>; | ||
placeOrder(order: OrderInputDTO, ctx: UserContext): Promise<void>; | ||
getOrderForTable(ctx: UserContext, assignmentId: Maybe<string>): Promise<OrderDTO>; | ||
getOrder(ctx: UserContext, id: string): Promise<OrderDTO>; | ||
@@ -60,0 +60,0 @@ getOrdersPreviews(ctx: UserContext, params: GetOrdersPreviewsParams): Promise<OrderPreviewDTO[]>; |
@@ -21,3 +21,3 @@ "use strict"; | ||
return __awaiter(this, void 0, void 0, function* () { | ||
return this.post(ctx, "/order/v3", { order: order }); | ||
yield this.post(ctx, "/order/v3", { order: order }); | ||
}); | ||
@@ -24,0 +24,0 @@ } |
{ | ||
"name": "@figuredev/orders-sdk", | ||
"version": "0.13.1", | ||
"version": "0.13.2", | ||
"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
78421