@posx/core 5.5.172 → 5.5.174
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/build/index.d.ts +10 -3
- package/build/index.js +1 -1
- package/package.json +1 -1
- package/package.publish.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -2629,7 +2629,7 @@ declare module '@posx/core/types/hub.message.type' {
|
|
|
2629
2629
|
declare module '@posx/core/types/invoice.type' {
|
|
2630
2630
|
import { IAppCoreModel, AppCoreModel } from '@posx/core/types/abstract.type';
|
|
2631
2631
|
import { IPayment } from '@posx/core/types/payment.type';
|
|
2632
|
-
import { CoreItem, ICoreItem, IItem, Item } from '@posx/core/types/product.type';
|
|
2632
|
+
import { CoreItem, type ICoreItem, type IItem, Item } from '@posx/core/types/product.type';
|
|
2633
2633
|
import { Address, Customer, IAddress, ICustomer } from '@posx/core/types/wyo.customer.type';
|
|
2634
2634
|
import { ISectionItem } from '@posx/core/types/section.type';
|
|
2635
2635
|
import { ITill } from '@posx/core/types/shift.type';
|
|
@@ -2756,6 +2756,8 @@ declare module '@posx/core/types/invoice.type' {
|
|
|
2756
2756
|
type: DiscountType;
|
|
2757
2757
|
/** Discount unique id */
|
|
2758
2758
|
voucher_uid?: string;
|
|
2759
|
+
/** Applying item uids */
|
|
2760
|
+
applying_item_uids: string[];
|
|
2759
2761
|
/** Discount unique id */
|
|
2760
2762
|
coupon_uid?: string;
|
|
2761
2763
|
/** Calculation flow */
|
|
@@ -2769,6 +2771,7 @@ declare module '@posx/core/types/invoice.type' {
|
|
|
2769
2771
|
percent_amount: number;
|
|
2770
2772
|
type: DiscountType;
|
|
2771
2773
|
calc_flow: CalcFlow;
|
|
2774
|
+
applying_item_uids: string[];
|
|
2772
2775
|
name: string;
|
|
2773
2776
|
name_translation: {};
|
|
2774
2777
|
voucher_uid: string;
|
|
@@ -4711,8 +4714,12 @@ declare module '@posx/core/types/wyo.coupon.type' {
|
|
|
4711
4714
|
Percent = 2
|
|
4712
4715
|
}
|
|
4713
4716
|
export interface IApplying<T> {
|
|
4714
|
-
|
|
4715
|
-
|
|
4717
|
+
applying_type: ApplyingType;
|
|
4718
|
+
applying_items: T[];
|
|
4719
|
+
}
|
|
4720
|
+
export class Applying<T> implements IApplying<T> {
|
|
4721
|
+
applying_type: ApplyingType;
|
|
4722
|
+
applying_items: T[];
|
|
4716
4723
|
}
|
|
4717
4724
|
export interface ICoupon {
|
|
4718
4725
|
/** Coupon guid */
|