@paypay/mini-app-js-sdk 1.64.0 → 2.0.0-beta.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 (187) hide show
  1. package/dist/client/clientUtils.d.ts +14 -0
  2. package/dist/client/index.d.ts +34 -0
  3. package/dist/client/supportedFunctionsList.d.ts +2 -0
  4. package/dist/client/types.d.ts +5 -0
  5. package/dist/core/coreUtils.d.ts +6 -0
  6. package/dist/jsbridge-core/jsbridge.d.ts +1 -1
  7. package/dist/mini-app-api.d.ts +5 -3
  8. package/dist/mini-app-js-sdk.browser.js +2 -1
  9. package/dist/mini-app-js-sdk.es.js +661 -44555
  10. package/dist/model/bridge/getKycPassportInfo.d.ts +2 -3
  11. package/dist/model/bridge/logAppsFlyerEvent.d.ts +2 -0
  12. package/dist/model/bridge/render.d.ts +4 -0
  13. package/dist/model/bridge/renderPayButton.d.ts +8 -1
  14. package/dist/model/bridge/showStorageAccessPermissionAlert.d.ts +2 -0
  15. package/dist/model/bridge/verifyMultiFactorAuthResult.d.ts +2 -3
  16. package/dist/model/miniAppError.d.ts +2 -1
  17. package/dist/package/button/index.d.ts +1 -1
  18. package/dist/resources/en.d.ts +496 -0
  19. package/dist/resources/ja.d.ts +515 -0
  20. package/dist/types.d.ts +157 -8
  21. package/dist/utils/api.d.ts +2 -1
  22. package/dist/utils/fetch.d.ts +1 -0
  23. package/dist/utils/getLanguage.d.ts +83 -1
  24. package/dist/utils/helper.d.ts +5 -0
  25. package/dist/utils/ip.d.ts +1 -1
  26. package/dist/utils/minimumAppVersion.d.ts +1 -0
  27. package/dist/utils/storage.d.ts +20 -13
  28. package/package.json +24 -10
  29. package/dist/composition-api/dom/useCountDown.d.ts +0 -20
  30. package/dist/composition-api/dom/useEventListener.d.ts +0 -8
  31. package/dist/composition-api/dom/useOnMountedOrActivated.d.ts +0 -1
  32. package/dist/index.d.ts +0 -3
  33. package/dist/jsbridge-core/lib/browser.d.ts +0 -3
  34. package/dist/jsbridge-core/paypay-jsbridge.d.ts +0 -16
  35. package/dist/mini-app-js-sdk.d.ts +0 -10
  36. package/dist/mini-app-js-sdk.min.css +0 -1
  37. package/dist/model/OPAErrorCodes.d.ts +0 -4
  38. package/dist/model/bridge/index.d.ts +0 -47
  39. package/dist/package/action-sheet/index.d.ts +0 -123
  40. package/dist/package/banner-header/index.vue.d.ts +0 -71
  41. package/dist/package/button/LoadingIndicator.vue.d.ts +0 -2
  42. package/dist/package/charge-amount-list/index.vue.d.ts +0 -100
  43. package/dist/package/charge-amount-more-list/index.vue.d.ts +0 -25
  44. package/dist/package/date-button/index.vue.d.ts +0 -21
  45. package/dist/package/desktop-header/index.d.ts +0 -26
  46. package/dist/package/divider/index.d.ts +0 -24
  47. package/dist/package/header/index.d.ts +0 -99
  48. package/dist/package/input/currency/index.d.ts +0 -124
  49. package/dist/package/input/email/index.d.ts +0 -137
  50. package/dist/package/input/text/index.d.ts +0 -151
  51. package/dist/package/input/utils.d.ts +0 -6
  52. package/dist/package/input/zip/index.d.ts +0 -107
  53. package/dist/package/lottie/index.d.ts +0 -77
  54. package/dist/package/overlay/index.d.ts +0 -52
  55. package/dist/package/payment-method/Bank.vue.d.ts +0 -59
  56. package/dist/package/payment-method/CreditCard.vue.d.ts +0 -55
  57. package/dist/package/payment-method/PayLaterCC.vue.d.ts +0 -462
  58. package/dist/package/payment-method/SbidBank.vue.d.ts +0 -463
  59. package/dist/package/payment-method/Wallet.vue.d.ts +0 -467
  60. package/dist/package/payment-method/index.d.ts +0 -32
  61. package/dist/package/payment-method-list/index.vue.d.ts +0 -58
  62. package/dist/package/payment-type/Bank.vue.d.ts +0 -46
  63. package/dist/package/payment-type/CreditCard.vue.d.ts +0 -56
  64. package/dist/package/payment-type/PayLaterCC.vue.d.ts +0 -473
  65. package/dist/package/payment-type/Sbid.vue.d.ts +0 -462
  66. package/dist/package/payment-type/Wallet.vue.d.ts +0 -476
  67. package/dist/package/payment-type/index.d.ts +0 -38
  68. package/dist/package/select-list/Components.d.ts +0 -130
  69. package/dist/package/select-list/index.d.ts +0 -109
  70. package/dist/package/skeleton-loader/SkeletonLoader.vue.d.ts +0 -18
  71. package/dist/package/wallet-breakdown/WalletBreakdown.vue.d.ts +0 -461
  72. package/dist/utils/uiConstants.d.ts +0 -1
  73. package/dist/utils/useBreakpoints.d.ts +0 -5
  74. package/dist/utils/utils.d.ts +0 -2
  75. package/dist/views/email-registration/App.vue.d.ts +0 -59
  76. package/dist/views/email-registration/hooks/callback.d.ts +0 -9
  77. package/dist/views/email-registration/hooks/const.d.ts +0 -1
  78. package/dist/views/email-registration/hooks/ui.d.ts +0 -23
  79. package/dist/views/email-registration/parts/AuthMailNotFoundSheet.vue.d.ts +0 -42
  80. package/dist/views/email-registration/parts/RegisterEmail.vue.d.ts +0 -76
  81. package/dist/views/email-registration/parts/SentEmailAuthDoneSheet.vue.d.ts +0 -24
  82. package/dist/views/email-registration/parts/SentEmailSheet.vue.d.ts +0 -54
  83. package/dist/views/error-sheet/Index.vue.d.ts +0 -526
  84. package/dist/views/get-bank-info/GetBankInfoWrapper.vue.d.ts +0 -44
  85. package/dist/views/get-bank-info/components/GetBankInfoPopup.vue.d.ts +0 -482
  86. package/dist/views/get-bank-info/components/PayoutMethodList.vue.d.ts +0 -35
  87. package/dist/views/get-bank-info/components/PayoutMethodView.vue.d.ts +0 -22
  88. package/dist/views/get-bank-info/types.d.ts +0 -29
  89. package/dist/views/get-kyc-passport/GetKycPassportFallbackBiometricAuth.vue.d.ts +0 -459
  90. package/dist/views/get-kyc-passport/GetKycPassportOTPExpiredError.vue.d.ts +0 -457
  91. package/dist/views/get-kyc-passport/GetKycPassportOverVerifiLimitError.vue.d.ts +0 -457
  92. package/dist/views/get-kyc-passport/GetKycPassportRootView.vue.d.ts +0 -36
  93. package/dist/views/get-user-address/App.vue.d.ts +0 -67
  94. package/dist/views/get-user-address/Sheet/AddSheet/Contents.vue.d.ts +0 -539
  95. package/dist/views/get-user-address/Sheet/AddSheet/DeleteHalfSheet.vue.d.ts +0 -460
  96. package/dist/views/get-user-address/Sheet/AddSheet/Footer.vue.d.ts +0 -503
  97. package/dist/views/get-user-address/Sheet/AddSheet/TagForm.vue.d.ts +0 -474
  98. package/dist/views/get-user-address/Sheet/AddSheet/constants.d.ts +0 -4
  99. package/dist/views/get-user-address/Sheet/AddSheet/index.vue.d.ts +0 -543
  100. package/dist/views/get-user-address/Sheet/App.vue.d.ts +0 -89
  101. package/dist/views/get-user-address/Sheet/DisplaySheet/Address.vue.d.ts +0 -484
  102. package/dist/views/get-user-address/Sheet/DisplaySheet/Footer.vue.d.ts +0 -466
  103. package/dist/views/get-user-address/Sheet/DisplaySheet/index.vue.d.ts +0 -550
  104. package/dist/views/get-user-address/Sheet/SelectedAddress/NoRegisteredAddressMessage.vue.d.ts +0 -450
  105. package/dist/views/get-user-address/Sheet/SelectedAddress/SelectedAddress.vue.d.ts +0 -473
  106. package/dist/views/get-user-address/Sheet/SelectedAddress/components/AddressInfo.vue.d.ts +0 -468
  107. package/dist/views/get-user-address/Sheet/SelectedAddress/components/Footer.vue.d.ts +0 -460
  108. package/dist/views/get-user-address/hooks/ui-hooks.d.ts +0 -57
  109. package/dist/views/get-user-address/store/error-handle.d.ts +0 -12
  110. package/dist/views/get-user-address/store/root.d.ts +0 -18
  111. package/dist/views/init-kyc-passport/App.vue.d.ts +0 -38
  112. package/dist/views/init-kyc-passport/UpdateWarning.vue.d.ts +0 -55
  113. package/dist/views/input-address/App.vue.d.ts +0 -40
  114. package/dist/views/input-address/hook/app.d.ts +0 -14
  115. package/dist/views/input-address/hook/error-handle.d.ts +0 -8
  116. package/dist/views/input-address/hook/root.d.ts +0 -10
  117. package/dist/views/make-payment/App.vue.d.ts +0 -6663
  118. package/dist/views/make-payment/Main.vue.d.ts +0 -6676
  119. package/dist/views/make-payment/Sheets/AddressInfo.vue.d.ts +0 -458
  120. package/dist/views/make-payment/Sheets/CashBackDetailList.vue.d.ts +0 -461
  121. package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirm.vue.d.ts +0 -453
  122. package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirmError.vue.d.ts +0 -449
  123. package/dist/views/make-payment/Sheets/CashBackDetails/FloatingButton.vue.d.ts +0 -29
  124. package/dist/views/make-payment/Sheets/CashBackDetails/hooks.d.ts +0 -27
  125. package/dist/views/make-payment/Sheets/CashBackDetails/index.vue.d.ts +0 -493
  126. package/dist/views/make-payment/Sheets/Charge/ChoosePaymentMethod.vue.d.ts +0 -528
  127. package/dist/views/make-payment/Sheets/Charge/TopContent.vue.d.ts +0 -653
  128. package/dist/views/make-payment/Sheets/Charge/TopInfo.vue.d.ts +0 -494
  129. package/dist/views/make-payment/Sheets/Charge/index.vue.d.ts +0 -1419
  130. package/dist/views/make-payment/Sheets/ChoosePayment.vue.d.ts +0 -493
  131. package/dist/views/make-payment/Sheets/CloseConfirmation.vue.d.ts +0 -439
  132. package/dist/views/make-payment/Sheets/Consult.vue.d.ts +0 -27
  133. package/dist/views/make-payment/Sheets/DuplicatePayment.vue.d.ts +0 -464
  134. package/dist/views/make-payment/Sheets/MaintenanceInfo.vue.d.ts +0 -20
  135. package/dist/views/make-payment/Sheets/PayMethod.vue.d.ts +0 -530
  136. package/dist/views/make-payment/Sheets/Payment.vue.d.ts +0 -656
  137. package/dist/views/make-payment/Sheets/PaymentCompletion/CashBackDetailRow.vue.d.ts +0 -42
  138. package/dist/views/make-payment/Sheets/PaymentCompletion/index.vue.d.ts +0 -549
  139. package/dist/views/make-payment/store/util-for-handle-error.d.ts +0 -16
  140. package/dist/views/make-payment/store.d.ts +0 -6328
  141. package/dist/views/make-payment/utils/paymentMethod.d.ts +0 -4
  142. package/dist/views/open-app/App.vue.d.ts +0 -464
  143. package/dist/views/open-map/App.vue.d.ts +0 -464
  144. package/dist/views/register-user-info/RegisterUserInfoCancelConfirmationSheet.vue.d.ts +0 -1102
  145. package/dist/views/register-user-info/RegisterUserInfoCategoryView.vue.d.ts +0 -1117
  146. package/dist/views/register-user-info/RegisterUserInfoDataPointGroup.vue.d.ts +0 -19
  147. package/dist/views/register-user-info/RegisterUserInfoErrorSheet.vue.d.ts +0 -7
  148. package/dist/views/register-user-info/RegisterUserInfoFooterView.vue.d.ts +0 -1102
  149. package/dist/views/register-user-info/RegisterUserInfoKycInfoSheet.vue.d.ts +0 -1107
  150. package/dist/views/register-user-info/RegisterUserInfoMailInfoSheet.vue.d.ts +0 -1107
  151. package/dist/views/register-user-info/RegisterUserInfoProgressView.vue.d.ts +0 -6
  152. package/dist/views/register-user-info/RegisterUserInfoRootView.vue.d.ts +0 -684
  153. package/dist/views/register-user-info/RegisterUserInfoUneditableDataView.vue.d.ts +0 -16
  154. package/dist/views/register-user-info/api.d.ts +0 -23
  155. package/dist/views/register-user-info/input/RegisterUserInfoEmailInput.vue.d.ts +0 -454
  156. package/dist/views/register-user-info/input/RegisterUserInfoSelectionButtonInput.vue.d.ts +0 -18
  157. package/dist/views/register-user-info/input/RegisterUserInfoSimpleInput.vue.d.ts +0 -34
  158. package/dist/views/register-user-info/store.d.ts +0 -448
  159. package/dist/views/register-user-info/types.d.ts +0 -32
  160. package/dist/views/register-user-info/utils.d.ts +0 -4
  161. package/dist/views/register-user-info/validators.d.ts +0 -10
  162. package/dist/views/registerPaymentFeatures/AutoTopupMethod.vue.d.ts +0 -140
  163. package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesAmountErrorSheet.vue.d.ts +0 -98
  164. package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesAmountSettingSheet.vue.d.ts +0 -99
  165. package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesAutoTopupConfirmSheet.vue.d.ts +0 -100
  166. package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesChooseAmount.vue.d.ts +0 -105
  167. package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesChoosePaymentMethodSheet.vue.d.ts +0 -96
  168. package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesDefaultErrorSheet.vue.d.ts +0 -96
  169. package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesFooterUpdateWarning.vue.d.ts +0 -102
  170. package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesFooterView.vue.d.ts +0 -96
  171. package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesFooterViewWithEnableButton.vue.d.ts +0 -106
  172. package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesMainView.vue.d.ts +0 -129
  173. package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesRootView.vue.d.ts +0 -151
  174. package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesSettingCompleteSheet.vue.d.ts +0 -99
  175. package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesTopupMethodSettingSheet.vue.d.ts +0 -99
  176. package/dist/views/registerPaymentFeatures/fallback-method/FallbackMethodAppUpdateWarning.vue.d.ts +0 -33
  177. package/dist/views/registerPaymentFeatures/store.d.ts +0 -95
  178. package/dist/views/show-alert/App.vue.d.ts +0 -42
  179. package/dist/views/show-update-warning/App.vue.d.ts +0 -466
  180. package/dist/views/smart-button/App.vue.d.ts +0 -100
  181. package/dist/views/sms-auth/App.vue.d.ts +0 -580
  182. package/dist/views/sms-auth/store.d.ts +0 -321
  183. package/dist/views/three-d-secure-sheet/ThreeDSecureSheet.vue.d.ts +0 -40
  184. package/dist/views/topup/App.vue.d.ts +0 -559
  185. package/dist/views/topup/BannerInfo.vue.d.ts +0 -35
  186. package/dist/views/topup/CashbackInfo.vue.d.ts +0 -489
  187. package/dist/views/topup/TopupCompletion.vue.d.ts +0 -466
