@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 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
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@talkplay/shared-types",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",