@shopby/shop-sdk 1.34.3 → 1.35.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/CHANGELOG.md CHANGED
@@ -2,6 +2,20 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [1.35.0](https://gitlab.e-ncp.com/ncp-client/shop-sdk/compare/v1.34.4...v1.35.0) (2023-01-31)
6
+
7
+
8
+ ### Features
9
+
10
+ * getDisplaySectionsIdsSectionIdRequest에 useAccessToken 필드 추가 ([d6ede36](https://gitlab.e-ncp.com/ncp-client/shop-sdk/commit/d6ede36e615dd50c235427176559529d7ccb568a))
11
+
12
+ ### [1.34.4](https://gitlab.e-ncp.com/ncp-client/shop-sdk/compare/v1.34.3...v1.34.4) (2023-01-31)
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * use Nullable type in response related to order domain ([#85](https://gitlab.e-ncp.com/ncp-client/shop-sdk/issues/85)) ([df9335a](https://gitlab.e-ncp.com/ncp-client/shop-sdk/commit/df9335a317ee38df196a29e901f962d6b32b1599))
18
+
5
19
  ### [1.34.3](https://gitlab.e-ncp.com/ncp-client/shop-sdk/compare/v1.34.2...v1.34.3) (2023-01-31)
6
20
 
7
21
  ### [1.34.1](https://gitlab.e-ncp.com/ncp-client/shop-sdk/compare/v1.34.0...v1.34.1) (2023-01-31)
@@ -308,6 +308,7 @@ export interface GetDisplaySectionsIdsSectionIdRequest extends RequestConfig {
308
308
  hasTotalCount: boolean;
309
309
  hasOptionValues: boolean;
310
310
  };
311
+ useAccessToken?: boolean;
311
312
  }
312
313
  export interface GetDisplaySectionsIdsSectionIdResponse {
313
314
  rightSpaceColor: string;
@@ -927,7 +927,7 @@ export interface FirstOrderAmount {
927
927
  * path: /profile/shipping-addresses
928
928
  */
929
929
  export interface GetProfileShippingAddressesResponse extends Record<'recentAddresses' | 'recurringPaymentAddresses' | 'bookedAddresses', AddressDetail[]> {
930
- defaultAddress: AddressDetail;
930
+ defaultAddress: Nullable<AddressDetail>;
931
931
  }
932
932
  export interface PostProfileShippingAddressesRequest {
933
933
  requestBody: AddressPayload;
@@ -948,28 +948,28 @@ export interface AddressPayload {
948
948
  receiverContact2?: string;
949
949
  }
950
950
  export interface AddressDetail {
951
- lastName?: string;
951
+ lastName: Nullable<string>;
952
952
  receiverJibunAddress?: string;
953
953
  defaultYn: Yn;
954
- city?: string;
954
+ city: Nullable<string>;
955
955
  receiverName: string;
956
956
  addressType: AddressType;
957
- customsIdNumber?: string;
958
- lastUseYmdt?: string;
959
- countryCd?: CountryCode;
960
- externalMemberNo?: string;
957
+ customsIdNumber: Nullable<string>;
958
+ lastUseYmdt: Nullable<string>;
959
+ countryCd: Nullable<CountryCode>;
960
+ externalMemberNo: Nullable<string>;
961
961
  receiverZipCd: string;
962
- receiverDetailAddress?: string;
962
+ receiverDetailAddress: Nullable<string>;
963
963
  receiverAddress: string;
964
- firstName?: string;
964
+ firstName: Nullable<string>;
965
965
  memberNo: number;
966
966
  addressNo: number;
967
967
  addressName: string;
968
- state?: string;
968
+ state: Nullable<string>;
969
969
  mallNo: number;
970
970
  receiverContact1: string;
971
- receiverContact2?: string;
972
- registerYmdt?: string;
971
+ receiverContact2: Nullable<string>;
972
+ registerYmdt: Nullable<string>;
973
973
  }
974
974
  /**
975
975
  * path: /profile/shipping-addresses/recent
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopby/shop-sdk",
3
- "version": "1.34.3",
3
+ "version": "1.35.0",
4
4
  "description": "",
5
5
  "main": "build/src/index.js",
6
6
  "types": "build/types/index.d.ts",