wsp-contracts 1.1.0 → 1.1.2

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.
@@ -12,6 +12,8 @@ export interface PlanDTO {
12
12
  price: PriceDTO;
13
13
  }
14
14
  export interface MembershipDTO {
15
+ checkoutUuid?: string | undefined;
16
+ shiftUuid?: string | undefined;
15
17
  parentUuid?: string | undefined;
16
18
  tenantUuid: string;
17
19
  userUuid: string;
@@ -32,6 +34,7 @@ export interface MembershipDTO {
32
34
  discountApplyForever?: boolean | undefined;
33
35
  discount: PurchaseDiscountDTO | undefined;
34
36
  price: PriceDTO;
37
+ sendVoucher?: boolean;
35
38
  [key: string]: unknown;
36
39
  }
37
40
  export interface UniquePaymentInfoDTO {
@@ -65,12 +68,19 @@ export interface MembershipCreateAndPayDTO {
65
68
  export interface PlanUserDTO {
66
69
  uuid: string;
67
70
  type: string;
71
+ [key: string]: unknown;
72
+ }
73
+ export interface EnrollmentUserDto {
74
+ uuid: string;
75
+ [key: string]: unknown;
68
76
  }
69
77
  export interface MembershipCreateAndPayUserDTO {
70
78
  plan: PlanUserDTO;
79
+ enrollment?: EnrollmentUserDto;
71
80
  uniquePaymentInfo?: UniquePaymentInfoDTO | undefined;
72
81
  recurrencyPaymentInfo?: RecurrencyPaymentInfoDTO | undefined;
73
82
  financingPaymentInfo?: FinancePaymentInfoDTO | undefined;
83
+ [key: string]: unknown;
74
84
  }
75
85
  export interface MembershipUpdateDTO {
76
86
  endDate?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wsp-contracts",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "description": "DTOs y event-schemas compartidos entre microservicios de WonaSports. Solo tipos (declarations).",
5
5
  "license": "MIT",
6
6
  "files": [