@enfuce/nextgen-sdk 0.0.1

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 (313) hide show
  1. package/dist/authorisation-control/api.d.ts +771 -0
  2. package/dist/authorisation-control/api.js +240 -0
  3. package/dist/authorisation-control/base.d.ts +66 -0
  4. package/dist/authorisation-control/base.js +65 -0
  5. package/dist/authorisation-control/common.d.ts +65 -0
  6. package/dist/authorisation-control/common.js +161 -0
  7. package/dist/authorisation-control/configuration.d.ts +91 -0
  8. package/dist/authorisation-control/configuration.js +44 -0
  9. package/dist/authorisation-control/index.d.ts +13 -0
  10. package/dist/authorisation-control/index.js +31 -0
  11. package/dist/card/api.d.ts +2065 -0
  12. package/dist/card/api.js +1406 -0
  13. package/dist/card/base.d.ts +66 -0
  14. package/dist/card/base.js +65 -0
  15. package/dist/card/common.d.ts +65 -0
  16. package/dist/card/common.js +161 -0
  17. package/dist/card/configuration.d.ts +91 -0
  18. package/dist/card/configuration.js +44 -0
  19. package/dist/card/index.d.ts +13 -0
  20. package/dist/card/index.js +31 -0
  21. package/dist/cardholder/api.d.ts +1890 -0
  22. package/dist/cardholder/api.js +1239 -0
  23. package/dist/cardholder/base.d.ts +66 -0
  24. package/dist/cardholder/base.js +65 -0
  25. package/dist/cardholder/common.d.ts +65 -0
  26. package/dist/cardholder/common.js +161 -0
  27. package/dist/cardholder/configuration.d.ts +91 -0
  28. package/dist/cardholder/configuration.js +44 -0
  29. package/dist/cardholder/index.d.ts +13 -0
  30. package/dist/cardholder/index.js +31 -0
  31. package/dist/cards/api.d.ts +78 -0
  32. package/dist/cards/api.js +142 -0
  33. package/dist/cards/base.d.ts +66 -0
  34. package/dist/cards/base.js +65 -0
  35. package/dist/cards/common.d.ts +65 -0
  36. package/dist/cards/common.js +161 -0
  37. package/dist/cards/configuration.d.ts +91 -0
  38. package/dist/cards/configuration.js +44 -0
  39. package/dist/cards/index.d.ts +13 -0
  40. package/dist/cards/index.js +31 -0
  41. package/dist/clearing-file-copy/api.d.ts +1245 -0
  42. package/dist/clearing-file-copy/api.js +139 -0
  43. package/dist/clearing-file-copy/base.d.ts +66 -0
  44. package/dist/clearing-file-copy/base.js +65 -0
  45. package/dist/clearing-file-copy/common.d.ts +65 -0
  46. package/dist/clearing-file-copy/common.js +161 -0
  47. package/dist/clearing-file-copy/configuration.d.ts +91 -0
  48. package/dist/clearing-file-copy/configuration.js +44 -0
  49. package/dist/clearing-file-copy/index.d.ts +13 -0
  50. package/dist/clearing-file-copy/index.js +31 -0
  51. package/dist/esm/authorisation-control/api.d.ts +771 -0
  52. package/dist/esm/authorisation-control/api.js +233 -0
  53. package/dist/esm/authorisation-control/base.d.ts +66 -0
  54. package/dist/esm/authorisation-control/base.js +60 -0
  55. package/dist/esm/authorisation-control/common.d.ts +65 -0
  56. package/dist/esm/authorisation-control/common.js +149 -0
  57. package/dist/esm/authorisation-control/configuration.d.ts +91 -0
  58. package/dist/esm/authorisation-control/configuration.js +40 -0
  59. package/dist/esm/authorisation-control/index.d.ts +13 -0
  60. package/dist/esm/authorisation-control/index.js +15 -0
  61. package/dist/esm/card/api.d.ts +2065 -0
  62. package/dist/esm/card/api.js +1379 -0
  63. package/dist/esm/card/base.d.ts +66 -0
  64. package/dist/esm/card/base.js +60 -0
  65. package/dist/esm/card/common.d.ts +65 -0
  66. package/dist/esm/card/common.js +149 -0
  67. package/dist/esm/card/configuration.d.ts +91 -0
  68. package/dist/esm/card/configuration.js +40 -0
  69. package/dist/esm/card/index.d.ts +13 -0
  70. package/dist/esm/card/index.js +15 -0
  71. package/dist/esm/cardholder/api.d.ts +1890 -0
  72. package/dist/esm/cardholder/api.js +1220 -0
  73. package/dist/esm/cardholder/base.d.ts +66 -0
  74. package/dist/esm/cardholder/base.js +60 -0
  75. package/dist/esm/cardholder/common.d.ts +65 -0
  76. package/dist/esm/cardholder/common.js +149 -0
  77. package/dist/esm/cardholder/configuration.d.ts +91 -0
  78. package/dist/esm/cardholder/configuration.js +40 -0
  79. package/dist/esm/cardholder/index.d.ts +13 -0
  80. package/dist/esm/cardholder/index.js +15 -0
  81. package/dist/esm/cards/api.d.ts +78 -0
  82. package/dist/esm/cards/api.js +135 -0
  83. package/dist/esm/cards/base.d.ts +66 -0
  84. package/dist/esm/cards/base.js +60 -0
  85. package/dist/esm/cards/common.d.ts +65 -0
  86. package/dist/esm/cards/common.js +149 -0
  87. package/dist/esm/cards/configuration.d.ts +91 -0
  88. package/dist/esm/cards/configuration.js +40 -0
  89. package/dist/esm/cards/index.d.ts +13 -0
  90. package/dist/esm/cards/index.js +15 -0
  91. package/dist/esm/clearing-file-copy/api.d.ts +1245 -0
  92. package/dist/esm/clearing-file-copy/api.js +136 -0
  93. package/dist/esm/clearing-file-copy/base.d.ts +66 -0
  94. package/dist/esm/clearing-file-copy/base.js +60 -0
  95. package/dist/esm/clearing-file-copy/common.d.ts +65 -0
  96. package/dist/esm/clearing-file-copy/common.js +149 -0
  97. package/dist/esm/clearing-file-copy/configuration.d.ts +91 -0
  98. package/dist/esm/clearing-file-copy/configuration.js +40 -0
  99. package/dist/esm/clearing-file-copy/index.d.ts +13 -0
  100. package/dist/esm/clearing-file-copy/index.js +15 -0
  101. package/dist/esm/index.d.ts +12 -0
  102. package/dist/esm/index.js +14 -0
  103. package/dist/esm/issuer-events/api.d.ts +1721 -0
  104. package/dist/esm/issuer-events/api.js +940 -0
  105. package/dist/esm/issuer-events/base.d.ts +66 -0
  106. package/dist/esm/issuer-events/base.js +60 -0
  107. package/dist/esm/issuer-events/common.d.ts +65 -0
  108. package/dist/esm/issuer-events/common.js +149 -0
  109. package/dist/esm/issuer-events/configuration.d.ts +91 -0
  110. package/dist/esm/issuer-events/configuration.js +40 -0
  111. package/dist/esm/issuer-events/index.d.ts +13 -0
  112. package/dist/esm/issuer-events/index.js +15 -0
  113. package/dist/esm/oauth/axios.d.ts +14 -0
  114. package/dist/esm/oauth/axios.js +58 -0
  115. package/dist/esm/oauth/clientCredentials.d.ts +24 -0
  116. package/dist/esm/oauth/clientCredentials.js +59 -0
  117. package/dist/esm/oauth/index.d.ts +3 -0
  118. package/dist/esm/oauth/index.js +24 -0
  119. package/dist/esm/oauth/tokenManager.d.ts +38 -0
  120. package/dist/esm/oauth/tokenManager.js +77 -0
  121. package/dist/esm/pin/api.d.ts +329 -0
  122. package/dist/esm/pin/api.js +341 -0
  123. package/dist/esm/pin/base.d.ts +66 -0
  124. package/dist/esm/pin/base.js +60 -0
  125. package/dist/esm/pin/common.d.ts +65 -0
  126. package/dist/esm/pin/common.js +149 -0
  127. package/dist/esm/pin/configuration.d.ts +91 -0
  128. package/dist/esm/pin/configuration.js +40 -0
  129. package/dist/esm/pin/index.d.ts +13 -0
  130. package/dist/esm/pin/index.js +15 -0
  131. package/dist/esm/threeds/api.d.ts +104 -0
  132. package/dist/esm/threeds/api.js +136 -0
  133. package/dist/esm/threeds/base.d.ts +66 -0
  134. package/dist/esm/threeds/base.js +60 -0
  135. package/dist/esm/threeds/common.d.ts +65 -0
  136. package/dist/esm/threeds/common.js +149 -0
  137. package/dist/esm/threeds/configuration.d.ts +91 -0
  138. package/dist/esm/threeds/configuration.js +40 -0
  139. package/dist/esm/threeds/index.d.ts +13 -0
  140. package/dist/esm/threeds/index.js +15 -0
  141. package/dist/esm/threeds-oob/api.d.ts +241 -0
  142. package/dist/esm/threeds-oob/api.js +141 -0
  143. package/dist/esm/threeds-oob/base.d.ts +66 -0
  144. package/dist/esm/threeds-oob/base.js +60 -0
  145. package/dist/esm/threeds-oob/common.d.ts +65 -0
  146. package/dist/esm/threeds-oob/common.js +149 -0
  147. package/dist/esm/threeds-oob/configuration.d.ts +91 -0
  148. package/dist/esm/threeds-oob/configuration.js +40 -0
  149. package/dist/esm/threeds-oob/index.d.ts +13 -0
  150. package/dist/esm/threeds-oob/index.js +15 -0
  151. package/dist/esm/transaction-event/api.d.ts +1082 -0
  152. package/dist/esm/transaction-event/api.js +163 -0
  153. package/dist/esm/transaction-event/base.d.ts +66 -0
  154. package/dist/esm/transaction-event/base.js +60 -0
  155. package/dist/esm/transaction-event/common.d.ts +65 -0
  156. package/dist/esm/transaction-event/common.js +149 -0
  157. package/dist/esm/transaction-event/configuration.d.ts +91 -0
  158. package/dist/esm/transaction-event/configuration.js +40 -0
  159. package/dist/esm/transaction-event/index.d.ts +13 -0
  160. package/dist/esm/transaction-event/index.js +15 -0
  161. package/dist/esm/wallet/api.d.ts +1385 -0
  162. package/dist/esm/wallet/api.js +1342 -0
  163. package/dist/esm/wallet/base.d.ts +66 -0
  164. package/dist/esm/wallet/base.js +60 -0
  165. package/dist/esm/wallet/common.d.ts +65 -0
  166. package/dist/esm/wallet/common.js +149 -0
  167. package/dist/esm/wallet/configuration.d.ts +91 -0
  168. package/dist/esm/wallet/configuration.js +40 -0
  169. package/dist/esm/wallet/index.d.ts +13 -0
  170. package/dist/esm/wallet/index.js +15 -0
  171. package/dist/index.d.ts +12 -0
  172. package/dist/index.js +17 -0
  173. package/dist/issuer-events/api.d.ts +1721 -0
  174. package/dist/issuer-events/api.js +947 -0
  175. package/dist/issuer-events/base.d.ts +66 -0
  176. package/dist/issuer-events/base.js +65 -0
  177. package/dist/issuer-events/common.d.ts +65 -0
  178. package/dist/issuer-events/common.js +161 -0
  179. package/dist/issuer-events/configuration.d.ts +91 -0
  180. package/dist/issuer-events/configuration.js +44 -0
  181. package/dist/issuer-events/index.d.ts +13 -0
  182. package/dist/issuer-events/index.js +31 -0
  183. package/dist/oauth/axios.d.ts +14 -0
  184. package/dist/oauth/axios.js +61 -0
  185. package/dist/oauth/clientCredentials.d.ts +24 -0
  186. package/dist/oauth/clientCredentials.js +63 -0
  187. package/dist/oauth/index.d.ts +3 -0
  188. package/dist/oauth/index.js +31 -0
  189. package/dist/oauth/tokenManager.d.ts +38 -0
  190. package/dist/oauth/tokenManager.js +81 -0
  191. package/dist/pin/api.d.ts +329 -0
  192. package/dist/pin/api.js +352 -0
  193. package/dist/pin/base.d.ts +66 -0
  194. package/dist/pin/base.js +65 -0
  195. package/dist/pin/common.d.ts +65 -0
  196. package/dist/pin/common.js +161 -0
  197. package/dist/pin/configuration.d.ts +91 -0
  198. package/dist/pin/configuration.js +44 -0
  199. package/dist/pin/index.d.ts +13 -0
  200. package/dist/pin/index.js +31 -0
  201. package/dist/threeds/api.d.ts +104 -0
  202. package/dist/threeds/api.js +143 -0
  203. package/dist/threeds/base.d.ts +66 -0
  204. package/dist/threeds/base.js +65 -0
  205. package/dist/threeds/common.d.ts +65 -0
  206. package/dist/threeds/common.js +161 -0
  207. package/dist/threeds/configuration.d.ts +91 -0
  208. package/dist/threeds/configuration.js +44 -0
  209. package/dist/threeds/index.d.ts +13 -0
  210. package/dist/threeds/index.js +31 -0
  211. package/dist/threeds-oob/api.d.ts +241 -0
  212. package/dist/threeds-oob/api.js +148 -0
  213. package/dist/threeds-oob/base.d.ts +66 -0
  214. package/dist/threeds-oob/base.js +65 -0
  215. package/dist/threeds-oob/common.d.ts +65 -0
  216. package/dist/threeds-oob/common.js +161 -0
  217. package/dist/threeds-oob/configuration.d.ts +91 -0
  218. package/dist/threeds-oob/configuration.js +44 -0
  219. package/dist/threeds-oob/index.d.ts +13 -0
  220. package/dist/threeds-oob/index.js +31 -0
  221. package/dist/transaction-event/api.d.ts +1082 -0
  222. package/dist/transaction-event/api.js +166 -0
  223. package/dist/transaction-event/base.d.ts +66 -0
  224. package/dist/transaction-event/base.js +65 -0
  225. package/dist/transaction-event/common.d.ts +65 -0
  226. package/dist/transaction-event/common.js +161 -0
  227. package/dist/transaction-event/configuration.d.ts +91 -0
  228. package/dist/transaction-event/configuration.js +44 -0
  229. package/dist/transaction-event/index.d.ts +13 -0
  230. package/dist/transaction-event/index.js +31 -0
  231. package/dist/wallet/api.d.ts +1385 -0
  232. package/dist/wallet/api.js +1377 -0
  233. package/dist/wallet/base.d.ts +66 -0
  234. package/dist/wallet/base.js +65 -0
  235. package/dist/wallet/common.d.ts +65 -0
  236. package/dist/wallet/common.js +161 -0
  237. package/dist/wallet/configuration.d.ts +91 -0
  238. package/dist/wallet/configuration.js +44 -0
  239. package/dist/wallet/index.d.ts +13 -0
  240. package/dist/wallet/index.js +31 -0
  241. package/package.json +25 -0
  242. package/src/authorisation-control/api.ts +876 -0
  243. package/src/authorisation-control/base.ts +86 -0
  244. package/src/authorisation-control/common.ts +150 -0
  245. package/src/authorisation-control/configuration.ts +115 -0
  246. package/src/authorisation-control/index.ts +18 -0
  247. package/src/card/api.ts +2792 -0
  248. package/src/card/base.ts +86 -0
  249. package/src/card/common.ts +150 -0
  250. package/src/card/configuration.ts +115 -0
  251. package/src/card/index.ts +18 -0
  252. package/src/cardholder/api.ts +2244 -0
  253. package/src/cardholder/base.ts +86 -0
  254. package/src/cardholder/common.ts +150 -0
  255. package/src/cardholder/configuration.ts +115 -0
  256. package/src/cardholder/index.ts +18 -0
  257. package/src/cards/api.ts +141 -0
  258. package/src/cards/base.ts +86 -0
  259. package/src/cards/common.ts +150 -0
  260. package/src/cards/configuration.ts +115 -0
  261. package/src/cards/index.ts +18 -0
  262. package/src/clearing-file-copy/api.ts +1309 -0
  263. package/src/clearing-file-copy/base.ts +86 -0
  264. package/src/clearing-file-copy/common.ts +150 -0
  265. package/src/clearing-file-copy/configuration.ts +115 -0
  266. package/src/clearing-file-copy/index.ts +18 -0
  267. package/src/index.ts +16 -0
  268. package/src/issuer-events/api.ts +1926 -0
  269. package/src/issuer-events/base.ts +86 -0
  270. package/src/issuer-events/common.ts +150 -0
  271. package/src/issuer-events/configuration.ts +115 -0
  272. package/src/issuer-events/index.ts +18 -0
  273. package/src/oauth/axios.ts +60 -0
  274. package/src/oauth/clientCredentials.ts +72 -0
  275. package/src/oauth/index.ts +24 -0
  276. package/src/oauth/tokenManager.ts +85 -0
  277. package/src/pin/api.ts +507 -0
  278. package/src/pin/base.ts +86 -0
  279. package/src/pin/common.ts +150 -0
  280. package/src/pin/configuration.ts +115 -0
  281. package/src/pin/index.ts +18 -0
  282. package/src/threeds/api.ts +173 -0
  283. package/src/threeds/base.ts +86 -0
  284. package/src/threeds/common.ts +150 -0
  285. package/src/threeds/configuration.ts +115 -0
  286. package/src/threeds/index.ts +18 -0
  287. package/src/threeds-oob/api.ts +311 -0
  288. package/src/threeds-oob/base.ts +86 -0
  289. package/src/threeds-oob/common.ts +150 -0
  290. package/src/threeds-oob/configuration.ts +115 -0
  291. package/src/threeds-oob/index.ts +18 -0
  292. package/src/transaction-event/api.ts +1152 -0
  293. package/src/transaction-event/base.ts +86 -0
  294. package/src/transaction-event/common.ts +150 -0
  295. package/src/transaction-event/configuration.ts +115 -0
  296. package/src/transaction-event/index.ts +18 -0
  297. package/src/wallet/api.ts +2083 -0
  298. package/src/wallet/base.ts +86 -0
  299. package/src/wallet/common.ts +150 -0
  300. package/src/wallet/configuration.ts +115 -0
  301. package/src/wallet/index.ts +18 -0
  302. package/test/authorisation-control.test.ts +71 -0
  303. package/test/card.test.ts +39 -0
  304. package/test/cardholder.test.ts +51 -0
  305. package/test/cards.test.ts +35 -0
  306. package/test/issuer-events.test.ts +55 -0
  307. package/test/oauth.test.ts +205 -0
  308. package/test/pin.test.ts +39 -0
  309. package/test/threeds-oob.test.ts +90 -0
  310. package/test/threeds.test.ts +55 -0
  311. package/test/wallet.test.ts +62 -0
  312. package/tsconfig.esm.json +7 -0
  313. package/tsconfig.json +14 -0
