add kiotviet const

This commit is contained in:
Sinh 2023-10-11 14:00:36 +07:00
parent 1f4c6890eb
commit fc532e5b0c
1 changed files with 10 additions and 0 deletions

View File

@ -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"
)