@paypay/mini-app-js-sdk 1.23.0 → 1.24.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 (58) hide show
  1. package/dist/mini-app-js-sdk.browser.js +1 -1
  2. package/dist/mini-app-js-sdk.es.js +807 -737
  3. package/dist/mini-app-js-sdk.min.css +1 -1
  4. package/dist/model/makePayment.d.ts +4 -2
  5. package/dist/package/payment-method/SbidBank.vue.d.ts +9 -0
  6. package/dist/package/payment-method/Wallet.vue.d.ts +9 -0
  7. package/dist/package/payment-type/Sbid.vue.d.ts +9 -0
  8. package/dist/package/payment-type/Wallet.vue.d.ts +9 -0
  9. package/dist/package/wallet-breakdown/WalletBreakdown.vue.d.ts +9 -0
  10. package/dist/types.d.ts +2 -2
  11. package/dist/utils/api.d.ts +17 -7
  12. package/dist/utils/getLanguage.d.ts +9 -0
  13. package/dist/utils/helper.d.ts +2 -0
  14. package/dist/views/email-registration/App.vue.d.ts +11 -2
  15. package/dist/views/error-sheet/Index.vue.d.ts +9 -0
  16. package/dist/views/get-user-address/Sheet/AddSheet/Contents.vue.d.ts +9 -0
  17. package/dist/views/get-user-address/Sheet/AddSheet/DeleteHalfSheet.vue.d.ts +9 -0
  18. package/dist/views/get-user-address/Sheet/AddSheet/Footer.vue.d.ts +9 -0
  19. package/dist/views/get-user-address/Sheet/AddSheet/TagForm.vue.d.ts +9 -0
  20. package/dist/views/get-user-address/Sheet/AddSheet/index.vue.d.ts +24 -9
  21. package/dist/views/get-user-address/Sheet/DisplaySheet/Address.vue.d.ts +9 -0
  22. package/dist/views/get-user-address/Sheet/DisplaySheet/Footer.vue.d.ts +26 -3
  23. package/dist/views/get-user-address/Sheet/DisplaySheet/index.vue.d.ts +10 -1
  24. package/dist/views/get-user-address/Sheet/SelectedAddress/NoRegisteredAddressMessage.vue.d.ts +9 -0
  25. package/dist/views/get-user-address/Sheet/SelectedAddress/SelectedAddress.vue.d.ts +9 -0
  26. package/dist/views/get-user-address/Sheet/SelectedAddress/components/AddressInfo.vue.d.ts +9 -0
  27. package/dist/views/get-user-address/Sheet/SelectedAddress/components/Footer.vue.d.ts +9 -0
  28. package/dist/views/input-address/App.vue.d.ts +1 -1
  29. package/dist/views/input-address/hook/app.d.ts +3 -2
  30. package/dist/views/input-address/hook/error-handle.d.ts +9 -1
  31. package/dist/views/make-payment/Sheets/AddressInfo.vue.d.ts +9 -0
  32. package/dist/views/make-payment/Sheets/CashBackDetailList.vue.d.ts +9 -0
  33. package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirm.vue.d.ts +9 -0
  34. package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirmError.vue.d.ts +9 -0
  35. package/dist/views/make-payment/Sheets/CashBackDetails/hooks.d.ts +1 -0
  36. package/dist/views/make-payment/Sheets/CashBackDetails/index.vue.d.ts +9 -0
  37. package/dist/views/make-payment/Sheets/Charge/ChoosePaymentMethod.vue.d.ts +9 -0
  38. package/dist/views/make-payment/Sheets/Charge/TopContent.vue.d.ts +9 -0
  39. package/dist/views/make-payment/Sheets/Charge/TopInfo.vue.d.ts +9 -0
  40. package/dist/views/make-payment/Sheets/Charge/index.vue.d.ts +10 -1
  41. package/dist/views/make-payment/Sheets/ChoosePayment.vue.d.ts +9 -0
  42. package/dist/views/make-payment/Sheets/CloseConfirmation.vue.d.ts +9 -0
  43. package/dist/views/make-payment/Sheets/DuplicatePayment.vue.d.ts +9 -0
  44. package/dist/views/make-payment/Sheets/PayMethod.vue.d.ts +9 -0
  45. package/dist/views/make-payment/Sheets/Payment.vue.d.ts +10 -1
  46. package/dist/views/make-payment/Sheets/PaymentCompletion/index.vue.d.ts +9 -0
  47. package/dist/views/make-payment/hooks/app-hooks.d.ts +1 -1
  48. package/dist/views/make-payment/hooks/ui-hooks.d.ts +1 -1
  49. package/dist/views/make-payment/store/root.d.ts +1 -1
  50. package/dist/views/open-app/App.vue.d.ts +14 -3
  51. package/dist/views/open-map/App.vue.d.ts +15 -4
  52. package/dist/views/show-update-warning/App.vue.d.ts +14 -3
  53. package/dist/views/smart-button/App.vue.d.ts +1 -1
  54. package/dist/views/take-photo/App.vue.d.ts +14 -3
  55. package/dist/views/topup/App.vue.d.ts +11 -1
  56. package/dist/views/topup/CashbackInfo.vue.d.ts +9 -0
  57. package/dist/views/topup/TopupCompletion.vue.d.ts +17 -6
  58. package/package.json +1 -1
