@pisell/private-materials 6.3.114 → 6.3.116

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 (281) 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/meta.js +1 -1
  5. package/build/lowcode/render/default/view.js +1 -1
  6. package/build/lowcode/view.js +1 -1
  7. package/es/components/booking/addons/model.d.ts +1 -10
  8. package/es/components/booking/forms/model.d.ts +1 -10
  9. package/es/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  10. package/es/components/booking/info/model.d.ts +1 -10
  11. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  12. package/es/components/booking/info/service2/utils.d.ts +1 -1
  13. package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
  14. package/es/components/booking/model.d.ts +1 -9
  15. package/es/components/booking/notes/model.d.ts +1 -10
  16. package/es/components/booking/payments/model.d.ts +1 -10
  17. package/es/components/eftpos/index.js +3 -3
  18. package/es/components/eftposPay/aggregatePayment/utils/payment.js +7 -1
  19. package/es/components/eftposPay/device.js +7 -3
  20. package/es/components/eftposPay/hooks.d.ts +2 -2
  21. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
  22. package/es/components/pay/toC/model.d.ts +1 -9
  23. package/es/components/schedules/model.d.ts +1 -9
  24. package/es/components/shoppingCart/components/Empty/index.d.ts +1 -0
  25. package/lib/components/booking/addons/model.d.ts +1 -10
  26. package/lib/components/booking/forms/model.d.ts +1 -10
  27. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  28. package/lib/components/booking/info/model.d.ts +1 -10
  29. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  30. package/lib/components/booking/info/service2/utils.d.ts +1 -1
  31. package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
  32. package/lib/components/booking/model.d.ts +1 -9
  33. package/lib/components/booking/notes/model.d.ts +1 -10
  34. package/lib/components/booking/payments/model.d.ts +1 -10
  35. package/lib/components/eftpos/index.js +3 -3
  36. package/lib/components/eftposPay/aggregatePayment/utils/payment.js +6 -1
  37. package/lib/components/eftposPay/device.js +24 -21
  38. package/lib/components/eftposPay/hooks.d.ts +2 -2
  39. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
  40. package/lib/components/pay/toC/model.d.ts +1 -9
  41. package/lib/components/schedules/model.d.ts +1 -9
  42. package/lib/components/shoppingCart/components/Empty/index.d.ts +1 -0
  43. package/package.json +3 -3
  44. package/es/components/appointmentBooking/components/Date/state.d.ts +0 -63
  45. package/es/components/appointmentBooking/locales.d.ts +0 -366
  46. package/es/components/authentication/admin/AuthMethods/locales.d.ts +0 -249
  47. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +0 -84
  48. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +0 -41
  49. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +0 -72
  50. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +0 -33
  51. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +0 -27
  52. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +0 -66
  53. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +0 -26
  54. package/es/components/authentication/admin/ChannelAuthSetting/locales.d.ts +0 -39
  55. package/es/components/authentication/admin/CustomerAuth/locales.d.ts +0 -66
  56. package/es/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +0 -108
  57. package/es/components/authentication/admin/DeviceAuth/locales.d.ts +0 -57
  58. package/es/components/authentication/admin/OAuthConfig/locales.d.ts +0 -90
  59. package/es/components/authentication/admin/OrgAdminAuth/locales.d.ts +0 -54
  60. package/es/components/authentication/admin/POSOperatorAuth/locales.d.ts +0 -48
  61. package/es/components/authentication/admin/SaaSAdminAuth/locales.d.ts +0 -54
  62. package/es/components/booking/components/tabPane/index.d.ts +0 -4
  63. package/es/components/booking/dashboard/serve.d.ts +0 -1
  64. package/es/components/booking/editBookingModal/locales.d.ts +0 -21
  65. package/es/components/booking/editBookingModal/mock.d.ts +0 -807
  66. package/es/components/booking/forms/serve.d.ts +0 -18
  67. package/es/components/booking/hooks/useIsBooking4Shop.d.ts +0 -1
  68. package/es/components/booking/info/client/serve.d.ts +0 -2
  69. package/es/components/booking/info/hooks/useHolderConfig.d.ts +0 -9
  70. package/es/components/booking/info/pet/serve.d.ts +0 -1
  71. package/es/components/booking/info/service/addTimeModal/serve.d.ts +0 -5
  72. package/es/components/booking/info/service/serve.d.ts +0 -20
  73. package/es/components/booking/info2/serve.d.ts +0 -6
  74. package/es/components/booking/info2/service/addService/mock.d.ts +0 -214
  75. package/es/components/booking/locales.d.ts +0 -846
  76. package/es/components/eftpos/PairModal/hooks.d.ts +0 -27
  77. package/es/components/eftpos/SettlementModal/Action.d.ts +0 -8
  78. package/es/components/eftpos/SettlementModal/types.d.ts +0 -138
  79. package/es/components/eftpos/const.d.ts +0 -66
  80. package/es/components/eftpos/hooks.d.ts +0 -46
  81. package/es/components/eftpos/locales.d.ts +0 -138
  82. package/es/components/eftposPay/aggregatePayment/index.d.ts +0 -3
  83. package/es/components/eftposPay/aggregatePayment/mock.d.ts +0 -495
  84. package/es/components/eftposPay/aggregatePayment/types.d.ts +0 -101
  85. package/es/components/eftposPay/app.d.ts +0 -11
  86. package/es/components/eftposPay/const.d.ts +0 -191
  87. package/es/components/eftposPay/locales.d.ts +0 -333
  88. package/es/components/eftposPay/mx51/Action.d.ts +0 -7
  89. package/es/components/eftposPay/mx51/types.d.ts +0 -138
  90. package/es/components/eftposPay/mx51/utils.d.ts +0 -10
  91. package/es/components/eftposPay/store/index.d.ts +0 -355
  92. package/es/components/eventBooking/components/Voucher/components/locales.d.ts +0 -39
  93. package/es/components/eventBooking/locales.d.ts +0 -246
  94. package/es/components/kioskSkuDetail/locales.d.ts +0 -27
  95. package/es/components/login/locales.d.ts +0 -24
  96. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +0 -6
  97. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -2
  98. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -2
  99. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -3
  100. package/es/components/pay/toC/locales.d.ts +0 -307
  101. package/es/components/pinModal/locales.d.ts +0 -27
  102. package/es/components/pinVerifyModal/locales.d.ts +0 -24
  103. package/es/components/pisellSelectCustomerModal/locales.d.ts +0 -81
  104. package/es/components/productExtension/locales.d.ts +0 -48
  105. package/es/components/productSelect/locales.d.ts +0 -18
  106. package/es/components/ruleSetting/locales.d.ts +0 -48
  107. package/es/components/schedules/locales.d.ts +0 -87
  108. package/es/components/shoppingCart/Provider.d.ts +0 -3
  109. package/es/components/shoppingCart/locales.d.ts +0 -33
  110. package/es/components/shoppingCart/mock.d.ts +0 -40
  111. package/es/components/shoppingCart/type.d.ts +0 -48
  112. package/es/components/shoppingCart/utils.d.ts +0 -63
  113. package/es/components/stepController/locales.d.ts +0 -27
  114. package/es/components/subTotal/locales.d.ts +0 -42
  115. package/es/components/systemSettings/registry/locales.d.ts +0 -272
  116. package/es/components/systemSettings/registry/services.d.ts +0 -77
  117. package/es/components/systemSettings/registry/types.d.ts +0 -126
  118. package/es/components/taxSelect/locales.d.ts +0 -24
  119. package/es/components/ticketBooking/locales.d.ts +0 -174
  120. package/es/components/wallet/utils.d.ts +0 -48
  121. package/es/components/walletList/locales.d.ts +0 -27
  122. package/es/components/walletList/types/index.d.ts +0 -194
  123. package/es/hooks/useEngineContext.d.ts +0 -10
  124. package/es/hooks/useLocale.d.ts +0 -2
  125. package/es/hooks/useWindowSize.d.ts +0 -5
  126. package/es/plus/contactInfo/components/SwipeAction/index.d.ts +0 -46
  127. package/es/plus/contactInfo/locales.d.ts +0 -15
  128. package/es/plus/contactInfoModal/locales.d.ts +0 -66
  129. package/es/plus/productSelect/ProductList/gridComponents.d.ts +0 -44
  130. package/es/plus/productSelect/locales.d.ts +0 -18
  131. package/es/plus/saasCreateOrganization/locales.d.ts +0 -15
  132. package/es/plus/saasLogin/locales.d.ts +0 -51
  133. package/es/plus/saasRegister/locales.d.ts +0 -117
  134. package/es/plus/selectHolder/locales.d.ts +0 -21
  135. package/es/plus/skuOptionsSelection/locales.d.ts +0 -33
  136. package/es/plus/skuOptionsSelection/store/store.d.ts +0 -4
  137. package/es/plus/skuOptionsSelection/types.d.ts +0 -429
  138. package/es/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +0 -1
  139. package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +0 -4
  140. package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +0 -4
  141. package/es/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +0 -1
  142. package/es/plus/walletEditor/locales.d.ts +0 -135
  143. package/es/plus/walletEditor/types.d.ts +0 -52
  144. package/es/plus/walletPassGallery/locales.d.ts +0 -285
  145. package/es/plus/walletPassGallery/utils.d.ts +0 -48
  146. package/es/pro/Login2.0/locales.d.ts +0 -543
  147. package/es/pro/Login2.0/shared/types.d.ts +0 -232
  148. package/es/pro/NumericStepper/index.d.ts +0 -43
  149. package/es/pro/Selector/BatchSelectorDemo.d.ts +0 -3
  150. package/es/pro/Selector/Item.d.ts +0 -14
  151. package/es/pro/Selector/components/Card/index.d.ts +0 -57
  152. package/es/pro/Selector/components/Indicator/index.d.ts +0 -19
  153. package/es/pro/Selector/components/LayoutContainer/index.d.ts +0 -16
  154. package/es/pro/Selector/components/Media/index.d.ts +0 -6
  155. package/es/pro/Selector/demo.d.ts +0 -3
  156. package/es/pro/Selector/hooks/usePresetItemProps.d.ts +0 -43
  157. package/es/pro/Selector/hooks/usePresetProps.d.ts +0 -24
  158. package/es/pro/Selector/locales.d.ts +0 -36
  159. package/es/pro/Selector/types.d.ts +0 -173
  160. package/es/pro/Selector/utils/index.d.ts +0 -49
  161. package/es/pro/numberKeyboard/locales.d.ts +0 -12
  162. package/es/pro/pisellNumberSelector/example.d.ts +0 -3
  163. package/lib/components/appointmentBooking/components/Date/state.d.ts +0 -63
  164. package/lib/components/appointmentBooking/locales.d.ts +0 -366
  165. package/lib/components/authentication/admin/AuthMethods/locales.d.ts +0 -249
  166. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +0 -84
  167. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +0 -41
  168. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +0 -72
  169. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +0 -33
  170. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +0 -27
  171. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +0 -66
  172. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +0 -26
  173. package/lib/components/authentication/admin/ChannelAuthSetting/locales.d.ts +0 -39
  174. package/lib/components/authentication/admin/CustomerAuth/locales.d.ts +0 -66
  175. package/lib/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +0 -108
  176. package/lib/components/authentication/admin/DeviceAuth/locales.d.ts +0 -57
  177. package/lib/components/authentication/admin/OAuthConfig/locales.d.ts +0 -90
  178. package/lib/components/authentication/admin/OrgAdminAuth/locales.d.ts +0 -54
  179. package/lib/components/authentication/admin/POSOperatorAuth/locales.d.ts +0 -48
  180. package/lib/components/authentication/admin/SaaSAdminAuth/locales.d.ts +0 -54
  181. package/lib/components/booking/components/tabPane/index.d.ts +0 -4
  182. package/lib/components/booking/dashboard/serve.d.ts +0 -1
  183. package/lib/components/booking/editBookingModal/locales.d.ts +0 -21
  184. package/lib/components/booking/editBookingModal/mock.d.ts +0 -807
  185. package/lib/components/booking/forms/serve.d.ts +0 -18
  186. package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +0 -1
  187. package/lib/components/booking/info/client/serve.d.ts +0 -2
  188. package/lib/components/booking/info/hooks/useHolderConfig.d.ts +0 -9
  189. package/lib/components/booking/info/pet/serve.d.ts +0 -1
  190. package/lib/components/booking/info/service/addTimeModal/serve.d.ts +0 -5
  191. package/lib/components/booking/info/service/serve.d.ts +0 -20
  192. package/lib/components/booking/info2/serve.d.ts +0 -6
  193. package/lib/components/booking/info2/service/addService/mock.d.ts +0 -214
  194. package/lib/components/booking/locales.d.ts +0 -846
  195. package/lib/components/eftpos/PairModal/hooks.d.ts +0 -27
  196. package/lib/components/eftpos/SettlementModal/Action.d.ts +0 -8
  197. package/lib/components/eftpos/SettlementModal/types.d.ts +0 -138
  198. package/lib/components/eftpos/const.d.ts +0 -66
  199. package/lib/components/eftpos/hooks.d.ts +0 -46
  200. package/lib/components/eftpos/locales.d.ts +0 -138
  201. package/lib/components/eftposPay/aggregatePayment/index.d.ts +0 -3
  202. package/lib/components/eftposPay/aggregatePayment/mock.d.ts +0 -495
  203. package/lib/components/eftposPay/aggregatePayment/types.d.ts +0 -101
  204. package/lib/components/eftposPay/app.d.ts +0 -11
  205. package/lib/components/eftposPay/const.d.ts +0 -191
  206. package/lib/components/eftposPay/locales.d.ts +0 -333
  207. package/lib/components/eftposPay/mx51/Action.d.ts +0 -7
  208. package/lib/components/eftposPay/mx51/types.d.ts +0 -138
  209. package/lib/components/eftposPay/mx51/utils.d.ts +0 -10
  210. package/lib/components/eftposPay/store/index.d.ts +0 -355
  211. package/lib/components/eventBooking/components/Voucher/components/locales.d.ts +0 -39
  212. package/lib/components/eventBooking/locales.d.ts +0 -246
  213. package/lib/components/kioskSkuDetail/locales.d.ts +0 -27
  214. package/lib/components/login/locales.d.ts +0 -24
  215. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +0 -6
  216. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -2
  217. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -2
  218. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -3
  219. package/lib/components/pay/toC/locales.d.ts +0 -307
  220. package/lib/components/pinModal/locales.d.ts +0 -27
  221. package/lib/components/pinVerifyModal/locales.d.ts +0 -24
  222. package/lib/components/pisellSelectCustomerModal/locales.d.ts +0 -81
  223. package/lib/components/productExtension/locales.d.ts +0 -48
  224. package/lib/components/productSelect/locales.d.ts +0 -18
  225. package/lib/components/ruleSetting/locales.d.ts +0 -48
  226. package/lib/components/schedules/locales.d.ts +0 -87
  227. package/lib/components/shoppingCart/Provider.d.ts +0 -3
  228. package/lib/components/shoppingCart/locales.d.ts +0 -33
  229. package/lib/components/shoppingCart/mock.d.ts +0 -40
  230. package/lib/components/shoppingCart/type.d.ts +0 -48
  231. package/lib/components/shoppingCart/utils.d.ts +0 -63
  232. package/lib/components/stepController/locales.d.ts +0 -27
  233. package/lib/components/subTotal/locales.d.ts +0 -42
  234. package/lib/components/systemSettings/registry/locales.d.ts +0 -272
  235. package/lib/components/systemSettings/registry/services.d.ts +0 -77
  236. package/lib/components/systemSettings/registry/types.d.ts +0 -126
  237. package/lib/components/taxSelect/locales.d.ts +0 -24
  238. package/lib/components/ticketBooking/locales.d.ts +0 -174
  239. package/lib/components/wallet/utils.d.ts +0 -48
  240. package/lib/components/walletList/locales.d.ts +0 -27
  241. package/lib/components/walletList/types/index.d.ts +0 -194
  242. package/lib/hooks/useEngineContext.d.ts +0 -10
  243. package/lib/hooks/useLocale.d.ts +0 -2
  244. package/lib/hooks/useWindowSize.d.ts +0 -5
  245. package/lib/plus/contactInfo/components/SwipeAction/index.d.ts +0 -46
  246. package/lib/plus/contactInfo/locales.d.ts +0 -15
  247. package/lib/plus/contactInfoModal/locales.d.ts +0 -66
  248. package/lib/plus/productSelect/ProductList/gridComponents.d.ts +0 -44
  249. package/lib/plus/productSelect/locales.d.ts +0 -18
  250. package/lib/plus/saasCreateOrganization/locales.d.ts +0 -15
  251. package/lib/plus/saasLogin/locales.d.ts +0 -51
  252. package/lib/plus/saasRegister/locales.d.ts +0 -117
  253. package/lib/plus/selectHolder/locales.d.ts +0 -21
  254. package/lib/plus/skuOptionsSelection/locales.d.ts +0 -33
  255. package/lib/plus/skuOptionsSelection/store/store.d.ts +0 -4
  256. package/lib/plus/skuOptionsSelection/types.d.ts +0 -429
  257. package/lib/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +0 -1
  258. package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +0 -4
  259. package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +0 -4
  260. package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +0 -1
  261. package/lib/plus/walletEditor/locales.d.ts +0 -135
  262. package/lib/plus/walletEditor/types.d.ts +0 -52
  263. package/lib/plus/walletPassGallery/locales.d.ts +0 -285
  264. package/lib/plus/walletPassGallery/utils.d.ts +0 -48
  265. package/lib/pro/Login2.0/locales.d.ts +0 -543
  266. package/lib/pro/Login2.0/shared/types.d.ts +0 -232
  267. package/lib/pro/NumericStepper/index.d.ts +0 -43
  268. package/lib/pro/Selector/BatchSelectorDemo.d.ts +0 -3
  269. package/lib/pro/Selector/Item.d.ts +0 -14
  270. package/lib/pro/Selector/components/Card/index.d.ts +0 -57
  271. package/lib/pro/Selector/components/Indicator/index.d.ts +0 -19
  272. package/lib/pro/Selector/components/LayoutContainer/index.d.ts +0 -16
  273. package/lib/pro/Selector/components/Media/index.d.ts +0 -6
  274. package/lib/pro/Selector/demo.d.ts +0 -3
  275. package/lib/pro/Selector/hooks/usePresetItemProps.d.ts +0 -43
  276. package/lib/pro/Selector/hooks/usePresetProps.d.ts +0 -24
  277. package/lib/pro/Selector/locales.d.ts +0 -36
  278. package/lib/pro/Selector/types.d.ts +0 -173
  279. package/lib/pro/Selector/utils/index.d.ts +0 -49
  280. package/lib/pro/numberKeyboard/locales.d.ts +0 -12
  281. package/lib/pro/pisellNumberSelector/example.d.ts +0 -3
