@paypay/mini-app-js-sdk 1.63.0 → 1.65.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 (97) hide show
  1. package/dist/composition-api/useKycPassport.d.ts +4 -0
  2. package/dist/composition-api/useShowUpdateWarningKycPassport.d.ts +4 -0
  3. package/dist/composition-api/useSmsAuth.d.ts +3 -0
  4. package/dist/mini-app-api.d.ts +5 -1
  5. package/dist/mini-app-js-sdk.browser.js +1 -1
  6. package/dist/mini-app-js-sdk.es.js +3661 -2143
  7. package/dist/mini-app-js-sdk.min.css +1 -1
  8. package/dist/model/bridge/getKycPassportInfo.d.ts +3 -0
  9. package/dist/model/bridge/index.d.ts +47 -0
  10. package/dist/model/bridge/initKycPassport.d.ts +2 -0
  11. package/dist/model/bridge/logAppsFlyerEvent.d.ts +2 -0
  12. package/dist/model/bridge/smsAuth.d.ts +2 -0
  13. package/dist/model/miniAppError.d.ts +8 -1
  14. package/dist/package/payment-method/PayLaterCC.vue.d.ts +156 -53
  15. package/dist/package/payment-method/SbidBank.vue.d.ts +156 -53
  16. package/dist/package/payment-method/Wallet.vue.d.ts +156 -53
  17. package/dist/package/payment-type/PayLaterCC.vue.d.ts +156 -53
  18. package/dist/package/payment-type/Sbid.vue.d.ts +156 -53
  19. package/dist/package/payment-type/Wallet.vue.d.ts +157 -53
  20. package/dist/package/wallet-breakdown/WalletBreakdown.vue.d.ts +155 -53
  21. package/dist/resources/en.d.ts +496 -0
  22. package/dist/resources/images.d.ts +114 -0
  23. package/dist/resources/ja.d.ts +515 -0
  24. package/dist/types.d.ts +21 -0
  25. package/dist/utils/api.d.ts +85 -1
  26. package/dist/utils/fetch.d.ts +1 -0
  27. package/dist/utils/getLanguage.d.ts +155 -1
  28. package/dist/utils/helper.d.ts +1 -0
  29. package/dist/utils/minimumAppVersion.d.ts +2 -0
  30. package/dist/utils/storage.d.ts +1 -0
  31. package/dist/views/error-sheet/Index.vue.d.ts +165 -53
  32. package/dist/views/get-bank-info/components/GetBankInfoPopup.vue.d.ts +155 -1
  33. package/dist/views/get-bank-info/components/PayoutMethodList.vue.d.ts +0 -52
  34. package/dist/views/get-kyc-passport/GetKycPassportFallbackBiometricAuth.vue.d.ts +541 -0
  35. package/dist/views/get-kyc-passport/GetKycPassportOTPExpiredError.vue.d.ts +539 -0
  36. package/dist/views/get-kyc-passport/GetKycPassportOverVerifiLimitError.vue.d.ts +539 -0
  37. package/dist/views/get-kyc-passport/GetKycPassportRootView.vue.d.ts +36 -0
  38. package/dist/views/get-kyc-passport/types.d.ts +6 -0
  39. package/dist/views/get-user-address/Sheet/AddSheet/Contents.vue.d.ts +155 -1
  40. package/dist/views/get-user-address/Sheet/AddSheet/DeleteHalfSheet.vue.d.ts +156 -53
  41. package/dist/views/get-user-address/Sheet/AddSheet/Footer.vue.d.ts +155 -1
  42. package/dist/views/get-user-address/Sheet/AddSheet/TagForm.vue.d.ts +155 -1
  43. package/dist/views/get-user-address/Sheet/AddSheet/index.vue.d.ts +155 -1
  44. package/dist/views/get-user-address/Sheet/DisplaySheet/Address.vue.d.ts +155 -1
  45. package/dist/views/get-user-address/Sheet/DisplaySheet/Footer.vue.d.ts +155 -1
  46. package/dist/views/get-user-address/Sheet/DisplaySheet/index.vue.d.ts +155 -1
  47. package/dist/views/get-user-address/Sheet/SelectedAddress/NoRegisteredAddressMessage.vue.d.ts +155 -1
  48. package/dist/views/get-user-address/Sheet/SelectedAddress/SelectedAddress.vue.d.ts +155 -1
  49. package/dist/views/get-user-address/Sheet/SelectedAddress/components/AddressInfo.vue.d.ts +155 -1
  50. package/dist/views/get-user-address/Sheet/SelectedAddress/components/Footer.vue.d.ts +155 -1
  51. package/dist/views/init-kyc-passport/App.vue.d.ts +38 -0
  52. package/dist/views/init-kyc-passport/UpdateWarning.vue.d.ts +55 -0
  53. package/dist/views/make-payment/Sheets/AddressInfo.vue.d.ts +155 -1
  54. package/dist/views/make-payment/Sheets/CashBackDetailList.vue.d.ts +156 -53
  55. package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirm.vue.d.ts +156 -53
  56. package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirmError.vue.d.ts +156 -53
  57. package/dist/views/make-payment/Sheets/CashBackDetails/index.vue.d.ts +158 -53
  58. package/dist/views/make-payment/Sheets/Charge/ChoosePaymentMethod.vue.d.ts +155 -1
  59. package/dist/views/make-payment/Sheets/Charge/TopContent.vue.d.ts +156 -53
  60. package/dist/views/make-payment/Sheets/Charge/TopInfo.vue.d.ts +155 -53
  61. package/dist/views/make-payment/Sheets/Charge/index.vue.d.ts +155 -1
  62. package/dist/views/make-payment/Sheets/ChoosePayment.vue.d.ts +155 -1
  63. package/dist/views/make-payment/Sheets/CloseConfirmation.vue.d.ts +156 -53
  64. package/dist/views/make-payment/Sheets/DuplicatePayment.vue.d.ts +155 -1
  65. package/dist/views/make-payment/Sheets/PayMethod.vue.d.ts +156 -53
  66. package/dist/views/make-payment/Sheets/Payment.vue.d.ts +156 -53
  67. package/dist/views/make-payment/Sheets/PaymentCompletion/CashBackDetailRow.vue.d.ts +1 -52
  68. package/dist/views/make-payment/Sheets/PaymentCompletion/index.vue.d.ts +156 -53
  69. package/dist/views/open-app/App.vue.d.ts +156 -53
  70. package/dist/views/open-map/App.vue.d.ts +155 -1
  71. package/dist/views/register-user-info/RegisterUserInfoCancelConfirmationSheet.vue.d.ts +155 -1
  72. package/dist/views/register-user-info/RegisterUserInfoCategoryView.vue.d.ts +156 -53
  73. package/dist/views/register-user-info/RegisterUserInfoFooterView.vue.d.ts +155 -1
  74. package/dist/views/register-user-info/RegisterUserInfoKycInfoSheet.vue.d.ts +155 -1
  75. package/dist/views/register-user-info/RegisterUserInfoMailInfoSheet.vue.d.ts +155 -1
  76. package/dist/views/register-user-info/input/RegisterUserInfoEmailInput.vue.d.ts +156 -53
  77. package/dist/views/register-user-info/input/RegisterUserInfoSimpleInput.vue.d.ts +1 -52
  78. package/dist/views/registerPaymentFeatures/AutoTopupMethod.vue.d.ts +3 -52
  79. package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesAmountSettingSheet.vue.d.ts +1 -52
  80. package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesAutoTopupConfirmSheet.vue.d.ts +1 -52
  81. package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesChooseAmount.vue.d.ts +0 -52
  82. package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesChoosePaymentMethodSheet.vue.d.ts +0 -52
  83. package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesFooterUpdateWarning.vue.d.ts +0 -52
  84. package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesMainView.vue.d.ts +4 -52
  85. package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesRootView.vue.d.ts +0 -52
  86. package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesSettingCompleteSheet.vue.d.ts +1 -52
  87. package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesTopupMethodSettingSheet.vue.d.ts +1 -52
  88. package/dist/views/registerPaymentFeatures/fallback-method/FallbackMethodAppUpdateWarning.vue.d.ts +1 -52
  89. package/dist/views/show-update-warning/App.vue.d.ts +156 -53
  90. package/dist/views/sms-auth/App.vue.d.ts +580 -0
  91. package/dist/views/sms-auth/store.d.ts +321 -0
  92. package/dist/views/three-d-secure-sheet/ThreeDSecureSheet.vue.d.ts +1 -52
  93. package/dist/views/topup/App.vue.d.ts +156 -53
  94. package/dist/views/topup/CashbackInfo.vue.d.ts +155 -1
  95. package/dist/views/topup/TopupCompletion.vue.d.ts +157 -53
  96. package/package.json +1 -1
  97. package/dist/utils/getImages.d.ts +0 -52
