From fc532e5b0c58e5bdf9df9d2d64c870c875294603 Mon Sep 17 00:00:00 2001 From: Sinh Date: Wed, 11 Oct 2023 14:00:36 +0700 Subject: [PATCH] add kiotviet const --- partnerapi/kiotviet/const.go | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/partnerapi/kiotviet/const.go b/partnerapi/kiotviet/const.go index 1ae36d3..e537320 100644 --- a/partnerapi/kiotviet/const.go +++ b/partnerapi/kiotviet/const.go @@ -13,3 +13,13 @@ const ( baseURLProd = "https://public.kiotapi.com" baseURLTokenProd = "https://id.kiotviet.vn" ) + +const ( + WebhookTypeCustomerUpdate = "customer.update" + WebhookTypeCustomerDelete = "customer.delete" + WebhookTypeProductUpdate = "product.update" + WebhookTypeProductDelete = "product.delete" + WebhookTypeStockUpdate = "stock.update" + WebhookTypeOrderUpdate = "order.update" + WebhookTypeInvoiceUpdate = "invoice.update" +)