@@ -1,6 +1,5 @@
1
1
  import { MiniAppErrorType } from '../model/miniAppError';
2
2
  import { UIComponentsError } from '../model/uiComponents';
3
- import { Amount } from '../types';
4
3
  import { Address } from '../types';
5
4
  export declare type TopupQuery = {
6
5
  merchant?: string;
@@ -18,7 +17,21 @@ export declare type TopupBody = {
18
17
  requestedAt: number;
19
18
  prepaidOnly?: boolean;
20
19
  };
21
- export declare type TopupResponse = {
20
+ export interface TopupResponseData {
21
+ merchantTopUpId: string;
22
+ topUpId: string;
23
+ status: string;
24
+ statusLabel: string;
25
+ statusLabelColor: string;
26
+ amount: {
27
+ amount: number;
28
+ currency: string;
29
+ };
30
+ acceptedAt?: number;
31
+ requestedAt: number;
32
+ responseValidTill: number;
33
+ }
34
+ export interface TopupResponse {
22
35
  status: number;
23
36
  signed: {
24
37
  jws?: string;
@@ -30,12 +43,9 @@ export declare type TopupResponse = {
30
43
  resultInfo: {
31
44
  code: MiniAppErrorType;
32
45
  };
33
- data: {
34
- status: string;
35
- amount: Amount;
36
- };
46
+ data: TopupResponseData;
37
47
  };
38
- };
48
+ }
39
49
  declare type WalletInfoResponse = {
40
50
  data: {
41
51
  payload: {
@@ -153,6 +153,7 @@ export declare function getLanguage(): {
153
153
  confirmAddress: string;
154
154
  returnEdit: string;
155
155
  selectAddress: string;
156
+ selectDeliveryAddress: string;
156
157
  };
157
158
  errorSheet: {
158
159
  title: string;
@@ -173,6 +174,14 @@ export declare function getLanguage(): {
173
174
  ppCardTitle: string;
174
175
  brand: string;
175
176
  };
177
+ paymentMethodStatus: {
178
+ ACTIVATED: string;
179
+ OFF: string;
180
+ APPLYING: string;
181
+ MAINTENANCE: string;
182
+ BUSY: string;
183
+ SUSPENDED: string;
184
+ };
176
185
  wallet: {
177
186
  title: string;
178
187
  desc: string;
@@ -1,4 +1,5 @@
1
1
  import { MiniAppErrorType } from '../model/miniAppError';
2
+ import { PaymentMethodStatus } from '../model/makePayment';
2
3
  export declare function isDef<T>(val: T): val is NonNullable<T>;
3
4
  export declare function isFunction(val: unknown): val is () => void;
4
5
  export declare function isNumeric(val: string | number): val is string;
@@ -41,4 +42,5 @@ export declare const createErrorCode: (errorCode: MiniAppErrorType, jws?: string
41
42
  };
42
43
  export declare function updateLocalisedString(data: string, target: string, value: string): string;
43
44
  export declare function handleHeightResize(el: HTMLElement, windowHeight: number, isScrollable: boolean, offsetHeight: number): boolean;
45
+ export declare function getPaymentMethodStatus(isExpired: boolean, val?: PaymentMethodStatus): string;
44
46
  export {};
@@ -27,8 +27,8 @@ declare const _default: import("vue").DefineComponent<{
27
27
  cancel: () => void;
28
28
  done: (statusCode: MiniAppStatusType, email?: string | undefined) => void;
29
29
  };
30
- appLogo: import("vue").ComputedRef<any>;
31
- appName: import("vue").ComputedRef<any>;
30
+ appLogo: import("vue").ComputedRef<string | undefined>;
31
+ appName: import("vue").ComputedRef<string | undefined>;
32
32
  lg: {
33
33
  showUpdateWarning: {
34
34
  closeBtn: string;
@@ -184,6 +184,7 @@ declare const _default: import("vue").DefineComponent<{
184
184
  confirmAddress: string;
185
185
  returnEdit: string;
186
186
  selectAddress: string;
187
+ selectDeliveryAddress: string;
187
188
  };
188
189
  errorSheet: {
189
190
  title: string;
@@ -204,6 +205,14 @@ declare const _default: import("vue").DefineComponent<{
204
205
  ppCardTitle: string;
205
206
  brand: string;
206
207
  };
208
+ paymentMethodStatus: {
209
+ ACTIVATED: string;
210
+ OFF: string;
211
+ APPLYING: string;
212
+ MAINTENANCE: string;
213
+ BUSY: string;
214
+ SUSPENDED: string;
215
+ };
207
216
  wallet: {
208
217
  title: string;
209
218
  desc: string;
@@ -215,6 +215,7 @@ declare const _default: import("vue").DefineComponent<{
215
215
  confirmAddress: string;
216
216
  returnEdit: string;
217
217
  selectAddress: string;
218
+ selectDeliveryAddress: string;
218
219
  };
219
220
  errorSheet: {
220
221
  title: string;
@@ -235,6 +236,14 @@ declare const _default: import("vue").DefineComponent<{
235
236
  ppCardTitle: string;
236
237
  brand: string;
237
238
  };
239
+ paymentMethodStatus: {
240
+ ACTIVATED: string;
241
+ OFF: string;
242
+ APPLYING: string;
243
+ MAINTENANCE: string;
244
+ BUSY: string;
245
+ SUSPENDED: string;
246
+ };
238
247
  wallet: {
239
248
  title: string;
240
249
  desc: string;
@@ -209,6 +209,7 @@ declare const _default: import("vue").DefineComponent<{
209
209
  confirmAddress: string;
210
210
  returnEdit: string;
211
211
  selectAddress: string;
212
+ selectDeliveryAddress: string;
212
213
  };
213
214
  errorSheet: {
214
215
  title: string;
@@ -229,6 +230,14 @@ declare const _default: import("vue").DefineComponent<{
229
230
  ppCardTitle: string;
230
231
  brand: string;
231
232
  };
233
+ paymentMethodStatus: {
234
+ ACTIVATED: string;
235
+ OFF: string;
236
+ APPLYING: string;
237
+ MAINTENANCE: string;
238
+ BUSY: string;
239
+ SUSPENDED: string;
240
+ };
232
241
  wallet: {
233
242
  title: string;
234
243
  desc: string;
@@ -163,6 +163,7 @@ declare const _default: import("vue").DefineComponent<{
163
163
  confirmAddress: string;
164
164
  returnEdit: string;
165
165
  selectAddress: string;
166
+ selectDeliveryAddress: string;
166
167
  };
167
168
  errorSheet: {
168
169
  title: string;
@@ -183,6 +184,14 @@ declare const _default: import("vue").DefineComponent<{
183
184
  ppCardTitle: string;
184
185
  brand: string;
185
186
  };
187
+ paymentMethodStatus: {
188
+ ACTIVATED: string;
189
+ OFF: string;
190
+ APPLYING: string;
191
+ MAINTENANCE: string;
192
+ BUSY: string;
193
+ SUSPENDED: string;
194
+ };
186
195
  wallet: {
187
196
  title: string;
188
197
  desc: string;
@@ -184,6 +184,7 @@ declare const _default: import("vue").DefineComponent<{
184
184
  confirmAddress: string;
185
185
  returnEdit: string;
186
186
  selectAddress: string;
187
+ selectDeliveryAddress: string;
187
188
  };
188
189
  errorSheet: {
189
190
  title: string;
@@ -204,6 +205,14 @@ declare const _default: import("vue").DefineComponent<{
204
205
  ppCardTitle: string;
205
206
  brand: string;
206
207
  };
208
+ paymentMethodStatus: {
209
+ ACTIVATED: string;
210
+ OFF: string;
211
+ APPLYING: string;
212
+ MAINTENANCE: string;
213
+ BUSY: string;
214
+ SUSPENDED: string;
215
+ };
207
216
  wallet: {
208
217
  title: string;
209
218
  desc: string;
@@ -173,6 +173,7 @@ declare const _default: import("vue").DefineComponent<{
173
173
  confirmAddress: string;
174
174
  returnEdit: string;
175
175
  selectAddress: string;
176
+ selectDeliveryAddress: string;
176
177
  };
177
178
  errorSheet: {
178
179
  title: string;
@@ -193,6 +194,14 @@ declare const _default: import("vue").DefineComponent<{
193
194
  ppCardTitle: string;
194
195
  brand: string;
195
196
  };
197
+ paymentMethodStatus: {
198
+ ACTIVATED: string;
199
+ OFF: string;
200
+ APPLYING: string;
201
+ MAINTENANCE: string;
202
+ BUSY: string;
203
+ SUSPENDED: string;
204
+ };
196
205
  wallet: {
197
206
  title: string;
198
207
  desc: string;
@@ -1,5 +1,7 @@
1
1
  import { PropType } from 'vue';
2
2
  import { Address } from '../../../../types';
3
+ import { GetAddressListResponse } from '../../../../utils/api';
4
+ import { ErrorResponse } from '../../../../utils/fetch';
3
5
  declare const _default: import("vue").DefineComponent<{
4
6
  show: {
5
7
  type: BooleanConstructor;
@@ -18,7 +20,7 @@ declare const _default: import("vue").DefineComponent<{
18
20
  };
19
21
  heightStyle: {
20
22
  type: PropType<{
21
- [key: string]: unknown;
23
+ [key: string]: string;
22
24
  }>;
23
25
  default: null;
24
26
  required: false;
@@ -37,10 +39,10 @@ declare const _default: import("vue").DefineComponent<{
37
39
  heightStyles: import("vue").ComputedRef<{
38
40
  rootHeight: {
39
41
  position?: undefined;
40
- height: unknown;
42
+ height: string;
41
43
  } | {
42
44
  position: string;
43
- height: unknown;
45
+ height: string;
44
46
  };
45
47
  contentStyle: {
46
48
  maxHeight: string;
@@ -204,6 +206,7 @@ declare const _default: import("vue").DefineComponent<{
204
206
  confirmAddress: string;
205
207
  returnEdit: string;
206
208
  selectAddress: string;
209
+ selectDeliveryAddress: string;
207
210
  };
208
211
  errorSheet: {
209
212
  title: string;
@@ -224,6 +227,14 @@ declare const _default: import("vue").DefineComponent<{
224
227
  ppCardTitle: string;
225
228
  brand: string;
226
229
  };
230
+ paymentMethodStatus: {
231
+ ACTIVATED: string;
232
+ OFF: string;
233
+ APPLYING: string;
234
+ MAINTENANCE: string;
235
+ BUSY: string;
236
+ SUSPENDED: string;
237
+ };
227
238
  wallet: {
228
239
  title: string;
229
240
  desc: string;
@@ -280,7 +291,11 @@ declare const _default: import("vue").DefineComponent<{
280
291
  kycAddress: import("vue").ComputedRef<"" | "dot">;
281
292
  isDesktop: import("vue").ComputedRef<boolean>;
282
293
  desktopTitle: import("vue").ComputedRef<string>;
283
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("del" | "close" | "submit")[], "del" | "close" | "submit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
294
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
295
+ close: () => true;
296
+ submit: (_address: Address) => true;
297
+ del: (_response: ErrorResponse | GetAddressListResponse) => true;
298
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
284
299
  show?: unknown;
285
300
  loading?: unknown;
286
301
  address?: unknown;
@@ -294,18 +309,18 @@ declare const _default: import("vue").DefineComponent<{
294
309
  loading: boolean;
295
310
  isMakepayment: boolean;
296
311
  heightStyle: {
297
- [key: string]: unknown;
312
+ [key: string]: string;
298
313
  };
299
314
  } & {}> & {
300
- onClose?: ((...args: any[]) => any) | undefined;
301
- onSubmit?: ((...args: any[]) => any) | undefined;
302
- onDel?: ((...args: any[]) => any) | undefined;
315
+ onClose?: (() => any) | undefined;
316
+ onSubmit?: ((_address: Address) => any) | undefined;
317
+ onDel?: ((_response: GetAddressListResponse | ErrorResponse) => any) | undefined;
303
318
  }, {
304
319
  address: Address | null | undefined;
305
320
  noOverlay: boolean;
306
321
  isMakepayment: boolean;
307
322
  heightStyle: {
308
- [key: string]: unknown;
323
+ [key: string]: string;
309
324
  };
310
325
  }>;
311
326
  export default _default;
@@ -175,6 +175,7 @@ declare const _default: import("vue").DefineComponent<{
175
175
  confirmAddress: string;
176
176
  returnEdit: string;
177
177
  selectAddress: string;
178
+ selectDeliveryAddress: string;
178
179
  };
179
180
  errorSheet: {
180
181
  title: string;
@@ -195,6 +196,14 @@ declare const _default: import("vue").DefineComponent<{
195
196
  ppCardTitle: string;
196
197
  brand: string;
197
198
  };
199
+ paymentMethodStatus: {
200
+ ACTIVATED: string;
201
+ OFF: string;
202
+ APPLYING: string;
203
+ MAINTENANCE: string;
204
+ BUSY: string;
205
+ SUSPENDED: string;
206
+ };
198
207
  wallet: {
199
208
  title: string;
200
209
  desc: string;
@@ -4,9 +4,15 @@ declare const _default: import("vue").DefineComponent<{
4
4
  required: false;
5
5
  default: boolean;
6
6
  };
7
+ isNoaddress: {
8
+ type: BooleanConstructor;
9
+ required: false;
10
+ default: boolean;
11
+ };
7
12
  }, {
8
13
  add: () => void;
9
14
  close: () => void;
15
+ confirm: () => void;
10
16
  style: Record<string, string>;
11
17
  bottomStyle: import("vue").ComputedRef<{
12
18
  paddingBottom: string;
@@ -166,6 +172,7 @@ declare const _default: import("vue").DefineComponent<{
166
172
  confirmAddress: string;
167
173
  returnEdit: string;
168
174
  selectAddress: string;
175
+ selectDeliveryAddress: string;
169
176
  };
170
177
  errorSheet: {
171
178
  title: string;
@@ -186,6 +193,14 @@ declare const _default: import("vue").DefineComponent<{
186
193
  ppCardTitle: string;
187
194
  brand: string;
188
195
  };
196
+ paymentMethodStatus: {
197
+ ACTIVATED: string;
198
+ OFF: string;
199
+ APPLYING: string;
200
+ MAINTENANCE: string;
201
+ BUSY: string;
202
+ SUSPENDED: string;
203
+ };
189
204
  wallet: {
190
205
  title: string;
191
206
  desc: string;
@@ -236,14 +251,22 @@ declare const _default: import("vue").DefineComponent<{
236
251
  };
237
252
  };
238
253
  isDesktop: import("vue").ComputedRef<boolean>;
239
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "add")[], "close" | "add", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
254
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
255
+ add: () => true;
256
+ close: () => true;
257
+ confirm: () => true;
258
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
240
259
  isMakepayment?: unknown;
260
+ isNoaddress?: unknown;
241
261
  } & {
242
262
  isMakepayment: boolean;
263
+ isNoaddress: boolean;
243
264
  } & {}> & {
244
- onClose?: ((...args: any[]) => any) | undefined;
245
- onAdd?: ((...args: any[]) => any) | undefined;
265
+ onClose?: (() => any) | undefined;
266
+ onAdd?: (() => any) | undefined;
267
+ onConfirm?: (() => any) | undefined;
246
268
  }, {
247
269
  isMakepayment: boolean;
270
+ isNoaddress: boolean;
248
271
  }>;
249
272
  export default _default;
@@ -194,6 +194,7 @@ declare const _default: import("vue").DefineComponent<{
194
194
  confirmAddress: string;
195
195
  returnEdit: string;
196
196
  selectAddress: string;
197
+ selectDeliveryAddress: string;
197
198
  };
198
199
  errorSheet: {
199
200
  title: string;
@@ -214,6 +215,14 @@ declare const _default: import("vue").DefineComponent<{
214
215
  ppCardTitle: string;
215
216
  brand: string;
216
217
  };
218
+ paymentMethodStatus: {
219
+ ACTIVATED: string;
220
+ OFF: string;
221
+ APPLYING: string;
222
+ MAINTENANCE: string;
223
+ BUSY: string;
224
+ SUSPENDED: string;
225
+ };
217
226
  wallet: {
218
227
  title: string;
219
228
  desc: string;
@@ -296,8 +305,8 @@ declare const _default: import("vue").DefineComponent<{
296
305
  hideAddresses: () => void;
297
306
  confirmAddresses: () => void;
298
307
  confirm: () => void;
299
- showTick: import("vue").ComputedRef<boolean>;
300
308
  showsNoRegisteredAddressMessage: import("vue").ComputedRef<boolean>;
309
+ confirmSuccess: () => void;
301
310
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
302
311
  close: () => true;
303
312
  success: (address: AddressType) => true;
@@ -159,6 +159,7 @@ declare const _default: import("vue").DefineComponent<{
159
159
  confirmAddress: string;
160
160
  returnEdit: string;
161
161
  selectAddress: string;
162
+ selectDeliveryAddress: string;
162
163
  };
163
164
  errorSheet: {
164
165
  title: string;
@@ -179,6 +180,14 @@ declare const _default: import("vue").DefineComponent<{
179
180
  ppCardTitle: string;
180
181
  brand: string;
181
182
  };
183
+ paymentMethodStatus: {
184
+ ACTIVATED: string;
185
+ OFF: string;
186
+ APPLYING: string;
187
+ MAINTENANCE: string;
188
+ BUSY: string;
189
+ SUSPENDED: string;
190
+ };
182
191
  wallet: {
183
192
  title: string;
184
193
  desc: string;
@@ -167,6 +167,7 @@ declare const _default: import("vue").DefineComponent<{
167
167
  confirmAddress: string;
168
168
  returnEdit: string;
169
169
  selectAddress: string;
170
+ selectDeliveryAddress: string;
170
171
  };
171
172
  errorSheet: {
172
173
  title: string;
@@ -187,6 +188,14 @@ declare const _default: import("vue").DefineComponent<{
187
188
  ppCardTitle: string;
188
189
  brand: string;
189
190
  };
191
+ paymentMethodStatus: {
192
+ ACTIVATED: string;
193
+ OFF: string;
194
+ APPLYING: string;
195
+ MAINTENANCE: string;
196
+ BUSY: string;
197
+ SUSPENDED: string;
198
+ };
190
199
  wallet: {
191
200
  title: string;
192
201
  desc: string;
@@ -167,6 +167,7 @@ declare const _default: import("vue").DefineComponent<{
167
167
  confirmAddress: string;
168
168
  returnEdit: string;
169
169
  selectAddress: string;
170
+ selectDeliveryAddress: string;
170
171
  };
171
172
  errorSheet: {
172
173
  title: string;
@@ -187,6 +188,14 @@ declare const _default: import("vue").DefineComponent<{
187
188
  ppCardTitle: string;
188
189
  brand: string;
189
190
  };
191
+ paymentMethodStatus: {
192
+ ACTIVATED: string;
193
+ OFF: string;
194
+ APPLYING: string;
195
+ MAINTENANCE: string;
196
+ BUSY: string;
197
+ SUSPENDED: string;
198
+ };
190
199
  wallet: {
191
200
  title: string;
192
201
  desc: string;
@@ -162,6 +162,7 @@ declare const _default: import("vue").DefineComponent<{
162
162
  confirmAddress: string;
163
163
  returnEdit: string;
164
164
  selectAddress: string;
165
+ selectDeliveryAddress: string;
165
166
  };
166
167
  errorSheet: {
167
168
  title: string;
@@ -182,6 +183,14 @@ declare const _default: import("vue").DefineComponent<{
182
183
  ppCardTitle: string;
183
184
  brand: string;
184
185
  };
186
+ paymentMethodStatus: {
187
+ ACTIVATED: string;
188
+ OFF: string;
189
+ APPLYING: string;
190
+ MAINTENANCE: string;
191
+ BUSY: string;
192
+ SUSPENDED: string;
193
+ };
185
194
  wallet: {
186
195
  title: string;
187
196
  desc: string;
@@ -21,7 +21,7 @@ declare const _default: import("vue").DefineComponent<{
21
21
  loading: import("vue").ComputedRef<boolean>;
22
22
  closeError: () => void;
23
23
  address: import("vue").ComputedRef<import("../../types").Address | undefined>;
24
- delAddress: (res: unknown) => Promise<void>;
24
+ delAddress: (res: import("../../utils/api").GetAddressListResponse | import("../../utils/fetch").ErrorResponse) => void;
25
25
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
26
26
  inputAddressParams?: unknown;
27
27
  show?: unknown;
@@ -1,13 +1,14 @@
1
1
  import { Address } from '../../../types';
2
+ import { GetAddressListResponse } from '../../../utils/api';
2
3
  import { ErrorResponse } from '../../../utils/fetch';
3
4
  export declare function useApp(params: {
4
- handleError: (res?: ErrorResponse | unknown) => res is ErrorResponse;
5
+ handleError: (res?: ErrorResponse | GetAddressListResponse) => boolean;
5
6
  success: () => void;
6
7
  address?: Address | null | undefined;
7
8
  }): {
8
9
  addAddress: (_address: Address) => Promise<void>;
9
10
  loading: import("vue").ComputedRef<boolean>;
10
- delAddress: (res: ErrorResponse | unknown) => Promise<void>;
11
+ delAddress: (res: ErrorResponse | GetAddressListResponse) => void;
11
12
  shallow: import("vue").ComputedRef<boolean>;
12
13
  reset: () => void;
13
14
  };
@@ -1,9 +1,17 @@
1
1
  import { ErrorResponse } from '../../../utils/fetch';
2
+ interface SuccessResponse {
3
+ unsigned?: {
4
+ resultInfo?: {
5
+ code: string;
6
+ };
7
+ };
8
+ }
2
9
  export declare function useErrorHandling(): {
3
10
  errorShow: import("vue").ComputedRef<boolean>;
4
11
  errorTitle: import("vue").ComputedRef<string>;
5
12
  errorIcon: import("vue").ComputedRef<string>;
6
13
  errorDescription: import("vue").ComputedRef<string>;
7
- handleError: (res?: ErrorResponse | any) => res is ErrorResponse;
14
+ handleError: (res?: ErrorResponse | SuccessResponse | undefined) => boolean;
8
15
  closeError: () => void;
9
16
  };
17
+ export {};
@@ -163,6 +163,7 @@ declare const _default: import("vue").DefineComponent<{
163
163
  confirmAddress: string;
164
164
  returnEdit: string;
165
165
  selectAddress: string;
166
+ selectDeliveryAddress: string;
166
167
  };
167
168
  errorSheet: {
168
169
  title: string;
@@ -183,6 +184,14 @@ declare const _default: import("vue").DefineComponent<{
183
184
  ppCardTitle: string;
184
185
  brand: string;
185
186
  };
187
+ paymentMethodStatus: {
188
+ ACTIVATED: string;
189
+ OFF: string;
190
+ APPLYING: string;
191
+ MAINTENANCE: string;
192
+ BUSY: string;
193
+ SUSPENDED: string;
194
+ };
186
195
  wallet: {
187
196
  title: string;
188
197
  desc: string;
@@ -163,6 +163,7 @@ declare const _default: import("vue").DefineComponent<{
163
163
  confirmAddress: string;
164
164
  returnEdit: string;
165
165
  selectAddress: string;
166
+ selectDeliveryAddress: string;
166
167
  };
167
168
  errorSheet: {
168
169
  title: string;
@@ -183,6 +184,14 @@ declare const _default: import("vue").DefineComponent<{
183
184
  ppCardTitle: string;
184
185
  brand: string;
185
186
  };
187
+ paymentMethodStatus: {
188
+ ACTIVATED: string;
189
+ OFF: string;
190
+ APPLYING: string;
191
+ MAINTENANCE: string;
192
+ BUSY: string;
193
+ SUSPENDED: string;
194
+ };
186
195
  wallet: {
187
196
  title: string;
188
197
  desc: string;
@@ -200,6 +200,7 @@ declare const _default: import("vue").DefineComponent<{
200
200
  confirmAddress: string;
201
201
  returnEdit: string;
202
202
  selectAddress: string;
203
+ selectDeliveryAddress: string;
203
204
  };
204
205
  errorSheet: {
205
206
  title: string;
@@ -220,6 +221,14 @@ declare const _default: import("vue").DefineComponent<{
220
221
  ppCardTitle: string;
221
222
  brand: string;
222
223
  };
224
+ paymentMethodStatus: {
225
+ ACTIVATED: string;
226
+ OFF: string;
227
+ APPLYING: string;
228
+ MAINTENANCE: string;
229
+ BUSY: string;
230
+ SUSPENDED: string;
231
+ };
223
232
  wallet: {
224
233
  title: string;
225
234
  desc: string;