@open-tender/types 0.4.41 → 0.4.43
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 +1 -1
- package/dist/cjs/types/api/surcharges.d.ts +7 -7
- package/dist/cjs/types/api/taxes.d.ts +6 -6
- package/dist/esm/types/api/devices.d.ts +1 -1
- package/dist/esm/types/api/surcharges.d.ts +7 -7
- package/dist/esm/types/api/taxes.d.ts +6 -6
- package/package.json +1 -1
- package/dist/.DS_Store +0 -0
|
@@ -25,7 +25,7 @@ export interface PosTerminal {
|
|
|
25
25
|
pos_terminal_id: number;
|
|
26
26
|
print_kds: boolean;
|
|
27
27
|
print_receipt: PosTerminalPrintReceipt;
|
|
28
|
-
|
|
28
|
+
printers: PosPrinters;
|
|
29
29
|
}
|
|
30
30
|
export declare type PosTerminals = PosTerminal[];
|
|
31
31
|
export declare type PrepStationPrepType = 'ASSEMBLY' | 'EXPO';
|
|
@@ -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[];
|
|
@@ -25,7 +25,7 @@ export interface PosTerminal {
|
|
|
25
25
|
pos_terminal_id: number;
|
|
26
26
|
print_kds: boolean;
|
|
27
27
|
print_receipt: PosTerminalPrintReceipt;
|
|
28
|
-
|
|
28
|
+
printers: PosPrinters;
|
|
29
29
|
}
|
|
30
30
|
export declare type PosTerminals = PosTerminal[];
|
|
31
31
|
export declare type PrepStationPrepType = 'ASSEMBLY' | 'EXPO';
|
|
@@ -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[];
|
package/package.json
CHANGED
package/dist/.DS_Store
DELETED
|
Binary file
|