@@ -0,0 +1,515 @@
1
+ export declare const ja: {
2
+ smsAuth: {
3
+ title: string;
4
+ subTitle: string;
5
+ subInfo: string;
6
+ help: string;
7
+ resend1: string;
8
+ resendText: string;
9
+ questionText: string;
10
+ authenticateBtn: string;
11
+ invalidOtpError: string;
12
+ errorOverLimitTitle: string;
13
+ errorOverLimitText: string;
14
+ defaultBtnText: string;
15
+ errorBtnText: string;
16
+ errorResendTitle: string;
17
+ errorResendText: string;
18
+ defaultErrordesc: string;
19
+ errorOverVerifyLimitTitle: string;
20
+ errorOverVerifyLimitText: string;
21
+ errorExpireTitle: string;
22
+ errorExpireText: string;
23
+ errorVerifyLimit: string;
24
+ errorVerifyText: string;
25
+ cancel: string;
26
+ close: string;
27
+ };
28
+ initKycPassport: {
29
+ UNACCEPTABLE_OP: {
30
+ text: string;
31
+ desc: string;
32
+ btnText1: string;
33
+ btnText2: string;
34
+ };
35
+ KYC_UPDATE_REQUIRED: {
36
+ text: string;
37
+ desc: string;
38
+ btnText1: string;
39
+ btnText2: string;
40
+ };
41
+ NOT_COMPLETED: {
42
+ text: string;
43
+ desc: string;
44
+ btnText1: string;
45
+ btnText2: string;
46
+ };
47
+ KYC_VALIDATION_IN_PROCESS: {
48
+ text: string;
49
+ desc: string;
50
+ btnText1: string;
51
+ btnText2: string;
52
+ };
53
+ DEFAULT: {
54
+ text: string;
55
+ desc: string;
56
+ btnText1: string;
57
+ btnText2: string;
58
+ };
59
+ updateWarning: {
60
+ title: string;
61
+ description: string;
62
+ update: string;
63
+ cancel: string;
64
+ };
65
+ };
66
+ showUpdateWarning: {
67
+ closeBtn: string;
68
+ notNow: string;
69
+ update: string;
70
+ title: string;
71
+ errorText: string;
72
+ desc1: string;
73
+ desc2: string;
74
+ };
75
+ openApp: {
76
+ title: string;
77
+ body: string;
78
+ errorText: string;
79
+ openApp: string;
80
+ cancel: string;
81
+ };
82
+ openMap: {
83
+ title: string;
84
+ errorText: string;
85
+ };
86
+ topup: {
87
+ title: string;
88
+ balMoney: string;
89
+ charge: string;
90
+ minAmount: string;
91
+ maxAmount: string;
92
+ moneyLabel: string;
93
+ noMethod: string;
94
+ loading: string;
95
+ payBtn: string;
96
+ availableBalance: string;
97
+ availableBalanceAfter: string;
98
+ allBalance: string;
99
+ };
100
+ payment: {
101
+ title: string;
102
+ payAmount: string;
103
+ payAmountTaxExempt: string;
104
+ method: string;
105
+ address: string;
106
+ insufficientAmount: string;
107
+ paying: string;
108
+ pay: string;
109
+ charge: string;
110
+ cancel: string;
111
+ noAddress: string;
112
+ change: string;
113
+ close: string;
114
+ noCashBack: string;
115
+ };
116
+ duplicate: {
117
+ header: string;
118
+ text1: string;
119
+ text2: string;
120
+ cancel: string;
121
+ agreeButtonText: string;
122
+ topHeader: string;
123
+ topText1: string;
124
+ topText2: string;
125
+ topAgreeButtonText: string;
126
+ };
127
+ birthdayConfirm: {
128
+ title: string;
129
+ title2: string;
130
+ desc: string;
131
+ desc1: string;
132
+ desc2: string;
133
+ desc3: string;
134
+ date: string;
135
+ primaryBtn: string;
136
+ cancelBtn: string;
137
+ };
138
+ birthdayConfirmError: {
139
+ title: string;
140
+ title2: string;
141
+ desc: string;
142
+ desc2: string;
143
+ helpBtn: string;
144
+ closeBtn: string;
145
+ };
146
+ cashbackDet: {
147
+ button1: string;
148
+ button2: string;
149
+ button3: string;
150
+ };
151
+ topContent: {
152
+ title: string;
153
+ chargeTitle: string;
154
+ chargeLabel: string;
155
+ loading: string;
156
+ unavailable1: string;
157
+ unavailable2: string;
158
+ amount: string;
159
+ return: string;
160
+ };
161
+ topInfo: {
162
+ sufficientRow: string;
163
+ insufficientAmount: string;
164
+ insufficientAmountText: string;
165
+ paymentAmount: string;
166
+ };
167
+ choosePayment: {
168
+ title: string;
169
+ desc1: string;
170
+ desc2: string;
171
+ title2: string;
172
+ addMethod: string;
173
+ noMethod: string;
174
+ };
175
+ topupCompletion: {
176
+ title: string;
177
+ idInfo: string;
178
+ copied: string;
179
+ };
180
+ userAddress: {
181
+ title: string;
182
+ header: string;
183
+ tagForm: string;
184
+ home: string;
185
+ work: string;
186
+ billing: string;
187
+ footer: string;
188
+ titlePre: string;
189
+ titleApp: string;
190
+ titlePlace: string;
191
+ receiverPre: string;
192
+ receiverPlace: string;
193
+ inputPre: string;
194
+ statePre: string;
195
+ statePlace: string;
196
+ cityPre: string;
197
+ cityPlace: string;
198
+ street1Pre: string;
199
+ streetPlace: string;
200
+ street2Pre: string;
201
+ street2Place: string;
202
+ footerBtn1: string;
203
+ footerBtn2: string;
204
+ displayTitle: string;
205
+ deleteTitle: string;
206
+ delete: string;
207
+ close: string;
208
+ addAddress: string;
209
+ address: string;
210
+ return: string;
211
+ change: string;
212
+ noAddress: string;
213
+ registerAddress: string;
214
+ confirmAddress: string;
215
+ returnEdit: string;
216
+ selectAddress: string;
217
+ selectDeliveryAddress: string;
218
+ };
219
+ errorSheet: {
220
+ title: string;
221
+ title1: string;
222
+ desc: string;
223
+ topup: string;
224
+ topupDesc: string;
225
+ pay: string;
226
+ payDesc: string;
227
+ };
228
+ paymentMethod: {
229
+ expired: string;
230
+ ordinary: string;
231
+ current: string;
232
+ checkGreen: string;
233
+ authenticated: string;
234
+ yjTitle: string;
235
+ ppCardTitle: string;
236
+ brand: string;
237
+ };
238
+ paymentMethodStatus: {
239
+ ACTIVATED: string;
240
+ OFF: string;
241
+ APPLYING: string;
242
+ MAINTENANCE: string;
243
+ BUSY: string;
244
+ SUSPENDED: string;
245
+ };
246
+ wallet: {
247
+ title: string;
248
+ desc: string;
249
+ eMoney: string;
250
+ nonUsable: string;
251
+ cashBackUsable: string;
252
+ cashBackExpirable: string;
253
+ balance: string;
254
+ autoCharge: string;
255
+ };
256
+ payLater: {
257
+ title: string;
258
+ balance: string;
259
+ };
260
+ softbank: {
261
+ desc: string;
262
+ desc1: string;
263
+ isDisable: string;
264
+ };
265
+ registerEmail: {
266
+ title: string;
267
+ warning: string;
268
+ cancelTxt: string;
269
+ errorTitleAlreadyRegistered: string;
270
+ errorDescriptionAlreadyRegistered: string;
271
+ errorTitle: string;
272
+ errorDescription: string;
273
+ };
274
+ smartLogin: {
275
+ title: string;
276
+ signIn: string;
277
+ continueAs: string;
278
+ };
279
+ smartPay: {
280
+ pay: string;
281
+ paypay: string;
282
+ cashback: string;
283
+ };
284
+ cashbackList: {
285
+ close: string;
286
+ condition: string;
287
+ };
288
+ desktopTitle: {
289
+ Payment: string;
290
+ addNewAddress: string;
291
+ editAddress: string;
292
+ paymentCompletion: string;
293
+ getUserAddress: string;
294
+ };
295
+ closeConfirmation: {
296
+ title: string;
297
+ confirm: string;
298
+ cancel: string;
299
+ };
300
+ registerUserInfo: {
301
+ kycDataTitle: string;
302
+ uneditableDataTitle: string;
303
+ unenteredInfoTitle: string;
304
+ footer: {
305
+ description: string;
306
+ backButton: string;
307
+ nextButton: string;
308
+ finishButton: string;
309
+ cancelButton: string;
310
+ };
311
+ cancelSheet: {
312
+ title: string;
313
+ text: string;
314
+ confirmButton: string;
315
+ };
316
+ kycSheet: {
317
+ title: string;
318
+ text: string;
319
+ confirmButton: string;
320
+ };
321
+ mailSheet: {
322
+ title: string;
323
+ text: string;
324
+ confirmButton: string;
325
+ };
326
+ defaultErrorSheet: {
327
+ title: string;
328
+ text: string;
329
+ };
330
+ validation: {
331
+ numberError: string;
332
+ alphabetError: string;
333
+ alphabetLength32Error: string;
334
+ katakanaError: string;
335
+ katakanaLength16Error: string;
336
+ lengthError: string;
337
+ };
338
+ emailInput: string;
339
+ emailNotVerified: string;
340
+ emailNotVerifiedDescription: string;
341
+ change: string;
342
+ cancel: string;
343
+ };
344
+ getBankInfo: {
345
+ title: string;
346
+ close: string;
347
+ };
348
+ '3dSecureSheet': {
349
+ title: string;
350
+ descriptionForYJCardOrPPCard: string;
351
+ description: string;
352
+ setting3DSecure: string;
353
+ about3DSecure: string;
354
+ close: string;
355
+ };
356
+ registerPaymentFeatures: {
357
+ autoTopupRoot: {
358
+ title: string;
359
+ titleNeedUpdate: string;
360
+ description: string;
361
+ minAmount: string;
362
+ unit: string;
363
+ addTopupMethod: string;
364
+ noActivatedTopupMethod: string;
365
+ topupNotice: string;
366
+ updateWarning: {
367
+ message: string;
368
+ update: string;
369
+ cancel: string;
370
+ };
371
+ eMoneyOnly: string;
372
+ topupNoticeEmoneyOnlyTitle: string;
373
+ topupNoticeEmoneyOnlyDesc: string;
374
+ };
375
+ autoTopupRootFooter: {
376
+ enable: string;
377
+ notice: string;
378
+ notNow: string;
379
+ };
380
+ amountChange: {
381
+ title: string;
382
+ description: string;
383
+ register: string;
384
+ cancel: string;
385
+ };
386
+ amountError: {
387
+ changeLimit: string;
388
+ close: string;
389
+ };
390
+ defaultError: {
391
+ title: string;
392
+ description: string;
393
+ };
394
+ autoTopupConfirmation: {
395
+ title: string;
396
+ description: string;
397
+ change: string;
398
+ cancel: string;
399
+ };
400
+ autoTopupSettingComplete: {
401
+ title: string;
402
+ description: string;
403
+ finish: string;
404
+ };
405
+ setupTopupMethod: {
406
+ title: string;
407
+ description: string;
408
+ finish: string;
409
+ cancel: string;
410
+ };
411
+ selectTopupAmount: {
412
+ title: string;
413
+ recommend: string;
414
+ close: string;
415
+ unit: string;
416
+ };
417
+ fallbackMethod: {
418
+ updateWarning: {
419
+ description: string;
420
+ update: string;
421
+ close: string;
422
+ };
423
+ };
424
+ };
425
+ showStorageAccessPermission: {
426
+ alert: {
427
+ title: string;
428
+ text: string;
429
+ button: string;
430
+ unknown: {
431
+ button: string;
432
+ text: string;
433
+ };
434
+ };
435
+ guide: {
436
+ ui: {
437
+ complete: string;
438
+ next: string;
439
+ prev: string;
440
+ refresh: string;
441
+ settingCookie: string;
442
+ refreshPage: string;
443
+ };
444
+ title: string;
445
+ complete: string;
446
+ desktop: {
447
+ chrome: {
448
+ text1: string;
449
+ text2: string;
450
+ text3: string;
451
+ text4: string;
452
+ };
453
+ safari: {
454
+ text1: string;
455
+ text2: string;
456
+ text3: string;
457
+ };
458
+ edge: {
459
+ text1: string;
460
+ text2: string;
461
+ text3: string;
462
+ text4: string;
463
+ };
464
+ firefox: {
465
+ text1: string;
466
+ };
467
+ };
468
+ mobile: {
469
+ android: {
470
+ edge: {
471
+ text1: string;
472
+ text2: string;
473
+ text3: string;
474
+ text4: string;
475
+ text5: string;
476
+ };
477
+ firefox: {
478
+ text1: string;
479
+ text2: string;
480
+ text3: string;
481
+ text4: string;
482
+ };
483
+ chrome: {
484
+ text1: string;
485
+ text2: string;
486
+ text3: string;
487
+ text4: string;
488
+ text5: string;
489
+ };
490
+ };
491
+ ios: {
492
+ safari: {
493
+ text1: string;
494
+ text2: string;
495
+ };
496
+ edge: {
497
+ text1: string;
498
+ text2: string;
499
+ text3: string;
500
+ text4: string;
501
+ text5: string;
502
+ };
503
+ };
504
+ };
505
+ };
506
+ };
507
+ getKycPassport: {
508
+ fallbackSmsSheet: {
509
+ title: string;
510
+ text: string;
511
+ button: string;
512
+ buttonClose: string;
513
+ };
514
+ };
515
+ };
package/dist/types.d.ts CHANGED
@@ -127,6 +127,9 @@ export interface ShowErrorSheetParams extends NativeParams<void> {
127
127
  title?: string;
128
128
  buttons?: ButtonList[];
129
129
  }
