@paypay/mini-app-js-sdk 1.47.0 → 1.50.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/mini-app-api.d.ts +2 -1
- package/dist/mini-app-js-sdk.browser.js +1 -1
- package/dist/mini-app-js-sdk.es.js +2177 -725
- package/dist/mini-app-js-sdk.min.css +1 -1
- package/dist/model/bridge/getCashbackInformation.d.ts +2 -0
- package/dist/model/makePayment.d.ts +22 -14
- package/dist/model/miniAppError.d.ts +2 -1
- package/dist/model/permission.d.ts +1 -0
- package/dist/package/banner-header/index.vue.d.ts +1 -1
- package/dist/package/payment-method/Bank.vue.d.ts +14 -5
- package/dist/package/payment-method/CreditCard.vue.d.ts +14 -13
- package/dist/package/payment-method/PayLaterCC.vue.d.ts +14 -4
- package/dist/package/payment-method/SbidBank.vue.d.ts +14 -5
- package/dist/package/payment-method/Wallet.vue.d.ts +6 -2
- package/dist/package/payment-method/index.d.ts +6 -2
- package/dist/types.d.ts +5 -0
- package/dist/utils/helper.d.ts +3 -2
- package/dist/views/make-payment/Main.vue.d.ts +1 -0
- package/dist/views/make-payment/Sheets/Charge/ChoosePaymentMethod.vue.d.ts +10 -1
- package/dist/views/make-payment/Sheets/Charge/TopContent.vue.d.ts +10 -1
- package/dist/views/make-payment/Sheets/Charge/index.vue.d.ts +230 -36
- package/dist/views/make-payment/Sheets/ChoosePayment.vue.d.ts +10 -1
- package/dist/views/make-payment/Sheets/MaintenanceInfo.vue.d.ts +20 -0
- package/dist/views/make-payment/Sheets/PayMethod.vue.d.ts +10 -1
- package/dist/views/make-payment/Sheets/Payment.vue.d.ts +10 -1
- package/dist/views/make-payment/hooks/app-hooks.d.ts +116 -22
- package/dist/views/topup/App.vue.d.ts +2 -3
- package/package.json +5 -4
|
@@ -45,6 +45,7 @@ export declare enum PaymentMethodType {
|
|
|
45
45
|
PAY_LATER_CC = "PAY_LATER_CC"
|
|
46
46
|
}
|
|
47
47
|
export interface PaymentState {
|
|
48
|
+
appealDescription: AppealDescription | null;
|
|
48
49
|
paymentMethods: PaymentMethod[];
|
|
49
50
|
selectPaymentIndex: number;
|
|
50
51
|
bannerInfo: BannerInfo;
|
|
@@ -60,11 +61,12 @@ declare type MethodBase = {
|
|
|
60
61
|
sbidCarrierBillingInfo?: unknown;
|
|
61
62
|
payLaterCcInfo?: unknown;
|
|
62
63
|
paymentMethodDescriptionInfo?: {
|
|
63
|
-
statusDescription:
|
|
64
|
-
additionalDescription
|
|
64
|
+
statusDescription: DescriptionInfo | null;
|
|
65
|
+
additionalDescription: DescriptionInfo | null;
|
|
66
|
+
detailDescription: DescriptionInfo | null;
|
|
65
67
|
};
|
|
66
68
|
};
|
|
67
|
-
declare type
|
|
69
|
+
export declare type DescriptionInfo = {
|
|
68
70
|
text: string;
|
|
69
71
|
linkUrl?: string;
|
|
70
72
|
headerIcon?: string;
|
|
@@ -124,6 +126,7 @@ export declare type CreditCardInfo = {
|
|
|
124
126
|
ccType?: string;
|
|
125
127
|
paymentMethodStatus?: PaymentMethodStatus;
|
|
126
128
|
preTransactionAutoChargeSupported?: boolean;
|
|
129
|
+
paymentMethodStatusLabel?: string;
|
|
127
130
|
};
|
|
128
131
|
export declare type CreditMethod = MethodBase & {
|
|
129
132
|
paymentMethodType: PaymentMethodType.CREDIT_CARD;
|
|
@@ -172,16 +175,20 @@ export declare type BankMethod = MethodBase & {
|
|
|
172
175
|
};
|
|
173
176
|
export declare type SbidBankMethod = MethodBase & {
|
|
174
177
|
paymentMethodType: PaymentMethodType.SBID_CARRIER_BILLING;
|
|
175
|
-
sbidCarrierBillingInfo?:
|
|
176
|
-
|
|
177
|
-
|
|
178
|
+
sbidCarrierBillingInfo?: SbidBankInfo;
|
|
179
|
+
};
|
|
180
|
+
export declare type SbidBankInfo = {
|
|
181
|
+
paymentMethodStatus?: PaymentMethodStatus;
|
|
182
|
+
paymentMethodStatusLabel?: string;
|
|
178
183
|
};
|
|
179
184
|
export declare type PayLaterCCMethod = MethodBase & {
|
|
180
185
|
paymentMethodType: PaymentMethodType.PAY_LATER_CC;
|
|
181
|
-
payLaterCcInfo?:
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
186
|
+
payLaterCcInfo?: PayLaterCCInfo;
|
|
187
|
+
};
|
|
188
|
+
export declare type PayLaterCCInfo = {
|
|
189
|
+
availableAmount?: number;
|
|
190
|
+
paymentMethodStatus?: PaymentMethodStatus;
|
|
191
|
+
paymentMethodStatusLabel?: string;
|
|
185
192
|
};
|
|
186
193
|
declare type PayLaterMethod = MethodBase & {
|
|
187
194
|
paymentMethodType: PaymentMethodType.PAY_LATER;
|
|
@@ -206,6 +213,7 @@ export declare type GetPaymentMethodsResponse = ResponseBase & {
|
|
|
206
213
|
data: {
|
|
207
214
|
payload: {
|
|
208
215
|
paymentMethodList: PaymentMethod[];
|
|
216
|
+
appealDescription: AppealDescription | null;
|
|
209
217
|
};
|
|
210
218
|
};
|
|
211
219
|
};
|
|
@@ -246,11 +254,11 @@ export declare type MakePaymentResponse = ResponseBase & {
|
|
|
246
254
|
};
|
|
247
255
|
export declare const makePayment: (queryParams: PaymentQuery, body: PaymentBody, isAuthorization: boolean) => Promise<PPFetchResult<MakePaymentResponse>>;
|
|
248
256
|
export declare type AppealDescription = {
|
|
249
|
-
backgroundColor
|
|
257
|
+
backgroundColor?: string;
|
|
250
258
|
color: string;
|
|
251
|
-
headerIcon
|
|
252
|
-
isBold:
|
|
253
|
-
linkUrl
|
|
259
|
+
headerIcon?: string | null;
|
|
260
|
+
isBold: boolean;
|
|
261
|
+
linkUrl?: string;
|
|
254
262
|
text: string;
|
|
255
263
|
};
|
|
256
264
|
export declare type InsufficientBalanceInfo = {
|
|
@@ -50,7 +50,8 @@ export declare enum MiniAppErrorType {
|
|
|
50
50
|
permissionRequired = "PERMISSION_REQUIRED",
|
|
51
51
|
deeplinkUnavailable = "DEEPLINK_UNAVAILABLE",
|
|
52
52
|
kycIncompleted = "KYC_INCOMPLETED",
|
|
53
|
-
noBankAccount = "NO_BANK_ACCOUNT"
|
|
53
|
+
noBankAccount = "NO_BANK_ACCOUNT",
|
|
54
|
+
invalidPaymentIdentifier = "INVALID_PAYMENT_IDENTIFIER"
|
|
54
55
|
}
|
|
55
56
|
export declare class MiniAppError extends Error {
|
|
56
57
|
constructor(type: MiniAppErrorType);
|
|
@@ -17,6 +17,7 @@ export declare const PermissionName: {
|
|
|
17
17
|
mini_app_user_phone_camera: string;
|
|
18
18
|
mini_app_user_phone_album: string;
|
|
19
19
|
mini_app_bank_information: string;
|
|
20
|
+
mini_app_cashback_information: string;
|
|
20
21
|
};
|
|
21
22
|
export declare const checkPermission: (permissionNames: string[] | string) => Promise<PermissionStatus>;
|
|
22
23
|
export declare function getUserGrantedPermission(): Promise<string[]>;
|
|
@@ -63,9 +63,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
63
63
|
onShow?: ((_p: BannerInfo) => any) | undefined;
|
|
64
64
|
}, {
|
|
65
65
|
class: string;
|
|
66
|
+
textStyle: string;
|
|
66
67
|
showTitle: boolean;
|
|
67
68
|
descriptionBannerInfo: BannerInfo;
|
|
68
|
-
textStyle: string;
|
|
69
69
|
iconAlignRight: boolean;
|
|
70
70
|
}>;
|
|
71
71
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { BankMethod } from '../../model/makePayment';
|
|
2
|
+
import { BankMethod, DescriptionInfo } from '../../model/makePayment';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<{
|
|
4
4
|
bank: {
|
|
5
5
|
type: PropType<BankMethod>;
|
|
@@ -19,11 +19,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
19
19
|
digits: string | undefined;
|
|
20
20
|
}>;
|
|
21
21
|
isDisable: import("vue").ComputedRef<boolean>;
|
|
22
|
-
|
|
23
|
-
maintainanceInfo: import("vue").ComputedRef<unknown>;
|
|
22
|
+
paymentMethodStatusText: import("vue").ComputedRef<unknown>;
|
|
24
23
|
getClass: string;
|
|
25
24
|
style: Record<string, string>;
|
|
26
|
-
|
|
25
|
+
payMethodDescriptionInfo: import("vue").ComputedRef<DescriptionInfo[]>;
|
|
26
|
+
getMaintenanceStyle: import("vue").ComputedRef<(info: DescriptionInfo) => {
|
|
27
|
+
color: string;
|
|
28
|
+
}>;
|
|
29
|
+
handleClick: (e: Event, info: DescriptionInfo) => void;
|
|
30
|
+
handleSelect: () => void;
|
|
31
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
32
|
+
select: () => true;
|
|
33
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
27
34
|
bank: {
|
|
28
35
|
type: PropType<BankMethod>;
|
|
29
36
|
required: true;
|
|
@@ -33,7 +40,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
33
40
|
required: false;
|
|
34
41
|
default: boolean;
|
|
35
42
|
};
|
|
36
|
-
}
|
|
43
|
+
}>> & {
|
|
44
|
+
onSelect?: (() => any) | undefined;
|
|
45
|
+
}, {
|
|
37
46
|
round: boolean;
|
|
38
47
|
}>;
|
|
39
48
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComputedRef, PropType } from 'vue';
|
|
2
|
-
import { CreditMethod } from '../../model/makePayment';
|
|
2
|
+
import { CreditMethod, DescriptionInfo } from '../../model/makePayment';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<{
|
|
4
4
|
credit: {
|
|
5
5
|
type: PropType<CreditMethod>;
|
|
@@ -20,25 +20,24 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
20
20
|
style: string;
|
|
21
21
|
}>;
|
|
22
22
|
paymentMethodStatusText: ComputedRef<unknown>;
|
|
23
|
-
maintainanceInfo: ComputedRef<unknown>;
|
|
24
23
|
getClass: string;
|
|
25
|
-
|
|
24
|
+
isDisable: ComputedRef<boolean | undefined>;
|
|
26
25
|
style: Record<string, string>;
|
|
27
26
|
cardInfo: ComputedRef<{
|
|
28
27
|
title: string;
|
|
29
28
|
logo: string;
|
|
30
29
|
style?: string | undefined;
|
|
31
30
|
}>;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
linkUrl?: string | undefined;
|
|
36
|
-
headerIcon?: string | undefined;
|
|
37
|
-
isBold: boolean;
|
|
31
|
+
additionalDescription: ComputedRef<DescriptionInfo | null | undefined>;
|
|
32
|
+
payMethodDescriptionInfo: ComputedRef<DescriptionInfo[]>;
|
|
33
|
+
getMaintenanceStyle: ComputedRef<(info: DescriptionInfo) => {
|
|
38
34
|
color: string;
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
35
|
+
}>;
|
|
36
|
+
handleClick: (e: Event, info: DescriptionInfo) => void;
|
|
37
|
+
handleSelect: () => void;
|
|
38
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
39
|
+
select: () => true;
|
|
40
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
42
41
|
credit: {
|
|
43
42
|
type: PropType<CreditMethod>;
|
|
44
43
|
required: true;
|
|
@@ -48,7 +47,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
48
47
|
required: false;
|
|
49
48
|
default: boolean;
|
|
50
49
|
};
|
|
51
|
-
}
|
|
50
|
+
}>> & {
|
|
51
|
+
onSelect?: (() => any) | undefined;
|
|
52
|
+
}, {
|
|
52
53
|
round: boolean;
|
|
53
54
|
}>;
|
|
54
55
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { PayLaterCCMethod } from '../../model/makePayment';
|
|
2
|
+
import { PayLaterCCMethod, DescriptionInfo } from '../../model/makePayment';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<{
|
|
4
4
|
payLater: {
|
|
5
5
|
type: PropType<PayLaterCCMethod>;
|
|
@@ -7,7 +7,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
7
7
|
};
|
|
8
8
|
}, {
|
|
9
9
|
formattedBalance: import("vue").ComputedRef<string>;
|
|
10
|
-
isDisable: boolean
|
|
10
|
+
isDisable: import("vue").ComputedRef<boolean>;
|
|
11
11
|
images: {
|
|
12
12
|
iconBalanceError: string;
|
|
13
13
|
animationDone: string;
|
|
@@ -411,10 +411,20 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
411
411
|
};
|
|
412
412
|
};
|
|
413
413
|
paymentMethodStatusText: import("vue").ComputedRef<unknown>;
|
|
414
|
-
|
|
414
|
+
payMethodDescriptionInfo: import("vue").ComputedRef<DescriptionInfo[]>;
|
|
415
|
+
getMaintenanceStyle: import("vue").ComputedRef<(info: DescriptionInfo) => {
|
|
416
|
+
color: string;
|
|
417
|
+
}>;
|
|
418
|
+
handleClick: (e: Event, info: DescriptionInfo) => void;
|
|
419
|
+
handleSelect: () => void;
|
|
420
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
421
|
+
select: () => true;
|
|
422
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
415
423
|
payLater: {
|
|
416
424
|
type: PropType<PayLaterCCMethod>;
|
|
417
425
|
required: true;
|
|
418
426
|
};
|
|
419
|
-
}
|
|
427
|
+
}>> & {
|
|
428
|
+
onSelect?: (() => any) | undefined;
|
|
429
|
+
}, {}>;
|
|
420
430
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { SbidBankMethod } from '../../model/makePayment';
|
|
2
|
+
import { SbidBankMethod, DescriptionInfo } from '../../model/makePayment';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<{
|
|
4
4
|
sbid: {
|
|
5
5
|
type: PropType<SbidBankMethod>;
|
|
@@ -58,8 +58,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
58
58
|
icon3DSecure: string;
|
|
59
59
|
iconArrowRightBlue: string;
|
|
60
60
|
};
|
|
61
|
-
|
|
62
|
-
maintainanceInfo: import("vue").ComputedRef<unknown>;
|
|
61
|
+
paymentMethodStatusText: import("vue").ComputedRef<unknown>;
|
|
63
62
|
getClass: string;
|
|
64
63
|
lg: {
|
|
65
64
|
showUpdateWarning: {
|
|
@@ -413,10 +412,20 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
413
412
|
};
|
|
414
413
|
};
|
|
415
414
|
style: Record<string, string>;
|
|
416
|
-
|
|
415
|
+
payMethodDescriptionInfo: import("vue").ComputedRef<DescriptionInfo[]>;
|
|
416
|
+
getMaintenanceStyle: import("vue").ComputedRef<(info: DescriptionInfo) => {
|
|
417
|
+
color: string;
|
|
418
|
+
}>;
|
|
419
|
+
handleClick: (e: Event, info: DescriptionInfo) => void;
|
|
420
|
+
handleSelect: () => void;
|
|
421
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
422
|
+
select: () => true;
|
|
423
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
417
424
|
sbid: {
|
|
418
425
|
type: PropType<SbidBankMethod>;
|
|
419
426
|
required: true;
|
|
420
427
|
};
|
|
421
|
-
}
|
|
428
|
+
}>> & {
|
|
429
|
+
onSelect?: (() => any) | undefined;
|
|
430
|
+
}, {}>;
|
|
422
431
|
export default _default;
|
|
@@ -422,10 +422,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
422
422
|
};
|
|
423
423
|
};
|
|
424
424
|
};
|
|
425
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
425
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
426
|
+
select: () => true;
|
|
427
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
426
428
|
wallet: {
|
|
427
429
|
type: PropType<WalletMethod>;
|
|
428
430
|
required: true;
|
|
429
431
|
};
|
|
430
|
-
}
|
|
432
|
+
}>> & {
|
|
433
|
+
onSelect?: (() => any) | undefined;
|
|
434
|
+
}, {}>;
|
|
431
435
|
export default _default;
|
|
@@ -6,12 +6,16 @@ export declare const PaymentMethod: import("vue").DefineComponent<{
|
|
|
6
6
|
required: true;
|
|
7
7
|
default: () => void;
|
|
8
8
|
};
|
|
9
|
-
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
9
|
+
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
select: () => true;
|
|
11
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
10
12
|
paymentMethod: {
|
|
11
13
|
type: PropType<TPaymentMethod>;
|
|
12
14
|
required: true;
|
|
13
15
|
default: () => void;
|
|
14
16
|
};
|
|
15
|
-
}
|
|
17
|
+
}>> & {
|
|
18
|
+
onSelect?: (() => any) | undefined;
|
|
19
|
+
}, {
|
|
16
20
|
paymentMethod: TPaymentMethod;
|
|
17
21
|
}>;
|
package/dist/types.d.ts
CHANGED
|
@@ -28,6 +28,7 @@ export interface MakePaymentParams extends NativeParams<MiniAppResult> {
|
|
|
28
28
|
metadata?: unknown;
|
|
29
29
|
sourceInfoApp?: string;
|
|
30
30
|
alwaysDisplayCompletionScreen?: boolean;
|
|
31
|
+
alwaysHideCompletionScreen?: boolean;
|
|
31
32
|
storeInfo?: string;
|
|
32
33
|
productType?: string;
|
|
33
34
|
taxExempt?: boolean;
|
|
@@ -99,6 +100,10 @@ export interface SetDataParams extends NativeParams<void> {
|
|
|
99
100
|
export interface GetDataParams extends NativeParams<MiniAppResult> {
|
|
100
101
|
key: string;
|
|
101
102
|
}
|
|
103
|
+
export interface GetCashbackInfoParams extends NativeParams<MiniAppResult> {
|
|
104
|
+
merchantPaymentId: string;
|
|
105
|
+
merchant?: string;
|
|
106
|
+
}
|
|
102
107
|
export interface RemoveDataParams extends NativeParams<void> {
|
|
103
108
|
key: string;
|
|
104
109
|
}
|
package/dist/utils/helper.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MiniAppErrorType } from '../model/miniAppError';
|
|
2
|
-
import {
|
|
2
|
+
import { BankInfo, CreditCardInfo, SbidBankInfo, PayLaterCCInfo } from '../model/makePayment';
|
|
3
3
|
import { UIComponentsErrorButton } from '../model/uiComponents';
|
|
4
4
|
export declare function isDef<T>(val: T): val is NonNullable<T>;
|
|
5
5
|
export declare function isFunction(val: unknown): val is () => void;
|
|
@@ -48,10 +48,11 @@ export declare const createErrorCode: (errorCode: MiniAppErrorType, jws?: string
|
|
|
48
48
|
};
|
|
49
49
|
export declare function updateLocalisedString(data: string, target: string, value: string): string;
|
|
50
50
|
export declare function handleHeightResize(el: HTMLElement, windowHeight: number, isScrollable: boolean, offsetHeight: number): boolean;
|
|
51
|
-
export declare function getPaymentMethodStatus(isExpired: boolean,
|
|
51
|
+
export declare function getPaymentMethodStatus(isExpired: boolean, paymentMethodInfo?: BankInfo | CreditCardInfo | SbidBankInfo | PayLaterCCInfo): unknown;
|
|
52
52
|
export declare function filterErrorButtonList(buttonList: UIComponentsErrorButton[] | null): UIComponentsErrorButton[] | undefined;
|
|
53
53
|
export declare function getFailErrorCode(ppFetchResult: string): MiniAppErrorType.timeOut | MiniAppErrorType.serverError | MiniAppErrorType.tokenExpired | MiniAppErrorType.notAuthorized;
|
|
54
54
|
export declare function getStoreUrl(): "https://play.google.com/store/apps/details?id=jp.ne.paypay.android.app" | "https://itunes.apple.com/app/id1435783608";
|
|
55
55
|
export declare function generateCodeVerifier(length?: number): string;
|
|
56
56
|
export declare function generateCodeChallange(codeVerifier: string): Promise<string>;
|
|
57
|
+
export declare function openUrl(linkUrl: string): void;
|
|
57
58
|
export {};
|
|
@@ -183,6 +183,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
183
183
|
selectedTopupMethod: Ref<CreditMethod | undefined>;
|
|
184
184
|
close3DSecureSheet: () => void;
|
|
185
185
|
selectedCCType: ComputedRef<string | undefined>;
|
|
186
|
+
appealDescription: ComputedRef<import('../../model/makePayment').AppealDescription | null>;
|
|
186
187
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
187
188
|
click: () => true;
|
|
188
189
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { PaymentMethod } from '../../../../model/makePayment';
|
|
2
|
+
import { PaymentMethod, AppealDescription } from '../../../../model/makePayment';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<{
|
|
4
4
|
paymentMethods: {
|
|
5
5
|
type: PropType<PaymentMethod[]>;
|
|
@@ -26,6 +26,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
26
26
|
required: false;
|
|
27
27
|
default: boolean;
|
|
28
28
|
};
|
|
29
|
+
appealDescription: {
|
|
30
|
+
type: PropType<AppealDescription | null>;
|
|
31
|
+
default: null;
|
|
32
|
+
};
|
|
29
33
|
}, {
|
|
30
34
|
back: () => void;
|
|
31
35
|
select: (index: number) => void;
|
|
@@ -413,6 +417,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
413
417
|
required: false;
|
|
414
418
|
default: boolean;
|
|
415
419
|
};
|
|
420
|
+
appealDescription: {
|
|
421
|
+
type: PropType<AppealDescription | null>;
|
|
422
|
+
default: null;
|
|
423
|
+
};
|
|
416
424
|
}>> & {
|
|
417
425
|
onBack?: ((...args: any[]) => any) | undefined;
|
|
418
426
|
onSelectPaymentMethod?: ((_index: number) => any) | undefined;
|
|
@@ -422,5 +430,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
422
430
|
selectIndex: number;
|
|
423
431
|
paymentMethods: PaymentMethod[];
|
|
424
432
|
isTopup: boolean;
|
|
433
|
+
appealDescription: AppealDescription | null;
|
|
425
434
|
}>;
|
|
426
435
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { PaymentMethod as TPaymentMethod, BannerInfo } from '../../../../model/makePayment';
|
|
2
|
+
import { PaymentMethod as TPaymentMethod, BannerInfo, AppealDescription } from '../../../../model/makePayment';
|
|
3
3
|
import { AnimationItem } from 'lottie-web';
|
|
4
4
|
import { Address, AddressUpdateEvent } from '../../../../types';
|
|
5
5
|
declare const _default: import("vue").DefineComponent<{
|
|
@@ -75,6 +75,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
75
75
|
default: () => number[];
|
|
76
76
|
required: false;
|
|
77
77
|
};
|
|
78
|
+
appealDescription: {
|
|
79
|
+
type: PropType<AppealDescription | null>;
|
|
80
|
+
default: null;
|
|
81
|
+
};
|
|
78
82
|
}, {
|
|
79
83
|
style: Record<string, string>;
|
|
80
84
|
setMoney: (price: number) => void;
|
|
@@ -580,6 +584,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
580
584
|
default: () => number[];
|
|
581
585
|
required: false;
|
|
582
586
|
};
|
|
587
|
+
appealDescription: {
|
|
588
|
+
type: PropType<AppealDescription | null>;
|
|
589
|
+
default: null;
|
|
590
|
+
};
|
|
583
591
|
}>> & {
|
|
584
592
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
585
593
|
onSelect?: ((_index: number) => any) | undefined;
|
|
@@ -601,6 +609,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
601
609
|
selectIndex: number;
|
|
602
610
|
paymentMethod: TPaymentMethod;
|
|
603
611
|
paymentMethods: TPaymentMethod[];
|
|
612
|
+
appealDescription: AppealDescription | null;
|
|
604
613
|
paying: boolean;
|
|
605
614
|
bannerInfo: BannerInfo | null;
|
|
606
615
|
showUserAddress: boolean;
|