vk-payments 0.2.32 → 0.2.34

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.
Files changed (29) hide show
  1. package/bundles/vk-payments.umd.js +322 -7
  2. package/bundles/vk-payments.umd.js.map +1 -1
  3. package/bundles/vk-payments.umd.min.js +1 -1
  4. package/bundles/vk-payments.umd.min.js.map +1 -1
  5. package/esm2015/lib/bank-transfer/bank-transfer.module.js +33 -0
  6. package/esm2015/lib/bank-transfer/components/bank-transfer.component.js +206 -0
  7. package/esm2015/lib/bank-transfer/models/bank-transfer.models.js +54 -0
  8. package/esm2015/lib/bank-transfer/services/bank-transfer.api.service.js +52 -0
  9. package/esm2015/lib/galicia/components/galicia.component.js +1 -2
  10. package/esm2015/lib/vk-payments.module.js +3 -1
  11. package/esm2015/vk-payments.js +10 -7
  12. package/esm5/lib/bank-transfer/bank-transfer.module.js +37 -0
  13. package/esm5/lib/bank-transfer/components/bank-transfer.component.js +234 -0
  14. package/esm5/lib/bank-transfer/models/bank-transfer.models.js +54 -0
  15. package/esm5/lib/bank-transfer/services/bank-transfer.api.service.js +57 -0
  16. package/esm5/lib/galicia/components/galicia.component.js +1 -2
  17. package/esm5/lib/vk-payments.module.js +3 -1
  18. package/esm5/vk-payments.js +10 -7
  19. package/fesm2015/vk-payments.js +281 -3
  20. package/fesm2015/vk-payments.js.map +1 -1
  21. package/fesm5/vk-payments.js +315 -3
  22. package/fesm5/vk-payments.js.map +1 -1
  23. package/lib/bank-transfer/bank-transfer.module.d.ts +2 -0
  24. package/lib/bank-transfer/components/bank-transfer.component.d.ts +30 -0
  25. package/lib/bank-transfer/models/bank-transfer.models.d.ts +20 -0
  26. package/lib/bank-transfer/services/bank-transfer.api.service.d.ts +8 -0
  27. package/package.json +2 -2
  28. package/vk-payments.d.ts +9 -6
  29. package/vk-payments.metadata.json +1 -1
@@ -1,6 +1,6 @@
1
1
  import { Injectable, ɵɵdefineInjectable, ɵɵinject, EventEmitter, Component, Input, Output, ViewChild, NgModule } from '@angular/core';
2
2
  import { CommonModule } from '@angular/common';
3
- import { FormsModule, ReactiveFormsModule } from '@angular/forms';
3
+ import { FormsModule, ReactiveFormsModule, FormGroup, FormControl } from '@angular/forms';
4
4
  import { Router, RouterModule } from '@angular/router';
5
5
  import { HttpHeaders, HttpClient, HttpClientModule } from '@angular/common/http';
6
6
  import sha256 from 'sha256';
@@ -3185,6 +3185,284 @@ ModoModule.decorators = [
3185
3185
  },] }
3186
3186
  ];
3187
3187
 
