onpoint-stock-update #166

Merged
sinhluu merged 5 commits from onpoint-stock-update into master 2024-05-08 07:18:03 +00:00
3 changed files with 12 additions and 0 deletions
Showing only changes of commit 3a5046f65d - Show all commits

View File

@ -130,3 +130,7 @@ type UpdateStatusWarehousePendingInactive struct {
WarehouseID string `json:"warehouse"` WarehouseID string `json:"warehouse"`
PendingInactive bool `json:"pendingInactive"` PendingInactive bool `json:"pendingInactive"`
} }
type GetListWarehouseConfigReq struct {
ConfigPartnerCode string `json:"configPartnerCode"`
}

View File

@ -181,3 +181,9 @@ type GetWarehousesResponse struct {
Limit int64 `json:"limit"` Limit int64 `json:"limit"`
List []WarehouseInfo `json:"list"` List []WarehouseInfo `json:"list"`
} }
type GetListWarehouseConfigRes struct {
Total int64 `json:"total"`
Limit int64 `json:"limit"`
List []WarehouseConfiguration `json:"list"`
}

View File

@ -32,6 +32,7 @@ var Warehouse = struct {
UpdateIsSellyMall string UpdateIsSellyMall string
UpdateWarehouseConfig string UpdateWarehouseConfig string
BulkWriteWarehouseConfig string BulkWriteWarehouseConfig string
GetListWarehouseConfig string
}{ }{
CreateWarehouseIntoServiceSupplier: getWarehouseValue("create_warehouse_into_service_supplier"), CreateWarehouseIntoServiceSupplier: getWarehouseValue("create_warehouse_into_service_supplier"),
UpdateWarehouseIntoServiceSupplier: getWarehouseValue("update_warehouse_into_service_supplier"), UpdateWarehouseIntoServiceSupplier: getWarehouseValue("update_warehouse_into_service_supplier"),
@ -56,4 +57,5 @@ var Warehouse = struct {
UpdateIsSellyMall: getWarehouseValue("update_is_selly_mall"), UpdateIsSellyMall: getWarehouseValue("update_is_selly_mall"),
UpdateWarehouseConfig: getWarehouseValue("update_warehouse_config"), UpdateWarehouseConfig: getWarehouseValue("update_warehouse_config"),
BulkWriteWarehouseConfig: getWarehouseValue("bulk_write_warehouse_config"), BulkWriteWarehouseConfig: getWarehouseValue("bulk_write_warehouse_config"),
GetListWarehouseConfig: getWarehouseValue("get_list_warehouse_config"),
} }