Add comment to typed payload

This commit is contained in:
Lukasz Ostrowski 2023-03-07 11:06:03 +01:00
parent 0f750657cf
commit e35d9c7fc1

View file

@ -1,8 +1,5 @@
import { SyncWebhookEventType } from "../../../types";
/**
* TODO Confirm with Saleor Core source (not the docs) to check if its 100% accurate
*/
export type SyncWebhookResponsesMap = {
CHECKOUT_CALCULATE_TAXES: {
shipping_price_gross_amount: number;
@ -27,6 +24,9 @@ export type SyncWebhookResponsesMap = {
name?: string;
amount: number;
currency: string; // or enum?
/**
* Integer
*/
maximum_delivery_days?: number;
}>;
};