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.
@@ -5,7 +5,6 @@ import { Router, RouterModule } from '@angular/router';
5
5
  import { __values } from 'tslib';
6
6
  import { HttpHeaders, HttpClient, HttpClientModule } from '@angular/common/http';
7
7
  import sha256 from 'sha256';
8
- import { MatSnackBar } from '@angular/material/snack-bar';
9
8
  import { MatSnackBarModule } from '@angular/material';
10
9
 
11
10
  /**
@@ -2456,6 +2455,7 @@ var GoCuotasApiService = /** @class */ (function () {
2456
2455
  documentNumber: initPayment.documentNumber,
2457
2456
  areaCode: initPayment.areaCode,
2458
2457
  phoneNumber: initPayment.phoneNumber,
2458
+ email: initPayment.email,
2459
2459
  idVen: initPayment.idVen,
2460
2460
  storeId: initPayment.storeId,
2461
2461
  data: initPayment.data
@@ -2641,125 +2641,14 @@ if (false) {
2641
2641
  ModalComponent.prototype.codeVerified;
2642
2642
  }
2643
2643
 
2644
- /**
2645
- * @fileoverview added by tsickle
2646
- * Generated from: lib/go-cuotas/services/notification.service.ts
2647
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2648
- */
2649
- var NotificationService = /** @class */ (function () {
2650
- function NotificationService(snackbar) {
2651
- this.snackbar = snackbar;
2652
- }
2653
- /**
2654
- * @return {?}
2655
- */
2656
- NotificationService.prototype.hideNotification = /**
2657
- * @return {?}
2658
- */
2659
- function () {
2660
- this.snackbar.dismiss();
2661
- };
2662
- /**
2663
- * @param {?} message
2664
- * @param {?=} duration
2665
- * @return {?}
2666
- */
2667
- NotificationService.prototype.showSnackBarMessage = /**
2668
- * @param {?} message
2669
- * @param {?=} duration
2670
- * @return {?}
2671
- */
2672
- function (message, duration) {
2673
- this.snackbar.open(message, undefined, {
2674
- duration: duration
2675
- });
2676
- };
2677
- /**
2678
- * @param {?} message
2679
- * @param {?} title
2680
- * @return {?}
2681
- */
2682
- NotificationService.prototype.showSuccess = /**
2683
- * @param {?} message
2684
- * @param {?} title
2685
- * @return {?}
2686
- */
2687
- function (message, title) {
2688
- this.snackbar.open(title + ' ' + message, undefined, {
2689
- duration: 6000, panelClass: ['success-snackbar']
2690
- });
2691
- };
2692
- /**
2693
- * @param {?} message
2694
- * @param {?} title
2695
- * @return {?}
2696
- */
2697
- NotificationService.prototype.showError = /**
2698
- * @param {?} message
2699
- * @param {?} title
2700
- * @return {?}
2701
- */
2702
- function (message, title) {
2703
- this.snackbar.open(title + ' ' + message, undefined, {
2704
- duration: 6000, panelClass: ['error-snackbar']
2705
- });
2706
- };
2707
- /**
2708
- * @param {?} message
2709
- * @param {?} title
2710
- * @return {?}
2711
- */
2712
- NotificationService.prototype.showWarning = /**
2713
- * @param {?} message
2714
- * @param {?} title
2715
- * @return {?}
2716
- */
2717
- function (message, title) {
2718
- this.snackbar.open(title + ' ' + message, undefined, {
2719
- duration: 6000, panelClass: ['warning-snackbar']
2720
- });
2721
- };
2722
- /**
2723
- * @param {?} message
2724
- * @param {?} title
2725
- * @return {?}
2726
- */
2727
- NotificationService.prototype.showInfo = /**
2728
- * @param {?} message
2729
- * @param {?} title
2730
- * @return {?}
2731
- */
2732
- function (message, title) {
2733
- this.snackbar.open(title + ' ' + message, undefined, {
2734
- duration: 6000, panelClass: ['info-snackbar']
2735
- });
2736
- };
2737
- NotificationService.decorators = [
2738
- { type: Injectable }
2739
- ];
2740
- /** @nocollapse */
2741
- NotificationService.ctorParameters = function () { return [
2742
- { type: MatSnackBar }
2743
- ]; };
2744
- return NotificationService;
2745
- }());
2746
- if (false) {
2747
- /**
2748
- * @type {?}
2749
- * @private
2750
- */
2751
- NotificationService.prototype.snackbar;
2752
- }
2753
-
2754
2644
  /**
2755
2645
  * @fileoverview added by tsickle
2756
2646
  * Generated from: lib/go-cuotas/components/go-cuotas.component.ts
2757
2647
  * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2758
2648
  */
2759
2649
  var GoCuotasComponent = /** @class */ (function () {
2760
- function GoCuotasComponent(goCuotasApiService, notificationService) {
2650
+ function GoCuotasComponent(goCuotasApiService) {
2761
2651
  this.goCuotasApiService = goCuotasApiService;
2762
- this.notificationService = notificationService;
2763
2652
  this.statusPay = new EventEmitter();
2764
2653
  this.sale_token = '';
2765
2654
  this.error_message = '';
@@ -2815,6 +2704,7 @@ var GoCuotasComponent = /** @class */ (function () {
2815
2704
  installments: this.installments,
2816
2705
  documentNumber: this.dniText,
2817
2706
  phoneNumber: this.telText,
2707
+ email: this.mailText,
2818
2708
  cardholder: this.defaultName,
2819
2709
  creditCardHash: this.cardText,
2820
2710
  idVen: this.idVen,
@@ -3217,8 +3107,7 @@ var GoCuotasComponent = /** @class */ (function () {
3217
3107
  ];
3218
3108
  /** @nocollapse */
3219
3109
  GoCuotasComponent.ctorParameters = function () { return [
3220
- { type: GoCuotasApiService },
3221
- { type: NotificationService }
3110
+ { type: GoCuotasApiService }
3222
3111
  ]; };
3223
3112
  GoCuotasComponent.propDecorators = {
3224
3113
  accessToken: [{ type: Input }],
@@ -3285,10 +3174,6 @@ if (false) {
3285
3174
  /** @type {?} */
3286
3175
  GoCuotasComponent.prototype.Opayment;
3287
3176
  /** @type {?} */
3288
- GoCuotasComponent.prototype.verificationCodeRequest;
3289
- /** @type {?} */
3290
- GoCuotasComponent.prototype.cardRequest;
3291
- /** @type {?} */
3292
3177
  GoCuotasComponent.prototype.sale_token;
3293
3178
  /** @type {?} */
3294
3179
  GoCuotasComponent.prototype.error_message;
@@ -3319,11 +3204,6 @@ if (false) {
3319
3204
  * @private
3320
3205
  */
3321
3206
  GoCuotasComponent.prototype.goCuotasApiService;
3322
- /**
3323
- * @type {?}
3324
- * @private
3325
- */
3326
- GoCuotasComponent.prototype.notificationService;
3327
3207
  }
3328
3208
 
3329
3209
  /**
@@ -3355,8 +3235,7 @@ var GoCuotasModule = /** @class */ (function () {
3355
3235
  MatSnackBarModule
3356
3236
  ],
3357
3237
  providers: [
3358
- GoCuotasApiService,
3359
- NotificationService
3238
+ GoCuotasApiService
3360
3239
  ]
3361
3240
  },] }
3362
3241
  ];
@@ -3399,5 +3278,5 @@ var VkPaymentsModule = /** @class */ (function () {
3399
3278
  * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
3400
3279
  */
3401
3280
 
3402
- export { VkPaymentsModule, MercadopagoModule as ɵa, MercadoPagoComponent as ɵb, MercadopagoApiService as ɵc, PromotionBankComponent as ɵd, SpsDecidirModule as ɵe, SpsDecidirComponent as ɵf, SpsDecidirApiService as ɵg, PaypalModule as ɵh, PayPalNewComponent as ɵi, GoCuotasModule as ɵj, GoCuotasComponent as ɵk, ModalComponent as ɵl, GoCuotasApiService as ɵm, NotificationService as ɵn };
3281
+ export { VkPaymentsModule, MercadopagoModule as ɵa, MercadoPagoComponent as ɵb, MercadopagoApiService as ɵc, PromotionBankComponent as ɵd, SpsDecidirModule as ɵe, SpsDecidirComponent as ɵf, SpsDecidirApiService as ɵg, PaypalModule as ɵh, PayPalNewComponent as ɵi, GoCuotasModule as ɵj, GoCuotasComponent as ɵk, ModalComponent as ɵl, GoCuotasApiService as ɵm };
3403
3282
  //# sourceMappingURL=vk-payments.js.map