@enable-tech/shared-types
Version:
This package represents the single source of truth of the Types being used in the codebase (front-end and back-end) of enable.tech, It is an organization-scoped package. So, all the development teams belonging to it can participate to enhance it.
20 lines • 877 B
TypeScript
import { T_DeliveryType } from 'src/modules/order/backend/responses/schemas';
import { T_DeliveryMethod, T_OrderAcknowledgmentBranchDriversAssignmentType, T_OrderAcknowledgmentPreparationTimeValues } from '../responses/schemas';
export type T_OrderAcknowledgmentDataBodyParams = {
orderId: string;
deliveryType: T_DeliveryType;
preparationTime?: T_OrderAcknowledgmentPreparationTimeValues;
deliveryMethod?: T_DeliveryMethod;
assignmentType?: T_OrderAcknowledgmentBranchDriversAssignmentType;
driverId?: string;
thirdParty?: string;
vehicleType?: string;
};
export type T_OrderAcknowledgmentFormDataBodyParams = T_OrderAcknowledgmentDataBodyParams & {
deliveryParty?: T_DeliveryMethod;
isAssignDeliveryPartyLater?: boolean;
};
export type T_OrderAcknowledgeToFireBodyParams = {
orderId?: string;
};
//# sourceMappingURL=index.d.ts.map