@flexmatch-dev/interface 0.1.7 → 0.1.8
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/dist/campaign/groupbuying/groupbuying.request.d.ts +30 -0
- package/dist/{product/brand/brand.request.js → campaign/groupbuying/groupbuying.request.js} +1 -1
- package/dist/campaign/groupbuying/groupbuying.request.js.map +1 -0
- package/dist/campaign/groupbuying/index.d.ts +1 -0
- package/dist/{product/brand → campaign/groupbuying}/index.js +1 -2
- package/dist/campaign/groupbuying/index.js.map +1 -0
- package/dist/campaign/index.d.ts +1 -0
- package/dist/campaign/index.js +18 -0
- package/dist/campaign/index.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/product/default/index.d.ts +1 -0
- package/dist/product/default/index.js +1 -0
- package/dist/product/default/index.js.map +1 -1
- package/dist/product/default/product.constant.d.ts +3 -0
- package/dist/product/{brand/brand.response.js → default/product.constant.js} +1 -1
- package/dist/product/default/product.constant.js.map +1 -0
- package/dist/product/default/product.request.d.ts +58 -26
- package/dist/product/default/product.response.d.ts +8 -4
- package/dist/product/index.d.ts +0 -1
- package/dist/product/index.js +0 -1
- package/dist/product/index.js.map +1 -1
- package/dist/product/shipping/shipping-policy.request.d.ts +31 -26
- package/dist/product/shipping/shipping-policy.response.d.ts +23 -12
- package/package.json +1 -1
- package/dist/product/brand/brand.request.d.ts +0 -18
- package/dist/product/brand/brand.request.js.map +0 -1
- package/dist/product/brand/brand.response.d.ts +0 -17
- package/dist/product/brand/brand.response.js.map +0 -1
- package/dist/product/brand/index.d.ts +0 -2
- package/dist/product/brand/index.js.map +0 -1
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { CreateProductRequest, CreateShippingPolicyRequest } from '../../product';
|
|
2
|
+
/**
|
|
3
|
+
* @interface CreateGroupBuyingCampaignData
|
|
4
|
+
* @since 0.1.8
|
|
5
|
+
*/
|
|
6
|
+
export interface CreateGroupBuyingCampaignData {
|
|
7
|
+
campaignName: string;
|
|
8
|
+
brandName: string;
|
|
9
|
+
searchKeyword: string[];
|
|
10
|
+
campaignType: string;
|
|
11
|
+
contactName: string;
|
|
12
|
+
contactPhone: string;
|
|
13
|
+
contactEmail: string;
|
|
14
|
+
campaignPeriod: [Date, Date];
|
|
15
|
+
campaignPlan: string;
|
|
16
|
+
marketingPoint: string;
|
|
17
|
+
samplingGuide: string;
|
|
18
|
+
fileBrandIntroId: string | null;
|
|
19
|
+
fileProductIntroId: string | null;
|
|
20
|
+
fileOtherId: string | null;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* @interface CreateGroupBuyingRequest
|
|
24
|
+
* @since 0.1.8
|
|
25
|
+
*/
|
|
26
|
+
export interface CreateGroupBuyingRequest {
|
|
27
|
+
campaign: CreateGroupBuyingCampaignData;
|
|
28
|
+
product: CreateProductRequest;
|
|
29
|
+
shippingPolicy: CreateShippingPolicyRequest;
|
|
30
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"groupbuying.request.js","sourceRoot":"","sources":["../../../src/campaign/groupbuying/groupbuying.request.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './groupbuying.request';
|
|
@@ -14,6 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./
|
|
18
|
-
__exportStar(require("./brand.response"), exports);
|
|
17
|
+
__exportStar(require("./groupbuying.request"), exports);
|
|
19
18
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/campaign/groupbuying/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './groupbuying';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./groupbuying"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/campaign/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B"}
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,yCAAuB;AACvB,4CAA0B;AAC1B,wCAAsB"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,yCAAuB;AACvB,4CAA0B;AAC1B,wCAAsB;AACtB,6CAA2B"}
|
|
@@ -16,4 +16,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./product.request"), exports);
|
|
18
18
|
__exportStar(require("./product.response"), exports);
|
|
19
|
+
__exportStar(require("./product.constant"), exports);
|
|
19
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/product/default/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,qDAAmC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/product/default/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,qDAAmC;AACnC,qDAAmC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"product.constant.js","sourceRoot":"","sources":["../../../src/product/default/product.constant.ts"],"names":[],"mappings":""}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ProductProvisionCategoryId, ProductProvisionItemId, ProductProvisionItemValueType } from './product.constant';
|
|
1
2
|
/**
|
|
2
3
|
* @interface CreateProductOptionValueRequest
|
|
3
4
|
* @since 0.1.6
|
|
@@ -40,14 +41,13 @@ export interface UpdateProductOptionRequest {
|
|
|
40
41
|
*/
|
|
41
42
|
export interface CreateProductVariantRequest {
|
|
42
43
|
name: string;
|
|
44
|
+
isMain: boolean;
|
|
43
45
|
sku: string | null | undefined;
|
|
44
46
|
standardPrice: number | null | undefined;
|
|
45
47
|
samplePrice: number | null | undefined;
|
|
46
48
|
useCommissionPercentage: boolean | null | undefined;
|
|
47
49
|
commissionPrice: number | null | undefined;
|
|
48
50
|
commissionPercentage: number | null | undefined;
|
|
49
|
-
isCountQuantity: boolean | null | undefined;
|
|
50
|
-
quantity: number | null | undefined;
|
|
51
51
|
optionValues: (CreateProductOptionValueRequest | UpdateProductOptionValueRequest)[];
|
|
52
52
|
}
|
|
53
53
|
/**
|
|
@@ -57,50 +57,82 @@ export interface CreateProductVariantRequest {
|
|
|
57
57
|
export interface UpdateProductVariantRequest {
|
|
58
58
|
idx: number;
|
|
59
59
|
name: string;
|
|
60
|
+
isMain: boolean;
|
|
60
61
|
sku: string | null | undefined;
|
|
61
62
|
standardPrice: number | null | undefined;
|
|
62
63
|
samplePrice: number | null | undefined;
|
|
63
64
|
useCommissionPercentage: boolean | null | undefined;
|
|
64
65
|
commissionPrice: number | null | undefined;
|
|
65
66
|
commissionPercentage: number | null | undefined;
|
|
66
|
-
isCountQuantity: boolean | null | undefined;
|
|
67
|
-
quantity: number | null | undefined;
|
|
68
67
|
optionValues: (CreateProductOptionValueRequest | UpdateProductOptionValueRequest)[];
|
|
69
68
|
}
|
|
69
|
+
/**
|
|
70
|
+
* @interface CreateProductProvisionItemRequest
|
|
71
|
+
* @since 0.1.8
|
|
72
|
+
*/
|
|
73
|
+
export interface CreateProductProvisionItemRequest {
|
|
74
|
+
id: ProductProvisionItemId;
|
|
75
|
+
value: string | null;
|
|
76
|
+
type: ProductProvisionItemValueType;
|
|
77
|
+
isOnProductPage: boolean;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* @interface CreateProductProvisionRequest
|
|
81
|
+
* @since 0.1.8
|
|
82
|
+
*/
|
|
83
|
+
export interface CreateProductProvisionRequest {
|
|
84
|
+
categoryId: ProductProvisionCategoryId;
|
|
85
|
+
items: CreateProductProvisionItemRequest[];
|
|
86
|
+
}
|
|
70
87
|
/**
|
|
71
88
|
* @interface CreateProductRequest
|
|
72
|
-
* @since 0.1.
|
|
89
|
+
* @since 0.1.8
|
|
73
90
|
*/
|
|
74
|
-
|
|
91
|
+
interface CreateProductRequestCommon {
|
|
75
92
|
name: string;
|
|
76
|
-
description: string;
|
|
77
|
-
imageId: string | null | undefined;
|
|
78
|
-
brochureFileUrl: string | null | undefined;
|
|
79
|
-
brandIdx: number;
|
|
80
93
|
categoryIdx: number;
|
|
81
|
-
|
|
82
|
-
isHidden: boolean;
|
|
83
|
-
hasOption: boolean;
|
|
84
|
-
standardPrice: number;
|
|
94
|
+
thumbnailIds: string[];
|
|
85
95
|
onlinePrice: number;
|
|
86
|
-
onlinePriceUrl: string | null
|
|
96
|
+
onlinePriceUrl: string | null;
|
|
97
|
+
onlinePriceIsFreeShipping: boolean;
|
|
98
|
+
onlinePriceShippingFee: number | null;
|
|
99
|
+
description: string | null | undefined;
|
|
100
|
+
isHidden: boolean;
|
|
101
|
+
provision: CreateProductProvisionRequest;
|
|
102
|
+
}
|
|
103
|
+
export interface CreateProductRequestWithoutOption extends CreateProductRequestCommon {
|
|
104
|
+
hasOption: false;
|
|
105
|
+
variants: CreateProductVariantRequest;
|
|
106
|
+
}
|
|
107
|
+
export interface CreateProductRequestWithOption extends CreateProductRequestCommon {
|
|
108
|
+
hasOption: true;
|
|
87
109
|
options: CreateProductOptionRequest[];
|
|
88
110
|
variants: CreateProductVariantRequest[];
|
|
89
111
|
}
|
|
112
|
+
export type CreateProductRequest = CreateProductRequestWithoutOption | CreateProductRequestWithOption;
|
|
90
113
|
/**
|
|
91
114
|
* @interface UpdateProductRequest
|
|
92
|
-
* @since 0.1.
|
|
115
|
+
* @since 0.1.8
|
|
93
116
|
*/
|
|
94
|
-
|
|
117
|
+
interface UpdateProductRequestCommon {
|
|
95
118
|
name: string;
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
119
|
+
categoryIdx: number | null;
|
|
120
|
+
thumbnailIds: string[];
|
|
121
|
+
onlinePrice: number | null;
|
|
122
|
+
onlinePriceUrl: string | null;
|
|
123
|
+
onlinePriceIsFreeShipping: boolean;
|
|
124
|
+
onlinePriceShippingFee: number | null;
|
|
125
|
+
description: string | null | undefined;
|
|
102
126
|
isHidden: boolean;
|
|
103
|
-
hasOption: boolean;
|
|
104
|
-
options: (CreateProductOptionRequest | UpdateProductOptionRequest)[];
|
|
105
|
-
variants: (CreateProductVariantRequest | UpdateProductVariantRequest)[];
|
|
106
127
|
}
|
|
128
|
+
export interface UpdateProductRequestWithoutOption extends UpdateProductRequestCommon {
|
|
129
|
+
hasOption: false;
|
|
130
|
+
variants: UpdateProductVariantRequest;
|
|
131
|
+
}
|
|
132
|
+
export interface UpdateProductRequestWithOption extends UpdateProductRequestCommon {
|
|
133
|
+
hasOption: true;
|
|
134
|
+
options: UpdateProductOptionRequest[];
|
|
135
|
+
variants: UpdateProductVariantRequest[];
|
|
136
|
+
}
|
|
137
|
+
export type UpdateProductRequest = UpdateProductRequestWithoutOption | UpdateProductRequestWithOption;
|
|
138
|
+
export {};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { GetItemResourceImageResponse } from '../../@common';
|
|
2
|
-
import { GetItemProductBrandResponse } from '../brand';
|
|
3
2
|
import { GetItemCategoryResponse } from '../category';
|
|
4
3
|
/**
|
|
5
4
|
* @interface GetItemProductOptionValueResponse
|
|
@@ -49,14 +48,19 @@ export interface GetItemProductResponse {
|
|
|
49
48
|
idx: number;
|
|
50
49
|
name: string;
|
|
51
50
|
description: string | null;
|
|
52
|
-
|
|
51
|
+
images: GetItemResourceImageResponse[];
|
|
53
52
|
categoryInfo: GetItemCategoryResponse;
|
|
54
|
-
brochureFileUrl: string | null;
|
|
55
|
-
brandInfo: GetItemProductBrandResponse;
|
|
56
53
|
isHidden: boolean;
|
|
54
|
+
isApproved: boolean;
|
|
57
55
|
hasOption: boolean;
|
|
56
|
+
onlinePrice: number;
|
|
57
|
+
onlinePriceUrl: string | null;
|
|
58
|
+
onlinePriceIsFreeShipping: boolean;
|
|
59
|
+
onlinePriceShippingFee: number | null;
|
|
58
60
|
options: GetItemProductOptionResponse[];
|
|
59
61
|
variants: GetItemProductVariantResponse[];
|
|
62
|
+
createdAt: Date;
|
|
63
|
+
updatedAt: Date;
|
|
60
64
|
}
|
|
61
65
|
/**
|
|
62
66
|
* @interface GetListProductResponse
|
package/dist/product/index.d.ts
CHANGED
package/dist/product/index.js
CHANGED
|
@@ -15,7 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./category"), exports);
|
|
18
|
-
__exportStar(require("./brand"), exports);
|
|
19
18
|
__exportStar(require("./shipping"), exports);
|
|
20
19
|
__exportStar(require("./default"), exports);
|
|
21
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/product/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/product/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,6CAA2B;AAC3B,4CAA0B"}
|
|
@@ -1,28 +1,31 @@
|
|
|
1
|
+
export type ShippingMethodType = 'free' | 'paid';
|
|
1
2
|
/**
|
|
2
3
|
* @interface CreateShippingPolicyRequest
|
|
3
4
|
* @since 0.1.6
|
|
4
5
|
*/
|
|
5
6
|
export interface CreateShippingPolicyRequest {
|
|
6
7
|
name: string;
|
|
7
|
-
bundleLimit: number | null;
|
|
8
8
|
standardPrice: number;
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
bundleLimit: number | null;
|
|
10
|
+
isUnlimitedBundleShipping: boolean;
|
|
11
|
+
canShippingInDay: boolean;
|
|
12
|
+
canShippingInDayLimit: number | null;
|
|
13
|
+
canShippingInFriday: boolean;
|
|
14
|
+
shippingMethodType: ShippingMethodType;
|
|
15
|
+
hasFreeShippingThreshold: boolean;
|
|
16
|
+
freeShippingThreshold: number | null;
|
|
17
|
+
jejuPrice: number | null;
|
|
11
18
|
isAllowedLocationJeju: boolean;
|
|
12
19
|
hasSameRuleLocationJeju: boolean;
|
|
13
|
-
|
|
20
|
+
remotePrice: number | null;
|
|
14
21
|
isAllowedLocationRemote: boolean;
|
|
15
22
|
hasSameRuleLocationRemote: boolean;
|
|
16
|
-
priceLocationRemote: number;
|
|
17
|
-
isAllowedShippingInDay: boolean;
|
|
18
|
-
isAllowedShippingInFriday: boolean;
|
|
19
|
-
shippingInDayLimitTime: number;
|
|
20
23
|
isAllowedRefund: boolean;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
rejectReason: string | null;
|
|
25
|
+
refundDays: number | null;
|
|
26
|
+
refundShippingFee: number | null;
|
|
27
|
+
changeShippingFee: number | null;
|
|
28
|
+
extraRefundRequirement: string | null;
|
|
26
29
|
}
|
|
27
30
|
/**
|
|
28
31
|
* @interface UpdateShippingPolicyRequest
|
|
@@ -30,23 +33,25 @@ export interface CreateShippingPolicyRequest {
|
|
|
30
33
|
*/
|
|
31
34
|
export interface UpdateShippingPolicyRequest {
|
|
32
35
|
name?: string | undefined;
|
|
33
|
-
bundleLimit?: number | null | undefined;
|
|
34
36
|
standardPrice?: number | undefined;
|
|
35
|
-
|
|
36
|
-
|
|
37
|
+
bundleLimit?: number | null | undefined;
|
|
38
|
+
isUnlimitedBundleShipping?: boolean | undefined;
|
|
39
|
+
canShippingInDay?: boolean | undefined;
|
|
40
|
+
canShippingInDayLimit?: number | null | undefined;
|
|
41
|
+
canShippingInFriday?: boolean | undefined;
|
|
42
|
+
shippingMethodType?: ShippingMethodType | undefined;
|
|
43
|
+
hasFreeShippingThreshold?: boolean | undefined;
|
|
44
|
+
freeShippingThreshold?: number | null | undefined;
|
|
45
|
+
jejuPrice?: number | null | undefined;
|
|
37
46
|
isAllowedLocationJeju?: boolean | undefined;
|
|
38
47
|
hasSameRuleLocationJeju?: boolean | undefined;
|
|
39
|
-
|
|
48
|
+
remotePrice?: number | null | undefined;
|
|
40
49
|
isAllowedLocationRemote?: boolean | undefined;
|
|
41
50
|
hasSameRuleLocationRemote?: boolean | undefined;
|
|
42
|
-
priceLocationRemote?: number | undefined;
|
|
43
|
-
isAllowedShippingInDay?: boolean | undefined;
|
|
44
|
-
isAllowedShippingInFriday?: boolean | undefined;
|
|
45
|
-
shippingInDayLimitTime?: number | undefined;
|
|
46
51
|
isAllowedRefund?: boolean | undefined;
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
+
rejectReason?: string | null | undefined;
|
|
53
|
+
refundDays?: number | null | undefined;
|
|
54
|
+
refundShippingFee?: number | null | undefined;
|
|
55
|
+
changeShippingFee?: number | null | undefined;
|
|
56
|
+
extraRefundRequirement?: string | null | undefined;
|
|
52
57
|
}
|
|
@@ -1,26 +1,37 @@
|
|
|
1
|
+
import { ShippingMethodType } from './shipping-policy.request';
|
|
2
|
+
/**
|
|
3
|
+
* @interface GetItemShippingPolicyResponse
|
|
4
|
+
* @since 0.1.8
|
|
5
|
+
*/
|
|
1
6
|
export interface GetItemShippingPolicyResponse {
|
|
2
7
|
idx: number;
|
|
3
8
|
name: string;
|
|
4
9
|
standardPrice: number;
|
|
5
10
|
bundleLimit: number | null;
|
|
6
|
-
|
|
7
|
-
|
|
11
|
+
isUnlimitedBundleShipping: boolean;
|
|
12
|
+
canShippingInDay: boolean;
|
|
13
|
+
canShippingInDayLimit: number | null;
|
|
14
|
+
canShippingInFriday: boolean;
|
|
15
|
+
shippingMethodType: ShippingMethodType;
|
|
16
|
+
hasFreeShippingThreshold: boolean;
|
|
17
|
+
freeShippingThreshold: number | null;
|
|
18
|
+
jejuPrice: number | null;
|
|
8
19
|
isAllowedLocationJeju: boolean;
|
|
9
20
|
hasSameRuleLocationJeju: boolean;
|
|
10
|
-
|
|
21
|
+
remotePrice: number | null;
|
|
11
22
|
isAllowedLocationRemote: boolean;
|
|
12
23
|
hasSameRuleLocationRemote: boolean;
|
|
13
|
-
priceLocationRemote: number | null;
|
|
14
|
-
isAllowedShippingInDay: boolean;
|
|
15
|
-
isAllowedShippingInFriday: boolean;
|
|
16
|
-
shippingInDayLimitTime: number | null;
|
|
17
24
|
isAllowedRefund: boolean;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
25
|
+
rejectReason: string | null;
|
|
26
|
+
refundDays: number | null;
|
|
27
|
+
refundShippingFee: number | null;
|
|
28
|
+
changeShippingFee: number | null;
|
|
29
|
+
extraRefundRequirement: string | null;
|
|
23
30
|
}
|
|
31
|
+
/**
|
|
32
|
+
* @interface GetListShippingPolicyResponse
|
|
33
|
+
* @since 0.1.8
|
|
34
|
+
*/
|
|
24
35
|
export interface GetListShippingPolicyResponse {
|
|
25
36
|
data: GetItemShippingPolicyResponse[];
|
|
26
37
|
}
|
package/package.json
CHANGED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @interface CreateProductBrandRequest
|
|
3
|
-
* @since 0.1.6
|
|
4
|
-
*/
|
|
5
|
-
export interface CreateProductBrandRequest {
|
|
6
|
-
name: string;
|
|
7
|
-
imageId?: string;
|
|
8
|
-
brochureFileUrl?: string;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* @interface UpdateProductBrandRequest
|
|
12
|
-
* @since 0.1.6
|
|
13
|
-
*/
|
|
14
|
-
export interface UpdateProductBrandRequest {
|
|
15
|
-
name?: string | undefined;
|
|
16
|
-
imageId?: string | null | undefined;
|
|
17
|
-
brochureFileUrl?: string | null | undefined;
|
|
18
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"brand.request.js","sourceRoot":"","sources":["../../../src/product/brand/brand.request.ts"],"names":[],"mappings":""}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { GetItemResourceImageResponse } from '../../@common';
|
|
2
|
-
/**
|
|
3
|
-
* @interface GetItemProductBrandResponse
|
|
4
|
-
* @since 0.1.6
|
|
5
|
-
*/
|
|
6
|
-
export interface GetItemProductBrandResponse {
|
|
7
|
-
idx: number;
|
|
8
|
-
name: string;
|
|
9
|
-
image: GetItemResourceImageResponse | null;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* @interface GetListProductBrandResponse
|
|
13
|
-
* @since 0.1.6
|
|
14
|
-
*/
|
|
15
|
-
export interface GetListProductBrandResponse {
|
|
16
|
-
data: GetItemProductBrandResponse[];
|
|
17
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"brand.response.js","sourceRoot":"","sources":["../../../src/product/brand/brand.response.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/product/brand/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,mDAAiC"}
|