tickera-angular-components 0.0.1-dev.72 → 0.0.1-dev.74
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/fesm2022/tickera-angular-components.mjs +19 -8
- package/fesm2022/tickera-angular-components.mjs.map +1 -1
- package/i18n/en.json +2 -1
- package/i18n/es.json +2 -1
- package/index.d.ts +28 -25
- package/package.json +1 -1
package/i18n/en.json
CHANGED
package/i18n/es.json
CHANGED
package/index.d.ts
CHANGED
|
@@ -1012,17 +1012,6 @@ interface GiftBondsResponse {
|
|
|
1012
1012
|
message: string;
|
|
1013
1013
|
}
|
|
1014
1014
|
|
|
1015
|
-
interface ValidateGiftBondResponse {
|
|
1016
|
-
data: {
|
|
1017
|
-
valid: boolean;
|
|
1018
|
-
message: string;
|
|
1019
|
-
code: string;
|
|
1020
|
-
bond?: GiftBond;
|
|
1021
|
-
};
|
|
1022
|
-
statusCode: number;
|
|
1023
|
-
message: string;
|
|
1024
|
-
}
|
|
1025
|
-
|
|
1026
1015
|
interface GiftBondPurchase extends Auditable {
|
|
1027
1016
|
id: number;
|
|
1028
1017
|
code: string;
|
|
@@ -1039,6 +1028,17 @@ interface GiftBondPurchase extends Auditable {
|
|
|
1039
1028
|
buyer_id: number;
|
|
1040
1029
|
}
|
|
1041
1030
|
|
|
1031
|
+
interface ValidateGiftBondResponse {
|
|
1032
|
+
data: {
|
|
1033
|
+
valid: boolean;
|
|
1034
|
+
message: string;
|
|
1035
|
+
code: string;
|
|
1036
|
+
bond?: GiftBondPurchase;
|
|
1037
|
+
};
|
|
1038
|
+
statusCode: number;
|
|
1039
|
+
message: string;
|
|
1040
|
+
}
|
|
1041
|
+
|
|
1042
1042
|
interface GiftBondPurchaseResponse {
|
|
1043
1043
|
statusCode: number;
|
|
1044
1044
|
data: GiftBondPurchase;
|
|
@@ -1076,29 +1076,29 @@ interface Order extends Auditable {
|
|
|
1076
1076
|
order_items_quantity?: number;
|
|
1077
1077
|
transactions: Transaction[];
|
|
1078
1078
|
sub_total: number;
|
|
1079
|
-
discount_amount: number;
|
|
1079
|
+
discount_amount: number | null;
|
|
1080
1080
|
total: number;
|
|
1081
|
-
sub_total_discounted: number;
|
|
1081
|
+
sub_total_discounted: number | null;
|
|
1082
1082
|
total_discounted: number;
|
|
1083
|
-
service_fee: number;
|
|
1084
|
-
service_fee_discounted: number;
|
|
1085
|
-
coupon: Coupon;
|
|
1086
|
-
coupon_snapshot: Record<string, any
|
|
1083
|
+
service_fee: number | null;
|
|
1084
|
+
service_fee_discounted: number | null;
|
|
1085
|
+
coupon: Coupon | null;
|
|
1086
|
+
coupon_snapshot: Record<string, any> | null;
|
|
1087
1087
|
status: OrderStatus;
|
|
1088
|
-
show_snapshot: Record<string, any
|
|
1089
|
-
performance_snapshot: Record<string, any
|
|
1090
|
-
payment_method: PaymentMethod;
|
|
1088
|
+
show_snapshot: Record<string, any> | null;
|
|
1089
|
+
performance_snapshot: Record<string, any> | null;
|
|
1090
|
+
payment_method: PaymentMethod | null;
|
|
1091
1091
|
terms_accepted: boolean;
|
|
1092
1092
|
data_processing_accepted: boolean;
|
|
1093
|
-
billing_info: Record<string, any
|
|
1094
|
-
corporate_bond_code_snapshot: Record<string, any
|
|
1095
|
-
gift_bond_snapshot: Record<string, any
|
|
1093
|
+
billing_info: Record<string, any> | null;
|
|
1094
|
+
corporate_bond_code_snapshot: Record<string, any> | null;
|
|
1095
|
+
gift_bond_snapshot: Record<string, any> | null;
|
|
1096
1096
|
corporate_bond_code: CorporateBondCode | null;
|
|
1097
1097
|
corporate_bond_code_id: number | null;
|
|
1098
1098
|
gift_bond: GiftBond | null;
|
|
1099
1099
|
gift_bond_id: number | null;
|
|
1100
|
-
comments: string;
|
|
1101
|
-
address_notes: string;
|
|
1100
|
+
comments: string | null;
|
|
1101
|
+
address_notes: string | null;
|
|
1102
1102
|
mercado_pago_preference_id: string;
|
|
1103
1103
|
created_by: number;
|
|
1104
1104
|
created_by_type: CreatorType;
|
|
@@ -3401,9 +3401,12 @@ declare class OrderItemsComponent {
|
|
|
3401
3401
|
protected get orderItems(): Order['order_items'];
|
|
3402
3402
|
protected get products(): Order['order_items'];
|
|
3403
3403
|
protected get tickets(): Order['order_items'];
|
|
3404
|
+
protected get giftBonds(): Order['order_items'];
|
|
3405
|
+
protected get showActionColumn(): boolean;
|
|
3404
3406
|
protected itemTotal(quantity: number, price: number): number;
|
|
3405
3407
|
protected hasDiscount(): boolean;
|
|
3406
3408
|
protected get totals(): {
|
|
3409
|
+
giftBonds: number;
|
|
3407
3410
|
products: number;
|
|
3408
3411
|
tickets: number;
|
|
3409
3412
|
};
|