merge branch viettel-ffm into develop
This commit is contained in:
commit
b891bfc9c5
|
@ -37,11 +37,12 @@ type InsuranceOpts struct {
|
||||||
|
|
||||||
// OutboundRequestItem ...
|
// OutboundRequestItem ...
|
||||||
type OutboundRequestItem struct {
|
type OutboundRequestItem struct {
|
||||||
SupplierSKU string `json:"supplierSKU"`
|
SupplierSKU string `json:"supplierSKU"`
|
||||||
Quantity int64 `json:"quantity"`
|
Quantity int64 `json:"quantity"`
|
||||||
UnitCode string `json:"unitCode"`
|
UnitCode string `json:"unitCode"`
|
||||||
Price float64 `json:"price"`
|
Price float64 `json:"price"`
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
|
PartnerProductCode string `json:"partnerProductCode"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// CustomerInfo ...
|
// CustomerInfo ...
|
||||||
|
|
|
@ -9,54 +9,56 @@ func getWarehouseValue(val string) string {
|
||||||
}
|
}
|
||||||
|
|
||||||
var Warehouse = struct {
|
var Warehouse = struct {
|
||||||
SyncWarehouseIntoServiceSupplier string
|
SyncWarehouseIntoServiceSupplier string
|
||||||
CreateWarehouseIntoServiceSupplier string
|
CreateWarehouseIntoServiceSupplier string
|
||||||
UpdateWarehouseIntoServiceSupplier string
|
UpdateWarehouseIntoServiceSupplier string
|
||||||
CreateOutboundRequest string
|
CreateOutboundRequest string
|
||||||
UpdateOutboundRequestLogistic string
|
UpdateOutboundRequestLogistic string
|
||||||
CancelOutboundRequest string
|
CancelOutboundRequest string
|
||||||
GetConfiguration string
|
GetConfiguration string
|
||||||
SyncORStatus string
|
SyncORStatus string
|
||||||
WebhookTNC string
|
WebhookTNC string
|
||||||
WebhookShiip string
|
WebhookShiip string
|
||||||
WebhookGlobalCare string
|
WebhookGlobalCare string
|
||||||
WebhookOnPoint string
|
WebhookOnPoint string
|
||||||
FindOne string
|
WebhookViettelFFM string
|
||||||
FindByCondition string
|
FindOne string
|
||||||
Distinct string
|
FindByCondition string
|
||||||
Count string
|
Distinct string
|
||||||
AfterUpdateWarehouse string
|
Count string
|
||||||
AfterCreateWarehouse string
|
AfterUpdateWarehouse string
|
||||||
UpdateIsClosedSupplier string
|
AfterCreateWarehouse string
|
||||||
GetWarehouses string
|
UpdateIsClosedSupplier string
|
||||||
UpdateORDeliveryStatus string
|
GetWarehouses string
|
||||||
|
UpdateORDeliveryStatus string
|
||||||
UpdateStatusWarehousePendingInactive string
|
UpdateStatusWarehousePendingInactive string
|
||||||
UpdateIsSellyMall string
|
UpdateIsSellyMall string
|
||||||
UpdateWarehouseConfig string
|
UpdateWarehouseConfig string
|
||||||
BulkWriteWarehouseConfig string
|
BulkWriteWarehouseConfig string
|
||||||
GetListWarehouseConfig string
|
GetListWarehouseConfig string
|
||||||
}{
|
}{
|
||||||
SyncWarehouseIntoServiceSupplier: getWarehouseValue("sync_warehouse_into_service_supplier"),
|
SyncWarehouseIntoServiceSupplier: getWarehouseValue("sync_warehouse_into_service_supplier"),
|
||||||
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"),
|
||||||
AfterCreateWarehouse: getWarehouseValue("after_create_warehouse"),
|
AfterCreateWarehouse: getWarehouseValue("after_create_warehouse"),
|
||||||
AfterUpdateWarehouse: getWarehouseValue("after_update_warehouse"),
|
AfterUpdateWarehouse: getWarehouseValue("after_update_warehouse"),
|
||||||
CreateOutboundRequest: getWarehouseValue("create_outbound_request"),
|
CreateOutboundRequest: getWarehouseValue("create_outbound_request"),
|
||||||
UpdateOutboundRequestLogistic: getWarehouseValue("update_outbound_request_logistic_info"),
|
UpdateOutboundRequestLogistic: getWarehouseValue("update_outbound_request_logistic_info"),
|
||||||
CancelOutboundRequest: getWarehouseValue("cancel_outbound_request"),
|
CancelOutboundRequest: getWarehouseValue("cancel_outbound_request"),
|
||||||
GetConfiguration: getWarehouseValue("get_configuration"),
|
GetConfiguration: getWarehouseValue("get_configuration"),
|
||||||
SyncORStatus: getWarehouseValue("sync_or_status"),
|
SyncORStatus: getWarehouseValue("sync_or_status"),
|
||||||
WebhookTNC: getWarehouseValue("webhook_tnc"),
|
WebhookTNC: getWarehouseValue("webhook_tnc"),
|
||||||
WebhookShiip: getWarehouseValue("webhook_shiip"),
|
WebhookShiip: getWarehouseValue("webhook_shiip"),
|
||||||
WebhookGlobalCare: getWarehouseValue("webhook_global_care"),
|
WebhookGlobalCare: getWarehouseValue("webhook_global_care"),
|
||||||
WebhookOnPoint: getWarehouseValue("webhook_on_point"),
|
WebhookOnPoint: getWarehouseValue("webhook_on_point"),
|
||||||
FindOne: getWarehouseValue("find_one"),
|
WebhookViettelFFM: getWarehouseValue("webhook_viettel_ffm"),
|
||||||
FindByCondition: getWarehouseValue("find_all_by_condition"),
|
FindOne: getWarehouseValue("find_one"),
|
||||||
Distinct: getWarehouseValue("distinct"),
|
FindByCondition: getWarehouseValue("find_all_by_condition"),
|
||||||
Count: getWarehouseValue("count"),
|
Distinct: getWarehouseValue("distinct"),
|
||||||
UpdateIsClosedSupplier: getWarehouseValue("update_is_closed_supplier"),
|
Count: getWarehouseValue("count"),
|
||||||
GetWarehouses: getWarehouseValue("get_warehouses"),
|
UpdateIsClosedSupplier: getWarehouseValue("update_is_closed_supplier"),
|
||||||
UpdateORDeliveryStatus: getWarehouseValue("update_or_delivery_status"),
|
GetWarehouses: getWarehouseValue("get_warehouses"),
|
||||||
|
UpdateORDeliveryStatus: getWarehouseValue("update_or_delivery_status"),
|
||||||
UpdateStatusWarehousePendingInactive: getWarehouseValue("update_pending_active_product_by_warehouse_ids"),
|
UpdateStatusWarehousePendingInactive: getWarehouseValue("update_pending_active_product_by_warehouse_ids"),
|
||||||
UpdateIsSellyMall: getWarehouseValue("update_is_selly_mall"),
|
UpdateIsSellyMall: getWarehouseValue("update_is_selly_mall"),
|
||||||
UpdateWarehouseConfig: getWarehouseValue("update_warehouse_config"),
|
UpdateWarehouseConfig: getWarehouseValue("update_warehouse_config"),
|
||||||
|
|
Loading…
Reference in New Issue