@shopby/shop-sdk 1.18.4 → 1.18.7

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.
@@ -1,6 +1,6 @@
1
1
  import { ClaimClassType, ClaimOptionType, ClaimReasonLabel, ClaimReasonType, ClaimStatusType, ClaimStatusTypeLabel, ClaimType, ClaimWithdrawValidationType, ExchangePayInfoPayType, NextActionType, RefundType, ResponsibleObjectType, ReturnWayType } from './unions';
2
2
  import { Bank, BankAccountInfo, BankCdAndLabel, DefaultOrderStatusType, DeliveryAmtInfo, DeliveryCompanyType, DeliveryCompanyTypeLabel, OptionInputResponse, OrderOptionPrice, OrderStatusDate, PayType, PgType, ProductAmtInfo, SubtractionAmtInfo } from '../../domain/order';
3
- import { DateYmdt, Yn } from '../../common';
3
+ import { CountryCode, DateYmdt, Yn } from '../../common';
4
4
  export * from './unions';
5
5
  /**
6
6
  * path: /profile/claims/cancel
@@ -65,7 +65,7 @@ export interface ClaimDefaultRequestBody {
65
65
  returnWayType: ReturnWayType;
66
66
  deliveryCompanyType?: DeliveryCompanyType;
67
67
  claimImageUrls: string[];
68
- returnAddress: ClaimAddress;
68
+ returnAddress: ClaimRequestAddress;
69
69
  claimType: ClaimType;
70
70
  saveBankAccountInfo: boolean;
71
71
  invoiceNo: string;
@@ -226,10 +226,10 @@ export interface GetProfileOrderOptionsOrderOptionNoClaimsResponse {
226
226
  deliveryCompanyTypes: DeliveryCompanyType[];
227
227
  originalOption: ClaimOption;
228
228
  claimReasonTypes: ClaimReasonTypeInfo[];
229
- returnAddress: ClaimAddress;
229
+ returnAddress: ClaimResponseAddress;
230
230
  claimType: ClaimType;
231
231
  payType: PayType;
232
- exchangeAddress: ClaimAddress;
232
+ exchangeAddress: ClaimResponseAddress;
233
233
  claimableOptions: ClaimOption[];
234
234
  responsibleObjectTypes: ResponsibleObjectType[];
235
235
  availableBanks: BankCdAndLabel[];
@@ -240,6 +240,25 @@ export interface GetProfileOrderOptionsOrderOptionNoClaimsResponse {
240
240
  }>;
241
241
  returnWarehouse: ReturnWarehouse;
242
242
  }
243
+ interface ClaimAddressDefault {
244
+ receiverAddress: string;
245
+ receiverJibunAddress: string;
246
+ receiverName: string;
247
+ customsIdNumber: string;
248
+ countryCd: CountryCode;
249
+ receiverZipCd: string;
250
+ receiverDetailAddress: string;
251
+ deliveryMemo: string;
252
+ receiverContact1: string;
253
+ receiverContact2: string;
254
+ }
255
+ export interface ClaimResponseAddress extends ClaimAddressDefault {
256
+ addressView: string;
257
+ }
258
+ export interface ClaimRequestAddress extends ClaimAddressDefault {
259
+ addressNo: number;
260
+ addressName: string;
261
+ }
243
262
  export interface ClaimReasonTypeInfo {
244
263
  responsibleObjectType: ResponsibleObjectType;
245
264
  claimReasonType: ClaimReasonType;
@@ -302,10 +302,10 @@ export interface CouponRequest {
302
302
  export interface PostPaymentsReserveRequest {
303
303
  requestBody: {
304
304
  clientParams?: {
305
- description?: string;
305
+ [key: string]: any;
306
306
  };
307
307
  extraData?: {
308
- description?: string;
308
+ [key: string]: any;
309
309
  };
310
310
  orderMemo?: string;
311
311
  bankAccountToDeposit?: BankAccountToDeposit;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopby/shop-sdk",
3
- "version": "1.18.4",
3
+ "version": "1.18.7",
4
4
  "description": "",
5
5
  "main": "build/src/index.js",
6
6
  "types": "build/types/index.d.ts",