@open-tender/types 0.4.37 → 0.4.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.DS_Store +0 -0
- package/dist/cjs/types/api/alerts.d.ts +1 -1
- package/dist/cjs/types/api/checkout.d.ts +17 -3
- package/dist/cjs/types/api/kiosk.d.ts +1 -0
- package/dist/esm/types/api/alerts.d.ts +1 -1
- package/dist/esm/types/api/checkout.d.ts +17 -3
- package/dist/esm/types/api/kiosk.d.ts +1 -0
- package/package.json +1 -1
package/dist/.DS_Store
ADDED
|
Binary file
|
|
@@ -268,12 +268,26 @@ export interface OrderCreate {
|
|
|
268
268
|
tenders?: CheckoutTenders;
|
|
269
269
|
tip?: Money;
|
|
270
270
|
}
|
|
271
|
-
export interface OrderCreatePos extends Omit<OrderCreate, 'customer'> {
|
|
272
|
-
customer: CustomerIdentify | null;
|
|
273
|
-
}
|
|
274
271
|
export interface CheckoutPoints {
|
|
275
272
|
points: CheckoutConfigLoyalty;
|
|
276
273
|
applied: OrderCreatePoints;
|
|
277
274
|
apply: (item: CartItemWithPoints) => void;
|
|
278
275
|
remove: (item: CartItemWithPoints) => void;
|
|
279
276
|
}
|
|
277
|
+
export interface CheckoutTenderPos {
|
|
278
|
+
acct?: string;
|
|
279
|
+
amount?: Money;
|
|
280
|
+
cash_back?: Money;
|
|
281
|
+
customer_card_id?: string;
|
|
282
|
+
cvv?: string;
|
|
283
|
+
exp?: string;
|
|
284
|
+
gift_card_code?: string | number;
|
|
285
|
+
house_account_pin?: string;
|
|
286
|
+
save?: boolean;
|
|
287
|
+
tender_type: TenderType;
|
|
288
|
+
track_data?: string;
|
|
289
|
+
zip?: string;
|
|
290
|
+
}
|
|
291
|
+
export interface OrderCreatePos extends Omit<OrderCreate, 'customer'> {
|
|
292
|
+
customer: CustomerIdentify | null;
|
|
293
|
+
}
|
|
@@ -268,12 +268,26 @@ export interface OrderCreate {
|
|
|
268
268
|
tenders?: CheckoutTenders;
|
|
269
269
|
tip?: Money;
|
|
270
270
|
}
|
|
271
|
-
export interface OrderCreatePos extends Omit<OrderCreate, 'customer'> {
|
|
272
|
-
customer: CustomerIdentify | null;
|
|
273
|
-
}
|
|
274
271
|
export interface CheckoutPoints {
|
|
275
272
|
points: CheckoutConfigLoyalty;
|
|
276
273
|
applied: OrderCreatePoints;
|
|
277
274
|
apply: (item: CartItemWithPoints) => void;
|
|
278
275
|
remove: (item: CartItemWithPoints) => void;
|
|
279
276
|
}
|
|
277
|
+
export interface CheckoutTenderPos {
|
|
278
|
+
acct?: string;
|
|
279
|
+
amount?: Money;
|
|
280
|
+
cash_back?: Money;
|
|
281
|
+
customer_card_id?: string;
|
|
282
|
+
cvv?: string;
|
|
283
|
+
exp?: string;
|
|
284
|
+
gift_card_code?: string | number;
|
|
285
|
+
house_account_pin?: string;
|
|
286
|
+
save?: boolean;
|
|
287
|
+
tender_type: TenderType;
|
|
288
|
+
track_data?: string;
|
|
289
|
+
zip?: string;
|
|
290
|
+
}
|
|
291
|
+
export interface OrderCreatePos extends Omit<OrderCreate, 'customer'> {
|
|
292
|
+
customer: CustomerIdentify | null;
|
|
293
|
+
}
|
package/package.json
CHANGED