130
+ export interface SmsAuthParams extends NativeParams<void> {
131
+ callbackUrl: string;
132
+ }
130
133
  export interface SetEnablePullDownRefreshParams extends NativeParams<void> {
131
134
  enabled: boolean;
132
135
  }
@@ -260,6 +263,10 @@ export interface RegisterKycParams extends NativeParams<unknown> {
260
263
  redirectUrl?: string;
261
264
  data?: KycData;
262
265
  }
266
+ export interface InitKycPassportParams extends NativeParams<unknown> {
267
+ eKycDocuments?: Array<string>;
268
+ callbackUrl: string;
269
+ }
263
270
  export interface StartMultiFactorAuthParams extends NativeParams<MiniAppResult> {
264
271
  type: string;
265
272
  callbackUrl: string;
@@ -392,6 +399,10 @@ export declare enum PpLocalStorageKey {
392
399
  lastTopupPayMethod = "ppjssdk.lastTopupPayMethod",
393
400
  codeVerifier = "ppjssdk.codeVerifier"
394
401
  }
402
+ export declare enum KycPassportMethod {
403
+ biometric = "BIOMETRIC",
404
+ otp = "OTP"
405
+ }
395
406
  export declare enum CookieDuration {
396
407
  oneDay = 1,
397
408
  oneMonth = 30,
@@ -471,6 +482,10 @@ export declare type ErrorSheetButton = {
471
482
  export interface ScanCodeParams extends NativeParams<MiniAppResult> {
472
483
  redirectUrlOnCancel?: string;
473
484
  }
485
+ export interface LogAppsFlyerEventParams extends NativeParams<void> {
486
+ eventName: string;
487
+ parameters: Record<string, unknown>;
488
+ }
474
489
  export declare const AddShortcutTypes: {
475
490
  readonly FAVORITE: "FAVORITE";
476
491
  readonly OS_HOME_SCREEN_ICON: "OS_HOME_SCREEN_ICON";
@@ -491,4 +506,10 @@ export interface GetUserPaymentFeatureSettingsParams extends NativeParams<MiniAp
491
506
  merchant?: string;
492
507
  productType?: string;
493
508
  }
509
+ export declare const KycPassportUrlParam: {
510
+ authType: string;
511
+ ekycDocuments: string;
512
+ sessionId: string;
513
+ functionName: string;
514
+ };
494
515
  export {};
@@ -1,6 +1,6 @@
1
1
  import { MiniAppErrorType } from '../model/miniAppError';
2
2
  import { UIComponentsError } from '../model/uiComponents';
3
- import { Address, NewAddress } from '../types';
3
+ import { Address, InitKycPassportParams, NewAddress } from '../types';
4
4
  export declare type TopupQuery = {
5
5
  merchant?: string;
6
6
  agreeSimilarTransaction?: boolean;
@@ -94,6 +94,7 @@ export declare function topup(queryParams: TopupQuery, body: TopupBody): Promise
94
94
  unsigned: {
95
95
  resultInfo: {
96
96
  code: string;
97
+ codeId?: string | undefined;
97
98
  };
98
99
  data?: {
99
100
  header?: {
@@ -165,6 +166,89 @@ export declare type GetAddressListResponse = {
165
166
  };
166
167
  export declare function getAddressList(): Promise<import("./fetch").PPFetchResult<GetAddressListResponse, Record<string, unknown>>>;
167
168
  export declare function postAddress(body: NewAddress): Promise<import("./fetch").PPFetchResult<GetAddressListResponse, Record<string, unknown>>>;
169
+ export declare type GetOTPResponse = {
170
+ signed: {
171
+ jws: string;
172
+ resultInfo: {
173
+ code: MiniAppErrorType;
174
+ };
175
+ };
176
+ unsigned: {
177
+ resultInfo: {
178
+ code: MiniAppErrorType;
179
+ codeId?: string;
180
+ };
181
+ data: {
182
+ otp_key: string;
183
+ phone_number: string;
184
+ prefix: string;
185
+ };
186
+ };
187
+ };
188
+ export declare type VerifyOTPResponse = {
189
+ signed: {
190
+ jws: string;
191
+ resultInfo: {
192
+ code: MiniAppErrorType;
193
+ };
194
+ };
195
+ unsigned: {
196
+ resultInfo: {
197
+ code: MiniAppErrorType;
198
+ };
199
+ };
200
+ };
201
+ export declare type VerifyOTPBody = {
202
+ otpKey: string;
203
+ otp: number;
204
+ };
205
+ export declare function getOtp(): Promise<import("./fetch").PPFetchResult<GetOTPResponse, Record<string, unknown>>>;
206
+ export declare type KycTypeResponse = {
207
+ signed: {
208
+ resultInfo?: {
209
+ code?: string;
210
+ };
211
+ jws?: string;
212
+ };
213
+ unsigned: {
214
+ resultInfo?: {
215
+ code?: string;
216
+ };
217
+ data?: {
218
+ status?: string;
219
+ kycAt?: string;
220
+ type?: string;
221
+ eKycDocuments?: string;
222
+ kycInfo?: unknown;
223
+ kycPassportMethod?: string;
224
+ };
225
+ };
226
+ };
227
+ export declare type VerifyKycPassportResponse = {
228
+ signed: {
229
+ resultInfo?: {
230
+ code?: string;
231
+ };
232
+ jws?: string;
233
+ };
234
+ unsigned: {
235
+ resultInfo?: {
236
+ code?: string;
237
+ };
238
+ data?: {
239
+ status?: string;
240
+ kycAt?: string;
241
+ type?: string;
242
+ eKycDocuments?: string;
243
+ kycInfo?: unknown;
244
+ kycPassportMethod?: string;
245
+ nonce: string;
246
+ possessionAuthResult: 'SUCCESS' | 'FAILED';
247
+ };
248
+ };
249
+ };
250
+ export declare function getInitKycPassport(params: InitKycPassportParams): Promise<import("./fetch").PPFetchResult<KycTypeResponse, Record<string, unknown>>>;
251
+ export declare function verifyOtp(body: VerifyOTPBody): Promise<import("./fetch").PPFetchResult<VerifyOTPResponse, Record<string, unknown>>>;
168
252
  export declare function editAddress(body: NewAddress, id: number): Promise<import("./fetch").PPFetchResult<GetAddressListResponse, Record<string, unknown>>>;
169
253
  export declare function deleteAddress(id: number): Promise<import("./fetch").PPFetchResult<GetAddressListResponse, Record<string, unknown>>>;
170
254
  export declare function setSelectedAddress(addressId: number): Promise<import("./fetch").PPFetchResult<SetSelectedAddressResponse, Record<string, unknown>>>;
@@ -23,6 +23,7 @@ declare type APIBaseResponse = {
23
23
  unsigned: {
24
24
  resultInfo: {
25
25
  code: string;
26
+ codeId?: string;
26
27
  };
27
28
  data?: {
28
29
  header?: {