@enfuce/nextgen-sdk 0.0.2 → 0.0.4

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 (251) hide show
  1. package/dist/authorisation-control/api.d.ts +0 -302
  2. package/dist/authorisation-control/api.js +10 -28
  3. package/dist/authorisation-control/base.d.ts +0 -24
  4. package/dist/authorisation-control/base.js +0 -19
  5. package/dist/authorisation-control/common.d.ts +4 -35
  6. package/dist/authorisation-control/common.js +16 -38
  7. package/dist/authorisation-control/configuration.d.ts +24 -17
  8. package/dist/authorisation-control/configuration.js +3 -3
  9. package/dist/card/api.d.ts +41 -740
  10. package/dist/card/api.js +38 -105
  11. package/dist/card/base.d.ts +0 -24
  12. package/dist/card/base.js +0 -19
  13. package/dist/card/common.d.ts +4 -35
  14. package/dist/card/common.js +16 -38
  15. package/dist/card/configuration.d.ts +24 -17
  16. package/dist/card/configuration.js +3 -3
  17. package/dist/cardholder/api.d.ts +959 -686
  18. package/dist/cardholder/api.js +783 -73
  19. package/dist/cardholder/base.d.ts +0 -24
  20. package/dist/cardholder/base.js +0 -19
  21. package/dist/cardholder/common.d.ts +4 -35
  22. package/dist/cardholder/common.js +16 -38
  23. package/dist/cardholder/configuration.d.ts +24 -17
  24. package/dist/cardholder/configuration.js +3 -3
  25. package/dist/cards/api.d.ts +0 -7
  26. package/dist/cards/api.js +2 -9
  27. package/dist/cards/base.d.ts +0 -24
  28. package/dist/cards/base.js +0 -19
  29. package/dist/cards/common.d.ts +4 -35
  30. package/dist/cards/common.js +16 -38
  31. package/dist/cards/configuration.d.ts +24 -17
  32. package/dist/cards/configuration.js +3 -3
  33. package/dist/clearing-file-copy/api.d.ts +0 -497
  34. package/dist/clearing-file-copy/api.js +12 -26
  35. package/dist/clearing-file-copy/base.d.ts +0 -24
  36. package/dist/clearing-file-copy/base.js +0 -19
  37. package/dist/clearing-file-copy/common.d.ts +4 -35
  38. package/dist/clearing-file-copy/common.js +16 -38
  39. package/dist/clearing-file-copy/configuration.d.ts +24 -17
  40. package/dist/clearing-file-copy/configuration.js +3 -3
  41. package/dist/esm/authorisation-control/api.d.ts +0 -302
  42. package/dist/esm/authorisation-control/api.js +10 -28
  43. package/dist/esm/authorisation-control/base.d.ts +0 -24
  44. package/dist/esm/authorisation-control/base.js +0 -19
  45. package/dist/esm/authorisation-control/common.d.ts +4 -35
  46. package/dist/esm/authorisation-control/common.js +14 -37
  47. package/dist/esm/authorisation-control/configuration.d.ts +24 -17
  48. package/dist/esm/authorisation-control/configuration.js +3 -3
  49. package/dist/esm/card/api.d.ts +41 -740
  50. package/dist/esm/card/api.js +38 -105
  51. package/dist/esm/card/base.d.ts +0 -24
  52. package/dist/esm/card/base.js +0 -19
  53. package/dist/esm/card/common.d.ts +4 -35
  54. package/dist/esm/card/common.js +14 -37
  55. package/dist/esm/card/configuration.d.ts +24 -17
  56. package/dist/esm/card/configuration.js +3 -3
  57. package/dist/esm/cardholder/api.d.ts +959 -686
  58. package/dist/esm/cardholder/api.js +782 -72
  59. package/dist/esm/cardholder/base.d.ts +0 -24
  60. package/dist/esm/cardholder/base.js +0 -19
  61. package/dist/esm/cardholder/common.d.ts +4 -35
  62. package/dist/esm/cardholder/common.js +14 -37
  63. package/dist/esm/cardholder/configuration.d.ts +24 -17
  64. package/dist/esm/cardholder/configuration.js +3 -3
  65. package/dist/esm/cards/api.d.ts +0 -7
  66. package/dist/esm/cards/api.js +2 -9
  67. package/dist/esm/cards/base.d.ts +0 -24
  68. package/dist/esm/cards/base.js +0 -19
  69. package/dist/esm/cards/common.d.ts +4 -35
  70. package/dist/esm/cards/common.js +14 -37
  71. package/dist/esm/cards/configuration.d.ts +24 -17
  72. package/dist/esm/cards/configuration.js +3 -3
  73. package/dist/esm/clearing-file-copy/api.d.ts +0 -497
  74. package/dist/esm/clearing-file-copy/api.js +12 -26
  75. package/dist/esm/clearing-file-copy/base.d.ts +0 -24
  76. package/dist/esm/clearing-file-copy/base.js +0 -19
  77. package/dist/esm/clearing-file-copy/common.d.ts +4 -35
  78. package/dist/esm/clearing-file-copy/common.js +14 -37
  79. package/dist/esm/clearing-file-copy/configuration.d.ts +24 -17
  80. package/dist/esm/clearing-file-copy/configuration.js +3 -3
  81. package/dist/esm/exchange-rate/api.d.ts +409 -0
  82. package/dist/esm/exchange-rate/api.js +403 -0
  83. package/dist/esm/exchange-rate/base.d.ts +42 -0
  84. package/dist/esm/exchange-rate/base.js +41 -0
  85. package/dist/esm/exchange-rate/common.d.ts +34 -0
  86. package/dist/esm/exchange-rate/common.js +126 -0
  87. package/dist/esm/exchange-rate/configuration.d.ts +98 -0
  88. package/dist/esm/exchange-rate/configuration.js +40 -0
  89. package/dist/esm/exchange-rate/index.d.ts +13 -0
  90. package/dist/esm/exchange-rate/index.js +15 -0
  91. package/dist/esm/index.d.ts +1 -0
  92. package/dist/esm/index.js +1 -0
  93. package/dist/esm/issuer-events/api.d.ts +639 -601
  94. package/dist/esm/issuer-events/api.js +520 -54
  95. package/dist/esm/issuer-events/base.d.ts +0 -24
  96. package/dist/esm/issuer-events/base.js +0 -19
  97. package/dist/esm/issuer-events/common.d.ts +4 -35
  98. package/dist/esm/issuer-events/common.js +14 -37
  99. package/dist/esm/issuer-events/configuration.d.ts +24 -17
  100. package/dist/esm/issuer-events/configuration.js +3 -3
  101. package/dist/esm/pin/api.d.ts +0 -76
  102. package/dist/esm/pin/api.js +3 -15
  103. package/dist/esm/pin/base.d.ts +0 -24
  104. package/dist/esm/pin/base.js +0 -19
  105. package/dist/esm/pin/common.d.ts +4 -35
  106. package/dist/esm/pin/common.js +14 -37
  107. package/dist/esm/pin/configuration.d.ts +24 -17
  108. package/dist/esm/pin/configuration.js +3 -3
  109. package/dist/esm/threeds/api.d.ts +0 -18
  110. package/dist/esm/threeds/api.js +1 -8
  111. package/dist/esm/threeds/base.d.ts +0 -24
  112. package/dist/esm/threeds/base.js +0 -19
  113. package/dist/esm/threeds/common.d.ts +4 -35
  114. package/dist/esm/threeds/common.js +14 -37
  115. package/dist/esm/threeds/configuration.d.ts +24 -17
  116. package/dist/esm/threeds/configuration.js +3 -3
  117. package/dist/esm/threeds-oob/api.d.ts +0 -90
  118. package/dist/esm/threeds-oob/api.js +2 -9
  119. package/dist/esm/threeds-oob/base.d.ts +0 -24
  120. package/dist/esm/threeds-oob/base.js +0 -19
  121. package/dist/esm/threeds-oob/common.d.ts +4 -35
  122. package/dist/esm/threeds-oob/common.js +14 -37
  123. package/dist/esm/threeds-oob/configuration.d.ts +24 -17
  124. package/dist/esm/threeds-oob/configuration.js +3 -3
  125. package/dist/esm/transaction-event/api.d.ts +0 -452
  126. package/dist/esm/transaction-event/api.js +11 -27
  127. package/dist/esm/transaction-event/base.d.ts +0 -24
  128. package/dist/esm/transaction-event/base.js +0 -19
  129. package/dist/esm/transaction-event/common.d.ts +4 -35
  130. package/dist/esm/transaction-event/common.js +14 -37
  131. package/dist/esm/transaction-event/configuration.d.ts +24 -17
  132. package/dist/esm/transaction-event/configuration.js +3 -3
  133. package/dist/esm/wallet/api.d.ts +0 -342
  134. package/dist/esm/wallet/api.js +29 -83
  135. package/dist/esm/wallet/base.d.ts +0 -24
  136. package/dist/esm/wallet/base.js +0 -19
  137. package/dist/esm/wallet/common.d.ts +4 -35
  138. package/dist/esm/wallet/common.js +14 -37
  139. package/dist/esm/wallet/configuration.d.ts +24 -17
  140. package/dist/esm/wallet/configuration.js +3 -3
  141. package/dist/exchange-rate/api.d.ts +409 -0
  142. package/dist/exchange-rate/api.js +418 -0
  143. package/dist/exchange-rate/base.d.ts +42 -0
  144. package/dist/exchange-rate/base.js +46 -0
  145. package/dist/exchange-rate/common.d.ts +34 -0
  146. package/dist/exchange-rate/common.js +139 -0
  147. package/dist/exchange-rate/configuration.d.ts +98 -0
  148. package/dist/exchange-rate/configuration.js +44 -0
  149. package/dist/exchange-rate/index.d.ts +13 -0
  150. package/dist/exchange-rate/index.js +31 -0
  151. package/dist/index.d.ts +1 -0
  152. package/dist/index.js +2 -1
  153. package/dist/issuer-events/api.d.ts +639 -601
  154. package/dist/issuer-events/api.js +521 -55
  155. package/dist/issuer-events/base.d.ts +0 -24
  156. package/dist/issuer-events/base.js +0 -19
  157. package/dist/issuer-events/common.d.ts +4 -35
  158. package/dist/issuer-events/common.js +16 -38
  159. package/dist/issuer-events/configuration.d.ts +24 -17
  160. package/dist/issuer-events/configuration.js +3 -3
  161. package/dist/pin/api.d.ts +0 -76
  162. package/dist/pin/api.js +3 -15
  163. package/dist/pin/base.d.ts +0 -24
  164. package/dist/pin/base.js +0 -19
  165. package/dist/pin/common.d.ts +4 -35
  166. package/dist/pin/common.js +16 -38
  167. package/dist/pin/configuration.d.ts +24 -17
  168. package/dist/pin/configuration.js +3 -3
  169. package/dist/threeds/api.d.ts +0 -18
  170. package/dist/threeds/api.js +1 -8
  171. package/dist/threeds/base.d.ts +0 -24
  172. package/dist/threeds/base.js +0 -19
  173. package/dist/threeds/common.d.ts +4 -35
  174. package/dist/threeds/common.js +16 -38
  175. package/dist/threeds/configuration.d.ts +24 -17
  176. package/dist/threeds/configuration.js +3 -3
  177. package/dist/threeds-oob/api.d.ts +0 -90
  178. package/dist/threeds-oob/api.js +2 -9
  179. package/dist/threeds-oob/base.d.ts +0 -24
  180. package/dist/threeds-oob/base.js +0 -19
  181. package/dist/threeds-oob/common.d.ts +4 -35
  182. package/dist/threeds-oob/common.js +16 -38
  183. package/dist/threeds-oob/configuration.d.ts +24 -17
  184. package/dist/threeds-oob/configuration.js +3 -3
  185. package/dist/transaction-event/api.d.ts +0 -452
  186. package/dist/transaction-event/api.js +11 -27
  187. package/dist/transaction-event/base.d.ts +0 -24
  188. package/dist/transaction-event/base.js +0 -19
  189. package/dist/transaction-event/common.d.ts +4 -35
  190. package/dist/transaction-event/common.js +16 -38
  191. package/dist/transaction-event/configuration.d.ts +24 -17
  192. package/dist/transaction-event/configuration.js +3 -3
  193. package/dist/wallet/api.d.ts +0 -342
  194. package/dist/wallet/api.js +29 -83
  195. package/dist/wallet/base.d.ts +0 -24
  196. package/dist/wallet/base.js +0 -19
  197. package/dist/wallet/common.d.ts +4 -35
  198. package/dist/wallet/common.js +16 -38
  199. package/dist/wallet/configuration.d.ts +24 -17
  200. package/dist/wallet/configuration.js +3 -3
  201. package/package.json +2 -2
  202. package/src/authorisation-control/api.ts +11 -314
  203. package/src/authorisation-control/base.ts +0 -24
  204. package/src/authorisation-control/common.ts +15 -38
  205. package/src/authorisation-control/configuration.ts +26 -20
  206. package/src/card/api.ts +80 -786
  207. package/src/card/base.ts +0 -24
  208. package/src/card/common.ts +15 -38
  209. package/src/card/configuration.ts +26 -20
  210. package/src/cardholder/api.ts +987 -714
  211. package/src/cardholder/base.ts +0 -24
  212. package/src/cardholder/common.ts +15 -38
  213. package/src/cardholder/configuration.ts +26 -20
  214. package/src/cards/api.ts +3 -11
  215. package/src/cards/base.ts +0 -24
  216. package/src/cards/common.ts +15 -38
  217. package/src/cards/configuration.ts +26 -20
  218. package/src/clearing-file-copy/api.ts +13 -510
  219. package/src/clearing-file-copy/base.ts +0 -24
  220. package/src/clearing-file-copy/common.ts +15 -38
  221. package/src/clearing-file-copy/configuration.ts +26 -20
  222. package/src/exchange-rate/api.ts +615 -0
  223. package/src/exchange-rate/base.ts +62 -0
  224. package/src/exchange-rate/common.ts +127 -0
  225. package/src/exchange-rate/configuration.ts +121 -0
  226. package/src/exchange-rate/index.ts +18 -0
  227. package/src/index.ts +1 -0
  228. package/src/issuer-events/api.ts +661 -628
  229. package/src/issuer-events/base.ts +0 -24
  230. package/src/issuer-events/common.ts +15 -38
  231. package/src/issuer-events/configuration.ts +26 -20
  232. package/src/pin/api.ts +4 -83
  233. package/src/pin/base.ts +0 -24
  234. package/src/pin/common.ts +15 -38
  235. package/src/pin/configuration.ts +26 -20
  236. package/src/threeds/api.ts +2 -22
  237. package/src/threeds/base.ts +0 -24
  238. package/src/threeds/common.ts +15 -38
  239. package/src/threeds/configuration.ts +26 -20
  240. package/src/threeds-oob/api.ts +3 -95
  241. package/src/threeds-oob/base.ts +0 -24
  242. package/src/threeds-oob/common.ts +15 -38
  243. package/src/threeds-oob/configuration.ts +26 -20
  244. package/src/transaction-event/api.ts +12 -464
  245. package/src/transaction-event/base.ts +0 -24
  246. package/src/transaction-event/common.ts +15 -38
  247. package/src/transaction-event/configuration.ts +26 -20
  248. package/src/wallet/api.ts +30 -377
  249. package/src/wallet/base.ts +0 -24
  250. package/src/wallet/common.ts +15 -38
  251. package/src/wallet/configuration.ts +26 -20