@@ -0,0 +1,1245 @@
1
+ /**
2
+ * Enfuce clearing file copy
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * Information about the card used for the payment.
14
+ * @export
15
+ * @interface Card
16
+ */
17
+ export interface Card {
18
+ /**
19
+ * Enfuce generated unique ID assigned to each card used — enables you to identify the card that you must authorise.
20
+ * @type {string}
21
+ * @memberof Card
22
+ */
23
+ 'id'?: string;
24
+ /**
25
+ * Card expiration date as received in the scheme message.
26
+ * @type {Expiration}
27
+ * @memberof Card
28
+ */
29
+ 'expirationDate'?: Expiration;
30
+ /**
31
+ * Card sequence number as received in the scheme message.
32
+ * @type {number}
33
+ * @memberof Card
34
+ */
35
+ 'sequenceNumber'?: number;
36
+ /**
37
+ * Ledger provided account ID associated with the card.
38
+ * @type {string}
39
+ * @memberof Card
40
+ */
41
+ 'accountId'?: string;
42
+ /**
43
+ * Unique ID of the cardholder associated with the card.
44
+ * @type {string}
45
+ * @memberof Card
46
+ */
47
+ 'cardholderId'?: string;
48
+ /**
49
+ * Information about any parent card group associated with the card.
50
+ * @type {Array<CardGroupsInner>}
51
+ * @memberof Card
52
+ */
53
+ 'groups'?: Array<CardGroupsInner>;
54
+ /**
55
+ * The type of card application used for the transaction.
56
+ * @type {string}
57
+ * @memberof Card
58
+ */
59
+ 'applicationSelection'?: CardApplicationSelectionEnum;
60
+ }
61
+ export declare const CardApplicationSelectionEnum: {
62
+ readonly Debit: "DEBIT";
63
+ readonly Credit: "CREDIT";
64
+ };
65
+ export type CardApplicationSelectionEnum = typeof CardApplicationSelectionEnum[keyof typeof CardApplicationSelectionEnum];
66
+ /**
67
+ * Describes how the card credentials were captured.
68
+ * @export
69
+ * @enum {string}
70
+ */
71
+ export declare const CardEntryMode: {
72
+ readonly Chip: "CHIP";
73
+ readonly ChipContactless: "CHIP_CONTACTLESS";
74
+ readonly MagneticStripe: "MAGNETIC_STRIPE";
75
+ readonly ManualEntry: "MANUAL_ENTRY";
76
+ readonly WalletContactless: "WALLET_CONTACTLESS";
77
+ readonly Ecommerce: "ECOMMERCE";
78
+ readonly WalletEcommerce: "WALLET_ECOMMERCE";
79
+ readonly CredentialsOnFile: "CREDENTIALS_ON_FILE";
80
+ readonly Unknown: "UNKNOWN";
81
+ };
82
+ export type CardEntryMode = typeof CardEntryMode[keyof typeof CardEntryMode];
83
+ /**
84
+ *
85
+ * @export
86
+ * @interface CardGroupsInner
87
+ */
88
+ export interface CardGroupsInner {
89
+ /**
90
+ * Unique ID assigned to the parent card group.
91
+ * @type {string}
92
+ * @memberof CardGroupsInner
93
+ */
94
+ 'groupId': string;
95
+ }
96
+ /**
97
+ * 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.
98
+ * @export
99
+ * @enum {string}
100
+ */
101
+ export declare const CardholderVerificationMethod: {
102
+ readonly PinVerifiedByCard: "PIN_VERIFIED_BY_CARD";
103
+ readonly PinVerifiedByIssuer: "PIN_VERIFIED_BY_ISSUER";
104
+ readonly Wallet: "WALLET";
105
+ readonly ThreeDs: "THREE_DS";
106
+ readonly Biometric: "BIOMETRIC";
107
+ readonly Signature: "SIGNATURE";
108
+ readonly NoVerification: "NO_VERIFICATION";
109
+ };
110
+ export type CardholderVerificationMethod = typeof CardholderVerificationMethod[keyof typeof CardholderVerificationMethod];
111
+ /**
112
+ *
113
+ * @export
114
+ * @interface ClearingMetadata
115
+ */
116
+ export interface ClearingMetadata {
117
+ /**
118
+ * Unique system generated ID assigned to each event in the payment processing workflow. For example, an ID assigned to the initial authorisation event.
119
+ * @type {string}
120
+ * @memberof ClearingMetadata
121
+ */
122
+ 'id'?: string;
123
+ /**
124
+ * 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`.
125
+ * @type {string}
126
+ * @memberof ClearingMetadata
127
+ */
128
+ 'transactionId'?: string;
129
+ /**
130
+ * Describes outcome of processed transaction
131
+ * @type {string}
132
+ * @memberof ClearingMetadata
133
+ */
134
+ 'postingStatus'?: ClearingMetadataPostingStatusEnum;
135
+ /**
136
+ *
137
+ * @type {MessageCategoryClearing}
138
+ * @memberof ClearingMetadata
139
+ */
140
+ 'messageCategory'?: MessageCategoryClearing;
141
+ /**
142
+ *
143
+ * @type {MessageFunctionClearing}
144
+ * @memberof ClearingMetadata
145
+ */
146
+ 'messageFunction'?: MessageFunctionClearing;
147
+ }
148
+ export declare const ClearingMetadataPostingStatusEnum: {
149
+ readonly Processed: "PROCESSED";
150
+ readonly CardNotFound: "CARD_NOT_FOUND";
151
+ readonly Unsupported: "UNSUPPORTED";
152
+ readonly Metadata: "METADATA";
153
+ };
154
+ export type ClearingMetadataPostingStatusEnum = typeof ClearingMetadataPostingStatusEnum[keyof typeof ClearingMetadataPostingStatusEnum];
155
+ /**
156
+ * The status of the transaction. CLEARED means that the transaction has been fully cleared, PARTIALLY_CLEARED means that the transaction is partially cleared.
157
+ * @export
158
+ * @enum {string}
159
+ */
160
+ export declare const ClearingStatus: {
161
+ readonly Cleared: "CLEARED";
162
+ readonly PartiallyCleared: "PARTIALLY_CLEARED";
163
+ };
164
+ export type ClearingStatus = typeof ClearingStatus[keyof typeof ClearingStatus];
165
+ /**
166
+ * Field that contains exchange rates for the transaction, it is null if both currencies are the same.
167
+ * @export
168
+ * @interface ExchangeRates
169
+ */
170
+ export interface ExchangeRates {
171
+ /**
172
+ * European Central Bank exchange rate.
173
+ * @type {number}
174
+ * @memberof ExchangeRates
175
+ */
176
+ 'ecbRate'?: number;
177
+ }
178
+ /**
179
+ *
180
+ * @export
181
+ * @interface Expiration
182
+ */
183
+ export interface Expiration {
184
+ /**
185
+ * Expiration year in YYYY format.
186
+ * @type {number}
187
+ * @memberof Expiration
188
+ */
189
+ 'year': number;
190
+ /**
191
+ * Expiration month in MM format.
192
+ * @type {number}
193
+ * @memberof Expiration
194
+ */
195
+ 'month': number;
196
+ }
197
+ /**
198
+ *
199
+ * @export
200
+ * @interface FileData
201
+ */
202
+ export interface FileData {
203
+ /**
204
+ *
205
+ * @type {FileDataFileHeader}
206
+ * @memberof FileData
207
+ */
208
+ 'fileHeader'?: FileDataFileHeader;
209
+ /**
210
+ * This array comprises a collection of records in the file.<br><br> Generally, the `transaction` object will be included. However, there are situations where the `masterCardMessage` object is present instead.<br><br> The `masterCardMessage` object is an unparsed ISO8583 message that has not been converted into a `transaction` object.<br><br> The `visaMessage` object represents a message in the Visa Base II format that has not been converted into a `transaction`, containing the mappings between the transaction component records (TCRs) and their data.
211
+ * @type {Array<FileDataRecordsInner>}
212
+ * @memberof FileData
213
+ */
214
+ 'records'?: Array<FileDataRecordsInner>;
215
+ }
216
+ /**
217
+ * Header information of the file.
218
+ * @export
219
+ * @interface FileDataFileHeader
220
+ */
221
+ export interface FileDataFileHeader {
222
+ /**
223
+ * This is the unique identifier for the file.
224
+ * @type {string}
225
+ * @memberof FileDataFileHeader
226
+ */
227
+ 'fileId'?: string;
228
+ /**
229
+ * Name of the file as received from the scheme.
230
+ * @type {string}
231
+ * @memberof FileDataFileHeader
232
+ */
233
+ 'fileName'?: string;
234
+ /**
235
+ * Date and time that Enfuce received the clearing file into the card system.
236
+ * @type {string}
237
+ * @memberof FileDataFileHeader
238
+ */
239
+ 'fileReceivedDateTime'?: string;
240
+ /**
241
+ * The payment scheme of the file.
242
+ * @type {string}
243
+ * @memberof FileDataFileHeader
244
+ */
245
+ 'paymentScheme'?: FileDataFileHeaderPaymentSchemeEnum;
246
+ /**
247
+ * Number of \'transactions\' objects in the file.
248
+ * @type {number}
249
+ * @memberof FileDataFileHeader
250
+ */
251
+ 'numberOfTransactions'?: number;
252
+ }
253
+ export declare const FileDataFileHeaderPaymentSchemeEnum: {
254
+ readonly Mastercard: "MASTERCARD";
255
+ readonly Visa: "VISA";
256
+ };
257
+ export type FileDataFileHeaderPaymentSchemeEnum = typeof FileDataFileHeaderPaymentSchemeEnum[keyof typeof FileDataFileHeaderPaymentSchemeEnum];
258
+ /**
259
+ *
260
+ * @export
261
+ * @interface FileDataRecordsInner
262
+ */
263
+ export interface FileDataRecordsInner {
264
+ /**
265
+ * Unique system generated ID assigned to each event in the payment processing workflow. For example, an ID assigned to the initial authorisation event.
266
+ * @type {string}
267
+ * @memberof FileDataRecordsInner
268
+ */
269
+ 'id'?: string;
270
+ /**
271
+ * 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`.
272
+ * @type {string}
273
+ * @memberof FileDataRecordsInner
274
+ */
275
+ 'transactionId'?: string;
276
+ /**
277
+ * Describes outcome of processed transaction
278
+ * @type {string}
279
+ * @memberof FileDataRecordsInner
280
+ */
281
+ 'postingStatus'?: FileDataRecordsInnerPostingStatusEnum;
282
+ /**
283
+ *
284
+ * @type {MessageCategoryClearing}
285
+ * @memberof FileDataRecordsInner
286
+ */
287
+ 'messageCategory'?: MessageCategoryClearing;
288
+ /**
289
+ *
290
+ * @type {MessageFunctionClearing}
291
+ * @memberof FileDataRecordsInner
292
+ */
293
+ 'messageFunction'?: MessageFunctionClearing;
294
+ /**
295
+ *
296
+ * @type {Card}
297
+ * @memberof FileDataRecordsInner
298
+ */
299
+ 'card'?: Card;
300
+ /**
301
+ *
302
+ * @type {Merchant}
303
+ * @memberof FileDataRecordsInner
304
+ */
305
+ 'merchant'?: Merchant;
306
+ /**
307
+ *
308
+ * @type {Transaction1}
309
+ * @memberof FileDataRecordsInner
310
+ */
311
+ 'transaction'?: Transaction1;
312
+ /**
313
+ *
314
+ * @type {FileDataRecordsInnerAllOfMasterCardMessage}
315
+ * @memberof FileDataRecordsInner
316
+ */
317
+ 'masterCardMessage'?: FileDataRecordsInnerAllOfMasterCardMessage;
318
+ /**
319
+ * The raw Visa message.
320
+ * @type {{ [key: string]: string; }}
321
+ * @memberof FileDataRecordsInner
322
+ */
323
+ 'visaMessage'?: {
324
+ [key: string]: string;
325
+ } | null;
326
+ }
327
+ export declare const FileDataRecordsInnerPostingStatusEnum: {
328
+ readonly Processed: "PROCESSED";
329
+ readonly CardNotFound: "CARD_NOT_FOUND";
330
+ readonly Unsupported: "UNSUPPORTED";
331
+ readonly Metadata: "METADATA";
332
+ };
333
+ export type FileDataRecordsInnerPostingStatusEnum = typeof FileDataRecordsInnerPostingStatusEnum[keyof typeof FileDataRecordsInnerPostingStatusEnum];
334
+ /**
335
+ *
336
+ * @export
337
+ * @interface FileDataRecordsInnerAllOfMasterCardMessage
338
+ */
339
+ export interface FileDataRecordsInnerAllOfMasterCardMessage {
340
+ /**
341
+ * Message Type Identifier (MTI) n-4
342
+ * @type {string}
343
+ * @memberof FileDataRecordsInnerAllOfMasterCardMessage
344
+ */
345
+ 'MTI'?: string;
346
+ /**
347
+ * Processing code n-6
348
+ * @type {string}
349
+ * @memberof FileDataRecordsInnerAllOfMasterCardMessage
350
+ */
351
+ 'DE03'?: string;
352
+ /**
353
+ * Amount, Transaction n-12
354
+ * @type {string}
355
+ * @memberof FileDataRecordsInnerAllOfMasterCardMessage
356
+ */
357
+ 'DE04'?: string;
358
+ /**
359
+ * Amount, Reconciliation n-12
360
+ * @type {string}
361
+ * @memberof FileDataRecordsInnerAllOfMasterCardMessage
362
+ */
363
+ 'DE05'?: string;
364
+ /**
365
+ * Amount, Cardholder Billing n-12
366
+ * @type {string}
367
+ * @memberof FileDataRecordsInnerAllOfMasterCardMessage
368
+ */
369
+ 'DE06'?: string;
370
+ /**
371
+ * Conversion Rate, Reconciliation n-8
372
+ * @type {string}
373
+ * @memberof FileDataRecordsInnerAllOfMasterCardMessage
374
+ */
375
+ 'DE09'?: string;
376
+ /**
377
+ * Conversion Rate, Cardholder Billing n-8
378
+ * @type {string}
379
+ * @memberof FileDataRecordsInnerAllOfMasterCardMessage
380
+ */
381
+ 'DE10'?: string;
382
+ /**
383
+ * Date and Time, Local Transaction n-12; YYMMDDhhmmss
384
+ * @type {string}
385
+ * @memberof FileDataRecordsInnerAllOfMasterCardMessage
386
+ */
387
+ 'DE12'?: string;
388
+ /**
389
+ * Date, Expiration n-4; YYMM
390
+ * @type {string}
391
+ * @memberof FileDataRecordsInnerAllOfMasterCardMessage
392
+ */
393
+ 'DE14'?: string;
394
+ /**
395
+ * Point of Service (POS) Entry Mode an-12
396
+ * @type {string}
397
+ * @memberof FileDataRecordsInnerAllOfMasterCardMessage
398
+ */
399
+ 'DE22'?: string;
400
+ /**
401
+ * Card Sequence Number n-3
402
+ * @type {string}
403
+ * @memberof FileDataRecordsInnerAllOfMasterCardMessage
404
+ */
405
+ 'DE23'?: string;
406
+ /**
407
+ * Function Code n-3
408
+ * @type {string}
409
+ * @memberof FileDataRecordsInnerAllOfMasterCardMessage
410
+ */
411
+ 'DE24'?: string;
412
+ /**
413
+ * Point of Service Condition Code n-4
414
+ * @type {string}
415
+ * @memberof FileDataRecordsInnerAllOfMasterCardMessage
416
+ */
417
+ 'DE25'?: string;
418
+ /**
419
+ * Point of Service PIN capture Code n-4
420
+ * @type {string}
421
+ * @memberof FileDataRecordsInnerAllOfMasterCardMessage
422
+ */
423
+ 'DE26'?: string;
424
+ /**
425
+ * Amounts, Original n-24
426
+ * @type {string}
427
+ * @memberof FileDataRecordsInnerAllOfMasterCardMessage
428
+ */
429
+ 'DE30'?: string;
430
+ /**
431
+ * Acquirer Reference Data n-23; LLVAR
432
+ * @type {string}
433
+ * @memberof FileDataRecordsInnerAllOfMasterCardMessage
434
+ */
435
+ 'DE31'?: string;
436
+ /**
437
+ * Acquiring institution Identification Code n...11; LLVAR
438
+ * @type {string}
439
+ * @memberof FileDataRecordsInnerAllOfMasterCardMessage
440
+ */
441
+ 'DE32'?: string;
442
+ /**
443
+ * Forwarding institution Identification Code n...11; LLVAR
444
+ * @type {string}
445
+ * @memberof FileDataRecordsInnerAllOfMasterCardMessage
446
+ */
447
+ 'DE33'?: string;
448
+ /**
449
+ * Retrieval Reference Number ans-12
450
+ * @type {string}
451
+ * @memberof FileDataRecordsInnerAllOfMasterCardMessage
452
+ */
453
+ 'DE37'?: string;
454
+ /**
455
+ * Approval Code ans-6
456
+ * @type {string}
457
+ * @memberof FileDataRecordsInnerAllOfMasterCardMessage
458
+ */
459
+ 'DE38'?: string;
460
+ /**
461
+ * Service Code n-3
462
+ * @type {string}
463
+ * @memberof FileDataRecordsInnerAllOfMasterCardMessage
464
+ */
465
+ 'DE40'?: string;
466
+ /**
467
+ * Card Acceptor Terminal ID ans-8
468
+ * @type {string}
469
+ * @memberof FileDataRecordsInnerAllOfMasterCardMessage
470
+ */
471
+ 'DE41'?: string;
472
+ /**
473
+ * Card Acceptor ID Code ans-15
474
+ * @type {string}
475
+ * @memberof FileDataRecordsInnerAllOfMasterCardMessage
476
+ */
477
+ 'DE42'?: string;
478
+ /**
479
+ * Card Acceptor Name/Location ans...99; LLVAR
480
+ * @type {string}
481
+ * @memberof FileDataRecordsInnerAllOfMasterCardMessage
482
+ */
483
+ 'DE43'?: string;
484
+ /**
485
+ * Additional Data an...999; LLLVAR
486
+ * @type {string}
487
+ * @memberof FileDataRecordsInnerAllOfMasterCardMessage
488
+ */
489
+ 'DE48'?: string;
490
+ /**
491
+ * Currency Code, Transaction n-3
492
+ * @type {string}
493
+ * @memberof FileDataRecordsInnerAllOfMasterCardMessage
494
+ */
495
+ 'DE49'?: string;
496
+ /**
497
+ * Currency Code, Reconciliation n-3
498
+ * @type {string}
499
+ * @memberof FileDataRecordsInnerAllOfMasterCardMessage
500
+ */
501
+ 'DE50'?: string;
502
+ /**
503
+ * Currency Code, Cardholder Billing n-3
504
+ * @type {string}
505
+ * @memberof FileDataRecordsInnerAllOfMasterCardMessage
506
+ */
507
+ 'DE51'?: string;
508
+ /**
509
+ * Amounts, Additional ans-20; LLLVAR
510
+ * @type {string}
511
+ * @memberof FileDataRecordsInnerAllOfMasterCardMessage
512
+ */
513
+ 'DE54'?: string;
514
+ /**
515
+ * Additional Data 2 ans...999; LLLVAR
516
+ * @type {string}
517
+ * @memberof FileDataRecordsInnerAllOfMasterCardMessage
518
+ */
519
+ 'DE62'?: string;
520
+ /**
521
+ * Transaction Life Cycle ID ans-16; LLLVAR
522
+ * @type {string}
523
+ * @memberof FileDataRecordsInnerAllOfMasterCardMessage
524
+ */
525
+ 'DE63'?: string;
526
+ /**
527
+ * Message Number n-8
528
+ * @type {string}
529
+ * @memberof FileDataRecordsInnerAllOfMasterCardMessage
530
+ */
531
+ 'DE71'?: string;
532
+ /**
533
+ * Data Record ans...999; LLLVAR
534
+ * @type {string}
535
+ * @memberof FileDataRecordsInnerAllOfMasterCardMessage
536
+ */
537
+ 'DE72'?: string;
538
+ /**
539
+ * Date, Action n-6; YYMMDD
540
+ * @type {string}
541
+ * @memberof FileDataRecordsInnerAllOfMasterCardMessage
542
+ */
543
+ 'DE73'?: string;
544
+ /**
545
+ * Transaction Destination Institution ID Code n...11; LLVAR
546
+ * @type {string}
547
+ * @memberof FileDataRecordsInnerAllOfMasterCardMessage
548
+ */
549
+ 'DE93'?: string;
550
+ /**
551
+ * Transaction Originator Institution ID Code n...11; LLVAR
552
+ * @type {string}
553
+ * @memberof FileDataRecordsInnerAllOfMasterCardMessage
554
+ */
555
+ 'DE94'?: string;
556
+ /**
557
+ * Card Issuer Reference Data n-10; LLVAR
558
+ * @type {string}
559
+ * @memberof FileDataRecordsInnerAllOfMasterCardMessage
560
+ */
561
+ 'DE95'?: string;
562
+ /**
563
+ * Receiving Institution ID Code n...11; LLVAR
564
+ * @type {string}
565
+ * @memberof FileDataRecordsInnerAllOfMasterCardMessage
566
+ */
567
+ 'DE100'?: string;
568
+ /**
569
+ * Multi-Use Transaction Identification Data ans...999; LLVAR
570
+ * @type {string}
571
+ * @memberof FileDataRecordsInnerAllOfMasterCardMessage
572
+ */
573
+ 'DE105'?: string;
574
+ /**
575
+ * Amount, Currency Conversion Assessment
576
+ * @type {string}
577
+ * @memberof FileDataRecordsInnerAllOfMasterCardMessage
578
+ */
579
+ 'DE111'?: string;
580
+ /**
581
+ * Additional Data 3 ans...999; LLLVAR
582
+ * @type {string}
583
+ * @memberof FileDataRecordsInnerAllOfMasterCardMessage
584
+ */
585
+ 'DE123'?: string;
586
+ /**
587
+ * Additional Data 4 ans...999; LLLVAR
588
+ * @type {string}
589
+ * @memberof FileDataRecordsInnerAllOfMasterCardMessage
590
+ */
591
+ 'DE124'?: string;
592
+ /**
593
+ * Additional Data 5 ans...999; LLLVAR
594
+ * @type {string}
595
+ * @memberof FileDataRecordsInnerAllOfMasterCardMessage
596
+ */
597
+ 'DE125'?: string;
598
+ }
599
+ /**
600
+ * Interchange calculated by the scheme for the transaction.
601
+ * @export
602
+ * @interface InterchangeFee
603
+ */
604
+ export interface InterchangeFee {
605
+ /**
606
+ *
607
+ * @type {number}
608
+ * @memberof InterchangeFee
609
+ */
610
+ 'amount': number;
611
+ /**
612
+ * A valid ISO 4217 currency code
613
+ * @type {string}
614
+ * @memberof InterchangeFee
615
+ */
616
+ 'currency': string;
617
+ /**
618
+ *
619
+ * @type {InterchangeFeeDirection}
620
+ * @memberof InterchangeFee
621
+ */
622
+ 'direction': InterchangeFeeDirection;
623
+ }
624
+ /**
625
+ * Specifies if the interchange fee amount is a credit or a debit for the cardholder.
626
+ * @export
627
+ * @enum {string}
628
+ */
629
+ export declare const InterchangeFeeDirection: {
630
+ readonly Credit: "CREDIT";
631
+ readonly Debit: "DEBIT";
632
+ readonly Unknown: "UNKNOWN";
633
+ };
634
+ export type InterchangeFeeDirection = typeof InterchangeFeeDirection[keyof typeof InterchangeFeeDirection];
635
+ /**
636
+ *
637
+ * @export
638
+ * @interface Merchant
639
+ */
640
+ export interface Merchant {
641
+ /**
642
+ * ID assigned code each card acceptor, i.e. a merchant or a bank.
643
+ * @type {string}
644
+ * @memberof Merchant
645
+ */
646
+ 'id'?: string;
647
+ /**
648
+ * Merchant name as received from the card scheme. For ATMs, this can be a street address or a bank branch number.
649
+ * @type {string}
650
+ * @memberof Merchant
651
+ */
652
+ 'name'?: string;
653
+ /**
654
+ * The city where the transaction/withdrawal has occurred or where the merchant is registered.
655
+ * @type {string}
656
+ * @memberof Merchant
657
+ */
658
+ 'city'?: string;
659
+ /**
660
+ * The country where the transaction/withdrawal has occurred or where the merchant is registered.
661
+ * @type {string}
662
+ * @memberof Merchant
663
+ */
664
+ 'country'?: string;
665
+ /**
666
+ * The merchant\'s postal code.
667
+ * @type {string}
668
+ * @memberof Merchant
669
+ */
670
+ 'zipCode'?: string;
671
+ /**
672
+ * Contains the merchant\'s street address.
673
+ * @type {string}
674
+ * @memberof Merchant
675
+ */
676
+ 'address'?: string;
677
+ /**
678
+ *
679
+ * @type {MerchantCategory}
680
+ * @memberof Merchant
681
+ */
682
+ 'category'?: MerchantCategory;
683
+ /**
684
+ * Uniquely ID assigned to each terminal used by the merchant.
685
+ * @type {string}
686
+ * @memberof Merchant
687
+ */
688
+ 'terminalId'?: string;
689
+ /**
690
+ * The sub-merchant ID is used when merchant ID is not adequate to identify the merchant. Used when a merchant uses a payment facilitator.
691
+ * @type {string}
692
+ * @memberof Merchant
693
+ */
694
+ 'subMerchantId'?: string;
695
+ /**
696
+ * 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.
697
+ * @type {boolean}
698
+ * @memberof Merchant
699
+ */
700
+ 'partialApprovalCapable'?: boolean;
701
+ /**
702
+ * Unique ID assigned to the financial institution acting as the merchant\'s acquirer.
703
+ * @type {string}
704
+ * @memberof Merchant
705
+ */
706
+ 'acquirerId'?: string;
707
+ /**
708
+ * The country of the merchant\'s acquirer — mention the ISO-3166-1 alpha-3 country code.
709
+ * @type {string}
710
+ * @memberof Merchant
711
+ */
712
+ 'acquirerCountry'?: string;
713
+ /**
714
+ * Data an acquirer supplies in an acquirer-originated message, might be required for the issuer to return to the acquirer in a subsequent message.
715
+ * @type {string}
716
+ * @memberof Merchant
717
+ */
718
+ 'acquirerReferenceData'?: string;
719
+ }
720
+ /**
721
+ *
722
+ * @export
723
+ * @interface MerchantCategory
724
+ */
725
+ export interface MerchantCategory {
726
+ /**
727
+ * Merchant category code as per the card scheme classification. Categorisation is done based on the type of business or service the merchant provides.
728
+ * @type {string}
729
+ * @memberof MerchantCategory
730
+ */
731
+ 'code'?: string;
732
+ /**
733
+ * Description of the Merchant Category Code (MCC).
734
+ * @type {string}
735
+ * @memberof MerchantCategory
736
+ */
737
+ 'description'?: string;
738
+ /**
739
+ * Merchant Category Code (MCC) group as received from the scheme.
740
+ * @type {string}
741
+ * @memberof MerchantCategory
742
+ */
743
+ 'group'?: string;
744
+ }
745
+ /**
746
+ * Metadata relevant to the clearing file copy. <Note>As per the current implementation, we are using the `FINANCIAL` message category only.</Note>
747
+ * @export
748
+ * @enum {string}
749
+ */
750
+ export declare const MessageCategoryClearing: {
751
+ readonly Financial: "FINANCIAL";
752
+ readonly FinancialAddendum: "FINANCIAL_ADDENDUM";
753
+ readonly FeeCollection: "FEE_COLLECTION";
754
+ readonly Reconciliation: "RECONCILIATION";
755
+ readonly DocumentRequest: "DOCUMENT_REQUEST";
756
+ readonly Chargeback: "CHARGEBACK";
757
+ readonly ChargebackReversal: "CHARGEBACK_REVERSAL";
758
+ readonly Representment: "REPRESENTMENT";
759
+ readonly RepresentmentReversal: "REPRESENTMENT_REVERSAL";
760
+ };
761
+ export type MessageCategoryClearing = typeof MessageCategoryClearing[keyof typeof MessageCategoryClearing];
762
+ /**
763
+ * Identifies the message function of the clearing message.
764
+ * @export
765
+ * @enum {string}
766
+ */
767
+ export declare const MessageFunctionClearing: {
768
+ readonly Notification: "NOTIFICATION";
769
+ };
770
+ export type MessageFunctionClearing = typeof MessageFunctionClearing[keyof typeof MessageFunctionClearing];
771
+ /**
772
+ * Amount including currency.
773
+ * @export
774
+ * @interface Money
775
+ */
776
+ export interface Money {
777
+ /**
778
+ *
779
+ * @type {number}
780
+ * @memberof Money
781
+ */
782
+ 'amount': number;
783
+ /**
784
+ * A valid ISO 4217 currency code
785
+ * @type {string}
786
+ * @memberof Money
787
+ */
788
+ 'currency': string;
789
+ }
790
+ /**
791
+ *
792
+ * @export
793
+ * @interface ProcessedTransaction
794
+ */
795
+ export interface ProcessedTransaction {
796
+ /**
797
+ * 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.
798
+ * @type {string}
799
+ * @memberof ProcessedTransaction
800
+ */
801
+ 'authCode'?: string;
802
+ /**
803
+ * Number of days the authorisation is valid (applicable when merchants requests for extended authorisation period, longer than the default 7 days).
804
+ * @type {number}
805
+ * @memberof ProcessedTransaction
806
+ */
807
+ 'authValidity'?: number;
808
+ /**
809
+ * 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.
810
+ * @type {Money}
811
+ * @memberof ProcessedTransaction
812
+ */
813
+ 'billingAmount'?: Money;
814
+ /**
815
+ * The transaction amount in the local currency of the acquirer or the merchant, where the transaction occurred.
816
+ * @type {Money}
817
+ * @memberof ProcessedTransaction
818
+ */
819
+ 'transactionAmount'?: Money;
820
+ /**
821
+ * The amount of funds transferred between the acquirer and the issuer, equal to the `transactionAmount`, in the settlement currency.
822
+ * @type {Money}
823
+ * @memberof ProcessedTransaction
824
+ */
825
+ 'settlementAmount'?: Money;
826
+ /**
827
+ * Fee charged (for example, by the acquirer) for transaction activity.
828
+ * @type {Money}
829
+ * @memberof ProcessedTransaction
830
+ */
831
+ 'acquirerTransactionFeeAmount'?: Money;
832
+ /**
833
+ *
834
+ * @type {Array<TransactionFee>}
835
+ * @memberof ProcessedTransaction
836
+ */
837
+ 'issuerTransactionFees'?: Array<TransactionFee>;
838
+ /**
839
+ *
840
+ * @type {Array<CardholderVerificationMethod>}
841
+ * @memberof ProcessedTransaction
842
+ */
843
+ 'cardholderVerificationMethods'?: Array<CardholderVerificationMethod>;
844
+ /**
845
+ * Merchant/acquirer generated transaction reference number.
846
+ * @type {string}
847
+ * @memberof ProcessedTransaction
848
+ */
849
+ 'retrievalReferenceNumber'?: string;
850
+ /**
851
+ *
852
+ * @type {CardEntryMode}
853
+ * @memberof ProcessedTransaction
854
+ */
855
+ 'cardEntryMode'?: CardEntryMode;
856
+ /**
857
+ * Indicates whether the cardholder is physically present during transaction.
858
+ * @type {boolean}
859
+ * @memberof ProcessedTransaction
860
+ */
861
+ 'cardholderPresent'?: boolean;
862
+ /**
863
+ * Indicates whether the card is present at the point of service.
864
+ * @type {boolean}
865
+ * @memberof ProcessedTransaction
866
+ */
867
+ 'cardPresent'?: boolean;
868
+ /**
869
+ * Indicates whether the transaction is a recurring payment or merchant initiated. This implies whether the cardholder has approved the merchant initiated transaction.
870
+ * @type {boolean}
871
+ * @memberof ProcessedTransaction
872
+ */
873
+ 'merchantInitiated'?: boolean;
874
+ /**
875
+ * Date and time in the time zone where the transaction occurred.
876
+ * @type {string}
877
+ * @memberof ProcessedTransaction
878
+ */
879
+ 'transactionDateTime'?: string;
880
+ /**
881
+ * This value is present only for recurring transaction, and it\'s value is first original authorisation request in the chain.
882
+ * @type {string}
883
+ * @memberof ProcessedTransaction
884
+ */
885
+ 'originalTransactionId'?: string;
886
+ /**
887
+ *
888
+ * @type {TransactionTypeClearing}
889
+ * @memberof ProcessedTransaction
890
+ */
891
+ 'transactionType'?: TransactionTypeClearing;
892
+ /**
893
+ * Contains previous amounts in a Financial message that has been corrected, in transaction currency.
894
+ * @type {Money}
895
+ * @memberof ProcessedTransaction
896
+ */
897
+ 'originalAmount'?: Money;
898
+ /**
899
+ * Identifies the clearing systems processing date expressed in the local time zone of the clearing system.
900
+ * @type {string}
901
+ * @memberof ProcessedTransaction
902
+ */
903
+ 'reconciliationDate'?: string;
904
+ /**
905
+ * Identifies a reconciliation period in a reconciliation date.
906
+ * @type {string}
907
+ * @memberof ProcessedTransaction
908
+ */
909
+ 'reconciliationCycle'?: string;
910
+ /**
911
+ * Time when processed by Enfuce.
912
+ * @type {string}
913
+ * @memberof ProcessedTransaction
914
+ */
915
+ 'processedDateTime'?: string;
916
+ /**
917
+ *
918
+ * @type {InterchangeFee}
919
+ * @memberof ProcessedTransaction
920
+ */
921
+ 'interchangeFee'?: InterchangeFee;
922
+ /**
923
+ *
924
+ * @type {ExchangeRates}
925
+ * @memberof ProcessedTransaction
926
+ */
927
+ 'exchangeRates'?: ExchangeRates;
928
+ }
929
+ /**
930
+ *
931
+ * @export
932
+ * @interface Transaction
933
+ */
934
+ export interface Transaction {
935
+ /**
936
+ * 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.
937
+ * @type {string}
938
+ * @memberof Transaction
939
+ */
940
+ 'authCode'?: string;
941
+ /**
942
+ * Number of days the authorisation is valid (applicable when merchants requests for extended authorisation period, longer than the default 7 days).
943
+ * @type {number}
944
+ * @memberof Transaction
945
+ */
946
+ 'authValidity'?: number;
947
+ /**
948
+ * 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.
949
+ * @type {Money}
950
+ * @memberof Transaction
951
+ */
952
+ 'billingAmount'?: Money;
953
+ /**
954
+ * The transaction amount in the local currency of the acquirer or the merchant, where the transaction occurred.
955
+ * @type {Money}
956
+ * @memberof Transaction
957
+ */
958
+ 'transactionAmount'?: Money;
959
+ /**
960
+ * The amount of funds transferred between the acquirer and the issuer, equal to the `transactionAmount`, in the settlement currency.
961
+ * @type {Money}
962
+ * @memberof Transaction
963
+ */
964
+ 'settlementAmount'?: Money;
965
+ /**
966
+ * Fee charged (for example, by the acquirer) for transaction activity.
967
+ * @type {Money}
968
+ * @memberof Transaction
969
+ */
970
+ 'acquirerTransactionFeeAmount'?: Money;
971
+ /**
972
+ *
973
+ * @type {Array<TransactionFee>}
974
+ * @memberof Transaction
975
+ */
976
+ 'issuerTransactionFees'?: Array<TransactionFee>;
977
+ /**
978
+ *
979
+ * @type {Array<CardholderVerificationMethod>}
980
+ * @memberof Transaction
981
+ */
982
+ 'cardholderVerificationMethods'?: Array<CardholderVerificationMethod>;
983
+ /**
984
+ * Merchant/acquirer generated transaction reference number.
985
+ * @type {string}
986
+ * @memberof Transaction
987
+ */
988
+ 'retrievalReferenceNumber'?: string;
989
+ /**
990
+ *
991
+ * @type {CardEntryMode}
992
+ * @memberof Transaction
993
+ */
994
+ 'cardEntryMode'?: CardEntryMode;
995
+ /**
996
+ * Indicates whether the cardholder is physically present during transaction.
997
+ * @type {boolean}
998
+ * @memberof Transaction
999
+ */
1000
+ 'cardholderPresent'?: boolean;
1001
+ /**
1002
+ * Indicates whether the card is present at the point of service.
1003
+ * @type {boolean}
1004
+ * @memberof Transaction
1005
+ */
1006
+ 'cardPresent'?: boolean;
1007
+ /**
1008
+ * Indicates whether the transaction is a recurring payment or merchant initiated. This implies whether the cardholder has approved the merchant initiated transaction.
1009
+ * @type {boolean}
1010
+ * @memberof Transaction
1011
+ */
1012
+ 'merchantInitiated'?: boolean;
1013
+ /**
1014
+ * Date and time in the time zone where the transaction occurred.
1015
+ * @type {string}
1016
+ * @memberof Transaction
1017
+ */
1018
+ 'transactionDateTime'?: string;
1019
+ /**
1020
+ * This value is present only for recurring transaction, and it\'s value is first original authorisation request in the chain.
1021
+ * @type {string}
1022
+ * @memberof Transaction
1023
+ */
1024
+ 'originalTransactionId'?: string;
1025
+ }
1026
+ /**
1027
+ *
1028
+ * @export
1029
+ * @interface Transaction1
1030
+ */
1031
+ export interface Transaction1 {
1032
+ /**
1033
+ * 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.
1034
+ * @type {string}
1035
+ * @memberof Transaction1
1036
+ */
1037
+ 'authCode'?: string;
1038
+ /**
1039
+ * Number of days the authorisation is valid (applicable when merchants requests for extended authorisation period, longer than the default 7 days).
1040
+ * @type {number}
1041
+ * @memberof Transaction1
1042
+ */
1043
+ 'authValidity'?: number;
1044
+ /**
1045
+ * 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.
1046
+ * @type {Money}
1047
+ * @memberof Transaction1
1048
+ */
1049
+ 'billingAmount'?: Money;
1050
+ /**
1051
+ * The transaction amount in the local currency of the acquirer or the merchant, where the transaction occurred.
1052
+ * @type {Money}
1053
+ * @memberof Transaction1
1054
+ */
1055
+ 'transactionAmount'?: Money;
1056
+ /**
1057
+ * The amount of funds transferred between the acquirer and the issuer, equal to the `transactionAmount`, in the settlement currency.
1058
+ * @type {Money}
1059
+ * @memberof Transaction1
1060
+ */
1061
+ 'settlementAmount'?: Money;
1062
+ /**
1063
+ * Fee charged (for example, by the acquirer) for transaction activity.
1064
+ * @type {Money}
1065
+ * @memberof Transaction1
1066
+ */
1067
+ 'acquirerTransactionFeeAmount'?: Money;
1068
+ /**
1069
+ *
1070
+ * @type {Array<TransactionFee>}
1071
+ * @memberof Transaction1
1072
+ */
1073
+ 'issuerTransactionFees'?: Array<TransactionFee>;
1074
+ /**
1075
+ *
1076
+ * @type {Array<CardholderVerificationMethod>}
1077
+ * @memberof Transaction1
1078
+ */
1079
+ 'cardholderVerificationMethods'?: Array<CardholderVerificationMethod>;
1080
+ /**
1081
+ * Merchant/acquirer generated transaction reference number.
1082
+ * @type {string}
1083
+ * @memberof Transaction1
1084
+ */
1085
+ 'retrievalReferenceNumber'?: string;
1086
+ /**
1087
+ *
1088
+ * @type {CardEntryMode}
1089
+ * @memberof Transaction1
1090
+ */
1091
+ 'cardEntryMode'?: CardEntryMode;
1092
+ /**
1093
+ * Indicates whether the cardholder is physically present during transaction.
1094
+ * @type {boolean}
1095
+ * @memberof Transaction1
1096
+ */
1097
+ 'cardholderPresent'?: boolean;
1098
+ /**
1099
+ * Indicates whether the card is present at the point of service.
1100
+ * @type {boolean}
1101
+ * @memberof Transaction1
1102
+ */
1103
+ 'cardPresent'?: boolean;
1104
+ /**
1105
+ * Indicates whether the transaction is a recurring payment or merchant initiated. This implies whether the cardholder has approved the merchant initiated transaction.
1106
+ * @type {boolean}
1107
+ * @memberof Transaction1
1108
+ */
1109
+ 'merchantInitiated'?: boolean;
1110
+ /**
1111
+ * Date and time in the time zone where the transaction occurred.
1112
+ * @type {string}
1113
+ * @memberof Transaction1
1114
+ */
1115
+ 'transactionDateTime'?: string;
1116
+ /**
1117
+ * This value is present only for recurring transaction, and it\'s value is first original authorisation request in the chain.
1118
+ * @type {string}
1119
+ * @memberof Transaction1
1120
+ */
1121
+ 'originalTransactionId'?: string;
1122
+ /**
1123
+ *
1124
+ * @type {TransactionTypeClearing}
1125
+ * @memberof Transaction1
1126
+ */
1127
+ 'transactionType'?: TransactionTypeClearing;
1128
+ /**
1129
+ * Contains previous amounts in a Financial message that has been corrected, in transaction currency.
1130
+ * @type {Money}
1131
+ * @memberof Transaction1
1132
+ */
1133
+ 'originalAmount'?: Money;
1134
+ /**
1135
+ * Identifies the clearing systems processing date expressed in the local time zone of the clearing system.
1136
+ * @type {string}
1137
+ * @memberof Transaction1
1138
+ */
1139
+ 'reconciliationDate'?: string;
1140
+ /**
1141
+ * Identifies a reconciliation period in a reconciliation date.
1142
+ * @type {string}
1143
+ * @memberof Transaction1
1144
+ */
1145
+ 'reconciliationCycle'?: string;
1146
+ /**
1147
+ * Time when processed by Enfuce.
1148
+ * @type {string}
1149
+ * @memberof Transaction1
1150
+ */
1151
+ 'processedDateTime'?: string;
1152
+ /**
1153
+ *
1154
+ * @type {InterchangeFee}
1155
+ * @memberof Transaction1
1156
+ */
1157
+ 'interchangeFee'?: InterchangeFee;
1158
+ /**
1159
+ *
1160
+ * @type {ExchangeRates}
1161
+ * @memberof Transaction1
1162
+ */
1163
+ 'exchangeRates'?: ExchangeRates;
1164
+ /**
1165
+ * The amount (in ch billing currency) that the authorisation should be adjusted to in case a merchant makes an adjustment.
1166
+ * @type {Money}
1167
+ * @memberof Transaction1
1168
+ */
1169
+ 'replacementAmount'?: Money;
1170
+ /**
1171
+ * The cashback amount received at clearing time.
1172
+ * @type {Money}
1173
+ * @memberof Transaction1
1174
+ */
1175
+ 'cashbackAmount'?: Money;
1176
+ /**
1177
+ *
1178
+ * @type {ClearingStatus}
1179
+ * @memberof Transaction1
1180
+ */
1181
+ 'clearingStatus'?: ClearingStatus;
1182
+ /**
1183
+ * Indicates if transaction was cleared in a single operation.
1184
+ * @type {boolean}
1185
+ * @memberof Transaction1
1186
+ */
1187
+ 'partialClearingApplied'?: boolean;
1188
+ /**
1189
+ * Time of the authorization request.
1190
+ * @type {string}
1191
+ * @memberof Transaction1
1192
+ */
1193
+ 'authorizationProcessedDateTime'?: string;
1194
+ }
1195
+ /**
1196
+ *
1197
+ * @export
1198
+ * @interface TransactionFee
1199
+ */
1200
+ export interface TransactionFee {
1201
+ /**
1202
+ * Type of Issuer generated transaction fee in cardholder billing currency. Transaction based fees that are additional fees charged on top of the transaction.
1203
+ * @type {string}
1204
+ * @memberof TransactionFee
1205
+ */
1206
+ 'type'?: TransactionFeeTypeEnum;
1207
+ /**
1208
+ * Transaction fee amount in cardholder billing currency.
1209
+ * @type {Money}
1210
+ * @memberof TransactionFee
1211
+ */
1212
+ 'amount'?: Money;
1213
+ }
1214
+ export declare const TransactionFeeTypeEnum: {
1215
+ readonly CashFee: "CASH_FEE";
1216
+ readonly AtmFee: "ATM_FEE";
1217
+ readonly MarkupFee: "MARKUP_FEE";
1218
+ };
1219
+ export type TransactionFeeTypeEnum = typeof TransactionFeeTypeEnum[keyof typeof TransactionFeeTypeEnum];
1220
+ /**
1221
+ * The transaction Type
1222
+ * @export
1223
+ * @enum {string}
1224
+ */
1225
+ export declare const TransactionTypeClearing: {
1226
+ readonly Retail: "RETAIL";
1227
+ readonly Atm: "ATM";
1228
+ readonly Unique: "UNIQUE";
1229
+ readonly CashDisbursement: "CASH_DISBURSEMENT";
1230
+ readonly Credit: "CREDIT";
1231
+ readonly OriginalCredit: "ORIGINAL_CREDIT";
1232
+ readonly BalanceInquiry: "BALANCE_INQUIRY";
1233
+ readonly P2PDebit: "P2P_DEBIT";
1234
+ readonly P2PCredit: "P2P_CREDIT";
1235
+ readonly PinChange: "PIN_CHANGE";
1236
+ readonly PinUnblock: "PIN_UNBLOCK";
1237
+ readonly FeeCollectionDebit: "FEE_COLLECTION_DEBIT";
1238
+ readonly FeeCollectionCredit: "FEE_COLLECTION_CREDIT";
1239
+ readonly Cashback: "CASHBACK";
1240
+ readonly ConvenienceCheck: "CONVENIENCE_CHECK";
1241
+ readonly BalanceTransfer: "BALANCE_TRANSFER";
1242
+ readonly Reversal: "REVERSAL";
1243
+ readonly Aft: "AFT";
1244
+ };
1245
+ export type TransactionTypeClearing = typeof TransactionTypeClearing[keyof typeof TransactionTypeClearing];