3188
+ /**
3189
+ * @fileoverview added by tsickle
3190
+ * Generated from: lib/bank-transfer/services/bank-transfer.api.service.ts
3191
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
3192
+ */
3193
+ class BankTransferApiService {
3194
+ /**
3195
+ * @param {?} http
3196
+ */
3197
+ constructor(http) {
3198
+ this.http = http;
3199
+ }
3200
+ /**
3201
+ * @param {?} accessToken
3202
+ * @param {?} request
3203
+ * @param {?} vkApiUrl
3204
+ * @return {?}
3205
+ */
3206
+ createPayment(accessToken, request, vkApiUrl) {
3207
+ /** @type {?} */
3208
+ const headers = new HttpHeaders({
3209
+ 'Content-Type': 'application/json',
3210
+ Authorization: `Bearer ${accessToken}`
3211
+ });
3212
+ // Construimos la URL agregando la rute del Controller de BankTransfer
3213
+ /** @type {?} */
3214
+ const url = `${vkApiUrl}payments/BankTransfer/create-payment`;
3215
+ return this.http.post(url, request, { headers });
3216
+ }
3217
+ }
3218
+ BankTransferApiService.decorators = [
3219
+ { type: Injectable, args: [{
3220
+ providedIn: 'root'
3221
+ },] }
3222
+ ];
3223
+ /** @nocollapse */
3224
+ BankTransferApiService.ctorParameters = () => [
3225
+ { type: HttpClient }
3226
+ ];
3227
+ /** @nocollapse */ BankTransferApiService.ngInjectableDef = ɵɵdefineInjectable({ factory: function BankTransferApiService_Factory() { return new BankTransferApiService(ɵɵinject(HttpClient)); }, token: BankTransferApiService, providedIn: "root" });
3228
+ if (false) {
3229
+ /**
3230
+ * @type {?}
3231
+ * @private
3232
+ */
3233
+ BankTransferApiService.prototype.http;
3234
+ }
3235
+
3236
+ /**
3237
+ * @fileoverview added by tsickle
3238
+ * Generated from: lib/bank-transfer/components/bank-transfer.component.ts
3239
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
3240
+ */
3241
+ class BankTransferComponent {
3242
+ /**
3243
+ * @param {?} bankTransferApi
3244
+ */
3245
+ constructor(bankTransferApi) {
3246
+ this.bankTransferApi = bankTransferApi;
3247
+ this.discountRate = 0.10; // Tasa de descuento (10% por defecto)
3248
+ // Descuento explícito desde el carrito
3249
+ this.statusPay = new EventEmitter();
3250
+ this.isLoading = false;
3251
+ this.errorMessage = '';
3252
+ this.submittedSuccessfully = false;
3253
+ this.amountCopied = false;
3254
+ // CUIT no se pide al usuario por ahora — se envía valor genérico
3255
+ this.paymentForm = new FormGroup({
3256
+ cuit: new FormControl('00000000000')
3257
+ });
3258
+ }
3259
+ // Calculados a partir de `amount` (que ya tiene el descuento aplicado)
3260
+ /**
3261
+ * @return {?}
3262
+ */
3263
+ get subtotalAmount() {
3264
+ if (this.discountAmountValue !== undefined && this.discountAmountValue !== null) {
3265
+ return this.amount + this.discountAmountValue;
3266
+ }
3267
+ return this.amount ? Math.round(this.amount / (1 - this.discountRate)) : 0;
3268
+ }
3269
+ /**
3270
+ * @return {?}
3271
+ */
3272
+ get discountAmount() {
3273
+ if (this.discountAmountValue !== undefined && this.discountAmountValue !== null) {
3274
+ return this.discountAmountValue;
3275
+ }
3276
+ return this.subtotalAmount - (this.amount || 0);
3277
+ }
3278
+ /**
3279
+ * @return {?}
3280
+ */
3281
+ ngOnInit() { }
3282
+ /**
3283
+ * @param {?} text
3284
+ * @return {?}
3285
+ */
3286
+ copyToClipboard(text) {
3287
+ navigator.clipboard.writeText(text).catch((/**
3288
+ * @return {?}
3289
+ */
3290
+ () => {
3291
+ /** @type {?} */
3292
+ const el = document.createElement('textarea');
3293
+ el.value = text;
3294
+ document.body.appendChild(el);
3295
+ el.select();
3296
+ document.execCommand('copy');
3297
+ document.body.removeChild(el);
3298
+ }));
3299
+ }
3300
+ /**
3301
+ * @return {?}
3302
+ */
3303
+ copyAmount() {
3304
+ /** @type {?} */
3305
+ const amountStr = this.amount ? this.amount.toFixed(2) : '0';
3306
+ this.copyToClipboard(amountStr);
3307
+ this.amountCopied = true;
3308
+ setTimeout((/**
3309
+ * @return {?}
3310
+ */
3311
+ () => this.amountCopied = false), 2000);
3312
+ }
3313
+ /**
3314
+ * @return {?}
3315
+ */
3316
+ onSubmit() {
3317
+ if (this.submittedSuccessfully || this.isLoading)
3318
+ return;
3319
+ this.isLoading = true;
3320
+ this.errorMessage = '';
3321
+ /** @type {?} */
3322
+ const request = {
3323
+ cuit: '00000000000',
3324
+ // Valor genérico mientras no se pide al usuario
3325
+ checkoutId: this.checkoutId,
3326
+ checkoutAdditionalData: this.checkoutAdditionalData,
3327
+ storeName: this.storeName || 'Tienda VK',
3328
+ storeId: this.storeId
3329
+ };
3330
+ this.bankTransferApi.createPayment(this.accessToken, request, this.vkUrlApi).subscribe((/**
3331
+ * @param {?} response
3332
+ * @return {?}
3333
+ */
3334
+ (response) => {
3335
+ this.isLoading = false;
3336
+ if (response && response.success) {
3337
+ this.submittedSuccessfully = true;
3338
+ this.statusPay.emit({
3339
+ success: true,
3340
+ paymentId: (response.data && response.data.bankTransferEcommId) ? response.data.bankTransferEcommId : '',
3341
+ integrator: 'BANK_TRANSFER'
3342
+ });
3343
+ }
3344
+ else {
3345
+ this.errorMessage = (response.errorsMessages && response.errorsMessages.length > 0)
3346
+ ? response.errorsMessages[0]
3347
+ : 'Ocurrió un error al registrar la transferencia.';
3348
+ this.statusPay.emit({
3349
+ success: false,
3350
+ paymentId: '',
3351
+ integrator: 'BANK_TRANSFER'
3352
+ });
3353
+ }
3354
+ }), (/**
3355
+ * @param {?} error
3356
+ * @return {?}
3357
+ */
3358
+ (error) => {
3359
+ this.isLoading = false;
3360
+ this.errorMessage = (error && error.error && error.error.errorsMessages && error.error.errorsMessages.length > 0)
3361
+ ? error.error.errorsMessages[0]
3362
+ : 'Ocurrió un error de conexión al registrar la transferencia.';
3363
+ this.statusPay.emit({
3364
+ success: false,
3365
+ paymentId: '',
3366
+ integrator: 'BANK_TRANSFER'
3367
+ });
3368
+ console.error('Error BankTransferApiService:', error);
3369
+ }));
3370
+ }
3371
+ /**
3372
+ * @return {?}
3373
+ */
3374
+ get cuitControl() {
3375
+ return this.paymentForm.get('cuit');
3376
+ }
3377
+ }
3378
+ BankTransferComponent.decorators = [
3379
+ { type: Component, args: [{
3380
+ selector: 'vk-bank-transfer',
3381
+ template: "<form\n [formGroup]=\"paymentForm\"\n (ngSubmit)=\"onSubmit()\"\n class=\"bt-payment\"\n id=\"formularioBT\"\n autocomplete=\"off\"\n>\n\n <!-- Datos bancarios -->\n <div class=\"bank-info-box\">\n <div class=\"bank-info-header\">\n <i class=\"material-icons\">account_balance</i>\n <span>Datos para la transferencia</span>\n </div>\n <div class=\"bank-info-row\">\n <span class=\"bank-info-label\"><i class=\"material-icons\">tag</i>N\u00FAmero de cuenta</span>\n <span class=\"bank-info-value\">2-311972/1</span>\n </div>\n <div class=\"bank-info-row\">\n <span class=\"bank-info-label\"><i class=\"material-icons\">qr_code</i>CBU</span>\n <span class=\"bank-info-value bank-info-copy\">\n <span class=\"bank-info-copy-text\">4150002012003119720013</span>\n <button class=\"copy-btn\" type=\"button\" title=\"Copiar CBU\" (click)=\"copyToClipboard('4150002012003119720013')\">\n <i class=\"material-icons\">content_copy</i>\n </button>\n </span>\n </div>\n <div class=\"bank-info-row\">\n <span class=\"bank-info-label\"><i class=\"material-icons\">alternate_email</i>Alias</span>\n <span class=\"bank-info-value bank-info-copy\">\n <span class=\"bank-info-copy-text\">reba.vitnik</span>\n <button class=\"copy-btn\" type=\"button\" title=\"Copiar alias\" (click)=\"copyToClipboard('reba.vitnik')\">\n <i class=\"material-icons\">content_copy</i>\n </button>\n </span>\n </div>\n <div class=\"bank-info-row\">\n <span class=\"bank-info-label\"><i class=\"material-icons\">badge</i>CUIT/CUIL</span>\n <span class=\"bank-info-value\">30708777893</span>\n </div>\n <div class=\"bank-info-row\">\n <span class=\"bank-info-label\"><i class=\"material-icons\">attach_money</i>Moneda</span>\n <span class=\"bank-info-value\">Peso Argentino</span>\n </div>\n </div>\n\n <!-- Resumen con desglose del descuento -->\n <div class=\"summary-box\">\n <div class=\"summary-row\">\n <span class=\"summary-label\">Subtotal</span>\n <span class=\"summary-value\">${{ subtotalAmount | number:'1.2-2' }}</span>\n </div>\n <div class=\"summary-row discount\">\n <span class=\"summary-label\">\n <i class=\"material-icons\">local_offer</i>\n Descuento transferencia ({{ discountRate * 100 | number:'1.0-0' }}%)\n </span>\n <span class=\"summary-value discount-value\">-${{ discountAmount | number:'1.2-2' }}</span>\n </div>\n <div class=\"summary-row total\">\n <span class=\"summary-label\">Total a transferir</span>\n <span class=\"summary-value total-value\">\n ${{ amount | number:'1.2-2' }}\n <button\n class=\"copy-btn copy-amount-btn\"\n type=\"button\"\n [title]=\"amountCopied ? 'Copiado!' : 'Copiar monto'\"\n (click)=\"copyAmount()\"\n >\n <i class=\"material-icons\">{{ amountCopied ? 'check' : 'content_copy' }}</i>\n </button>\n </span>\n </div>\n </div>\n\n <!-- Leyenda de monto exacto -->\n <div class=\"exact-amount-notice\">\n <i class=\"material-icons notice-icon\">info</i>\n <p>\n <strong>\u00A1Ya casi es tuyo!</strong> Para que podamos procesar tu pedido sin demoras,\n asegurate de que el importe de la transferencia sea <strong>id\u00E9ntico</strong> al total indicado arriba.\n </p>\n </div>\n\n <!-- Error devuelto por la API -->\n <div class=\"pay-message error\" *ngIf=\"errorMessage && !isLoading\">\n <i class=\"material-icons\">error</i>\n <p>{{ errorMessage }}</p>\n </div>\n\n <!-- Loading -->\n <div *ngIf=\"isLoading\" class=\"pay-message info\">\n <i class=\"material-icons\">info</i>\n <p>Procesando informaci\u00F3n de transferencia...</p>\n </div>\n\n <!-- Bot\u00F3n confirmar (oculto tras \u00E9xito) -->\n <div *ngIf=\"!submittedSuccessfully\">\n <button type=\"submit\" [disabled]=\"paymentForm.invalid || isLoading\">\n Confirmar Transferencia\n </button>\n </div>\n\n</form>\n",
3382
+ styles: [".bt-payment{background-color:transparent;font-family:inherit,sans-serif;padding:0 12px}.bt-payment p.description{font-size:16px;color:#888;margin-bottom:5px}.bt-payment .bank-info-box{border:1px solid #c8e0f0;border-radius:8px;overflow:hidden;margin-bottom:18px}.bt-payment .bank-info-box .bank-info-header{display:flex;align-items:center;gap:8px;background-color:#009ee3;color:#fff;padding:10px 14px;font-size:18px;font-weight:600;letter-spacing:.4px;text-transform:uppercase}.bt-payment .bank-info-box .bank-info-header i.material-icons{font-size:18px}.bt-payment .bank-info-box .bank-info-row{display:flex;justify-content:space-between;align-items:center;font-size:18px;padding:8px 14px;background-color:#fff;border-bottom:1px solid #eef3f7}.bt-payment .bank-info-box .bank-info-row:last-child{border-bottom:none}.bt-payment .bank-info-box .bank-info-label{display:flex;align-items:center;gap:6px;color:#777;flex-shrink:0;margin-right:8px}.bt-payment .bank-info-box .bank-info-label i.material-icons{font-size:15px;color:#009ee3}.bt-payment .bank-info-box .bank-info-value{font-weight:600;color:#1a1a1a;text-align:right}.bt-payment .bank-info-box .bank-info-value.bank-info-copy{display:flex;align-items:center;gap:4px}.bt-payment .bank-info-box .bank-info-value .bank-info-copy-text{font-family:\"Courier New\",monospace;font-size:18px;letter-spacing:.3px}.bt-payment .bank-info-box .copy-btn{background:0 0;border:none;cursor:pointer;padding:2px 4px;border-radius:4px;color:#009ee3;display:flex;align-items:center;margin-top:0;width:auto;min-width:unset}.bt-payment .bank-info-box .copy-btn i.material-icons{font-size:16px}.bt-payment .bank-info-box .copy-btn:hover{background-color:#e8f4fb}.bt-payment .bank-info-box .copy-btn:disabled{background-color:transparent;cursor:default}.bt-payment .summary-box{margin:20px 0;border:1px solid #e0e0e0;border-radius:8px;overflow:hidden}.bt-payment .summary-box .summary-row{display:flex;justify-content:space-between;align-items:center;padding:10px 16px;font-size:16px;background-color:#fff;border-bottom:1px solid #f0f0f0}.bt-payment .summary-box .summary-row:last-child{border-bottom:none}.bt-payment .summary-box .summary-row .summary-label{display:flex;align-items:center;gap:6px;color:#555}.bt-payment .summary-box .summary-row .summary-label i.material-icons{font-size:14px}.bt-payment .summary-box .summary-row .summary-value{font-weight:600;color:#1a1a1a;display:flex;align-items:center;gap:6px}.bt-payment .summary-box .summary-row.discount{background-color:#f0fdf4}.bt-payment .summary-box .summary-row.discount .summary-label{color:#16a34a;font-weight:500}.bt-payment .summary-box .summary-row.discount .summary-label i.material-icons{color:#16a34a}.bt-payment .summary-box .summary-row.discount .discount-value{color:#16a34a;font-weight:700}.bt-payment .summary-box .summary-row.total{background-color:#f8f9fa;border-top:2px solid #009ee3}.bt-payment .summary-box .summary-row.total .summary-label{font-size:17px;font-weight:700;color:#1a1a1a}.bt-payment .summary-box .summary-row.total .total-value{font-size:20px;font-weight:800;color:#009ee3}.bt-payment .summary-box .copy-amount-btn{background:0 0;border:1px solid #009ee3;border-radius:6px;cursor:pointer;padding:2px 6px;color:#009ee3;display:flex;align-items:center;width:auto;min-width:unset;margin-top:0;transition:background-color .2s}.bt-payment .summary-box .copy-amount-btn i.material-icons{font-size:16px}.bt-payment .summary-box .copy-amount-btn:hover{background-color:#e8f4fb}.bt-payment .exact-amount-notice{display:flex;align-items:flex-start;gap:10px;background-color:#fffbeb;border:1px solid #fcd34d;border-radius:8px;padding:12px 14px;margin-bottom:20px}.bt-payment .exact-amount-notice .notice-icon{font-size:20px;color:#d97706;flex-shrink:0;margin-top:2px}.bt-payment .exact-amount-notice p{font-size:14px;color:#78350f;margin:0;line-height:1.5}.bt-payment .formRow{margin-top:10px;display:none}.bt-payment .formRow label{font-size:16px;color:#888}.bt-payment .formRow span{background-color:#fff;border:.5px solid #707070;border-radius:2px;padding:2px 10px;display:block;margin-top:4px}.bt-payment .formRow span input[type=text]{background:0 0;border:none;color:#000;font-size:16px;height:23px;width:100%;text-transform:uppercase;vertical-align:top;padding:0;margin:0}.bt-payment .formRow span input[type=text]:focus{outline:0}.bt-payment .alert-text{font-size:16px;color:#009ee3;margin-top:7px;margin-bottom:0}.bt-payment button[type=submit]{background-color:#009ee3;color:#fff;font-size:18px;text-align:center;padding:10px 0;width:100%;border:none;border-radius:20px;margin-top:20px;cursor:pointer}.bt-payment button[type=submit]:disabled{background-color:#525252;cursor:not-allowed}.bt-payment .pay-message{margin-top:10px;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:20px;border-radius:8px}.bt-payment .pay-message p{font-size:1.1rem;text-align:center;line-height:130%;margin-bottom:10px}.bt-payment .pay-message i.material-icons{font-size:2rem;margin-bottom:5px}.bt-payment .success{background-color:#dff2bf;color:#4f8a10}.bt-payment .error{color:#d8000c;background-color:#ffd2d2}.bt-payment .info{color:#00529b;background-color:#bde5f8}:focus{outline:0}"]
3383
+ }] }
3384
+ ];
3385
+ /** @nocollapse */
3386
+ BankTransferComponent.ctorParameters = () => [
3387
+ { type: BankTransferApiService }
3388
+ ];
3389
+ BankTransferComponent.propDecorators = {
3390
+ accessToken: [{ type: Input }],
3391
+ vkUrlApi: [{ type: Input }],
3392
+ amount: [{ type: Input }],
3393
+ storeId: [{ type: Input }],
3394
+ storeName: [{ type: Input }],
3395
+ checkoutId: [{ type: Input }],
3396
+ checkoutAdditionalData: [{ type: Input }],
3397
+ discountRate: [{ type: Input }],
3398
+ discountAmountValue: [{ type: Input }],
3399
+ statusPay: [{ type: Output }]
3400
+ };
3401
+ if (false) {
3402
+ /** @type {?} */
3403
+ BankTransferComponent.prototype.accessToken;
3404
+ /** @type {?} */
3405
+ BankTransferComponent.prototype.vkUrlApi;
3406
+ /** @type {?} */
3407
+ BankTransferComponent.prototype.amount;
3408
+ /** @type {?} */
3409
+ BankTransferComponent.prototype.storeId;
3410
+ /** @type {?} */
3411
+ BankTransferComponent.prototype.storeName;
3412
+ /** @type {?} */
3413
+ BankTransferComponent.prototype.checkoutId;
3414
+ /** @type {?} */
3415
+ BankTransferComponent.prototype.checkoutAdditionalData;
3416
+ /** @type {?} */
3417
+ BankTransferComponent.prototype.discountRate;
3418
+ /** @type {?} */
3419
+ BankTransferComponent.prototype.discountAmountValue;
3420
+ /** @type {?} */
3421
+ BankTransferComponent.prototype.statusPay;
3422
+ /** @type {?} */
3423
+ BankTransferComponent.prototype.paymentForm;
3424
+ /** @type {?} */
3425
+ BankTransferComponent.prototype.isLoading;
3426
+ /** @type {?} */
3427
+ BankTransferComponent.prototype.errorMessage;
3428
+ /** @type {?} */
3429
+ BankTransferComponent.prototype.submittedSuccessfully;
3430
+ /** @type {?} */
3431
+ BankTransferComponent.prototype.amountCopied;
3432
+ /**
3433
+ * @type {?}
3434
+ * @private
3435
+ */
3436
+ BankTransferComponent.prototype.bankTransferApi;
3437
+ }
3438
+
3439
+ /**
3440
+ * @fileoverview added by tsickle
3441
+ * Generated from: lib/bank-transfer/bank-transfer.module.ts
3442
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
3443
+ */
3444
+ class BankTransferModule {
3445
+ }
3446
+ BankTransferModule.decorators = [
3447
+ { type: NgModule, args: [{
3448
+ declarations: [
3449
+ BankTransferComponent
3450
+ ],
3451
+ imports: [
3452
+ CommonModule,
3453
+ FormsModule,
3454
+ ReactiveFormsModule,
3455
+ HttpClientModule
3456
+ ],
3457
+ exports: [
3458
+ BankTransferComponent
3459
+ ],
3460
+ providers: [
3461
+ BankTransferApiService
3462
+ ]
3463
+ },] }
3464
+ ];
3465
+
3188
3466
  /**
3189
3467
  * @fileoverview added by tsickle
3190
3468
  * Generated from: lib/galicia/services/galicia.api.service.ts
@@ -3427,7 +3705,6 @@ class GaliciaComponent {
3427
3705
  * @return {?}
3428
3706
  */
