vk-payments 0.2.0 → 0.2.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.
@@ -6,34 +6,11 @@ export interface InitPayment {
6
6
  documentNumber: string;
7
7
  areaCode: string;
8
8
  phoneNumber: string;
9
+ email: string;
9
10
  idVen: number;
10
11
  storeId: string;
11
12
  data?: string;
12
13
  }
13
- export interface InitPaymentResponse {
14
- code_successfully_sent: boolean;
15
- sale_token: string;
16
- message?: string;
17
- }
18
- export interface VerificationCodeRequest {
19
- code?: number;
20
- sale_token?: string;
21
- }
22
- export interface VerificationCodeResponse {
23
- code_successfully_verified: boolean;
24
- sale_token: string;
25
- status: string;
26
- amount_in_cents: number;
27
- number_of_installments: number;
28
- installments_amount_in_cents: number;
29
- order_reference_id: string;
30
- dni: string;
31
- email: string;
32
- phone_number: number;
33
- card: {
34
- last_four_digits: number;
35
- };
36
- }
37
14
  export interface Payment {
38
15
  id: string;
39
16
  paymentId?: number;
@@ -47,43 +24,6 @@ export interface Payment {
47
24
  idVen: number;
48
25
  storeId: string;
49
26
  }
50
- export interface PaymentResponse {
51
- payment_successfully_confirmed: boolean;
52
- sale_token: string;
53
- status: string;
54
- amount_in_cents: number;
55
- number_of_installments: number;
56
- installments_amount_in_cents: number;
57
- order_reference_id: string;
58
- dni: string;
59
- email: string;
60
- phone_number: number;
61
- card: {
62
- last_four_digits: number;
63
- };
64
- }
65
- export interface CardRequest {
66
- sale_token: string;
67
- number: number;
68
- expiration_month: number;
69
- expiration_year: number;
70
- security_code: number;
71
- }
72
- export interface CardResponse {
73
- card_successfully_added: boolean;
74
- sale_token: string;
75
- status: string;
76
- amount_in_cents: number;
77
- number_of_installments: number;
78
- installments_amount_in_cents: number;
79
- order_reference_id: string;
80
- dni: string;
81
- email: string;
82
- phone_number: number;
83
- card: {
84
- last_four_digits: number;
85
- };
86
- }
87
27
  export interface ResponseApi {
88
28
  success: boolean;
89
29
  errorsMessages: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vk-payments",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "8.2.11",
6
6
  "@angular/core": "8.2.11",
package/vk-payments.d.ts CHANGED
@@ -6,7 +6,6 @@ export { GoCuotasComponent as ɵk } from './lib/go-cuotas/components/go-cuotas.c
6
6
  export { ModalComponent as ɵl } from './lib/go-cuotas/components/modal/modal.component';
7
7
  export { GoCuotasModule as ɵj } from './lib/go-cuotas/go-cuotas.module';
8
8
  export { GoCuotasApiService as ɵm } from './lib/go-cuotas/services/go-cuotas.api.service';
9
- export { NotificationService as ɵn } from './lib/go-cuotas/services/notification.service';
10
9
  export { MercadoPagoComponent as ɵb } from './lib/mercadopago/components/mercadopago.component';
11
10
  export { PromotionBankComponent as ɵd } from './lib/mercadopago/components/promotion-bank.component';
12
11
  export { MercadopagoModule as ɵa } from './lib/mercadopago/mercadopago.module';