@xsolla/payment-client-core 0.2.107 → 0.2.109

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.
@@ -1,3 +1,4 @@
1
+ import { BrowserInfo } from '../../user-agent/browserInfo.interface';
1
2
  export interface CommonLogAttributes {
2
3
  token: string;
3
4
  userId?: string | null;
@@ -12,5 +13,5 @@ export interface CommonLogAttributes {
12
13
  cdnAddress: string;
13
14
  country?: string;
14
15
  local?: string;
15
- browserInfo: string;
16
+ browserInfo: BrowserInfo;
16
17
  }
@@ -1 +1,2 @@
1
1
  export * from './log-handler.interface';
2
+ export * from './logger.service';
@@ -6,6 +6,9 @@ export declare enum FieldNames {
6
6
  allowSubscription = "allowSubscription",
7
7
  apt = "apt",
8
8
  availableCardTypes = "available_card_types",
9
+ babka_pay_phone = "babka_pay_phone",
10
+ babka_pay_jwt = "babka_pay_jwt",
11
+ babkaPayLoyaltyParticipation = "babka_pay_loyalty_participation",
9
12
  bank = "bank",
10
13
  birthDate = "birth_date",
11
14
  cardMonth = "card_month",
@@ -15,13 +18,14 @@ export declare enum FieldNames {
15
18
  cardholdername = "cardholdername",
16
19
  city = "city",
17
20
  couponCode = "couponCode",
21
+ document = "document",
18
22
  cpfName = "cpf_name",
19
23
  cpfNumber = "cpf_number",
20
24
  cvv = "cvv",
21
25
  description = "description",
26
+ collectedEmailConsent = "collectedEmailConsent",
22
27
  email = "email",
23
28
  psEmail = "psEmail",
24
- psAccountCountry = "psAccountCountry",
25
29
  bazitemail = "bazitemail",
26
30
  euCheck = "eu_check",
27
31
  extraCvv = "extra_cvv",
@@ -31,6 +35,7 @@ export declare enum FieldNames {
31
35
  installments = "installments",
32
36
  lName = "l_name",
33
37
  needInstallments = "needInstallments",
38
+ payer = "payer",
34
39
  personId = "person_id",
35
40
  personIdAr = "person_id_ar",
36
41
  personIdCo = "person_id_co",
@@ -53,6 +58,7 @@ export declare enum FieldNames {
53
58
  licenseDisclaimer = "licenseDisclaimer",
54
59
  xsollaTipsAmount = "xsollaTipsAmount",
55
60
  zip = "zip",
61
+ psAccountCountry = "psAccountCountry",
56
62
  allowSave = "allowSave",
57
63
  koreaLimitsInstruction = "korea_limits_instruction",
58
64
  tokenApplePay = "token_applepay",
@@ -60,11 +66,14 @@ export declare enum FieldNames {
60
66
  fixPid = "fix_pid",
61
67
  signature = "signature",
62
68
  qr = "qr",
69
+ qrCode = "qr_code",
70
+ qrTtl = "qr_ttl",
63
71
  sum = "sum",
64
72
  out = "out",
65
73
  tinkoffDisclaimer = "ps.tinkoff.disclaimer",
66
74
  ppEmail = "pp_email",
67
75
  redeemPoints = "redeemPoints",
76
+ redeemLoyaltyPoints = "redeemLoyaltyPoints",
68
77
  omnibusDirective = "omnibus_directive",
69
78
  labelApplePay = "label_applePay",
70
79
  countryCode = "countryCode",
@@ -77,9 +86,25 @@ export declare enum FieldNames {
77
86
  payInstanceAccountId = "payInstanceAccountId",
78
87
  getApplePaySessionUrl = "getApplePaySessionUrl",
79
88
  payViaCheckoutUrl = "payViaCheckoutUrl",
89
+ paymentInstruction = "payment_instruction",
90
+ paymentWithSavedMethod = "paymentWithSavedMethod",
91
+ xsollaOrbsPartialPayment = "xsolla_currency_wallet_partial",
92
+ xsollaGoldOrbsPartial = "xsolla-gold-orbs-partial",
93
+ xsollaOrbsFullPayment = "xsolla_currency_wallet_full",
94
+ xsollaCurrencyDescription = "xsolla_currency_description",
95
+ fixCommand = "fix_command",
96
+ jwtToken = "jwt_token",
97
+ userId = "user_id",
98
+ userPass = "user_pass",
99
+ pinCard = "pin_card",
100
+ payType = "payType",
101
+ fullName = "user_name",
102
+ name = "name",
103
+ epin = "epin",
104
+ zipCode = "zip_code",
105
+ googlePay3dsRedirect = "googlePay3DSRedirect",
80
106
  googlePayInitData = "googlePayInitData",
81
107
  googlePayPaymentData = "googlePayPaymentData",
82
- googlePay3dsRedirect = "googlePay3DSRedirect",
83
108
  externalCardIssuerCountry = "externalCardIssuerCountry",
84
109
  pmId = "pm_id"
85
110
  }
@@ -2,13 +2,15 @@ import { PaymentSystemProcessingService } from '../../payment-systems/payment-sy
2
2
  import { AllowedPaymentMethod, GoogleInitData, GooglePayPaymentRequest, PaymentDataResponse } from '../google-pay-library.interface';
3
3
  import { GooglePayPaymentService, PreparePaymentParams } from './google-pay-payment-service.interface';
4
4
  import { UserBehaviourAnalyticsService } from '../../../user-behaviour-analytics/user-behaviour-analytics.service';
5
+ import { LoggerService } from '../../../exceptions-handling/logger/logger.service';
5
6
  import * as i0 from "@angular/core";
6
7
  export declare class GooglePayCheckoutPaymentService implements GooglePayPaymentService {
7
8
  readonly paymentSystemProcessingService: PaymentSystemProcessingService;
8
9
  private readonly userBehaviourAnalyticsService;
10
+ private readonly loggerService;
9
11
  private initParams;
10
12
  private checkout;
11
- constructor(paymentSystemProcessingService: PaymentSystemProcessingService, userBehaviourAnalyticsService: UserBehaviourAnalyticsService);
13
+ constructor(paymentSystemProcessingService: PaymentSystemProcessingService, userBehaviourAnalyticsService: UserBehaviourAnalyticsService, loggerService: LoggerService);
12
14
  preparePayment({ initParams, checkDeviceData, }: PreparePaymentParams): GoogleInitData | null;
13
15
  getPaymentRequest(): GooglePayPaymentRequest | null;
14
16
  getAllowedPaymentMethods(): AllowedPaymentMethod[];
@@ -1,12 +1,14 @@
1
1
  import { SummaryFinanceDetailsAdapterService } from '../../../payment/finance-details/summary/summary-finance-details-adapter.service';
2
2
  import { AllowedPaymentMethod, GoogleInitData, GooglePayPaymentRequest } from '../google-pay-library.interface';
3
3
  import { GooglePayPaymentService, PreparePaymentParams } from './google-pay-payment-service.interface';
4
+ import { LoggerService } from '../../../exceptions-handling/logger/logger.service';
4
5
  import * as i0 from "@angular/core";
5
6
  export declare class GooglePayInstantPaymentService implements GooglePayPaymentService {
6
7
  private readonly summaryFinanceDetailsAdapterService;
8
+ private readonly loggerService;
7
9
  private initParams;
8
10
  private googleInitData;
9
- constructor(summaryFinanceDetailsAdapterService: SummaryFinanceDetailsAdapterService);
11
+ constructor(summaryFinanceDetailsAdapterService: SummaryFinanceDetailsAdapterService, loggerService: LoggerService);
10
12
  preparePayment({ initParams, checkDeviceData, }: PreparePaymentParams): GoogleInitData | null;
11
13
  getPaymentRequest(): GooglePayPaymentRequest | null;
12
14
  getAllowedPaymentMethods(): AllowedPaymentMethod[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xsolla/payment-client-core",
3
- "version": "0.2.107",
3
+ "version": "0.2.109",
4
4
  "engines": {
5
5
  "node": ">=16.10.0",
6
6
  "npm": ">=8.11.0"