@things-factory/marketplace-base 8.0.7 → 9.0.0-beta.12
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-server/tsconfig.tsbuildinfo +1 -1
- package/package.json +7 -7
- package/server/constants/attachment.ts +0 -3
- package/server/constants/index.ts +0 -4
- package/server/constants/order.ts +0 -11
- package/server/constants/platform.ts +0 -7
- package/server/constants/product.ts +0 -5
- package/server/constants/reserve-qty-order-statuses.ts +0 -7
- package/server/controllers/index.ts +0 -0
- package/server/entities/index.ts +0 -45
- package/server/entities/marketplace-order-item.ts +0 -137
- package/server/entities/marketplace-order-shipping-item.ts +0 -55
- package/server/entities/marketplace-order-shipping.ts +0 -168
- package/server/entities/marketplace-order.ts +0 -141
- package/server/entities/marketplace-product-attribute.ts +0 -83
- package/server/entities/marketplace-product-category.ts +0 -53
- package/server/entities/marketplace-product-variation-price.ts +0 -63
- package/server/entities/marketplace-product-variation.ts +0 -147
- package/server/entities/marketplace-product.ts +0 -164
- package/server/entities/marketplace-refund-order-item.ts +0 -56
- package/server/entities/marketplace-refund-order.ts +0 -51
- package/server/entities/marketplace-setting.ts +0 -49
- package/server/entities/store-replenishment-item.ts +0 -48
- package/server/entities/store-replenishment.ts +0 -79
- package/server/graphql/index.ts +0 -9
- package/server/graphql/resolvers/index.ts +0 -14
- package/server/graphql/resolvers/marketplace-order/auto-initialise-logistics-by-batch.ts +0 -164
- package/server/graphql/resolvers/marketplace-order/auto-update-order-ready-to-ship.ts +0 -136
- package/server/graphql/resolvers/marketplace-order/cancel-marketplace-order.ts +0 -64
- package/server/graphql/resolvers/marketplace-order/create-marketplace-order-note.ts +0 -21
- package/server/graphql/resolvers/marketplace-order/dashboard-marketplace-orders.ts +0 -82
- package/server/graphql/resolvers/marketplace-order/dashboard-marketplace-sales-average.ts +0 -82
- package/server/graphql/resolvers/marketplace-order/dashboard-marketplace-sales.ts +0 -93
- package/server/graphql/resolvers/marketplace-order/delete-marketplace-orders.ts +0 -17
- package/server/graphql/resolvers/marketplace-order/generate-marketplace-order.ts +0 -180
- package/server/graphql/resolvers/marketplace-order/get-address-list.ts +0 -9
- package/server/graphql/resolvers/marketplace-order/get-branch-list.ts +0 -9
- package/server/graphql/resolvers/marketplace-order/get-etrax-order-document.ts +0 -49
- package/server/graphql/resolvers/marketplace-order/get-logistics-param.ts +0 -47
- package/server/graphql/resolvers/marketplace-order/get-order-document.ts +0 -149
- package/server/graphql/resolvers/marketplace-order/get-store-logistics.ts +0 -9
- package/server/graphql/resolvers/marketplace-order/get-time-slot.ts +0 -9
- package/server/graphql/resolvers/marketplace-order/index.ts +0 -75
- package/server/graphql/resolvers/marketplace-order/initialise-lazada-logistics-by-batch.ts +0 -165
- package/server/graphql/resolvers/marketplace-order/initialise-logistics-by-batch.ts +0 -41
- package/server/graphql/resolvers/marketplace-order/initialise-logistics.ts +0 -29
- package/server/graphql/resolvers/marketplace-order/initialise-shopee-logistics-by-batch.ts +0 -97
- package/server/graphql/resolvers/marketplace-order/marketplace-order.ts +0 -12
- package/server/graphql/resolvers/marketplace-order/marketplace-orders-for-batch-init.ts +0 -52
- package/server/graphql/resolvers/marketplace-order/marketplace-orders-for-export.ts +0 -63
- package/server/graphql/resolvers/marketplace-order/marketplace-orders.ts +0 -56
- package/server/graphql/resolvers/marketplace-order/set-marketplace-order-delivered.ts +0 -25
- package/server/graphql/resolvers/marketplace-order/set-marketplace-order-failed-delivery.ts +0 -25
- package/server/graphql/resolvers/marketplace-order/set-own-shipping-provider-by-orders.ts +0 -39
- package/server/graphql/resolvers/marketplace-order/split-orders-by-batch.ts +0 -245
- package/server/graphql/resolvers/marketplace-order/sync-all-marketplace-order.ts +0 -39
- package/server/graphql/resolvers/marketplace-order/sync-marketplace-order.ts +0 -940
- package/server/graphql/resolvers/marketplace-order/sync-marketplace-orders-by-platform.ts +0 -31
- package/server/graphql/resolvers/marketplace-order/sync-shopee-awb.ts +0 -49
- package/server/graphql/resolvers/marketplace-order/update-marketplace-order.ts +0 -35
- package/server/graphql/resolvers/marketplace-order/update-order-ready-to-ship.ts +0 -142
- package/server/graphql/resolvers/marketplace-order-item/create-marketplace-order-item.ts +0 -14
- package/server/graphql/resolvers/marketplace-order-item/delete-marketplace-order-item.ts +0 -10
- package/server/graphql/resolvers/marketplace-order-item/delete-marketplace-order-items.ts +0 -17
- package/server/graphql/resolvers/marketplace-order-item/index.ts +0 -22
- package/server/graphql/resolvers/marketplace-order-item/marketplace-order-item.ts +0 -14
- package/server/graphql/resolvers/marketplace-order-item/marketplace-order-items.ts +0 -15
- package/server/graphql/resolvers/marketplace-order-item/update-marketplace-order-item.ts +0 -18
- package/server/graphql/resolvers/marketplace-order-item/update-multiple-marketplace-order-item.ts +0 -44
- package/server/graphql/resolvers/marketplace-order-shipping/create-marketplace-order-shipping.ts +0 -14
- package/server/graphql/resolvers/marketplace-order-shipping/delete-marketplace-order-shipping.ts +0 -10
- package/server/graphql/resolvers/marketplace-order-shipping/delete-marketplace-order-shippings.ts +0 -17
- package/server/graphql/resolvers/marketplace-order-shipping/index.ts +0 -23
- package/server/graphql/resolvers/marketplace-order-shipping/marketplace-order-shipping.ts +0 -25
- package/server/graphql/resolvers/marketplace-order-shipping/marketplace-order-shippings-for-batch-init.ts +0 -88
- package/server/graphql/resolvers/marketplace-order-shipping/marketplace-order-shippings.ts +0 -43
- package/server/graphql/resolvers/marketplace-order-shipping/update-marketplace-order-shipping.ts +0 -32
- package/server/graphql/resolvers/marketplace-order-shipping/update-multiple-marketplace-order-shipping.ts +0 -44
- package/server/graphql/resolvers/marketplace-order-shipping-item/create-marketplace-order-shipping-item.ts +0 -14
- package/server/graphql/resolvers/marketplace-order-shipping-item/delete-marketplace-order-shipping-item.ts +0 -10
- package/server/graphql/resolvers/marketplace-order-shipping-item/delete-marketplace-order-shipping-items.ts +0 -15
- package/server/graphql/resolvers/marketplace-order-shipping-item/index.ts +0 -20
- package/server/graphql/resolvers/marketplace-order-shipping-item/marketplace-order-shipping-item.ts +0 -21
- package/server/graphql/resolvers/marketplace-order-shipping-item/marketplace-order-shipping-items.ts +0 -14
- package/server/graphql/resolvers/marketplace-order-shipping-item/update-marketplace-order-shipping-item.ts +0 -18
- package/server/graphql/resolvers/marketplace-order-shipping-item/update-multiple-marketplace-order-shipping-item.ts +0 -44
- package/server/graphql/resolvers/marketplace-product/create-marketplace-product.ts +0 -35
- package/server/graphql/resolvers/marketplace-product/delete-marketplace-product.ts +0 -10
- package/server/graphql/resolvers/marketplace-product/delete-marketplace-products.ts +0 -17
- package/server/graphql/resolvers/marketplace-product/index.ts +0 -27
- package/server/graphql/resolvers/marketplace-product/marketplace-product.ts +0 -24
- package/server/graphql/resolvers/marketplace-product/marketplace-products.ts +0 -23
- package/server/graphql/resolvers/marketplace-product/sync-all-marketplace-store-products.ts +0 -225
- package/server/graphql/resolvers/marketplace-product/sync-marketplace-store-products.ts +0 -222
- package/server/graphql/resolvers/marketplace-product/update-marketplace-product.ts +0 -24
- package/server/graphql/resolvers/marketplace-product/upsert-marketplace-product.ts +0 -39
- package/server/graphql/resolvers/marketplace-product-attribute/create-marketplace-product-attribute.ts +0 -14
- package/server/graphql/resolvers/marketplace-product-attribute/delete-marketplace-product-attribute.ts +0 -10
- package/server/graphql/resolvers/marketplace-product-attribute/delete-marketplace-product-attributes.ts +0 -17
- package/server/graphql/resolvers/marketplace-product-attribute/index.ts +0 -22
- package/server/graphql/resolvers/marketplace-product-attribute/marketplace-product-attribute.ts +0 -14
- package/server/graphql/resolvers/marketplace-product-attribute/marketplace-product-attributes.ts +0 -14
- package/server/graphql/resolvers/marketplace-product-attribute/update-marketplace-product-attribute.ts +0 -18
- package/server/graphql/resolvers/marketplace-product-attribute/update-multiple-marketplace-product-attribute.ts +0 -44
- package/server/graphql/resolvers/marketplace-product-category/create-marketplace-product-category.ts +0 -14
- package/server/graphql/resolvers/marketplace-product-category/delete-marketplace-product-categories.ts +0 -17
- package/server/graphql/resolvers/marketplace-product-category/delete-marketplace-product-category.ts +0 -10
- package/server/graphql/resolvers/marketplace-product-category/index.ts +0 -22
- package/server/graphql/resolvers/marketplace-product-category/marketplace-product-categories.ts +0 -14
- package/server/graphql/resolvers/marketplace-product-category/marketplace-product-category.ts +0 -14
- package/server/graphql/resolvers/marketplace-product-category/update-marketplace-product-category.ts +0 -18
- package/server/graphql/resolvers/marketplace-product-category/update-multiple-marketplace-product-category.ts +0 -44
- package/server/graphql/resolvers/marketplace-product-variation/create-marketplace-product-variation.ts +0 -14
- package/server/graphql/resolvers/marketplace-product-variation/delete-marketplace-product-variation.ts +0 -10
- package/server/graphql/resolvers/marketplace-product-variation/delete-marketplace-product-variations.ts +0 -17
- package/server/graphql/resolvers/marketplace-product-variation/index.ts +0 -30
- package/server/graphql/resolvers/marketplace-product-variation/link-warehouse-marketplace-product-variations.ts +0 -59
- package/server/graphql/resolvers/marketplace-product-variation/marketplace-product-variation.ts +0 -14
- package/server/graphql/resolvers/marketplace-product-variation/marketplace-product-variations.ts +0 -79
- package/server/graphql/resolvers/marketplace-product-variation/update-marketplace-product-variation.ts +0 -32
- package/server/graphql/resolvers/marketplace-product-variation/update-multiple-marketplace-product-variation-quantity.ts +0 -76
- package/server/graphql/resolvers/marketplace-product-variation/update-multiple-marketplace-product-variations.ts +0 -49
- package/server/graphql/resolvers/marketplace-product-variation-price/create-marketplace-product-variation-price.ts +0 -16
- package/server/graphql/resolvers/marketplace-product-variation-price/delete-marketplace-product-variation-price.ts +0 -13
- package/server/graphql/resolvers/marketplace-product-variation-price/delete-marketplace-product-variation-prices.ts +0 -18
- package/server/graphql/resolvers/marketplace-product-variation-price/index.ts +0 -19
- package/server/graphql/resolvers/marketplace-product-variation-price/marketplace-product-variation-price-query.ts +0 -52
- package/server/graphql/resolvers/marketplace-product-variation-price/update-marketplace-product-variation-price.ts +0 -20
- package/server/graphql/resolvers/marketplace-product-variation-price/update-multiple-marketplace-product-variation-price.ts +0 -49
- package/server/graphql/resolvers/marketplace-refund-order/index.ts +0 -9
- package/server/graphql/resolvers/marketplace-refund-order/sync-all-marketplace-refund-orders.ts +0 -122
- package/server/graphql/resolvers/marketplace-refund-order/sync-marketplace-refund-orders.ts +0 -106
- package/server/graphql/resolvers/marketplace-report/index.ts +0 -7
- package/server/graphql/resolvers/marketplace-report/marketplace-sales-report.ts +0 -143
- package/server/graphql/resolvers/store-replenishment/create-store-replenishment.ts +0 -16
- package/server/graphql/resolvers/store-replenishment/delete-store-replenishment.ts +0 -13
- package/server/graphql/resolvers/store-replenishment/delete-store-replenishments.ts +0 -18
- package/server/graphql/resolvers/store-replenishment/index.ts +0 -19
- package/server/graphql/resolvers/store-replenishment/store-replenishment-query.ts +0 -52
- package/server/graphql/resolvers/store-replenishment/update-multiple-store-replenishment.ts +0 -49
- package/server/graphql/resolvers/store-replenishment/update-store-replenishment.ts +0 -20
- package/server/graphql/resolvers/store-replenishment-item/create-store-replenishment-item.ts +0 -16
- package/server/graphql/resolvers/store-replenishment-item/delete-store-replenishment-item.ts +0 -13
- package/server/graphql/resolvers/store-replenishment-item/delete-store-replenishment-items.ts +0 -18
- package/server/graphql/resolvers/store-replenishment-item/index.ts +0 -19
- package/server/graphql/resolvers/store-replenishment-item/store-replenishment-item-query.ts +0 -52
- package/server/graphql/resolvers/store-replenishment-item/update-multiple-store-replenishment-item.ts +0 -49
- package/server/graphql/resolvers/store-replenishment-item/update-store-replenishment-item.ts +0 -20
- package/server/graphql/types/index.ts +0 -13
- package/server/graphql/types/marketplace-order/dashboard-order.ts +0 -13
- package/server/graphql/types/marketplace-order/full-logistics-detail.ts +0 -10
- package/server/graphql/types/marketplace-order/index.ts +0 -69
- package/server/graphql/types/marketplace-order/logistics-detail.ts +0 -8
- package/server/graphql/types/marketplace-order/logistics-info.ts +0 -27
- package/server/graphql/types/marketplace-order/logistics-init.ts +0 -9
- package/server/graphql/types/marketplace-order/logistics-time.ts +0 -9
- package/server/graphql/types/marketplace-order/logistics.ts +0 -21
- package/server/graphql/types/marketplace-order/marketplace-logistics.ts +0 -11
- package/server/graphql/types/marketplace-order/marketplace-order-export.ts +0 -19
- package/server/graphql/types/marketplace-order/marketplace-order-list.ts +0 -8
- package/server/graphql/types/marketplace-order/marketplace-order-patch.ts +0 -14
- package/server/graphql/types/marketplace-order/marketplace-order.ts +0 -40
- package/server/graphql/types/marketplace-order/new-marketplace-order.ts +0 -22
- package/server/graphql/types/marketplace-order/order-address.ts +0 -16
- package/server/graphql/types/marketplace-order/order-document.ts +0 -13
- package/server/graphql/types/marketplace-order-item/index.ts +0 -21
- package/server/graphql/types/marketplace-order-item/marketplace-order-item-list.ts +0 -8
- package/server/graphql/types/marketplace-order-item/marketplace-order-item-patch.ts +0 -10
- package/server/graphql/types/marketplace-order-item/marketplace-order-item.ts +0 -32
- package/server/graphql/types/marketplace-order-item/new-marketplace-order-item.ts +0 -17
- package/server/graphql/types/marketplace-order-shipping/index.ts +0 -31
- package/server/graphql/types/marketplace-order-shipping/marketplace-order-shipping-list.ts +0 -8
- package/server/graphql/types/marketplace-order-shipping/marketplace-order-shipping-patch.ts +0 -45
- package/server/graphql/types/marketplace-order-shipping/marketplace-order-shipping.ts +0 -59
- package/server/graphql/types/marketplace-order-shipping/new-marketplace-order-shipping.ts +0 -44
- package/server/graphql/types/marketplace-order-shipping-item/index.ts +0 -32
- package/server/graphql/types/marketplace-order-shipping-item/marketplace-order-shipping-item-list.ts +0 -8
- package/server/graphql/types/marketplace-order-shipping-item/marketplace-order-shipping-item-patch.ts +0 -13
- package/server/graphql/types/marketplace-order-shipping-item/marketplace-order-shipping-item.ts +0 -16
- package/server/graphql/types/marketplace-order-shipping-item/new-marketplace-order-shipping-item.ts +0 -12
- package/server/graphql/types/marketplace-product/index.ts +0 -28
- package/server/graphql/types/marketplace-product/marketplace-product-list.ts +0 -8
- package/server/graphql/types/marketplace-product/marketplace-product-patch.ts +0 -24
- package/server/graphql/types/marketplace-product/marketplace-product.ts +0 -30
- package/server/graphql/types/marketplace-product/new-marketplace-product.ts +0 -24
- package/server/graphql/types/marketplace-product-attribute/index.ts +0 -35
- package/server/graphql/types/marketplace-product-attribute/marketplace-product-attribute-list.ts +0 -8
- package/server/graphql/types/marketplace-product-attribute/marketplace-product-attribute-patch.ts +0 -10
- package/server/graphql/types/marketplace-product-attribute/marketplace-product-attribute.ts +0 -20
- package/server/graphql/types/marketplace-product-attribute/new-marketplace-product-attribute.ts +0 -13
- package/server/graphql/types/marketplace-product-category/index.ts +0 -28
- package/server/graphql/types/marketplace-product-category/marketplace-product-category-list.ts +0 -8
- package/server/graphql/types/marketplace-product-category/marketplace-product-category-patch.ts +0 -10
- package/server/graphql/types/marketplace-product-category/marketplace-product-category.ts +0 -17
- package/server/graphql/types/marketplace-product-category/new-marketplace-product-category.ts +0 -10
- package/server/graphql/types/marketplace-product-variation/index.ts +0 -47
- package/server/graphql/types/marketplace-product-variation/marketplace-product-variation-list.ts +0 -8
- package/server/graphql/types/marketplace-product-variation/marketplace-product-variation-patch.ts +0 -32
- package/server/graphql/types/marketplace-product-variation/marketplace-product-variation.ts +0 -35
- package/server/graphql/types/marketplace-product-variation/new-marketplace-product-variation.ts +0 -26
- package/server/graphql/types/marketplace-product-variation/warehouse-product.ts +0 -9
- package/server/graphql/types/marketplace-product-variation-price/index.ts +0 -21
- package/server/graphql/types/marketplace-product-variation-price/marketplace-product-variation-price-list.ts +0 -8
- package/server/graphql/types/marketplace-product-variation-price/marketplace-product-variation-price-patch.ts +0 -17
- package/server/graphql/types/marketplace-product-variation-price/marketplace-product-variation-price.ts +0 -21
- package/server/graphql/types/marketplace-product-variation-price/new-marketplace-product-variation-price.ts +0 -14
- package/server/graphql/types/marketplace-refund-order/index.ts +0 -16
- package/server/graphql/types/marketplace-refund-order/marketplace-refund-order-list.ts +0 -8
- package/server/graphql/types/marketplace-refund-order/marketplace-refund-order.ts +0 -17
- package/server/graphql/types/marketplace-report/index.ts +0 -10
- package/server/graphql/types/marketplace-report/marketplace-sales-report-list.ts +0 -8
- package/server/graphql/types/marketplace-report/marketplace-sales-report.ts +0 -67
- package/server/graphql/types/store-replenishment/index.ts +0 -21
- package/server/graphql/types/store-replenishment/new-store-replenishment.ts +0 -8
- package/server/graphql/types/store-replenishment/store-replenishment-list.ts +0 -8
- package/server/graphql/types/store-replenishment/store-replenishment-patch.ts +0 -10
- package/server/graphql/types/store-replenishment/store-replenishment.ts +0 -24
- package/server/graphql/types/store-replenishment-item/index.ts +0 -21
- package/server/graphql/types/store-replenishment-item/new-store-replenishment-item.ts +0 -8
- package/server/graphql/types/store-replenishment-item/store-replenishment-item-list.ts +0 -8
- package/server/graphql/types/store-replenishment-item/store-replenishment-item-patch.ts +0 -10
- package/server/graphql/types/store-replenishment-item/store-replenishment-item.ts +0 -15
- package/server/index.ts +0 -6
- package/server/middlewares/index.ts +0 -3
- package/server/migrations/index.ts +0 -9
- package/server/routes.ts +0 -26
- package/server/utils/index.ts +0 -1
- package/server/utils/no-generator.ts +0 -25
- package/tsconfig.json +0 -9
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/marketplace-base",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "9.0.0-beta.12",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -24,11 +24,11 @@
|
|
|
24
24
|
"migration:create": "node ../../node_modules/typeorm/cli.js migration:create ./server/migrations/migration"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@things-factory/env": "^
|
|
28
|
-
"@things-factory/integration-fulfillment": "^
|
|
29
|
-
"@things-factory/integration-marketplace": "^
|
|
30
|
-
"@things-factory/product-base": "^
|
|
31
|
-
"@things-factory/shell": "^
|
|
27
|
+
"@things-factory/env": "^9.0.0-beta.5",
|
|
28
|
+
"@things-factory/integration-fulfillment": "^9.0.0-beta.12",
|
|
29
|
+
"@things-factory/integration-marketplace": "^9.0.0-beta.12",
|
|
30
|
+
"@things-factory/product-base": "^9.0.0-beta.12",
|
|
31
|
+
"@things-factory/shell": "^9.0.0-beta.12"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "5e9ade1c2d4b4c96b89396e36c3afa1caaf18ef0"
|
|
34
34
|
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export const ORDER_STATUS = {
|
|
2
|
-
CANCELLED: 'cancelled',
|
|
3
|
-
COMPLETED: 'completed',
|
|
4
|
-
DELIVERED: 'delivered',
|
|
5
|
-
PACKED: 'packed',
|
|
6
|
-
PENDING: 'pending',
|
|
7
|
-
READY_TO_SHIP: 'ready_to_ship',
|
|
8
|
-
SHIPPED: 'shipped',
|
|
9
|
-
TO_CONFIRM_RECEIVE: 'to_confirm_receive',
|
|
10
|
-
UNPAID: 'unpaid'
|
|
11
|
-
}
|
|
File without changes
|
package/server/entities/index.ts
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { MarketplaceOrder } from './marketplace-order'
|
|
2
|
-
import { MarketplaceOrderItem } from './marketplace-order-item'
|
|
3
|
-
import { MarketplaceOrderShipping } from './marketplace-order-shipping'
|
|
4
|
-
import { MarketplaceOrderShippingItem } from './marketplace-order-shipping-item'
|
|
5
|
-
import { MarketplaceProduct } from './marketplace-product'
|
|
6
|
-
import { MarketplaceProductAttribute } from './marketplace-product-attribute'
|
|
7
|
-
import { MarketplaceProductCategory } from './marketplace-product-category'
|
|
8
|
-
import { MarketplaceProductVariation } from './marketplace-product-variation'
|
|
9
|
-
import { MarketplaceProductVariationPrice } from './marketplace-product-variation-price'
|
|
10
|
-
import { MarketplaceRefundOrder } from './marketplace-refund-order'
|
|
11
|
-
import { MarketplaceRefundOrderItem } from './marketplace-refund-order-item'
|
|
12
|
-
import { StoreReplenishment } from './store-replenishment'
|
|
13
|
-
import { StoreReplenishmentItem } from './store-replenishment-item'
|
|
14
|
-
|
|
15
|
-
export const entities = [
|
|
16
|
-
MarketplaceProductVariationPrice,
|
|
17
|
-
StoreReplenishment,
|
|
18
|
-
StoreReplenishmentItem,
|
|
19
|
-
MarketplaceProduct,
|
|
20
|
-
MarketplaceProductAttribute,
|
|
21
|
-
MarketplaceProductVariation,
|
|
22
|
-
MarketplaceProductCategory,
|
|
23
|
-
MarketplaceOrder,
|
|
24
|
-
MarketplaceOrderItem,
|
|
25
|
-
MarketplaceOrderShipping,
|
|
26
|
-
MarketplaceRefundOrder,
|
|
27
|
-
MarketplaceRefundOrderItem,
|
|
28
|
-
MarketplaceOrderShippingItem
|
|
29
|
-
]
|
|
30
|
-
|
|
31
|
-
export {
|
|
32
|
-
MarketplaceOrder,
|
|
33
|
-
MarketplaceOrderItem,
|
|
34
|
-
MarketplaceOrderShipping,
|
|
35
|
-
MarketplaceOrderShippingItem,
|
|
36
|
-
MarketplaceProduct,
|
|
37
|
-
MarketplaceProductAttribute,
|
|
38
|
-
MarketplaceProductCategory,
|
|
39
|
-
MarketplaceProductVariation,
|
|
40
|
-
MarketplaceProductVariationPrice,
|
|
41
|
-
MarketplaceRefundOrder,
|
|
42
|
-
MarketplaceRefundOrderItem,
|
|
43
|
-
StoreReplenishment,
|
|
44
|
-
StoreReplenishmentItem
|
|
45
|
-
}
|
|
@@ -1,137 +0,0 @@
|
|
|
1
|
-
import { Column, CreateDateColumn, Entity, Index, ManyToOne, OneToMany, PrimaryGeneratedColumn, UpdateDateColumn } from 'typeorm'
|
|
2
|
-
|
|
3
|
-
import { User } from '@things-factory/auth-base'
|
|
4
|
-
import { Domain, roundTransformer } from '@things-factory/shell'
|
|
5
|
-
|
|
6
|
-
import { MarketplaceOrder, MarketplaceOrderShippingItem, MarketplaceProductVariation } from '../entities'
|
|
7
|
-
|
|
8
|
-
@Entity()
|
|
9
|
-
@Index('ix_marketplace-order-item_0', (marketplaceOrderItem: MarketplaceOrderItem) => [marketplaceOrderItem.domain, marketplaceOrderItem.id], { unique: true })
|
|
10
|
-
export class MarketplaceOrderItem {
|
|
11
|
-
@PrimaryGeneratedColumn('uuid')
|
|
12
|
-
id: string
|
|
13
|
-
|
|
14
|
-
@ManyToOne(type => Domain)
|
|
15
|
-
domain: Domain
|
|
16
|
-
|
|
17
|
-
@ManyToOne(type => MarketplaceProductVariation)
|
|
18
|
-
marketplaceProductVariation: MarketplaceProductVariation
|
|
19
|
-
|
|
20
|
-
@ManyToOne(type => MarketplaceOrder)
|
|
21
|
-
marketplaceOrder: MarketplaceOrder
|
|
22
|
-
|
|
23
|
-
@OneToMany(type => MarketplaceOrderShippingItem, marketplaceOrderShippingItem => marketplaceOrderShippingItem.marketplaceOrderItem)
|
|
24
|
-
marketplaceOrderShippingItems: MarketplaceOrderShippingItem[]
|
|
25
|
-
|
|
26
|
-
@Column()
|
|
27
|
-
name: string
|
|
28
|
-
|
|
29
|
-
@Column({ nullable: true, type: 'float', transformer: roundTransformer })
|
|
30
|
-
qty: number
|
|
31
|
-
|
|
32
|
-
@Column({ nullable: true })
|
|
33
|
-
cancelBy: string
|
|
34
|
-
|
|
35
|
-
@Column({ nullable: true })
|
|
36
|
-
returnStatus: string
|
|
37
|
-
|
|
38
|
-
@Column({ nullable: true })
|
|
39
|
-
paidPrice: string
|
|
40
|
-
|
|
41
|
-
@Column({ type: 'float', nullable: true, transformer: roundTransformer })
|
|
42
|
-
originalPrice: number
|
|
43
|
-
|
|
44
|
-
@Column({ type: 'float', nullable: true, transformer: roundTransformer })
|
|
45
|
-
discount: number
|
|
46
|
-
|
|
47
|
-
@Column({ nullable: true })
|
|
48
|
-
promotionId: string
|
|
49
|
-
|
|
50
|
-
@Column({ nullable: true })
|
|
51
|
-
packageId: string
|
|
52
|
-
|
|
53
|
-
@Column({ nullable: true })
|
|
54
|
-
invoiceNo: string
|
|
55
|
-
|
|
56
|
-
@Column({ nullable: true })
|
|
57
|
-
reason: string
|
|
58
|
-
|
|
59
|
-
@Column({ nullable: true })
|
|
60
|
-
docRefNo: string
|
|
61
|
-
|
|
62
|
-
@Column({ nullable: true })
|
|
63
|
-
trackingCode: string
|
|
64
|
-
|
|
65
|
-
@Column()
|
|
66
|
-
status: string
|
|
67
|
-
|
|
68
|
-
@Column({ nullable: true })
|
|
69
|
-
description: string
|
|
70
|
-
|
|
71
|
-
@Column({ nullable: true, type: 'float', transformer: roundTransformer })
|
|
72
|
-
paymentFee: number
|
|
73
|
-
|
|
74
|
-
@Column({ nullable: true, type: 'float', transformer: roundTransformer })
|
|
75
|
-
commissionFee: number
|
|
76
|
-
|
|
77
|
-
@Column({ nullable: true, type: 'float', transformer: roundTransformer })
|
|
78
|
-
shippingFeePaidByCustomer: number
|
|
79
|
-
|
|
80
|
-
@Column({ nullable: true, type: 'float', transformer: roundTransformer })
|
|
81
|
-
promotionalCharges: number
|
|
82
|
-
|
|
83
|
-
@Column({ nullable: true, type: 'float', transformer: roundTransformer })
|
|
84
|
-
ordersMarketplaceFeesTotal: number
|
|
85
|
-
|
|
86
|
-
@Column({ nullable: true, type: 'float', transformer: roundTransformer })
|
|
87
|
-
ordersMarketingFeesTotal: number
|
|
88
|
-
|
|
89
|
-
@Column({ nullable: true, type: 'float', transformer: roundTransformer })
|
|
90
|
-
ordersSalesTotal: number
|
|
91
|
-
|
|
92
|
-
@Column({ nullable: true, type: 'float', transformer: roundTransformer })
|
|
93
|
-
ordersLogisticsTotal: number
|
|
94
|
-
|
|
95
|
-
@Column({ nullable: true, type: 'float', transformer: roundTransformer })
|
|
96
|
-
itemPriceCredit: number
|
|
97
|
-
|
|
98
|
-
@Column({ nullable: true, type: 'float', transformer: roundTransformer })
|
|
99
|
-
marketplaceBonus: number
|
|
100
|
-
|
|
101
|
-
@Column({ nullable: true, type: 'float', transformer: roundTransformer })
|
|
102
|
-
marketplaceBonusSeller: number
|
|
103
|
-
|
|
104
|
-
@Column({ nullable: true, type: 'float', transformer: roundTransformer })
|
|
105
|
-
shippingFeeDiscountMarketplace: number
|
|
106
|
-
|
|
107
|
-
@Column({ nullable: true, type: 'float', transformer: roundTransformer })
|
|
108
|
-
shippingFeeDiscountSeller: number
|
|
109
|
-
|
|
110
|
-
@Column({ nullable: true, type: 'float', transformer: roundTransformer })
|
|
111
|
-
promotionalChargesFlexiCombo: number
|
|
112
|
-
|
|
113
|
-
@Column({ nullable: true, type: 'float', transformer: roundTransformer })
|
|
114
|
-
autoShippingSubsidyMarketplace: number
|
|
115
|
-
|
|
116
|
-
@Column({ nullable: true, type: 'float', transformer: roundTransformer })
|
|
117
|
-
originalShippingFee: number
|
|
118
|
-
|
|
119
|
-
@Column({ nullable: true, type: 'float', transformer: roundTransformer })
|
|
120
|
-
taxAmount: number
|
|
121
|
-
|
|
122
|
-
@CreateDateColumn()
|
|
123
|
-
createdAt: Date
|
|
124
|
-
|
|
125
|
-
@UpdateDateColumn()
|
|
126
|
-
updatedAt: Date
|
|
127
|
-
|
|
128
|
-
@ManyToOne(type => User, {
|
|
129
|
-
nullable: true
|
|
130
|
-
})
|
|
131
|
-
creator: User
|
|
132
|
-
|
|
133
|
-
@ManyToOne(type => User, {
|
|
134
|
-
nullable: true
|
|
135
|
-
})
|
|
136
|
-
updater: User
|
|
137
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { Column, CreateDateColumn, Entity, Index, ManyToOne, PrimaryGeneratedColumn, UpdateDateColumn } from 'typeorm'
|
|
2
|
-
|
|
3
|
-
import { User } from '@things-factory/auth-base'
|
|
4
|
-
import { Product } from '@things-factory/product-base'
|
|
5
|
-
import { Domain } from '@things-factory/shell'
|
|
6
|
-
|
|
7
|
-
import { MarketplaceOrderItem, MarketplaceOrderShipping } from '../entities'
|
|
8
|
-
|
|
9
|
-
@Entity()
|
|
10
|
-
@Index(
|
|
11
|
-
'ix_marketplace-order-shipping-item_0',
|
|
12
|
-
(marketplaceOrderShippingItem: MarketplaceOrderShippingItem) => [
|
|
13
|
-
marketplaceOrderShippingItem.domain,
|
|
14
|
-
marketplaceOrderShippingItem.name
|
|
15
|
-
],
|
|
16
|
-
{ unique: true }
|
|
17
|
-
)
|
|
18
|
-
export class MarketplaceOrderShippingItem {
|
|
19
|
-
@PrimaryGeneratedColumn('uuid')
|
|
20
|
-
id: string
|
|
21
|
-
|
|
22
|
-
@ManyToOne(type => Domain)
|
|
23
|
-
domain: Domain
|
|
24
|
-
|
|
25
|
-
@ManyToOne(type => MarketplaceOrderItem)
|
|
26
|
-
marketplaceOrderItem: MarketplaceOrderItem
|
|
27
|
-
|
|
28
|
-
@ManyToOne(type => MarketplaceOrderShipping)
|
|
29
|
-
marketplaceOrderShipping: MarketplaceOrderShipping
|
|
30
|
-
|
|
31
|
-
@ManyToOne(type => Product, { nullable: true })
|
|
32
|
-
product: Product
|
|
33
|
-
|
|
34
|
-
@Column()
|
|
35
|
-
name: string
|
|
36
|
-
|
|
37
|
-
@Column({ type: 'int', nullable: true })
|
|
38
|
-
qty: number
|
|
39
|
-
|
|
40
|
-
@CreateDateColumn()
|
|
41
|
-
createdAt: Date
|
|
42
|
-
|
|
43
|
-
@UpdateDateColumn()
|
|
44
|
-
updatedAt: Date
|
|
45
|
-
|
|
46
|
-
@ManyToOne(type => User, {
|
|
47
|
-
nullable: true
|
|
48
|
-
})
|
|
49
|
-
creator: User
|
|
50
|
-
|
|
51
|
-
@ManyToOne(type => User, {
|
|
52
|
-
nullable: true
|
|
53
|
-
})
|
|
54
|
-
updater: User
|
|
55
|
-
}
|
|
@@ -1,168 +0,0 @@
|
|
|
1
|
-
import { Column, CreateDateColumn, Entity, Index, ManyToOne, OneToMany, PrimaryGeneratedColumn, UpdateDateColumn } from 'typeorm'
|
|
2
|
-
|
|
3
|
-
import { User } from '@things-factory/auth-base'
|
|
4
|
-
import { FulfillmentCenter } from '@things-factory/integration-fulfillment'
|
|
5
|
-
import { MarketplaceStore } from '@things-factory/integration-marketplace'
|
|
6
|
-
import { Domain, roundTransformer } from '@things-factory/shell'
|
|
7
|
-
|
|
8
|
-
import { MarketplaceOrderShippingItem } from '../entities'
|
|
9
|
-
|
|
10
|
-
@Entity()
|
|
11
|
-
@Index('ix_marketplace-order-shipping_0', (marketplaceOrderShipping: MarketplaceOrderShipping) => [marketplaceOrderShipping.domain, marketplaceOrderShipping.name], {
|
|
12
|
-
unique: true
|
|
13
|
-
})
|
|
14
|
-
export class MarketplaceOrderShipping {
|
|
15
|
-
@PrimaryGeneratedColumn('uuid')
|
|
16
|
-
id: string
|
|
17
|
-
|
|
18
|
-
@ManyToOne(type => Domain)
|
|
19
|
-
domain: Domain
|
|
20
|
-
|
|
21
|
-
@Column()
|
|
22
|
-
name: string
|
|
23
|
-
|
|
24
|
-
@OneToMany(type => MarketplaceOrderShippingItem, marketplaceOrderShippingItem => marketplaceOrderShippingItem.marketplaceOrderShipping)
|
|
25
|
-
marketplaceOrderShippingItems: MarketplaceOrderShippingItem[]
|
|
26
|
-
|
|
27
|
-
@ManyToOne(type => MarketplaceStore)
|
|
28
|
-
marketplaceStore: MarketplaceStore
|
|
29
|
-
|
|
30
|
-
@Column({ nullable: true })
|
|
31
|
-
orderNoRef: string
|
|
32
|
-
|
|
33
|
-
@Column({ nullable: true })
|
|
34
|
-
subOrderNoRef: string
|
|
35
|
-
|
|
36
|
-
@Column()
|
|
37
|
-
address1: string
|
|
38
|
-
|
|
39
|
-
@Column({ nullable: true })
|
|
40
|
-
address2: string
|
|
41
|
-
|
|
42
|
-
@Column({ nullable: true })
|
|
43
|
-
address3: string
|
|
44
|
-
|
|
45
|
-
@Column({ nullable: true })
|
|
46
|
-
address4: string
|
|
47
|
-
|
|
48
|
-
@Column({ nullable: true })
|
|
49
|
-
address5: string
|
|
50
|
-
|
|
51
|
-
@Column()
|
|
52
|
-
attentionTo: string
|
|
53
|
-
|
|
54
|
-
@Column()
|
|
55
|
-
city: string
|
|
56
|
-
|
|
57
|
-
@Column({ nullable: true })
|
|
58
|
-
state: string
|
|
59
|
-
|
|
60
|
-
@Column()
|
|
61
|
-
postCode: string
|
|
62
|
-
|
|
63
|
-
@Column()
|
|
64
|
-
country: string
|
|
65
|
-
|
|
66
|
-
@Column({ nullable: true })
|
|
67
|
-
phone1: string
|
|
68
|
-
|
|
69
|
-
@Column({ nullable: true })
|
|
70
|
-
phone2: string
|
|
71
|
-
|
|
72
|
-
@Column({ nullable: true })
|
|
73
|
-
email: string
|
|
74
|
-
|
|
75
|
-
@Column({ nullable: true })
|
|
76
|
-
transporter: string
|
|
77
|
-
|
|
78
|
-
@Column({ nullable: true })
|
|
79
|
-
ownTransporter: string
|
|
80
|
-
|
|
81
|
-
@Column({ nullable: true })
|
|
82
|
-
orderType: string
|
|
83
|
-
|
|
84
|
-
@Column({ nullable: true, type: 'int' })
|
|
85
|
-
freightType: number
|
|
86
|
-
|
|
87
|
-
@Column({ nullable: true, type: 'int' })
|
|
88
|
-
parcelType: number
|
|
89
|
-
|
|
90
|
-
@Column({ nullable: true, type: 'int' })
|
|
91
|
-
goodsType: number
|
|
92
|
-
|
|
93
|
-
@Column({ nullable: true, type: 'int' })
|
|
94
|
-
deliveryMethod: number
|
|
95
|
-
|
|
96
|
-
@Column({ nullable: true })
|
|
97
|
-
description: string
|
|
98
|
-
|
|
99
|
-
@Column({ nullable: true })
|
|
100
|
-
weightUnit: string
|
|
101
|
-
|
|
102
|
-
@Column({ nullable: true, type: 'float', transformer: roundTransformer })
|
|
103
|
-
totalWeight: number
|
|
104
|
-
|
|
105
|
-
@Column({ nullable: true })
|
|
106
|
-
volumeUnit: string
|
|
107
|
-
|
|
108
|
-
@Column({ nullable: true, type: 'float', transformer: roundTransformer })
|
|
109
|
-
totalVolume: number
|
|
110
|
-
|
|
111
|
-
@Column({ nullable: true })
|
|
112
|
-
collectionType: string
|
|
113
|
-
|
|
114
|
-
@Column({ nullable: true, type: 'float', transformer: roundTransformer })
|
|
115
|
-
collectionAmount: number
|
|
116
|
-
|
|
117
|
-
@Column({ nullable: true })
|
|
118
|
-
collectionCurrency: string
|
|
119
|
-
|
|
120
|
-
@Column({ nullable: true })
|
|
121
|
-
trackingNo: string
|
|
122
|
-
|
|
123
|
-
@Column({ nullable: true })
|
|
124
|
-
ownTrackingNo: string
|
|
125
|
-
|
|
126
|
-
@Column({ nullable: true })
|
|
127
|
-
airwayBill: string
|
|
128
|
-
|
|
129
|
-
@Column({ nullable: true })
|
|
130
|
-
invoice: string
|
|
131
|
-
|
|
132
|
-
@Column({ type: 'float', nullable: true, transformer: roundTransformer })
|
|
133
|
-
shippingFee: number
|
|
134
|
-
|
|
135
|
-
@Column({ type: 'float', nullable: true, transformer: roundTransformer })
|
|
136
|
-
actualShippingFee: number
|
|
137
|
-
|
|
138
|
-
@Column({ type: 'float', nullable: true, transformer: roundTransformer })
|
|
139
|
-
marketplaceShippingFeeVoucher: number
|
|
140
|
-
|
|
141
|
-
@Column({ type: 'float', nullable: true, transformer: roundTransformer })
|
|
142
|
-
sellerShippingFeeVoucher: number
|
|
143
|
-
|
|
144
|
-
@Column({ nullable: true })
|
|
145
|
-
releaseOrderId: string
|
|
146
|
-
|
|
147
|
-
@ManyToOne(type => FulfillmentCenter, { nullable: true })
|
|
148
|
-
fulfillmentCenter: FulfillmentCenter
|
|
149
|
-
|
|
150
|
-
@Column({ nullable: true })
|
|
151
|
-
trackingUrl: String
|
|
152
|
-
|
|
153
|
-
@CreateDateColumn()
|
|
154
|
-
createdAt: Date
|
|
155
|
-
|
|
156
|
-
@UpdateDateColumn()
|
|
157
|
-
updatedAt: Date
|
|
158
|
-
|
|
159
|
-
@ManyToOne(type => User, {
|
|
160
|
-
nullable: true
|
|
161
|
-
})
|
|
162
|
-
creator: User
|
|
163
|
-
|
|
164
|
-
@ManyToOne(type => User, {
|
|
165
|
-
nullable: true
|
|
166
|
-
})
|
|
167
|
-
updater: User
|
|
168
|
-
}
|
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
import { Column, CreateDateColumn, Entity, Index, ManyToOne, OneToMany, PrimaryGeneratedColumn, UpdateDateColumn } from 'typeorm'
|
|
2
|
-
|
|
3
|
-
import { User } from '@things-factory/auth-base'
|
|
4
|
-
import { FulfillmentCenter } from '@things-factory/integration-fulfillment'
|
|
5
|
-
import { MarketplaceStore } from '@things-factory/integration-marketplace'
|
|
6
|
-
import { Domain, roundTransformer } from '@things-factory/shell'
|
|
7
|
-
|
|
8
|
-
import { MarketplaceOrderItem } from '../entities'
|
|
9
|
-
|
|
10
|
-
@Entity()
|
|
11
|
-
@Index('ix_marketplace-order_0', (marketplaceOrder: MarketplaceOrder) => [marketplaceOrder.domain, marketplaceOrder.name, marketplaceOrder.marketplaceStore], {
|
|
12
|
-
unique: true
|
|
13
|
-
})
|
|
14
|
-
export class MarketplaceOrder {
|
|
15
|
-
@PrimaryGeneratedColumn('uuid')
|
|
16
|
-
id: string
|
|
17
|
-
|
|
18
|
-
@ManyToOne(type => Domain)
|
|
19
|
-
domain: Domain
|
|
20
|
-
|
|
21
|
-
@ManyToOne(type => MarketplaceStore)
|
|
22
|
-
marketplaceStore: MarketplaceStore
|
|
23
|
-
|
|
24
|
-
@OneToMany(type => MarketplaceOrderItem, marketplaceOrderItem => marketplaceOrderItem.marketplaceOrder)
|
|
25
|
-
marketplaceOrderItems: MarketplaceOrderItem[]
|
|
26
|
-
|
|
27
|
-
@Column()
|
|
28
|
-
name: string
|
|
29
|
-
|
|
30
|
-
@Column({ nullable: true })
|
|
31
|
-
description: string
|
|
32
|
-
|
|
33
|
-
@Column({ nullable: true })
|
|
34
|
-
orderNo: string
|
|
35
|
-
|
|
36
|
-
@Column({ nullable: true })
|
|
37
|
-
currency: string
|
|
38
|
-
|
|
39
|
-
@Column({ type: 'int', nullable: true })
|
|
40
|
-
itemCount: number
|
|
41
|
-
|
|
42
|
-
@Column({ type: 'float', nullable: true, transformer: roundTransformer })
|
|
43
|
-
totalAmount: number
|
|
44
|
-
|
|
45
|
-
@Column({ nullable: true })
|
|
46
|
-
paymentMethod: string
|
|
47
|
-
|
|
48
|
-
@Column({ nullable: true })
|
|
49
|
-
type: string
|
|
50
|
-
|
|
51
|
-
@Column({ nullable: true })
|
|
52
|
-
remark: string
|
|
53
|
-
|
|
54
|
-
@Column({ nullable: true })
|
|
55
|
-
giftOption: Boolean
|
|
56
|
-
|
|
57
|
-
@Column({ nullable: true })
|
|
58
|
-
voucherCode: string
|
|
59
|
-
|
|
60
|
-
@Column({ nullable: true })
|
|
61
|
-
discountValue: string
|
|
62
|
-
|
|
63
|
-
@Column({ nullable: true })
|
|
64
|
-
trackingNo: string
|
|
65
|
-
|
|
66
|
-
@Column({ nullable: true })
|
|
67
|
-
ownTrackingNo: string
|
|
68
|
-
|
|
69
|
-
@Column({ nullable: true })
|
|
70
|
-
shippingProvider: string
|
|
71
|
-
|
|
72
|
-
@Column({ nullable: true })
|
|
73
|
-
ownShippingProvider: string
|
|
74
|
-
|
|
75
|
-
@Column()
|
|
76
|
-
status: string
|
|
77
|
-
|
|
78
|
-
@Column({ nullable: true })
|
|
79
|
-
releaseOrderId: string
|
|
80
|
-
|
|
81
|
-
@ManyToOne(type => FulfillmentCenter, { nullable: true })
|
|
82
|
-
fulfillmentCenter: FulfillmentCenter
|
|
83
|
-
|
|
84
|
-
@Column({ nullable: true })
|
|
85
|
-
orderCreatedAt: Date
|
|
86
|
-
|
|
87
|
-
@Column({ nullable: true })
|
|
88
|
-
orderUpdatedAt: Date
|
|
89
|
-
|
|
90
|
-
@Column({ nullable: true })
|
|
91
|
-
otherInfoJSON: string
|
|
92
|
-
|
|
93
|
-
@Column({ nullable: true })
|
|
94
|
-
isSplitted: boolean
|
|
95
|
-
|
|
96
|
-
@Column({ nullable: true })
|
|
97
|
-
buyerUsername: string
|
|
98
|
-
|
|
99
|
-
@Column({ nullable: true })
|
|
100
|
-
payTime: Date
|
|
101
|
-
|
|
102
|
-
@Column({ nullable: true, type: 'float', transformer: roundTransformer })
|
|
103
|
-
commissionFee: Number
|
|
104
|
-
|
|
105
|
-
@Column({ nullable: true, type: 'float', transformer: roundTransformer })
|
|
106
|
-
serviceFee: Number
|
|
107
|
-
|
|
108
|
-
@Column({ nullable: true, type: 'float', transformer: roundTransformer })
|
|
109
|
-
transactionFee: Number
|
|
110
|
-
|
|
111
|
-
@Column({ nullable: true, type: 'float', transformer: roundTransformer })
|
|
112
|
-
totalRealeasedAmount: Number
|
|
113
|
-
|
|
114
|
-
@Column({ nullable: true, type: 'float', transformer: roundTransformer })
|
|
115
|
-
voucherAmount: String
|
|
116
|
-
|
|
117
|
-
@Column({ nullable: true, type: 'float', transformer: roundTransformer })
|
|
118
|
-
shippingRebate: Number
|
|
119
|
-
|
|
120
|
-
@Column({ nullable: true })
|
|
121
|
-
shippingMode: String
|
|
122
|
-
|
|
123
|
-
@Column({ nullable: true })
|
|
124
|
-
payoutDate: Date
|
|
125
|
-
|
|
126
|
-
@CreateDateColumn()
|
|
127
|
-
createdAt: Date
|
|
128
|
-
|
|
129
|
-
@UpdateDateColumn()
|
|
130
|
-
updatedAt: Date
|
|
131
|
-
|
|
132
|
-
@ManyToOne(type => User, {
|
|
133
|
-
nullable: true
|
|
134
|
-
})
|
|
135
|
-
creator: User
|
|
136
|
-
|
|
137
|
-
@ManyToOne(type => User, {
|
|
138
|
-
nullable: true
|
|
139
|
-
})
|
|
140
|
-
updater: User
|
|
141
|
-
}
|