@tax1driver/ts-przelewy24 2.1.0

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 (201) hide show
  1. package/.yarn/install-state.gz +0 -0
  2. package/.yarnrc.yml +1 -0
  3. package/LICENSE +21 -0
  4. package/README.md +330 -0
  5. package/dist/blik/Alias.d.ts +80 -0
  6. package/dist/blik/Alias.d.ts.map +1 -0
  7. package/dist/blik/Alias.js +3 -0
  8. package/dist/blik/Alias.js.map +1 -0
  9. package/dist/blik/ChargeBlik.d.ts +151 -0
  10. package/dist/blik/ChargeBlik.d.ts.map +1 -0
  11. package/dist/blik/ChargeBlik.js +4 -0
  12. package/dist/blik/ChargeBlik.js.map +1 -0
  13. package/dist/blik/RecurringParams.d.ts +37 -0
  14. package/dist/blik/RecurringParams.d.ts.map +1 -0
  15. package/dist/blik/RecurringParams.js +3 -0
  16. package/dist/blik/RecurringParams.js.map +1 -0
  17. package/dist/blik/index.d.ts +4 -0
  18. package/dist/blik/index.d.ts.map +1 -0
  19. package/dist/blik/index.js +20 -0
  20. package/dist/blik/index.js.map +1 -0
  21. package/dist/cards/CardInfo.d.ts +45 -0
  22. package/dist/cards/CardInfo.d.ts.map +1 -0
  23. package/dist/cards/CardInfo.js +3 -0
  24. package/dist/cards/CardInfo.js.map +1 -0
  25. package/dist/cards/CardNotification.d.ts +178 -0
  26. package/dist/cards/CardNotification.d.ts.map +1 -0
  27. package/dist/cards/CardNotification.js +3 -0
  28. package/dist/cards/CardNotification.js.map +1 -0
  29. package/dist/cards/ChargeCard.d.ts +81 -0
  30. package/dist/cards/ChargeCard.d.ts.map +1 -0
  31. package/dist/cards/ChargeCard.js +3 -0
  32. package/dist/cards/ChargeCard.js.map +1 -0
  33. package/dist/cards/index.d.ts +4 -0
  34. package/dist/cards/index.d.ts.map +1 -0
  35. package/dist/cards/index.js +20 -0
  36. package/dist/cards/index.js.map +1 -0
  37. package/dist/enums/Channel.d.ts +18 -0
  38. package/dist/enums/Channel.d.ts.map +1 -0
  39. package/dist/enums/Channel.js +22 -0
  40. package/dist/enums/Channel.js.map +1 -0
  41. package/dist/enums/Country.d.ts +67 -0
  42. package/dist/enums/Country.d.ts.map +1 -0
  43. package/dist/enums/Country.js +71 -0
  44. package/dist/enums/Country.js.map +1 -0
  45. package/dist/enums/Currency.d.ts +36 -0
  46. package/dist/enums/Currency.d.ts.map +1 -0
  47. package/dist/enums/Currency.js +40 -0
  48. package/dist/enums/Currency.js.map +1 -0
  49. package/dist/enums/Encoding.d.ts +35 -0
  50. package/dist/enums/Encoding.d.ts.map +1 -0
  51. package/dist/enums/Encoding.js +39 -0
  52. package/dist/enums/Encoding.js.map +1 -0
  53. package/dist/enums/Language.d.ts +37 -0
  54. package/dist/enums/Language.d.ts.map +1 -0
  55. package/dist/enums/Language.js +41 -0
  56. package/dist/enums/Language.js.map +1 -0
  57. package/dist/enums/ShippingType.d.ts +13 -0
  58. package/dist/enums/ShippingType.d.ts.map +1 -0
  59. package/dist/enums/ShippingType.js +17 -0
  60. package/dist/enums/ShippingType.js.map +1 -0
  61. package/dist/enums/index.d.ts +7 -0
  62. package/dist/enums/index.d.ts.map +1 -0
  63. package/dist/enums/index.js +23 -0
  64. package/dist/enums/index.js.map +1 -0
  65. package/dist/errors/P24Error.d.ts +38 -0
  66. package/dist/errors/P24Error.d.ts.map +1 -0
  67. package/dist/errors/P24Error.js +49 -0
  68. package/dist/errors/P24Error.js.map +1 -0
  69. package/dist/errors/index.d.ts +2 -0
  70. package/dist/errors/index.d.ts.map +1 -0
  71. package/dist/errors/index.js +18 -0
  72. package/dist/errors/index.js.map +1 -0
  73. package/dist/index.d.ts +11 -0
  74. package/dist/index.d.ts.map +1 -0
  75. package/dist/index.js +27 -0
  76. package/dist/index.js.map +1 -0
  77. package/dist/orders/Additional.d.ts +17 -0
  78. package/dist/orders/Additional.d.ts.map +1 -0
  79. package/dist/orders/Additional.js +3 -0
  80. package/dist/orders/Additional.js.map +1 -0
  81. package/dist/orders/CartItem.d.ts +58 -0
  82. package/dist/orders/CartItem.d.ts.map +1 -0
  83. package/dist/orders/CartItem.js +3 -0
  84. package/dist/orders/CartItem.js.map +1 -0
  85. package/dist/orders/OfflineTransaction.d.ts +51 -0
  86. package/dist/orders/OfflineTransaction.d.ts.map +1 -0
  87. package/dist/orders/OfflineTransaction.js +3 -0
  88. package/dist/orders/OfflineTransaction.js.map +1 -0
  89. package/dist/orders/Order.d.ts +211 -0
  90. package/dist/orders/Order.d.ts.map +1 -0
  91. package/dist/orders/Order.js +3 -0
  92. package/dist/orders/Order.js.map +1 -0
  93. package/dist/orders/OrderCreatedData.d.ts +16 -0
  94. package/dist/orders/OrderCreatedData.d.ts.map +1 -0
  95. package/dist/orders/OrderCreatedData.js +3 -0
  96. package/dist/orders/OrderCreatedData.js.map +1 -0
  97. package/dist/orders/Shipping.d.ts +39 -0
  98. package/dist/orders/Shipping.d.ts.map +1 -0
  99. package/dist/orders/Shipping.js +3 -0
  100. package/dist/orders/Shipping.js.map +1 -0
  101. package/dist/orders/SplitPayment.d.ts +54 -0
  102. package/dist/orders/SplitPayment.d.ts.map +1 -0
  103. package/dist/orders/SplitPayment.js +3 -0
  104. package/dist/orders/SplitPayment.js.map +1 -0
  105. package/dist/orders/Transaction.d.ts +23 -0
  106. package/dist/orders/Transaction.d.ts.map +1 -0
  107. package/dist/orders/Transaction.js +3 -0
  108. package/dist/orders/Transaction.js.map +1 -0
  109. package/dist/orders/TransactionDetails.d.ts +135 -0
  110. package/dist/orders/TransactionDetails.d.ts.map +1 -0
  111. package/dist/orders/TransactionDetails.js +3 -0
  112. package/dist/orders/TransactionDetails.js.map +1 -0
  113. package/dist/orders/index.d.ts +10 -0
  114. package/dist/orders/index.d.ts.map +1 -0
  115. package/dist/orders/index.js +26 -0
  116. package/dist/orders/index.js.map +1 -0
  117. package/dist/p24/BaseParameters.d.ts +46 -0
  118. package/dist/p24/BaseParameters.d.ts.map +1 -0
  119. package/dist/p24/BaseParameters.js +27 -0
  120. package/dist/p24/BaseParameters.js.map +1 -0
  121. package/dist/p24/P24.d.ts +241 -0
  122. package/dist/p24/P24.d.ts.map +1 -0
  123. package/dist/p24/P24.js +484 -0
  124. package/dist/p24/P24.js.map +1 -0
  125. package/dist/p24/P24Options.d.ts +16 -0
  126. package/dist/p24/P24Options.d.ts.map +1 -0
  127. package/dist/p24/P24Options.js +3 -0
  128. package/dist/p24/P24Options.js.map +1 -0
  129. package/dist/p24/endpoints.d.ts +13 -0
  130. package/dist/p24/endpoints.d.ts.map +1 -0
  131. package/dist/p24/endpoints.js +16 -0
  132. package/dist/p24/endpoints.js.map +1 -0
  133. package/dist/p24/index.d.ts +6 -0
  134. package/dist/p24/index.d.ts.map +1 -0
  135. package/dist/p24/index.js +22 -0
  136. package/dist/p24/index.js.map +1 -0
  137. package/dist/p24/ips.d.ts +2 -0
  138. package/dist/p24/ips.d.ts.map +1 -0
  139. package/dist/p24/ips.js +11 -0
  140. package/dist/p24/ips.js.map +1 -0
  141. package/dist/payment/PaymentMethod.d.ts +76 -0
  142. package/dist/payment/PaymentMethod.d.ts.map +1 -0
  143. package/dist/payment/PaymentMethod.js +3 -0
  144. package/dist/payment/PaymentMethod.js.map +1 -0
  145. package/dist/payment/index.d.ts +2 -0
  146. package/dist/payment/index.d.ts.map +1 -0
  147. package/dist/payment/index.js +18 -0
  148. package/dist/payment/index.js.map +1 -0
  149. package/dist/refund/Refund.d.ts +37 -0
  150. package/dist/refund/Refund.d.ts.map +1 -0
  151. package/dist/refund/Refund.js +3 -0
  152. package/dist/refund/Refund.js.map +1 -0
  153. package/dist/refund/RefundRequest.d.ts +38 -0
  154. package/dist/refund/RefundRequest.d.ts.map +1 -0
  155. package/dist/refund/RefundRequest.js +3 -0
  156. package/dist/refund/RefundRequest.js.map +1 -0
  157. package/dist/refund/RefundResult.d.ts +51 -0
  158. package/dist/refund/RefundResult.d.ts.map +1 -0
  159. package/dist/refund/RefundResult.js +3 -0
  160. package/dist/refund/RefundResult.js.map +1 -0
  161. package/dist/refund/TransactionWithRefunds.d.ts +101 -0
  162. package/dist/refund/TransactionWithRefunds.d.ts.map +1 -0
  163. package/dist/refund/TransactionWithRefunds.js +3 -0
  164. package/dist/refund/TransactionWithRefunds.js.map +1 -0
  165. package/dist/refund/index.d.ts +5 -0
  166. package/dist/refund/index.d.ts.map +1 -0
  167. package/dist/refund/index.js +21 -0
  168. package/dist/refund/index.js.map +1 -0
  169. package/dist/responses/ErrorResponse.d.ts +17 -0
  170. package/dist/responses/ErrorResponse.d.ts.map +1 -0
  171. package/dist/responses/ErrorResponse.js +3 -0
  172. package/dist/responses/ErrorResponse.js.map +1 -0
  173. package/dist/responses/SuccessResponse.d.ts +17 -0
  174. package/dist/responses/SuccessResponse.d.ts.map +1 -0
  175. package/dist/responses/SuccessResponse.js +3 -0
  176. package/dist/responses/SuccessResponse.js.map +1 -0
  177. package/dist/responses/index.d.ts +3 -0
  178. package/dist/responses/index.d.ts.map +1 -0
  179. package/dist/responses/index.js +19 -0
  180. package/dist/responses/index.js.map +1 -0
  181. package/dist/utils/hash.d.ts +2 -0
  182. package/dist/utils/hash.d.ts.map +1 -0
  183. package/dist/utils/hash.js +14 -0
  184. package/dist/utils/hash.js.map +1 -0
  185. package/dist/verify/NotificationRequest.d.ts +82 -0
  186. package/dist/verify/NotificationRequest.d.ts.map +1 -0
  187. package/dist/verify/NotificationRequest.js +3 -0
  188. package/dist/verify/NotificationRequest.js.map +1 -0
  189. package/dist/verify/Verification.d.ts +38 -0
  190. package/dist/verify/Verification.d.ts.map +1 -0
  191. package/dist/verify/Verification.js +3 -0
  192. package/dist/verify/Verification.js.map +1 -0
  193. package/dist/verify/VerificationData.d.ts +16 -0
  194. package/dist/verify/VerificationData.d.ts.map +1 -0
  195. package/dist/verify/VerificationData.js +3 -0
  196. package/dist/verify/VerificationData.js.map +1 -0
  197. package/dist/verify/index.d.ts +4 -0
  198. package/dist/verify/index.d.ts.map +1 -0
  199. package/dist/verify/index.js +20 -0
  200. package/dist/verify/index.js.map +1 -0
  201. package/package.json +45 -0
