@vobs/payment 0.3.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (178) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +182 -0
  3. package/dist/alipay/client.cjs +112 -0
  4. package/dist/alipay/client.cjs.map +1 -0
  5. package/dist/alipay/client.d.cts +36 -0
  6. package/dist/alipay/client.d.ts +36 -0
  7. package/dist/alipay/client.js +110 -0
  8. package/dist/alipay/client.js.map +1 -0
  9. package/dist/alipay/config.cjs +67 -0
  10. package/dist/alipay/config.cjs.map +1 -0
  11. package/dist/alipay/config.d.cts +30 -0
  12. package/dist/alipay/config.d.ts +30 -0
  13. package/dist/alipay/config.js +65 -0
  14. package/dist/alipay/config.js.map +1 -0
  15. package/dist/alipay/index.cjs +592 -0
  16. package/dist/alipay/index.cjs.map +1 -0
  17. package/dist/alipay/index.d.cts +12 -0
  18. package/dist/alipay/index.d.ts +12 -0
  19. package/dist/alipay/index.js +580 -0
  20. package/dist/alipay/index.js.map +1 -0
  21. package/dist/alipay/notify.cjs +70 -0
  22. package/dist/alipay/notify.cjs.map +1 -0
  23. package/dist/alipay/notify.d.cts +52 -0
  24. package/dist/alipay/notify.d.ts +52 -0
  25. package/dist/alipay/notify.js +68 -0
  26. package/dist/alipay/notify.js.map +1 -0
  27. package/dist/alipay/payment.cjs +49 -0
  28. package/dist/alipay/payment.cjs.map +1 -0
  29. package/dist/alipay/payment.d.cts +24 -0
  30. package/dist/alipay/payment.d.ts +24 -0
  31. package/dist/alipay/payment.js +47 -0
  32. package/dist/alipay/payment.js.map +1 -0
  33. package/dist/alipay/plugin.cjs +300 -0
  34. package/dist/alipay/plugin.cjs.map +1 -0
  35. package/dist/alipay/plugin.d.cts +43 -0
  36. package/dist/alipay/plugin.d.ts +43 -0
  37. package/dist/alipay/plugin.js +296 -0
  38. package/dist/alipay/plugin.js.map +1 -0
  39. package/dist/alipay/query.cjs +80 -0
  40. package/dist/alipay/query.cjs.map +1 -0
  41. package/dist/alipay/query.d.cts +26 -0
  42. package/dist/alipay/query.d.ts +26 -0
  43. package/dist/alipay/query.js +78 -0
  44. package/dist/alipay/query.js.map +1 -0
  45. package/dist/alipay/refund.cjs +104 -0
  46. package/dist/alipay/refund.cjs.map +1 -0
  47. package/dist/alipay/refund.d.cts +32 -0
  48. package/dist/alipay/refund.d.ts +32 -0
  49. package/dist/alipay/refund.js +102 -0
  50. package/dist/alipay/refund.js.map +1 -0
  51. package/dist/alipay/response.cjs +38 -0
  52. package/dist/alipay/response.cjs.map +1 -0
  53. package/dist/alipay/response.d.cts +19 -0
  54. package/dist/alipay/response.d.ts +19 -0
  55. package/dist/alipay/response.js +35 -0
  56. package/dist/alipay/response.js.map +1 -0
  57. package/dist/alipay/types.cjs +4 -0
  58. package/dist/alipay/types.cjs.map +1 -0
  59. package/dist/alipay/types.d.cts +242 -0
  60. package/dist/alipay/types.d.ts +242 -0
  61. package/dist/alipay/types.js +3 -0
  62. package/dist/alipay/types.js.map +1 -0
  63. package/dist/alipay/wap.cjs +50 -0
  64. package/dist/alipay/wap.cjs.map +1 -0
  65. package/dist/alipay/wap.d.cts +24 -0
  66. package/dist/alipay/wap.d.ts +24 -0
  67. package/dist/alipay/wap.js +48 -0
  68. package/dist/alipay/wap.js.map +1 -0
  69. package/dist/index-B1aUR7Vt.d.ts +49 -0
  70. package/dist/index-B8pzZxGq.d.cts +44 -0
  71. package/dist/index-BWnIrwRi.d.ts +44 -0
  72. package/dist/index-Dyrkl86r.d.cts +49 -0
  73. package/dist/index.cjs +1071 -0
  74. package/dist/index.cjs.map +1 -0
  75. package/dist/index.d.cts +23 -0
  76. package/dist/index.d.ts +23 -37
  77. package/dist/index.js +1052 -37
  78. package/dist/index.js.map +1 -0
  79. package/dist/wechat/client.cjs +119 -0
  80. package/dist/wechat/client.cjs.map +1 -0
  81. package/dist/wechat/client.d.cts +39 -0
  82. package/dist/wechat/client.d.ts +39 -0
  83. package/dist/wechat/client.js +117 -0
  84. package/dist/wechat/client.js.map +1 -0
  85. package/dist/wechat/config.cjs +76 -0
  86. package/dist/wechat/config.cjs.map +1 -0
  87. package/dist/wechat/config.d.cts +29 -0
  88. package/dist/wechat/config.d.ts +29 -0
  89. package/dist/wechat/config.js +74 -0
  90. package/dist/wechat/config.js.map +1 -0
  91. package/dist/wechat/index.cjs +612 -0
  92. package/dist/wechat/index.cjs.map +1 -0
  93. package/dist/wechat/index.d.cts +10 -0
  94. package/dist/wechat/index.d.ts +10 -0
  95. package/dist/wechat/index.js +602 -0
  96. package/dist/wechat/index.js.map +1 -0
  97. package/dist/wechat/notify.cjs +73 -0
  98. package/dist/wechat/notify.cjs.map +1 -0
  99. package/dist/wechat/notify.d.cts +53 -0
  100. package/dist/wechat/notify.d.ts +53 -0
  101. package/dist/wechat/notify.js +71 -0
  102. package/dist/wechat/notify.js.map +1 -0
  103. package/dist/wechat/payment.cjs +186 -0
  104. package/dist/wechat/payment.cjs.map +1 -0
  105. package/dist/wechat/payment.d.cts +50 -0
  106. package/dist/wechat/payment.d.ts +50 -0
  107. package/dist/wechat/payment.js +184 -0
  108. package/dist/wechat/payment.js.map +1 -0
  109. package/dist/wechat/plugin.cjs +305 -0
  110. package/dist/wechat/plugin.cjs.map +1 -0
  111. package/dist/wechat/plugin.d.cts +40 -0
  112. package/dist/wechat/plugin.d.ts +40 -0
  113. package/dist/wechat/plugin.js +301 -0
  114. package/dist/wechat/plugin.js.map +1 -0
  115. package/dist/wechat/refund.cjs +112 -0
  116. package/dist/wechat/refund.cjs.map +1 -0
  117. package/dist/wechat/refund.d.cts +26 -0
  118. package/dist/wechat/refund.d.ts +26 -0
  119. package/dist/wechat/refund.js +110 -0
  120. package/dist/wechat/refund.js.map +1 -0
  121. package/dist/wechat/response.cjs +50 -0
  122. package/dist/wechat/response.cjs.map +1 -0
  123. package/dist/wechat/response.d.cts +20 -0
  124. package/dist/wechat/response.d.ts +20 -0
  125. package/dist/wechat/response.js +46 -0
  126. package/dist/wechat/response.js.map +1 -0
  127. package/dist/wechat/types.cjs +4 -0
  128. package/dist/wechat/types.cjs.map +1 -0
  129. package/dist/wechat/types.d.cts +200 -0
  130. package/dist/wechat/types.d.ts +200 -0
  131. package/dist/wechat/types.js +3 -0
  132. package/dist/wechat/types.js.map +1 -0
  133. package/package.json +37 -28
  134. package/src/alipay/alipay.test.ts +231 -0
  135. package/src/alipay/client.ts +67 -0
  136. package/src/alipay/config.ts +72 -0
  137. package/src/alipay/index.ts +32 -0
  138. package/src/alipay/notify.ts +92 -0
  139. package/src/alipay/payment.ts +60 -0
  140. package/src/alipay/plugin.ts +64 -0
  141. package/src/alipay/query.ts +52 -0
  142. package/src/alipay/refund.ts +85 -0
  143. package/src/alipay/response.ts +40 -0
  144. package/src/alipay/types.ts +271 -0
  145. package/src/alipay/wap.ts +55 -0
  146. package/src/index.ts +78 -0
  147. package/src/wechat/client.ts +68 -0
  148. package/src/wechat/config.ts +81 -0
  149. package/src/wechat/index.ts +30 -0
  150. package/src/wechat/notify.ts +93 -0
  151. package/src/wechat/payment.ts +177 -0
  152. package/src/wechat/plugin.ts +59 -0
  153. package/src/wechat/refund.ts +80 -0
  154. package/src/wechat/response.ts +54 -0
  155. package/src/wechat/types.ts +223 -0
  156. package/src/wechat/wechat.test.ts +393 -0
  157. package/dist/alipay-official.d.ts +0 -34
  158. package/dist/alipay-official.js +0 -206
  159. package/dist/handlers.d.ts +0 -45
  160. package/dist/handlers.js +0 -105
  161. package/dist/jeepay.d.ts +0 -39
  162. package/dist/jeepay.js +0 -206
  163. package/dist/lakala.d.ts +0 -41
  164. package/dist/lakala.js +0 -243
  165. package/dist/manager.d.ts +0 -67
  166. package/dist/manager.js +0 -538
  167. package/dist/mock-driver.d.ts +0 -22
  168. package/dist/mock-driver.js +0 -59
  169. package/dist/state-machine.d.ts +0 -41
  170. package/dist/state-machine.js +0 -60
  171. package/dist/store.d.ts +0 -33
  172. package/dist/store.js +0 -76
  173. package/dist/types.d.ts +0 -168
  174. package/dist/types.js +0 -11
  175. package/dist/verify.d.ts +0 -34
  176. package/dist/verify.js +0 -55
  177. package/dist/wechat-official.d.ts +0 -40
  178. package/dist/wechat-official.js +0 -208
