@shopby/shop-sdk 1.0.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 (56) hide show
  1. package/README.md +1 -0
  2. package/build/src/admin.d.ts +11 -0
  3. package/build/src/admin.js +25 -0
  4. package/build/src/admin.js.map +1 -0
  5. package/build/src/auth.d.ts +36 -0
  6. package/build/src/auth.js +163 -0
  7. package/build/src/auth.js.map +1 -0
  8. package/build/src/claim.d.ts +36 -0
  9. package/build/src/claim.js +209 -0
  10. package/build/src/claim.js.map +1 -0
  11. package/build/src/display.d.ts +68 -0
  12. package/build/src/display.js +309 -0
  13. package/build/src/display.js.map +1 -0
  14. package/build/src/index.d.ts +7 -0
  15. package/build/src/index.js +69 -0
  16. package/build/src/index.js.map +1 -0
  17. package/build/src/manage.d.ts +50 -0
  18. package/build/src/manage.js +209 -0
  19. package/build/src/manage.js.map +1 -0
  20. package/build/src/marketing.d.ts +7 -0
  21. package/build/src/marketing.js +13 -0
  22. package/build/src/marketing.js.map +1 -0
  23. package/build/src/member.d.ts +51 -0
  24. package/build/src/member.js +271 -0
  25. package/build/src/member.js.map +1 -0
  26. package/build/src/order.d.ts +110 -0
  27. package/build/src/order.js +487 -0
  28. package/build/src/order.js.map +1 -0
  29. package/build/src/product.d.ts +41 -0
  30. package/build/src/product.js +175 -0
  31. package/build/src/product.js.map +1 -0
  32. package/build/src/promotion.d.ts +15 -0
  33. package/build/src/promotion.js +67 -0
  34. package/build/src/promotion.js.map +1 -0
  35. package/build/src/storage.d.ts +7 -0
  36. package/build/src/storage.js +17 -0
  37. package/build/src/storage.js.map +1 -0
  38. package/build/types/admin.d.ts +301 -0
  39. package/build/types/admin.js +2 -0
  40. package/build/types/admin.js.map +1 -0
  41. package/build/types/auth.d.ts +118 -0
  42. package/build/types/auth.js +2 -0
  43. package/build/types/auth.js.map +1 -0
  44. package/build/types/manage.d.ts +15 -0
  45. package/build/types/manage.js +2 -0
  46. package/build/types/manage.js.map +1 -0
  47. package/build/types/member.d.ts +1 -0
  48. package/build/types/member.js +2 -0
  49. package/build/types/member.js.map +1 -0
  50. package/build/types/product.d.ts +20 -0
  51. package/build/types/product.js +2 -0
  52. package/build/types/product.js.map +1 -0
  53. package/build/types/root.d.ts +296 -0
  54. package/build/types/root.js +2 -0
  55. package/build/types/root.js.map +1 -0
  56. package/package.json +35 -0