@@ -0,0 +1,45 @@
1
+ /**
2
+ * Credit card information
3
+ *
4
+ * @export
5
+ * @type {CardInfo}
6
+ */
7
+ export type CardInfo = {
8
+ /**
9
+ * Reference ID for the card
10
+ *
11
+ * @type {string}
12
+ */
13
+ refId: string;
14
+ /**
15
+ * Bank Identification Number (first 6 digits of card)
16
+ *
17
+ * @type {number}
18
+ */
19
+ bin: number;
20
+ /**
21
+ * Masked card number
22
+ *
23
+ * @type {string}
24
+ */
25
+ mask: string;
26
+ /**
27
+ * Card type (e.g., Visa, Mastercard)
28
+ *
29
+ * @type {string}
30
+ */
31
+ cardType: string;
32
+ /**
33
+ * Card expiration date
34
+ *
35
+ * @type {string}
36
+ */
37
+ cardDate: string;
38
+ /**
39
+ * Hash of card data
40
+ *
41
+ * @type {string}
42
+ */
43
+ hash: string;
44
+ };
45
+ //# sourceMappingURL=CardInfo.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CardInfo.d.ts","sourceRoot":"","sources":["../../src/cards/CardInfo.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,MAAM,QAAQ,GAAG;IACnB;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;;;OAIG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;CAChB,CAAC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=CardInfo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CardInfo.js","sourceRoot":"","sources":["../../src/cards/CardInfo.ts"],"names":[],"mappings":""}
@@ -0,0 +1,178 @@
1
+ /**
2
+ * Card payment successful notification from Przelewy24
3
+ *
4
+ * @export
5
+ * @interface CardPaymentSuccessfulNotification
6
+ */
7
+ export interface CardPaymentSuccessfulNotification {
8
+ /**
9
+ * Payment amount
10
+ *
11
+ * @type {number}
12
+ * @memberof CardPaymentSuccessfulNotification
13
+ */
14
+ amount: number;
15
+ /**
16
+ * Whether 3D Secure was used
17
+ *
18
+ * @type {boolean}
19
+ * @memberof CardPaymentSuccessfulNotification
20
+ */
21
+ "3ds": boolean;
22
+ /**
23
+ * Payment method ID
24
+ *
25
+ * @type {number}
26
+ * @memberof CardPaymentSuccessfulNotification
27
+ */
28
+ method: number;
29
+ /**
30
+ * Reference ID for the card
31
+ *
32
+ * @type {string}
33
+ * @memberof CardPaymentSuccessfulNotification
34
+ */
35
+ refId: string;
36
+ /**
37
+ * Order ID from Przelewy24
38
+ *
39
+ * @type {number}
40
+ * @memberof CardPaymentSuccessfulNotification
41
+ */
42
+ orderId: number;
43
+ /**
44
+ * Transaction session ID from the Partner's system
45
+ *
46
+ * @type {string}
47
+ * @memberof CardPaymentSuccessfulNotification
48
+ */
49
+ sessionId: string;
50
+ /**
51
+ * Bank Identification Number (first 6 digits of card)
52
+ *
53
+ * @type {number}
54
+ * @memberof CardPaymentSuccessfulNotification
55
+ */
56
+ bin: number;
57
+ /**
58
+ * Masked credit card number
59
+ *
60
+ * @type {string}
61
+ * @memberof CardPaymentSuccessfulNotification
62
+ */
63
+ maskedCCNumber: string;
64
+ /**
65
+ * Card expiration date
66
+ *
67
+ * @type {string}
68
+ * @memberof CardPaymentSuccessfulNotification
69
+ */
70
+ ccExp: string;
71
+ /**
72
+ * Hash of card data
73
+ *
74
+ * @type {string}
75
+ * @memberof CardPaymentSuccessfulNotification
76
+ */
77
+ hash: string;
78
+ /**
79
+ * Card issuing country
80
+ *
81
+ * @type {string}
82
+ * @memberof CardPaymentSuccessfulNotification
83
+ */
84
+ cardCountry: string;
85
+ /**
86
+ * Risk score
87
+ *
88
+ * @type {number}
89
+ * @memberof CardPaymentSuccessfulNotification
90
+ */
91
+ risk: number;
92
+ /**
93
+ * Liability shift status (whether liability has shifted to the issuer or payment provider)
94
+ *
95
+ * @type {boolean}
96
+ * @memberof CardPaymentSuccessfulNotification
97
+ */
98
+ liabilityshift: boolean;
99
+ /**
100
+ * Signature for verification
101
+ *
102
+ * @type {string}
103
+ * @memberof CardPaymentSuccessfulNotification
104
+ */
105
+ sign: string;
106
+ }
107
+ /**
108
+ * Card payment failed notification from Przelewy24
109
+ *
110
+ * @export
111
+ * @interface CardPaymentFailedNotification
112
+ */
113
+ export interface CardPaymentFailedNotification {
114
+ /**
115
+ * Payment amount
116
+ *
117
+ * @type {number}
118
+ * @memberof CardPaymentFailedNotification
119
+ */
120
+ amount: number;
121
+ /**
122
+ * Whether 3D Secure was used
123
+ *
124
+ * @type {boolean}
125
+ * @memberof CardPaymentFailedNotification
126
+ */
127
+ "3ds": boolean;
128
+ /**
129
+ * Payment method ID
130
+ *
131
+ * @type {number}
132
+ * @memberof CardPaymentFailedNotification
133
+ */
134
+ method: number;
135
+ /**
136
+ * Order ID from Przelewy24
137
+ *
138
+ * @type {number}
139
+ * @memberof CardPaymentFailedNotification
140
+ */
141
+ orderId: number;
142
+ /**
143
+ * Transaction session ID from the Partner's system
144
+ *
145
+ * @type {string}
146
+ * @memberof CardPaymentFailedNotification
147
+ */
148
+ sessionId: string;
149
+ /**
150
+ * Error code
151
+ *
152
+ * @type {string}
153
+ * @memberof CardPaymentFailedNotification
154
+ */
155
+ errorCode: string;
156
+ /**
157
+ * Error message
158
+ *
159
+ * @type {string}
160
+ * @memberof CardPaymentFailedNotification
161
+ */
162
+ errorMessage: string;
163
+ /**
164
+ * Signature for verification
165
+ *
166
+ * @type {string}
167
+ * @memberof CardPaymentFailedNotification
168
+ */
169
+ sign: string;
170
+ }
171
+ /**
172
+ * Union type for card payment notifications (success or failure)
173
+ *
174
+ * @export
175
+ * @type {CardPaymentNotification}
176
+ */
177
+ export type CardPaymentNotification = CardPaymentSuccessfulNotification | CardPaymentFailedNotification;
178
+ //# sourceMappingURL=CardNotification.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CardNotification.d.ts","sourceRoot":"","sources":["../../src/cards/CardNotification.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,WAAW,iCAAiC;IAC9C;;;;;OAKG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;;;;OAKG;IACH,KAAK,EAAE,OAAO,CAAC;IAEf;;;;;OAKG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;;;;OAKG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;;;;OAKG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;;;OAKG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;;;;OAKG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ;;;;;OAKG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;OAKG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;;;;OAKG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;;OAKG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;;;;OAKG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;;OAKG;IACH,cAAc,EAAE,OAAO,CAAC;IAExB;;;;;OAKG;IACH,IAAI,EAAE,MAAM,CAAC;CAChB;AAED;;;;;GAKG;AACH,MAAM,WAAW,6BAA6B;IAC1C;;;;;OAKG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;;;;OAKG;IACH,KAAK,EAAE,OAAO,CAAC;IAEf;;;;;OAKG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;;;;OAKG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;;;OAKG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;;;;OAKG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;;;;OAKG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;;;;OAKG;IACH,IAAI,EAAE,MAAM,CAAC;CAChB;AAED;;;;;GAKG;AACH,MAAM,MAAM,uBAAuB,GAAG,iCAAiC,GAAG,6BAA6B,CAAC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=CardNotification.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CardNotification.js","sourceRoot":"","sources":["../../src/cards/CardNotification.ts"],"names":[],"mappings":""}
@@ -0,0 +1,81 @@
1
+ /**
2
+ * Parameters for card charge with 3D Secure authentication
3
+ *
4
+ * @export
5
+ * @interface ChargeCard3DSParams
6
+ */
7
+ export interface ChargeCard3DSParams {
8
+ /**
9
+ * Order ID from Przelewy24
10
+ *
11
+ * @type {string}
12
+ * @memberof ChargeCard3DSParams
13
+ */
14
+ orderId: string;
15
+ /**
16
+ * URL to redirect for 3DS authentication
17
+ *
18
+ * @type {string}
19
+ * @memberof ChargeCard3DSParams
20
+ */
21
+ redirectUrl: string;
22
+ }
23
+ /**
24
+ * Parameters for card charge without 3D Secure
25
+ *
26
+ * @export
27
+ * @interface ChargeCardParams
28
+ */
29
+ export interface ChargeCardParams {
30
+ /**
31
+ * Order ID from Przelewy24
32
+ *
33
+ * @type {string}
34
+ * @memberof ChargeCardParams
35
+ */
36
+ orderId: string;
37
+ }
38
+ /**
39
+ * Parameters for direct card charge
40
+ *
41
+ * @export
42
+ * @interface ChargeCardDirectParams
43
+ */
44
+ export interface ChargeCardDirectParams {
45
+ /**
46
+ * Transaction token
47
+ *
48
+ * @type {string}
49
+ * @memberof ChargeCardDirectParams
50
+ */
51
+ transactionToken: string;
52
+ /**
53
+ * Card number
54
+ *
55
+ * @type {string}
56
+ * @memberof ChargeCardDirectParams
57
+ */
58
+ cardNumber: string;
59
+ /**
60
+ * Card expiration date
61
+ *
62
+ * @type {string}
63
+ * @memberof ChargeCardDirectParams
64
+ */
65
+ cardDate: string;
66
+ /**
67
+ * Card CVV/CVC code
68
+ *
69
+ * @type {string}
70
+ * @memberof ChargeCardDirectParams
71
+ */
72
+ cvv: string;
73
+ /**
74
+ * Cardholder name
75
+ *
76
+ * @type {string}
77
+ * @memberof ChargeCardDirectParams
78
+ */
79
+ clientName: string;
80
+ }
81
+ //# sourceMappingURL=ChargeCard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChargeCard.d.ts","sourceRoot":"","sources":["../../src/cards/ChargeCard.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;;OAKG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;;;OAKG;IACH,WAAW,EAAE,MAAM,CAAC;CACvB;AAED;;;;;GAKG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;;;;OAKG;IACH,OAAO,EAAE,MAAM,CAAC;CACnB;AAED;;;;;GAKG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;;OAKG;IACH,gBAAgB,EAAE,MAAM,CAAC;IAEzB;;;;;OAKG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;;OAKG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;;;OAKG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ;;;;;OAKG;IACH,UAAU,EAAE,MAAM,CAAC;CACtB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ChargeCard.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChargeCard.js","sourceRoot":"","sources":["../../src/cards/ChargeCard.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ export * from './CardInfo';
2
+ export * from './CardNotification';
3
+ export * from './ChargeCard';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/cards/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC"}
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./CardInfo"), exports);
18
+ __exportStar(require("./CardNotification"), exports);
19
+ __exportStar(require("./ChargeCard"), exports);
20
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/cards/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,qDAAmC;AACnC,+CAA6B"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Channels of payment
3
+ *
4
+ * @export
5
+ * @enum {number}
6
+ */
7
+ export declare enum Channel {
8
+ Card = 1,
9
+ Transfer = 2,
10
+ TraditionalTransfer = 4,
11
+ NA = 8,
12
+ All = 16,
13
+ UsePrePayment = 32,
14
+ OnlyPayByLink = 64,
15
+ InstalmentPaymentForms = 128,
16
+ WalletsToActivate = 256
17
+ }
18
+ //# sourceMappingURL=Channel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Channel.d.ts","sourceRoot":"","sources":["../../src/enums/Channel.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,oBAAY,OAAO;IACf,IAAI,IAAI;IACR,QAAQ,IAAI;IACZ,mBAAmB,IAAI;IACvB,EAAE,IAAI;IACN,GAAG,KAAK;IACR,aAAa,KAAK;IAClB,aAAa,KAAK;IAClB,sBAAsB,MAAM;IAC5B,iBAAiB,MAAM;CAC1B"}
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Channel = void 0;
4
+ /**
5
+ * Channels of payment
6
+ *
7
+ * @export
8
+ * @enum {number}
9
+ */
10
+ var Channel;
11
+ (function (Channel) {
12
+ Channel[Channel["Card"] = 1] = "Card";
13
+ Channel[Channel["Transfer"] = 2] = "Transfer";
14
+ Channel[Channel["TraditionalTransfer"] = 4] = "TraditionalTransfer";
15
+ Channel[Channel["NA"] = 8] = "NA";
16
+ Channel[Channel["All"] = 16] = "All";
17
+ Channel[Channel["UsePrePayment"] = 32] = "UsePrePayment";
18
+ Channel[Channel["OnlyPayByLink"] = 64] = "OnlyPayByLink";
19
+ Channel[Channel["InstalmentPaymentForms"] = 128] = "InstalmentPaymentForms";
20
+ Channel[Channel["WalletsToActivate"] = 256] = "WalletsToActivate";
21
+ })(Channel || (exports.Channel = Channel = {}));
22
+ //# sourceMappingURL=Channel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Channel.js","sourceRoot":"","sources":["../../src/enums/Channel.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,IAAY,OAUX;AAVD,WAAY,OAAO;IACf,qCAAQ,CAAA;IACR,6CAAY,CAAA;IACZ,mEAAuB,CAAA;IACvB,iCAAM,CAAA;IACN,oCAAQ,CAAA;IACR,wDAAkB,CAAA;IAClB,wDAAkB,CAAA;IAClB,2EAA4B,CAAA;IAC5B,iEAAuB,CAAA;AAC3B,CAAC,EAVW,OAAO,uBAAP,OAAO,QAUlB"}
@@ -0,0 +1,67 @@
1
+ /**
2
+ * MIT License
3
+ *
4
+ * Copyright (c) 2019 Kasun Vithanage
5
+ *
6
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ * of this software and associated documentation files (the "Software"), to deal
8
+ * in the Software without restriction, including without limitation the rights
9
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ * copies of the Software, and to permit persons to whom the Software is
11
+ * furnished to do so, subject to the following conditions:
12
+ *
13
+ * The above copyright notice and this permission notice shall be included in all
14
+ * copies or substantial portions of the Software.
15
+ *
16
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ * SOFTWARE.
23
+ *
24
+ */
25
+ /**
26
+ * Country Code
27
+ *
28
+ * @enum {string}
29
+ */
30
+ export declare enum Country {
31
+ Andorra = "AD",
32
+ Austria = "AT",
33
+ Belgium = "BE",
34
+ Cyprus = "CY",
35
+ CzechRepublic = "CZ",
36
+ Denmark = "DK",
37
+ Estonia = "EE",
38
+ Finland = "FI",
39
+ France = "FR",
40
+ Greece = "EL",
41
+ Spain = "ES",
42
+ Norway = "NO",
43
+ Poland = "PL",
44
+ Portugal = "PT",
45
+ SanMarino = "SM",
46
+ Slovakia = "SK",
47
+ Slovenia = "SI",
48
+ Switzerland = "CH",
49
+ Sweden = "SE",
50
+ Hungary = "HU",
51
+ GreatBritain = "GB",
52
+ Italy = "IT",
53
+ Netherland = "NL",
54
+ Ireland = "IE",
55
+ Island = "IS",
56
+ Lithuania = "LT",
57
+ Latvia = "LV",
58
+ Luxemburg = "LU",
59
+ Malta = "MT",
60
+ USA = "US",
61
+ Canada = "CA",
62
+ Japan = "JP",
63
+ Ukraine = "UA",
64
+ Belarus = "BY",
65
+ Russia = "RU"
66
+ }
67
+ //# sourceMappingURL=Country.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Country.d.ts","sourceRoot":"","sources":["../../src/enums/Country.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH;;;;GAIG;AACH,oBAAY,OAAO;IACf,OAAO,OAAO;IACd,OAAO,OAAO;IACd,OAAO,OAAO;IACd,MAAM,OAAO;IACb,aAAa,OAAO;IACpB,OAAO,OAAO;IACd,OAAO,OAAO;IACd,OAAO,OAAO;IACd,MAAM,OAAO;IACb,MAAM,OAAO;IACb,KAAK,OAAO;IACZ,MAAM,OAAO;IACb,MAAM,OAAO;IACb,QAAQ,OAAO;IACf,SAAS,OAAO;IAChB,QAAQ,OAAO;IACf,QAAQ,OAAO;IACf,WAAW,OAAO;IAClB,MAAM,OAAO;IACb,OAAO,OAAO;IACd,YAAY,OAAO;IACnB,KAAK,OAAO;IACZ,UAAU,OAAO;IACjB,OAAO,OAAO;IACd,MAAM,OAAO;IACb,SAAS,OAAO;IAChB,MAAM,OAAO;IACb,SAAS,OAAO;IAChB,KAAK,OAAO;IACZ,GAAG,OAAO;IACV,MAAM,OAAO;IACb,KAAK,OAAO;IACZ,OAAO,OAAO;IACd,OAAO,OAAO;IACd,MAAM,OAAO;CAChB"}
@@ -0,0 +1,71 @@
1
+ "use strict";
2
+ /**
3
+ * MIT License
4
+ *
5
+ * Copyright (c) 2019 Kasun Vithanage
6
+ *
7
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
8
+ * of this software and associated documentation files (the "Software"), to deal
9
+ * in the Software without restriction, including without limitation the rights
10
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
+ * copies of the Software, and to permit persons to whom the Software is
12
+ * furnished to do so, subject to the following conditions:
13
+ *
14
+ * The above copyright notice and this permission notice shall be included in all
15
+ * copies or substantial portions of the Software.
16
+ *
17
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23
+ * SOFTWARE.
24
+ *
25
+ */
26
+ Object.defineProperty(exports, "__esModule", { value: true });
27
+ exports.Country = void 0;
28
+ /**
29
+ * Country Code
30
+ *
31
+ * @enum {string}
32
+ */
33
+ var Country;
34
+ (function (Country) {
35
+ Country["Andorra"] = "AD";
36
+ Country["Austria"] = "AT";
37
+ Country["Belgium"] = "BE";
38
+ Country["Cyprus"] = "CY";
39
+ Country["CzechRepublic"] = "CZ";
40
+ Country["Denmark"] = "DK";
41
+ Country["Estonia"] = "EE";
42
+ Country["Finland"] = "FI";
43
+ Country["France"] = "FR";
44
+ Country["Greece"] = "EL";
45
+ Country["Spain"] = "ES";
46
+ Country["Norway"] = "NO";
47
+ Country["Poland"] = "PL";
48
+ Country["Portugal"] = "PT";
49
+ Country["SanMarino"] = "SM";
50
+ Country["Slovakia"] = "SK";
51
+ Country["Slovenia"] = "SI";
52
+ Country["Switzerland"] = "CH";
53
+ Country["Sweden"] = "SE";
54
+ Country["Hungary"] = "HU";
55
+ Country["GreatBritain"] = "GB";
56
+ Country["Italy"] = "IT";
57
+ Country["Netherland"] = "NL";
58
+ Country["Ireland"] = "IE";
59
+ Country["Island"] = "IS";
60
+ Country["Lithuania"] = "LT";
61
+ Country["Latvia"] = "LV";
62
+ Country["Luxemburg"] = "LU";
63
+ Country["Malta"] = "MT";
64
+ Country["USA"] = "US";
65
+ Country["Canada"] = "CA";
66
+ Country["Japan"] = "JP";
67
+ Country["Ukraine"] = "UA";
68
+ Country["Belarus"] = "BY";
69
+ Country["Russia"] = "RU";
70
+ })(Country || (exports.Country = Country = {}));
71
+ //# sourceMappingURL=Country.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Country.js","sourceRoot":"","sources":["../../src/enums/Country.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;;;AAEH;;;;GAIG;AACH,IAAY,OAoCX;AApCD,WAAY,OAAO;IACf,yBAAc,CAAA;IACd,yBAAc,CAAA;IACd,yBAAc,CAAA;IACd,wBAAa,CAAA;IACb,+BAAoB,CAAA;IACpB,yBAAc,CAAA;IACd,yBAAc,CAAA;IACd,yBAAc,CAAA;IACd,wBAAa,CAAA;IACb,wBAAa,CAAA;IACb,uBAAY,CAAA;IACZ,wBAAa,CAAA;IACb,wBAAa,CAAA;IACb,0BAAe,CAAA;IACf,2BAAgB,CAAA;IAChB,0BAAe,CAAA;IACf,0BAAe,CAAA;IACf,6BAAkB,CAAA;IAClB,wBAAa,CAAA;IACb,yBAAc,CAAA;IACd,8BAAmB,CAAA;IACnB,uBAAY,CAAA;IACZ,4BAAiB,CAAA;IACjB,yBAAc,CAAA;IACd,wBAAa,CAAA;IACb,2BAAgB,CAAA;IAChB,wBAAa,CAAA;IACb,2BAAgB,CAAA;IAChB,uBAAY,CAAA;IACZ,qBAAU,CAAA;IACV,wBAAa,CAAA;IACb,uBAAY,CAAA;IACZ,yBAAc,CAAA;IACd,yBAAc,CAAA;IACd,wBAAa,CAAA;AACjB,CAAC,EApCW,OAAO,uBAAP,OAAO,QAoClB"}
@@ -0,0 +1,36 @@
1
+ /**
2
+ * MIT License
3
+ *
4
+ * Copyright (c) 2019 Kasun Vithanage
5
+ *
6
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ * of this software and associated documentation files (the "Software"), to deal
8
+ * in the Software without restriction, including without limitation the rights
9
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ * copies of the Software, and to permit persons to whom the Software is
11
+ * furnished to do so, subject to the following conditions:
12
+ *
13
+ * The above copyright notice and this permission notice shall be included in all
14
+ * copies or substantial portions of the Software.
15
+ *
16
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ * SOFTWARE.
23
+ *
24
+ */
25
+ /**
26
+ * Currency Type
27
+ *
28
+ * @enum {string}
29
+ */
30
+ export declare enum Currency {
31
+ PLN = "PLN",
32
+ EUR = "EUR",
33
+ GBP = "GPB",
34
+ CZK = "CZK"
35
+ }
36
+ //# sourceMappingURL=Currency.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Currency.d.ts","sourceRoot":"","sources":["../../src/enums/Currency.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH;;;;GAIG;AACH,oBAAY,QAAQ;IAChB,GAAG,QAAQ;IACX,GAAG,QAAQ;IACX,GAAG,QAAQ;IACX,GAAG,QAAQ;CACd"}
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ /**
3
+ * MIT License
4
+ *
5
+ * Copyright (c) 2019 Kasun Vithanage
6
+ *
7
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
8
+ * of this software and associated documentation files (the "Software"), to deal
9
+ * in the Software without restriction, including without limitation the rights
10
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
+ * copies of the Software, and to permit persons to whom the Software is
12
+ * furnished to do so, subject to the following conditions:
13
+ *
14
+ * The above copyright notice and this permission notice shall be included in all
15
+ * copies or substantial portions of the Software.
16
+ *
17
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23
+ * SOFTWARE.
24
+ *
25
+ */
26
+ Object.defineProperty(exports, "__esModule", { value: true });
27
+ exports.Currency = void 0;
28
+ /**
29
+ * Currency Type
30
+ *
31
+ * @enum {string}
32
+ */
33
+ var Currency;
34
+ (function (Currency) {
35
+ Currency["PLN"] = "PLN";
36
+ Currency["EUR"] = "EUR";
37
+ Currency["GBP"] = "GPB";
38
+ Currency["CZK"] = "CZK";
39
+ })(Currency || (exports.Currency = Currency = {}));
40
+ //# sourceMappingURL=Currency.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Currency.js","sourceRoot":"","sources":["../../src/enums/Currency.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;;;AAEH;;;;GAIG;AACH,IAAY,QAKX;AALD,WAAY,QAAQ;IAChB,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;AACf,CAAC,EALW,QAAQ,wBAAR,QAAQ,QAKnB"}