univapay-node 3.0.37 → 3.0.38
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.
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { AuthParams, SendData } from "../api/RestAPI.js";
|
|
5
5
|
import { BankTransferConfiguration, CardConfigurationItem, ConvenienceConfigurationItem, OnlineConfigurationItem, PaidyConfigurationItem, QRScanConfigurationItem } from "./common/Configuration.js";
|
|
6
|
-
import { CardBrand, OnlineBrand, ProcessingMode } from "./common/enums.js";
|
|
6
|
+
import { BankTransferBrand, CardBrand, OnlineBrand, ProcessingMode } from "./common/enums.js";
|
|
7
7
|
import { AmountWithCurrency } from "./common/types.js";
|
|
8
8
|
import { Resource } from "./Resource.js";
|
|
9
9
|
import { OnlineCallMethod, OSType, RecurringTokenPrivilege } from "./TransactionTokens.js";
|
|
@@ -20,14 +20,21 @@ export interface CheckoutColors {
|
|
|
20
20
|
baseText: string;
|
|
21
21
|
}
|
|
22
22
|
export interface SupportedBrand {
|
|
23
|
-
|
|
24
|
-
onlineBrand?: OnlineBrand;
|
|
23
|
+
brand: CardBrand | OnlineBrand | "paidy" | BankTransferBrand;
|
|
25
24
|
supportAuthCapture: boolean;
|
|
26
25
|
requiresFullName: boolean;
|
|
27
26
|
supportDynamicDescriptor: boolean;
|
|
28
27
|
requiresCvv: boolean;
|
|
29
|
-
countriesAllowed?: string[];
|
|
28
|
+
countriesAllowed?: string[] | null;
|
|
30
29
|
supportedCurrencies: string[];
|
|
30
|
+
/**
|
|
31
|
+
* @deprecated
|
|
32
|
+
*/
|
|
33
|
+
cardBrand?: CardBrand;
|
|
34
|
+
/**
|
|
35
|
+
* @deprecated
|
|
36
|
+
*/
|
|
37
|
+
onlineBrand?: OnlineBrand;
|
|
31
38
|
}
|
|
32
39
|
export interface CheckoutInfoItem {
|
|
33
40
|
mode: ProcessingMode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CheckoutInfo.js","sourceRoot":"","sources":["../../../src/resources/CheckoutInfo.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,kDAAqE;AAYrE,+CAAuD;
|
|
1
|
+
{"version":3,"file":"CheckoutInfo.js","sourceRoot":"","sources":["../../../src/resources/CheckoutInfo.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,kDAAqE;AAYrE,+CAAuD;AAoGvD,MAAa,YAAa,SAAQ,sBAAQ;IAEtC,GAAG,CAAC,IAAmC,EAAE,IAAiB;QACtD,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,WAAW,CAAC,uBAAU,CAAC,GAAG,EAAE,gBAAgB,CAAC,CAAC;QAC5E,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IACjC,CAAC;IAGD,OAAO,CACH,KAAkB,EAClB,IAAyC,EACzC,IAAiB;QAEjB,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,WAAW,CAAC,uBAAU,CAAC,IAAI,EAAE,gCAAgC,CAAC,CAAC;QACrG,OAAO,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,IAAI,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC;IAChD,CAAC;CACJ;AAhBD,oCAgBC"}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { AuthParams, SendData } from "../api/RestAPI.js";
|
|
5
5
|
import { BankTransferConfiguration, CardConfigurationItem, ConvenienceConfigurationItem, OnlineConfigurationItem, PaidyConfigurationItem, QRScanConfigurationItem } from "./common/Configuration.js";
|
|
6
|
-
import { CardBrand, OnlineBrand, ProcessingMode } from "./common/enums.js";
|
|
6
|
+
import { BankTransferBrand, CardBrand, OnlineBrand, ProcessingMode } from "./common/enums.js";
|
|
7
7
|
import { AmountWithCurrency } from "./common/types.js";
|
|
8
8
|
import { Resource } from "./Resource.js";
|
|
9
9
|
import { OnlineCallMethod, OSType, RecurringTokenPrivilege } from "./TransactionTokens.js";
|
|
@@ -20,14 +20,21 @@ export interface CheckoutColors {
|
|
|
20
20
|
baseText: string;
|
|
21
21
|
}
|
|
22
22
|
export interface SupportedBrand {
|
|
23
|
-
|
|
24
|
-
onlineBrand?: OnlineBrand;
|
|
23
|
+
brand: CardBrand | OnlineBrand | "paidy" | BankTransferBrand;
|
|
25
24
|
supportAuthCapture: boolean;
|
|
26
25
|
requiresFullName: boolean;
|
|
27
26
|
supportDynamicDescriptor: boolean;
|
|
28
27
|
requiresCvv: boolean;
|
|
29
|
-
countriesAllowed?: string[];
|
|
28
|
+
countriesAllowed?: string[] | null;
|
|
30
29
|
supportedCurrencies: string[];
|
|
30
|
+
/**
|
|
31
|
+
* @deprecated
|
|
32
|
+
*/
|
|
33
|
+
cardBrand?: CardBrand;
|
|
34
|
+
/**
|
|
35
|
+
* @deprecated
|
|
36
|
+
*/
|
|
37
|
+
onlineBrand?: OnlineBrand;
|
|
31
38
|
}
|
|
32
39
|
export interface CheckoutInfoItem {
|
|
33
40
|
mode: ProcessingMode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CheckoutInfo.js","sourceRoot":"","sources":["../../../src/resources/CheckoutInfo.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAc,UAAU,EAAY,MAAM,mBAAmB,CAAC;AAYrE,OAAO,EAAgB,QAAQ,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"CheckoutInfo.js","sourceRoot":"","sources":["../../../src/resources/CheckoutInfo.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAc,UAAU,EAAY,MAAM,mBAAmB,CAAC;AAYrE,OAAO,EAAgB,QAAQ,EAAE,MAAM,eAAe,CAAC;AAoGvD,MAAM,OAAO,YAAa,SAAQ,QAAQ;IAEtC,GAAG,CAAC,IAAmC,EAAE,IAAiB;QACtD,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,WAAW,CAAC,UAAU,CAAC,GAAG,EAAE,gBAAgB,CAAC,CAAC;QAC5E,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IACjC,CAAC;IAGD,OAAO,CACH,KAAkB,EAClB,IAAyC,EACzC,IAAiB;QAEjB,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,WAAW,CAAC,UAAU,CAAC,IAAI,EAAE,gCAAgC,CAAC,CAAC;QACrG,OAAO,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,IAAI,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC;IAChD,CAAC;CACJ"}
|