@flexmatch-dev/interface 0.1.5 → 0.1.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.
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/product/brand/brand.request.d.ts +18 -0
- package/dist/product/brand/brand.request.js +3 -0
- package/dist/product/brand/brand.request.js.map +1 -0
- package/dist/product/brand/brand.response.d.ts +17 -0
- package/dist/product/brand/brand.response.js +3 -0
- package/dist/product/brand/brand.response.js.map +1 -0
- package/dist/product/brand/index.d.ts +2 -0
- package/dist/product/brand/index.js +19 -0
- package/dist/product/brand/index.js.map +1 -0
- package/dist/product/category/category.request.d.ts +22 -0
- package/dist/product/category/category.request.js +3 -0
- package/dist/product/category/category.request.js.map +1 -0
- package/dist/product/category/category.response.d.ts +21 -0
- package/dist/product/category/category.response.js +3 -0
- package/dist/product/category/category.response.js.map +1 -0
- package/dist/product/category/index.d.ts +2 -0
- package/dist/product/category/index.js +19 -0
- package/dist/product/category/index.js.map +1 -0
- package/dist/product/default/index.d.ts +2 -0
- package/dist/product/default/index.js +19 -0
- package/dist/product/default/index.js.map +1 -0
- package/dist/product/default/product.request.d.ts +106 -0
- package/dist/product/default/product.request.js +3 -0
- package/dist/product/default/product.request.js.map +1 -0
- package/dist/product/default/product.response.d.ts +67 -0
- package/dist/product/default/product.response.js +3 -0
- package/dist/product/default/product.response.js.map +1 -0
- package/dist/product/index.d.ts +4 -0
- package/dist/product/index.js +21 -0
- package/dist/product/index.js.map +1 -0
- package/dist/product/shipping/index.d.ts +2 -0
- package/dist/product/shipping/index.js +19 -0
- package/dist/product/shipping/index.js.map +1 -0
- package/dist/product/shipping/shipping-policy.request.d.ts +52 -0
- package/dist/product/shipping/shipping-policy.request.js +3 -0
- package/dist/product/shipping/shipping-policy.request.js.map +1 -0
- package/dist/product/shipping/shipping-policy.response.d.ts +26 -0
- package/dist/product/shipping/shipping-policy.response.js +3 -0
- package/dist/product/shipping/shipping-policy.response.js.map +1 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -16,5 +16,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./@common"), exports);
|
|
18
18
|
__exportStar(require("./user"), exports);
|
|
19
|
+
__exportStar(require("./product"), exports);
|
|
19
20
|
__exportStar(require("./log"), exports);
|
|
20
21
|
//# sourceMappingURL=index.js.map
|
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,wCAAsB"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,yCAAuB;AACvB,4CAA0B;AAC1B,wCAAsB"}
|
|
@@ -0,0 +1,18 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"brand.request.js","sourceRoot":"","sources":["../../../src/product/brand/brand.request.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,17 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"brand.response.js","sourceRoot":"","sources":["../../../src/product/brand/brand.response.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,19 @@
|
|
|
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("./brand.request"), exports);
|
|
18
|
+
__exportStar(require("./brand.response"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/product/brand/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,mDAAiC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @interface CreateCategoryRequest
|
|
3
|
+
* @since 0.1.6
|
|
4
|
+
*/
|
|
5
|
+
export interface CreateCategoryRequest {
|
|
6
|
+
name: string;
|
|
7
|
+
parentIdx?: number | undefined;
|
|
8
|
+
imageId?: string | undefined;
|
|
9
|
+
orderPriority?: number | undefined;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* @interface UpdateCategoryRequest
|
|
13
|
+
* @since 0.1.6
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateCategoryRequest {
|
|
16
|
+
name?: string | undefined;
|
|
17
|
+
parentIdx?: number | null | undefined;
|
|
18
|
+
imageId?: string | null | undefined;
|
|
19
|
+
orderPriority?: number | undefined;
|
|
20
|
+
isHidden?: boolean | undefined;
|
|
21
|
+
isHiddenAllProduct?: boolean | undefined;
|
|
22
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"category.request.js","sourceRoot":"","sources":["../../../src/product/category/category.request.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { GetItemResourceImageResponse } from '../../@common';
|
|
2
|
+
/**
|
|
3
|
+
* @interface GetItemCategoryResponse
|
|
4
|
+
* @since 0.1.6
|
|
5
|
+
*/
|
|
6
|
+
export interface GetItemCategoryResponse {
|
|
7
|
+
idx: number;
|
|
8
|
+
name: string;
|
|
9
|
+
isHidden: boolean;
|
|
10
|
+
isHiddenAllProduct: boolean;
|
|
11
|
+
orderPriority: number;
|
|
12
|
+
image: GetItemResourceImageResponse | null;
|
|
13
|
+
children: GetItemCategoryResponse[];
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* @interface GetListCategoryResponse
|
|
17
|
+
* @since 0.1.6
|
|
18
|
+
*/
|
|
19
|
+
export interface GetListCategoryResponse {
|
|
20
|
+
data: GetItemCategoryResponse[];
|
|
21
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"category.response.js","sourceRoot":"","sources":["../../../src/product/category/category.response.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,19 @@
|
|
|
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("./category.request"), exports);
|
|
18
|
+
__exportStar(require("./category.response"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/product/category/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC;AACnC,sDAAoC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
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("./product.request"), exports);
|
|
18
|
+
__exportStar(require("./product.response"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/product/default/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,qDAAmC"}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @interface CreateProductOptionValueRequest
|
|
3
|
+
* @since 0.1.6
|
|
4
|
+
*/
|
|
5
|
+
export interface CreateProductOptionValueRequest {
|
|
6
|
+
name: string;
|
|
7
|
+
priority: number | null | undefined;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* @interface UpdateProductOptionValueRequest
|
|
11
|
+
* @since 0.1.6
|
|
12
|
+
*/
|
|
13
|
+
export interface UpdateProductOptionValueRequest {
|
|
14
|
+
idx: number;
|
|
15
|
+
name: string;
|
|
16
|
+
priority: number | null | undefined;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* @interface CreateProductOptionRequest
|
|
20
|
+
* @since 0.1.6
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateProductOptionRequest {
|
|
23
|
+
name: string;
|
|
24
|
+
priority: number | null | undefined;
|
|
25
|
+
optionValues: (CreateProductOptionValueRequest | UpdateProductOptionValueRequest)[];
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* @interface UpdateProductOptionRequest
|
|
29
|
+
* @since 0.1.6
|
|
30
|
+
*/
|
|
31
|
+
export interface UpdateProductOptionRequest {
|
|
32
|
+
idx: number;
|
|
33
|
+
name: string;
|
|
34
|
+
priority: number | null | undefined;
|
|
35
|
+
optionValues: (CreateProductOptionValueRequest | UpdateProductOptionValueRequest)[];
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* @interface CreateProductVariantRequest
|
|
39
|
+
* @since 0.1.6
|
|
40
|
+
*/
|
|
41
|
+
export interface CreateProductVariantRequest {
|
|
42
|
+
name: string;
|
|
43
|
+
sku: string | null | undefined;
|
|
44
|
+
standardPrice: number | null | undefined;
|
|
45
|
+
samplePrice: number | null | undefined;
|
|
46
|
+
useCommissionPercentage: boolean | null | undefined;
|
|
47
|
+
commissionPrice: number | null | undefined;
|
|
48
|
+
commissionPercentage: number | null | undefined;
|
|
49
|
+
isCountQuantity: boolean | null | undefined;
|
|
50
|
+
quantity: number | null | undefined;
|
|
51
|
+
optionValues: (CreateProductOptionValueRequest | UpdateProductOptionValueRequest)[];
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* @interface UpdateProductVariantRequest
|
|
55
|
+
* @since 0.1.6
|
|
56
|
+
*/
|
|
57
|
+
export interface UpdateProductVariantRequest {
|
|
58
|
+
idx: number;
|
|
59
|
+
name: string;
|
|
60
|
+
sku: string | null | undefined;
|
|
61
|
+
standardPrice: number | null | undefined;
|
|
62
|
+
samplePrice: number | null | undefined;
|
|
63
|
+
useCommissionPercentage: boolean | null | undefined;
|
|
64
|
+
commissionPrice: number | null | undefined;
|
|
65
|
+
commissionPercentage: number | null | undefined;
|
|
66
|
+
isCountQuantity: boolean | null | undefined;
|
|
67
|
+
quantity: number | null | undefined;
|
|
68
|
+
optionValues: (CreateProductOptionValueRequest | UpdateProductOptionValueRequest)[];
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* @interface CreateProductRequest
|
|
72
|
+
* @since 0.1.6
|
|
73
|
+
*/
|
|
74
|
+
export interface CreateProductRequest {
|
|
75
|
+
name: string;
|
|
76
|
+
description: string;
|
|
77
|
+
imageId: string | null | undefined;
|
|
78
|
+
brochureFileUrl: string | null | undefined;
|
|
79
|
+
brandIdx: number;
|
|
80
|
+
categoryIdx: number;
|
|
81
|
+
shippingPolicyIdx: number;
|
|
82
|
+
isHidden: boolean;
|
|
83
|
+
hasOption: boolean;
|
|
84
|
+
standardPrice: number;
|
|
85
|
+
onlinePrice: number;
|
|
86
|
+
onlinePriceUrl: string | null | undefined;
|
|
87
|
+
options: CreateProductOptionRequest[];
|
|
88
|
+
variants: CreateProductVariantRequest[];
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* @interface UpdateProductRequest
|
|
92
|
+
* @since 0.1.6
|
|
93
|
+
*/
|
|
94
|
+
export interface UpdateProductRequest {
|
|
95
|
+
name: string;
|
|
96
|
+
description: string;
|
|
97
|
+
imageId: string | null | undefined;
|
|
98
|
+
brochureFileUrl: string | null | undefined;
|
|
99
|
+
brandIdx: number;
|
|
100
|
+
categoryIdx: number;
|
|
101
|
+
shippingPolicyIdx: number;
|
|
102
|
+
isHidden: boolean;
|
|
103
|
+
hasOption: boolean;
|
|
104
|
+
options: (CreateProductOptionRequest | UpdateProductOptionRequest)[];
|
|
105
|
+
variants: (CreateProductVariantRequest | UpdateProductVariantRequest)[];
|
|
106
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"product.request.js","sourceRoot":"","sources":["../../../src/product/default/product.request.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { GetItemResourceImageResponse } from '../../@common';
|
|
2
|
+
import { GetItemProductBrandResponse } from '../brand';
|
|
3
|
+
import { GetItemCategoryResponse } from '../category';
|
|
4
|
+
/**
|
|
5
|
+
* @interface GetItemProductOptionValueResponse
|
|
6
|
+
* @since 0.1.6
|
|
7
|
+
*/
|
|
8
|
+
export interface GetItemProductOptionValueResponse {
|
|
9
|
+
idx: number;
|
|
10
|
+
name: string;
|
|
11
|
+
optionIdx: number;
|
|
12
|
+
priority: number;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @interface GetItemProductOptionResponse
|
|
16
|
+
* @since 0.1.6
|
|
17
|
+
*/
|
|
18
|
+
export interface GetItemProductOptionResponse {
|
|
19
|
+
idx: number;
|
|
20
|
+
name: string;
|
|
21
|
+
priority: number;
|
|
22
|
+
optionValues: GetItemProductOptionValueResponse[];
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @interface GetItemProductVariantResponse
|
|
26
|
+
* @since 0.1.6
|
|
27
|
+
*/
|
|
28
|
+
export interface GetItemProductVariantResponse {
|
|
29
|
+
idx: number;
|
|
30
|
+
name: string;
|
|
31
|
+
sku: string | null;
|
|
32
|
+
standardPrice: number;
|
|
33
|
+
samplePrice: number;
|
|
34
|
+
useCommissionPercentage: boolean;
|
|
35
|
+
commissionPrice: number;
|
|
36
|
+
commissionPercentage: number;
|
|
37
|
+
isCountQuantity: boolean;
|
|
38
|
+
quantity: number;
|
|
39
|
+
isDeleted: boolean;
|
|
40
|
+
isHidden: boolean;
|
|
41
|
+
isAvailable: boolean;
|
|
42
|
+
optionValues: GetItemProductOptionValueResponse[];
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* @interface GetItemProductResponse
|
|
46
|
+
* @since 0.1.6
|
|
47
|
+
*/
|
|
48
|
+
export interface GetItemProductResponse {
|
|
49
|
+
idx: number;
|
|
50
|
+
name: string;
|
|
51
|
+
description: string | null;
|
|
52
|
+
image: GetItemResourceImageResponse | null;
|
|
53
|
+
categoryInfo: GetItemCategoryResponse;
|
|
54
|
+
brochureFileUrl: string | null;
|
|
55
|
+
brandInfo: GetItemProductBrandResponse;
|
|
56
|
+
isHidden: boolean;
|
|
57
|
+
hasOption: boolean;
|
|
58
|
+
options: GetItemProductOptionResponse[];
|
|
59
|
+
variants: GetItemProductVariantResponse[];
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* @interface GetListProductResponse
|
|
63
|
+
* @since 0.1.6
|
|
64
|
+
*/
|
|
65
|
+
export interface GetListProductResponse {
|
|
66
|
+
data: GetItemProductResponse[];
|
|
67
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"product.response.js","sourceRoot":"","sources":["../../../src/product/default/product.response.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,21 @@
|
|
|
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("./category"), exports);
|
|
18
|
+
__exportStar(require("./brand"), exports);
|
|
19
|
+
__exportStar(require("./shipping"), exports);
|
|
20
|
+
__exportStar(require("./default"), exports);
|
|
21
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/product/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,0CAAwB;AACxB,6CAA2B;AAC3B,4CAA0B"}
|
|
@@ -0,0 +1,19 @@
|
|
|
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("./shipping-policy.request"), exports);
|
|
18
|
+
__exportStar(require("./shipping-policy.response"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/product/shipping/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAA0C;AAC1C,6DAA2C"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @interface CreateShippingPolicyRequest
|
|
3
|
+
* @since 0.1.6
|
|
4
|
+
*/
|
|
5
|
+
export interface CreateShippingPolicyRequest {
|
|
6
|
+
name: string;
|
|
7
|
+
bundleLimit: number | null;
|
|
8
|
+
standardPrice: number;
|
|
9
|
+
isAllowedPriceover: boolean;
|
|
10
|
+
priceForPriceover: number;
|
|
11
|
+
isAllowedLocationJeju: boolean;
|
|
12
|
+
hasSameRuleLocationJeju: boolean;
|
|
13
|
+
priceForLocationJeju: number;
|
|
14
|
+
isAllowedLocationRemote: boolean;
|
|
15
|
+
hasSameRuleLocationRemote: boolean;
|
|
16
|
+
priceLocationRemote: number;
|
|
17
|
+
isAllowedShippingInDay: boolean;
|
|
18
|
+
isAllowedShippingInFriday: boolean;
|
|
19
|
+
shippingInDayLimitTime: number;
|
|
20
|
+
isAllowedRefund: boolean;
|
|
21
|
+
refundProvider: string | null;
|
|
22
|
+
priceRefund: number | null;
|
|
23
|
+
isAllowedChange: boolean;
|
|
24
|
+
changeProvider: string | null;
|
|
25
|
+
priceChange: number | null;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* @interface UpdateShippingPolicyRequest
|
|
29
|
+
* @since 0.1.6
|
|
30
|
+
*/
|
|
31
|
+
export interface UpdateShippingPolicyRequest {
|
|
32
|
+
name?: string | undefined;
|
|
33
|
+
bundleLimit?: number | null | undefined;
|
|
34
|
+
standardPrice?: number | undefined;
|
|
35
|
+
isAllowedPriceover?: boolean | undefined;
|
|
36
|
+
priceForPriceover?: number | undefined;
|
|
37
|
+
isAllowedLocationJeju?: boolean | undefined;
|
|
38
|
+
hasSameRuleLocationJeju?: boolean | undefined;
|
|
39
|
+
priceForLocationJeju?: number | undefined;
|
|
40
|
+
isAllowedLocationRemote?: boolean | undefined;
|
|
41
|
+
hasSameRuleLocationRemote?: boolean | undefined;
|
|
42
|
+
priceLocationRemote?: number | undefined;
|
|
43
|
+
isAllowedShippingInDay?: boolean | undefined;
|
|
44
|
+
isAllowedShippingInFriday?: boolean | undefined;
|
|
45
|
+
shippingInDayLimitTime?: number | undefined;
|
|
46
|
+
isAllowedRefund?: boolean | undefined;
|
|
47
|
+
refundProvider?: string | null | undefined;
|
|
48
|
+
priceRefund?: number | null | undefined;
|
|
49
|
+
isAllowedChange?: boolean | undefined;
|
|
50
|
+
changeProvider?: string | null | undefined;
|
|
51
|
+
priceChange?: number | null | undefined;
|
|
52
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shipping-policy.request.js","sourceRoot":"","sources":["../../../src/product/shipping/shipping-policy.request.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export interface GetItemShippingPolicyResponse {
|
|
2
|
+
idx: number;
|
|
3
|
+
name: string;
|
|
4
|
+
standardPrice: number;
|
|
5
|
+
bundleLimit: number | null;
|
|
6
|
+
isAllowedPriceover: boolean;
|
|
7
|
+
priceForPriceover: number | null;
|
|
8
|
+
isAllowedLocationJeju: boolean;
|
|
9
|
+
hasSameRuleLocationJeju: boolean;
|
|
10
|
+
priceForLocationJeju: number | null;
|
|
11
|
+
isAllowedLocationRemote: boolean;
|
|
12
|
+
hasSameRuleLocationRemote: boolean;
|
|
13
|
+
priceLocationRemote: number | null;
|
|
14
|
+
isAllowedShippingInDay: boolean;
|
|
15
|
+
isAllowedShippingInFriday: boolean;
|
|
16
|
+
shippingInDayLimitTime: number | null;
|
|
17
|
+
isAllowedRefund: boolean;
|
|
18
|
+
refundProvider: string | null;
|
|
19
|
+
priceRefund: number | null;
|
|
20
|
+
isAllowedChange: boolean;
|
|
21
|
+
changeProvider: string | null;
|
|
22
|
+
priceChange: number | null;
|
|
23
|
+
}
|
|
24
|
+
export interface GetListShippingPolicyResponse {
|
|
25
|
+
data: GetItemShippingPolicyResponse[];
|
|
26
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shipping-policy.response.js","sourceRoot":"","sources":["../../../src/product/shipping/shipping-policy.response.ts"],"names":[],"mappings":""}
|