@@ -1,448 +0,0 @@
1
- import { MiniAppErrorType } from '../../model/miniAppError';
2
- import { RegisterUserInfoParams } from '../../types';
3
- import { VERIFY_STATUS } from '../../utils/api';
4
- import { UserProfileFormCategory, UserProfileFormData, UserProfileFormDataPoint, UserProfileFormDataPointGroup } from './types';
5
- import { UserProfileFormValidationResult } from './validators';
6
- declare type Result = {
7
- type: 'success';
8
- } | {
9
- type: 'fail';
10
- errorCode: MiniAppErrorType;
11
- };
12
- declare type State = {
13
- mode: 'default' | 'edit';
14
- formData: UserProfileFormData | null;
15
- currentCategoryIndex: number;
16
- inputValues: {
17
- [dataPointName: string]: string;
18
- };
19
- savedValues: {
20
- [dataPointName: string]: string;
21
- };
22
- validationResults: {
23
- [dataPointName: string]: UserProfileFormValidationResult;
24
- };
25
- email: string | null;
26
- emailStatus: VERIFY_STATUS | null;
27
- ui: {
28
- isSavingData: boolean;
29
- isCancelConfirmSheetVisible: boolean;
30
- isKycInfoSheetVisible: boolean;
31
- isMailInfoSheetVisible: boolean;
32
- errorSheet?: {
33
- title: string;
34
- text: string;
35
- isVisible: boolean;
36
- };
37
- };
38
- result: Result | null;
39
- };
40
- export declare const useRegisterUserInfoStore: import("pinia").StoreDefinition<"registerUserInfo", State, {
41
- uiIsVisible(state: {
42
- mode: 'default' | 'edit';
43
- formData: {
44
- isKycRequired: boolean;
45
- categories: {
46
- categoryName: string;
47
- categoryTitle: string;
48
- categorySubTitle: string;
49
- isAllDataPointFilled: boolean;
50
- dataPointGroup: {
51
- groupType: string;
52
- groupName: string;
53
- dataPoints: {
54
- name: string;
55
- type: "NAME" | "EMAIL" | "MOBILE_NUMBER" | "NUMBER" | "TEXT" | "DATE" | "SINGLE_SELECTION_LIST" | "SINGLE_SELECTION_BUTTON" | "MULTIPLE_SELECTION_BUTTON";
56
- isEditable: boolean;
57
- isOptional: boolean;
58
- isKycData: boolean;
59
- placeholder: string;
60
- validationType: "NUMBER" | "TEXT" | "KATA_KANA" | "ROMAN" | "MOBILE";
61
- value?: string | undefined;
62
- selectionItems?: string[] | undefined;
63
- }[];
64
- }[];
65
- }[];
66
- } | null;
67
- currentCategoryIndex: number;
68
- inputValues: {
69
- [dataPointName: string]: string;
70
- };
71
- savedValues: {
72
- [dataPointName: string]: string;
73
- };
74
- validationResults: {
75
- [dataPointName: string]: UserProfileFormValidationResult;
76
- };
77
- email: string | null;
78
- emailStatus: VERIFY_STATUS | null;
79
- ui: {
80
- isSavingData: boolean;
81
- isCancelConfirmSheetVisible: boolean;
82
- isKycInfoSheetVisible: boolean;
83
- isMailInfoSheetVisible: boolean;
84
- errorSheet?: {
85
- title: string;
86
- text: string;
87
- isVisible: boolean;
88
- } | undefined;
89
- };
90
- result: {
91
- type: 'success';
92
- } | {
93
- type: 'fail';
94
- errorCode: MiniAppErrorType;
95
- } | null;
96
- } & import("pinia").PiniaCustomStateProperties<State>): boolean;
97
- categoryAtIndex(state: {
98
- mode: 'default' | 'edit';
99
- formData: {
100
- isKycRequired: boolean;
101
- categories: {
102
- categoryName: string;
103
- categoryTitle: string;
104
- categorySubTitle: string;
105
- isAllDataPointFilled: boolean;
106
- dataPointGroup: {
107
- groupType: string;
108
- groupName: string;
109
- dataPoints: {
110
- name: string;
111
- type: "NAME" | "EMAIL" | "MOBILE_NUMBER" | "NUMBER" | "TEXT" | "DATE" | "SINGLE_SELECTION_LIST" | "SINGLE_SELECTION_BUTTON" | "MULTIPLE_SELECTION_BUTTON";
112
- isEditable: boolean;
113
- isOptional: boolean;
114
- isKycData: boolean;
115
- placeholder: string;
116
- validationType: "NUMBER" | "TEXT" | "KATA_KANA" | "ROMAN" | "MOBILE";
117
- value?: string | undefined;
118
- selectionItems?: string[] | undefined;
119
- }[];
120
- }[];
121
- }[];
122
- } | null;
123
- currentCategoryIndex: number;
124
- inputValues: {
125
- [dataPointName: string]: string;
126
- };
127
- savedValues: {
128
- [dataPointName: string]: string;
129
- };
130
- validationResults: {
131
- [dataPointName: string]: UserProfileFormValidationResult;
132
- };
133
- email: string | null;
134
- emailStatus: VERIFY_STATUS | null;
135
- ui: {
136
- isSavingData: boolean;
137
- isCancelConfirmSheetVisible: boolean;
138
- isKycInfoSheetVisible: boolean;
139
- isMailInfoSheetVisible: boolean;
140
- errorSheet?: {
141
- title: string;
142
- text: string;
143
- isVisible: boolean;
144
- } | undefined;
145
- };
146
- result: {
147
- type: 'success';
148
- } | {
149
- type: 'fail';
150
- errorCode: MiniAppErrorType;
151
- } | null;
152
- } & import("pinia").PiniaCustomStateProperties<State>): (index: number) => UserProfileFormCategory;
153
- numberOfCategories(state: {
154
- mode: 'default' | 'edit';
155
- formData: {
156
- isKycRequired: boolean;
157
- categories: {
158
- categoryName: string;
159
- categoryTitle: string;
160
- categorySubTitle: string;
161
- isAllDataPointFilled: boolean;
162
- dataPointGroup: {
163
- groupType: string;
164
- groupName: string;
165
- dataPoints: {
166
- name: string;
167
- type: "NAME" | "EMAIL" | "MOBILE_NUMBER" | "NUMBER" | "TEXT" | "DATE" | "SINGLE_SELECTION_LIST" | "SINGLE_SELECTION_BUTTON" | "MULTIPLE_SELECTION_BUTTON";
168
- isEditable: boolean;
169
- isOptional: boolean;
170
- isKycData: boolean;
171
- placeholder: string;
172
- validationType: "NUMBER" | "TEXT" | "KATA_KANA" | "ROMAN" | "MOBILE";
173
- value?: string | undefined;
174
- selectionItems?: string[] | undefined;
175
- }[];
176
- }[];
177
- }[];
178
- } | null;
179
- currentCategoryIndex: number;
180
- inputValues: {
181
- [dataPointName: string]: string;
182
- };
183
- savedValues: {
184
- [dataPointName: string]: string;
185
- };
186
- validationResults: {
187
- [dataPointName: string]: UserProfileFormValidationResult;
188
- };
189
- email: string | null;
190
- emailStatus: VERIFY_STATUS | null;
191
- ui: {
192
- isSavingData: boolean;
193
- isCancelConfirmSheetVisible: boolean;
194
- isKycInfoSheetVisible: boolean;
195
- isMailInfoSheetVisible: boolean;
196
- errorSheet?: {
197
- title: string;
198
- text: string;
199
- isVisible: boolean;
200
- } | undefined;
201
- };
202
- result: {
203
- type: 'success';
204
- } | {
205
- type: 'fail';
206
- errorCode: MiniAppErrorType;
207
- } | null;
208
- } & import("pinia").PiniaCustomStateProperties<State>): number;
209
- currentValue(state: {
210
- mode: 'default' | 'edit';
211
- formData: {
212
- isKycRequired: boolean;
213
- categories: {
214
- categoryName: string;
215
- categoryTitle: string;
216
- categorySubTitle: string;
217
- isAllDataPointFilled: boolean;
218
- dataPointGroup: {
219
- groupType: string;
220
- groupName: string;
221
- dataPoints: {
222
- name: string;
223
- type: "NAME" | "EMAIL" | "MOBILE_NUMBER" | "NUMBER" | "TEXT" | "DATE" | "SINGLE_SELECTION_LIST" | "SINGLE_SELECTION_BUTTON" | "MULTIPLE_SELECTION_BUTTON";
224
- isEditable: boolean;
225
- isOptional: boolean;
226
- isKycData: boolean;
227
- placeholder: string;
228
- validationType: "NUMBER" | "TEXT" | "KATA_KANA" | "ROMAN" | "MOBILE";
229
- value?: string | undefined;
230
- selectionItems?: string[] | undefined;
231
- }[];
232
- }[];
233
- }[];
234
- } | null;
235
- currentCategoryIndex: number;
236
- inputValues: {
237
- [dataPointName: string]: string;
238
- };
239
- savedValues: {
240
- [dataPointName: string]: string;
241
- };
242
- validationResults: {
243
- [dataPointName: string]: UserProfileFormValidationResult;
244
- };
245
- email: string | null;
246
- emailStatus: VERIFY_STATUS | null;
247
- ui: {
248
- isSavingData: boolean;
249
- isCancelConfirmSheetVisible: boolean;
250
- isKycInfoSheetVisible: boolean;
251
- isMailInfoSheetVisible: boolean;
252
- errorSheet?: {
253
- title: string;
254
- text: string;
255
- isVisible: boolean;
256
- } | undefined;
257
- };
258
- result: {
259
- type: 'success';
260
- } | {
261
- type: 'fail';
262
- errorCode: MiniAppErrorType;
263
- } | null;
264
- } & import("pinia").PiniaCustomStateProperties<State>): (dataPoint: UserProfileFormDataPoint) => string;
265
- hasValidationError(state: {
266
- mode: 'default' | 'edit';
267
- formData: {
268
- isKycRequired: boolean;
269
- categories: {
270
- categoryName: string;
271
- categoryTitle: string;
272
- categorySubTitle: string;
273
- isAllDataPointFilled: boolean;
274
- dataPointGroup: {
275
- groupType: string;
276
- groupName: string;
277
- dataPoints: {
278
- name: string;
279
- type: "NAME" | "EMAIL" | "MOBILE_NUMBER" | "NUMBER" | "TEXT" | "DATE" | "SINGLE_SELECTION_LIST" | "SINGLE_SELECTION_BUTTON" | "MULTIPLE_SELECTION_BUTTON";
280
- isEditable: boolean;
281
- isOptional: boolean;
282
- isKycData: boolean;
283
- placeholder: string;
284
- validationType: "NUMBER" | "TEXT" | "KATA_KANA" | "ROMAN" | "MOBILE";
285
- value?: string | undefined;
286
- selectionItems?: string[] | undefined;
287
- }[];
288
- }[];
289
- }[];
290
- } | null;
291
- currentCategoryIndex: number;
292
- inputValues: {
293
- [dataPointName: string]: string;
294
- };
295
- savedValues: {
296
- [dataPointName: string]: string;
297
- };
298
- validationResults: {
299
- [dataPointName: string]: UserProfileFormValidationResult;
300
- };
301
- email: string | null;
302
- emailStatus: VERIFY_STATUS | null;
303
- ui: {
304
- isSavingData: boolean;
305
- isCancelConfirmSheetVisible: boolean;
306
- isKycInfoSheetVisible: boolean;
307
- isMailInfoSheetVisible: boolean;
308
- errorSheet?: {
309
- title: string;
310
- text: string;
311
- isVisible: boolean;
312
- } | undefined;
313
- };
314
- result: {
315
- type: 'success';
316
- } | {
317
- type: 'fail';
318
- errorCode: MiniAppErrorType;
319
- } | null;
320
- } & import("pinia").PiniaCustomStateProperties<State>): (dataPoint: UserProfileFormDataPoint) => boolean;
321
- validationErrorForGroup(state: {
322
- mode: 'default' | 'edit';
323
- formData: {
324
- isKycRequired: boolean;
325
- categories: {
326
- categoryName: string;
327
- categoryTitle: string;
328
- categorySubTitle: string;
329
- isAllDataPointFilled: boolean;
330
- dataPointGroup: {
331
- groupType: string;
332
- groupName: string;
333
- dataPoints: {
334
- name: string;
335
- type: "NAME" | "EMAIL" | "MOBILE_NUMBER" | "NUMBER" | "TEXT" | "DATE" | "SINGLE_SELECTION_LIST" | "SINGLE_SELECTION_BUTTON" | "MULTIPLE_SELECTION_BUTTON";
336
- isEditable: boolean;
337
- isOptional: boolean;
338
- isKycData: boolean;
339
- placeholder: string;
340
- validationType: "NUMBER" | "TEXT" | "KATA_KANA" | "ROMAN" | "MOBILE";
341
- value?: string | undefined;
342
- selectionItems?: string[] | undefined;
343
- }[];
344
- }[];
345
- }[];
346
- } | null;
347
- currentCategoryIndex: number;
348
- inputValues: {
349
- [dataPointName: string]: string;
350
- };
351
- savedValues: {
352
- [dataPointName: string]: string;
353
- };
354
- validationResults: {
355
- [dataPointName: string]: UserProfileFormValidationResult;
356
- };
357
- email: string | null;
358
- emailStatus: VERIFY_STATUS | null;
359
- ui: {
360
- isSavingData: boolean;
361
- isCancelConfirmSheetVisible: boolean;
362
- isKycInfoSheetVisible: boolean;
363
- isMailInfoSheetVisible: boolean;
364
- errorSheet?: {
365
- title: string;
366
- text: string;
367
- isVisible: boolean;
368
- } | undefined;
369
- };
370
- result: {
371
- type: 'success';
372
- } | {
373
- type: 'fail';
374
- errorCode: MiniAppErrorType;
375
- } | null;
376
- } & import("pinia").PiniaCustomStateProperties<State>): (group: UserProfileFormDataPointGroup) => string | null;
377
- shouldDisableSaveButton(state: {
378
- mode: 'default' | 'edit';
379
- formData: {
380
- isKycRequired: boolean;
381
- categories: {
382
- categoryName: string;
383
- categoryTitle: string;
384
- categorySubTitle: string;
385
- isAllDataPointFilled: boolean;
386
- dataPointGroup: {
387
- groupType: string;
388
- groupName: string;
389
- dataPoints: {
390
- name: string;
391
- type: "NAME" | "EMAIL" | "MOBILE_NUMBER" | "NUMBER" | "TEXT" | "DATE" | "SINGLE_SELECTION_LIST" | "SINGLE_SELECTION_BUTTON" | "MULTIPLE_SELECTION_BUTTON";
392
- isEditable: boolean;
393
- isOptional: boolean;
394
- isKycData: boolean;
395
- placeholder: string;
396
- validationType: "NUMBER" | "TEXT" | "KATA_KANA" | "ROMAN" | "MOBILE";
397
- value?: string | undefined;
398
- selectionItems?: string[] | undefined;
399
- }[];
400
- }[];
401
- }[];
402
- } | null;
403
- currentCategoryIndex: number;
404
- inputValues: {
405
- [dataPointName: string]: string;
406
- };
407
- savedValues: {
408
- [dataPointName: string]: string;
409
- };
410
- validationResults: {
411
- [dataPointName: string]: UserProfileFormValidationResult;
412
- };
413
- email: string | null;
414
- emailStatus: VERIFY_STATUS | null;
415
- ui: {
416
- isSavingData: boolean;
417
- isCancelConfirmSheetVisible: boolean;
418
- isKycInfoSheetVisible: boolean;
419
- isMailInfoSheetVisible: boolean;
420
- errorSheet?: {
421
- title: string;
422
- text: string;
423
- isVisible: boolean;
424
- } | undefined;
425
- };
426
- result: {
427
- type: 'success';
428
- } | {
429
- type: 'fail';
430
- errorCode: MiniAppErrorType;
431
- } | null;
432
- } & import("pinia").PiniaCustomStateProperties<State>): boolean;
433
- }, {
434
- initialize(params: RegisterUserInfoParams): void;
435
- saveCategory(): void;
436
- getEmailStatus(): void;
437
- onInputValueChange(dataPoint: UserProfileFormDataPoint, value: string): void;
438
- onBackButton(): void;
439
- onCancelFormButton(): void;
440
- closeCancelConfirmationSheet(): void;
441
- confirmCancel(): void;
442
- showKycInfoSheet(): void;
443
- closeKycInfoSheet(): void;
444
- showMailInfoSheet(): void;
445
- closeMailInfoSheet(): void;
446
- closeErrorSheet(): void;
447
- }>;
448
- export {};
@@ -1,32 +0,0 @@
1
- export declare type UserProfileFormData = {
2
- isKycRequired: boolean;
3
- categories: UserProfileFormCategory[];
4
- };
5
- export declare type UserProfileFormCategory = {
6
- categoryName: string;
7
- categoryTitle: string;
8
- categorySubTitle: string;
9
- isAllDataPointFilled: boolean;
10
- dataPointGroup: UserProfileFormDataPointGroup[];
11
- };
12
- export declare type UserProfileFormDataPointGroup = {
13
- groupType: string;
14
- groupName: string;
15
- dataPoints: UserProfileFormDataPoint[];
16
- };
17
- export declare type UserProfileFormDataPoint = {
18
- name: string;
19
- type: UserProfileFormDataPointType;
20
- isEditable: boolean;
21
- isOptional: boolean;
22
- isKycData: boolean;
23
- placeholder: string;
24
- validationType: UserProfileFormValidationType;
25
- value?: string;
26
- selectionItems?: string[];
27
- };
28
- declare const userProfileFormDataPointTypes: readonly ["NAME", "EMAIL", "MOBILE_NUMBER", "NUMBER", "TEXT", "DATE", "SINGLE_SELECTION_LIST", "SINGLE_SELECTION_BUTTON", "MULTIPLE_SELECTION_BUTTON"];
29
- declare type UserProfileFormDataPointType = typeof userProfileFormDataPointTypes[number];
30
- export declare const userProfileFormValidationTypes: readonly ["KATA_KANA", "ROMAN", "MOBILE", "TEXT", "NUMBER"];
31
- export declare type UserProfileFormValidationType = typeof userProfileFormValidationTypes[number];
32
- export {};
@@ -1,4 +0,0 @@
1
- import { UserProfileFormDataPointGroup } from './types';
2
- export declare function isKycDataPointGroup(group: UserProfileFormDataPointGroup): boolean;
3
- export declare function isUneditableDataPointGroup(group: UserProfileFormDataPointGroup): boolean;
4
- export declare function isEditableDataPointGroup(group: UserProfileFormDataPointGroup): boolean;
@@ -1,10 +0,0 @@
1
- import { UserProfileFormDataPoint, UserProfileFormValidationType } from './types';
2
- export declare type UserProfileFormValidationResult = {
3
- ok: true;
4
- convertTo?: string;
5
- } | {
6
- ok: false;
7
- reason: string;
8
- };
9
- export declare function isKnownValidationType(type: unknown): type is UserProfileFormValidationType;
10
- export declare function validate(dataPoint: UserProfileFormDataPoint, value: string): UserProfileFormValidationResult;
@@ -1,140 +0,0 @@
1
- import { PropType } from 'vue-demi';
2
- import { BankMethod, CreditMethod, PayLaterCCMethod, SbidBankMethod } from '../../model/makePayment';
3
- declare const _default: import("vue-demi").DefineComponent<{
4
- topupMethod: {
5
- type: PropType<import('../../model/makePayment').PaymentMethod | undefined>;
6
- default: undefined;
7
- };
8
- }, {
9
- lg: {
10
- title: string;
11
- titleNeedUpdate: string;
12
- description: string;
13
- minAmount: string;
14
- unit: string;
15
- addTopupMethod: string;
16
- noActivatedTopupMethod: string;
17
- topupNotice: string;
18
- updateWarning: {
19
- message: string;
20
- update: string;
21
- cancel: string;
22
- };
23
- eMoneyOnly: string;
24
- topupNoticeEmoneyOnlyTitle: string;
25
- topupNoticeEmoneyOnlyDesc: string;
26
- };
27
- img_iconArrowRightBlue: string;
28
- img_iconRightArrowGray: string;
29
- img_bankIcon: string;
30
- bankMethod: import("vue-demi").ComputedRef<BankMethod | undefined>;
31
- creditMethod: import("vue-demi").ComputedRef<CreditMethod | undefined>;
32
- onSelectTopupMethod: () => void;
33
- onSelectTopupMethodSetting: () => void;
34
- store: import("pinia").Store<"registerPaymentFeatures", {
35
- mode: import("./types").AutoTopupMode;
36
- minimumTopupAmount?: number | undefined;
37
- selectedPaymentMethodInfo?: import('../../model/makePayment').PaymentMethod | undefined;
38
- paymentMethodList?: import('../../model/makePayment').PaymentMethod[] | undefined;
39
- result?: ({
40
- type: "success";
41
- } | {
42
- type: "fail";
43
- errorCode: import("../../model/miniAppError").MiniAppErrorType;
44
- }) | undefined;
45
- uiIsVisible: boolean;
46
- needUpdate: boolean;
47
- renderRoot: boolean;
48
- isFinishSetting: boolean;
49
- isLimitAmountErrorOccur: boolean;
50
- autoChargeTopupHalfSheetAmount?: {
51
- description: string;
52
- value: number[];
53
- }[] | undefined;
54
- autoChargeRecommendedTopupAmount?: {
55
- description: string;
56
- value: number;
57
- }[] | undefined;
58
- ui: {
59
- isChooseAmount: boolean;
60
- isChooseTopupMethod: boolean;
61
- isSettingComplete: boolean;
62
- isTopupMethodSetting: boolean;
63
- isTopupAmountSetting: boolean;
64
- isAutoTopupConfirm: boolean;
65
- isAmountError: boolean;
66
- isThreeDSecure: boolean;
67
- amountErrorInfo: import("../../model/uiComponents").UIComponentsError;
68
- threeDSecureCCType?: string | undefined;
69
- };
70
- errorSheet: {
71
- isVisible: boolean;
72
- };
73
- isEmoneyOnly: boolean;
74
- showEmoneyOnlyNotice: boolean;
75
- ptacPaymentMethodId?: string | undefined;
76
- }, {
77
- defaultPaymentMethod(): import('../../model/makePayment').PaymentMethod | undefined;
78
- availablePaymentMethodList(): import('../../model/makePayment').PaymentMethod[] | undefined;
79
- selectedAvailableTopupMethod(): import('../../model/makePayment').PaymentMethod | undefined;
80
- existActivatedMethod(): boolean;
81
- selectedPaymentMethodIndex(): number;
82
- displayActivateButton(): boolean;
83
- requireConfirm(): boolean;
84
- isEmptyPaymentMethodList(): boolean;
85
- }, {
86
- setAmount(payload: {
87
- amount: number;
88
- }): void;
89
- selectPaymentMethod(payload: {
90
- paymentIndex: number;
91
- }): void;
92
- initialize(isEmoneyOnly: boolean, needUpdate: boolean, merchant?: string | undefined, productType?: string | undefined): Promise<void>;
93
- showAddBankUI(): Promise<void>;
94
- initAppConfig(): Promise<boolean>;
95
- handleErrorResponse(response: import("../../utils/fetch").PPFetchResult<unknown, Record<string, unknown>>): void;
96
- setAutoTopupConfiguration(): Promise<boolean | undefined>;
97
- activateAutoTopup(): Promise<void>;
98
- selectTopupMethodSetting(): void;
99
- cancelSetting(): void;
100
- finishSetting(): void;
101
- openSetting(): void;
102
- closeSetting(): void;
103
- openChooseAmountSheet(): void;
104
- closeChooseAmountSheet(): void;
105
- openChooseTopupMethodSheet(): void;
106
- closeChooseTopupMethodSheet(): void;
107
- openSettingCompleteSheet(): void;
108
- closeSettingCompleteSheet(): void;
109
- openTopupMethodSetting(): void;
110
- closeTopupMethodSetting(): void;
111
- openAutoTopupConfirm(): void;
112
- closeAutoTopupConfirm(): void;
113
- openAmountError(payload: import("../../model/uiComponents").UIComponentsError): void;
114
- closeAmountError(): void;
115
- openTopupAmountSetting(): void;
116
- closeTopupAmountSetting(): void;
117
- closeError(): void;
118
- show3DSecureSheet(selectedPaymentMethodIndex: number): boolean;
119
- close3dSecureSheet(): void;
120
- cancelUpdate(): void;
121
- }>;
122
- sbidMethod: import("vue-demi").ComputedRef<SbidBankMethod | undefined>;
123
- payLaterCcMethod: import("vue-demi").ComputedRef<PayLaterCCMethod | undefined>;
124
- isEmoneyOnly: import("vue-demi").ComputedRef<boolean>;
125
- showEmoneyOnlyNotice: import("vue-demi").ComputedRef<boolean>;
126
- }, unknown, {}, {}, import("vue-demi").ComponentOptionsMixin, import("vue-demi").ComponentOptionsMixin, {
127
- settingTopupMethod: null;
128
- selectTopupMethod: null;
129
- }, string, import("vue-demi").VNodeProps & import("vue-demi").AllowedComponentProps & import("vue-demi").ComponentCustomProps, Readonly<import("vue-demi").ExtractPropTypes<{
130
- topupMethod: {
131
- type: PropType<import('../../model/makePayment').PaymentMethod | undefined>;
132
- default: undefined;
133
- };
134
- }>> & {
135
- onSettingTopupMethod?: ((...args: any[]) => any) | undefined;
136
- onSelectTopupMethod?: ((...args: any[]) => any) | undefined;
137
- }, {
138
- topupMethod: import('../../model/makePayment').PaymentMethod | undefined;
139
- }>;
140
- export default _default;