@shopby/shop-sdk 1.79.3 → 1.79.6

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,5 +1,5 @@
1
1
  import { AgreementType, CountryCode, Week, Yn, DateYmdt, DateYmd, PhoneNumberString, NumberString, Nullable, PartiallyRequired } from '../../common';
2
- import { ActionGroupType, AddressType, CashReceiptIssuePurposeType, DefaultOrderStatusType, DeliveryCompanyType, DeliveryConditionType, DeliveryPayType, DeliveryType, GroupDeliveryAmtType, OrderChannelType, OrderOptionType, OrderRequestType, PayType, PgType, ReceiptType, RecurringCycle, RecurringCycleType, ShippingAreaType, TaxType, Bank, BankLabel, Card, CouponTargetType, CouponType, PreviousOrderSearchType, CouponSubType, FreeGiftOptionCountType } from './unions';
2
+ import { ActionGroupType, AddressType, CashReceiptIssuePurposeType, DefaultOrderStatusType, DeliveryCompanyType, DeliveryConditionType, DeliveryPayType, DeliveryType, GroupDeliveryAmtType, OrderChannelType, OrderOptionType, OrderRequestType, PayType, PgType, ReceiptType, RecurringCycle, RecurringCycleType, RecurringDayOfWeek, RecurringPaymentStatusType, RecurringPaymentChangeStatusType, RecurringPaymentAgreementResponseType, ShippingAreaType, TaxType, Bank, BankLabel, Card, CouponTargetType, CouponType, PreviousOrderSearchType, CouponSubType, FreeGiftOptionCountType, SdkVersion, NaverPayButtonType, NaverPayColorTheme } from './unions';
3
3
  import { ClaimClassType, ClaimStatusType, ClaimTypeWithNone, NextActionType, RefundType, ReturnWayType } from '../claim/unions';
4
4
  import { ClaimAddress, ClaimReasonTypeInfo, ExchangePayInfo } from '../../domain/claim';
5
5
  import { OptionalAccessTokenRequest, ResponseData } from '../../http';
@@ -197,8 +197,18 @@ export interface OrderConfigsEscrow {
197
197
  logo: Nullable<string>;
198
198
  exposeLogo: boolean;
199
199
  }
200
+ export interface OrderConfigsNaverPayComponents {
201
+ wishlist: boolean;
202
+ talkTalk: boolean;
203
+ benefitMessage: boolean;
204
+ benefitCoachMark: boolean;
205
+ }
200
206
  export interface OrderConfigsNaverPay {
201
207
  buttonKey: string;
208
+ sdkVersion: SdkVersion;
209
+ buttonType: NaverPayButtonType;
210
+ colorTheme: NaverPayColorTheme;
211
+ components: OrderConfigsNaverPayComponents;
202
212
  }
