@paypay/mini-app-js-sdk 2.54.0 → 2.55.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.
- package/dist/client/clientUtils.d.ts +0 -3
- package/dist/client/communicationWithCore.d.ts +2 -1
- package/dist/client/functions/coreWindowBridgeFunctions.d.ts +5 -0
- package/dist/client/supportedFunctionsList.d.ts +1 -1
- package/dist/client/windowBridgeFunctions/domFunctions.d.ts +7 -0
- package/dist/client/windowBridgeFunctions/index.d.ts +2 -0
- package/dist/client/windowBridgeFunctions/insertIframe.d.ts +11 -0
- package/dist/composition-api/usePaymentLabel.d.ts +27 -0
- package/dist/composition-api/usePaymentTypeTranslation.d.ts +19 -0
- package/dist/core/button/buttonFunctions/index.d.ts +1 -0
- package/dist/core/button/buttonFunctions/renderButtonUi.d.ts +17 -0
- package/dist/core/button/index.d.ts +3 -0
- package/dist/core/clientState.d.ts +3 -1
- package/dist/core/coreFunctions/index.d.ts +2 -0
- package/dist/core/coreFunctions/renderButton/index.d.ts +8 -0
- package/dist/core/coreFunctions/renderButton/renderButton.d.ts +6 -0
- package/dist/core/coreFunctions/renderButton/types.d.ts +31 -0
- package/dist/core/iframeVisibilityManager.d.ts +15 -0
- package/dist/environment-variables.d.ts +1 -0
- package/dist/mini-app-api.d.ts +0 -1
- package/dist/mini-app-js-sdk.browser.js +1 -1
- package/dist/mini-app-js-sdk.es.js +261 -207
- package/dist/model/bridge/render.d.ts +1 -1
- package/dist/model/bridge/renderLoginButton.d.ts +1 -1
- package/dist/model/bridge/renderPayButton.d.ts +4 -2
- package/dist/model/makePayment.d.ts +18 -0
- package/dist/package/lottie/lottie.d.ts +1 -1
- package/dist/resources/locales/payment/index.d.ts +499 -0
- package/dist/resources/locales/payment/ja.d.ts +249 -0
- package/dist/resources/locales/shared/index.d.ts +79 -0
- package/dist/resources/locales/shared/ja.d.ts +39 -0
- package/dist/types/init.d.ts +2 -0
- package/dist/types.d.ts +2 -0
- package/dist/utils/analytics.d.ts +2 -1
- package/dist/utils/clientCustomization.d.ts +3 -0
- package/dist/utils/getLanguage.d.ts +1 -2
- package/dist/utils/helper.d.ts +1 -1
- package/dist/utils/minimumJSSDKVersion.d.ts +1 -0
- package/dist/utils/userAgent.d.ts +1 -0
- package/dist/views/coupon/components/CouponAction/index.d.ts +2 -0
- package/dist/views/coupon/index.d.ts +2 -0
- package/dist/views/make-payment/store/util-for-handle-error.d.ts +11 -0
- package/dist/views/make-payment/store.d.ts +22056 -0
- package/dist/views/make-payment/utils/paymentMethod.d.ts +4 -0
- package/dist/views/registerPaymentFeatures/types.d.ts +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
payment: {
|
|
3
|
+
address: string;
|
|
4
|
+
insufficientAmount: string;
|
|
5
|
+
cancel: string;
|
|
6
|
+
noAddress: string;
|
|
7
|
+
change: string;
|
|
8
|
+
close: string;
|
|
9
|
+
noCashBack: string;
|
|
10
|
+
transactionId: string;
|
|
11
|
+
ppPointGuideMessage: string;
|
|
12
|
+
};
|
|
13
|
+
duplicate: {
|
|
14
|
+
cancel: string;
|
|
15
|
+
topHeader: string;
|
|
16
|
+
topText1: string;
|
|
17
|
+
topText2: string;
|
|
18
|
+
topAgreeButtonText: string;
|
|
19
|
+
};
|
|
20
|
+
birthdayConfirm: {
|
|
21
|
+
title: string;
|
|
22
|
+
title2: string;
|
|
23
|
+
desc: string;
|
|
24
|
+
desc1: string;
|
|
25
|
+
desc2: string;
|
|
26
|
+
desc3: string;
|
|
27
|
+
date: string;
|
|
28
|
+
primaryBtn: string;
|
|
29
|
+
cancelBtn: string;
|
|
30
|
+
};
|
|
31
|
+
birthdayConfirmError: {
|
|
32
|
+
title: string;
|
|
33
|
+
title2: string;
|
|
34
|
+
desc: string;
|
|
35
|
+
desc2: string;
|
|
36
|
+
helpBtn: string;
|
|
37
|
+
closeBtn: string;
|
|
38
|
+
};
|
|
39
|
+
cashbackDet: {
|
|
40
|
+
button1: string;
|
|
41
|
+
button2: string;
|
|
42
|
+
button3: string;
|
|
43
|
+
};
|
|
44
|
+
topContent: {
|
|
45
|
+
chargeTitle: string;
|
|
46
|
+
chargeLabel: string;
|
|
47
|
+
unavailable1: string;
|
|
48
|
+
unavailable2: string;
|
|
49
|
+
topupNotice: string;
|
|
50
|
+
topupLink: string;
|
|
51
|
+
return: string;
|
|
52
|
+
};
|
|
53
|
+
cashbackList: {
|
|
54
|
+
close: string;
|
|
55
|
+
condition: string;
|
|
56
|
+
};
|
|
57
|
+
newOffersBanner: {
|
|
58
|
+
title: string;
|
|
59
|
+
description: string;
|
|
60
|
+
};
|
|
61
|
+
ekyc: {
|
|
62
|
+
title: string;
|
|
63
|
+
link: string;
|
|
64
|
+
button1: string;
|
|
65
|
+
button2: string;
|
|
66
|
+
};
|
|
67
|
+
qr: {
|
|
68
|
+
titleEKYC: string;
|
|
69
|
+
bodyEKYC: string;
|
|
70
|
+
titleAddTopup: string;
|
|
71
|
+
bodyAddTopup: string;
|
|
72
|
+
close: string;
|
|
73
|
+
};
|
|
74
|
+
type: {
|
|
75
|
+
payment: {
|
|
76
|
+
title: string;
|
|
77
|
+
payAmount: string;
|
|
78
|
+
payAmountTaxExempt: string;
|
|
79
|
+
method: string;
|
|
80
|
+
selectMethod: string;
|
|
81
|
+
paying: string;
|
|
82
|
+
pay: string;
|
|
83
|
+
charge: string;
|
|
84
|
+
notice: string;
|
|
85
|
+
terms: null;
|
|
86
|
+
payLaterCCTerms: null;
|
|
87
|
+
duplicate: {
|
|
88
|
+
header: string;
|
|
89
|
+
text1: string;
|
|
90
|
+
text2: string;
|
|
91
|
+
agreeButtonText: string;
|
|
92
|
+
};
|
|
93
|
+
topContent: {
|
|
94
|
+
title: string;
|
|
95
|
+
loading: string;
|
|
96
|
+
amount: string;
|
|
97
|
+
};
|
|
98
|
+
desktopTitle: {
|
|
99
|
+
Payment: string;
|
|
100
|
+
paymentCompletion: string;
|
|
101
|
+
};
|
|
102
|
+
errorSheet: {
|
|
103
|
+
payPeriod: string;
|
|
104
|
+
};
|
|
105
|
+
ekyc: {
|
|
106
|
+
description: string;
|
|
107
|
+
};
|
|
108
|
+
complete: {
|
|
109
|
+
title: string;
|
|
110
|
+
titlePreAuth: string;
|
|
111
|
+
};
|
|
112
|
+
closeConfirmation: {
|
|
113
|
+
title: string;
|
|
114
|
+
confirm: string;
|
|
115
|
+
cancel: string;
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
donation: {
|
|
119
|
+
title: string;
|
|
120
|
+
payAmount: string;
|
|
121
|
+
payAmountTaxExempt: string;
|
|
122
|
+
method: string;
|
|
123
|
+
selectMethod: string;
|
|
124
|
+
paying: string;
|
|
125
|
+
pay: string;
|
|
126
|
+
charge: string;
|
|
127
|
+
notice: string;
|
|
128
|
+
terms: string[];
|
|
129
|
+
payLaterCCTerms: string[];
|
|
130
|
+
duplicate: {
|
|
131
|
+
header: string;
|
|
132
|
+
text1: string;
|
|
133
|
+
text2: string;
|
|
134
|
+
agreeButtonText: string;
|
|
135
|
+
};
|
|
136
|
+
topContent: {
|
|
137
|
+
title: string;
|
|
138
|
+
loading: string;
|
|
139
|
+
amount: string;
|
|
140
|
+
};
|
|
141
|
+
desktopTitle: {
|
|
142
|
+
Payment: string;
|
|
143
|
+
paymentCompletion: string;
|
|
144
|
+
};
|
|
145
|
+
errorSheet: {
|
|
146
|
+
payPeriod: string;
|
|
147
|
+
};
|
|
148
|
+
ekyc: {
|
|
149
|
+
description: string;
|
|
150
|
+
};
|
|
151
|
+
complete: {
|
|
152
|
+
title: string;
|
|
153
|
+
titlePreAuth: string;
|
|
154
|
+
};
|
|
155
|
+
closeConfirmation: {
|
|
156
|
+
title: string;
|
|
157
|
+
confirm: string;
|
|
158
|
+
cancel: string;
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
remittance: {
|
|
162
|
+
title: string;
|
|
163
|
+
payAmount: string;
|
|
164
|
+
payAmountTaxExempt: string;
|
|
165
|
+
method: string;
|
|
166
|
+
selectMethod: string;
|
|
167
|
+
paying: string;
|
|
168
|
+
pay: string;
|
|
169
|
+
charge: string;
|
|
170
|
+
notice: string;
|
|
171
|
+
terms: string[];
|
|
172
|
+
payLaterCCTerms: string[];
|
|
173
|
+
duplicate: {
|
|
174
|
+
header: string;
|
|
175
|
+
text1: string;
|
|
176
|
+
text2: string;
|
|
177
|
+
agreeButtonText: string;
|
|
178
|
+
};
|
|
179
|
+
topContent: {
|
|
180
|
+
title: string;
|
|
181
|
+
loading: string;
|
|
182
|
+
amount: string;
|
|
183
|
+
};
|
|
184
|
+
desktopTitle: {
|
|
185
|
+
Payment: string;
|
|
186
|
+
paymentCompletion: string;
|
|
187
|
+
};
|
|
188
|
+
errorSheet: {
|
|
189
|
+
payPeriod: string;
|
|
190
|
+
};
|
|
191
|
+
ekyc: {
|
|
192
|
+
description: string;
|
|
193
|
+
};
|
|
194
|
+
complete: {
|
|
195
|
+
title: string;
|
|
196
|
+
titlePreAuth: string;
|
|
197
|
+
};
|
|
198
|
+
closeConfirmation: {
|
|
199
|
+
title: string;
|
|
200
|
+
confirm: string;
|
|
201
|
+
cancel: string;
|
|
202
|
+
};
|
|
203
|
+
};
|
|
204
|
+
deposit: {
|
|
205
|
+
title: string;
|
|
206
|
+
payAmount: string;
|
|
207
|
+
payAmountTaxExempt: string;
|
|
208
|
+
method: string;
|
|
209
|
+
selectMethod: string;
|
|
210
|
+
paying: string;
|
|
211
|
+
pay: string;
|
|
212
|
+
charge: string;
|
|
213
|
+
notice: string;
|
|
214
|
+
terms: string[];
|
|
215
|
+
payLaterCCTerms: null;
|
|
216
|
+
duplicate: {
|
|
217
|
+
header: string;
|
|
218
|
+
text1: string;
|
|
219
|
+
text2: string;
|
|
220
|
+
agreeButtonText: string;
|
|
221
|
+
};
|
|
222
|
+
topContent: {
|
|
223
|
+
title: string;
|
|
224
|
+
loading: string;
|
|
225
|
+
amount: string;
|
|
226
|
+
};
|
|
227
|
+
desktopTitle: {
|
|
228
|
+
Payment: string;
|
|
229
|
+
paymentCompletion: string;
|
|
230
|
+
};
|
|
231
|
+
errorSheet: {
|
|
232
|
+
payPeriod: string;
|
|
233
|
+
};
|
|
234
|
+
ekyc: {
|
|
235
|
+
description: string;
|
|
236
|
+
};
|
|
237
|
+
complete: {
|
|
238
|
+
title: string;
|
|
239
|
+
titlePreAuth: string;
|
|
240
|
+
};
|
|
241
|
+
closeConfirmation: {
|
|
242
|
+
title: string;
|
|
243
|
+
confirm: string;
|
|
244
|
+
cancel: string;
|
|
245
|
+
};
|
|
246
|
+
};
|
|
247
|
+
};
|
|
248
|
+
};
|
|
249
|
+
export default _default;
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
ja: {
|
|
3
|
+
desktopTitle: {
|
|
4
|
+
addNewAddress: string;
|
|
5
|
+
editAddress: string;
|
|
6
|
+
paymentCompletion: string;
|
|
7
|
+
getUserAddress: string;
|
|
8
|
+
};
|
|
9
|
+
choosePayment: {
|
|
10
|
+
title: string;
|
|
11
|
+
desc1: string;
|
|
12
|
+
desc2: string;
|
|
13
|
+
addMethod: string;
|
|
14
|
+
noMethod: string;
|
|
15
|
+
};
|
|
16
|
+
errorSheet: {
|
|
17
|
+
title: string;
|
|
18
|
+
title1: string;
|
|
19
|
+
desc: string;
|
|
20
|
+
topup: string;
|
|
21
|
+
topupDesc: string;
|
|
22
|
+
pay: string;
|
|
23
|
+
payDesc: string;
|
|
24
|
+
tryAgain: string;
|
|
25
|
+
};
|
|
26
|
+
softbank: {
|
|
27
|
+
desc: string;
|
|
28
|
+
desc1: string;
|
|
29
|
+
isDisable: string;
|
|
30
|
+
};
|
|
31
|
+
'3dSecureSheet': {
|
|
32
|
+
title: string;
|
|
33
|
+
descriptionForYJCardOrPPCard: string;
|
|
34
|
+
description: string;
|
|
35
|
+
setting3DSecure: string;
|
|
36
|
+
about3DSecure: string;
|
|
37
|
+
close: string;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
en: {
|
|
41
|
+
desktopTitle: {
|
|
42
|
+
addNewAddress: string;
|
|
43
|
+
editAddress: string;
|
|
44
|
+
paymentCompletion: string;
|
|
45
|
+
getUserAddress: string;
|
|
46
|
+
};
|
|
47
|
+
choosePayment: {
|
|
48
|
+
title: string;
|
|
49
|
+
desc1: string;
|
|
50
|
+
desc2: string;
|
|
51
|
+
addMethod: string;
|
|
52
|
+
noMethod: string;
|
|
53
|
+
};
|
|
54
|
+
errorSheet: {
|
|
55
|
+
title: string;
|
|
56
|
+
title1: string;
|
|
57
|
+
desc: string;
|
|
58
|
+
topup: string;
|
|
59
|
+
topupDesc: string;
|
|
60
|
+
pay: string;
|
|
61
|
+
payDesc: string;
|
|
62
|
+
tryAgain: string;
|
|
63
|
+
};
|
|
64
|
+
softbank: {
|
|
65
|
+
desc: string;
|
|
66
|
+
desc1: string;
|
|
67
|
+
isDisable: string;
|
|
68
|
+
};
|
|
69
|
+
'3dSecureSheet': {
|
|
70
|
+
title: string;
|
|
71
|
+
descriptionForYJCardOrPPCard: string;
|
|
72
|
+
description: string;
|
|
73
|
+
setting3DSecure: string;
|
|
74
|
+
about3DSecure: string;
|
|
75
|
+
close: string;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
export default _default;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
desktopTitle: {
|
|
3
|
+
addNewAddress: string;
|
|
4
|
+
editAddress: string;
|
|
5
|
+
paymentCompletion: string;
|
|
6
|
+
getUserAddress: string;
|
|
7
|
+
};
|
|
8
|
+
choosePayment: {
|
|
9
|
+
title: string;
|
|
10
|
+
desc1: string;
|
|
11
|
+
desc2: string;
|
|
12
|
+
addMethod: string;
|
|
13
|
+
noMethod: string;
|
|
14
|
+
};
|
|
15
|
+
errorSheet: {
|
|
16
|
+
title: string;
|
|
17
|
+
title1: string;
|
|
18
|
+
desc: string;
|
|
19
|
+
topup: string;
|
|
20
|
+
topupDesc: string;
|
|
21
|
+
pay: string;
|
|
22
|
+
payDesc: string;
|
|
23
|
+
tryAgain: string;
|
|
24
|
+
};
|
|
25
|
+
softbank: {
|
|
26
|
+
desc: string;
|
|
27
|
+
desc1: string;
|
|
28
|
+
isDisable: string;
|
|
29
|
+
};
|
|
30
|
+
'3dSecureSheet': {
|
|
31
|
+
title: string;
|
|
32
|
+
descriptionForYJCardOrPPCard: string;
|
|
33
|
+
description: string;
|
|
34
|
+
setting3DSecure: string;
|
|
35
|
+
about3DSecure: string;
|
|
36
|
+
close: string;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
export default _default;
|
package/dist/types/init.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export interface InitClientParams extends NativeParams<InitResult> {
|
|
|
5
5
|
env?: PPEnvType;
|
|
6
6
|
mode?: string;
|
|
7
7
|
debugMode?: boolean;
|
|
8
|
+
useLocalStorage?: boolean;
|
|
8
9
|
}
|
|
9
10
|
export interface InitParams extends NativeParams<InitResult> {
|
|
10
11
|
clientId: string;
|
|
@@ -18,6 +19,7 @@ export interface InitParams extends NativeParams<InitResult> {
|
|
|
18
19
|
debugMode?: boolean;
|
|
19
20
|
clientSdkType?: SdkType;
|
|
20
21
|
clientUrl?: string;
|
|
22
|
+
useLocalStorage?: boolean;
|
|
21
23
|
}
|
|
22
24
|
export declare const PPEnv: {
|
|
23
25
|
readonly staging: "staging";
|
package/dist/types.d.ts
CHANGED
|
@@ -454,6 +454,8 @@ export declare const PPUtilFunctionName: {
|
|
|
454
454
|
readonly saveRefreshToken: "saveRefreshToken";
|
|
455
455
|
readonly saveCodeVerifier: "saveCodeVerifier";
|
|
456
456
|
readonly makeVisible: "makeVisible";
|
|
457
|
+
readonly hideIframe: "hideIframe";
|
|
458
|
+
readonly showIframe: "showIframe";
|
|
457
459
|
readonly consoleDebugInfo: "consoleDebugInfo";
|
|
458
460
|
readonly clientPopState: "clientPopState";
|
|
459
461
|
};
|
|
@@ -31,6 +31,7 @@ export declare function handleLogSDKEvent(name: PPFunctionNameType, eventActionS
|
|
|
31
31
|
export declare function test_initClientState(params: {
|
|
32
32
|
clientId: string;
|
|
33
33
|
clientOrigin: string;
|
|
34
|
-
clientSdkType
|
|
34
|
+
clientSdkType: SdkType;
|
|
35
|
+
useLocalStorage: boolean;
|
|
35
36
|
}): void;
|
|
36
37
|
export {};
|
package/dist/utils/helper.d.ts
CHANGED
|
@@ -74,7 +74,6 @@ export declare function getButtonType(button: UIComponentsErrorButton | ErrorShe
|
|
|
74
74
|
export declare function getRandomString(): string;
|
|
75
75
|
export declare function isAlphabet(value: string): boolean;
|
|
76
76
|
export declare function reconstructKycPassportCallbackUrl(url: string, type: string): string;
|
|
77
|
-
export declare function getValueFromUA(paramName: string): string | undefined;
|
|
78
77
|
export declare function isBffSitEnvironment(): boolean;
|
|
79
78
|
export declare function replaceStringPlaceholders(str: string, values: Record<string, string>): string;
|
|
80
79
|
export declare function validateUrl(url: string): boolean;
|
|
@@ -97,4 +96,5 @@ export declare function isDesktopSize(width: number): boolean;
|
|
|
97
96
|
export declare function getOverDraftInfoBanner(banners?: Array<InfoBanner>): InfoBanner | undefined;
|
|
98
97
|
export declare function isValidUrl(urlChallenge: string): boolean;
|
|
99
98
|
export declare function calculateTopMargin(navigationStyle: string, statusBarHeight: number, navBarHeight: number): number;
|
|
99
|
+
export declare function getWindowByName(frames: Window, windowName: string): Window | undefined;
|
|
100
100
|
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function getValueFromUA(paramName: string): string | undefined;
|
|
@@ -19,6 +19,7 @@ declare const CouponAction: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
19
19
|
logEvent: typeof import("../../../../core/coreFunctions/logEvent").logEvent;
|
|
20
20
|
logout: typeof import("../../../../core/coreFunctions/logout").logout;
|
|
21
21
|
markAsReady: typeof import("../../../../core/coreFunctions/markAsReady").markAsReady;
|
|
22
|
+
renderButton: typeof import("../../../../core/coreFunctions/renderButton").renderButton;
|
|
22
23
|
}>>;
|
|
23
24
|
required: true;
|
|
24
25
|
};
|
|
@@ -53,6 +54,7 @@ declare const CouponAction: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
53
54
|
logEvent: typeof import("../../../../core/coreFunctions/logEvent").logEvent;
|
|
54
55
|
logout: typeof import("../../../../core/coreFunctions/logout").logout;
|
|
55
56
|
markAsReady: typeof import("../../../../core/coreFunctions/markAsReady").markAsReady;
|
|
57
|
+
renderButton: typeof import("../../../../core/coreFunctions/renderButton").renderButton;
|
|
56
58
|
}>>;
|
|
57
59
|
required: true;
|
|
58
60
|
};
|
|
@@ -19,6 +19,7 @@ export declare const CouponView: import("vue").DefineComponent<import("vue").Ext
|
|
|
19
19
|
logEvent: typeof import("../../core/coreFunctions/logEvent").logEvent;
|
|
20
20
|
logout: typeof import("../../core/coreFunctions/logout").logout;
|
|
21
21
|
markAsReady: typeof import("../../core/coreFunctions/markAsReady").markAsReady;
|
|
22
|
+
renderButton: typeof import("../../core/coreFunctions/renderButton").renderButton;
|
|
22
23
|
}>>;
|
|
23
24
|
required: true;
|
|
24
25
|
};
|
|
@@ -57,6 +58,7 @@ export declare const CouponView: import("vue").DefineComponent<import("vue").Ext
|
|
|
57
58
|
logEvent: typeof import("../../core/coreFunctions/logEvent").logEvent;
|
|
58
59
|
logout: typeof import("../../core/coreFunctions/logout").logout;
|
|
59
60
|
markAsReady: typeof import("../../core/coreFunctions/markAsReady").markAsReady;
|
|
61
|
+
renderButton: typeof import("../../core/coreFunctions/renderButton").renderButton;
|
|
60
62
|
}>>;
|
|
61
63
|
required: true;
|
|
62
64
|
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { MiniAppErrorType } from '../../../model/miniAppError';
|
|
2
|
+
import { ResponseBase } from '../../../types/makePayment';
|
|
3
|
+
import { PPFetchResult } from '../../../utils/fetch';
|
|
4
|
+
export declare type API_TYPES = 'consult' | 'payment' | 'topup' | 'paymentMethod' | 'address';
|
|
5
|
+
export declare type API_TYPES_NEVER_RETURN = 'ageConfirm' | 'cashback';
|
|
6
|
+
export declare function createErrorFromType(type?: string): {
|
|
7
|
+
errorTitle: string;
|
|
8
|
+
errorDescription: string;
|
|
9
|
+
errorIcon: string;
|
|
10
|
+
};
|
|
11
|
+
export declare function createErrorCodeForFailCallBack(res: PPFetchResult<ResponseBase>, api: API_TYPES | API_TYPES_NEVER_RETURN): MiniAppErrorType;
|