@@ -13,218 +13,100 @@ import type { Configuration } from './configuration';
13
13
  import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
14
  import type { RequestArgs } from './base';
15
15
  import { BaseAPI } from './base';
16
- /**
17
- *
18
- * @export
19
- * @interface Account
20
- */
21
16
  export interface Account {
22
17
  /**
23
18
  * Available amount before this transaction has been processed.
24
- * @type {Money}
25
- * @memberof Account
26
19
  */
27
20
  'availableAmount': Money;
28
21
  }
29
- /**
30
- *
31
- * @export
32
- * @interface ApprovedTransaction
33
- */
34
22
  export interface ApprovedTransaction {
35
23
  /**
36
24
  * Enfuce generated code/number (6-digits)— returned to the merchant when authorisation is approved. In case of scheme advices, this is generated and transmitted by the scheme.
37
- * @type {string}
38
- * @memberof ApprovedTransaction
39
25
  */
40
26
  'authCode'?: string;
41
27
  /**
42
28
  * Number of days the authorisation is valid (applicable when merchants requests for extended authorisation period, longer than the default 7 days).
43
- * @type {number}
44
- * @memberof ApprovedTransaction
45
29
  */
46
30
  'authValidity'?: number;
47
31
  /**
48
32
  * Transaction amount in the currency of the ledger account (associated with the card). If any issuer transaction fee is applied (see the issuerTransactionFees field), the billingAmount also includes those fees.
49
- * @type {Money}
50
- * @memberof ApprovedTransaction
51
33
  */
52
34
  'billingAmount'?: Money;
53
35
  /**
54
36
  * The transaction amount in the local currency of the acquirer or the merchant, where the transaction occurred.
55
- * @type {Money}
56
- * @memberof ApprovedTransaction
57
37
  */
58
38
  'transactionAmount'?: Money;
59
39
  /**
60
40
  * The amount of funds transferred between the acquirer and the issuer, equal to the `transactionAmount`, in the settlement currency.
61
- * @type {Money}
62
- * @memberof ApprovedTransaction
63
41
  */
64
42
  'settlementAmount'?: Money;
65
43
  /**
66
44
  * Fee charged (for example, by the acquirer) for transaction activity.
67
- * @type {Money}
68
- * @memberof ApprovedTransaction
69
45
  */
70
46
  'acquirerTransactionFeeAmount'?: Money;
71
- /**
72
- *
73
- * @type {Array<TransactionFee>}
74
- * @memberof ApprovedTransaction
75
- */
76
47
  'issuerTransactionFees'?: Array<TransactionFee>;
77
- /**
78
- *
79
- * @type {Array<CardholderVerificationMethod>}
80
- * @memberof ApprovedTransaction
81
- */
82
48
  'cardholderVerificationMethods'?: Array<CardholderVerificationMethod>;
83
49
  /**
84
50
  * Merchant/acquirer generated transaction reference number.
85
- * @type {string}
86
- * @memberof ApprovedTransaction
87
51
  */
88
52
  'retrievalReferenceNumber'?: string;
89
- /**
90
- *
91
- * @type {CardEntryMode}
92
- * @memberof ApprovedTransaction
93
- */
94
53
  'cardEntryMode'?: CardEntryMode;
95
54
  /**
96
55
  * Indicates whether the cardholder is physically present during transaction.
97
- * @type {boolean}
98
- * @memberof ApprovedTransaction
99
56
  */
100
57
  'cardholderPresent'?: boolean;
101
58
  /**
102
59
  * Indicates whether the card is present at the point of service.
103
- * @type {boolean}
104
- * @memberof ApprovedTransaction
105
60
  */
106
61
  'cardPresent'?: boolean;
107
62
  /**
108
63
  * Indicates whether the transaction is a recurring payment or merchant initiated. This implies whether the cardholder has approved the merchant initiated transaction.
109
- * @type {boolean}
110
- * @memberof ApprovedTransaction
111
64
  */
112
65
  'merchantInitiated'?: boolean;
113
66
  /**
114
67
  * Date and time in the time zone where the transaction occurred.
115
- * @type {string}
116
- * @memberof ApprovedTransaction
117
68
  */
118
69
  'transactionDateTime'?: string;
119
70
  /**
120
71
  * This value is present only for recurring transaction, and it\'s value is first original authorisation request in the chain.
121
- * @type {string}
122
- * @memberof ApprovedTransaction
123
72
  */
124
73
  'originalTransactionId'?: string;
125
- /**
126
- *
127
- * @type {TransactionType}
128
- * @memberof ApprovedTransaction
129
- */
130
74
  'transactionType'?: TransactionType;
131
75
  /**
132
76
  * Amount approved at the current payment processing stage; the amount might be further reduced in the subsequent stages, when the Ledger performs additional validations. If any issuer transaction fee is applied (see the issuerTransactionFees field), the approvedAmount also includes those fees.
133
- * @type {Money}
134
- * @memberof ApprovedTransaction
135
77
  */
136
78
  'approvedAmount'?: Money;
137
79
  /**
138
80
  * Time when processed by Enfuce.
139
- * @type {string}
140
- * @memberof ApprovedTransaction
141
81
  */
142
82
  'processedDateTime'?: string;
143
83
  }
