tickera-angular-components 0.0.1-dev.205 → 0.0.1-dev.208
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/index.d.ts
CHANGED
|
@@ -516,7 +516,8 @@ declare enum OrderItemType {
|
|
|
516
516
|
PRODUCT = "PRODUCT",
|
|
517
517
|
GIFT_BOND = "GIFT_BOND",
|
|
518
518
|
CORPORATE_BOND = "CORPORATE_BOND",
|
|
519
|
-
VIP_RECHARGE = "VIP_RECHARGE"
|
|
519
|
+
VIP_RECHARGE = "VIP_RECHARGE",
|
|
520
|
+
SUBSCRIPTION_ACTIVATION = "SUBSCRIPTION_ACTIVATION"
|
|
520
521
|
}
|
|
521
522
|
|
|
522
523
|
declare enum OrderStatus {
|
|
@@ -1436,11 +1437,8 @@ interface Order extends Auditable {
|
|
|
1436
1437
|
status: OrderStatus;
|
|
1437
1438
|
show_snapshot: OrderShowSnapshot | null;
|
|
1438
1439
|
performance_snapshot: OrderPerformanceSnapshot | null;
|
|
1439
|
-
/** true cuando la orden es una cortesía/donación pedagógica. */
|
|
1440
1440
|
is_courtesy: boolean;
|
|
1441
|
-
/** Beneficiario (texto libre) de la cortesía pedagógica, si aplica. */
|
|
1442
1441
|
courtesy_beneficiary: string | null;
|
|
1443
|
-
/** Tipo de visibilidad de la función al momento de la compra (pedagogic, private, public). */
|
|
1444
1442
|
performance_visibility_snapshot: string | null;
|
|
1445
1443
|
payment_method: PaymentMethod | null;
|
|
1446
1444
|
terms_accepted: boolean;
|
|
@@ -1452,12 +1450,11 @@ interface Order extends Auditable {
|
|
|
1452
1450
|
corporate_bond_code_id: number | null;
|
|
1453
1451
|
gift_bond: GiftBond | null;
|
|
1454
1452
|
gift_bond_id: number | null;
|
|
1455
|
-
/** Snapshot de la Tarjeta VIP usada como método de pago (VIP_BALANCE). */
|
|
1456
1453
|
vip_snapshot: Record<string, any> | null;
|
|
1457
1454
|
vip_card_id: number | null;
|
|
1458
|
-
/** Snapshot del Abono (subscription) usado para redimir la boleta. */
|
|
1459
1455
|
subscription_snapshot: Record<string, any> | null;
|
|
1460
1456
|
subscription_id: number | null;
|
|
1457
|
+
subscription_redeemed_tickets_count?: number | null;
|
|
1461
1458
|
comments: string | null;
|
|
1462
1459
|
address_notes: string | null;
|
|
1463
1460
|
mercado_pago_preference_id: string;
|
|
@@ -2032,10 +2029,7 @@ interface OrderDiscountInfo {
|
|
|
2032
2029
|
value: number;
|
|
2033
2030
|
discountType: 'percentage' | 'fixed' | null;
|
|
2034
2031
|
icon: string;
|
|
2035
|
-
|
|
2036
|
-
* true cuando esta fuente de descuento tambien exonero la tarifa de
|
|
2037
|
-
* servicio de la orden (VIP/Abono con `service_fee_exempt`).
|
|
2038
|
-
*/
|
|
2032
|
+
redeemedTicketsCount?: number | null;
|
|
2039
2033
|
serviceFeeExempt: boolean;
|
|
2040
2034
|
}
|
|
2041
2035
|
declare function getOrderDiscount(order: Order): OrderDiscountInfo;
|
|
@@ -4657,6 +4651,7 @@ declare class OrderDiscountAppliedComponent {
|
|
|
4657
4651
|
protected get discountInfo(): OrderDiscountInfo;
|
|
4658
4652
|
protected get hasDiscount(): boolean;
|
|
4659
4653
|
protected get discountPercentage(): number | null;
|
|
4654
|
+
protected get redeemedTicketsCount(): number | null;
|
|
4660
4655
|
protected get serviceFeeExemptValue(): number;
|
|
4661
4656
|
protected get badgeColors(): {
|
|
4662
4657
|
text: string;
|