@alipay/ams-checkout 0.0.1788166152-dev.7 → 0.0.1788166152-dev.8

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 (171) hide show
  1. package/ams-checkout.js +3 -3
  2. package/dist/ams-checkout.min.js +1 -1
  3. package/dist/ams-checkout.min.js.map +1 -1
  4. package/esm/config/index.js +1 -1
  5. package/esm/core/component/element/modernElementController/index.js +2 -2
  6. package/esm/modern/component/channel.d.ts +21 -0
  7. package/esm/modern/component/component.inline.style.d.ts +10 -0
  8. package/esm/modern/component/component.popup.style.d.ts +26 -0
  9. package/esm/modern/component/popupWindow.style.d.ts +27 -0
  10. package/esm/modern/config/index.d.ts +23 -0
  11. package/esm/modern/config/request.d.ts +21 -0
  12. package/esm/modern/constant/auto-debit.d.ts +12 -0
  13. package/esm/modern/constant/easysafepay.d.ts +16 -0
  14. package/esm/modern/constant/element.d.ts +27 -0
  15. package/esm/modern/constant/index.d.ts +331 -0
  16. package/esm/modern/core/bus/ability/callback.d.ts +9 -0
  17. package/esm/modern/core/bus/ability/security.d.ts +10 -0
  18. package/esm/modern/core/bus/ability/tracker.d.ts +9 -0
  19. package/esm/modern/core/bus/index.d.ts +125 -0
  20. package/esm/modern/core/bus/interface.d.ts +36 -0
  21. package/esm/modern/core/component/address.d.ts +8 -0
  22. package/esm/modern/core/component/appPreloadProcessing.d.ts +1 -0
  23. package/esm/modern/core/component/ckp/index.d.ts +29 -0
  24. package/esm/modern/core/component/element/EventCenter/index.d.ts +41 -0
  25. package/esm/modern/core/component/element/config.d.ts +10 -0
  26. package/esm/modern/core/component/element/elementContainerService/containerService.d.ts +34 -0
  27. package/esm/modern/core/component/element/elementContainerService/index.d.ts +20 -0
  28. package/esm/modern/core/component/element/elementController/index.d.ts +54 -0
  29. package/esm/modern/core/component/element/elementProcessor/addressProcessor.d.ts +20 -0
  30. package/esm/modern/core/component/element/elementProcessor/authProcessor.d.ts +20 -0
  31. package/esm/modern/core/component/element/elementProcessor/baseElementProcessor.d.ts +42 -0
  32. package/esm/modern/core/component/element/elementProcessor/convertPaymentMethods.d.ts +22 -0
  33. package/esm/modern/core/component/element/elementProcessor/paymentProcessor.d.ts +37 -0
  34. package/esm/modern/core/component/element/index.d.ts +17 -0
  35. package/esm/modern/core/component/element/mock.d.ts +10 -0
  36. package/esm/modern/core/component/element/modernElementController/adapter.d.ts +19 -0
  37. package/esm/modern/core/component/element/modernElementController/index.d.ts +172 -0
  38. package/esm/modern/core/component/element/type.d.ts +586 -0
  39. package/esm/modern/core/component/element/util.d.ts +93 -0
  40. package/esm/modern/core/component/index.d.ts +58 -0
  41. package/esm/modern/core/instance/index.d.ts +97 -0
  42. package/esm/modern/core/utils/connectConfig.d.ts +11 -0
  43. package/esm/modern/foundation/core/index.d.ts +36 -0
  44. package/esm/modern/foundation/index.d.ts +93 -0
  45. package/esm/modern/foundation/product-processor/autoDebit/deps.d.ts +14 -0
  46. package/esm/modern/foundation/product-processor/autoDebit/index.d.ts +48 -0
  47. package/esm/modern/foundation/product-processor/easysafepay/deps.d.ts +20 -0
  48. package/esm/modern/foundation/product-processor/easysafepay/index.d.ts +29 -0
  49. package/esm/modern/foundation/product-processor/element/index.d.ts +7 -0
  50. package/esm/modern/foundation/service/api-bus/ability/globalData.d.ts +10 -0
  51. package/esm/modern/foundation/service/api-bus/ability/request.d.ts +10 -0
  52. package/esm/modern/foundation/service/api-bus/ability/security.d.ts +12 -0
  53. package/esm/modern/foundation/service/api-bus/ability/tracker.d.ts +9 -0
  54. package/esm/modern/foundation/service/api-bus/busManager.d.ts +127 -0
  55. package/esm/modern/foundation/service/api-bus/index.d.ts +20 -0
  56. package/esm/modern/foundation/service/api-bus/interface.d.ts +48 -0
  57. package/esm/modern/foundation/service/container/index.d.ts +42 -0
  58. package/esm/modern/foundation/service/container/popup.d.ts +31 -0
  59. package/esm/modern/foundation/service/container/utils.d.ts +7 -0
  60. package/esm/modern/foundation/service/event-center.d.ts +82 -0
  61. package/esm/modern/foundation/service/global-data/index.d.ts +11 -0
  62. package/esm/modern/foundation/service/index.d.ts +19 -0
  63. package/esm/modern/foundation/service/log/index.d.ts +44 -0
  64. package/esm/modern/foundation/service/log/keys.d.ts +13 -0
  65. package/esm/modern/foundation/service/log/processor.d.ts +9 -0
  66. package/esm/modern/foundation/service/log/types.d.ts +33 -0
  67. package/esm/modern/foundation/service/requester/deps.d.ts +17 -0
  68. package/esm/modern/foundation/service/requester/requester.d.ts +22 -0
  69. package/esm/modern/foundation/service/security/index.d.ts +33 -0
  70. package/esm/modern/foundation/service/security/security.d.ts +54 -0
  71. package/esm/modern/foundation/utils/gray_scale_utils.d.ts +7 -0
  72. package/esm/modern/foundation/utils/payment_context_utils.d.ts +13 -0
  73. package/esm/modern/foundation/utils/payment_product_utils.d.ts +13 -0
  74. package/esm/modern/foundation/utils/preload_helper.d.ts +24 -0
  75. package/esm/modern/foundation/utils/redirect_utils.d.ts +11 -0
  76. package/esm/modern/foundation/utils/system_events.d.ts +4 -0
  77. package/esm/modern/foundation/utils/web_app_url_utils.d.ts +114 -0
  78. package/esm/modern/index.js +1 -1
  79. package/esm/modern/loader/constant.d.ts +36 -0
  80. package/esm/modern/loader/utils/proxyPerformance.d.ts +20 -0
  81. package/esm/modern/main.d.ts +54 -0
  82. package/esm/modern/{index.d.ts → modern/index.d.ts} +1 -1
  83. package/esm/modern/modern/loadAntomTracker.d.ts +7 -0
  84. package/esm/modern/modern/preload/antomManifestAdapter.d.ts +11 -0
  85. package/esm/modern/modern/preload/config.d.ts +10 -0
  86. package/esm/modern/modern/preload/gatewayPreconnection.d.ts +53 -0
  87. package/esm/modern/modern/preload/preloadAntomElements.d.ts +9 -0
  88. package/esm/modern/modern/preload/startAntomPreload.d.ts +2 -0
  89. package/esm/modern/modern/sdk/applepay-core/ApplePayHostService.d.ts +102 -0
  90. package/esm/modern/modern/sdk/elements/CVVElement.d.ts +144 -0
  91. package/esm/modern/modern/sdk/elements/PaymentElement.d.ts +204 -0
  92. package/esm/modern/modern/sdk/elements/appearanceRules.d.ts +59 -0
  93. package/esm/modern/modern/sdk/elements/appearanceRulesDefaults.d.ts +2 -0
  94. package/esm/modern/modern/sdk/eventsMap.d.ts +135 -0
  95. package/esm/modern/modern/sdk/oneapi/iexpfront/PaymentSessionService.d.ts +69 -0
  96. package/esm/modern/modern/sdk/oneapi/iexpfront/definitions.d.ts +5311 -0
  97. package/esm/modern/modern/sdk/oneapi/iexpfront/preConnection.d.ts +6 -0
  98. package/esm/modern/modern/sdk/stageName.d.ts +3 -0
  99. package/esm/modern/modern/sdk/tools/awaitWrap.d.ts +14 -0
  100. package/esm/modern/modern/sdk/tools/buildPageUrl.d.ts +4 -0
  101. package/esm/modern/modern/sdk/tools/checkSessionData.d.ts +1 -0
  102. package/esm/modern/modern/sdk/tools/expressElement/applePay.d.ts +9 -0
  103. package/esm/modern/modern/sdk/tools/expressElement/applePayHostToken.d.ts +32 -0
  104. package/esm/modern/modern/sdk/tools/expressElement/types.d.ts +277 -0
  105. package/esm/modern/modern/sdk/tools/getDevReqConfig.d.ts +2 -0
  106. package/esm/modern/modern/sdk/tools/getLocaleFromRenderData.d.ts +6 -0
  107. package/esm/modern/modern/sdk/tools/getMetaData.d.ts +126 -0
  108. package/esm/modern/modern/sdk/tools/modalMessageMonitor.d.ts +41 -0
  109. package/esm/modern/modern/sdk/tools/openModal.d.ts +20 -0
  110. package/esm/modern/modern/sdk/tools/paymentElement/applePayHostToken.d.ts +38 -0
  111. package/esm/modern/modern/sdk/tools/paymentElement/googlePayHostToken.d.ts +38 -0
  112. package/esm/modern/modern/sdk/tools/paymentElement/tracker.d.ts +16 -0
  113. package/esm/modern/modern/sdk/tools/paymentElement/walletHostListeners.d.ts +19 -0
  114. package/esm/modern/modern/sdk/tools/preloadTracking.d.ts +5 -0
  115. package/esm/modern/modern/sdk/tools/showToast.d.ts +33 -0
  116. package/esm/modern/modern/sdk/tools/validatePaymentAmount.d.ts +19 -0
  117. package/esm/modern/modern/sdk/tracking/elementTracker.d.ts +65 -0
  118. package/esm/modern/modern/sdk/types.d.ts +310 -0
  119. package/esm/modern/modern/tools.d.ts +26 -0
  120. package/esm/modern/plugin/applepay/component.d.ts +50 -0
  121. package/esm/modern/plugin/applepay/index.d.ts +17 -0
  122. package/esm/modern/plugin/applepay/interface.d.ts +161 -0
  123. package/esm/modern/plugin/applepay/service.d.ts +54 -0
  124. package/esm/modern/plugin/component/cashierApp.d.ts +38 -0
  125. package/esm/modern/plugin/component/channel.d.ts +73 -0
  126. package/esm/modern/plugin/component/component.inline.style.d.ts +10 -0
  127. package/esm/modern/plugin/component/component.popup.style.d.ts +25 -0
  128. package/esm/modern/plugin/component/index.d.ts +133 -0
  129. package/esm/modern/plugin/component/popupWindow.style.d.ts +11 -0
  130. package/esm/modern/plugin/const.d.ts +2 -0
  131. package/esm/modern/plugin/payment-element/utils.d.ts +2 -0
  132. package/esm/modern/plugin/paypal/index.d.ts +20 -0
  133. package/esm/modern/plugin/type.d.ts +34 -0
  134. package/esm/modern/plugin/utils.d.ts +6 -0
  135. package/esm/modern/preload/antomManifestAdapter.d.ts +11 -0
  136. package/esm/modern/preload/antomManifestAdapter.js +117 -0
  137. package/esm/modern/preload/config.d.ts +10 -0
  138. package/esm/modern/preload/config.js +37 -0
  139. package/esm/modern/preload/gatewayPreconnection.d.ts +53 -0
  140. package/esm/modern/preload/gatewayPreconnection.js +213 -0
  141. package/esm/modern/preload/preloadAntomElements.d.ts +9 -0
  142. package/esm/modern/preload/preloadAntomElements.js +95 -0
  143. package/esm/modern/preload/startAntomPreload.d.ts +2 -0
  144. package/esm/modern/preload/startAntomPreload.js +9 -0
  145. package/esm/modern/request/index.d.ts +9 -0
  146. package/esm/modern/request/utils.d.ts +28 -0
  147. package/esm/modern/service/index.d.ts +13 -0
  148. package/esm/modern/tools.js +1 -1
  149. package/esm/modern/types/index.d.ts +856 -0
  150. package/esm/modern/util/beforeConfirm.d.ts +14 -0
  151. package/esm/modern/util/createIframeNode.d.ts +6 -0
  152. package/esm/modern/util/debug.d.ts +1 -0
  153. package/esm/modern/util/get.d.ts +25 -0
  154. package/esm/modern/util/getBackScheme.d.ts +5 -0
  155. package/esm/modern/util/index.d.ts +61 -0
  156. package/esm/modern/util/jshield-apdid/apdid-loader.d.ts +89 -0
  157. package/esm/modern/util/jshield-apdid/index.d.ts +21 -0
  158. package/esm/modern/util/logger.d.ts +67 -0
  159. package/esm/modern/util/mock.d.ts +1 -0
  160. package/esm/modern/util/redirect.d.ts +6 -0
  161. package/esm/modern/util/security-registry.d.ts +72 -0
  162. package/esm/modern/util/security.d.ts +55 -0
  163. package/esm/modern/util/spm-map.d.ts +217 -0
  164. package/esm/modern/util/storage.d.ts +2 -0
  165. package/esm/modern/util/timezone.d.ts +1 -0
  166. package/esm/modern/util/upgrade.d.ts +39 -0
  167. package/esm/modern/util/versionCompare.d.ts +15 -0
  168. package/esm/util/logger.js +1 -1
  169. package/package.json +2 -1
  170. package/types.d.ts +17 -2
  171. package/types.untrimmed.d.ts +35 -2