@@ -1,495 +0,0 @@
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
- };
@@ -1,101 +0,0 @@
1
- import PaymentMethod from './utils/payment';
2
- export declare enum EVisibleButtonType {
3
- /** 取消按钮 */
4
- CancelButton = "CancelButton",
5
- /** 等待按钮 */
6
- WaitButton = "WaitButton"
7
- }
8
- export declare enum EActionStatus {
9
- /** 空 */
10
- Empty = "Empty",
11
- /** 取消 */
12
- Cancel = "Cancel",
13
- /** 取消中 */
14
- CancelWaiting = "CancelWaiting",
15
- /** 签名 */
16
- Signature = "Signature",
17
- /** 签名等待中 */
18
- SignatureWaiting = "SignatureWaiting"
19
- }
20
- export declare const QUERY_START_DELAY: number;
21
- export declare const GLOBAL_TIMEOUT: number;
22
- export declare const REQUEST_TIMEOUT: number;
23
- export declare const QUERY_INTERVAL: number;
24
- /**
25
- * 聚合支付初始化参数
26
- */
27
- export interface PaymentMethodOptions {
28
- /** 支付类型 */
29
- paymentCode: string;
30
- /** 交易号 */
31
- paymentNum: string;
32
- /** 订单ID */
33
- orderId?: string | number;
34
- /** 设备ID */
35
- deviceId?: string | number;
36
- /** 统一回调函数 */
37
- callback: PaymentCallback;
38
- /** 检查是否应该继续处理结果 */
39
- shouldContinue?: () => boolean;
40
- config?: PaymentMethodConfig;
41
- }
42
- /**
43
- * 聚合支付操作类型
44
- */
45
- export declare enum ActionType {
46
- /** 支付 */
47
- Pay = "pay",
48
- /** 支付查询 */
49
- PayQuery = "payQuery",
50
- /** 支付行为 */
51
- PayAction = "payAction",
52
- /** 退款 */
53
- Refund = "refund",
54
- /** 退款查询 */
55
- RefundQuery = "refundQuery",
56
- /** 退款行为 */
57
- RefundAction = "refundAction"
58
- }
59
- /** 回调事件 */
60
- export interface CallbackEvent {
61
- /** 事件类型:成功、失败、进度 */
62
- status: EPaymentStatus;
63
- /** 操作类型 */
64
- actionType: ActionType;
65
- /** 数据:成功时是结果,失败时是错误信息,进度时是进度数据 */
66
- data: any;
67
- }
68
- /** 统一回调函数 */
69
- export declare type PaymentCallback = (instance: PaymentMethod, event: CallbackEvent) => void;
70
- /**
71
- * 执行操作参数
72
- */
73
- export interface RunOptions {
74
- /** 操作类型 */
75
- actionType: ActionType;
76
- /** 请求参数 */
77
- params?: Record<string, any>;
78
- /** 配置 */
79
- config?: {
80
- /** 是否需要返回结果 */
81
- needResponse?: boolean;
82
- };
83
- }
84
- /**
85
- * 聚合支付配置参数
86
- */
87
- export interface PaymentMethodConfig {
88
- /** 是否需要轮询间隔 */
89
- hasQueryInterval?: boolean;
90
- }
91
- /**
92
- * 支付状态
93
- */
94
- export declare enum EPaymentStatus {
95
- /** 支付中 */
96
- Processing = "processing",
97
- /** 支付成功 */
98
- Success = "success",
99
- /** 支付失败 */
100
- Failed = "failed"
101
- }
@@ -1,11 +0,0 @@
1
- import React from 'react';
2
- import { PosProps, RouteType } from './const';
3
- declare const App: ({ action, api, device_number, terminal, tyroUrl, tyroVersion, onChangeParams, isMobile, channel, formatAmount, ...props }: Omit<PosProps, "mode" | "type" | "getApi"> & {
4
- action: RouteType;
5
- device_number: string | number;
6
- api: ReturnType<PosProps['getApi']>;
7
- isMobile: boolean;
8
- channel?: string | undefined;
9
- formatAmount(amount: number | string, precision: number, symbol: string): string;
10
- }) => React.JSX.Element;
11
- export default App;