144
- /**
145
- *
146
- * @export
147
- * @interface AuthRequestBody
148
- */
149
84
  export interface AuthRequestBody {
150
85
  /**
151
86
  * Unique system generated ID assigned to each event in the payment processing workflow. For example, an ID assigned to the initial authorisation event.
152
- * @type {string}
153
- * @memberof AuthRequestBody
154
87
  */
155
88
  'id'?: string;
156
89
  /**
157
90
  * Enfuce generated unique ID assigned to each card transaction. Transaction events for the same card payment includes the same `transactionId`. For example, authorisation, incremental authorisation, and adjustment for the same transaction includes the same `transactionID`.
158
- * @type {string}
159
- * @memberof AuthRequestBody
160
91
  */
161
92
  'transactionId'?: string;
162
- /**
163
- *
164
- * @type {MessageCategoryAuthorization}
165
- * @memberof AuthRequestBody
166
- */
167
93
  'messageCategory'?: MessageCategoryAuthorization;
168
- /**
169
- *
170
- * @type {MessageFunctionAuthorization}
171
- * @memberof AuthRequestBody
172
- */
173
94
  'messageFunction'?: MessageFunctionAuthorization;
174
- /**
175
- *
176
- * @type {Token}
177
- * @memberof AuthRequestBody
178
- */
179
95
  'token'?: Token;
180
- /**
181
- *
182
- * @type {Card}
183
- * @memberof AuthRequestBody
184
- */
185
96
  'card': Card;
186
- /**
187
- *
188
- * @type {Merchant}
189
- * @memberof AuthRequestBody
190
- */
191
97
  'merchant': Merchant;
192
- /**
193
- *
194
- * @type {ApprovedTransaction}
195
- * @memberof AuthRequestBody
196
- */
197
98
  'transaction': ApprovedTransaction;
198
99
  }