@@ -0,0 +1,118 @@
1
+ export interface Authentications {
2
+ notiAccount?: string;
3
+ memberNo?: number;
4
+ usage?: string;
5
+ memberName?: string;
6
+ type?: string;
7
+ }
8
+ export interface AuthenticationsResponse {
9
+ remainTime: number;
10
+ }
11
+ export interface AuthenticationsBizmall {
12
+ companyNo?: number;
13
+ name?: string;
14
+ idNo?: string;
15
+ }
16
+ export interface AuthenticationsBizmallResponse {
17
+ success?: boolean;
18
+ }
19
+ export interface AuthenticationsEmailResponse {
20
+ result?: boolean;
21
+ }
22
+ export interface AuthenticationsEmail {
23
+ usage?: string;
24
+ memberName?: string;
25
+ uri?: string;
26
+ email?: string;
27
+ }
28
+ export interface AuthenticationsSms {
29
+ usage?: string;
30
+ key?: string;
31
+ mobileNo?: string;
32
+ }
33
+ export interface PostAuthenticationsSms {
34
+ usage?: string;
35
+ memberName?: string;
36
+ mobileNo?: string;
37
+ }
38
+ export interface OauthLoginUrlRequest {
39
+ provider: string;
40
+ redirectUri?: string;
41
+ state?: string;
42
+ }
43
+ export interface OauthLoginUrlResponse {
44
+ loginUrl: string;
45
+ }
46
+ export interface OauthOpenIdRequest extends OauthLoginUrlRequest {
47
+ code?: string;
48
+ openAccessToken?: string;
49
+ platformType?: string;
50
+ }
51
+ export interface DormantMemberResponse {
52
+ memberName: string;
53
+ mobileNo: string;
54
+ email: string;
55
+ }
56
+ export interface OauthOpenIdResponse {
57
+ provider: string;
58
+ dormantMemberResponse?: DormantMemberResponse;
59
+ expireIn: number;
60
+ accessToken: string;
61
+ }
62
+ export interface PostOauthTokenRequest {
63
+ password: string;
64
+ provider: string;
65
+ captcha: string;
66
+ keepLogin: boolean;
67
+ memberId: string;
68
+ }
69
+ export interface PostOauthTokenResponse {
70
+ dormantMemberResponse?: DormantMemberResponse;
71
+ expireIn: number;
72
+ accessToken: string;
73
+ daysFromLastPasswordChange: number;
74
+ passwordChangeRequired: boolean;
75
+ }
76
+ export interface GetOpenIdTokenResponse {
77
+ expireYmdt?: string;
78
+ accessToken?: string;
79
+ refreshToken?: string;
80
+ }
81
+ export interface PostKcpAgeVerificationRequest {
82
+ key: string;
83
+ }
84
+ export interface PostKcpAgeVerificationResponse {
85
+ birthday: string;
86
+ verified: boolean;
87
+ verifiedDateTime: string;
88
+ }
89
+ export interface KcpIdVerificationFormRequest {
90
+ returnUrl: string;
91
+ }
92
+ export interface KcpIdVerificationResponse {
93
+ birthday?: string;
94
+ sexCode?: string;
95
+ di?: string;
96
+ phone?: string;
97
+ ci?: string;
98
+ name?: string;
99
+ commId?: string;
100
+ localCode?: string;
101
+ }
102
+ export interface OauthBeginRequest {
103
+ provider: string;
104
+ nextUrl?: string;
105
+ state?: string;
106
+ }
107
+ export interface OauthCallbackRequest {
108
+ provider: string;
109
+ code: string;
110
+ nextUrl: string;
111
+ state?: string;
112
+ }
113
+ export interface CaptchaImage {
114
+ url?: string;
115
+ }
116
+ export interface CaptchaVerifyRequest {
117
+ code: string;
118
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=auth.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"auth.js","sourceRoot":"","sources":["../../types/auth.ts"],"names":[],"mappings":""}
@@ -0,0 +1,15 @@
1
+ export interface PostBoardsBoardNoArticlesRequest {
2
+ pathVariable: {
3
+ boardNo: string;
4
+ };
5
+ requestBody: {
6
+ articleTitle: string;
7
+ articleContent: string;
8
+ boardNo: string;
9
+ guestName: string;
10
+ images: any[];
11
+ parentBoardArticleNo?: string;
12
+ password: string;
13
+ secreted: boolean;
14
+ };
15
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=manage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"manage.js","sourceRoot":"","sources":["../../types/manage.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ export declare type GetProfileResponse = any;
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=member.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"member.js","sourceRoot":"","sources":["../../types/member.ts"],"names":[],"mappings":""}
@@ -0,0 +1,20 @@
1
+ export interface GetProductsProductNoOptionsRequest {
2
+ pathVariable: {
3
+ productNo: number;
4
+ };
5
+ }
6
+ export interface GetProductsProductNoOptionsResponse {
7
+ flatOptions: any;
8
+ inputs: any;
9
+ additionalProducts: any;
10
+ multiLevelOptions: any;
11
+ selectType: 'MULTI' | 'FLAT';
12
+ type: 'STANDARD' | 'COMBINATION' | 'DEFAULT' | 'MAPPING';
13
+ labels: string[];
14
+ }
15
+ export interface GetGuestRecentProductsRequest {
16
+ queryString: {
17
+ mallProductNos: string;
18
+ };
19
+ }
20
+ export declare type GetGuestRecentProductsResponse = any;
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=product.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"product.js","sourceRoot":"","sources":["../../types/product.ts"],"names":[],"mappings":""}
@@ -0,0 +1,296 @@
1
+ import { GetGuestRecentProductsRequest, GetGuestRecentProductsResponse, GetProductsProductNoOptionsRequest, GetProductsProductNoOptionsResponse } from './product';
2
+ import { Malls, MallsPartnersResponse, MallsSslResponse } from './admin';
3
+ import { GetProfileResponse } from './member';
4
+ import { PostBoardsBoardNoArticlesRequest } from './manage';
5
+ import { Authentications, AuthenticationsBizmall, AuthenticationsBizmallResponse, AuthenticationsEmail, AuthenticationsEmailResponse, AuthenticationsResponse, AuthenticationsSms, CaptchaImage, CaptchaVerifyRequest, GetOpenIdTokenResponse, KcpIdVerificationFormRequest, KcpIdVerificationResponse, OauthBeginRequest, OauthCallbackRequest, OauthLoginUrlRequest, OauthLoginUrlResponse, OauthOpenIdRequest, OauthOpenIdResponse, PostAuthenticationsSms, PostKcpAgeVerificationRequest, PostKcpAgeVerificationResponse, PostOauthTokenRequest, PostOauthTokenResponse } from './auth';
6
+ export declare type Method = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH' | 'OPTIONS';
7
+ export interface CreatorType {
8
+ baseURL: string;
9
+ headers: {
10
+ accessToken?: string;
11
+ Version: string;
12
+ } & HeadersInit;
13
+ }
14
+ export interface RequestOption<QueryStringType, BodyType> {
15
+ method?: Method;
16
+ url?: string;
17
+ queryString?: QueryStringType;
18
+ requestBody?: BodyType;
19
+ }
20
+ export interface ResponseData<T> extends Response {
21
+ data: T;
22
+ }
23
+ export interface CreatedOutput {
24
+ marketing: {
25
+ getMarketingFacebookPixel(request: any): Promise<ResponseData<any>>;
26
+ };
27
+ product: {
28
+ getGuestRecentProducts(request: GetGuestRecentProductsRequest): Promise<GetGuestRecentProductsResponse>;
29
+ getProductsProductNoOptionsImages(request: any): Promise<ResponseData<any>>;
30
+ getProductsBestSellerSearch(request: any): Promise<ResponseData<any>>;
31
+ getProfileRecentProducts(request: any): Promise<ResponseData<any>>;
32
+ getProductsProductNo(request: any): Promise<ResponseData<any>>;
33
+ getProductsProductNoDisplayCategories(request: any): Promise<ResponseData<any>>;
34
+ getProductsProductNoRelatedProducts(request: any): Promise<ResponseData<any>>;
35
+ getDisplayBrands(request: any): Promise<ResponseData<any>>;
36
+ getProductsOptions(request: any): Promise<ResponseData<any>>;
37
+ getProductsProductNoOptions(request: GetProductsProductNoOptionsRequest): Promise<GetProductsProductNoOptionsResponse>;
38
+ getShopbyProductsDisplay(request: any): Promise<ResponseData<any>>;
39
+ getProductsSearch(request: any): Promise<ResponseData<any>>;
40
+ getProfileLikeProducts(request: any): Promise<ResponseData<any>>;
41
+ deleteProfileRecentProducts(request: any): Promise<ResponseData<void>>;
42
+ getProductsBestReviewSearch(request: any): Promise<ResponseData<any>>;
43
+ getDisplayBrandsBrandNo(request: any): Promise<ResponseData<any>>;
44
+ getProductsFavoriteKeywords(request: any): Promise<string[]>;
45
+ postProfileRecentProducts(request: any): Promise<ResponseData<any>>;
46
+ postProfileLikeProducts(request: any): Promise<ResponseData<any>>;
47
+ getShopbyProductsProductNoUrlShortening(request: any): Promise<ResponseData<any>>;
48
+ getProductsProductNoOptionsOptionNoImages(request: any): Promise<ResponseData<any>>;
49
+ };
50
+ auth: {
51
+ getAuthentications(request: RequestOption<Authentications, null>): Promise<ResponseData<void>>;
52
+ postAuthentications(request: RequestOption<null, Authentications>): Promise<ResponseData<AuthenticationsResponse>>;
53
+ postAuthenticationsBizmall(request: RequestOption<null, AuthenticationsBizmall>): Promise<ResponseData<AuthenticationsBizmallResponse>>;
54
+ getAuthenticationsEmail(request: RequestOption<AuthenticationsEmail, null>): Promise<ResponseData<AuthenticationsEmailResponse>>;
55
+ postAuthenticationsEmail(request: RequestOption<null, AuthenticationsEmail>): Promise<ResponseData<AuthenticationsResponse>>;
56
+ getAuthenticationsSms(request: RequestOption<AuthenticationsSms, null>): Promise<ResponseData<AuthenticationsEmailResponse>>;
57
+ postAuthenticationsSms(request: RequestOption<null, PostAuthenticationsSms>): Promise<ResponseData<AuthenticationsResponse>>;
58
+ getOauthLoginUrl(request: RequestOption<OauthLoginUrlRequest, null>): Promise<ResponseData<OauthLoginUrlResponse>>;
59
+ getOauthOpenId(request: RequestOption<OauthOpenIdRequest, null>): Promise<ResponseData<OauthOpenIdResponse>>;
60
+ postOauthToken(request: RequestOption<null, PostOauthTokenRequest>): Promise<ResponseData<PostOauthTokenResponse>>;
61
+ deleteOauthToken(): Promise<ResponseData<void>>;
62
+ getOpenidToken(): Promise<ResponseData<GetOpenIdTokenResponse>>;
63
+ postKcpAgeVerification(request: RequestOption<PostKcpAgeVerificationRequest, null>): Promise<ResponseData<PostKcpAgeVerificationResponse>>;
64
+ getKcpIdVerificationForm(request: RequestOption<KcpIdVerificationFormRequest, null>): Promise<ResponseData<any>>;
65
+ getKcpIdVerificationResponse(request: RequestOption<KcpIdVerificationFormRequest, null>): Promise<ResponseData<KcpIdVerificationResponse>>;
66
+ getOauthBegin(request: RequestOption<OauthBeginRequest, null>): Promise<ResponseData<void>>;
67
+ getOauthCallback(request: RequestOption<OauthCallbackRequest, null>): Promise<ResponseData<void>>;
68
+ getCaptchaImage(): Promise<ResponseData<CaptchaImage>>;
69
+ postCaptchaVerify(request: RequestOption<CaptchaVerifyRequest, null>): Promise<ResponseData<void>>;
70
+ };
71
+ display: {
72
+ getCategoriesCategoryNo(request: any): Promise<ResponseData<any>>;
73
+ getProductsProductNoProductReviewsReviewNo(request: any): Promise<ResponseData<any>>;
74
+ postProductsProductNoProductReviewsReviewNoRecommend(request: any): Promise<ResponseData<void>>;
75
+ postProductsProductNoProductReviewsReviewNoReport(request: any): Promise<ResponseData<void>>;
76
+ getDisplaySectionsSectionNos(request: any): Promise<ResponseData<any>>;
77
+ getSkinBannersGroupsBySkin(request: any): Promise<ResponseData<any>>;
78
+ getCategoriesNewProductCategories(request: any): Promise<number[]>;
79
+ getDisplaySectionsSectionNo(request: any): Promise<ResponseData<any>>;
80
+ getProductsProductNoProductReviews(request: any): Promise<ResponseData<any>>;
81
+ getProfileProductInquiriesCount(request: any): Promise<ResponseData<any>>;
82
+ getProductsProductNoReviewableOptions(request: any): Promise<ResponseData<any>>;
83
+ getProductsInquiresConfigurations(request: any): Promise<ResponseData<any>>;
84
+ getDisplaySectionsIdsSectionId(request: any): Promise<ResponseData<any>>;
85
+ getDisplayPopups(request: any): Promise<ResponseData<any>>;
86
+ getProductsProductNoInquiresInquiryNo(request: any): Promise<ResponseData<any>>;
87
+ getCategories(request: any): Promise<ResponseData<any>>;
88
+ postProductsProductNoProductReviews(request: any): Promise<ResponseData<any>>;
89
+ deleteProductsInquiresInquiryNo(request: any): Promise<ResponseData<void>>;
90
+ getProfileProductInquiries(request: any): Promise<ResponseData<any>>;
91
+ deleteProductsProductNoProductReviewsReviewNoRecommend(request: any): Promise<ResponseData<void>>;
92
+ getDisplayEventsEventNo(request: any): Promise<ResponseData<any>>;
93
+ postProductsProductNoInquires(request: any): Promise<ResponseData<any>>;
94
+ getProductReviewsConfigurations(request: any): Promise<ResponseData<any>>;
95
+ getDisplayPopupsPopupNos(request: any): Promise<ResponseData<any>>;
96
+ getCategoryProductReviews(request: any): Promise<ResponseData<any>>;
97
+ putProductsProductNoProductReviewsReviewNo(request: any): Promise<ResponseData<void>>;
98
+ getDisplayEventsProductsProductNo(request: any): Promise<ResponseData<any>>;
99
+ getProfileOrderOptionsProductReviewable(request: any): Promise<ResponseData<any>>;
100
+ getProductsProductNoInquires(request: any): Promise<ResponseData<void>>;
101
+ postDesignPopups(request: any): Promise<ResponseData<any>>;
102
+ getSkinBanners(request: any): Promise<ResponseData<any>>;
103
+ getProfileProductReviews(request: any): Promise<ResponseData<any>>;
104
+ postProductsProductNoProductReviewsReviewNoCheckPassword(request: any): Promise<ResponseData<void>>;
105
+ getDisplayBannersBannerSectionCodes(request: any): Promise<ResponseData<any>>;
106
+ putProductsInquiresInquiryNo(request: any): Promise<ResponseData<void>>;
107
+ deleteProductsProductNoProductReviewsReviewNo(request: any): Promise<ResponseData<void>>;
108
+ getDisplayEvents(request: any): Promise<ResponseData<any>>;
109
+ };
110
+ member: {
111
+ getProfileSummary(request: any): Promise<ResponseData<any>>;
112
+ postProfileIdEmail(request: any): Promise<{
113
+ result: string;
114
+ }>;
115
+ getProfileMemberEqualsWithEmail(request: any): Promise<ResponseData<any>>;
116
+ postProfileChangePasswordAfterCert(request: any): Promise<ResponseData<any>>;
117
+ putProfileExpel(request: any): Promise<ResponseData<void>>;
118
+ getProfilePasswordSearchAccount(request: any): Promise<ResponseData<any>>;
119
+ putProfilePasswordNoAuthenticationCertificatedByEmail(request: any): Promise<ResponseData<void>>;
120
+ putProfilePasswordNoAuthenticationCertificatedBySms(request: any): Promise<ResponseData<void>>;
121
+ getCompanies(): Promise<ResponseData<any>>;
122
+ postProfileFindId(request: any): Promise<ResponseData<any>>;
123
+ getProfileEmailExists(request: any): Promise<ResponseData<any>>;
124
+ getProfileCiExists(request: any): Promise<ResponseData<any>>;
125
+ postProfile(request: any): Promise<ResponseData<any>>;
126
+ getProfileIdExists(request: any): Promise<ResponseData<any>>;
127
+ putProfileId(request: any): Promise<ResponseData<void>>;
128
+ putProfileAddress(request: any): Promise<ResponseData<void>>;
129
+ getProfileDormancy(): Promise<ResponseData<any>>;
130
+ deleteProfile(request: any): Promise<ResponseData<void>>;
131
+ postProfileOpenId(request: any): Promise<ResponseData<any>>;
132
+ getProfile(): Promise<GetProfileResponse>;
133
+ putProfile(request: any): Promise<ResponseData<any>>;
134
+ getProfileId(request: any): Promise<ResponseData<any>>;
135
+ getProfileMemberEqualsWithMobile(request: any): Promise<ResponseData<any>>;
136
+ getProfileMobileExists(request: any): Promise<ResponseData<any>>;
137
+ putProfilePassword(request: any): Promise<ResponseData<any>>;
138
+ postProfileCheckPassword(request: any): Promise<{
139
+ password: string;
140
+ }>;
141
+ postProfileRename(request: any): Promise<ResponseData<void>>;
142
+ postProfileFindPassword(request: any): Promise<ResponseData<any>>;
143
+ postProfileNonMasking(request: any): Promise<ResponseData<any>>;
144
+ getProfileNicknameExists(request: any): Promise<ResponseData<any>>;
145
+ postProfileBizmall(request: any): Promise<ResponseData<any>>;
146
+ putProfilePasswordSendingEmailWithUrl(request: any): Promise<ResponseData<void>>;
147
+ putProfileDormancy(request: any): Promise<ResponseData<void>>;
148
+ };
149
+ admin: {
150
+ getMalls(): Promise<ResponseData<Malls>>;
151
+ getMallsPartners(): Promise<ResponseData<MallsPartnersResponse[]>>;
152
+ getMallsSsl(): Promise<ResponseData<MallsSslResponse>>;
153
+ };
154
+ claim: {
155
+ postProfileOrderOrderNoClaimsCancel(request: any): Promise<ResponseData<void>>;
156
+ getGuestOrderOptionOrderOptionNoClaimsResult(request: any): Promise<ResponseData<any>>;
157
+ postGuestOrderOptionOrderOptionNoClaimsReturn(request: any): Promise<ResponseData<void>>;
158
+ postProfileClaimsReturn(request: any): Promise<ResponseData<any>>;
159
+ putGuestOrderOptionOrderOptionNoClaimsWithdraw(request: any): Promise<ResponseData<void>>;
160
+ postGuestClaimsReturn(request: any): Promise<ResponseData<void>>;
161
+ postProfileOrderOptionOrderOptionNoClaimsExchange(request: any): Promise<ResponseData<void>>;
162
+ getProfileOrderOptionOrderOptionNoClaimsResult(request: any): Promise<ResponseData<any>>;
163
+ postProfileOrderOptionOrderOptionNoClaimsReturn(request: any): Promise<ResponseData<any>>;
164
+ postGuestClaimsCancel(request: any): Promise<ResponseData<void>>;
165
+ postProfileClaimsEstimate(request: any): Promise<ResponseData<any>>;
166
+ postProfileClaimsCancel(request: any): Promise<ResponseData<void>>;
167
+ getGuestOrderOptionOrderOptionNoClaims(request: any): Promise<ResponseData<any>>;
168
+ getProfileClaims(request: any): Promise<ResponseData<any>>;
169
+ putGuestClaimsClaimNoWithdraw(request: any): Promise<ResponseData<void>>;
170
+ putProfileClaimsClaimNoWithdraw(request: any): Promise<ResponseData<void>>;
171
+ getGuestClaimsClaimNoCheckWithdraw(request: any): Promise<ResponseData<any>>;
172
+ postGuestOrderOptionOrderOptionNoClaimsCancel(request: any): Promise<ResponseData<any>>;
173
+ getProfileOrderOptionOrderOptionNoClaims(request: any): Promise<ResponseData<any>>;
174
+ getProfileClaimsClaimNoResult(request: any): Promise<ResponseData<any>>;
175
+ postGuestClaimsEstimate(request: any): Promise<ResponseData<any>>;
176
+ putProfileOrderOptionOrderOptionNoClaimsWithdraw(request: any): Promise<ResponseData<void>>;
177
+ getGuestClaimsClaimNoResult(request: any): Promise<ResponseData<any>>;
178
+ postProfileOrderOptionOrderOptionNoClaimsCancel(request: any): Promise<ResponseData<any>>;
179
+ getProfileOrderOptionOrderOptionNoClaimsEstimate(request: any): Promise<ResponseData<any>>;
180
+ getGuestOrderOptionOrderOptionNoClaimsEstimate(request: any): Promise<ResponseData<any>>;
181
+ };
182
+ storage: {
183
+ postFilesImages(request: any): Promise<ResponseData<any>>;
184
+ };
185
+ manage: {
186
+ getHoliday(request: any): Promise<number[]>;
187
+ getTermsHistory(request: any): Promise<ResponseData<any>>;
188
+ getInquiriesConfigurations(request: any): Promise<ResponseData<any>>;
189
+ deleteInquiriesInquiryNo(request: any): Promise<ResponseData<void>>;
190
+ deleteBoardsBoardNoArticlesArticleNo(request: any): Promise<ResponseData<void>>;
191
+ postInquiries(request: any): Promise<ResponseData<any>>;
192
+ putBoardsBoardNoArticlesArticleNoEditable(request: any): Promise<ResponseData<void>>;
193
+ getBoardsBoardNoArticles(request: any): Promise<ResponseData<any>>;
194
+ getProfileAccumulationsWaiting(request: any): Promise<ResponseData<any>>;
195
+ getPageScripts(request: any): Promise<ResponseData<any>>;
196
+ putBoardsBoardNoArticlesArticleNo(request: any): Promise<ResponseData<void>>;
197
+ getInquiries(request: any): Promise<ResponseData<any>>;
198
+ getShopbyInstagramMedia(request: any): Promise<ResponseData<any>>;
199
+ getInquiriesInquiryNo(request: any): Promise<ResponseData<any>>;
200
+ getBoardsConfig(): Promise<ResponseData<any>>;
201
+ getProfileAccumulations(request: any): Promise<ResponseData<any>>;
202
+ putInquiriesInquiryNo(request: any): Promise<ResponseData<void>>;
203
+ getBoardsBoardNoCategories(request: any): Promise<ResponseData<any>>;
204
+ getBoardsBoardNoArticlesArticleNo(request: any): Promise<ResponseData<any>>;
205
+ getProfileAccumulationsSummary(request: any): Promise<ResponseData<any>>;
206
+ postBoardsBoardNoArticles(request: PostBoardsBoardNoArticlesRequest): Promise<ResponseData<void>>;
207
+ getAddressesSearch({ queryString }: any): Promise<ResponseData<any>>;
208
+ getTerms(request: any): Promise<ResponseData<any>>;
209
+ getTermsTermsNo(request: any): Promise<ResponseData<any>>;
210
+ };
211
+ order: {
212
+ getGuestOrdersOrderNo(request: any): Promise<ResponseData<any>>;
213
+ getOrderConfigs(): Promise<ResponseData<any>>;
214
+ putProfileShippingAddressesAddressNoDefault(request: any): Promise<ResponseData<any>>;
215
+ getCartCount(): Promise<{
216
+ count: number;
217
+ }>;
218
+ postGuestCart(request: any): Promise<ResponseData<any>>;
219
+ getPaymentsExtraDatas(request: any): Promise<ResponseData<any>>;
220
+ getPaymentsConfirmRedirectKakao(request: any): Promise<ResponseData<void>>;
221
+ getWishCount(): Promise<{
222
+ count: number;
223
+ }>;
224
+ postPaymentsConfirmDepositPayco(request: any): Promise<ResponseData<any>>;
225
+ getCartCalculate(request: any): Promise<ResponseData<any>>;
226
+ postProfileOrdersOrderNoCashReceipt(request: any): Promise<ResponseData<any>>;
227
+ getWish(): Promise<ResponseData<any>>;
228
+ getProfileOrderOptionsSummaryStatus(request: any): Promise<ResponseData<any>>;
229
+ getProfileShippingAddresses(request: any): Promise<ResponseData<any>>;
230
+ putProfileShippingAddressesAddressNo(request: any): Promise<ResponseData<any>>;
231
+ getProfileOrdersSummaryStatus(request: any): Promise<ResponseData<any>>;
232
+ postOrderSheetsOrderSheetNoCouponsApply(request: any): Promise<ResponseData<any>>;
233
+ postOrderSheetsOrderSheetNo(request: any): Promise<ResponseData<any>>;
234
+ putCart(request: any): Promise<ResponseData<void>>;
235
+ postOrderSheetsOrderSheetNoCouponsMaximum(request: any): Promise<ResponseData<any>>;
236
+ getGuestOrdersOrderNoClaim(request: any): Promise<ResponseData<any>>;
237
+ getUnidentifiedDepositorsConfig(request: any): Promise<ResponseData<any>>;
238
+ putGuestOrdersOrderNoDeliveries(request: any): Promise<ResponseData<void>>;
239
+ getCartSubset(request: any): Promise<ResponseData<any>>;
240
+ putWish(request: any): Promise<ResponseData<void>>;
241
+ getProfileShippingAddressesAddressNo(request: any): Promise<ResponseData<any>>;
242
+ postPaymentsNaverOrdersheet(request: any): Promise<string>;
243
+ postWish(request: any): Promise<{
244
+ count: number;
245
+ }>;
246
+ getUnidentifiedDepositors(request: any): Promise<ResponseData<any>>;
247
+ postOrderSheets(request: any): Promise<{
248
+ orderSheetNo: string;
249
+ }>;
250
+ postPaymentsKcpCallback(request: any): Promise<ResponseData<any>>;
251
+ deleteCart(request: any): Promise<ResponseData<any>>;
252
+ postGuestOrdersOrderNoCashReceipt(request: any): Promise<ResponseData<any>>;
253
+ putShippingsEncryptedShippingNoLaterInput(request: any): Promise<ResponseData<void>>;
254
+ getOrderSheetsOrderSheetNo(request: any): Promise<ResponseData<any>>;
255
+ getProfileOrdersOrderNo(request: any): Promise<ResponseData<any>>;
256
+ getGuestOrdersOrderNoForgotPassword(request: any): Promise<ResponseData<void>>;
257
+ getProfileOrders(request: any): Promise<ResponseData<any>>;
258
+ putProfileOrderOptionsOrderOptionsNoDeliveryDone(request: any): Promise<ResponseData<void>>;
259
+ deleteWish(request: any): Promise<{
260
+ count: number;
261
+ }>;
262
+ putGuestOrderOptionsOrderOptionsNoDeliveryDone(request: any): Promise<ResponseData<void>>;
263
+ getProfileOrdersOrderNoClaim(request: any): Promise<ResponseData<any>>;
264
+ postPaymentsReserve(request: any): Promise<ResponseData<any>>;
265
+ postGuestOrdersOrderNo(request: any): Promise<ResponseData<any>>;
266
+ getOrderSheetsOrderSheetNoCoupons(request: any): Promise<ResponseData<any>>;
267
+ putProfileOrderOptionsOrderOptionsNoConfirm(request: any): Promise<ResponseData<void>>;
268
+ getProfileOrdersSummaryAmount(request: any): Promise<ResponseData<any>>;
269
+ getCart(request: any): Promise<ResponseData<any>>;
270
+ getCartValidate(): Promise<{
271
+ result: boolean;
272
+ }>;
273
+ putProfileOrdersOrderNoDeliveries(request: any): Promise<ResponseData<void>>;
274
+ getShippingsEncryptedShippingNoLaterInput(request: any): Promise<ResponseData<any>>;
275
+ putGuestOrderOptionsOrderOptionsNoConfirm(request: any): Promise<ResponseData<void>>;
276
+ deleteProfileShippingAddressesAddressNo(request: any): Promise<ResponseData<void>>;
277
+ getProfileShippingAddressesRecent(request: any): Promise<ResponseData<any>>;
278
+ postPaymentsNaverWishList(request: any): Promise<string>;
279
+ postProfileShippingAddresses(request: any): Promise<ResponseData<any>>;
280
+ postCart(request: any): Promise<ResponseData<any>>;
281
+ putPaymentsNaverValidate(request: any): Promise<{
282
+ result: boolean;
283
+ }>;
284
+ postOrderSheetsOrderSheetNoCouponsCalculate(request: any): Promise<ResponseData<any>>;
285
+ };
286
+ promotion: {
287
+ getCouponsProductsProductNoIssuableCoupons(request: any): Promise<ResponseData<any>>;
288
+ getCoupons(request: any): Promise<ResponseData<any>>;
289
+ postCouponsRegisterCodePromotionCode(request: any): Promise<ResponseData<void>>;
290
+ getCouponsIssuable(request: any): Promise<ResponseData<any>>;
291
+ postCouponsEventsEventNoDownload(request: any): Promise<ResponseData<any>>;
292
+ postCouponsProductsProductNoDownload(request: any): Promise<ResponseData<any>>;
293
+ getCouponsSummary(request: any): Promise<ResponseData<any>>;
294
+ postCouponsCouponNoDownload(request: any): Promise<ResponseData<any>>;
295
+ };
296
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=root.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"root.js","sourceRoot":"","sources":["../../types/root.ts"],"names":[],"mappings":""}
package/package.json ADDED
@@ -0,0 +1,35 @@
1
+ {
2
+ "name": "@shopby/shop-sdk",
3
+ "version": "1.0.0",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "files": [
7
+ "build",
8
+ "build/types/root"
9
+ ],
10
+ "scripts": {
11
+ "lint": "gts lint",
12
+ "clean": "gts clean",
13
+ "compile": "tsc",
14
+ "fix": "gts fix",
15
+ "prepare": "npm run compile",
16
+ "pretest": "npm run compile",
17
+ "posttest": "npm run lint",
18
+ "upload": "npm version patch & npm publish"
19
+ },
20
+ "repository": {
21
+ "type": "git",
22
+ "url": "http://gitlab.e-ncp.com/ncp-client/shop-sdk.git"
23
+ },
24
+ "author": "",
25
+ "license": "ISC",
26
+ "dependencies": {
27
+ "lodash.curry": "^4.1.1"
28
+ },
29
+ "devDependencies": {
30
+ "@types/lodash.curry": "^4.1.6",
31
+ "@types/node": "^16.11.10",
32
+ "gts": "^3.1.0",
33
+ "typescript": "^4.5.2"
34
+ }
35
+ }