@pisell/private-materials 6.6.62 → 6.6.63

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 (203) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/index.js +1 -1
  5. package/build/lowcode/meta.js +1 -1
  6. package/build/lowcode/preview.js +8 -8
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +9 -9
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +9 -9
  11. package/es/components/booking/components/footer/amount.js +4 -3
  12. package/es/components/booking/components/footer/utils.js +10 -3
  13. package/es/components/booking/components/voucher/index.js +1 -1
  14. package/es/components/booking/info2/service/editService/index.js +76 -8
  15. package/es/components/booking/info2/service/editService/utils.d.ts +1 -0
  16. package/es/components/booking/info2/service/editService/utils.js +16 -0
  17. package/es/components/booking/payments/index.js +1 -1
  18. package/es/components/checkout/hooks/useWalletPass.d.ts +1 -1
  19. package/es/components/eftpos/PairModal/hooks.d.ts +27 -0
  20. package/es/components/eftpos/PairModal/hooks.js +67 -0
  21. package/es/components/eftpos/PairModal/index.d.ts +11 -0
  22. package/es/components/eftpos/PairModal/index.js +246 -0
  23. package/es/components/eftpos/PairModal/index.less +70 -0
  24. package/es/components/eftpos/SettlementModal/Action.d.ts +7 -0
  25. package/es/components/eftpos/SettlementModal/Action.js +141 -0
  26. package/es/components/eftpos/SettlementModal/index.d.ts +7 -0
  27. package/es/components/eftpos/SettlementModal/index.js +135 -0
  28. package/es/components/eftpos/SettlementModal/index.less +33 -0
  29. package/es/components/eftpos/SettlementModal/serve.d.ts +8 -0
  30. package/es/components/eftpos/SettlementModal/serve.js +171 -0
  31. package/es/components/eftpos/SettlementModal/types.d.ts +138 -0
  32. package/es/components/eftpos/SettlementModal/types.js +35 -0
  33. package/es/components/eftpos/SettlementModal/utils.d.ts +18 -0
  34. package/es/components/eftpos/SettlementModal/utils.js +351 -0
  35. package/es/components/eftpos/assets/mx51SCI.svg +15 -0
  36. package/es/components/eftpos/const.d.ts +3 -1
  37. package/es/components/eftpos/const.js +2 -0
  38. package/es/components/eftpos/device.d.ts +3 -1
  39. package/es/components/eftpos/device.js +14 -3
  40. package/es/components/eftpos/hooks.d.ts +13 -0
  41. package/es/components/eftpos/hooks.js +35 -0
  42. package/es/components/eftpos/index.js +198 -24
  43. package/es/components/eftpos/index.less +32 -1
  44. package/es/components/eftpos/locales.d.ts +80 -0
  45. package/es/components/eftpos/locales.js +205 -25
  46. package/es/components/eftpos/table.js +47 -3
  47. package/es/components/eftposPay/aggregatePayment/hooks/useMicropay.d.ts +2 -2
  48. package/es/components/eftposPay/aggregatePayment/hooks/usePayment.d.ts +8 -0
  49. package/es/components/eftposPay/aggregatePayment/hooks/usePayment.js +145 -0
  50. package/es/components/eftposPay/aggregatePayment/index.d.ts +2 -1
  51. package/es/components/eftposPay/aggregatePayment/index.js +2 -1
  52. package/es/components/eftposPay/aggregatePayment/mock.d.ts +495 -0
  53. package/es/components/eftposPay/aggregatePayment/mock.js +567 -0
  54. package/es/components/eftposPay/aggregatePayment/service.js +1 -0
  55. package/es/components/eftposPay/aggregatePayment/types.d.ts +12 -12
  56. package/es/components/eftposPay/aggregatePayment/types.js +4 -8
  57. package/es/components/eftposPay/aggregatePayment/utils/payment.d.ts +13 -13
  58. package/es/components/eftposPay/aggregatePayment/utils/payment.js +231 -168
  59. package/es/components/eftposPay/amount.js +15 -1
  60. package/es/components/eftposPay/app.js +2 -3
  61. package/es/components/eftposPay/component/fail/failCustom.js +13 -4
  62. package/es/components/eftposPay/component/fail/index.js +12 -5
  63. package/es/components/eftposPay/component/fail/network.js +3 -0
  64. package/es/components/eftposPay/component/fail/unknow.js +8 -0
  65. package/es/components/eftposPay/component/manual/index.js +17 -3
  66. package/es/components/eftposPay/component/signature/index.js +3 -0
  67. package/es/components/eftposPay/const.d.ts +8 -3
  68. package/es/components/eftposPay/const.js +2 -0
  69. package/es/components/eftposPay/device.js +225 -38
  70. package/es/components/eftposPay/helper.d.ts +3 -0
  71. package/es/components/eftposPay/helper.js +2 -1
  72. package/es/components/eftposPay/hooks.d.ts +1 -1
  73. package/es/components/eftposPay/index.js +50 -13
  74. package/es/components/eftposPay/linkly/const.js +1 -1
  75. package/es/components/eftposPay/linkly/hooks/normal.js +21 -68
  76. package/es/components/eftposPay/linkly/hooks/useTimeQuery.js +20 -81
  77. package/es/components/eftposPay/linkly/index.js +11 -23
  78. package/es/components/eftposPay/locales.d.ts +15 -0
  79. package/es/components/eftposPay/locales.js +30 -15
  80. package/es/components/eftposPay/manufacturer.d.ts +1 -0
  81. package/es/components/eftposPay/manufacturer.js +4 -0
  82. package/es/components/eftposPay/mx51/Action.d.ts +6 -0
  83. package/es/components/eftposPay/mx51/Action.js +144 -0
  84. package/es/components/eftposPay/mx51/const.d.ts +5 -0
  85. package/es/components/eftposPay/mx51/const.js +69 -0
  86. package/es/components/eftposPay/mx51/index.d.ts +6 -0
  87. package/es/components/eftposPay/mx51/index.js +498 -0
  88. package/es/components/eftposPay/mx51/types.d.ts +142 -0
  89. package/es/components/eftposPay/mx51/types.js +35 -0
  90. package/es/components/eftposPay/mx51/utils.d.ts +10 -0
  91. package/es/components/eftposPay/mx51/utils.js +121 -0
  92. package/es/components/eftposPay/pay.js +21 -9
  93. package/es/components/eftposPay/payo/config.js +39 -5
  94. package/es/components/eftposPay/payo/const.js +1 -1
  95. package/es/components/eftposPay/payo/hooks.js +3 -12
  96. package/es/components/eftposPay/payo/payment.js +69 -136
  97. package/es/components/eftposPay/store/index.d.ts +4 -8
  98. package/es/components/eftposPay/tip.js +5 -0
  99. package/es/components/eftposPay/tyro/const.js +1 -1
  100. package/es/components/eftposPay/tyro/index.js +44 -11
  101. package/es/components/eftposPay/utils/payLog.d.ts +81 -0
  102. package/es/components/eftposPay/utils/payLog.js +458 -0
  103. package/es/components/eftposPay/windcave/const.js +1 -1
  104. package/es/components/eftposPay/windcave/receiptAction.js +5 -0
  105. package/es/components/eftposPay/windcave/windcave.js +37 -38
  106. package/lib/components/booking/components/footer/amount.js +3 -3
  107. package/lib/components/booking/components/footer/utils.js +12 -5
  108. package/lib/components/booking/components/voucher/index.js +1 -1
  109. package/lib/components/booking/info2/service/editService/index.js +56 -5
  110. package/lib/components/booking/info2/service/editService/utils.d.ts +1 -0
  111. package/lib/components/booking/info2/service/editService/utils.js +16 -0
  112. package/lib/components/booking/payments/index.js +1 -1
  113. package/lib/components/checkout/hooks/useWalletPass.d.ts +1 -1
  114. package/lib/components/eftpos/PairModal/hooks.d.ts +27 -0
  115. package/lib/components/eftpos/PairModal/hooks.js +70 -0
  116. package/lib/components/eftpos/PairModal/index.d.ts +11 -0
  117. package/lib/components/eftpos/PairModal/index.js +197 -0
  118. package/lib/components/eftpos/PairModal/index.less +70 -0
  119. package/lib/components/eftpos/SettlementModal/Action.d.ts +7 -0
  120. package/lib/components/eftpos/SettlementModal/Action.js +153 -0
  121. package/lib/components/eftpos/SettlementModal/index.d.ts +7 -0
  122. package/lib/components/eftpos/SettlementModal/index.js +170 -0
  123. package/lib/components/eftpos/SettlementModal/index.less +33 -0
  124. package/lib/components/eftpos/SettlementModal/serve.d.ts +8 -0
  125. package/lib/components/eftpos/SettlementModal/serve.js +45 -0
  126. package/lib/components/eftpos/SettlementModal/types.d.ts +138 -0
  127. package/lib/components/eftpos/SettlementModal/types.js +43 -0
  128. package/lib/components/eftpos/SettlementModal/utils.d.ts +18 -0
  129. package/lib/components/eftpos/SettlementModal/utils.js +248 -0
  130. package/lib/components/eftpos/assets/mx51SCI.svg +15 -0
  131. package/lib/components/eftpos/const.d.ts +3 -1
  132. package/lib/components/eftpos/const.js +2 -0
  133. package/lib/components/eftpos/device.d.ts +3 -1
  134. package/lib/components/eftpos/device.js +13 -3
  135. package/lib/components/eftpos/hooks.d.ts +13 -0
  136. package/lib/components/eftpos/hooks.js +30 -0
  137. package/lib/components/eftpos/index.js +121 -8
  138. package/lib/components/eftpos/index.less +32 -1
  139. package/lib/components/eftpos/locales.d.ts +80 -0
  140. package/lib/components/eftpos/locales.js +231 -21
  141. package/lib/components/eftpos/table.js +30 -2
  142. package/lib/components/eftposPay/aggregatePayment/hooks/useMicropay.d.ts +2 -2
  143. package/lib/components/eftposPay/aggregatePayment/hooks/usePayment.d.ts +8 -0
  144. package/lib/components/eftposPay/aggregatePayment/hooks/usePayment.js +171 -0
  145. package/lib/components/eftposPay/aggregatePayment/index.d.ts +2 -1
  146. package/lib/components/eftposPay/aggregatePayment/index.js +5 -2
  147. package/lib/components/eftposPay/aggregatePayment/mock.d.ts +495 -0
  148. package/lib/components/eftposPay/aggregatePayment/mock.js +679 -0
  149. package/lib/components/eftposPay/aggregatePayment/types.d.ts +12 -12
  150. package/lib/components/eftposPay/aggregatePayment/utils/payment.d.ts +13 -13
  151. package/lib/components/eftposPay/aggregatePayment/utils/payment.js +173 -123
  152. package/lib/components/eftposPay/amount.js +13 -1
  153. package/lib/components/eftposPay/app.js +4 -5
  154. package/lib/components/eftposPay/component/fail/failCustom.js +10 -2
  155. package/lib/components/eftposPay/component/fail/index.js +10 -2
  156. package/lib/components/eftposPay/component/fail/network.js +3 -0
  157. package/lib/components/eftposPay/component/fail/unknow.js +8 -0
  158. package/lib/components/eftposPay/component/manual/index.js +16 -2
  159. package/lib/components/eftposPay/component/signature/index.js +3 -0
  160. package/lib/components/eftposPay/const.d.ts +8 -3
  161. package/lib/components/eftposPay/const.js +2 -0
  162. package/lib/components/eftposPay/device.js +114 -25
  163. package/lib/components/eftposPay/helper.d.ts +3 -0
  164. package/lib/components/eftposPay/helper.js +2 -1
  165. package/lib/components/eftposPay/hooks.d.ts +1 -1
  166. package/lib/components/eftposPay/index.js +38 -13
  167. package/lib/components/eftposPay/linkly/const.js +1 -1
  168. package/lib/components/eftposPay/linkly/hooks/normal.js +22 -43
  169. package/lib/components/eftposPay/linkly/hooks/useTimeQuery.js +13 -65
  170. package/lib/components/eftposPay/linkly/index.js +8 -10
  171. package/lib/components/eftposPay/locales.d.ts +15 -0
  172. package/lib/components/eftposPay/locales.js +30 -15
  173. package/lib/components/eftposPay/manufacturer.d.ts +1 -0
  174. package/lib/components/eftposPay/manufacturer.js +6 -0
  175. package/lib/components/eftposPay/mx51/Action.d.ts +6 -0
  176. package/lib/components/eftposPay/mx51/Action.js +154 -0
  177. package/lib/components/eftposPay/mx51/const.d.ts +5 -0
  178. package/lib/components/eftposPay/mx51/const.js +85 -0
  179. package/lib/components/eftposPay/mx51/index.d.ts +6 -0
  180. package/lib/components/eftposPay/mx51/index.js +433 -0
  181. package/lib/components/eftposPay/mx51/types.d.ts +142 -0
  182. package/lib/components/eftposPay/mx51/types.js +43 -0
  183. package/lib/components/eftposPay/mx51/utils.d.ts +10 -0
  184. package/lib/components/eftposPay/mx51/utils.js +115 -0
  185. package/lib/components/eftposPay/pay.js +13 -3
  186. package/lib/components/eftposPay/payo/config.js +16 -8
  187. package/lib/components/eftposPay/payo/const.js +1 -1
  188. package/lib/components/eftposPay/payo/hooks.js +12 -10
  189. package/lib/components/eftposPay/payo/payment.js +31 -65
  190. package/lib/components/eftposPay/store/index.d.ts +4 -8
  191. package/lib/components/eftposPay/tip.js +5 -0
  192. package/lib/components/eftposPay/tyro/const.js +1 -1
  193. package/lib/components/eftposPay/tyro/index.js +21 -17
  194. package/lib/components/eftposPay/utils/payLog.d.ts +81 -0
  195. package/lib/components/eftposPay/utils/payLog.js +321 -0
  196. package/lib/components/eftposPay/windcave/const.js +1 -1
  197. package/lib/components/eftposPay/windcave/receiptAction.js +5 -0
  198. package/lib/components/eftposPay/windcave/windcave.js +27 -29
  199. package/package.json +2 -2
  200. package/es/components/eftposPay/utils/log/index.d.ts +0 -110
  201. package/es/components/eftposPay/utils/log/index.js +0 -371
  202. package/lib/components/eftposPay/utils/log/index.d.ts +0 -110
  203. package/lib/components/eftposPay/utils/log/index.js +0 -294