@@ -0,0 +1,49 @@
1
+ import { AlipayClient } from './alipay/client.js';
2
+ import { AlipayConfig } from './alipay/config.js';
3
+ import { AlipayApiError } from './alipay/response.js';
4
+ import { createPagePay } from './alipay/payment.js';
5
+ import { createWapPay } from './alipay/wap.js';
6
+ import { createQuery } from './alipay/query.js';
7
+ import { createRefund } from './alipay/refund.js';
8
+ import { createNotifyHandler } from './alipay/notify.js';
9
+ import { ALIPAY_KEY, AlipayPluginOptions, alipayPlugin, useAlipay } from './alipay/plugin.js';
10
+ import { AlipayClientOptions, AlipayCloseParams, AlipayCloseResult, AlipayKeyType, AlipayNotifyParams, AlipayPagePayConfig, AlipayPagePayParams, AlipayPagePayResult, AlipayQueryParams, AlipayQueryResult, AlipayRefundParams, AlipayRefundQueryParams, AlipayRefundQueryResult, AlipayRefundResult, AlipayWapPayConfig, AlipayWapPayParams, AlipayWapPayResult, TradeStatus } from './alipay/types.js';
11
+ import { AlipaySdkConfig, AlipaySdkSignType } from 'alipay-sdk';
12
+
13
+ declare const index_ALIPAY_KEY: typeof ALIPAY_KEY;
14
+ declare const index_AlipayApiError: typeof AlipayApiError;
15
+ declare const index_AlipayClient: typeof AlipayClient;
16
+ declare const index_AlipayClientOptions: typeof AlipayClientOptions;
17
+ declare const index_AlipayCloseParams: typeof AlipayCloseParams;
18
+ declare const index_AlipayCloseResult: typeof AlipayCloseResult;
19
+ declare const index_AlipayConfig: typeof AlipayConfig;
20
+ declare const index_AlipayKeyType: typeof AlipayKeyType;
21
+ declare const index_AlipayNotifyParams: typeof AlipayNotifyParams;
22
+ declare const index_AlipayPagePayConfig: typeof AlipayPagePayConfig;
23
+ declare const index_AlipayPagePayParams: typeof AlipayPagePayParams;
24
+ declare const index_AlipayPagePayResult: typeof AlipayPagePayResult;
25
+ declare const index_AlipayPluginOptions: typeof AlipayPluginOptions;
26
+ declare const index_AlipayQueryParams: typeof AlipayQueryParams;
27
+ declare const index_AlipayQueryResult: typeof AlipayQueryResult;
28
+ declare const index_AlipayRefundParams: typeof AlipayRefundParams;
29
+ declare const index_AlipayRefundQueryParams: typeof AlipayRefundQueryParams;
30
+ declare const index_AlipayRefundQueryResult: typeof AlipayRefundQueryResult;
31
+ declare const index_AlipayRefundResult: typeof AlipayRefundResult;
32
+ declare const index_AlipaySdkConfig: typeof AlipaySdkConfig;
33
+ declare const index_AlipaySdkSignType: typeof AlipaySdkSignType;
34
+ declare const index_AlipayWapPayConfig: typeof AlipayWapPayConfig;
35
+ declare const index_AlipayWapPayParams: typeof AlipayWapPayParams;
36
+ declare const index_AlipayWapPayResult: typeof AlipayWapPayResult;
37
+ declare const index_TradeStatus: typeof TradeStatus;
38
+ declare const index_alipayPlugin: typeof alipayPlugin;
39
+ declare const index_createNotifyHandler: typeof createNotifyHandler;
40
+ declare const index_createPagePay: typeof createPagePay;
41
+ declare const index_createQuery: typeof createQuery;
42
+ declare const index_createRefund: typeof createRefund;
43
+ declare const index_createWapPay: typeof createWapPay;
44
+ declare const index_useAlipay: typeof useAlipay;
45
+ declare namespace index {
46
+ export { index_ALIPAY_KEY as ALIPAY_KEY, index_AlipayApiError as AlipayApiError, index_AlipayClient as AlipayClient, index_AlipayClientOptions as AlipayClientOptions, index_AlipayCloseParams as AlipayCloseParams, index_AlipayCloseResult as AlipayCloseResult, index_AlipayConfig as AlipayConfig, index_AlipayKeyType as AlipayKeyType, index_AlipayNotifyParams as AlipayNotifyParams, index_AlipayPagePayConfig as AlipayPagePayConfig, index_AlipayPagePayParams as AlipayPagePayParams, index_AlipayPagePayResult as AlipayPagePayResult, index_AlipayPluginOptions as AlipayPluginOptions, index_AlipayQueryParams as AlipayQueryParams, index_AlipayQueryResult as AlipayQueryResult, index_AlipayRefundParams as AlipayRefundParams, index_AlipayRefundQueryParams as AlipayRefundQueryParams, index_AlipayRefundQueryResult as AlipayRefundQueryResult, index_AlipayRefundResult as AlipayRefundResult, index_AlipaySdkConfig as AlipaySdkConfig, index_AlipaySdkSignType as AlipaySdkSignType, index_AlipayWapPayConfig as AlipayWapPayConfig, index_AlipayWapPayParams as AlipayWapPayParams, index_AlipayWapPayResult as AlipayWapPayResult, index_TradeStatus as TradeStatus, index_alipayPlugin as alipayPlugin, index_createNotifyHandler as createNotifyHandler, index_createPagePay as createPagePay, index_createQuery as createQuery, index_createRefund as createRefund, index_createWapPay as createWapPay, index_useAlipay as useAlipay };
47
+ }
48
+
49
+ export { index as i };
@@ -0,0 +1,44 @@
1
+ import { WechatClient } from './wechat/client.cjs';
2
+ import { WechatConfig } from './wechat/config.cjs';
3
+ import { WechatApiError } from './wechat/response.cjs';
4
+ import { createPayment } from './wechat/payment.cjs';
5
+ import { createNotifyHandler } from './wechat/notify.cjs';
6
+ import { createRefund } from './wechat/refund.cjs';
7
+ import { WECHAT_KEY, WechatPluginOptions, useWechat, wechatPlugin } from './wechat/plugin.cjs';
8
+ import { WechatAppPayResult, WechatClientOptions, WechatH5PayParams, WechatH5PayResult, WechatJsapiPayResult, WechatNativePayResult, WechatNotifyHeaders, WechatNotifyRefund, WechatNotifyResource, WechatNotifyTransaction, WechatOrderAmount, WechatPayParams, WechatQueryParams, WechatQueryResult, WechatRefundAmount, WechatRefundParams, WechatRefundQueryParams, WechatRefundResult, WechatRefundStatus, WechatTradeState } from './wechat/types.cjs';
9
+
10
+ declare const index_WECHAT_KEY: typeof WECHAT_KEY;
11
+ declare const index_WechatApiError: typeof WechatApiError;
12
+ declare const index_WechatAppPayResult: typeof WechatAppPayResult;
13
+ declare const index_WechatClient: typeof WechatClient;
14
+ declare const index_WechatClientOptions: typeof WechatClientOptions;
15
+ declare const index_WechatConfig: typeof WechatConfig;
16
+ declare const index_WechatH5PayParams: typeof WechatH5PayParams;
17
+ declare const index_WechatH5PayResult: typeof WechatH5PayResult;
18
+ declare const index_WechatJsapiPayResult: typeof WechatJsapiPayResult;
19
+ declare const index_WechatNativePayResult: typeof WechatNativePayResult;
20
+ declare const index_WechatNotifyHeaders: typeof WechatNotifyHeaders;
21
+ declare const index_WechatNotifyRefund: typeof WechatNotifyRefund;
22
+ declare const index_WechatNotifyResource: typeof WechatNotifyResource;
23
+ declare const index_WechatNotifyTransaction: typeof WechatNotifyTransaction;
24
+ declare const index_WechatOrderAmount: typeof WechatOrderAmount;
25
+ declare const index_WechatPayParams: typeof WechatPayParams;
26
+ declare const index_WechatPluginOptions: typeof WechatPluginOptions;
27
+ declare const index_WechatQueryParams: typeof WechatQueryParams;
28
+ declare const index_WechatQueryResult: typeof WechatQueryResult;
29
+ declare const index_WechatRefundAmount: typeof WechatRefundAmount;
30
+ declare const index_WechatRefundParams: typeof WechatRefundParams;
31
+ declare const index_WechatRefundQueryParams: typeof WechatRefundQueryParams;
32
+ declare const index_WechatRefundResult: typeof WechatRefundResult;
33
+ declare const index_WechatRefundStatus: typeof WechatRefundStatus;
34
+ declare const index_WechatTradeState: typeof WechatTradeState;
35
+ declare const index_createNotifyHandler: typeof createNotifyHandler;
36
+ declare const index_createPayment: typeof createPayment;
37
+ declare const index_createRefund: typeof createRefund;
38
+ declare const index_useWechat: typeof useWechat;
39
+ declare const index_wechatPlugin: typeof wechatPlugin;
40
+ declare namespace index {
41
+ export { index_WECHAT_KEY as WECHAT_KEY, index_WechatApiError as WechatApiError, index_WechatAppPayResult as WechatAppPayResult, index_WechatClient as WechatClient, index_WechatClientOptions as WechatClientOptions, index_WechatConfig as WechatConfig, index_WechatH5PayParams as WechatH5PayParams, index_WechatH5PayResult as WechatH5PayResult, index_WechatJsapiPayResult as WechatJsapiPayResult, index_WechatNativePayResult as WechatNativePayResult, index_WechatNotifyHeaders as WechatNotifyHeaders, index_WechatNotifyRefund as WechatNotifyRefund, index_WechatNotifyResource as WechatNotifyResource, index_WechatNotifyTransaction as WechatNotifyTransaction, index_WechatOrderAmount as WechatOrderAmount, index_WechatPayParams as WechatPayParams, index_WechatPluginOptions as WechatPluginOptions, index_WechatQueryParams as WechatQueryParams, index_WechatQueryResult as WechatQueryResult, index_WechatRefundAmount as WechatRefundAmount, index_WechatRefundParams as WechatRefundParams, index_WechatRefundQueryParams as WechatRefundQueryParams, index_WechatRefundResult as WechatRefundResult, index_WechatRefundStatus as WechatRefundStatus, index_WechatTradeState as WechatTradeState, index_createNotifyHandler as createNotifyHandler, index_createPayment as createPayment, index_createRefund as createRefund, index_useWechat as useWechat, index_wechatPlugin as wechatPlugin };
42
+ }
43
+
44
+ export { index as i };
@@ -0,0 +1,44 @@
1
+ import { WechatClient } from './wechat/client.js';
2
+ import { WechatConfig } from './wechat/config.js';
3
+ import { WechatApiError } from './wechat/response.js';
4
+ import { createPayment } from './wechat/payment.js';
5
+ import { createNotifyHandler } from './wechat/notify.js';
6
+ import { createRefund } from './wechat/refund.js';
7
+ import { WECHAT_KEY, WechatPluginOptions, useWechat, wechatPlugin } from './wechat/plugin.js';
8
+ import { WechatAppPayResult, WechatClientOptions, WechatH5PayParams, WechatH5PayResult, WechatJsapiPayResult, WechatNativePayResult, WechatNotifyHeaders, WechatNotifyRefund, WechatNotifyResource, WechatNotifyTransaction, WechatOrderAmount, WechatPayParams, WechatQueryParams, WechatQueryResult, WechatRefundAmount, WechatRefundParams, WechatRefundQueryParams, WechatRefundResult, WechatRefundStatus, WechatTradeState } from './wechat/types.js';
9
+
10
+ declare const index_WECHAT_KEY: typeof WECHAT_KEY;
11
+ declare const index_WechatApiError: typeof WechatApiError;
12
+ declare const index_WechatAppPayResult: typeof WechatAppPayResult;
13
+ declare const index_WechatClient: typeof WechatClient;
14
+ declare const index_WechatClientOptions: typeof WechatClientOptions;
15
+ declare const index_WechatConfig: typeof WechatConfig;
16
+ declare const index_WechatH5PayParams: typeof WechatH5PayParams;
17
+ declare const index_WechatH5PayResult: typeof WechatH5PayResult;
18
+ declare const index_WechatJsapiPayResult: typeof WechatJsapiPayResult;
19
+ declare const index_WechatNativePayResult: typeof WechatNativePayResult;
20
+ declare const index_WechatNotifyHeaders: typeof WechatNotifyHeaders;
21
+ declare const index_WechatNotifyRefund: typeof WechatNotifyRefund;
22
+ declare const index_WechatNotifyResource: typeof WechatNotifyResource;
23
+ declare const index_WechatNotifyTransaction: typeof WechatNotifyTransaction;
24
+ declare const index_WechatOrderAmount: typeof WechatOrderAmount;
25
+ declare const index_WechatPayParams: typeof WechatPayParams;
26
+ declare const index_WechatPluginOptions: typeof WechatPluginOptions;
27
+ declare const index_WechatQueryParams: typeof WechatQueryParams;
28
+ declare const index_WechatQueryResult: typeof WechatQueryResult;
29
+ declare const index_WechatRefundAmount: typeof WechatRefundAmount;
30
+ declare const index_WechatRefundParams: typeof WechatRefundParams;
31
+ declare const index_WechatRefundQueryParams: typeof WechatRefundQueryParams;
32
+ declare const index_WechatRefundResult: typeof WechatRefundResult;
33
+ declare const index_WechatRefundStatus: typeof WechatRefundStatus;
34
+ declare const index_WechatTradeState: typeof WechatTradeState;
35
+ declare const index_createNotifyHandler: typeof createNotifyHandler;
36
+ declare const index_createPayment: typeof createPayment;
37
+ declare const index_createRefund: typeof createRefund;
38
+ declare const index_useWechat: typeof useWechat;
39
+ declare const index_wechatPlugin: typeof wechatPlugin;
40
+ declare namespace index {
41
+ export { index_WECHAT_KEY as WECHAT_KEY, index_WechatApiError as WechatApiError, index_WechatAppPayResult as WechatAppPayResult, index_WechatClient as WechatClient, index_WechatClientOptions as WechatClientOptions, index_WechatConfig as WechatConfig, index_WechatH5PayParams as WechatH5PayParams, index_WechatH5PayResult as WechatH5PayResult, index_WechatJsapiPayResult as WechatJsapiPayResult, index_WechatNativePayResult as WechatNativePayResult, index_WechatNotifyHeaders as WechatNotifyHeaders, index_WechatNotifyRefund as WechatNotifyRefund, index_WechatNotifyResource as WechatNotifyResource, index_WechatNotifyTransaction as WechatNotifyTransaction, index_WechatOrderAmount as WechatOrderAmount, index_WechatPayParams as WechatPayParams, index_WechatPluginOptions as WechatPluginOptions, index_WechatQueryParams as WechatQueryParams, index_WechatQueryResult as WechatQueryResult, index_WechatRefundAmount as WechatRefundAmount, index_WechatRefundParams as WechatRefundParams, index_WechatRefundQueryParams as WechatRefundQueryParams, index_WechatRefundResult as WechatRefundResult, index_WechatRefundStatus as WechatRefundStatus, index_WechatTradeState as WechatTradeState, index_createNotifyHandler as createNotifyHandler, index_createPayment as createPayment, index_createRefund as createRefund, index_useWechat as useWechat, index_wechatPlugin as wechatPlugin };
42
+ }
43
+
44
+ export { index as i };
@@ -0,0 +1,49 @@
1
+ import { AlipayClient } from './alipay/client.cjs';
2
+ import { AlipayConfig } from './alipay/config.cjs';
3
+ import { AlipayApiError } from './alipay/response.cjs';
4
+ import { createPagePay } from './alipay/payment.cjs';
5
+ import { createWapPay } from './alipay/wap.cjs';
6
+ import { createQuery } from './alipay/query.cjs';
7
+ import { createRefund } from './alipay/refund.cjs';
8
+ import { createNotifyHandler } from './alipay/notify.cjs';
9
+ import { ALIPAY_KEY, AlipayPluginOptions, alipayPlugin, useAlipay } from './alipay/plugin.cjs';
10
+ import { AlipayClientOptions, AlipayCloseParams, AlipayCloseResult, AlipayKeyType, AlipayNotifyParams, AlipayPagePayConfig, AlipayPagePayParams, AlipayPagePayResult, AlipayQueryParams, AlipayQueryResult, AlipayRefundParams, AlipayRefundQueryParams, AlipayRefundQueryResult, AlipayRefundResult, AlipayWapPayConfig, AlipayWapPayParams, AlipayWapPayResult, TradeStatus } from './alipay/types.cjs';
11
+ import { AlipaySdkConfig, AlipaySdkSignType } from 'alipay-sdk';
12
+
13
+ declare const index_ALIPAY_KEY: typeof ALIPAY_KEY;
14
+ declare const index_AlipayApiError: typeof AlipayApiError;
15
+ declare const index_AlipayClient: typeof AlipayClient;
16
+ declare const index_AlipayClientOptions: typeof AlipayClientOptions;
17
+ declare const index_AlipayCloseParams: typeof AlipayCloseParams;
18
+ declare const index_AlipayCloseResult: typeof AlipayCloseResult;
19
+ declare const index_AlipayConfig: typeof AlipayConfig;
20
+ declare const index_AlipayKeyType: typeof AlipayKeyType;
21
+ declare const index_AlipayNotifyParams: typeof AlipayNotifyParams;
22
+ declare const index_AlipayPagePayConfig: typeof AlipayPagePayConfig;
23
+ declare const index_AlipayPagePayParams: typeof AlipayPagePayParams;
24
+ declare const index_AlipayPagePayResult: typeof AlipayPagePayResult;
25
+ declare const index_AlipayPluginOptions: typeof AlipayPluginOptions;
26
+ declare const index_AlipayQueryParams: typeof AlipayQueryParams;
27
+ declare const index_AlipayQueryResult: typeof AlipayQueryResult;
28
+ declare const index_AlipayRefundParams: typeof AlipayRefundParams;
29
+ declare const index_AlipayRefundQueryParams: typeof AlipayRefundQueryParams;
30
+ declare const index_AlipayRefundQueryResult: typeof AlipayRefundQueryResult;
31
+ declare const index_AlipayRefundResult: typeof AlipayRefundResult;
32
+ declare const index_AlipaySdkConfig: typeof AlipaySdkConfig;
33
+ declare const index_AlipaySdkSignType: typeof AlipaySdkSignType;
34
+ declare const index_AlipayWapPayConfig: typeof AlipayWapPayConfig;
35
+ declare const index_AlipayWapPayParams: typeof AlipayWapPayParams;
36
+ declare const index_AlipayWapPayResult: typeof AlipayWapPayResult;
37
+ declare const index_TradeStatus: typeof TradeStatus;
38
+ declare const index_alipayPlugin: typeof alipayPlugin;
39
+ declare const index_createNotifyHandler: typeof createNotifyHandler;
40
+ declare const index_createPagePay: typeof createPagePay;
41
+ declare const index_createQuery: typeof createQuery;
42
+ declare const index_createRefund: typeof createRefund;
43
+ declare const index_createWapPay: typeof createWapPay;
44
+ declare const index_useAlipay: typeof useAlipay;
45
+ declare namespace index {
46
+ export { index_ALIPAY_KEY as ALIPAY_KEY, index_AlipayApiError as AlipayApiError, index_AlipayClient as AlipayClient, index_AlipayClientOptions as AlipayClientOptions, index_AlipayCloseParams as AlipayCloseParams, index_AlipayCloseResult as AlipayCloseResult, index_AlipayConfig as AlipayConfig, index_AlipayKeyType as AlipayKeyType, index_AlipayNotifyParams as AlipayNotifyParams, index_AlipayPagePayConfig as AlipayPagePayConfig, index_AlipayPagePayParams as AlipayPagePayParams, index_AlipayPagePayResult as AlipayPagePayResult, index_AlipayPluginOptions as AlipayPluginOptions, index_AlipayQueryParams as AlipayQueryParams, index_AlipayQueryResult as AlipayQueryResult, index_AlipayRefundParams as AlipayRefundParams, index_AlipayRefundQueryParams as AlipayRefundQueryParams, index_AlipayRefundQueryResult as AlipayRefundQueryResult, index_AlipayRefundResult as AlipayRefundResult, index_AlipaySdkConfig as AlipaySdkConfig, index_AlipaySdkSignType as AlipaySdkSignType, index_AlipayWapPayConfig as AlipayWapPayConfig, index_AlipayWapPayParams as AlipayWapPayParams, index_AlipayWapPayResult as AlipayWapPayResult, index_TradeStatus as TradeStatus, index_alipayPlugin as alipayPlugin, index_createNotifyHandler as createNotifyHandler, index_createPagePay as createPagePay, index_createQuery as createQuery, index_createRefund as createRefund, index_createWapPay as createWapPay, index_useAlipay as useAlipay };
47
+ }
48
+
49
+ export { index as i };