3429
3707
  paymentStatusResponseHandler(response) {
3430
- console.log(response);
3431
3708
  if (!response.success) {
3432
3709
  this.isLoading = false;
3433
3710
  this.statusPay.emit(this.paymentResult);
@@ -3605,6 +3882,7 @@ const LIB_MODULES = [
3605
3882
  SpsDecidirModule,
3606
3883
  PaypalModule,
3607
3884
  GoCuotasModule,
3885
+ BankTransferModule,
3608
3886
  ModoModule,
3609
3887
  GaliciaModule
3610
3888
  ];
@@ -3630,5 +3908,5 @@ VkPaymentsModule.decorators = [
3630
3908
  * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
3631
3909
  */
3632
3910
 
3633
- 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, ModoModule as ɵn, ModoComponent as ɵo, ModoApiService as ɵp, GaliciaModule as ɵq, GaliciaComponent as ɵr, GaliciaApiService as ɵs };
3911
+ 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, BankTransferModule as ɵn, BankTransferComponent as ɵo, BankTransferApiService as ɵp, ModoModule as ɵq, ModoComponent as ɵr, ModoApiService as ɵs, GaliciaModule as ɵt, GaliciaComponent as ɵu, GaliciaApiService as ɵv };
3634
3912
  //# sourceMappingURL=vk-payments.js.map