@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.
- package/.yarn/install-state.gz +0 -0
- package/.yarnrc.yml +1 -0
- package/LICENSE +21 -0
- package/README.md +330 -0
- package/dist/blik/Alias.d.ts +80 -0
- package/dist/blik/Alias.d.ts.map +1 -0
- package/dist/blik/Alias.js +3 -0
- package/dist/blik/Alias.js.map +1 -0
- package/dist/blik/ChargeBlik.d.ts +151 -0
- package/dist/blik/ChargeBlik.d.ts.map +1 -0
- package/dist/blik/ChargeBlik.js +4 -0
- package/dist/blik/ChargeBlik.js.map +1 -0
- package/dist/blik/RecurringParams.d.ts +37 -0
- package/dist/blik/RecurringParams.d.ts.map +1 -0
- package/dist/blik/RecurringParams.js +3 -0
- package/dist/blik/RecurringParams.js.map +1 -0
- package/dist/blik/index.d.ts +4 -0
- package/dist/blik/index.d.ts.map +1 -0
- package/dist/blik/index.js +20 -0
- package/dist/blik/index.js.map +1 -0
- package/dist/cards/CardInfo.d.ts +45 -0
- package/dist/cards/CardInfo.d.ts.map +1 -0
- package/dist/cards/CardInfo.js +3 -0
- package/dist/cards/CardInfo.js.map +1 -0
- package/dist/cards/CardNotification.d.ts +178 -0
- package/dist/cards/CardNotification.d.ts.map +1 -0
- package/dist/cards/CardNotification.js +3 -0
- package/dist/cards/CardNotification.js.map +1 -0
- package/dist/cards/ChargeCard.d.ts +81 -0
- package/dist/cards/ChargeCard.d.ts.map +1 -0
- package/dist/cards/ChargeCard.js +3 -0
- package/dist/cards/ChargeCard.js.map +1 -0
- package/dist/cards/index.d.ts +4 -0
- package/dist/cards/index.d.ts.map +1 -0
- package/dist/cards/index.js +20 -0
- package/dist/cards/index.js.map +1 -0
- package/dist/enums/Channel.d.ts +18 -0
- package/dist/enums/Channel.d.ts.map +1 -0
- package/dist/enums/Channel.js +22 -0
- package/dist/enums/Channel.js.map +1 -0
- package/dist/enums/Country.d.ts +67 -0
- package/dist/enums/Country.d.ts.map +1 -0
- package/dist/enums/Country.js +71 -0
- package/dist/enums/Country.js.map +1 -0
- package/dist/enums/Currency.d.ts +36 -0
- package/dist/enums/Currency.d.ts.map +1 -0
- package/dist/enums/Currency.js +40 -0
- package/dist/enums/Currency.js.map +1 -0
- package/dist/enums/Encoding.d.ts +35 -0
- package/dist/enums/Encoding.d.ts.map +1 -0
- package/dist/enums/Encoding.js +39 -0
- package/dist/enums/Encoding.js.map +1 -0
- package/dist/enums/Language.d.ts +37 -0
- package/dist/enums/Language.d.ts.map +1 -0
- package/dist/enums/Language.js +41 -0
- package/dist/enums/Language.js.map +1 -0
- package/dist/enums/ShippingType.d.ts +13 -0
- package/dist/enums/ShippingType.d.ts.map +1 -0
- package/dist/enums/ShippingType.js +17 -0
- package/dist/enums/ShippingType.js.map +1 -0
- package/dist/enums/index.d.ts +7 -0
- package/dist/enums/index.d.ts.map +1 -0
- package/dist/enums/index.js +23 -0
- package/dist/enums/index.js.map +1 -0
- package/dist/errors/P24Error.d.ts +38 -0
- package/dist/errors/P24Error.d.ts.map +1 -0
- package/dist/errors/P24Error.js +49 -0
- package/dist/errors/P24Error.js.map +1 -0
- package/dist/errors/index.d.ts +2 -0
- package/dist/errors/index.d.ts.map +1 -0
- package/dist/errors/index.js +18 -0
- package/dist/errors/index.js.map +1 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +27 -0
- package/dist/index.js.map +1 -0
- package/dist/orders/Additional.d.ts +17 -0
- package/dist/orders/Additional.d.ts.map +1 -0
- package/dist/orders/Additional.js +3 -0
- package/dist/orders/Additional.js.map +1 -0
- package/dist/orders/CartItem.d.ts +58 -0
- package/dist/orders/CartItem.d.ts.map +1 -0
- package/dist/orders/CartItem.js +3 -0
- package/dist/orders/CartItem.js.map +1 -0
- package/dist/orders/OfflineTransaction.d.ts +51 -0
- package/dist/orders/OfflineTransaction.d.ts.map +1 -0
- package/dist/orders/OfflineTransaction.js +3 -0
- package/dist/orders/OfflineTransaction.js.map +1 -0
- package/dist/orders/Order.d.ts +211 -0
- package/dist/orders/Order.d.ts.map +1 -0
- package/dist/orders/Order.js +3 -0
- package/dist/orders/Order.js.map +1 -0
- package/dist/orders/OrderCreatedData.d.ts +16 -0
- package/dist/orders/OrderCreatedData.d.ts.map +1 -0
- package/dist/orders/OrderCreatedData.js +3 -0
- package/dist/orders/OrderCreatedData.js.map +1 -0
- package/dist/orders/Shipping.d.ts +39 -0
- package/dist/orders/Shipping.d.ts.map +1 -0
- package/dist/orders/Shipping.js +3 -0
- package/dist/orders/Shipping.js.map +1 -0
- package/dist/orders/SplitPayment.d.ts +54 -0
- package/dist/orders/SplitPayment.d.ts.map +1 -0
- package/dist/orders/SplitPayment.js +3 -0
- package/dist/orders/SplitPayment.js.map +1 -0
- package/dist/orders/Transaction.d.ts +23 -0
- package/dist/orders/Transaction.d.ts.map +1 -0
- package/dist/orders/Transaction.js +3 -0
- package/dist/orders/Transaction.js.map +1 -0
- package/dist/orders/TransactionDetails.d.ts +135 -0
- package/dist/orders/TransactionDetails.d.ts.map +1 -0
- package/dist/orders/TransactionDetails.js +3 -0
- package/dist/orders/TransactionDetails.js.map +1 -0
- package/dist/orders/index.d.ts +10 -0
- package/dist/orders/index.d.ts.map +1 -0
- package/dist/orders/index.js +26 -0
- package/dist/orders/index.js.map +1 -0
- package/dist/p24/BaseParameters.d.ts +46 -0
- package/dist/p24/BaseParameters.d.ts.map +1 -0
- package/dist/p24/BaseParameters.js +27 -0
- package/dist/p24/BaseParameters.js.map +1 -0
- package/dist/p24/P24.d.ts +241 -0
- package/dist/p24/P24.d.ts.map +1 -0
- package/dist/p24/P24.js +484 -0
- package/dist/p24/P24.js.map +1 -0
- package/dist/p24/P24Options.d.ts +16 -0
- package/dist/p24/P24Options.d.ts.map +1 -0
- package/dist/p24/P24Options.js +3 -0
- package/dist/p24/P24Options.js.map +1 -0
- package/dist/p24/endpoints.d.ts +13 -0
- package/dist/p24/endpoints.d.ts.map +1 -0
- package/dist/p24/endpoints.js +16 -0
- package/dist/p24/endpoints.js.map +1 -0
- package/dist/p24/index.d.ts +6 -0
- package/dist/p24/index.d.ts.map +1 -0
- package/dist/p24/index.js +22 -0
- package/dist/p24/index.js.map +1 -0
- package/dist/p24/ips.d.ts +2 -0
- package/dist/p24/ips.d.ts.map +1 -0
- package/dist/p24/ips.js +11 -0
- package/dist/p24/ips.js.map +1 -0
- package/dist/payment/PaymentMethod.d.ts +76 -0
- package/dist/payment/PaymentMethod.d.ts.map +1 -0
- package/dist/payment/PaymentMethod.js +3 -0
- package/dist/payment/PaymentMethod.js.map +1 -0
- package/dist/payment/index.d.ts +2 -0
- package/dist/payment/index.d.ts.map +1 -0
- package/dist/payment/index.js +18 -0
- package/dist/payment/index.js.map +1 -0
- package/dist/refund/Refund.d.ts +37 -0
- package/dist/refund/Refund.d.ts.map +1 -0
- package/dist/refund/Refund.js +3 -0
- package/dist/refund/Refund.js.map +1 -0
- package/dist/refund/RefundRequest.d.ts +38 -0
- package/dist/refund/RefundRequest.d.ts.map +1 -0
- package/dist/refund/RefundRequest.js +3 -0
- package/dist/refund/RefundRequest.js.map +1 -0
- package/dist/refund/RefundResult.d.ts +51 -0
- package/dist/refund/RefundResult.d.ts.map +1 -0
- package/dist/refund/RefundResult.js +3 -0
- package/dist/refund/RefundResult.js.map +1 -0
- package/dist/refund/TransactionWithRefunds.d.ts +101 -0
- package/dist/refund/TransactionWithRefunds.d.ts.map +1 -0
- package/dist/refund/TransactionWithRefunds.js +3 -0
- package/dist/refund/TransactionWithRefunds.js.map +1 -0
- package/dist/refund/index.d.ts +5 -0
- package/dist/refund/index.d.ts.map +1 -0
- package/dist/refund/index.js +21 -0
- package/dist/refund/index.js.map +1 -0
- package/dist/responses/ErrorResponse.d.ts +17 -0
- package/dist/responses/ErrorResponse.d.ts.map +1 -0
- package/dist/responses/ErrorResponse.js +3 -0
- package/dist/responses/ErrorResponse.js.map +1 -0
- package/dist/responses/SuccessResponse.d.ts +17 -0
- package/dist/responses/SuccessResponse.d.ts.map +1 -0
- package/dist/responses/SuccessResponse.js +3 -0
- package/dist/responses/SuccessResponse.js.map +1 -0
- package/dist/responses/index.d.ts +3 -0
- package/dist/responses/index.d.ts.map +1 -0
- package/dist/responses/index.js +19 -0
- package/dist/responses/index.js.map +1 -0
- package/dist/utils/hash.d.ts +2 -0
- package/dist/utils/hash.d.ts.map +1 -0
- package/dist/utils/hash.js +14 -0
- package/dist/utils/hash.js.map +1 -0
- package/dist/verify/NotificationRequest.d.ts +82 -0
- package/dist/verify/NotificationRequest.d.ts.map +1 -0
- package/dist/verify/NotificationRequest.js +3 -0
- package/dist/verify/NotificationRequest.js.map +1 -0
- package/dist/verify/Verification.d.ts +38 -0
- package/dist/verify/Verification.d.ts.map +1 -0
- package/dist/verify/Verification.js +3 -0
- package/dist/verify/Verification.js.map +1 -0
- package/dist/verify/VerificationData.d.ts +16 -0
- package/dist/verify/VerificationData.d.ts.map +1 -0
- package/dist/verify/VerificationData.js +3 -0
- package/dist/verify/VerificationData.js.map +1 -0
- package/dist/verify/index.d.ts +4 -0
- package/dist/verify/index.d.ts.map +1 -0
- package/dist/verify/index.js +20 -0
- package/dist/verify/index.js.map +1 -0
- 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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
1
|
+
{"version":3,"file":"ChargeCard.js","sourceRoot":"","sources":["../../src/cards/ChargeCard.ts"],"names":[],"mappings":""}
|
|
@@ -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"}
|