Add comment to typed payload
This commit is contained in:
parent
0f750657cf
commit
e35d9c7fc1
1 changed files with 3 additions and 3 deletions
|
@ -1,8 +1,5 @@
|
||||||
import { SyncWebhookEventType } from "../../../types";
|
import { SyncWebhookEventType } from "../../../types";
|
||||||
|
|
||||||
/**
|
|
||||||
* TODO Confirm with Saleor Core source (not the docs) to check if its 100% accurate
|
|
||||||
*/
|
|
||||||
export type SyncWebhookResponsesMap = {
|
export type SyncWebhookResponsesMap = {
|
||||||
CHECKOUT_CALCULATE_TAXES: {
|
CHECKOUT_CALCULATE_TAXES: {
|
||||||
shipping_price_gross_amount: number;
|
shipping_price_gross_amount: number;
|
||||||
|
@ -27,6 +24,9 @@ export type SyncWebhookResponsesMap = {
|
||||||
name?: string;
|
name?: string;
|
||||||
amount: number;
|
amount: number;
|
||||||
currency: string; // or enum?
|
currency: string; // or enum?
|
||||||
|
/**
|
||||||
|
* Integer
|
||||||
|
*/
|
||||||
maximum_delivery_days?: number;
|
maximum_delivery_days?: number;
|
||||||
}>;
|
}>;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue