@open-tender/types 0.4.123 → 0.4.125
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/cjs/types/api/checkout.d.ts +2 -0
- package/dist/cjs/types/api/creditCards.d.ts +2 -0
- package/dist/cjs/types/api/devices.d.ts +2 -1
- package/dist/cjs/types/api/store.d.ts +2 -2
- package/dist/esm/types/api/checkout.d.ts +2 -0
- package/dist/esm/types/api/creditCards.d.ts +2 -0
- package/dist/esm/types/api/devices.d.ts +2 -1
- package/dist/esm/types/api/store.d.ts +2 -2
- package/package.json +1 -1
|
@@ -152,6 +152,7 @@ export interface CheckoutTenderCreditGuest {
|
|
|
152
152
|
addr?: string;
|
|
153
153
|
amount: Money;
|
|
154
154
|
card_type_name: CardTypeName;
|
|
155
|
+
cardholder_name?: string;
|
|
155
156
|
cvv: string;
|
|
156
157
|
exp: string;
|
|
157
158
|
is_default: boolean;
|
|
@@ -286,6 +287,7 @@ export interface CheckoutTenderPos {
|
|
|
286
287
|
amount?: Money;
|
|
287
288
|
cash_back?: Money;
|
|
288
289
|
customer_card_id?: string;
|
|
290
|
+
cardholder_name?: string;
|
|
289
291
|
cvv?: string;
|
|
290
292
|
exp?: string;
|
|
291
293
|
gift_card_code?: string | number;
|
|
@@ -13,6 +13,7 @@ export interface CreditCardSaved {
|
|
|
13
13
|
customer_card_id: number;
|
|
14
14
|
}
|
|
15
15
|
export interface CreditCardData {
|
|
16
|
+
cardholder_name?: string;
|
|
16
17
|
acct: string;
|
|
17
18
|
addr?: string;
|
|
18
19
|
exp: string;
|
|
@@ -26,6 +27,7 @@ export interface CreditCardUpdate {
|
|
|
26
27
|
is_default: boolean;
|
|
27
28
|
}
|
|
28
29
|
export interface CreditCardErrors extends Record<string, string | undefined> {
|
|
30
|
+
cardholder_name?: string;
|
|
29
31
|
addr?: string;
|
|
30
32
|
acct?: string;
|
|
31
33
|
exp?: string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ISOString } from '../datetimes';
|
|
1
2
|
export interface PosPrinter {
|
|
2
3
|
backup_pos_printer_v2_id: number;
|
|
3
4
|
description: string;
|
|
@@ -28,7 +29,7 @@ export interface PosTerminal {
|
|
|
28
29
|
print_kds: boolean;
|
|
29
30
|
print_receipt: PosTerminalPrintReceipt;
|
|
30
31
|
printers: PosPrinters;
|
|
31
|
-
disable_kiosk_until:
|
|
32
|
+
disable_kiosk_until: ISOString | null;
|
|
32
33
|
}
|
|
33
34
|
export declare type PosTerminals = PosTerminal[];
|
|
34
35
|
export declare type PrepStationPrepType = 'ASSEMBLY' | 'EXPO';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TimeString } from '../datetimes';
|
|
2
2
|
import { Decimal, Money, PrepType, ServiceType, TenderType, Weekday } from '../global';
|
|
3
3
|
export declare type PaymentProcessor = 'NONE' | 'CARDCONNECT' | 'VANTIV' | 'CLOVER' | 'NMI';
|
|
4
4
|
export interface PaymentProcessing {
|
|
@@ -140,6 +140,6 @@ export interface Store {
|
|
|
140
140
|
display_default_prep_type: boolean;
|
|
141
141
|
display_category_image: boolean;
|
|
142
142
|
display_descriptions: boolean;
|
|
143
|
-
disable_kiosk_message:
|
|
143
|
+
disable_kiosk_message: string | null;
|
|
144
144
|
}
|
|
145
145
|
export declare type Stores = Store[];
|
|
@@ -152,6 +152,7 @@ export interface CheckoutTenderCreditGuest {
|
|
|
152
152
|
addr?: string;
|
|
153
153
|
amount: Money;
|
|
154
154
|
card_type_name: CardTypeName;
|
|
155
|
+
cardholder_name?: string;
|
|
155
156
|
cvv: string;
|
|
156
157
|
exp: string;
|
|
157
158
|
is_default: boolean;
|
|
@@ -286,6 +287,7 @@ export interface CheckoutTenderPos {
|
|
|
286
287
|
amount?: Money;
|
|
287
288
|
cash_back?: Money;
|
|
288
289
|
customer_card_id?: string;
|
|
290
|
+
cardholder_name?: string;
|
|
289
291
|
cvv?: string;
|
|
290
292
|
exp?: string;
|
|
291
293
|
gift_card_code?: string | number;
|
|
@@ -13,6 +13,7 @@ export interface CreditCardSaved {
|
|
|
13
13
|
customer_card_id: number;
|
|
14
14
|
}
|
|
15
15
|
export interface CreditCardData {
|
|
16
|
+
cardholder_name?: string;
|
|
16
17
|
acct: string;
|
|
17
18
|
addr?: string;
|
|
18
19
|
exp: string;
|
|
@@ -26,6 +27,7 @@ export interface CreditCardUpdate {
|
|
|
26
27
|
is_default: boolean;
|
|
27
28
|
}
|
|
28
29
|
export interface CreditCardErrors extends Record<string, string | undefined> {
|
|
30
|
+
cardholder_name?: string;
|
|
29
31
|
addr?: string;
|
|
30
32
|
acct?: string;
|
|
31
33
|
exp?: string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ISOString } from '../datetimes';
|
|
1
2
|
export interface PosPrinter {
|
|
2
3
|
backup_pos_printer_v2_id: number;
|
|
3
4
|
description: string;
|
|
@@ -28,7 +29,7 @@ export interface PosTerminal {
|
|
|
28
29
|
print_kds: boolean;
|
|
29
30
|
print_receipt: PosTerminalPrintReceipt;
|
|
30
31
|
printers: PosPrinters;
|
|
31
|
-
disable_kiosk_until:
|
|
32
|
+
disable_kiosk_until: ISOString | null;
|
|
32
33
|
}
|
|
33
34
|
export declare type PosTerminals = PosTerminal[];
|
|
34
35
|
export declare type PrepStationPrepType = 'ASSEMBLY' | 'EXPO';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TimeString } from '../datetimes';
|
|
2
2
|
import { Decimal, Money, PrepType, ServiceType, TenderType, Weekday } from '../global';
|
|
3
3
|
export declare type PaymentProcessor = 'NONE' | 'CARDCONNECT' | 'VANTIV' | 'CLOVER' | 'NMI';
|
|
4
4
|
export interface PaymentProcessing {
|
|
@@ -140,6 +140,6 @@ export interface Store {
|
|
|
140
140
|
display_default_prep_type: boolean;
|
|
141
141
|
display_category_image: boolean;
|
|
142
142
|
display_descriptions: boolean;
|
|
143
|
-
disable_kiosk_message:
|
|
143
|
+
disable_kiosk_message: string | null;
|
|
144
144
|
}
|
|
145
145
|
export declare type Stores = Store[];
|
package/package.json
CHANGED