@@ -0,0 +1,59 @@
1
+ import type { PickAppearance } from '@antintl/opensdk-core';
2
+ /** Semantic states accepted by the merchant selector grammar. */
3
+ type AppearanceRuleState = 'hover' | 'focus' | 'focus-visible' | 'active' | 'disabled' | 'loading' | 'selected' | 'checked' | 'expanded' | 'invalid' | 'success' | 'error';
4
+ /** Controlled pseudo-class accepted by the merchant selector grammar. */
5
+ type AppearanceRulePseudoClass = 'autofill';
6
+ /** Controlled pseudo-element accepted by the merchant selector grammar. */
7
+ type AppearanceRulePseudoElement = 'placeholder' | 'selection';
8
+ /**
9
+ * Optional state or controlled pseudo suffix on one alias.
10
+ */
11
+ export type AppearanceRuleScopeSuffix = '' | `:${AppearanceRuleState | AppearanceRulePseudoClass}` | `::${AppearanceRulePseudoElement}`;
12
+ /** One merchant alias with an optional semantic suffix. */
13
+ export type AppearanceRuleSelector<RuleAlias extends string> = `${RuleAlias}${AppearanceRuleScopeSuffix}`;
14
+ /** Paint-only property names exposed by the SDK contract. */
15
+ export type AppearancePaintProperty = 'color' | 'WebkitTextFillColor' | 'textDecorationColor' | 'textDecorationLine' | 'textDecorationStyle' | 'textShadow' | 'backgroundColor' | 'borderColor' | 'borderTopColor' | 'borderRightColor' | 'borderBottomColor' | 'borderLeftColor' | 'borderRadius' | 'borderTopLeftRadius' | 'borderTopRightRadius' | 'borderBottomRightRadius' | 'borderBottomLeftRadius' | 'borderStyle' | 'boxShadow' | 'fill' | 'stroke' | 'fillOpacity' | 'strokeOpacity' | 'strokeWidth' | 'outlineColor' | 'outlineStyle' | 'outlineWidth' | 'outlineOffset' | 'caretColor' | 'accentColor';
16
+ /** Controlled layout longhands intersected with the concrete Part at runtime. */
17
+ export type AppearanceLayoutProperty = 'marginTop' | 'marginRight' | 'marginBottom' | 'marginLeft' | 'paddingTop' | 'paddingRight' | 'paddingBottom' | 'paddingLeft' | 'height';
18
+ /** Exact official spacing Token accepted by controlled margin and padding. */
19
+ export type AppearanceSpacingToken = `var(--spacing-${'base' | 'none' | '2xs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl'})`;
20
+ /** Runtime-constrained non-negative integer pixel value for spacing longhands. */
21
+ export type AppearanceSpacingValue = '0' | `${number}px` | AppearanceSpacingToken;
22
+ /** Paint declarations accepted before WebApp and Components runtime validation. */
23
+ type AppearancePaintDeclarations = Partial<Record<Exclude<AppearancePaintProperty, 'fillOpacity' | 'strokeOpacity' | 'strokeWidth' | 'textDecorationStyle' | 'outlineStyle'>, string> & Record<'fillOpacity' | 'strokeOpacity' | 'strokeWidth', string | number> & {
24
+ textDecorationStyle: '-moz-initial' | 'inherit' | 'initial' | 'revert' | 'revert-layer' | 'unset' | 'dashed' | 'dotted' | 'double' | 'solid' | 'wavy';
25
+ outlineStyle: '-moz-initial' | 'inherit' | 'initial' | 'revert' | 'revert-layer' | 'unset' | 'auto' | 'dashed' | 'dotted' | 'double' | 'groove' | 'inset' | 'none' | 'outset' | 'ridge' | 'solid';
26
+ }>;
27
+ /** Target-level layout declarations admitted before runtime capability intersection. */
28
+ export type AppearanceLayoutDeclarations = {
29
+ [Property in Exclude<AppearanceLayoutProperty, 'height'>]?: AppearanceSpacingValue;
30
+ } & {
31
+ /** Exact integer-pixel enum allocated by the target contract. */
32
+ readonly height?: `${number}px`;
33
+ };
34
+ /** Paint declarations plus controlled typography and target-level layout fields. */
35
+ type AppearanceRuleDeclarations = AppearancePaintDeclarations & AppearanceLayoutDeclarations & {
36
+ /** Single font family identifier admitted only for authorized targets at runtime. */
37
+ readonly fontFamily?: string;
38
+ /** Integer pixel size admitted only for authorized text targets at runtime. */
39
+ readonly fontSize?: `${number}px`;
40
+ /** Controlled font weight admitted only for authorized text targets at runtime. */
41
+ readonly fontWeight?: 400 | 500 | 600 | 700;
42
+ /** Controlled font style admitted only for authorized text targets at runtime. */
43
+ readonly fontStyle?: 'normal' | 'italic';
44
+ };
45
+ /** Builds an Antom appearance type with the restricted Rules declaration contract. */
46
+ export type PickAntomAppearance<T extends Record<string, any>> = PickAppearance<T, AppearanceRuleDeclarations>;
47
+ type AppearanceRulesAppConfig = {
48
+ appearance?: {
49
+ rules?: unknown;
50
+ };
51
+ };
52
+ /**
53
+ * Resets stored Rules before the core deep merge handles an explicit empty patch.
54
+ *
55
+ * @param currentConfig - Current complete SDK configuration.
56
+ * @param update - Merchant configuration patch being merged.
57
+ */
58
+ export declare function prepareAppearanceRulesUpdate(currentConfig: AppearanceRulesAppConfig, update: AppearanceRulesAppConfig): void;
59
+ export {};
@@ -0,0 +1,2 @@
1
+ /** Shared immutable snapshot used when an Element must send an explicit Rules clear. */
2
+ export declare const EMPTY_APPEARANCE_RULES: Readonly<{}>;
@@ -0,0 +1,135 @@
1
+ import type { BaseBridgeEventMap } from "@antintl/opensdk-core";
2
+ import type { AntomOpenModalConfig, SubmitResult } from "./types";
3
+ /**
4
+ * @description native回调错误信息格式
5
+ * @internal
6
+ */
7
+ export interface CallbackErrorInfo {
8
+ code: string;
9
+ message?: string;
10
+ needChangeSessionForRetry?: boolean;
11
+ traceId?: string;
12
+ context?: string;
13
+ }
14
+ /**
15
+ * @description native回调会话下一步操作,包含了回调的url
16
+ * @internal
17
+ */
18
+ export interface CallbackSessionNextAction {
19
+ normalUrl?: string;
20
+ schemeUrl?: string;
21
+ applinkUrl?: string;
22
+ }
23
+ /**
24
+ * @description native回调返回数据
25
+ * @internal
26
+ */
27
+ export interface CallbackReturnData {
28
+ status?: string;
29
+ userCanceled3D?: boolean;
30
+ isExposed?: boolean;
31
+ error?: CallbackErrorInfo;
32
+ session?: {
33
+ nextAction?: CallbackSessionNextAction;
34
+ };
35
+ }
36
+ /**
37
+ * 给中间页使用的桥接事件类型
38
+ * @internal 内部使用,不暴露到外部
39
+ */
40
+ export interface AntomMiddlePageEventMap extends AntomBridgeEventMap {
41
+ /**
42
+ * @description 3DS流程完成
43
+ * @deprecated 使用auto_close_modal
44
+ */
45
+ three_ds_end: void;
46
+ /**
47
+ * @description 正常结束自动关闭事件
48
+ */
49
+ auto_close_modal: void;
50
+ }
51
+ /**
52
+ * AntomBridge事件类型,包含了SDK与webapp通信的所有事件类型
53
+ */
54
+ export interface AntomBridgeEventMap<AppConfig extends Record<string, any> = Record<string, any>, SubmitParams extends Record<string, any> = Record<string, any>, SR extends SubmitResult = SubmitResult> extends BaseBridgeEventMap<AppConfig, SR, SubmitParams, string, AntomOpenModalConfig> {
55
+ }
56
+ /**
57
+ * @description 整合了native事件的eventMap,如果你的业务element需要支持native,事件请继承这个类型
58
+ */
59
+ export interface AntomBridgeWithNativeEventMap<AppConfig extends Record<string, any> = Record<string, any>, SubmitParams extends Record<string, any> = Record<string, any>, SR extends SubmitResult = SubmitResult> extends AntomBridgeEventMap<AppConfig, SubmitParams, SR> {
60
+ /**
61
+ * @internal 展示半浮层
62
+ */
63
+ showPopup: {
64
+ mode: string;
65
+ showAnimation: string;
66
+ };
67
+ /**
68
+ * @internal 隐藏loading
69
+ */
70
+ dismissLoading: Record<string, never>;
71
+ /**
72
+ * @internal 通知APP 收银台已经ready
73
+ */
74
+ webAppReady: {
75
+ source: string;
76
+ };
77
+ /**
78
+ * @internal 通知app 应用已启动
79
+ */
80
+ onLaunch: {
81
+ success: boolean;
82
+ source: string;
83
+ target: string;
84
+ };
85
+ /**
86
+ * @internal 收到客户端返回action query的数据和商户的配置
87
+ */
88
+ renderComponent: {
89
+ sessionResult?: Record<string, unknown>;
90
+ };
91
+ /**
92
+ * @internal 心跳事件
93
+ */
94
+ appHeartBeat: {
95
+ success: boolean;
96
+ };
97
+ /**
98
+ * @internal 客户端 展示toast弹窗
99
+ */
100
+ showToast: {
101
+ icon: string;
102
+ message: string;
103
+ source: string;
104
+ };
105
+ /**
106
+ * @internal 客户端eventCallback 事件
107
+ */
108
+ onEventCallback: {
109
+ code: string;
110
+ };
111
+ /**
112
+ * @internal 发送回调码事件
113
+ */
114
+ onSubmitPayCallback: CallbackReturnData;
115
+ /**
116
+ * @internal 重置收银台
117
+ */
118
+ reset: Record<string, never>;
119
+ /**
120
+ * @internal 销毁收银台
121
+ */
122
+ destroy: Record<string, never>;
123
+ /**
124
+ * @internal 关闭收银台
125
+ */
126
+ onClose: Record<string, never>;
127
+ /**
128
+ * @internal 重定向
129
+ */
130
+ onRedirect: {
131
+ normalUrl: string;
132
+ isDestroy: boolean;
133
+ needReset: boolean;
134
+ };
135
+ }
@@ -0,0 +1,69 @@
1
+ import type { RequestOptions } from '@antintl/antom-toolset';
2
+ import { ApplePayPaymentSessionRequest, ApplePayPaymentSessionResponse, CashierSdkActionQueryRequest, CashierSdkActionQueryResult, ChannelClientIdQueryRequest, ChannelClientIdQueryResult, InquiryPaymentBySessionResult, MobileSessionRequest, OneAccountQueryRequest, OneAccountQueryResult, SubmitPayByPaymentSessionRequest, SubmitPayByPaymentSessionResult } from './definitions';
3
+ export { preConnection } from './preConnection';
4
+ /**
5
+ * @description 查询渠道clientId
6
+ * @param channelClientIdQueryRequest
7
+ * @return
8
+ * @method com.ipay.iexpfront.channelClientId.query
9
+ *
10
+ */
11
+ export declare function channelClientIdQuery(payload: ChannelClientIdQueryRequest, extraParams?: RequestOptions): Promise<ChannelClientIdQueryResult & {
12
+ traceId?: string;
13
+ errorMessage?: string;
14
+ }>;
15
+ /**
16
+ * @description 创建ApplePay支付会话,用于Apple Pay Web
17
+ * @param request 会话请求
18
+ * @return 会话对象
19
+ * @method com.ipay.iexpcashier.cashier.createApplePayPaymentSession
20
+ *
21
+ */
22
+ export declare function createApplePayPaymentSession(payload: ApplePayPaymentSessionRequest, extraParams?: RequestOptions): Promise<ApplePayPaymentSessionResponse & {
23
+ traceId?: string;
24
+ errorMessage?: string;
25
+ }>;
26
+ /**
27
+ * @description 根据session查询支付结果
28
+ * @param mobileSessionRequest session
29
+ * @return
30
+ * @method com.ipay.iexpfront.sdk.inquiryPaymentBySession
31
+ *
32
+ */
33
+ export declare function inquiryPaymentBySession(payload: MobileSessionRequest, extraParams?: RequestOptions): Promise<InquiryPaymentBySessionResult & {
34
+ traceId?: string;
35
+ errorMessage?: string;
36
+ }>;
37
+ /**
38
+ * @description one account 账户信息查询
39
+ * @param accountQueryRequest
40
+ * @return
41
+ * @method com.ipay.iexpfront.one.account.query
42
+ *
43
+ */
44
+ export declare function oneAccountQuery(payload: OneAccountQueryRequest, extraParams?: RequestOptions): Promise<OneAccountQueryResult & {
45
+ traceId?: string;
46
+ errorMessage?: string;
47
+ }>;
48
+ /**
49
+ * @description sdk action 编排接口,要素二次收集和确认等
50
+ * @param cashierSdkActionQueryRequest sessionData等
51
+ * @return 端交互信息
52
+ * @method com.ipay.iexpcashier.sdkAction.query
53
+ *
54
+ */
55
+ export declare function sdkQuery(payload: CashierSdkActionQueryRequest, extraParams?: RequestOptions): Promise<CashierSdkActionQueryResult & {
56
+ traceId?: string;
57
+ errorMessage?: string;
58
+ }>;
59
+ /**
60
+ * @description 支付要素提交,完成支付
61
+ * @param submitPayByPaymentSessionRequest 提交支付session
62
+ * @return 提交支付结果
63
+ * @method com.ipay.iexpcashier.cashier.submitPayByPaymentSession
64
+ *
65
+ */
66
+ export declare function submitPayByPaymentSession(payload: SubmitPayByPaymentSessionRequest, extraParams?: RequestOptions): Promise<SubmitPayByPaymentSessionResult & {
67
+ traceId?: string;
68
+ errorMessage?: string;
69
+ }>;