199
- /**
200
- *
201
- * @export
202
- * @interface AuthResponseBody
203
- */
204
100
  export interface AuthResponseBody {
205
- /**
206
- *
207
- * @type {AuthResponseCode}
208
- * @memberof AuthResponseBody
209
- */
210
101
  'authResponseCode': AuthResponseCode;
211
- /**
212
- *
213
- * @type {Account}
214
- * @memberof AuthResponseBody
215
- */
216
102
  'account'?: Account;
217
103
  /**
218
104
  * Return when there is a partial approval. When the balance is less than the transaction amount, return the available amount that you authorise. Return this attribute only when in the request `merchant.partialApprovalCapable` is true (i.e. the merchant approves that a smaller amount than the full transaction amount is authorised), and `authResponseCode` should be `PARTIALLY_APPROVED`.
219
- * @type {Money}
220
- * @memberof AuthResponseBody
221
105
  */
222
106
  'partialApprovalAmount'?: Money;
223
107
  }
224
108
  /**
225
109
  * Indicates whether the authorisation request is approved or declined. Possible enums: * `APPROVED` - Approved * `PARTIALLY_APPROVED` - Approved for partial amount * `DO_NOT_HONOR` - Do not honor (**Note**: Card schemes recommend to use this only when other options do not apply) * `NOT_SUFFICIENT_FUNDS` - Inadequate funds * `NOT_PERMITTED` - Transaction not permitted to cardholder * `EXCEEDS_AMOUNT_LIMIT` - Exceeds approval amount limit * `RESTRICTED_CARD` - Restricted card (card invalid in region or country) * `EXCEEDS_WITHDRAWAL_FREQUENCY_LIMIT` - Exceeds withdrawal frequency limit * `SYSTEM_ERROR` - System malfunction
226
- * @export
227
- * @enum {string}
228
110
  */
