@talkplay/shared-types 1.0.2 → 1.0.4
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/index.d.mts +3 -0
- package/dist/index.d.ts +3 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -508,6 +508,8 @@ type GetCouponByIdResponse = CouponEntity & {
|
|
|
508
508
|
type GetCouponValidationResponse = {
|
|
509
509
|
isValid: boolean;
|
|
510
510
|
validUntil: DateString | null;
|
|
511
|
+
discountType: CouponTypesEnum | null;
|
|
512
|
+
discountValue: number | null;
|
|
511
513
|
};
|
|
512
514
|
|
|
513
515
|
type GetPenaltyValueResponse = {
|
|
@@ -605,6 +607,7 @@ type CreateRadioPayload = {
|
|
|
605
607
|
wppNumber: string;
|
|
606
608
|
address: Omit<AddressEntity, "id">;
|
|
607
609
|
payment: PaymentPayload;
|
|
610
|
+
legal: CreateLegalTermAgreementPayload;
|
|
608
611
|
director: Pick<RadioUserEntity, "name" | "email" | "birthDate" | "password"> & {
|
|
609
612
|
passwordConfirmation: string;
|
|
610
613
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -508,6 +508,8 @@ type GetCouponByIdResponse = CouponEntity & {
|
|
|
508
508
|
type GetCouponValidationResponse = {
|
|
509
509
|
isValid: boolean;
|
|
510
510
|
validUntil: DateString | null;
|
|
511
|
+
discountType: CouponTypesEnum | null;
|
|
512
|
+
discountValue: number | null;
|
|
511
513
|
};
|
|
512
514
|
|
|
513
515
|
type GetPenaltyValueResponse = {
|
|
@@ -605,6 +607,7 @@ type CreateRadioPayload = {
|
|
|
605
607
|
wppNumber: string;
|
|
606
608
|
address: Omit<AddressEntity, "id">;
|
|
607
609
|
payment: PaymentPayload;
|
|
610
|
+
legal: CreateLegalTermAgreementPayload;
|
|
608
611
|
director: Pick<RadioUserEntity, "name" | "email" | "birthDate" | "password"> & {
|
|
609
612
|
passwordConfirmation: string;
|
|
610
613
|
};
|