tickera-angular-components 0.0.1-dev.71 → 0.0.1-dev.73
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
|
@@ -417,7 +417,8 @@ interface CustomersResponse {
|
|
|
417
417
|
|
|
418
418
|
declare enum OrderItemType {
|
|
419
419
|
TICKET = "TICKET",
|
|
420
|
-
PRODUCT = "PRODUCT"
|
|
420
|
+
PRODUCT = "PRODUCT",
|
|
421
|
+
GIFT_BOND = "GIFT_BOND"
|
|
421
422
|
}
|
|
422
423
|
|
|
423
424
|
declare enum OrderStatus {
|
|
@@ -1011,17 +1012,6 @@ interface GiftBondsResponse {
|
|
|
1011
1012
|
message: string;
|
|
1012
1013
|
}
|
|
1013
1014
|
|
|
1014
|
-
interface ValidateGiftBondResponse {
|
|
1015
|
-
data: {
|
|
1016
|
-
valid: boolean;
|
|
1017
|
-
message: string;
|
|
1018
|
-
code: string;
|
|
1019
|
-
bond?: GiftBond;
|
|
1020
|
-
};
|
|
1021
|
-
statusCode: number;
|
|
1022
|
-
message: string;
|
|
1023
|
-
}
|
|
1024
|
-
|
|
1025
1015
|
interface GiftBondPurchase extends Auditable {
|
|
1026
1016
|
id: number;
|
|
1027
1017
|
code: string;
|
|
@@ -1038,6 +1028,17 @@ interface GiftBondPurchase extends Auditable {
|
|
|
1038
1028
|
buyer_id: number;
|
|
1039
1029
|
}
|
|
1040
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
|
+
|
|
1041
1042
|
interface GiftBondPurchaseResponse {
|
|
1042
1043
|
statusCode: number;
|
|
1043
1044
|
data: GiftBondPurchase;
|
|
@@ -1966,7 +1967,7 @@ declare class TicketSelectionDiscountService {
|
|
|
1966
1967
|
readonly coupon: Signal<Coupon | null>;
|
|
1967
1968
|
readonly corporateBond: Signal<CorporateBond | null>;
|
|
1968
1969
|
readonly corporateBondCode: Signal<string | null>;
|
|
1969
|
-
readonly giftBond: Signal<
|
|
1970
|
+
readonly giftBond: Signal<GiftBondPurchase | null>;
|
|
1970
1971
|
readonly giftBondCode: Signal<string | null>;
|
|
1971
1972
|
readonly selectedDiscount: Signal<SelectedDiscountCard | null>;
|
|
1972
1973
|
readonly selectedDiscountType: Signal<SelectedDiscountCardType | undefined>;
|
|
@@ -1974,7 +1975,7 @@ declare class TicketSelectionDiscountService {
|
|
|
1974
1975
|
setCoupon(coupon: Coupon | null): void;
|
|
1975
1976
|
setCorporateBond(corporateBond: CorporateBond | null): void;
|
|
1976
1977
|
setCorporateBondCode(code: string | null): void;
|
|
1977
|
-
setGiftBond(giftBond:
|
|
1978
|
+
setGiftBond(giftBond: GiftBondPurchase | null): void;
|
|
1978
1979
|
setGiftBondCode(code: string | null): void;
|
|
1979
1980
|
clearSelection(): void;
|
|
1980
1981
|
static ɵfac: i0.ɵɵFactoryDeclaration<TicketSelectionDiscountService, never>;
|
|
@@ -3352,7 +3353,7 @@ declare class ConfirmationOrderModalComponent {
|
|
|
3352
3353
|
get totalDiscounted(): number | null;
|
|
3353
3354
|
get coupon(): tickera_angular_components.Coupon | null;
|
|
3354
3355
|
get corporateBond(): tickera_angular_components.CorporateBond | null;
|
|
3355
|
-
get giftBond(): tickera_angular_components.
|
|
3356
|
+
get giftBond(): tickera_angular_components.GiftBondPurchase | null;
|
|
3356
3357
|
onClose(): void;
|
|
3357
3358
|
confirmOrder(): void;
|
|
3358
3359
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmationOrderModalComponent, never>;
|