@open-tender/types 0.4.40 → 0.4.42
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/devices.d.ts +3 -0
- package/dist/cjs/types/api/surcharges.d.ts +7 -7
- package/dist/cjs/types/api/taxes.d.ts +6 -6
- package/dist/cjs/types/global.d.ts +1 -1
- package/dist/esm/types/api/devices.d.ts +3 -0
- package/dist/esm/types/api/surcharges.d.ts +7 -7
- package/dist/esm/types/api/taxes.d.ts +6 -6
- package/dist/esm/types/global.d.ts +1 -1
- package/package.json +1 -1
- package/dist/.DS_Store +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { Money, SurchargeType } from '../global';
|
|
2
2
|
export interface Surcharge {
|
|
3
|
-
id: number;
|
|
4
|
-
name: string;
|
|
5
|
-
surcharge_type: SurchargeType;
|
|
6
|
-
position: number;
|
|
7
3
|
amount: Money;
|
|
8
|
-
|
|
9
|
-
max_amount: Money;
|
|
4
|
+
id: number;
|
|
10
5
|
is_active: boolean;
|
|
11
6
|
is_taxed: boolean;
|
|
7
|
+
max_amount: Money;
|
|
8
|
+
min_amount: Money;
|
|
9
|
+
name: string;
|
|
10
|
+
position: number;
|
|
12
11
|
requires_approval: boolean;
|
|
12
|
+
surcharge_type: SurchargeType;
|
|
13
13
|
version: number;
|
|
14
14
|
}
|
|
15
|
-
export declare type Surcharges =
|
|
15
|
+
export declare type Surcharges = Surcharge[];
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { Money, OrderType, ServiceType, TaxType } from '../global';
|
|
2
2
|
export interface Tax {
|
|
3
|
+
amount: Money;
|
|
3
4
|
id: number;
|
|
5
|
+
max_amount: Money;
|
|
6
|
+
min_amount: Money;
|
|
4
7
|
name: string;
|
|
5
|
-
|
|
8
|
+
order_type: OrderType | null;
|
|
6
9
|
position: number;
|
|
7
|
-
amount: Money;
|
|
8
|
-
min_amount: Money;
|
|
9
|
-
max_amount: Money;
|
|
10
10
|
requires_approval: boolean;
|
|
11
11
|
service_type: ServiceType | null;
|
|
12
|
-
|
|
12
|
+
tax_type: TaxType;
|
|
13
13
|
version: number;
|
|
14
14
|
}
|
|
15
|
-
export declare type Taxes =
|
|
15
|
+
export declare type Taxes = Tax[];
|
|
@@ -39,7 +39,7 @@ export declare type ReceiptType = 'SALE' | 'REFUND';
|
|
|
39
39
|
export declare type ChannelType = 'POS' | 'ONLINE' | 'APP' | 'PHONE' | 'KIOSK' | 'PORTAL';
|
|
40
40
|
export declare type OrderStatus = 'OPEN' | 'HELD' | 'CLOSED' | 'VOID' | 'PENDING';
|
|
41
41
|
export declare type TenderStatus = 'AUTHORIZED' | 'PAID' | 'REFUNDED' | 'VOID' | 'FAILED';
|
|
42
|
-
export declare type EntityType = '
|
|
42
|
+
export declare type EntityType = 'DEVICES' | 'DISCOUNT' | 'EMPLOYEE' | 'HOUSE_ACCOUNT' | 'ITEM_COLORS' | 'ITEM_TYPE' | 'KIOSK_CONFIG' | 'LEVELUP' | 'MENU' | 'POS_MESSAGE' | 'POS_PAGE' | 'QRCODE' | 'SELECT_OPTION' | 'STORE' | 'SURCHARGE' | 'TAX';
|
|
43
43
|
export interface PicklistOption {
|
|
44
44
|
name: string;
|
|
45
45
|
value: string | number;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { Money, SurchargeType } from '../global';
|
|
2
2
|
export interface Surcharge {
|
|
3
|
-
id: number;
|
|
4
|
-
name: string;
|
|
5
|
-
surcharge_type: SurchargeType;
|
|
6
|
-
position: number;
|
|
7
3
|
amount: Money;
|
|
8
|
-
|
|
9
|
-
max_amount: Money;
|
|
4
|
+
id: number;
|
|
10
5
|
is_active: boolean;
|
|
11
6
|
is_taxed: boolean;
|
|
7
|
+
max_amount: Money;
|
|
8
|
+
min_amount: Money;
|
|
9
|
+
name: string;
|
|
10
|
+
position: number;
|
|
12
11
|
requires_approval: boolean;
|
|
12
|
+
surcharge_type: SurchargeType;
|
|
13
13
|
version: number;
|
|
14
14
|
}
|
|
15
|
-
export declare type Surcharges =
|
|
15
|
+
export declare type Surcharges = Surcharge[];
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { Money, OrderType, ServiceType, TaxType } from '../global';
|
|
2
2
|
export interface Tax {
|
|
3
|
+
amount: Money;
|
|
3
4
|
id: number;
|
|
5
|
+
max_amount: Money;
|
|
6
|
+
min_amount: Money;
|
|
4
7
|
name: string;
|
|
5
|
-
|
|
8
|
+
order_type: OrderType | null;
|
|
6
9
|
position: number;
|
|
7
|
-
amount: Money;
|
|
8
|
-
min_amount: Money;
|
|
9
|
-
max_amount: Money;
|
|
10
10
|
requires_approval: boolean;
|
|
11
11
|
service_type: ServiceType | null;
|
|
12
|
-
|
|
12
|
+
tax_type: TaxType;
|
|
13
13
|
version: number;
|
|
14
14
|
}
|
|
15
|
-
export declare type Taxes =
|
|
15
|
+
export declare type Taxes = Tax[];
|
|
@@ -39,7 +39,7 @@ export declare type ReceiptType = 'SALE' | 'REFUND';
|
|
|
39
39
|
export declare type ChannelType = 'POS' | 'ONLINE' | 'APP' | 'PHONE' | 'KIOSK' | 'PORTAL';
|
|
40
40
|
export declare type OrderStatus = 'OPEN' | 'HELD' | 'CLOSED' | 'VOID' | 'PENDING';
|
|
41
41
|
export declare type TenderStatus = 'AUTHORIZED' | 'PAID' | 'REFUNDED' | 'VOID' | 'FAILED';
|
|
42
|
-
export declare type EntityType = '
|
|
42
|
+
export declare type EntityType = 'DEVICES' | 'DISCOUNT' | 'EMPLOYEE' | 'HOUSE_ACCOUNT' | 'ITEM_COLORS' | 'ITEM_TYPE' | 'KIOSK_CONFIG' | 'LEVELUP' | 'MENU' | 'POS_MESSAGE' | 'POS_PAGE' | 'QRCODE' | 'SELECT_OPTION' | 'STORE' | 'SURCHARGE' | 'TAX';
|
|
43
43
|
export interface PicklistOption {
|
|
44
44
|
name: string;
|
|
45
45
|
value: string | number;
|
package/package.json
CHANGED
package/dist/.DS_Store
DELETED
|
Binary file
|