wsp-contracts 1.0.75 → 1.0.77

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.
@@ -33,16 +33,14 @@ export interface MembershipDTO {
33
33
  type: string;
34
34
  [key: string]: unknown;
35
35
  }
36
- export interface UniqueInfoDTO {
37
- name: string;
38
- startDate: string;
36
+ export interface UniquePaymentInfoDTO {
39
37
  currency: string;
40
38
  gateway: string;
41
39
  cardUuid?: string | undefined;
42
40
  cardMask?: string | undefined;
43
41
  amount: number;
44
42
  }
45
- export interface FinanceInfoDTO {
43
+ export interface FinancePaymentInfoDTO {
46
44
  membershipUuid: string;
47
45
  type: string;
48
46
  cycles: number;
@@ -54,7 +52,7 @@ export interface FinanceInfoDTO {
54
52
  cardMask: string;
55
53
  [key: string]: unknown;
56
54
  }
57
- export interface RecurrenceInfoDTO {
55
+ export interface RecurrencePaymentInfoDTO {
58
56
  name: string;
59
57
  membershipUuid: string;
60
58
  intervalType: string;
@@ -72,9 +70,9 @@ export interface RecurrenceInfoDTO {
72
70
  }
73
71
  export interface MembershipCreateAndPayDTO {
74
72
  membership: MembershipDTO;
75
- uniqueInfo?: UniqueInfoDTO | undefined;
76
- recurrenceInfo?: RecurrenceInfoDTO | undefined;
77
- financingInfo?: FinanceInfoDTO | undefined;
73
+ uniquePaymentInfo?: UniquePaymentInfoDTO | undefined;
74
+ recurrencePaymentInfo?: RecurrencePaymentInfoDTO | undefined;
75
+ financingPaymentInfo?: FinancePaymentInfoDTO | undefined;
78
76
  }
79
77
  export interface MembershipUpdateDTO {
80
78
  permittedTenants?: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wsp-contracts",
3
- "version": "1.0.75",
3
+ "version": "1.0.77",
4
4
  "description": "DTOs y event-schemas compartidos entre microservicios de WonaSports. Solo tipos (declarations).",
5
5
  "license": "MIT",
6
6
  "files": [