203
213
  export interface VisibleReceiptBtn {
204
214
  pgReceipt: boolean;
@@ -1800,3 +1810,639 @@ export interface GetProfileOrdersSpecificationsByOrderNoResponse {
1800
1810
  representative: Representative;
1801
1811
  externalPayInfo: ExternalPayInfo[];
1802
1812
  }
1813
+ /**
1814
+ * 정기결제 (RecurringPayment)
1815
+ */
1816
+ export interface AdjustableDeliveryCycle {
1817
+ dayOfWeekCycles: RecurringDayOfWeek[];
1818
+ deliveryCycleTypes: RecurringCycleType[];
1819
+ weekDeliveryCycles: number[];
1820
+ monthDeliveryCycles: number[];
1821
+ }
1822
+ export interface RecurringDeliveryCycle {
1823
+ date: Nullable<number>;
1824
+ cycleType: RecurringCycleType;
1825
+ dayOfWeek: Nullable<RecurringDayOfWeek>;
1826
+ cycle: number;
1827
+ }
1828
+ export interface RecurringPaymentGift {
1829
+ imageUrl: string;
1830
+ optionValue: string;
1831
+ optionName: string;
1832
+ productName: string;
1833
+ }
1834
+ export interface RecurringPaymentSelectableGift {
1835
+ imageUrl: string;
1836
+ optionValue: string;
1837
+ optionName: string;
1838
+ optionNo: number;
1839
+ selected: boolean;
1840
+ productName: string;
1841
+ }
1842
+ export interface RecurringPaymentChangeAgreement {
1843
+ firstPaymentYmdAfterChangeApplied: Nullable<string>;
1844
+ responseDeadlineYmd: Nullable<string>;
1845
+ responseYmd?: Nullable<string>;
1846
+ changeNoticeNo: number;
1847
+ responseStatusType?: Nullable<RecurringPaymentAgreementResponseType>;
1848
+ targetProductName: string;
1849
+ changeApplyYmd: string;
1850
+ changeDetails: string;
1851
+ }
1852
+ export interface RecurringPaymentCard {
1853
+ cardName: Nullable<string>;
1854
+ priority: number;
1855
+ cardNo: number;
1856
+ registerDate: string;
1857
+ cardEndDigit: Nullable<string>;
1858
+ }
1859
+ export interface CartCountByGroupId {
1860
+ groupId: string;
1861
+ count: number;
1862
+ }
1863
+ export interface RecurringPaymentCartCountResponse {
1864
+ count: number;
1865
+ countByGroupId?: CartCountByGroupId[];
1866
+ }
1867
+ /**
1868
+ * path: /recurring-payments (GET)
1869
+ */
1870
+ export interface GetRecurringPaymentsRequest extends OptionalAccessTokenRequest {
1871
+ queryString?: {
1872
+ startYmd?: string;
1873
+ endYmd?: string;
1874
+ statusTypes?: string;
1875
+ page?: number;
1876
+ size?: number;
1877
+ };
1878
+ }
1879
+ export interface RecurringPaymentContent {
1880
+ buyPrice: number;
1881
+ adjustableDeliveryCycle: AdjustableDeliveryCycle;
1882
+ statusType: RecurringPaymentStatusType;
1883
+ recurringPaymentId: string;
1884
+ optionValue: string;
1885
+ isPresent: boolean;
1886
+ standardPrice: number;
1887
+ orderCnt: number;
1888
+ cardNo: number;
1889
+ recurringPaymentGroupNo: Nullable<string>;
1890
+ statusLabel: string;
1891
+ productName: string;
1892
+ nextRound: number;
1893
+ pauseYmd: Nullable<string>;
1894
+ registerYmd: string;
1895
+ deliveryCycle: RecurringDeliveryCycle;
1896
+ nextActions: string[];
1897
+ nextRecurringDate: string;
1898
+ closeYmd: Nullable<string>;
1899
+ recurringPaymentChangeAgreements: RecurringPaymentChangeAgreement[];
1900
+ optionName: string;
1901
+ mainImageUrl: string;
1902
+ productNo: number;
1903
+ gifts?: RecurringPaymentGift[];
1904
+ }
1905
+ export interface GetRecurringPaymentsResponse {
1906
+ contents: RecurringPaymentContent[];
1907
+ totalCount: number;
1908
+ }
1909
+ /**
1910
+ * path: /recurring-payments (POST)
1911
+ */
1912
+ export interface RecurringPaymentFreeGiftRequest {
1913
+ targetOptionNo: number;
1914
+ freeGiftOptionNos: number[];
1915
+ }
1916
+ export interface RecurringPaymentChangeAgreementRequest {
1917
+ changeNoticeNo: number;
1918
+ responseStatusType: string;
1919
+ productNo: number;
1920
+ }
1921
+ export interface PostRecurringPaymentsRequest extends OptionalAccessTokenRequest {
1922
+ requestBody: {
1923
+ ordererEmail: string;
1924
+ agreementTermsAgrees?: AgreementTermsAgree[];
1925
+ orderSheetNo: string;
1926
+ receiverInfoForPresent?: {
1927
+ receiverContact: string;
1928
+ receiverName: string;
1929
+ };
1930
+ freeGifts?: RecurringPaymentFreeGiftRequest[];
1931
+ addressNo: number;
1932
+ customTermsAgrees?: CustomTermsAgree[];
1933
+ recurringPaymentChangeAgreements?: RecurringPaymentChangeAgreementRequest[];
1934
+ cardNo?: Nullable<number>;
1935
+ paymentAmount?: Nullable<number>;
1936
+ };
1937
+ }
1938
+ export interface RecurringPaymentResultGift {
1939
+ optionValue: string;
1940
+ optionName: string;
1941
+ productName: string;
1942
+ }
1943
+ export interface RecurringPaymentResultProduct {
1944
+ recurringPaymentId: string;
1945
+ optionValue: string;
1946
+ optionName: string;
1947
+ productName: string;
1948
+ gifts?: RecurringPaymentResultGift[];
1949
+ }
1950
+ export interface PostRecurringPaymentsResponse {
1951
+ buyAmt: Nullable<number>;
1952
+ receiverJibunAddress: Nullable<string>;
1953
+ discountAmt: Nullable<number>;
1954
+ cardName: Nullable<string>;
1955
+ receiverContact: Nullable<string>;
1956
+ receiverName: Nullable<string>;
1957
+ receiverDetailAddress: Nullable<string>;
1958
+ cardNo: number;
1959
+ products: RecurringPaymentResultProduct[];
1960
+ receiverAddress: Nullable<string>;
1961
+ deliveryAmt: Nullable<number>;
1962
+ standardAmt: Nullable<number>;
1963
+ cartNos: Nullable<number[]>;
1964
+ ordererName: Nullable<string>;
1965
+ cardEndDigit: Nullable<string>;
1966
+ }
1967
+ /**
1968
+ * path: /recurring-payments/card (GET, 가장 최근 등록 카드)
1969
+ */
1970
+ export declare type GetRecurringPaymentsCardResponse = RecurringPaymentCard;
1971
+ /**
1972
+ * path: /recurring-payments/card (POST)
1973
+ */
1974
+ export interface PostRecurringPaymentsCardRequest extends OptionalAccessTokenRequest {
1975
+ requestBody: {
1976
+ birthday: string;
1977
+ expiryDate?: {
1978
+ month: number;
1979
+ year: number;
1980
+ };
1981
+ password: string;
1982
+ pgType: PgType;
1983
+ cardNo: string;
1984
+ };
1985
+ }
1986
+ export interface PostRecurringPaymentsCardResponse {
1987
+ result: string;
1988
+ }
1989
+ /**
1990
+ * path: /recurring-payments/cards (GET)
1991
+ */
1992
+ export declare type GetRecurringPaymentsCardsResponse = RecurringPaymentCard[];
1993
+ /**
1994
+ * path: /recurring-payments/cart (GET)
1995
+ */
1996
+ export interface GetRecurringPaymentsCartRequest extends OptionalAccessTokenRequest {
1997
+ queryString?: {
1998
+ divideInvalidProducts?: boolean;
1999
+ };
2000
+ }
2001
+ /**
2002
+ * path: /recurring-payments/cart (POST)
2003
+ */
2004
+ export interface PostRecurringPaymentsCartRequest extends OptionalAccessTokenRequest {
2005
+ queryString?: {
2006
+ includesGroupId?: boolean;
2007
+ };
2008
+ requestBody: CartLoad[];
2009
+ }
2010
+ /**
2011
+ * path: /recurring-payments/cart (DELETE)
2012
+ */
2013
+ export interface DeleteRecurringPaymentsCartRequest extends OptionalAccessTokenRequest {
2014
+ queryString: {
2015
+ cartNo: string;
2016
+ includesGroupId?: boolean;
2017
+ };
2018
+ }
2019
+ /**
2020
+ * path: /recurring-payments/cart/calculate (GET)
2021
+ */
2022
+ export interface GetRecurringPaymentsCartCalculateRequest extends OptionalAccessTokenRequest {
2023
+ queryString: {
2024
+ cartNo: string;
2025
+ divideInvalidProducts?: boolean;
2026
+ };
2027
+ }
2028
+ /**
2029
+ * path: /recurring-payments/cart/subset (GET)
2030
+ */
2031
+ export interface GetRecurringPaymentsCartSubsetRequest extends OptionalAccessTokenRequest {
2032
+ queryString: {
2033
+ cartNo: string;
2034
+ divideInvalidProducts?: boolean;
2035
+ };
2036
+ }
2037
+ /**
2038
+ * path: /recurring-payments/close (PUT, bulk)
2039
+ */
2040
+ export interface PutRecurringPaymentsCloseRequest extends OptionalAccessTokenRequest {
2041
+ requestBody: {
2042
+ closeReasonType: string;
2043
+ recurringPaymentIds?: Nullable<string[]>;
2044
+ closeReason?: Nullable<string>;
2045
+ };
2046
+ }
2047
+ /**
2048
+ * path: /recurring-payments/close/{recurringPaymentId} (PUT)
2049
+ */
2050
+ export interface PutRecurringPaymentsCloseRecurringPaymentIdRequest extends OptionalAccessTokenRequest {
2051
+ pathVariable: {
2052
+ recurringPaymentId: string;
2053
+ };
2054
+ requestBody: {
2055
+ closeReasonType: string;
2056
+ recurringPaymentIds?: Nullable<string[]>;
2057
+ closeReason?: Nullable<string>;
2058
+ };
2059
+ }
2060
+ /**
2061
+ * path: /recurring-payments/gifts (PUT)
2062
+ */
2063
+ export interface PutRecurringPaymentsGiftsRequest extends OptionalAccessTokenRequest {
2064
+ requestBody: {
2065
+ recurringPaymentIds: string[];
2066
+ freeGiftOptionNos: number[];
2067
+ };
2068
+ }
2069
+ /**
2070
+ * path: /recurring-payments/next-recurring-date (GET)
2071
+ */
2072
+ export interface GetRecurringPaymentsNextRecurringDateRequest extends OptionalAccessTokenRequest {
2073
+ queryString: {
2074
+ recurringPaymentId?: string;
2075
+ cycle: number;
2076
+ cycleDate?: number;
2077
+ cycleDayOfWeek?: RecurringDayOfWeek;
2078
+ cycleType?: RecurringCycleType;
2079
+ };
2080
+ }
2081
+ export interface GetRecurringPaymentsNextRecurringDateResponse {
2082
+ date: Nullable<number>;
2083
+ cycleType: Nullable<RecurringCycleType>;
2084
+ dayOfWeek: Nullable<RecurringDayOfWeek>;
2085
+ afterNextRecurringDate: string;
2086
+ recurringPaymentId: string;
2087
+ recurringPaymentStatus: Nullable<RecurringPaymentStatusType>;
2088
+ nextRecurringDate: Nullable<string>;
2089
+ cycle: Nullable<number>;
2090
+ }
2091
+ /**
2092
+ * path: /recurring-payments/order-sheets (POST)
2093
+ */
2094
+ export interface RecurringPaymentDeliveryRequest {
2095
+ date?: Nullable<number>;
2096
+ cycleType?: Nullable<RecurringCycleType>;
2097
+ dayOfWeek?: Nullable<RecurringDayOfWeek>;
2098
+ cycle?: Nullable<number>;
2099
+ }
2100
+ export interface RecurringPaymentOrderSheetProduct {
2101
+ rentalInfos?: Nullable<RentalInfo[]>;
2102
+ recurringPaymentDelivery?: RecurringPaymentDeliveryRequest;
2103
+ recurringPaymentLastRound?: Nullable<number>;
2104
+ channelType?: Nullable<string>;
2105
+ orderCnt: number;
2106
+ optionInputs?: Nullable<OptionInput[]>;
2107
+ optionNo: number;
2108
+ productNo: number;
2109
+ }
2110
+ export interface PostRecurringPaymentsOrderSheetsRequest extends OptionalAccessTokenRequest {
2111
+ requestBody: {
2112
+ productCoupons?: Nullable<ProductCoupon[]>;
2113
+ trackingKey?: Nullable<string>;
2114
+ isPresent?: Nullable<boolean>;
2115
+ cartNos?: Nullable<number[]>;
2116
+ channelType?: Nullable<string>;
2117
+ products: RecurringPaymentOrderSheetProduct[];
2118
+ };
2119
+ }
2120
+ /**
2121
+ * path: /recurring-payments/status (PUT, bulk)
2122
+ */
2123
+ export interface PutRecurringPaymentsStatusRequest extends OptionalAccessTokenRequest {
2124
+ requestBody: {
2125
+ recurringPaymentIds?: Nullable<string[]>;
2126
+ changeStatusType: RecurringPaymentChangeStatusType;
2127
+ };
2128
+ }
2129
+ /**
2130
+ * path: /recurring-payments/{recurringPaymentId} (GET, 상세)
2131
+ */
2132
+ export interface GetRecurringPaymentsRecurringPaymentIdRequest extends OptionalAccessTokenRequest {
2133
+ pathVariable: {
2134
+ recurringPaymentId: string;
2135
+ };
2136
+ }
2137
+ export interface GetRecurringPaymentsRecurringPaymentIdResponse {
2138
+ statusChangeReason: Nullable<string>;
2139
+ adjustableDeliveryCycle: AdjustableDeliveryCycle;
2140
+ deliveryInfo: {
2141
+ receiverAddress: string;
2142
+ receiverContact: string;
2143
+ addressNo: number;
2144
+ receiverName: string;
2145
+ receiverDetailAddress: Nullable<string>;
2146
+ addressUpdateYmdt: string;
2147
+ };
2148
+ cardInfo: {
2149
+ cardCompanyName: string;
2150
+ cardNo: number;
2151
+ cardEndDigit: string;
2152
+ };
2153
+ recurringPaymentId: string;
2154
+ deliveryCycle: RecurringDeliveryCycle;
2155
+ nextDeliveryDate: string;
2156
+ isPresent: boolean;
2157
+ recurringPaymentChangeAgreements: RecurringPaymentChangeAgreement[];
2158
+ status: RecurringPaymentStatusType;
2159
+ lastRound: Nullable<number>;
2160
+ productInfo: {
2161
+ imageUrl: string;
2162
+ optionValue: string;
2163
+ orderCnt: number;
2164
+ optionName: string;
2165
+ optionNo: number;
2166
+ productName: string;
2167
+ productNo: number;
2168
+ };
2169
+ }
2170
+ /**
2171
+ * path: /recurring-payments/card/priority (PUT)
2172
+ */
2173
+ export interface PutRecurringPaymentsCardPriorityRequest extends OptionalAccessTokenRequest {
2174
+ requestBody: {
2175
+ priority: number;
2176
+ cardNo: number;
2177
+ };
2178
+ }
2179
+ /**
2180
+ * path: /recurring-payments/card/{cardNo} (DELETE)
2181
+ */
2182
+ export interface DeleteRecurringPaymentsCardCardNoRequest extends OptionalAccessTokenRequest {
2183
+ pathVariable: {
2184
+ cardNo: string;
2185
+ };
2186
+ }
2187
+ /**
2188
+ * path: /recurring-payments/card/{cardNo}/main (PUT)
2189
+ */
2190
+ export interface PutRecurringPaymentsCardCardNoMainRequest extends OptionalAccessTokenRequest {
2191
+ pathVariable: {
2192
+ cardNo: string;
2193
+ };
2194
+ }
2195
+ /**
2196
+ * path: /recurring-payments/guest/cart (POST)
2197
+ */
2198
+ export interface RecurringPaymentGuestCartItem {
2199
+ channelType?: OrderChannelType;
2200
+ orderCnt: number;
2201
+ optionInputs?: CartOptionInput[];
2202
+ optionNo: number;
2203
+ cartNo: number;
2204
+ productNo: number;
2205
+ }
2206
+ export interface PostRecurringPaymentsGuestCartRequest {
2207
+ queryString?: {
2208
+ divideInvalidProducts?: boolean;
2209
+ };
2210
+ requestBody: RecurringPaymentGuestCartItem[];
2211
+ }
2212
+ /**
2213
+ * path: /recurring-payments/later-input/shippings (GET)
2214
+ */
2215
+ export interface RecurringPaymentLaterInputTermsInfo {
2216
+ contents: Nullable<string>;
2217
+ termsName: string;
2218
+ termsType: string;
2219
+ required: Nullable<boolean>;
2220
+ termsNo: number;
2221
+ }
2222
+ export interface RecurringPaymentLaterInputItem {
2223
+ delivery: RecurringDeliveryCycle;
2224
+ recurringDate: Nullable<string>;
2225
+ recurringPaymentId: string;
2226
+ freeGifts: RecurringPaymentSelectableGift[];
2227
+ imageUrl: string;
2228
+ optionValue: string;
2229
+ orderCnt: number;
2230
+ optionName: string;
2231
+ giftCondition: {
2232
+ giftOptionQuantityType: string;
2233
+ selectableGiftQuantity: Nullable<number>;
2234
+ };
2235
+ productName: string;
2236
+ lastRound: number;
2237
+ }
2238
+ export interface GetRecurringPaymentsLaterInputShippingsResponse {
2239
+ receiverLastName: Nullable<string>;
2240
+ receiverName: string;
2241
+ termsInfos: RecurringPaymentLaterInputTermsInfo[];
2242
+ receiverFirstName: Nullable<string>;
2243
+ recurringPayments: RecurringPaymentLaterInputItem[];
2244
+ ordererName: Nullable<string>;
2245
+ receiverContact1: string;
2246
+ recurringPaymentGroupNo: string;
2247
+ registerYmdt: string;
2248
+ }
2249
+ /**
2250
+ * path: /recurring-payments/later-input/shippings (PUT)
2251
+ */
2252
+ export interface RecurringPaymentGiftRequest {
2253
+ recurringPaymentId: string;
2254
+ freeGiftOptionNos?: Nullable<number[]>;
2255
+ }
2256
+ export interface PutRecurringPaymentsLaterInputShippingsRequest extends OptionalAccessTokenRequest {
2257
+ requestBody: {
2258
+ receiverLastName?: Nullable<string>;
2259
+ receiverJibunAddress: string;
2260
+ receiverName: string;
2261
+ countryCd?: Nullable<string>;
2262
+ customTermsAgrees?: CustomTermsAgree[];
2263
+ receiverZipCd: string;
2264
+ receiverDetailAddress: string;
2265
+ deliveryMemo: string;
2266
+ receiverCity?: Nullable<string>;
2267
+ receiverAddress: string;
2268
+ agreementTermsAgrees?: AgreementTermsAgree[];
2269
+ password?: Nullable<string>;
2270
+ passwordConfirm?: Nullable<string>;
2271
+ receiverState?: Nullable<string>;
2272
+ receiverFirstName?: Nullable<string>;
2273
+ receiverContact1: string;
2274
+ gifts?: RecurringPaymentGiftRequest[];
2275
+ receiverContact2?: Nullable<string>;
2276
+ };
2277
+ }
2278
+ /**
2279
+ * path: /recurring-payments/skip/next (POST, bulk)
2280
+ */
2281
+ export interface PostRecurringPaymentsSkipNextRequest extends OptionalAccessTokenRequest {
2282
+ requestBody: {
2283
+ recurringPaymentIds: string[];
2284
+ };
2285
+ }
2286
+ /**
2287
+ * path: /recurring-payments/{recurringPaymentGroupNo}/guest (GET, 선물 수령자 주문 상세)
2288
+ */
2289
+ export interface RecurringPaymentGuestNextAction {
2290
+ actionGroupType: string;
2291
+ nextActionType: string;
2292
+ uri: string;
2293
+ }
2294
+ export interface RecurringPaymentGuestOrderOption {
2295
+ imageUrl: string;
2296
+ orderStatusType: string;
2297
+ optionValue: string;
2298
+ nextActions: RecurringPaymentGuestNextAction[];
2299
+ orderCnt: number;
2300
+ optionName: string;
2301
+ orderOptionNo: number;
2302
+ productName: string;
2303
+ productNo: number;
2304
+ }
2305
+ export interface RecurringPaymentGuestOrder {
2306
+ orderOptions: RecurringPaymentGuestOrderOption[];
2307
+ orderNo: string;
2308
+ orderYmdt: string;
2309
+ }
2310
+ export interface GetRecurringPaymentsRecurringPaymentGroupNoGuestRequest extends OptionalAccessTokenRequest {
2311
+ pathVariable: {
2312
+ recurringPaymentGroupNo: string;
2313
+ };
2314
+ }
2315
+ export interface GetRecurringPaymentsRecurringPaymentGroupNoGuestResponse {
2316
+ deliveryInfo: {
2317
+ receiverAddress: string;
2318
+ receiverLastName: string;
2319
+ receiverName: string;
2320
+ addressMemo: Nullable<string>;
2321
+ receiverFirstName: string;
2322
+ receiverContact1: string;
2323
+ receiverContact2: Nullable<string>;
2324
+ };
2325
+ orders: RecurringPaymentGuestOrder[];
2326
+ recurringPayments: RecurringPaymentLaterInputItem[];
2327
+ ordererName: string;
2328
+ recurringPaymentGroupNo: string;
2329
+ registerDate: string;
2330
+ }
2331
+ /**
2332
+ * path: /recurring-payments/{recurringPaymentGroupNo}/guest (POST, 토큰 발급)
2333
+ */
2334
+ export interface PostRecurringPaymentsRecurringPaymentGroupNoGuestRequest {
2335
+ pathVariable: {
2336
+ recurringPaymentGroupNo: string;
2337
+ };
2338
+ requestBody: {
2339
+ password: string;
2340
+ name: string;
2341
+ };
2342
+ }
2343
+ export interface PostRecurringPaymentsRecurringPaymentGroupNoGuestResponse {
2344
+ guestToken: string;
2345
+ }
2346
+ /**
2347
+ * path: /recurring-payments/{recurringPaymentId}/gifts (GET)
2348
+ */
2349
+ export interface RecurringPaymentFreeGiftCondition {
2350
+ giftEndDateTime: string;
2351
+ giftCycleNumber?: Nullable<number[]>;
2352
+ giftCycleConditionType: string;
2353
+ giftOptionQuantityType: string;
2354
+ giftConditionName: string;
2355
+ giftStartDateTime: string;
2356
+ selectableGiftQuantity?: Nullable<number>;
2357
+ giftCycleMultiple?: Nullable<number>;
2358
+ }
2359
+ export interface GetRecurringPaymentsRecurringPaymentIdGiftsRequest extends OptionalAccessTokenRequest {
2360
+ pathVariable: {
2361
+ recurringPaymentId: string;
2362
+ };
2363
+ }
2364
+ export interface GetRecurringPaymentsRecurringPaymentIdGiftsResponse {
2365
+ recurringPaymentId: string;
2366
+ freeGiftCondition?: RecurringPaymentFreeGiftCondition;
2367
+ freeGifts?: RecurringPaymentSelectableGift[];
2368
+ selectedFreeGifts?: RecurringPaymentSelectableGift[];
2369
+ }
2370
+ /**
2371
+ * path: /recurring-payments/{recurringPaymentId}/info (PUT, 배송 정보 변경)
2372
+ */
2373
+ export interface RecurringPaymentCycleRequest {
2374
+ date?: Nullable<number>;
2375
+ cycleType: RecurringCycleType;
2376
+ dayOfWeek?: Nullable<RecurringDayOfWeek>;
2377
+ cycle: number;
2378
+ }
2379
+ export interface PutRecurringPaymentsRecurringPaymentIdInfoRequest extends OptionalAccessTokenRequest {
2380
+ pathVariable: {
2381
+ recurringPaymentId: string;
2382
+ };
2383
+ requestBody: {
2384
+ product?: {
2385
+ orderCnt: number;
2386
+ optionInputs?: OptionInput[];
2387
+ optionNo: number;
2388
+ productNo: number;
2389
+ };
2390
+ addressNo: number;
2391
+ cycle?: RecurringPaymentCycleRequest;
2392
+ cardNo: number;
2393
+ lastRound?: Nullable<number>;
2394
+ };
2395
+ }
2396
+ /**
2397
+ * path: /recurring-payments/{recurringPaymentId}/status (PUT)
2398
+ */
2399
+ export interface PutRecurringPaymentsRecurringPaymentIdStatusRequest extends OptionalAccessTokenRequest {
2400
+ pathVariable: {
2401
+ recurringPaymentId: string;
2402
+ };
2403
+ requestBody: {
2404
+ recurringPaymentIds?: Nullable<string[]>;
2405
+ changeStatusType: RecurringPaymentChangeStatusType;
2406
+ };
2407
+ }
2408
+ /**
2409
+ * path: /recurring-payments/{recurringPaymentId}/notices/agreement (PATCH)
2410
+ */
2411
+ export interface PatchRecurringPaymentsRecurringPaymentIdNoticesAgreementRequest extends OptionalAccessTokenRequest {
2412
+ pathVariable: {
2413
+ recurringPaymentId: string;
2414
+ };
2415
+ requestBody: {
2416
+ changeNoticeNo: number;
2417
+ responseStatusType: RecurringPaymentAgreementResponseType;
2418
+ };
2419
+ }
2420
+ /**
2421
+ * path: /recurring-payments/{recurringPaymentId}/notices/search (POST)
2422
+ */
2423
+ export interface PostRecurringPaymentsRecurringPaymentIdNoticesSearchRequest extends OptionalAccessTokenRequest {
2424
+ pathVariable: {
2425
+ recurringPaymentId: string;
2426
+ };
2427
+ requestBody: {
2428
+ cycle?: RecurringPaymentCycleRequest;
2429
+ productNo: number;
2430
+ lastRound?: Nullable<number>;
2431
+ };
2432
+ }
2433
+ export interface PostRecurringPaymentsRecurringPaymentIdNoticesSearchResponse {
2434
+ firstPaymentYmdAfterChangeApplied: string;
2435
+ responseDeadlineYmd: string;
2436
+ changeNoticeNo: number;
2437
+ targetProductName: string;
2438
+ changeApplyYmd: string;
2439
+ changeDetails: string;
2440
+ }
2441
+ /**
2442
+ * path: /recurring-payments/{recurringPaymentId}/skip/next (POST)
2443
+ */
2444
+ export interface PostRecurringPaymentsRecurringPaymentIdSkipNextRequest extends OptionalAccessTokenRequest {
2445
+ pathVariable: {
2446
+ recurringPaymentId: string;
2447
+ };
2448
+ }
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../types/domain/order/index.ts"],"names":[],"mappings":"AA6DA,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../types/domain/order/index.ts"],"names":[],"mappings":"AAoEA,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC"}
@@ -4,6 +4,10 @@ export declare type PayType = keyof typeof PAY_TYPE_MAP;
4
4
  export declare type PgType = keyof typeof PG_TYPE_MAP;
5
5
  export declare type RecurringCycleType = 'MONTH' | 'WEEK';
6
6
  export declare type RecurringCycle = 1 | 2 | 3 | 4 | 5 | 6;
7
+ export declare type RecurringDayOfWeek = 'MONDAY' | 'TUESDAY' | 'WEDNESDAY' | 'THURSDAY' | 'FRIDAY' | 'SATURDAY' | 'SUNDAY';
8
+ export declare type RecurringPaymentStatusType = 'WAITING' | 'ACTIVE' | 'SYSTEM_CLOSED' | 'ADMIN_CLOSED' | 'USER_CLOSED' | 'ROUND_FINISHED' | 'SYSTEM_PAUSED' | 'ADMIN_PAUSED' | 'USER_PAUSED';
9
+ export declare type RecurringPaymentChangeStatusType = 'ACTIVE' | 'USER_PAUSED';
10
+ export declare type RecurringPaymentAgreementResponseType = 'AGREE' | 'DISAGREE' | 'PENDING';
7
11
  export declare type ReceiptType = keyof typeof RECEIPT_TYPE_MAP;
8
12
  export declare type CashReceiptIssuePurposeType = keyof typeof CASH_RECEIPT_ISSUE_PURPOSE_TYPE_MAP;
9
13
  export declare type ActionGroupType = 'NORMAL' | 'CLAIM';
@@ -28,3 +32,6 @@ export declare type CouponType = keyof typeof COUPON_TYPE_MAP;
28
32
  export declare type CouponSubType = 'CART' | 'DELIVERY_DEFAULT' | 'DELIVERY_ALL' | 'NONE';
29
33
  export declare type PreviousOrderSearchType = keyof typeof PREVIOUS_ORDER_SEARCH_TYPE_MAP;
30
34
  export declare type FreeGiftOptionCountType = 'ALL' | 'SELECT';
35
+ export declare type SdkVersion = 'V1' | 'V2';
36
+ export declare type NaverPayButtonType = 'template' | 'custom';
37
+ export declare type NaverPayColorTheme = 'green' | 'white';
@@ -20,6 +20,7 @@ export interface GetProductsSearchRequest extends OptionalAccessTokenRequest {
20
20
  'order.direction': ProductOrderDirection;
21
21
  'order.soldoutPlaceEnd': boolean;
22
22
  categoryNos: string;
23
+ displayCategoryNo: number;
23
24
  brandNos: string;
24
25
  partnerNo: number;
25
26
  clientKey: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../types/domain/product/search/index.ts"],"names":[],"mappings":"AA4CA,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../types/domain/product/search/index.ts"],"names":[],"mappings":"AA6CA,cAAc,SAAS,CAAC"}