229
111
  export declare const AuthResponseCode: {
230
112
  readonly Approved: "APPROVED";
@@ -238,83 +120,48 @@ export declare const AuthResponseCode: {
238
120
  readonly SystemError: "SYSTEM_ERROR";
239
121
  };
240
122
  export type AuthResponseCode = typeof AuthResponseCode[keyof typeof AuthResponseCode];
241
- /**
242
- *
243
- * @export
244
- * @interface AuthorizationMetadata
245
- */
246
123
  export interface AuthorizationMetadata {
247
124
  /**
248
125
  * Unique system generated ID assigned to each event in the payment processing workflow. For example, an ID assigned to the initial authorisation event.
249
- * @type {string}
250
- * @memberof AuthorizationMetadata
251
126
  */
252
127
  'id'?: string;
253
128
  /**
254
129
  * Enfuce generated unique ID assigned to each card transaction. Transaction events for the same card payment includes the same `transactionId`. For example, authorisation, incremental authorisation, and adjustment for the same transaction includes the same `transactionID`.
255
- * @type {string}
256
- * @memberof AuthorizationMetadata
257
130
  */
258
131
  'transactionId'?: string;
259
- /**
260
- *
261
- * @type {MessageCategoryAuthorization}
262
- * @memberof AuthorizationMetadata
263
- */
264
132
  'messageCategory'?: MessageCategoryAuthorization;
265
- /**
266
- *
267
- * @type {MessageFunctionAuthorization}
268
- * @memberof AuthorizationMetadata
269
- */
270
133
  'messageFunction'?: MessageFunctionAuthorization;
271
134
  }
272
135
  /**
273
136
  * Information about the card used for the payment.
274
- * @export
275
- * @interface Card
276
137
  */
277
138
  export interface Card {
278
139
  /**
279
140
  * Enfuce generated unique ID assigned to each card used — enables you to identify the card that you must authorise.
280
- * @type {string}
281
- * @memberof Card
282
141
  */
283
142
  'id'?: string;
284
143
  /**
285
144
  * Card expiration date as received in the scheme message.
286
- * @type {Expiration}
287
- * @memberof Card
288
145
  */
289
146
  'expirationDate'?: Expiration;
290
147
  /**
291
148
  * Card sequence number as received in the scheme message.
292
- * @type {number}
293
- * @memberof Card
294
149
  */
295
150
  'sequenceNumber'?: number;
296
151
  /**
297
152
  * Ledger provided account ID associated with the card.
298
- * @type {string}
299
- * @memberof Card
300
153
  */
301
154
  'accountId'?: string;
302
155
  /**
303
156
  * Unique ID of the cardholder associated with the card.
304
- * @type {string}
305
- * @memberof Card
306
157
  */
307
158
  'cardholderId'?: string;
308
159
  /**
309
160
  * Information about any parent card group associated with the card.
310
- * @type {Array<CardGroupsInner>}
311
- * @memberof Card
312
161
  */
313
162
  'groups'?: Array<CardGroupsInner>;
314
163
  /**
315
164
  * The type of card application used for the transaction.
316
- * @type {string}
317
- * @memberof Card
318
165
  */
319
166
  'applicationSelection'?: CardApplicationSelectionEnum;
320
167
  }
@@ -325,8 +172,6 @@ export declare const CardApplicationSelectionEnum: {
325
172
  export type CardApplicationSelectionEnum = typeof CardApplicationSelectionEnum[keyof typeof CardApplicationSelectionEnum];
326
173
  /**
327
174
  * Describes how the card credentials were captured.
328
- * @export
329
- * @enum {string}
330
175
  */
331
176
  export declare const CardEntryMode: {
332
177
  readonly Chip: "CHIP";
@@ -340,23 +185,14 @@ export declare const CardEntryMode: {
340
185
  readonly Unknown: "UNKNOWN";
341
186
  };
342
187
  export type CardEntryMode = typeof CardEntryMode[keyof typeof CardEntryMode];
343
- /**
344
- *
345
- * @export
346
- * @interface CardGroupsInner
347
- */
348
188
  export interface CardGroupsInner {
349
189
  /**
350
190
  * Unique ID assigned to the parent card group.
351
- * @type {string}
352
- * @memberof CardGroupsInner
353
191
  */
354
192
  'groupId': string;
355
193
  }
356
194
  /**
357
195
  * The method used for verifying the cardholder: - PIN_VERIFIED_BY_CARD: The card\'s PIN is verified. - PIN_VERIFIED_BY_ISSUER: The card\'s PIN is verified by issuer. - WALLET: The cardholder is verified by the digital wallet. - THREE_DS: The cardholder is 3DS authenticated. - BIOMETRIC: The cardholder is verified by biometrics data. - SIGNATURE: The cardholder\'s signature verified. - NO_VERIFICATION: No verification is performed.
358
- * @export
359
- * @enum {string}
360
196
  */
361
197
  export declare const CardholderVerificationMethod: {
362
198
  readonly PinVerifiedByCard: "PIN_VERIFIED_BY_CARD";
@@ -368,139 +204,83 @@ export declare const CardholderVerificationMethod: {
368
204
  readonly NoVerification: "NO_VERIFICATION";
369
205
  };
370
206
  export type CardholderVerificationMethod = typeof CardholderVerificationMethod[keyof typeof CardholderVerificationMethod];
371
- /**
372
- *
373
- * @export
374
- * @interface Expiration
375
- */
376
207
  export interface Expiration {
377
208
  /**
378
209
  * Expiration year in YYYY format.
379
- * @type {number}
380
- * @memberof Expiration
381
210
  */
382
211
  'year': number;
383
212
  /**
384
213
  * Expiration month in MM format.
385
- * @type {number}
386
- * @memberof Expiration
387
214
  */
388
215
  'month': number;
389
216
  }
390
- /**
391
- *
392
- * @export
393
- * @interface Merchant
394
- */
395
217
  export interface Merchant {
396
218
  /**
397
219
  * ID assigned code each card acceptor, i.e. a merchant or a bank.
398
- * @type {string}
399
- * @memberof Merchant
400
220
  */
401
221
  'id'?: string;
402
222
  /**
403
223
  * Merchant name as received from the card scheme. For ATMs, this can be a street address or a bank branch number.
404
- * @type {string}
405
- * @memberof Merchant
406
224
  */
407
225
  'name'?: string;
408
226
  /**
409
227
  * The city where the transaction/withdrawal has occurred or where the merchant is registered.
410
- * @type {string}
411
- * @memberof Merchant
412
228
  */
413
229
  'city'?: string;
414
230
  /**
415
231
  * The country where the transaction/withdrawal has occurred or where the merchant is registered.
416
- * @type {string}
417
- * @memberof Merchant
418
232
  */
419
233
  'country'?: string;
420
234
  /**
421
235
  * The merchant\'s postal code.
422
- * @type {string}
423
- * @memberof Merchant
424
236
  */
425
237
  'zipCode'?: string;
426
238
  /**
427
239
  * Contains the merchant\'s street address.
428
- * @type {string}
429
- * @memberof Merchant
430
240
  */
431
241
  'address'?: string;
432
- /**
433
- *
434
- * @type {MerchantCategory}
435
- * @memberof Merchant
436
- */
437
242
  'category'?: MerchantCategory;
438
243
  /**
439
244
  * Uniquely ID assigned to each terminal used by the merchant.
440
- * @type {string}
441
- * @memberof Merchant
442
245
  */
443
246
  'terminalId'?: string;
444
247
  /**
445
248
  * The sub-merchant ID is used when merchant ID is not adequate to identify the merchant. Used when a merchant uses a payment facilitator.
446
- * @type {string}
447
- * @memberof Merchant
448
249
  */
449
250
  'subMerchantId'?: string;
450
251
  /**
451
252
  * Indicates whether the merchant is capable of accepting partial approval of an amount: - TRUE: Specifies `TRUE` if the merchant accepts partial approval. - FALSE: Specifies `FALSE` if the merchant does not accept partial approval.
452
- * @type {boolean}
453
- * @memberof Merchant
454
253
  */
455
254
  'partialApprovalCapable'?: boolean;
456
255
  /**
457
256
  * Unique ID assigned to the financial institution acting as the merchant\'s acquirer.
458
- * @type {string}
459
- * @memberof Merchant
460
257
  */
461
258
  'acquirerId'?: string;
462
259
  /**
463
260
  * The country of the merchant\'s acquirer — mention the ISO-3166-1 alpha-3 country code.
464
- * @type {string}
465
- * @memberof Merchant
466
261
  */
467
262
  'acquirerCountry'?: string;
468
263
  /**
469
264
  * Data an acquirer supplies in an acquirer-originated message, might be required for the issuer to return to the acquirer in a subsequent message.
470
- * @type {string}
471
- * @memberof Merchant
472
265
  */
473
266
  'acquirerReferenceData'?: string;
474
267
  }
475
- /**
476
- *
477
- * @export
478
- * @interface MerchantCategory
479
- */
480
268
  export interface MerchantCategory {
481
269
  /**
482
270
  * Merchant category code as per the card scheme classification. Categorisation is done based on the type of business or service the merchant provides.
483
- * @type {string}
484
- * @memberof MerchantCategory
485
271
  */
486
272
  'code'?: string;
487
273
  /**
488
274
  * Description of the Merchant Category Code (MCC).
489
- * @type {string}
490
- * @memberof MerchantCategory
491
275
  */
492
276
  'description'?: string;
493
277
  /**
494
278
  * Merchant Category Code (MCC) group as received from the scheme.
495
- * @type {string}
496
- * @memberof MerchantCategory
497
279
  */
498
280
  'group'?: string;
499
281
  }
500
282
  /**
501
283
  * Message category sent in the authorisation control webhook. Possible enums: - INITIAL_AUTHORIZATION: Initial authorisation of the card payment. - INCREMENTAL_AUTHORIZATION: Additional authorisation for a previously authorised transaction. - BALANCE_INQUIRY: Enquiring about the current balance of the funding account from the external application. - PIN_MANAGEMENT: Request to change the card PIN.
502
- * @export
503
- * @enum {string}
504
284
  */
505
285
  export declare const MessageCategoryAuthorization: {
506
286
  readonly InitialAuthorization: "INITIAL_AUTHORIZATION";
@@ -511,8 +291,6 @@ export declare const MessageCategoryAuthorization: {
511
291
  export type MessageCategoryAuthorization = typeof MessageCategoryAuthorization[keyof typeof MessageCategoryAuthorization];
512
292
  /**
513
293
  * Identifies the message function of the authorisation request.
514
- * @export
515
- * @enum {string}
516
294
  */
517
295
  export declare const MessageFunctionAuthorization: {
518
296
  readonly Request: "REQUEST";
@@ -520,39 +298,21 @@ export declare const MessageFunctionAuthorization: {
520
298
  export type MessageFunctionAuthorization = typeof MessageFunctionAuthorization[keyof typeof MessageFunctionAuthorization];
521
299
  /**
522
300
  * Amount including currency.
523
- * @export
524
- * @interface Money
525
301
  */
526
302
  export interface Money {
527
- /**
528
- *
529
- * @type {number}
530
- * @memberof Money
531
- */
532
303
  'amount': number;
533
304
  /**
534
305
  * A valid ISO 4217 currency code
535
- * @type {string}
536
- * @memberof Money
537
306
  */
538
307
  'currency': string;
539
308
  }
540
309
  /**
541
310
  * Information about the token associated with the card.
542
- * @export
543
- * @interface Token
544
311
  */
545
312
  export interface Token {
546
- /**
547
- *
548
- * @type {string}
549
- * @memberof Token
550
- */
551
313
  'id'?: string;
552
314
  /**
553
315
  * Identifies the specific digital wallet.
554
- * @type {string}
555
- * @memberof Token
556
316
  */
557
317
  'walletIdentifier'?: TokenWalletIdentifierEnum;
558
318
  }
@@ -564,119 +324,66 @@ export declare const TokenWalletIdentifierEnum: {
564
324
  readonly RemoteCommercePrograms: "REMOTE_COMMERCE_PROGRAMS";
565
325
  };
566
326
  export type TokenWalletIdentifierEnum = typeof TokenWalletIdentifierEnum[keyof typeof TokenWalletIdentifierEnum];
567
- /**
568
- *
569
- * @export
570
- * @interface Transaction
571
- */
572
327
  export interface Transaction {
573
328
  /**
574
329
  * Enfuce generated code/number (6-digits)— returned to the merchant when authorisation is approved. In case of scheme advices, this is generated and transmitted by the scheme.
575
- * @type {string}
576
- * @memberof Transaction
577
330
  */
578
331
  'authCode'?: string;
579
332
  /**
580
333
  * Number of days the authorisation is valid (applicable when merchants requests for extended authorisation period, longer than the default 7 days).
581
- * @type {number}
582
- * @memberof Transaction
583
334
  */
584
335
  'authValidity'?: number;
585
336
  /**
586
337
  * Transaction amount in the currency of the ledger account (associated with the card). If any issuer transaction fee is applied (see the issuerTransactionFees field), the billingAmount also includes those fees.
587
- * @type {Money}
588
- * @memberof Transaction
589
338
  */
590
339
  'billingAmount'?: Money;
591
340
  /**
592
341
  * The transaction amount in the local currency of the acquirer or the merchant, where the transaction occurred.
593
- * @type {Money}
594
- * @memberof Transaction
595
342
  */
596
343
  'transactionAmount'?: Money;
597
344
  /**
598
345
  * The amount of funds transferred between the acquirer and the issuer, equal to the `transactionAmount`, in the settlement currency.
599
- * @type {Money}
600
- * @memberof Transaction
601
346
  */
602
347
  'settlementAmount'?: Money;
603
348
  /**
604
349
  * Fee charged (for example, by the acquirer) for transaction activity.
605
- * @type {Money}
606
- * @memberof Transaction
607
350
  */
608
351
  'acquirerTransactionFeeAmount'?: Money;
609
- /**
610
- *
611
- * @type {Array<TransactionFee>}
612
- * @memberof Transaction
613
- */
614
352
  'issuerTransactionFees'?: Array<TransactionFee>;
615
- /**
616
- *
617
- * @type {Array<CardholderVerificationMethod>}
618
- * @memberof Transaction
619
- */
620
353
  'cardholderVerificationMethods'?: Array<CardholderVerificationMethod>;
621
354
  /**
622
355
  * Merchant/acquirer generated transaction reference number.
623
- * @type {string}
624
- * @memberof Transaction
625
356
  */
626
357
  'retrievalReferenceNumber'?: string;
627
- /**
628
- *
629
- * @type {CardEntryMode}
630
- * @memberof Transaction
631
- */
632
358
  'cardEntryMode'?: CardEntryMode;
633
359
  /**
634
360
  * Indicates whether the cardholder is physically present during transaction.
635
- * @type {boolean}
636
- * @memberof Transaction
637
361
  */
638
362
  'cardholderPresent'?: boolean;
639
363
  /**
640
364
  * Indicates whether the card is present at the point of service.
641
- * @type {boolean}
642
- * @memberof Transaction
643
365
  */
644
366
  'cardPresent'?: boolean;
645
367
  /**
646
368
  * Indicates whether the transaction is a recurring payment or merchant initiated. This implies whether the cardholder has approved the merchant initiated transaction.
647
- * @type {boolean}
648
- * @memberof Transaction
649
369
  */
650
370
  'merchantInitiated'?: boolean;
651
371
  /**
652
372
  * Date and time in the time zone where the transaction occurred.
653
- * @type {string}
654
- * @memberof Transaction
655
373
  */
656
374
  'transactionDateTime'?: string;
657
375
  /**
658
376
  * This value is present only for recurring transaction, and it\'s value is first original authorisation request in the chain.
659
- * @type {string}
660
- * @memberof Transaction
661
377
  */
662
378
  'originalTransactionId'?: string;
663
379
  }
664
- /**
665
- *
666
- * @export
667
- * @interface TransactionFee
668
- */
669
380
  export interface TransactionFee {
670
381
  /**
671
382
  * Type of Issuer generated transaction fee in cardholder billing currency. Transaction based fees that are additional fees charged on top of the transaction.
672
- * @type {string}
673
- * @memberof TransactionFee
674
383
  */
675
384
  'type'?: TransactionFeeTypeEnum;
676
385
  /**
677
386
  * Transaction fee amount in cardholder billing currency.
678
- * @type {Money}
679
- * @memberof TransactionFee
680
387
  */
681
388
  'amount'?: Money;
682
389
  }
@@ -688,8 +395,6 @@ export declare const TransactionFeeTypeEnum: {
688
395
  export type TransactionFeeTypeEnum = typeof TransactionFeeTypeEnum[keyof typeof TransactionFeeTypeEnum];
689
396
  /**
690
397
  * The transaction Type
691
- * @export
692
- * @enum {string}
693
398
  */
694
399
  export declare const TransactionType: {
695
400
  readonly Retail: "RETAIL";
@@ -712,7 +417,6 @@ export declare const TransactionType: {
712
417
  export type TransactionType = typeof TransactionType[keyof typeof TransactionType];
713
418
  /**
714
419
  * AuthorisationRequestAPIApi - axios parameter creator
715
- * @export
716
420
  */
717
421
  export declare const AuthorisationRequestAPIApiAxiosParamCreator: (configuration?: Configuration) => {
718
422
  /**
@@ -726,7 +430,6 @@ export declare const AuthorisationRequestAPIApiAxiosParamCreator: (configuration
726
430
  };
727
431
  /**
728
432
  * AuthorisationRequestAPIApi - functional programming interface
729
- * @export
730
433
  */
731
434
  export declare const AuthorisationRequestAPIApiFp: (configuration?: Configuration) => {
732
435
  /**
@@ -740,7 +443,6 @@ export declare const AuthorisationRequestAPIApiFp: (configuration?: Configuratio
740
443
  };
741
444
  /**
742
445
  * AuthorisationRequestAPIApi - factory interface
743
- * @export
744
446
  */
745
447
  export declare const AuthorisationRequestAPIApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
746
448
  /**
@@ -754,9 +456,6 @@ export declare const AuthorisationRequestAPIApiFactory: (configuration?: Configu
754
456
  };
755
457
  /**
756
458
  * AuthorisationRequestAPIApi - object-oriented interface
757
- * @export
758
- * @class AuthorisationRequestAPIApi
759
- * @extends {BaseAPI}
760
459
  */
761
460
  export declare class AuthorisationRequestAPIApi extends BaseAPI {
762
461
  /**
@@ -765,7 +464,6 @@ export declare class AuthorisationRequestAPIApi extends BaseAPI {
765
464
  * @param {AuthRequestBody} authRequestBody
766
465
  * @param {*} [options] Override http request option.
767
466
  * @throws {RequiredError}
768
- * @memberof AuthorisationRequestAPIApi
769
467
  */
770
468
  authPost(authRequestBody: AuthRequestBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthResponseBody, any, {}>>;
771
469
  }