@@ -0,0 +1,495 @@
1
+ export declare const version1: {
2
+ code: number;
3
+ message: string;
4
+ data: {
5
+ external_unified_response: {
6
+ external_unified_status: string;
7
+ external_unified_message: string;
8
+ transaction: {
9
+ id: string;
10
+ version: number;
11
+ status: string;
12
+ message: string;
13
+ merchant_receipt: null;
14
+ customer_receipt: null;
15
+ result_amounts: null;
16
+ result_financial_status: null;
17
+ pos_instructions: {
18
+ auto_actions: null;
19
+ action_form: {
20
+ layout: null;
21
+ properties: null;
22
+ details: {
23
+ 'Pairing ID': string;
24
+ TID: string;
25
+ 'Transaction ID': string;
26
+ 'Transaction Version': string;
27
+ };
28
+ };
29
+ };
30
+ };
31
+ };
32
+ };
33
+ };
34
+ export declare const version2: {
35
+ code: number;
36
+ message: string;
37
+ data: {
38
+ external_unified_response: {
39
+ external_unified_status: string;
40
+ external_unified_message: string;
41
+ transaction: {
42
+ id: string;
43
+ version: number;
44
+ status: string;
45
+ message: string;
46
+ merchant_receipt: null;
47
+ customer_receipt: null;
48
+ result_amounts: null;
49
+ result_financial_status: null;
50
+ pos_instructions: {
51
+ auto_actions: null;
52
+ action_form: {
53
+ layout: {
54
+ type: string;
55
+ elements: {
56
+ label: string;
57
+ key: string;
58
+ }[];
59
+ }[];
60
+ properties: {
61
+ cancel_transaction: {
62
+ type: string;
63
+ submit_url: string;
64
+ action: null;
65
+ };
66
+ };
67
+ details: {
68
+ 'Pairing ID': string;
69
+ TID: string;
70
+ 'Transaction ID': string;
71
+ 'Transaction Version': string;
72
+ };
73
+ };
74
+ };
75
+ };
76
+ };
77
+ };
78
+ };
79
+ export declare const version3: {
80
+ code: number;
81
+ message: string;
82
+ data: {
83
+ external_unified_response: {
84
+ external_unified_status: string;
85
+ external_unified_message: string;
86
+ transaction: {
87
+ id: string;
88
+ version: number;
89
+ status: string;
90
+ message: string;
91
+ merchant_receipt: null;
92
+ customer_receipt: null;
93
+ result_amounts: null;
94
+ result_financial_status: null;
95
+ pos_instructions: {
96
+ auto_actions: null;
97
+ action_form: {
98
+ layout: {
99
+ type: string;
100
+ elements: {
101
+ label: string;
102
+ key: string;
103
+ }[];
104
+ }[];
105
+ properties: {
106
+ cancel_transaction: {
107
+ type: string;
108
+ submit_url: string;
109
+ action: null;
110
+ };
111
+ };
112
+ details: {
113
+ 'Pairing ID': string;
114
+ TID: string;
115
+ 'Transaction ID': string;
116
+ 'Transaction Version': string;
117
+ };
118
+ };
119
+ };
120
+ };
121
+ };
122
+ };
123
+ };
124
+ export declare const version4: {
125
+ code: number;
126
+ message: string;
127
+ data: {
128
+ external_unified_response: {
129
+ external_unified_status: string;
130
+ external_unified_message: string;
131
+ transaction: {
132
+ id: string;
133
+ version: number;
134
+ status: string;
135
+ message: string;
136
+ merchant_receipt: null;
137
+ customer_receipt: null;
138
+ result_amounts: null;
139
+ result_financial_status: null;
140
+ pos_instructions: {
141
+ auto_actions: null;
142
+ action_form: {
143
+ layout: {
144
+ type: string;
145
+ elements: {
146
+ label: string;
147
+ key: string;
148
+ }[];
149
+ }[];
150
+ properties: {
151
+ cancel_transaction: {
152
+ type: string;
153
+ submit_url: string;
154
+ action: null;
155
+ };
156
+ };
157
+ details: {
158
+ 'Pairing ID': string;
159
+ TID: string;
160
+ 'Transaction ID': string;
161
+ 'Transaction Version': string;
162
+ };
163
+ };
164
+ };
165
+ };
166
+ };
167
+ };
168
+ };
169
+ export declare const version5: {
170
+ code: number;
171
+ message: string;
172
+ data: {
173
+ external_unified_response: {
174
+ external_unified_status: string;
175
+ external_unified_message: string;
176
+ transaction: {
177
+ id: string;
178
+ version: number;
179
+ status: string;
180
+ message: string;
181
+ merchant_receipt: null;
182
+ customer_receipt: null;
183
+ result_amounts: null;
184
+ result_financial_status: null;
185
+ pos_instructions: {
186
+ auto_actions: null;
187
+ action_form: {
188
+ layout: {
189
+ type: string;
190
+ elements: {
191
+ label: string;
192
+ key: string;
193
+ }[];
194
+ }[];
195
+ properties: {
196
+ cancel_transaction: {
197
+ type: string;
198
+ submit_url: string;
199
+ action: null;
200
+ };
201
+ };
202
+ details: {
203
+ 'Pairing ID': string;
204
+ TID: string;
205
+ 'Transaction ID': string;
206
+ 'Transaction Version': string;
207
+ };
208
+ };
209
+ };
210
+ };
211
+ };
212
+ };
213
+ };
214
+ export declare const version_singnature: {
215
+ code: number;
216
+ message: string;
217
+ data: {
218
+ external_unified_response: {
219
+ external_unified_status: string;
220
+ external_unified_message: string;
221
+ action: string;
222
+ transaction: {
223
+ id: string;
224
+ version: number;
225
+ status: string;
226
+ message: string;
227
+ merchant_receipt: string;
228
+ customer_receipt: null;
229
+ result_amounts: null;
230
+ result_financial_status: null;
231
+ pos_instructions: {
232
+ auto_actions: null;
233
+ action_form: {
234
+ layout: {
235
+ type: string;
236
+ elements: {
237
+ label: string;
238
+ key: string;
239
+ }[];
240
+ }[];
241
+ properties: {
242
+ approve_signature: {
243
+ type: string;
244
+ submit_url: string;
245
+ action: null;
246
+ };
247
+ decline_signature: {
248
+ type: string;
249
+ submit_url: string;
250
+ action: null;
251
+ };
252
+ helper_text: {
253
+ type: string;
254
+ text: string;
255
+ };
256
+ print_merchant_receipt: {
257
+ type: string;
258
+ submit_url: null;
259
+ action: string;
260
+ };
261
+ };
262
+ details: {
263
+ 'Pairing ID': string;
264
+ TID: string;
265
+ 'Transaction ID': string;
266
+ 'Transaction Version': string;
267
+ };
268
+ };
269
+ };
270
+ };
271
+ };
272
+ };
273
+ };
274
+ export declare const version_success: {
275
+ code: number;
276
+ message: string;
277
+ data: {
278
+ external_unified_response: {
279
+ external_unified_status: string;
280
+ external_unified_message: string;
281
+ transaction: {
282
+ id: string;
283
+ version: number;
284
+ status: string;
285
+ message: string;
286
+ merchant_receipt: string;
287
+ customer_receipt: string;
288
+ result_amounts: {
289
+ purchase_amount: number;
290
+ tip_amount: number;
291
+ surcharge_amount: number;
292
+ cashout_amount: number;
293
+ refund_amount: number;
294
+ moto_amount: number;
295
+ };
296
+ result_financial_status: string;
297
+ pos_instructions: {
298
+ auto_actions: null;
299
+ action_form: {
300
+ layout: {
301
+ type: string;
302
+ elements: {
303
+ label: string;
304
+ key: string;
305
+ }[];
306
+ }[];
307
+ properties: {
308
+ print_customer_receipt: {
309
+ type: string;
310
+ submit_url: null;
311
+ action: string;
312
+ };
313
+ print_merchant_receipt: {
314
+ type: string;
315
+ submit_url: null;
316
+ action: string;
317
+ };
318
+ transaction_complete: {
319
+ type: string;
320
+ submit_url: null;
321
+ action: string;
322
+ };
323
+ };
324
+ details: {
325
+ 'Pairing ID': string;
326
+ TID: string;
327
+ 'Transaction ID': string;
328
+ 'Transaction Version': string;
329
+ };
330
+ };
331
+ };
332
+ };
333
+ };
334
+ };
335
+ };
336
+ export declare const version_fail: {
337
+ code: number;
338
+ message: string;
339
+ data: {
340
+ external_unified_response: {
341
+ external_unified_status: string;
342
+ external_unified_message: string;
343
+ transaction: {
344
+ id: string;
345
+ version: number;
346
+ status: string;
347
+ message: string;
348
+ merchant_receipt: null;
349
+ customer_receipt: null;
350
+ result_amounts: {
351
+ purchase_amount: number;
352
+ tip_amount: number;
353
+ surcharge_amount: number;
354
+ cashout_amount: number;
355
+ refund_amount: number;
356
+ moto_amount: number;
357
+ };
358
+ result_financial_status: string;
359
+ pos_instructions: {
360
+ auto_actions: null;
361
+ action_form: {
362
+ layout: {
363
+ type: string;
364
+ elements: {
365
+ label: string;
366
+ key: string;
367
+ }[];
368
+ }[];
369
+ properties: {
370
+ retry_transaction: {
371
+ type: string;
372
+ submit_url: null;
373
+ action: string;
374
+ };
375
+ transaction_complete: {
376
+ type: string;
377
+ submit_url: null;
378
+ action: string;
379
+ };
380
+ };
381
+ details: {
382
+ 'Pairing ID': string;
383
+ TID: string;
384
+ 'Transaction ID': string;
385
+ 'Transaction Version': string;
386
+ };
387
+ };
388
+ };
389
+ };
390
+ };
391
+ };
392
+ };
393
+ export declare const version_final: {
394
+ code: number;
395
+ message: string;
396
+ data: {
397
+ external_unified_response: {
398
+ message: string;
399
+ response_code: number;
400
+ action: string;
401
+ external_service_fee: string;
402
+ external_unified_status: string;
403
+ transaction: {
404
+ id: string;
405
+ version: number;
406
+ status: string;
407
+ message: string;
408
+ merchant_receipt: string;
409
+ customer_receipt: null;
410
+ result_amounts: null;
411
+ result_financial_status: null;
412
+ pos_instructions: {
413
+ auto_actions: string[];
414
+ action_form: {
415
+ layout: ({
416
+ type: string;
417
+ elements: {
418
+ label: string;
419
+ key: string;
420
+ }[];
421
+ } | {
422
+ type: string;
423
+ elements: {
424
+ label: null;
425
+ key: string;
426
+ }[];
427
+ })[];
428
+ properties: {
429
+ approve_signature: {
430
+ type: string;
431
+ submit_url: string;
432
+ action: null;
433
+ };
434
+ call_test_function: {
435
+ type: string;
436
+ submit_url: null;
437
+ action: string;
438
+ };
439
+ decline_signature: {
440
+ type: string;
441
+ submit_url: string;
442
+ action: null;
443
+ };
444
+ helper_text: {
445
+ type: string;
446
+ text: string;
447
+ };
448
+ image_1: {
449
+ type: string;
450
+ mime: string;
451
+ encoding: string;
452
+ data: string;
453
+ };
454
+ input_1: {
455
+ type: string;
456
+ name: string;
457
+ };
458
+ input_2: {
459
+ type: string;
460
+ name: string;
461
+ };
462
+ submit_to_api: {
463
+ type: string;
464
+ submit_url: string;
465
+ action: null;
466
+ };
467
+ text_1: {
468
+ type: string;
469
+ text: string;
470
+ };
471
+ text_2: {
472
+ type: string;
473
+ text: string;
474
+ };
475
+ text_without_label: {
476
+ type: string;
477
+ text: string;
478
+ };
479
+ };
480
+ details: {
481
+ 'Label 1': string;
482
+ 'Label 2': string;
483
+ 'Label 3': string;
484
+ 'Pairing ID': string;
485
+ TID: string;
486
+ 'Transaction ID': string;
487
+ 'Transaction Version': string;
488
+ };
489
+ };
490
+ };
491
+ };
492
+ };
493
+ request_version: string;
494
+ };
495
+ };